diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8720eb5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.next/ +node_modules/ +.DS_Store +*.log diff --git a/.next/BUILD_ID b/.next/BUILD_ID deleted file mode 100644 index 87ca64c..0000000 --- a/.next/BUILD_ID +++ /dev/null @@ -1 +0,0 @@ -czNRbRzpspOb1FVBoan7W \ No newline at end of file diff --git a/.next/app-path-routes-manifest.json b/.next/app-path-routes-manifest.json deleted file mode 100644 index 4914ed3..0000000 --- a/.next/app-path-routes-manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "/_global-error/page": "/_global-error", - "/_not-found/page": "/_not-found", - "/about-us/page": "/about-us", - "/air-freight/page": "/air-freight", - "/blog/[slug]/page": "/blog/[slug]", - "/blog/page": "/blog", - "/contact/page": "/contact", - "/cookie-policy/page": "/cookie-policy", - "/doormile-wings/page": "/doormile-wings", - "/empowerment/page": "/empowerment", - "/express/page": "/express", - "/favicon.ico/route": "/favicon.ico", - "/how-it-works/page": "/how-it-works", - "/icon.png/route": "/icon.png", - "/miletruth/page": "/miletruth", - "/page": "/", - "/privacy-policy/page": "/privacy-policy", - "/sitemap.xml/route": "/sitemap.xml", - "/solutions/page": "/solutions", - "/terms-of-service/page": "/terms-of-service" -} \ No newline at end of file diff --git a/.next/build-manifest.json b/.next/build-manifest.json deleted file mode 100644 index 97a1465..0000000 --- a/.next/build-manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "pages": { - "/_app": [] - }, - "devFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [ - "static/czNRbRzpspOb1FVBoan7W/_buildManifest.js", - "static/czNRbRzpspOb1FVBoan7W/_ssgManifest.js", - "static/czNRbRzpspOb1FVBoan7W/_clientMiddlewareManifest.js" - ], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ] -} \ No newline at end of file diff --git a/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js b/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js deleted file mode 100644 index 2173d15..0000000 --- a/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js +++ /dev/null @@ -1,206 +0,0 @@ -module.exports = [ -"[externals]/path [external] (path, cjs)", ((__turbopack_context__, module, exports) => { - -const mod = __turbopack_context__.x("path", () => require("path")); - -module.exports = mod; -}), -"[externals]/url [external] (url, cjs)", ((__turbopack_context__, module, exports) => { - -const mod = __turbopack_context__.x("url", () => require("url")); - -module.exports = mod; -}), -"[externals]/fs [external] (fs, cjs)", ((__turbopack_context__, module, exports) => { - -const mod = __turbopack_context__.x("fs", () => require("fs")); - -module.exports = mod; -}), -"[project]/postcss.config.mjs [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>__TURBOPACK__default__export__ -]); -const config = { - plugins: { - "@tailwindcss/postcss": {} - } -}; -const __TURBOPACK__default__export__ = config; -}), -"[turbopack-node]/transforms/transforms.ts [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -/** - * Shared utilities for our 2 transform implementations. - */ __turbopack_context__.s([ - "fromPath", - ()=>fromPath, - "getReadEnvVariables", - ()=>getReadEnvVariables, - "toPath", - ()=>toPath -]); -var __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__ = __turbopack_context__.i("[externals]/path [external] (path, cjs)"); -; -const contextDir = process.cwd(); -const toPath = (file)=>{ - const relPath = (0, __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["relative"])(contextDir, file); - if ((0, __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["isAbsolute"])(relPath)) { - throw new Error(`Cannot depend on path (${file}) outside of root directory (${contextDir})`); - } - return __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["sep"] !== '/' ? relPath.replaceAll(__TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["sep"], '/') : relPath; -}; -const fromPath = (path)=>{ - return (0, __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["join"])(/* turbopackIgnore: true */ contextDir, __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["sep"] !== '/' ? path.replaceAll('/', __TURBOPACK__imported__module__$5b$externals$5d2f$path__$5b$external$5d$__$28$path$2c$__cjs$29$__["sep"]) : path); -}; -// Patch process.env to track which env vars are read -const originalEnv = process.env; -const readEnvVars = new Set(); -process.env = new Proxy(originalEnv, { - get (target, prop) { - if (typeof prop === 'string') { - // We register the env var as dependency on the - // current transform and all future transforms - // since the env var might be cached in module scope - // and influence them all - readEnvVars.add(prop); - } - return Reflect.get(target, prop); - }, - set (target, prop, value) { - return Reflect.set(target, prop, value); - } -}); -function getReadEnvVariables() { - return Array.from(readEnvVars); -} -}), -"[turbopack-node]/transforms/postcss.ts { CONFIG => \"[project]/postcss.config.mjs [postcss] (ecmascript)\" } [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>transform, - "init", - ()=>init -]); -// @ts-ignore -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$postcss$2f$lib$2f$postcss$2e$mjs__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/postcss/lib/postcss.mjs [postcss] (ecmascript)"); -// @ts-ignore -var __TURBOPACK__imported__module__$5b$project$5d2f$postcss$2e$config$2e$mjs__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/postcss.config.mjs [postcss] (ecmascript)"); -var __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[turbopack-node]/transforms/transforms.ts [postcss] (ecmascript)"); -; -; -; -let processor; -const init = async (ipc)=>{ - let config = __TURBOPACK__imported__module__$5b$project$5d2f$postcss$2e$config$2e$mjs__$5b$postcss$5d$__$28$ecmascript$29$__["default"]; - if (typeof config === 'function') { - config = await config({ - env: 'development' - }); - } - if (typeof config === 'undefined') { - throw new Error('PostCSS config is undefined (make sure to export an function or object from config file)'); - } - let plugins; - if (Array.isArray(config.plugins)) { - plugins = config.plugins.map((plugin)=>{ - if (Array.isArray(plugin)) { - return plugin; - } else if (typeof plugin === 'string') { - return [ - plugin, - {} - ]; - } else { - return plugin; - } - }); - } else if (typeof config.plugins === 'object') { - plugins = Object.entries(config.plugins).filter(([, options])=>options); - } else { - plugins = []; - } - const loadedPlugins = plugins.map((plugin)=>{ - if (Array.isArray(plugin)) { - const [arg, options] = plugin; - let pluginFactory = arg; - if (typeof pluginFactory === 'string') { - pluginFactory = require(/* turbopackIgnore: true */ pluginFactory); - } - if (pluginFactory.default) { - pluginFactory = pluginFactory.default; - } - return pluginFactory(options); - } - return plugin; - }); - processor = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$postcss$2f$lib$2f$postcss$2e$mjs__$5b$postcss$5d$__$28$ecmascript$29$__["default"])(loadedPlugins); -}; -async function transform(ipc, cssContent, name, sourceMap) { - const { css, map, messages } = await processor.process(cssContent, { - from: name, - to: name, - map: sourceMap ? { - inline: false, - annotation: false - } : undefined - }); - const assets = []; - const filePaths = []; - const buildFilePaths = []; - const directories = []; - for (const msg of messages){ - switch(msg.type){ - case 'asset': - assets.push({ - file: msg.file, - content: msg.content, - sourceMap: !sourceMap ? undefined : typeof msg.sourceMap === 'string' ? msg.sourceMap : JSON.stringify(msg.sourceMap) - }); - break; - case 'dependency': - case 'missing-dependency': - filePaths.push((0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["toPath"])(msg.file)); - break; - case 'build-dependency': - buildFilePaths.push((0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["toPath"])(msg.file)); - break; - case 'dir-dependency': - directories.push([ - (0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["toPath"])(msg.dir), - msg.glob - ]); - break; - case 'context-dependency': - directories.push([ - (0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["toPath"])(msg.dir), - '**' - ]); - break; - default: - break; - } - } - ipc.sendInfo({ - type: 'dependencies', - filePaths, - directories, - buildFilePaths, - envVariables: (0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$transforms$2f$transforms$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["getReadEnvVariables"])() - }); - return { - css, - map: sourceMap ? JSON.stringify(map) : undefined, - assets - }; -} -}), -]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__0d-m0h0._.js.map \ No newline at end of file diff --git a/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js.map b/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js.map deleted file mode 100644 index 6bd02b4..0000000 --- a/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/postcss.config.mjs"],"sourcesContent":["const config = {\n plugins: {\n \"@tailwindcss/postcss\": {},\n },\n};\n\nexport default config;\n"],"names":["config","plugins"],"mappings":";;;;AAAA,MAAMA,SAAS;IACbC,SAAS;QACP,wBAAwB,CAAC;IAC3B;AACF;uCAEeD"}}, - {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/transforms/transforms.ts"],"sourcesContent":["/**\n * Shared utilities for our 2 transform implementations.\n */\n\nimport type { Channel as Ipc } from '../types'\nimport { relative, isAbsolute, join, sep } from 'path'\nimport { type StructuredError } from '../error'\nimport { type StackFrame } from '../compiled/stacktrace-parser'\n\nexport type IpcInfoMessage =\n | {\n type: 'dependencies'\n envVariables?: string[]\n directories?: Array<[string, string]>\n filePaths?: string[]\n buildFilePaths?: string[]\n }\n | {\n type: 'emittedError'\n severity: 'warning' | 'error'\n error: StructuredError\n }\n | {\n type: 'log'\n logs: Array<{\n time: number\n logType: string\n args: any[]\n trace?: StackFrame[]\n }>\n }\n\nexport type IpcRequestMessage =\n | {\n type: 'resolve'\n options: any\n lookupPath: string\n request: string\n }\n | {\n type: 'trackFileRead'\n file: string\n }\n\nexport type TransformIpc = Ipc\n\nconst contextDir = process.cwd()\nexport const toPath = (file: string) => {\n const relPath = relative(contextDir, file)\n if (isAbsolute(relPath)) {\n throw new Error(\n `Cannot depend on path (${file}) outside of root directory (${contextDir})`\n )\n }\n return sep !== '/' ? relPath.replaceAll(sep, '/') : relPath\n}\nexport const fromPath = (path: string) => {\n return join(\n /* turbopackIgnore: true */ contextDir,\n sep !== '/' ? path.replaceAll('/', sep) : path\n )\n}\n\n// Patch process.env to track which env vars are read\nconst originalEnv = process.env\nconst readEnvVars = new Set()\nprocess.env = new Proxy(originalEnv, {\n get(target, prop) {\n if (typeof prop === 'string') {\n // We register the env var as dependency on the\n // current transform and all future transforms\n // since the env var might be cached in module scope\n // and influence them all\n readEnvVars.add(prop)\n }\n return Reflect.get(target, prop)\n },\n set(target, prop, value) {\n return Reflect.set(target, prop, value)\n },\n})\n\nexport function getReadEnvVariables(): string[] {\n return Array.from(readEnvVars)\n}\n"],"names":["contextDir","process","cwd","toPath","file","relPath","Error","replaceAll","fromPath","path","originalEnv","env","readEnvVars","Set","Proxy","get","target","prop","add","Reflect","set","value","getReadEnvVariables","Array","from"],"mappings":"AAAA;;CAEC;;;;;;;;AAGD;;AAyCA,MAAMA,aAAaC,QAAQC,GAAG;AACvB,MAAMC,SAAS,CAACC;IACrB,MAAMC,UAAU,IAAA,6GAAQ,EAACL,YAAYI;IACrC,IAAI,IAAA,+GAAU,EAACC,UAAU;QACvB,MAAM,IAAIC,MACR,CAAC,uBAAuB,EAAEF,KAAK,6BAA6B,EAAEJ,WAAW,CAAC,CAAC;IAE/E;IACA,OAAO,wGAAG,KAAK,MAAMK,QAAQE,UAAU,CAAC,wGAAG,EAAE,OAAOF;AACtD;AACO,MAAMG,WAAW,CAACC;IACvB,OAAO,IAAA,yGAAI,EACT,yBAAyB,GAAGT,YAC5B,wGAAG,KAAK,MAAMS,KAAKF,UAAU,CAAC,KAAK,wGAAG,IAAIE;AAE9C;AAEA,qDAAqD;AACrD,MAAMC,cAAcT,QAAQU,GAAG;AAC/B,MAAMC,cAAc,IAAIC;AACxBZ,QAAQU,GAAG,GAAG,IAAIG,MAAMJ,aAAa;IACnCK,KAAIC,MAAM,EAAEC,IAAI;QACd,IAAI,OAAOA,SAAS,UAAU;YAC5B,+CAA+C;YAC/C,8CAA8C;YAC9C,oDAAoD;YACpD,yBAAyB;YACzBL,YAAYM,GAAG,CAACD;QAClB;QACA,OAAOE,QAAQJ,GAAG,CAACC,QAAQC;IAC7B;IACAG,KAAIJ,MAAM,EAAEC,IAAI,EAAEI,KAAK;QACrB,OAAOF,QAAQC,GAAG,CAACJ,QAAQC,MAAMI;IACnC;AACF;AAEO,SAASC;IACd,OAAOC,MAAMC,IAAI,CAACZ;AACpB"}}, - {"offset": {"line": 84, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/transforms/postcss.ts"],"sourcesContent":["declare const __turbopack_external_require__: (\n id: string,\n thunk: () => any,\n esm?: boolean\n) => any\n\nimport type { Processor } from 'postcss'\n\n// @ts-ignore\nimport postcss from '@vercel/turbopack/postcss'\n// @ts-ignore\nimport importedConfig from 'CONFIG'\nimport { getReadEnvVariables, toPath, type TransformIpc } from './transforms'\n\nlet processor: Processor | undefined\n\nexport const init = async (ipc: TransformIpc) => {\n let config = importedConfig\n if (typeof config === 'function') {\n config = await config({ env: 'development' })\n }\n if (typeof config === 'undefined') {\n throw new Error(\n 'PostCSS config is undefined (make sure to export an function or object from config file)'\n )\n }\n let plugins: any[]\n if (Array.isArray(config.plugins)) {\n plugins = config.plugins.map((plugin: [string, any] | string | any) => {\n if (Array.isArray(plugin)) {\n return plugin\n } else if (typeof plugin === 'string') {\n return [plugin, {}]\n } else {\n return plugin\n }\n })\n } else if (typeof config.plugins === 'object') {\n plugins = Object.entries(config.plugins).filter(([, options]) => options)\n } else {\n plugins = []\n }\n const loadedPlugins = plugins.map((plugin) => {\n if (Array.isArray(plugin)) {\n const [arg, options] = plugin\n let pluginFactory = arg\n\n if (typeof pluginFactory === 'string') {\n pluginFactory = require(/* turbopackIgnore: true */ pluginFactory)\n }\n\n if (pluginFactory.default) {\n pluginFactory = pluginFactory.default\n }\n\n return pluginFactory(options)\n }\n return plugin\n })\n\n processor = postcss(loadedPlugins)\n}\n\nexport default async function transform(\n ipc: TransformIpc,\n cssContent: string,\n name: string,\n sourceMap: boolean\n) {\n const { css, map, messages } = await processor!.process(cssContent, {\n from: name,\n to: name,\n map: sourceMap\n ? {\n inline: false,\n annotation: false,\n }\n : undefined,\n })\n\n const assets = []\n const filePaths: string[] = []\n const buildFilePaths: string[] = []\n const directories: Array<[string, string]> = []\n\n for (const msg of messages) {\n switch (msg.type) {\n case 'asset':\n assets.push({\n file: msg.file,\n content: msg.content,\n sourceMap: !sourceMap\n ? undefined\n : typeof msg.sourceMap === 'string'\n ? msg.sourceMap\n : JSON.stringify(msg.sourceMap),\n // There is also an info field, which we currently ignore\n })\n break\n case 'dependency':\n case 'missing-dependency':\n filePaths.push(toPath(msg.file))\n break\n case 'build-dependency':\n buildFilePaths.push(toPath(msg.file))\n break\n case 'dir-dependency':\n directories.push([toPath(msg.dir), msg.glob])\n break\n case 'context-dependency':\n directories.push([toPath(msg.dir), '**'])\n break\n default:\n // TODO: do we need to do anything here?\n break\n }\n }\n ipc.sendInfo({\n type: 'dependencies',\n filePaths,\n directories,\n buildFilePaths,\n envVariables: getReadEnvVariables(),\n })\n return {\n css,\n map: sourceMap ? JSON.stringify(map) : undefined,\n assets,\n }\n}\n"],"names":["processor","init","ipc","config","env","Error","plugins","Array","isArray","map","plugin","Object","entries","filter","options","loadedPlugins","arg","pluginFactory","require","default","transform","cssContent","name","sourceMap","css","messages","process","from","to","inline","annotation","undefined","assets","filePaths","buildFilePaths","directories","msg","type","push","file","content","JSON","stringify","dir","glob","sendInfo","envVariables"],"mappings":";;;;;;AAQA,aAAa;AACb;AACA,aAAa;AACb;AACA;;;;AAEA,IAAIA;AAEG,MAAMC,OAAO,OAAOC;IACzB,IAAIC,SAAS,0HAAc;IAC3B,IAAI,OAAOA,WAAW,YAAY;QAChCA,SAAS,MAAMA,OAAO;YAAEC,KAAK;QAAc;IAC7C;IACA,IAAI,OAAOD,WAAW,aAAa;QACjC,MAAM,IAAIE,MACR;IAEJ;IACA,IAAIC;IACJ,IAAIC,MAAMC,OAAO,CAACL,OAAOG,OAAO,GAAG;QACjCA,UAAUH,OAAOG,OAAO,CAACG,GAAG,CAAC,CAACC;YAC5B,IAAIH,MAAMC,OAAO,CAACE,SAAS;gBACzB,OAAOA;YACT,OAAO,IAAI,OAAOA,WAAW,UAAU;gBACrC,OAAO;oBAACA;oBAAQ,CAAC;iBAAE;YACrB,OAAO;gBACL,OAAOA;YACT;QACF;IACF,OAAO,IAAI,OAAOP,OAAOG,OAAO,KAAK,UAAU;QAC7CA,UAAUK,OAAOC,OAAO,CAACT,OAAOG,OAAO,EAAEO,MAAM,CAAC,CAAC,GAAGC,QAAQ,GAAKA;IACnE,OAAO;QACLR,UAAU,EAAE;IACd;IACA,MAA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;oBAAC,IAAA,yIAAM,EAACF,IAAIO,GAAG;oBAAGP,IAAIQ,IAAI;iBAAC;gBAC5C;YACF,KAAK;gBACHT,YAAYG,IAAI,CAAC;oBAAC,IAAA,yIAAM,EAACF,IAAIO,GAAG;oBAAG;iBAAK;gBACxC;YACF;gBAEE;QACJ;IACF;IACAzC,IAAI2C,QAAQ,CAAC;QACXR,MAAM;QACNJ;QACAE;QACAD;QACAY,cAAc,IAAA,sJAAmB;IACnC;IACA,OAAO;QACLtB;QACAf,KAAKc,YAAYkB,KAAKC,SAAS,CAACjC,OAAOsB;QACvCC;IACF;AACF"}}] -} \ No newline at end of file diff --git a/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js b/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js deleted file mode 100644 index 6e2a045..0000000 --- a/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js +++ /dev/null @@ -1,500 +0,0 @@ -module.exports = [ -"[turbopack-node]/child_process/globals.ts [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { - -// @ts-ignore -process.turbopack = {}; -}), -"[externals]/node:net [external] (node:net, cjs)", ((__turbopack_context__, module, exports) => { - -const mod = __turbopack_context__.x("node:net", () => require("node:net")); - -module.exports = mod; -}), -"[externals]/node:stream [external] (node:stream, cjs)", ((__turbopack_context__, module, exports) => { - -const mod = __turbopack_context__.x("node:stream", () => require("node:stream")); - -module.exports = mod; -}), -"[turbopack-node]/compiled/stacktrace-parser/index.js [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "parse", - ()=>parse -]); -if (typeof __nccwpck_require__ !== "undefined") __nccwpck_require__.ab = ("TURBOPACK compile-time value", "/ROOT/compiled/stacktrace-parser") + "/"; -var n = ""; -function parse(e) { - var r = e.split("\n"); - return r.reduce(function(e, r) { - var n = parseChrome(r) || parseWinjs(r) || parseGecko(r) || parseNode(r) || parseJSC(r); - if (n) { - e.push(n); - } - return e; - }, []); -} -var a = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i; -var l = /\((\S*)(?::(\d+))(?::(\d+))\)/; -function parseChrome(e) { - var r = a.exec(e); - if (!r) { - return null; - } - var u = r[2] && r[2].indexOf("native") === 0; - var t = r[2] && r[2].indexOf("eval") === 0; - var i = l.exec(r[2]); - if (t && i != null) { - r[2] = i[1]; - r[3] = i[2]; - r[4] = i[3]; - } - return { - file: !u ? r[2] : null, - methodName: r[1] || n, - arguments: u ? [ - r[2] - ] : [], - lineNumber: r[3] ? +r[3] : null, - column: r[4] ? +r[4] : null - }; -} -var u = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i; -function parseWinjs(e) { - var r = u.exec(e); - if (!r) { - return null; - } - return { - file: r[2], - methodName: r[1] || n, - arguments: [], - lineNumber: +r[3], - column: r[4] ? +r[4] : null - }; -} -var t = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i; -var i = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i; -function parseGecko(e) { - var r = t.exec(e); - if (!r) { - return null; - } - var a = r[3] && r[3].indexOf(" > eval") > -1; - var l = i.exec(r[3]); - if (a && l != null) { - r[3] = l[1]; - r[4] = l[2]; - r[5] = null; - } - return { - file: r[3], - methodName: r[1] || n, - arguments: r[2] ? r[2].split(",") : [], - lineNumber: r[4] ? +r[4] : null, - column: r[5] ? +r[5] : null - }; -} -var s = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i; -function parseJSC(e) { - var r = s.exec(e); - if (!r) { - return null; - } - return { - file: r[3], - methodName: r[1] || n, - arguments: [], - lineNumber: +r[4], - column: r[5] ? +r[5] : null - }; -} -var o = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i; -function parseNode(e) { - var r = o.exec(e); - if (!r) { - return null; - } - return { - file: r[2], - methodName: r[1] || n, - arguments: [], - lineNumber: +r[3], - column: r[4] ? +r[4] : null - }; -} -}), -"[turbopack-node]/error.ts [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "default", - ()=>isError, - "getProperError", - ()=>getProperError, - "structuredError", - ()=>structuredError -]); -var __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$compiled$2f$stacktrace$2d$parser$2f$index$2e$js__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[turbopack-node]/compiled/stacktrace-parser/index.js [postcss] (ecmascript)"); -; -function isError(err) { - return typeof err === 'object' && err !== null && 'name' in err && 'message' in err; -} -function getProperError(err) { - if (isError(err)) { - return err; - } - if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable - ; - return new Error(isPlainObject(err) ? JSON.stringify(err) : err + ''); -} -function getObjectClassLabel(value) { - return Object.prototype.toString.call(value); -} -function isPlainObject(value) { - if (getObjectClassLabel(value) !== '[object Object]') { - return false; - } - const prototype = Object.getPrototypeOf(value); - /** - * this used to be previously: - * - * `return prototype === null || prototype === Object.prototype` - * - * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail. - * - * It was changed to the current implementation since it's resilient to serialization. - */ return prototype === null || prototype.hasOwnProperty('isPrototypeOf'); -} -function structuredError(e) { - e = getProperError(e); - return { - name: e.name, - message: e.message, - stack: typeof e.stack === 'string' ? (0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$compiled$2f$stacktrace$2d$parser$2f$index$2e$js__$5b$postcss$5d$__$28$ecmascript$29$__["parse"])(e.stack) : [], - cause: e.cause ? structuredError(getProperError(e.cause)) : undefined - }; -} -}), -"[turbopack-node]/child_process/index.ts [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "IPC", - ()=>IPC -]); -var __TURBOPACK__imported__module__$5b$externals$5d2f$node$3a$net__$5b$external$5d$__$28$node$3a$net$2c$__cjs$29$__ = __turbopack_context__.i("[externals]/node:net [external] (node:net, cjs)"); -var __TURBOPACK__imported__module__$5b$externals$5d2f$node$3a$stream__$5b$external$5d$__$28$node$3a$stream$2c$__cjs$29$__ = __turbopack_context__.i("[externals]/node:stream [external] (node:stream, cjs)"); -var __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$error$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[turbopack-node]/error.ts [postcss] (ecmascript)"); -; -; -; -function createIpc(port) { - const socket = (0, __TURBOPACK__imported__module__$5b$externals$5d2f$node$3a$net__$5b$external$5d$__$28$node$3a$net$2c$__cjs$29$__["createConnection"])({ - port, - host: '127.0.0.1' - }); - /** - * A writable stream that writes to the socket. - * We don't write directly to the socket because we need to - * handle backpressure and wait for the socket to be drained - * before writing more data. - */ const socketWritable = new __TURBOPACK__imported__module__$5b$externals$5d2f$node$3a$stream__$5b$external$5d$__$28$node$3a$stream$2c$__cjs$29$__["Writable"]({ - write (chunk, _enc, cb) { - if (socket.write(chunk)) { - cb(); - } else { - socket.once('drain', cb); - } - }, - final (cb) { - socket.end(cb); - } - }); - const packetQueue = []; - const recvPromiseResolveQueue = []; - function pushPacket(packet) { - const recvPromiseResolve = recvPromiseResolveQueue.shift(); - if (recvPromiseResolve != null) { - recvPromiseResolve(JSON.parse(packet.toString('utf8'))); - } else { - packetQueue.push(packet); - } - } - let state = { - type: 'waiting' - }; - let buffer = Buffer.alloc(0); - socket.once('connect', ()=>{ - socket.setNoDelay(true); - socket.on('data', (chunk)=>{ - buffer = Buffer.concat([ - buffer, - chunk - ]); - loop: while(true){ - switch(state.type){ - case 'waiting': - { - if (buffer.length >= 4) { - const length = buffer.readUInt32BE(0); - buffer = buffer.subarray(4); - state = { - type: 'packet', - length - }; - } else { - break loop; - } - break; - } - case 'packet': - { - if (buffer.length >= state.length) { - const packet = buffer.subarray(0, state.length); - buffer = buffer.subarray(state.length); - state = { - type: 'waiting' - }; - pushPacket(packet); - } else { - break loop; - } - break; - } - default: - invariant(state, (state)=>`Unknown state type: ${state?.type}`); - } - } - }); - }); - // When the socket is closed, this process is no longer needed. - // This might happen e. g. when parent process is killed or - // node.js pool is garbage collected. - socket.once('close', ()=>{ - process.exit(0); - }); - // TODO(lukesandberg): some of the messages being sent are very large and contain lots - // of redundant information. Consider adding gzip compression to our stream. - function doSend(message) { - return new Promise((resolve, reject)=>{ - // Reserve 4 bytes for our length prefix, we will over-write after encoding. - const packet = Buffer.from('0000' + message, 'utf8'); - packet.writeUInt32BE(packet.length - 4, 0); - socketWritable.write(packet, (err)=>{ - process.stderr.write(`TURBOPACK_OUTPUT_D\n`); - process.stdout.write(`TURBOPACK_OUTPUT_D\n`); - if (err != null) { - reject(err); - } else { - resolve(); - } - }); - }); - } - function send(message) { - return doSend(JSON.stringify(message)); - } - function sendReady() { - return doSend(''); - } - return { - async recv () { - const packet = packetQueue.shift(); - if (packet != null) { - return JSON.parse(packet.toString('utf8')); - } - const result = await new Promise((resolve)=>{ - recvPromiseResolveQueue.push((result)=>{ - resolve(result); - }); - }); - return result; - }, - send (message) { - return send(message); - }, - sendReady, - async sendError (error) { - let failed = false; - try { - await send({ - type: 'error', - ...(0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$error$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["structuredError"])(error) - }); - } catch (err) { - // There's nothing we can do about errors that happen after this point, we can't tell anyone - // about them. - console.error('failed to send error back to rust:', err); - failed = true; - } - await new Promise((res)=>socket.end(()=>res())); - process.exit(failed ? 1 : 0); - } - }; -} -const PORT = process.argv[2]; -const IPC = createIpc(parseInt(PORT, 10)); -process.on('uncaughtException', (err)=>{ - IPC.sendError(err); -}); -process.on('unhandledRejection', (reason)=>{ - IPC.sendError(reason instanceof Error ? reason : new Error(String(reason))); -}); -const improveConsole = (name, stream, addStack)=>{ - // @ts-ignore - const original = console[name]; - // @ts-ignore - const stdio = process[stream]; - // @ts-ignore - console[name] = (...args)=>{ - stdio.write(`TURBOPACK_OUTPUT_B\n`); - original(...args); - if (addStack) { - const stack = new Error().stack?.replace(/^.+\n.+\n/, '') + '\n'; - stdio.write('TURBOPACK_OUTPUT_S\n'); - stdio.write(stack); - } - stdio.write('TURBOPACK_OUTPUT_E\n'); - }; -}; -improveConsole('error', 'stderr', true); -improveConsole('warn', 'stderr', true); -improveConsole('count', 'stdout', true); -improveConsole('trace', 'stderr', false); -improveConsole('log', 'stdout', true); -improveConsole('group', 'stdout', true); -improveConsole('groupCollapsed', 'stdout', true); -improveConsole('table', 'stdout', true); -improveConsole('debug', 'stdout', true); -improveConsole('info', 'stdout', true); -improveConsole('dir', 'stdout', true); -improveConsole('dirxml', 'stdout', true); -improveConsole('timeEnd', 'stdout', true); -improveConsole('timeLog', 'stdout', true); -improveConsole('timeStamp', 'stdout', true); -improveConsole('assert', 'stderr', true); -/** - * Utility function to ensure all variants of an enum are handled. - */ function invariant(never, computeMessage) { - throw new Error(`Invariant: ${computeMessage(never)}`); -} -}), -"[turbopack-node]/child_process/evaluate.ts [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([ - "run", - ()=>run -]); -var __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$child_process$2f$index$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[turbopack-node]/child_process/index.ts [postcss] (ecmascript)"); -; -const ipc = __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$child_process$2f$index$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["IPC"]; -const queue = []; -const run = async (moduleFactory)=>{ - let nextId = 1; - const requests = new Map(); - const internalIpc = { - sendInfo: (message)=>ipc.send({ - type: 'info', - data: message - }), - sendRequest: (message)=>{ - const id = nextId++; - let resolve, reject; - const promise = new Promise((res, rej)=>{ - resolve = res; - reject = rej; - }); - requests.set(id, { - resolve, - reject - }); - return ipc.send({ - type: 'request', - id, - data: message - }).then(()=>promise); - }, - sendError: (error)=>{ - return ipc.sendError(error); - } - }; - // Initialize module and send ready message - let getValue; - try { - const module = await moduleFactory(); - if (typeof module.init === 'function') { - await module.init(); - } - getValue = module.default; - await ipc.sendReady(); - } catch (err) { - await ipc.sendReady(); - await ipc.sendError(err); - } - // Queue handling - let isRunning = false; - const run = async ()=>{ - while(queue.length > 0){ - const args = queue.shift(); - try { - const value = await getValue(internalIpc, ...args); - await ipc.send({ - type: 'end', - data: value === undefined ? undefined : JSON.stringify(value, null, 2), - duration: 0 - }); - } catch (e) { - await ipc.sendError(e); - } - } - isRunning = false; - }; - // Communication handling - while(true){ - const msg = await ipc.recv(); - switch(msg.type){ - case 'evaluate': - { - queue.push(msg.args); - if (!isRunning) { - isRunning = true; - run(); - } - break; - } - case 'result': - { - const request = requests.get(msg.id); - if (request) { - requests.delete(msg.id); - if (msg.error) { - request.reject(new Error(msg.error)); - } else { - request.resolve(msg.data); - } - } - break; - } - default: - { - console.error('unexpected message type', msg.type); - process.exit(1); - } - } - } -}; -}), -"[turbopack-node]/child_process/evaluate.ts/evaluate.js { INNER => \"[turbopack-node]/transforms/postcss.ts { CONFIG => \\\"[project]/postcss.config.mjs [postcss] (ecmascript)\\\" } [postcss] (ecmascript)\", RUNTIME => \"[turbopack-node]/child_process/evaluate.ts [postcss] (ecmascript)\" } [postcss] (ecmascript)", ((__turbopack_context__) => { -"use strict"; - -__turbopack_context__.s([]); -var __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$child_process$2f$evaluate$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[turbopack-node]/child_process/evaluate.ts [postcss] (ecmascript)"); -; -(0, __TURBOPACK__imported__module__$5b$turbopack$2d$node$5d2f$child_process$2f$evaluate$2e$ts__$5b$postcss$5d$__$28$ecmascript$29$__["run"])(()=>__turbopack_context__.A('[turbopack-node]/transforms/postcss.ts { CONFIG => "[project]/postcss.config.mjs [postcss] (ecmascript)" } [postcss] (ecmascript, async loader)')); -}), -]; - -//# sourceMappingURL=%5Broot-of-the-server%5D__0ubbtyl._.js.map \ No newline at end of file diff --git a/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js.map b/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js.map deleted file mode 100644 index faadccf..0000000 --- a/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js.map +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/child_process/globals.ts"],"sourcesContent":["// @ts-ignore\nprocess.turbopack = {}\n"],"names":["process","turbopack"],"mappings":"AAAA,aAAa;AACbA,QAAQC,SAAS,GAAG,CAAC"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/compiled/stacktrace-parser/index.js"],"sourcesContent":["if (typeof __nccwpck_require__ !== \"undefined\")\n __nccwpck_require__.ab = __dirname + \"/\";\n\nvar n = \"\";\nexport function parse(e) {\n var r = e.split(\"\\n\");\n return r.reduce(function (e, r) {\n var n =\n parseChrome(r) ||\n parseWinjs(r) ||\n parseGecko(r) ||\n parseNode(r) ||\n parseJSC(r);\n if (n) {\n e.push(n);\n }\n return e;\n }, []);\n}\nvar a =\n /^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\\/|[a-z]:\\\\|\\\\\\\\).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nvar l = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\nfunction parseChrome(e) {\n var r = a.exec(e);\n if (!r) {\n return null;\n }\n var u = r[2] && r[2].indexOf(\"native\") === 0;\n var t = r[2] && r[2].indexOf(\"eval\") === 0;\n var i = l.exec(r[2]);\n if (t && i != null) {\n r[2] = i[1];\n r[3] = i[2];\n r[4] = i[3];\n }\n return {\n file: !u ? r[2] : null,\n methodName: r[1] || n,\n arguments: u ? [r[2]] : [],\n lineNumber: r[3] ? +r[3] : null,\n column: r[4] ? +r[4] : null,\n };\n}\nvar u =\n /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\nfunction parseWinjs(e) {\n var r = u.exec(e);\n if (!r) {\n return null;\n }\n return {\n file: r[2],\n methodName: r[1] || n,\n arguments: [],\n lineNumber: +r[3],\n column: r[4] ? +r[4] : null,\n };\n}\nvar t =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nvar i = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\nfunction parseGecko(e) {\n var r = t.exec(e);\n if (!r) {\n return null;\n }\n var a = r[3] && r[3].indexOf(\" > eval\") > -1;\n var l = i.exec(r[3]);\n if (a && l != null) {\n r[3] = l[1];\n r[4] = l[2];\n r[5] = null;\n }\n return {\n file: r[3],\n methodName: r[1] || n,\n arguments: r[2] ? r[2].split(\",\") : [],\n lineNumber: r[4] ? +r[4] : null,\n column: r[5] ? +r[5] : null,\n };\n}\nvar s = /^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;\nfunction parseJSC(e) {\n var r = s.exec(e);\n if (!r) {\n return null;\n }\n return {\n file: r[3],\n methodName: r[1] || n,\n arguments: [],\n lineNumber: +r[4],\n column: r[5] ? +r[5] : null,\n };\n}\nvar o =\n /^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\nfunction parseNode(e) {\n var r = o.exec(e);\n if (!r) {\n return null;\n }\n return {\n file: r[2],\n methodName: r[1] || n,\n arguments: [],\n lineNumber: +r[3],\n column: r[4] ? +r[4] : null,\n };\n}\n"],"names":["__nccwpck_require__","ab","n","parse","e","r","split","reduce","parseChrome","parseWinjs","parseGecko","parseNode","parseJSC","push","a","l","exec","u","indexOf","t","i","file","methodName","arguments","lineNumber","column","s","o"],"mappings":";;;;AAAA,IAAI,OAAOA,wBAAwB,aACjCA,oBAAoBC,EAAE,GAAG,uEAAY;AAEvC,IAAIC,IAAI;AACD,SAASC,MAAMC,CAAC;IACrB,IAAIC,IAAID,EAAEE,KAAK,CAAC;IAChB,OAAOD,EAAEE,MAAM,CAAC,SAAUH,CAAC,EAAEC,CAAC;QAC5B,IAAIH,IACFM,YAAYH,MACZI,WAAWJ,MACXK,WAAWL,MACXM,UAAUN,MACVO,SAASP;QACX,IAAIH,GAAG;YACLE,EAAES,IAAI,CAACX;QACT;QACA,OAAOE;IACT,GAAG,EAAE;AACP;AACA,IAAIU,IACF;AACF,IAAIC,IAAI;AACR,SAASP,YAAYJ,CAAC;IACpB,IAAIC,IAAIS,EAAEE,IAAI,CAACZ;IACf,IAAI,CAACC,GAAG;QACN,OAAO;IACT;IACA,IAAIY,IAAIZ,CAAC,CAAC,EAAE,IAAIA,CAAC,CAAC,EAAE,CAACa,OAAO,CAAC,cAAc;IAC3C,IAAIC,IAAId,CAAC,CAAC,EAAE,IAAIA,CAAC,CAAC,EAAE,CAACa,OAAO,CAAC,YAAY;IACzC,IAAIE,IAAIL,EAAEC,IAAI,CAACX,CAAC,CAAC,EAAE;IACnB,IAAIc,KAAKC,KAAK,MAAM;QAClBf,CAAC,CAAC,EAAE,GAAGe,CAAC,CAAC,EAAE;QACXf,CAAC,CAAC,EAAE,GAAGe,CAAC,CAAC,EAAE;QACXf,CAAC,CAAC,EAAE,GAAGe,CAAC,CAAC,EAAE;IACb;IACA,OAAO;QACLC,MAAM,CAACJ,IAAIZ,CAAC,CAAC,EAAE,GAAG;QAClBiB,YAAYjB,CA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nB,CAAC,CAAC,EAAE,GAAG,CAACA,CAAC,CAAC,EAAE,GAAG;QAC3BoB,QAAQpB,CAAC,CAAC,EAAE,GAAG,CAACA,CAAC,CAAC,EAAE,GAAG;IACzB;AACF;AACA,IAAIqB,IAAI;AACR,SAASd,SAASR,CAAC;IACjB,IAAIC,IAAIqB,EAAEV,IAAI,CAACZ;IACf,IAAI,CAACC,GAAG;QACN,OAAO;IACT;IACA,OAAO;QACLgB,MAAMhB,CAAC,CAAC,EAAE;QACViB,YAAYjB,CAAC,CAAC,EAAE,IAAIH;QACpBqB,WAAW,EAAE;QACbC,YAAY,CAACnB,CAAC,CAAC,EAAE;QACjBoB,QAAQpB,CAAC,CAAC,EAAE,GAAG,CAACA,CAAC,CAAC,EAAE,GAAG;IACzB;AACF;AACA,IAAIsB,IACF;AACF,SAAShB,UAAUP,CAAC;IAClB,IAAIC,IAAIsB,EAAEX,IAAI,CAACZ;IACf,IAAI,CAACC,GAAG;QACN,OAAO;IACT;IACA,OAAO;QACLgB,MAAMhB,CAAC,CAAC,EAAE;QACViB,YAAYjB,CAAC,CAAC,EAAE,IAAIH;QACpBqB,WAAW,EAAE;QACbC,YAAY,CAACnB,CAAC,CAAC,EAAE;QACjBoB,QAAQpB,CAAC,CAAC,EAAE,GAAG,CAACA,CAAC,CAAC,EAAE,GAAG;IACzB;AACF"}}, - {"offset": {"line": 130, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/error.ts"],"sourcesContent":["import type { StackFrame } from './compiled/stacktrace-parser'\nimport { parse as parseStackTrace } from './compiled/stacktrace-parser'\n\n// merged from next.js\n// https://github.com/vercel/next.js/blob/e657741b9908cf0044aaef959c0c4defb19ed6d8/packages/next/src/lib/is-error.ts\n// https://github.com/vercel/next.js/blob/e657741b9908cf0044aaef959c0c4defb19ed6d8/packages/next/src/shared/lib/is-plain-object.ts\n\nexport default function isError(err: unknown): err is Error {\n return (\n typeof err === 'object' && err !== null && 'name' in err && 'message' in err\n )\n}\n\nexport function getProperError(err: unknown): Error {\n if (isError(err)) {\n return err\n }\n\n if (process.env.NODE_ENV === 'development') {\n // Provide a better error message for cases where `throw undefined`\n // is called in development\n if (typeof err === 'undefined') {\n return new Error('`undefined` was thrown instead of a real error')\n }\n\n if (err === null) {\n return new Error('`null` was thrown instead of a real error')\n }\n }\n\n return new Error(isPlainObject(err) ? JSON.stringify(err) : err + '')\n}\n\nfunction getObjectClassLabel(value: any): string {\n return Object.prototype.toString.call(value)\n}\n\nfunction isPlainObject(value: any): boolean {\n if (getObjectClassLabel(value) !== '[object Object]') {\n return false\n }\n\n const prototype = Object.getPrototypeOf(value)\n\n /**\n * this used to be previously:\n *\n * `return prototype === null || prototype === Object.prototype`\n *\n * but Edge Runtime expose Object from vm, being that kind of type-checking wrongly fail.\n *\n * It was changed to the current implementation since it's resilient to serialization.\n */\n return prototype === null || prototype.hasOwnProperty('isPrototypeOf')\n}\n\nexport type StructuredError = {\n name: string\n message: string\n stack: StackFrame[]\n cause: StructuredError | undefined\n}\n\nexport function structuredError(e: Error | string): StructuredError {\n e = getProperError(e)\n\n return {\n name: e.name,\n message: e.message,\n stack: typeof e.stack === 'string' ? parseStackTrace(e.stack) : [],\n cause: e.cause ? structuredError(getProperError(e.cause)) : undefined,\n }\n}\n"],"names":["isError","err","getProperError","Error","isPlainObject","JSON","stringify","getObjectClassLabel","value","Object","prototype","toString","call","getPrototypeOf","hasOwnProperty","structuredError","e","name","message","stack","cause","undefined"],"mappings":";;;;;;;;AACA;;AAMe,SAASA,QAAQC,GAAY;IAC1C,OACE,OAAOA,QAAQ,YAAYA,QAAQ,QAAQ,UAAUA,OAAO,aAAaA;AAE7E;AAEO,SAASC,eAAeD,GAAY;IACzC,IAAID,QAAQC,MAAM;QAChB,OAAOA;IACT;IAEA;;IAYA,OAAO,IAAIE,MAAMC,cAAcH,OAAOI,KAAKC,SAAS,CAACL,OAAOA,MAAM;AACpE;AAEA,SAASM,oBAAoBC,KAAU;IACrC,OAAOC,OAAOC,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACJ;AACxC;AAEA,SAASJ,cAAcI,KAAU;IAC/B,IAAID,oBAAoBC,WAAW,mBAAmB;QACpD,OAAO;IACT;IAEA,MAAME,YAAYD,OAAOI,cAAc,CAACL;IAExC;;;;;;;;GAQC,GACD,OAAOE,cAAc,QAAQA,UAAUI,cAAc,CAAC;AACxD;AASO,SAASC,gBAAgBC,CAAiB;IAC/CA,IAAId,eAAec;IAEnB,OAAO;QACLC,MAAMD,EAAEC,IAAI;QACZC,SAASF,EAAEE,OAAO;QAClBC,OAAO,OAAOH,EAAEG,KAAK,KAAK,WAAW,IAAA,yJAAe,EAACH,EAAEG,KAAK,IAAI,EAAE;QAClEC,OAAOJ,EAAEI,KAAK,GAAGL,gBAAgBb,eAAec,EAAEI,KAAK,KAAKC;IAC9D;AACF"}}, - {"offset": {"line": 182, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/child_process/index.ts"],"sourcesContent":["import { createConnection } from 'node:net'\nimport { Writable } from 'node:stream'\nimport { structuredError } from '../error'\n\ntype State =\n | {\n type: 'waiting'\n }\n | {\n type: 'packet'\n length: number\n }\n\nexport type Ipc = {\n recv(): Promise\n send(message: TOutgoing): Promise\n sendError(error: Error | string): Promise\n sendReady(): Promise\n}\n\nfunction createIpc(\n port: number\n): Ipc {\n const socket = createConnection({\n port,\n host: '127.0.0.1',\n })\n\n /**\n * A writable stream that writes to the socket.\n * We don't write directly to the socket because we need to\n * handle backpressure and wait for the socket to be drained\n * before writing more data.\n */\n const socketWritable = new Writable({\n write(chunk, _enc, cb) {\n if (socket.write(chunk)) {\n cb()\n } else {\n socket.once('drain', cb)\n }\n },\n final(cb) {\n socket.end(cb)\n },\n })\n\n const packetQueue: Buffer[] = []\n const recvPromiseResolveQueue: Array<(message: TIncoming) => void> = []\n\n function pushPacket(packet: Buffer) {\n const recvPromiseResolve = recvPromiseResolveQueue.shift()\n if (recvPromiseResolve != null) {\n recvPromiseResolve(JSON.parse(packet.toString('utf8')) as TIncoming)\n } else {\n packetQueue.push(packet)\n }\n }\n\n let state: State = { type: 'waiting' }\n let buffer: Buffer = Buffer.alloc(0)\n socket.once('connect', () => {\n socket.setNoDelay(true)\n socket.on('data', (chunk) => {\n buffer = Buffer.concat([buffer, chunk])\n\n loop: while (true) {\n switch (state.type) {\n case 'waiting': {\n if (buffer.length >= 4) {\n const length = buffer.readUInt32BE(0)\n buffer = buffer.subarray(4)\n state = { type: 'packet', length }\n } else {\n break loop\n }\n break\n }\n case 'packet': {\n if (buffer.length >= state.length) {\n const packet = buffer.subarray(0, state.length)\n buffer = buffer.subarray(state.length)\n state = { type: 'waiting' }\n pushPacket(packet)\n } else {\n break loop\n }\n break\n }\n default:\n invariant(state, (state) => `Unknown state type: ${state?.type}`)\n }\n }\n })\n })\n // When the socket is closed, this process is no longer needed.\n // This might happen e. g. when parent process is killed or\n // node.js pool is garbage collected.\n socket.once('close', () => {\n process.exit(0)\n })\n\n // TODO(lukesandberg): some of the messages being sent are very large and contain lots\n // of redundant information. Consider adding gzip compression to our stream.\n function doSend(message: string): Promise {\n return new Promise((resolve, reject) => {\n // Reserve 4 bytes for our length prefix, we will over-write after encoding.\n const packet = Buffer.from('0000' + message, 'utf8')\n packet.writeUInt32BE(packet.length - 4, 0)\n socketWritable.write(packet, (err) => {\n process.stderr.write(`TURBOPACK_OUTPUT_D\\n`)\n process.stdout.write(`TURBOPACK_OUTPUT_D\\n`)\n if (err != null) {\n reject(err)\n } else {\n resolve()\n }\n })\n })\n }\n\n function send(message: any): Promise {\n return doSend(JSON.stringify(message))\n }\n function sendReady(): Promise {\n return doSend('')\n }\n\n return {\n async recv() {\n const packet = packetQueue.shift()\n if (packet != null) {\n return JSON.parse(packet.toString('utf8')) as TIncoming\n }\n\n const result = await new Promise((resolve) => {\n recvPromiseResolveQueue.push((result) => {\n resolve(result)\n })\n })\n\n return result\n },\n\n send(message: TOutgoing) {\n return send(message)\n },\n\n sendReady,\n\n async sendError(error: Error): Promise {\n let failed = false\n try {\n await send({\n type: 'error',\n ...structuredError(error),\n })\n } catch (err) {\n // There's nothing we can do about errors that happen after this point, we can't tell anyone\n // about them.\n console.error('failed to send error back to rust:', err)\n failed = true\n }\n await new Promise((res) => socket.end(() => res()))\n process.exit(failed ? 1 : 0)\n },\n }\n}\n\nconst PORT = process.argv[2]\n\nexport const IPC = createIpc(parseInt(PORT, 10))\n\nprocess.on('uncaughtException', (err) => {\n IPC.sendError(err)\n})\n\nprocess.on('unhandledRejection', (reason) => {\n IPC.sendError(reason instanceof Error ? reason : new Error(String(reason)))\n})\n\nconst improveConsole = (name: string, stream: string, addStack: boolean) => {\n // @ts-ignore\n const original = console[name]\n // @ts-ignore\n const stdio = process[stream]\n // @ts-ignore\n console[name] = (...args: any[]) => {\n stdio.write(`TURBOPACK_OUTPUT_B\\n`)\n original(...args)\n if (addStack) {\n const stack = new Error().stack?.replace(/^.+\\n.+\\n/, '') + '\\n'\n stdio.write('TURBOPACK_OUTPUT_S\\n')\n stdio.write(stack)\n }\n stdio.write('TURBOPACK_OUTPUT_E\\n')\n }\n}\n\nimproveConsole('error', 'stderr', true)\nimproveConsole('warn', 'stderr', true)\nimproveConsole('count', 'stdout', true)\nimproveConsole('trace', 'stderr', false)\nimproveConsole('log', 'stdout', true)\nimproveConsole('group', 'stdout', true)\nimproveConsole('groupCollapsed', 'stdout', true)\nimproveConsole('table', 'stdout', true)\nimproveConsole('debug', 'stdout', true)\nimproveConsole('info', 'stdout', true)\nimproveConsole('dir', 'stdout', true)\nimproveConsole('dirxml', 'stdout', true)\nimproveConsole('timeEnd', 'stdout', true)\nimproveConsole('timeLog', 'stdout', true)\nimproveConsole('timeStamp', 'stdout', true)\nimproveConsole('assert', 'stderr', true)\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`)\n}\n"],"names":["createIpc","port","socket","host","socketWritable","write","chunk","_enc","cb","once","final","end","packetQueue","recvPromiseResolveQueue","pushPacket","packet","recvPromiseResolve","shift","JSON","parse","toString","push","state","type","buffer","Buffer","alloc","setNoDelay","on","concat","loop","length","readUInt32BE","subarray","invariant","process","exit","doSend","message","Promise","resolve","reject","from","writeUInt32BE","err","stderr","stdout","send","stringify","sendReady","recv","result","sendError","error","failed","console","res","PORT","argv","IPC","parseInt","reason","Error","String","improveConsole","name","stream","addStack","original","stdio","args","stack","replace","never","computeMessage"],"mappings":";;;;AAAA;AACA;AACA;;;;AAkBA,SAASA,UACPC,IAAY;IAEZ,MAAMC,SAAS,IAAA,mIAAgB,EAAC;QAC9BD;QACAE,MAAM;IACR;IAEA;;;;;GAKC,GACD,MAAMC,iBAAiB,IAAI,iIAAQ,CAAC;QAClCC,OAAMC,KAAK,EAAEC,IAAI,EAAEC,EAAE;YACnB,IAAIN,OAAOG,KAAK,CAACC,QAAQ;gBACvBE;YACF,OAAO;gBACLN,OAAOO,IAAI,CAAC,SAASD;YACvB;QACF;QACAE,OAAMF,EAAE;YACNN,OAAOS,GAAG,CAACH;QACb;IACF;IAEA,MAAMI,cAAwB,EAAE;IAChC,MAAMC,0BAA+D,EAAE;IAEvE,SAASC,WAAWC,MAAc;QAChC,MAAMC,qBAAqBH,wBAAwBI,KAAK;QACxD,IAAID,sBAAsB,MAAM;YAC9BA,mBAAmBE,KAAKC,KAAK,CAACJ,OAAOK,QAAQ,CAAC;QAChD,OAAO;YACLR,YAAYS,IAAI,CAACN;QACnB;IACF;IAEA,IAAIO,QAAe;QAAEC,MAAM;IAAU;IACrC,IAAIC,SAAiBC,OAAOC,KAAK,CAAC;IAClCxB,OAAOO,IAAI,CAAC,WAAW;QACrBP,OAAOyB,UAAU,CAAC;QAClBzB,OAAO0B,EAAE,CAAC,QAAQ,CAACtB;YACjBkB,SAASC,OAAOI,MAAM,CAAC;gBAACL;gBAAQlB;aAAM;YAEtCwB,MAAM,MAAO,KAAM;gBACjB,OAAQR,MAAMC,IAAI;oBACh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OAAO,CAACU,KAAK,GAAG,CAAC,GAAGK;QAClBD,MAAMhE,KAAK,CAAC,CAAC,oBAAoB,CAAC;QAClC+D,YAAYE;QACZ,IAAIH,UAAU;YACZ,MAAMI,QAAQ,IAAIT,QAAQS,KAAK,EAAEC,QAAQ,aAAa,MAAM;YAC5DH,MAAMhE,KAAK,CAAC;YACZgE,MAAMhE,KAAK,CAACkE;QACd;QACAF,MAAMhE,KAAK,CAAC;IACd;AACF;AAEA2D,eAAe,SAAS,UAAU;AAClCA,eAAe,QAAQ,UAAU;AACjCA,eAAe,SAAS,UAAU;AAClCA,eAAe,SAAS,UAAU;AAClCA,eAAe,OAAO,UAAU;AAChCA,eAAe,SAAS,UAAU;AAClCA,eAAe,kBAAkB,UAAU;AAC3CA,eAAe,SAAS,UAAU;AAClCA,eAAe,SAAS,UAAU;AAClCA,eAAe,QAAQ,UAAU;AACjCA,eAAe,OAAO,UAAU;AAChCA,eAAe,UAAU,UAAU;AACnCA,eAAe,WAAW,UAAU;AACpCA,eAAe,WAAW,UAAU;AACpCA,eAAe,aAAa,UAAU;AACtCA,eAAe,UAAU,UAAU;AAEnC;;CAEC,GACD,SAAS9B,UAAUuC,KAAY,EAAEC,cAAoC;IACnE,MAAM,IAAIZ,MAAM,CAAC,WAAW,EAAEY,eAAeD,QAAQ;AACvD"}}, - {"offset": {"line": 386, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/child_process/evaluate.ts"],"sourcesContent":["import { IPC } from './index'\nimport type { Ipc as GenericIpc } from './index'\n\nimport type { Channel as Ipc } from '../types'\n\ntype IpcIncomingMessage =\n | {\n type: 'evaluate'\n args: string[]\n }\n | {\n type: 'result'\n id: number\n error: string | null\n data: any | null\n }\n\ntype IpcOutgoingMessage =\n | {\n type: 'end'\n data: string | undefined\n duration: number\n }\n | {\n type: 'info'\n data: any\n }\n | {\n type: 'request'\n id: number\n data: any\n }\n\nconst ipc = IPC as GenericIpc\n\nconst queue: string[][] = []\n\nexport const run = async (\n moduleFactory: () => Promise<{\n init?: () => Promise\n default: (ipc: Ipc, ...deserializedArgs: any[]) => any\n }>\n) => {\n let nextId = 1\n const requests = new Map()\n const internalIpc = {\n sendInfo: (message: any) =>\n ipc.send({\n type: 'info',\n data: message,\n }),\n sendRequest: (message: any) => {\n const id = nextId++\n let resolve, reject\n const promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n requests.set(id, { resolve, reject })\n return ipc\n .send({ type: 'request', id, data: message })\n .then(() => promise)\n },\n sendError: (error: Error) => {\n return ipc.sendError(error)\n },\n }\n\n // Initialize module and send ready message\n let getValue: (ipc: Ipc, ...deserializedArgs: any[]) => any\n try {\n const module = await moduleFactory()\n if (typeof module.init === 'function') {\n await module.init()\n }\n getValue = module.default\n await ipc.sendReady()\n } catch (err) {\n await ipc.sendReady()\n await ipc.sendError(err as Error)\n }\n\n // Queue handling\n let isRunning = false\n const run = async () => {\n while (queue.length > 0) {\n const args = queue.shift()!\n try {\n const value = await getValue(internalIpc, ...args)\n await ipc.send({\n type: 'end',\n data:\n value === undefined ? undefined : JSON.stringify(value, null, 2),\n duration: 0,\n })\n } catch (e) {\n await ipc.sendError(e as Error)\n }\n }\n isRunning = false\n }\n\n // Communication handling\n while (true) {\n const msg = await ipc.recv()\n\n switch (msg.type) {\n case 'evaluate': {\n queue.push(msg.args)\n if (!isRunning) {\n isRunning = true\n run()\n }\n break\n }\n case 'result': {\n const request = requests.get(msg.id)\n if (request) {\n requests.delete(msg.id)\n if (msg.error) {\n request.reject(new Error(msg.error))\n } else {\n request.resolve(msg.data)\n }\n }\n break\n }\n default: {\n console.error('unexpected message type', (msg as any).type)\n process.exit(1)\n }\n }\n }\n}\n\nexport type { IpcIncomingMessage, IpcOutgoingMessage }\n"],"names":["ipc","queue","run","moduleFactory","nextId","requests","Map","internalIpc","sendInfo","message","send","type","data","sendRequest","id","resolve","reject","promise","Promise","res","rej","set","then","sendError","error","getValue","module","init","default","sendReady","err","isRunning","length","args","shift","value","undefined","JSON","stringify","duration","e","msg","recv","push","request","get","delete","Error","console","process","exit"],"mappings":";;;;AAAA;;AAiCA,MAAMA,MAAM,oIAAG;AAEf,MAAMC,QAAoB,EAAE;AAErB,MAAMC,MAAM,OACjBC;IAKA,IAAIC,SAAS;IACb,MAAMC,WAAW,IAAIC;IACrB,MAAMC,cAAc;QAClBC,UAAU,CAACC,UACTT,IAAIU,IAAI,CAAC;gBACPC,MAAM;gBACNC,MAAMH;YACR;QACFI,aAAa,CAACJ;YACZ,MAAMK,KAAKV;YACX,IAAIW,SAASC;YACb,MAAMC,UAAU,IAAIC,QAAQ,CAACC,KAAKC;gBAChCL,UAAUI;gBACVH,SAASI;YACX;YACAf,SAASgB,GAAG,CAACP,IAAI;gBAAEC;gBAASC;YAAO;YACnC,OAAOhB,IACJU,IAAI,CAAC;gBAAEC,MAAM;gBAAWG;gBAAIF,MAAMH;YAAQ,GAC1Ca,IAAI,CAAC,IAAML;QAChB;QACAM,WAAW,CAACC;YACV,OAAOxB,IAAIuB,SAAS,CAACC;QACvB;IACF;IAEA,2CAA2C;IAC3C,IAAIC;IACJ,IAAI;QACF,MAAMC,SAAS,MAAMvB;QACrB,IAAI,OAAOuB,OAAOC,IAAI,KAAK,YAAY;YACrC,MAAMD,OAAOC,IAAI;QACnB;QACAF,WAAWC,OAAOE,OAAO;QACzB,MAAM5B,IAAI6B,SAAS;IACrB,EAAE,OAAOC,KAAK;QACZ,MAAM9B,IAAI6B,SAAS;QACnB,MAAM7B,IAAIuB,SAAS,CAACO;IACtB;IAEA,iBAAiB;IACjB,IAAIC,YAAY;IAChB,MAAM7B,MAAM;QACV,MAAOD,MAAM+B,MAAM,GAAG,EAAG;YACvB,MAAMC,OAAOhC,MAAMiC,KAAK;YACxB,IAAI;gBACF,MAAMC,QAAQ,MAAMV,SAASlB,gBAAgB0B;gBAC7C,MAAMjC,IAAIU,IAAI,CAAC;oBACbC,MAAM;oBACNC,MACEuB,UAAUC,YAAYA,YAAYC,KAAKC,SAAS,CAACH,OAAO,MAAM;oBAChEI,UAAU;gBACZ;YACF,EAAE,OAAOC,GAAG;gBACV,MAAMxC,IAAIuB,SAAS,CAACiB;YACtB;QACF;QACAT,YAAY;IACd;IAEA,yBAAyB;IACzB,MAAO,KAAM;QACX,MAAMU,MAAM,MAAMzC,IAAI0C,IAAI;QAE1B,OAAQD,IAAI9B,IAAI;YACd,KAAK;gBAAY;oBACfV,MAAM0C,IAAI,CAACF,IAAIR,IAAI;oBACnB,IAAI,CAACF,WAAW;wBACdA,YAAY;wBACZ7B;oBACF;oBACA;gBACF;YACA,KAAK;gBAAU;oBACb,MAAM0C,UAAUvC,SAASwC,GAAG,CAACJ,IAAI3B,EAAE;oBACnC,IAAI8B,SAAS;wBACXvC,SAASyC,MAAM,CAACL,IAAI3B,EAAE;wBACtB,IAAI2B,IAAIjB,KAAK,EAAE;4BACboB,QAAQ5B,MAAM,CAAC,IAAI+B,MAAMN,IAAIjB,KAAK;wBACpC,OAAO;4BACLoB,QAAQ7B,OAAO,CAAC0B,IAAI7B,IAAI;wBAC1B;oBACF;oBACA;gBACF;YACA;gBAAS;oBACPoC,QAAQxB,KAAK,CAAC,2BAA2B,AAACiB,IAAY9B,IAAI;oBAC1DsC,QAAQC,IAAI,CAAC;gBACf;QACF;IACF;AACF"}}, - {"offset": {"line": 492, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack-node]/child_process/evaluate.ts/evaluate.js"],"sourcesContent":["import { run } from 'RUNTIME'; run(() => import('INNER'))"],"names":[],"mappings":";AAAA;;AAA+B,IAAA,uIAAG,EAAC"}}] -} \ No newline at end of file diff --git a/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js b/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js deleted file mode 100644 index e34da84..0000000 --- a/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = [ -"[turbopack-node]/transforms/postcss.ts { CONFIG => \"[project]/postcss.config.mjs [postcss] (ecmascript)\" } [postcss] (ecmascript, async loader)", ((__turbopack_context__) => { - -__turbopack_context__.v((parentImport) => { - return Promise.all([ - "chunks/node_modules_13sb.px._.js", - "chunks/[root-of-the-server]__0d-m0h0._.js" -].map((chunk) => __turbopack_context__.l(chunk))).then(() => { - return parentImport("[turbopack-node]/transforms/postcss.ts { CONFIG => \"[project]/postcss.config.mjs [postcss] (ecmascript)\" } [postcss] (ecmascript)"); - }); -}); -}), -]; \ No newline at end of file diff --git a/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js.map b/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/build/chunks/[turbopack]_runtime.js b/.next/build/chunks/[turbopack]_runtime.js deleted file mode 100644 index a85eb41..0000000 --- a/.next/build/chunks/[turbopack]_runtime.js +++ /dev/null @@ -1,890 +0,0 @@ -const RUNTIME_PUBLIC_PATH = "chunks/[turbopack]_runtime.js"; -const RELATIVE_ROOT_PATH = ".."; -const ASSET_PREFIX = "/"; -const WORKER_FORWARDED_GLOBALS = []; -/** - * This file contains runtime types and functions that are shared between all - * TurboPack ECMAScript runtimes. - * - * It will be prepended to the runtime code of each runtime. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// -/** - * Describes why a module was instantiated. - * Shared between browser and Node.js runtimes. - */ var SourceType = /*#__PURE__*/ function(SourceType) { - /** - * The module was instantiated because it was included in an evaluated chunk's - * runtime. - * SourceData is a ChunkPath. - */ SourceType[SourceType["Runtime"] = 0] = "Runtime"; - /** - * The module was instantiated because a parent module imported it. - * SourceData is a ModuleId. - */ SourceType[SourceType["Parent"] = 1] = "Parent"; - /** - * The module was instantiated because it was included in a chunk's hot module - * update. - * SourceData is an array of ModuleIds or undefined. - */ SourceType[SourceType["Update"] = 2] = "Update"; - return SourceType; -}(SourceType || {}); -/** - * Flag indicating which module object type to create when a module is merged. Set to `true` - * by each runtime that uses ModuleWithDirection (browser dev-base.ts, nodejs dev-base.ts, - * nodejs build-base.ts). Browser production (build-base.ts) leaves it as `false` since it - * uses plain Module objects. - */ let createModuleWithDirectionFlag = false; -const REEXPORTED_OBJECTS = new WeakMap(); -/** - * Constructs the `__turbopack_context__` object for a module. - */ function Context(module, exports) { - this.m = module; - // We need to store this here instead of accessing it from the module object to: - // 1. Make it available to factories directly, since we rewrite `this` to - // `__turbopack_context__.e` in CJS modules. - // 2. Support async modules which rewrite `module.exports` to a promise, so we - // can still access the original exports object from functions like - // `esmExport` - // Ideally we could find a new approach for async modules and drop this property altogether. - this.e = exports; -} -const contextPrototype = Context.prototype; -const hasOwnProperty = Object.prototype.hasOwnProperty; -const toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag; -function defineProp(obj, name, options) { - if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options); -} -function getOverwrittenModule(moduleCache, id) { - let module = moduleCache[id]; - if (!module) { - if (createModuleWithDirectionFlag) { - // set in development modes for hmr support - module = createModuleWithDirection(id); - } else { - module = createModuleObject(id); - } - moduleCache[id] = module; - } - return module; -} -/** - * Creates the module object. Only done here to ensure all module objects have the same shape. - */ function createModuleObject(id) { - return { - exports: {}, - error: undefined, - id, - namespaceObject: undefined - }; -} -function createModuleWithDirection(id) { - return { - exports: {}, - error: undefined, - id, - namespaceObject: undefined, - parents: [], - children: [] - }; -} -const BindingTag_Value = 0; -/** - * Adds the getters to the exports object. - */ function esm(exports, bindings) { - defineProp(exports, '__esModule', { - value: true - }); - if (toStringTag) defineProp(exports, toStringTag, { - value: 'Module' - }); - let i = 0; - while(i < bindings.length){ - const propName = bindings[i++]; - const tagOrFunction = bindings[i++]; - if (typeof tagOrFunction === 'number') { - if (tagOrFunction === BindingTag_Value) { - defineProp(exports, propName, { - value: bindings[i++], - enumerable: true, - writable: false - }); - } else { - throw new Error(`unexpected tag: ${tagOrFunction}`); - } - } else { - const getterFn = tagOrFunction; - if (typeof bindings[i] === 'function') { - const setterFn = bindings[i++]; - defineProp(exports, propName, { - get: getterFn, - set: setterFn, - enumerable: true - }); - } else { - defineProp(exports, propName, { - get: getterFn, - enumerable: true - }); - } - } - } - Object.seal(exports); -} -/** - * Makes the module an ESM with exports - */ function esmExport(bindings, id) { - let module; - let exports; - if (id != null) { - module = getOverwrittenModule(this.c, id); - exports = module.exports; - } else { - module = this.m; - exports = this.e; - } - module.namespaceObject = exports; - esm(exports, bindings); -} -contextPrototype.s = esmExport; -function ensureDynamicExports(module, exports) { - let reexportedObjects = REEXPORTED_OBJECTS.get(module); - if (!reexportedObjects) { - REEXPORTED_OBJECTS.set(module, reexportedObjects = []); - module.exports = module.namespaceObject = new Proxy(exports, { - get (target, prop) { - if (hasOwnProperty.call(target, prop) || prop === 'default' || prop === '__esModule') { - return Reflect.get(target, prop); - } - for (const obj of reexportedObjects){ - const value = Reflect.get(obj, prop); - if (value !== undefined) return value; - } - return undefined; - }, - ownKeys (target) { - const keys = Reflect.ownKeys(target); - for (const obj of reexportedObjects){ - for (const key of Reflect.ownKeys(obj)){ - if (key !== 'default' && !keys.includes(key)) keys.push(key); - } - } - return keys; - } - }); - } - return reexportedObjects; -} -/** - * Dynamically exports properties from an object - */ function dynamicExport(object, id) { - let module; - let exports; - if (id != null) { - module = getOverwrittenModule(this.c, id); - exports = module.exports; - } else { - module = this.m; - exports = this.e; - } - const reexportedObjects = ensureDynamicExports(module, exports); - if (typeof object === 'object' && object !== null) { - reexportedObjects.push(object); - } -} -contextPrototype.j = dynamicExport; -function exportValue(value, id) { - let module; - if (id != null) { - module = getOverwrittenModule(this.c, id); - } else { - module = this.m; - } - module.exports = value; -} -contextPrototype.v = exportValue; -function exportNamespace(namespace, id) { - let module; - if (id != null) { - module = getOverwrittenModule(this.c, id); - } else { - module = this.m; - } - module.exports = module.namespaceObject = namespace; -} -contextPrototype.n = exportNamespace; -function createGetter(obj, key) { - return ()=>obj[key]; -} -/** - * @returns prototype of the object - */ const getProto = Object.getPrototypeOf ? (obj)=>Object.getPrototypeOf(obj) : (obj)=>obj.__proto__; -/** Prototypes that are not expanded for exports */ const LEAF_PROTOTYPES = [ - null, - getProto({}), - getProto([]), - getProto(getProto) -]; -/** - * @param raw - * @param ns - * @param allowExportDefault - * * `false`: will have the raw module as default export - * * `true`: will have the default property as default export - */ function interopEsm(raw, ns, allowExportDefault) { - const bindings = []; - let defaultLocation = -1; - for(let current = raw; (typeof current === 'object' || typeof current === 'function') && !LEAF_PROTOTYPES.includes(current); current = getProto(current)){ - for (const key of Object.getOwnPropertyNames(current)){ - bindings.push(key, createGetter(raw, key)); - if (defaultLocation === -1 && key === 'default') { - defaultLocation = bindings.length - 1; - } - } - } - // this is not really correct - // we should set the `default` getter if the imported module is a `.cjs file` - if (!(allowExportDefault && defaultLocation >= 0)) { - // Replace the binding with one for the namespace itself in order to preserve iteration order. - if (defaultLocation >= 0) { - // Replace the getter with the value - bindings.splice(defaultLocation, 1, BindingTag_Value, raw); - } else { - bindings.push('default', BindingTag_Value, raw); - } - } - esm(ns, bindings); - return ns; -} -function createNS(raw) { - if (typeof raw === 'function') { - return function(...args) { - return raw.apply(this, args); - }; - } else { - return Object.create(null); - } -} -function esmImport(id) { - const module = getOrInstantiateModuleFromParent(id, this.m); - // any ES module has to have `module.namespaceObject` defined. - if (module.namespaceObject) return module.namespaceObject; - // only ESM can be an async module, so we don't need to worry about exports being a promise here. - const raw = module.exports; - return module.namespaceObject = interopEsm(raw, createNS(raw), raw && raw.__esModule); -} -contextPrototype.i = esmImport; -function asyncLoader(moduleId) { - const loader = this.r(moduleId); - return loader(esmImport.bind(this)); -} -contextPrototype.A = asyncLoader; -// Add a simple runtime require so that environments without one can still pass -// `typeof require` CommonJS checks so that exports are correctly registered. -const runtimeRequire = // @ts-ignore -typeof require === 'function' ? require : function require1() { - throw new Error('Unexpected use of runtime require'); -}; -contextPrototype.t = runtimeRequire; -function commonJsRequire(id) { - return getOrInstantiateModuleFromParent(id, this.m).exports; -} -contextPrototype.r = commonJsRequire; -/** - * Remove fragments and query parameters since they are never part of the context map keys - * - * This matches how we parse patterns at resolving time. Arguably we should only do this for - * strings passed to `import` but the resolve does it for `import` and `require` and so we do - * here as well. - */ function parseRequest(request) { - // Per the URI spec fragments can contain `?` characters, so we should trim it off first - // https://datatracker.ietf.org/doc/html/rfc3986#section-3.5 - const hashIndex = request.indexOf('#'); - if (hashIndex !== -1) { - request = request.substring(0, hashIndex); - } - const queryIndex = request.indexOf('?'); - if (queryIndex !== -1) { - request = request.substring(0, queryIndex); - } - return request; -} -/** - * `require.context` and require/import expression runtime. - */ function moduleContext(map) { - function moduleContext(id) { - id = parseRequest(id); - if (hasOwnProperty.call(map, id)) { - return map[id].module(); - } - const e = new Error(`Cannot find module '${id}'`); - e.code = 'MODULE_NOT_FOUND'; - throw e; - } - moduleContext.keys = ()=>{ - return Object.keys(map); - }; - moduleContext.resolve = (id)=>{ - id = parseRequest(id); - if (hasOwnProperty.call(map, id)) { - return map[id].id(); - } - const e = new Error(`Cannot find module '${id}'`); - e.code = 'MODULE_NOT_FOUND'; - throw e; - }; - moduleContext.import = async (id)=>{ - return await moduleContext(id); - }; - return moduleContext; -} -contextPrototype.f = moduleContext; -/** - * Returns the path of a chunk defined by its data. - */ function getChunkPath(chunkData) { - return typeof chunkData === 'string' ? chunkData : chunkData.path; -} -function isPromise(maybePromise) { - return maybePromise != null && typeof maybePromise === 'object' && 'then' in maybePromise && typeof maybePromise.then === 'function'; -} -function isAsyncModuleExt(obj) { - return turbopackQueues in obj; -} -function createPromise() { - let resolve; - let reject; - const promise = new Promise((res, rej)=>{ - reject = rej; - resolve = res; - }); - return { - promise, - resolve: resolve, - reject: reject - }; -} -// Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map. -// The CompressedModuleFactories format is -// - 1 or more module ids -// - a module factory function -// So walking this is a little complex but the flat structure is also fast to -// traverse, we can use `typeof` operators to distinguish the two cases. -function installCompressedModuleFactories(chunkModules, offset, moduleFactories, newModuleId) { - let i = offset; - while(i < chunkModules.length){ - let end = i + 1; - // Find our factory function - while(end < chunkModules.length && typeof chunkModules[end] !== 'function'){ - end++; - } - if (end === chunkModules.length) { - throw new Error('malformed chunk format, expected a factory function'); - } - // Install the factory for each module ID that doesn't already have one. - // When some IDs in this group already have a factory, reuse that existing - // group factory for the missing IDs to keep all IDs in the group consistent. - // Otherwise, install the factory from this chunk. - const moduleFactoryFn = chunkModules[end]; - let existingGroupFactory = undefined; - for(let j = i; j < end; j++){ - const id = chunkModules[j]; - const existingFactory = moduleFactories.get(id); - if (existingFactory) { - existingGroupFactory = existingFactory; - break; - } - } - const factoryToInstall = existingGroupFactory ?? moduleFactoryFn; - let didInstallFactory = false; - for(let j = i; j < end; j++){ - const id = chunkModules[j]; - if (!moduleFactories.has(id)) { - if (!didInstallFactory) { - if (factoryToInstall === moduleFactoryFn) { - applyModuleFactoryName(moduleFactoryFn); - } - didInstallFactory = true; - } - moduleFactories.set(id, factoryToInstall); - newModuleId?.(id); - } - } - i = end + 1; // end is pointing at the last factory advance to the next id or the end of the array. - } -} -// everything below is adapted from webpack -// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13 -const turbopackQueues = Symbol('turbopack queues'); -const turbopackExports = Symbol('turbopack exports'); -const turbopackError = Symbol('turbopack error'); -function resolveQueue(queue) { - if (queue && queue.status !== 1) { - queue.status = 1; - queue.forEach((fn)=>fn.queueCount--); - queue.forEach((fn)=>fn.queueCount-- ? fn.queueCount++ : fn()); - } -} -function wrapDeps(deps) { - return deps.map((dep)=>{ - if (dep !== null && typeof dep === 'object') { - if (isAsyncModuleExt(dep)) return dep; - if (isPromise(dep)) { - const queue = Object.assign([], { - status: 0 - }); - const obj = { - [turbopackExports]: {}, - [turbopackQueues]: (fn)=>fn(queue) - }; - dep.then((res)=>{ - obj[turbopackExports] = res; - resolveQueue(queue); - }, (err)=>{ - obj[turbopackError] = err; - resolveQueue(queue); - }); - return obj; - } - } - return { - [turbopackExports]: dep, - [turbopackQueues]: ()=>{} - }; - }); -} -function asyncModule(body, hasAwait) { - const module = this.m; - const queue = hasAwait ? Object.assign([], { - status: -1 - }) : undefined; - const depQueues = new Set(); - const { resolve, reject, promise: rawPromise } = createPromise(); - const promise = Object.assign(rawPromise, { - [turbopackExports]: module.exports, - [turbopackQueues]: (fn)=>{ - queue && fn(queue); - depQueues.forEach(fn); - promise['catch'](()=>{}); - } - }); - const attributes = { - get () { - return promise; - }, - set (v) { - // Calling `esmExport` leads to this. - if (v !== promise) { - promise[turbopackExports] = v; - } - } - }; - Object.defineProperty(module, 'exports', attributes); - Object.defineProperty(module, 'namespaceObject', attributes); - function handleAsyncDependencies(deps) { - const currentDeps = wrapDeps(deps); - const getResult = ()=>currentDeps.map((d)=>{ - if (d[turbopackError]) throw d[turbopackError]; - return d[turbopackExports]; - }); - const { promise, resolve } = createPromise(); - const fn = Object.assign(()=>resolve(getResult), { - queueCount: 0 - }); - function fnQueue(q) { - if (q !== queue && !depQueues.has(q)) { - depQueues.add(q); - if (q && q.status === 0) { - fn.queueCount++; - q.push(fn); - } - } - } - currentDeps.map((dep)=>dep[turbopackQueues](fnQueue)); - return fn.queueCount ? promise : getResult(); - } - function asyncResult(err) { - if (err) { - reject(promise[turbopackError] = err); - } else { - resolve(promise[turbopackExports]); - } - resolveQueue(queue); - } - body(handleAsyncDependencies, asyncResult); - if (queue && queue.status === -1) { - queue.status = 0; - } -} -contextPrototype.a = asyncModule; -/** - * A pseudo "fake" URL object to resolve to its relative path. - * - * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this - * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid - * hydration mismatch. - * - * This is based on webpack's existing implementation: - * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js - */ const relativeURL = function relativeURL(inputUrl) { - const realUrl = new URL(inputUrl, 'x:/'); - const values = {}; - for(const key in realUrl)values[key] = realUrl[key]; - values.href = inputUrl; - values.pathname = inputUrl.replace(/[?#].*/, ''); - values.origin = values.protocol = ''; - values.toString = values.toJSON = (..._args)=>inputUrl; - for(const key in values)Object.defineProperty(this, key, { - enumerable: true, - configurable: true, - value: values[key] - }); -}; -relativeURL.prototype = URL.prototype; -contextPrototype.U = relativeURL; -/** - * Utility function to ensure all variants of an enum are handled. - */ function invariant(never, computeMessage) { - throw new Error(`Invariant: ${computeMessage(never)}`); -} -/** - * Constructs an error message for when a module factory is not available. - */ function factoryNotAvailableMessage(moduleId, sourceType, sourceData) { - let instantiationReason; - switch(sourceType){ - case 0: - instantiationReason = `as a runtime entry of chunk ${sourceData}`; - break; - case 1: - instantiationReason = `because it was required from module ${sourceData}`; - break; - case 2: - instantiationReason = 'because of an HMR update'; - break; - default: - invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`); - } - return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`; -} -/** - * A stub function to make `require` available but non-functional in ESM. - */ function requireStub(_moduleId) { - throw new Error('dynamic usage of require is not supported'); -} -contextPrototype.z = requireStub; -// Make `globalThis` available to the module in a way that cannot be shadowed by a local variable. -contextPrototype.g = globalThis; -function applyModuleFactoryName(factory) { - // Give the module factory a nice name to improve stack traces. - Object.defineProperty(factory, 'name', { - value: 'module evaluation' - }); -} -/// -/// A 'base' utilities to support runtime can have externals. -/// Currently this is for node.js / edge runtime both. -/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead. -async function externalImport(id) { - let raw; - try { - raw = await import(id); - } catch (err) { - // TODO(alexkirsz) This can happen when a client-side module tries to load - // an external module we don't provide a shim for (e.g. querystring, url). - // For now, we fail semi-silently, but in the future this should be a - // compilation error. - throw new Error(`Failed to load external module ${id}: ${err}`); - } - if (raw && raw.__esModule && raw.default && 'default' in raw.default) { - return interopEsm(raw.default, createNS(raw), true); - } - return raw; -} -contextPrototype.y = externalImport; -function externalRequire(id, thunk, esm = false) { - let raw; - try { - raw = thunk(); - } catch (err) { - // TODO(alexkirsz) This can happen when a client-side module tries to load - // an external module we don't provide a shim for (e.g. querystring, url). - // For now, we fail semi-silently, but in the future this should be a - // compilation error. - throw new Error(`Failed to load external module ${id}: ${err}`); - } - if (!esm || raw.__esModule) { - return raw; - } - return interopEsm(raw, createNS(raw), true); -} -externalRequire.resolve = (id, options)=>{ - return require.resolve(id, options); -}; -contextPrototype.x = externalRequire; -/* eslint-disable @typescript-eslint/no-unused-vars */ const path = require('path'); -const relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, '.'); -// Compute the relative path to the `distDir`. -const relativePathToDistRoot = path.join(relativePathToRuntimeRoot, RELATIVE_ROOT_PATH); -const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot); -// Compute the absolute path to the root, by stripping distDir from the absolute path to this file. -const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot); -/** - * Returns an absolute path to the given module path. - * Module path should be relative, either path to a file or a directory. - * - * This fn allows to calculate an absolute path for some global static values, such as - * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time. - * See ImportMetaBinding::code_generation for the usage. - */ function resolveAbsolutePath(modulePath) { - if (modulePath) { - return path.join(ABSOLUTE_ROOT, modulePath); - } - return ABSOLUTE_ROOT; -} -Context.prototype.P = resolveAbsolutePath; -/* eslint-disable @typescript-eslint/no-unused-vars */ /// -function readWebAssemblyAsResponse(path) { - const { createReadStream } = require('fs'); - const { Readable } = require('stream'); - const stream = createReadStream(path); - // @ts-ignore unfortunately there's a slight type mismatch with the stream. - return new Response(Readable.toWeb(stream), { - headers: { - 'content-type': 'application/wasm' - } - }); -} -async function compileWebAssemblyFromPath(path) { - const response = readWebAssemblyAsResponse(path); - return await WebAssembly.compileStreaming(response); -} -async function instantiateWebAssemblyFromPath(path, importsObj) { - const response = readWebAssemblyAsResponse(path); - const { instance } = await WebAssembly.instantiateStreaming(response, importsObj); - return instance.exports; -} -/* eslint-disable @typescript-eslint/no-unused-vars */ /// -/// -/// -/// -/// -/** - * Base Node.js runtime shared between production and development. - * Contains chunk loading, module caching, and other non-HMR functionality. - */ process.env.TURBOPACK = '1'; -const url = require('url'); -const moduleFactories = new Map(); -const moduleCache = Object.create(null); -/** - * Returns an absolute path to the given module's id. - */ function resolvePathFromModule(moduleId) { - const exported = this.r(moduleId); - const exportedPath = exported?.default ?? exported; - if (typeof exportedPath !== 'string') { - return exported; - } - const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length); - const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix); - return url.pathToFileURL(resolved).href; -} -/** - * Exports a URL value. No suffix is added in Node.js runtime. - */ function exportUrl(urlValue, id) { - exportValue.call(this, urlValue, id); -} -function loadRuntimeChunk(sourcePath, chunkData) { - if (typeof chunkData === 'string') { - loadRuntimeChunkPath(sourcePath, chunkData); - } else { - loadRuntimeChunkPath(sourcePath, chunkData.path); - } -} -const loadedChunks = new Set(); -const unsupportedLoadChunk = Promise.resolve(undefined); -const loadedChunk = Promise.resolve(undefined); -const chunkCache = new Map(); -function clearChunkCache() { - chunkCache.clear(); - loadedChunks.clear(); -} -function loadRuntimeChunkPath(sourcePath, chunkPath) { - if (!isJs(chunkPath)) { - // We only support loading JS chunks in Node.js. - // This branch can be hit when trying to load a CSS chunk. - return; - } - if (loadedChunks.has(chunkPath)) { - return; - } - try { - const resolved = path.resolve(RUNTIME_ROOT, chunkPath); - const chunkModules = require(resolved); - installCompressedModuleFactories(chunkModules, 0, moduleFactories); - loadedChunks.add(chunkPath); - } catch (cause) { - let errorMessage = `Failed to load chunk ${chunkPath}`; - if (sourcePath) { - errorMessage += ` from runtime for chunk ${sourcePath}`; - } - const error = new Error(errorMessage, { - cause - }); - error.name = 'ChunkLoadError'; - throw error; - } -} -function loadChunkAsync(chunkData) { - const chunkPath = typeof chunkData === 'string' ? chunkData : chunkData.path; - if (!isJs(chunkPath)) { - // We only support loading JS chunks in Node.js. - // This branch can be hit when trying to load a CSS chunk. - return unsupportedLoadChunk; - } - let entry = chunkCache.get(chunkPath); - if (entry === undefined) { - try { - // resolve to an absolute path to simplify `require` handling - const resolved = path.resolve(RUNTIME_ROOT, chunkPath); - // TODO: consider switching to `import()` to enable concurrent chunk loading and async file io - // However this is incompatible with hot reloading (since `import` doesn't use the require cache) - const chunkModules = require(resolved); - installCompressedModuleFactories(chunkModules, 0, moduleFactories); - entry = loadedChunk; - } catch (cause) { - const errorMessage = `Failed to load chunk ${chunkPath} from module ${this.m.id}`; - const error = new Error(errorMessage, { - cause - }); - error.name = 'ChunkLoadError'; - // Cache the failure promise, future requests will also get this same rejection - entry = Promise.reject(error); - } - chunkCache.set(chunkPath, entry); - } - // TODO: Return an instrumented Promise that React can use instead of relying on referential equality. - return entry; -} -contextPrototype.l = loadChunkAsync; -function loadChunkAsyncByUrl(chunkUrl) { - const path1 = url.fileURLToPath(new URL(chunkUrl, RUNTIME_ROOT)); - return loadChunkAsync.call(this, path1); -} -contextPrototype.L = loadChunkAsyncByUrl; -function loadWebAssembly(chunkPath, _edgeModule, imports) { - const resolved = path.resolve(RUNTIME_ROOT, chunkPath); - return instantiateWebAssemblyFromPath(resolved, imports); -} -contextPrototype.w = loadWebAssembly; -function loadWebAssemblyModule(chunkPath, _edgeModule) { - const resolved = path.resolve(RUNTIME_ROOT, chunkPath); - return compileWebAssemblyFromPath(resolved); -} -contextPrototype.u = loadWebAssemblyModule; -/** - * Creates a Node.js worker thread by instantiating the given WorkerConstructor - * with the appropriate path and options, including forwarded globals. - * - * @param WorkerConstructor The Worker constructor from worker_threads - * @param workerPath Path to the worker entry chunk - * @param workerOptions options to pass to the Worker constructor (optional) - */ function createWorker(WorkerConstructor, workerPath, workerOptions) { - // Build the forwarded globals object - const forwardedGlobals = {}; - for (const name of WORKER_FORWARDED_GLOBALS){ - forwardedGlobals[name] = globalThis[name]; - } - // Merge workerData with forwarded globals - const existingWorkerData = workerOptions?.workerData || {}; - const options = { - ...workerOptions, - workerData: { - ...typeof existingWorkerData === 'object' ? existingWorkerData : {}, - __turbopack_globals__: forwardedGlobals - } - }; - return new WorkerConstructor(workerPath, options); -} -const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/; -/** - * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment. - */ function isJs(chunkUrlOrPath) { - return regexJsUrl.test(chunkUrlOrPath); -} -/* eslint-disable @typescript-eslint/no-unused-vars */ /// -/** - * Production Node.js runtime. - * Uses ModuleWithDirection and simple module instantiation without HMR support. - */ // moduleCache and moduleFactories are declared in runtime-base.ts -// this is read in runtime-utils.ts so it creates a module with direction for hmr -createModuleWithDirectionFlag = true; -const nodeContextPrototype = Context.prototype; -nodeContextPrototype.q = exportUrl; -nodeContextPrototype.M = moduleFactories; -// Cast moduleCache to ModuleWithDirection for production mode -nodeContextPrototype.c = moduleCache; -nodeContextPrototype.R = resolvePathFromModule; -nodeContextPrototype.b = createWorker; -nodeContextPrototype.C = clearChunkCache; -function instantiateModule(id, sourceType, sourceData) { - const moduleFactory = moduleFactories.get(id); - if (typeof moduleFactory !== 'function') { - // This can happen if modules incorrectly handle HMR disposes/updates, - // e.g. when they keep a `setTimeout` around which still executes old code - // and contains e.g. a `require("something")` call. - throw new Error(factoryNotAvailableMessage(id, sourceType, sourceData)); - } - const module1 = createModuleWithDirection(id); - const exports = module1.exports; - moduleCache[id] = module1; - const context = new Context(module1, exports); - // NOTE(alexkirsz) This can fail when the module encounters a runtime error. - try { - moduleFactory(context, module1, exports); - } catch (error) { - module1.error = error; - throw error; - } - ; - module1.loaded = true; - if (module1.namespaceObject && module1.exports !== module1.namespaceObject) { - // in case of a circular dependency: cjs1 -> esm2 -> cjs1 - interopEsm(module1.exports, module1.namespaceObject); - } - return module1; -} -/** - * Retrieves a module from the cache, or instantiate it if it is not cached. - */ // @ts-ignore -function getOrInstantiateModuleFromParent(id, sourceModule) { - const module1 = moduleCache[id]; - if (module1) { - if (module1.error) { - throw module1.error; - } - return module1; - } - return instantiateModule(id, SourceType.Parent, sourceModule.id); -} -/** - * Instantiates a runtime module. - */ function instantiateRuntimeModule(chunkPath, moduleId) { - return instantiateModule(moduleId, SourceType.Runtime, chunkPath); -} -/** - * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached. - */ // @ts-ignore TypeScript doesn't separate this module space from the browser runtime -function getOrInstantiateRuntimeModule(chunkPath, moduleId) { - const module1 = moduleCache[moduleId]; - if (module1) { - if (module1.error) { - throw module1.error; - } - return module1; - } - return instantiateRuntimeModule(chunkPath, moduleId); -} -module.exports = (sourcePath)=>({ - m: (id)=>getOrInstantiateRuntimeModule(sourcePath, id), - c: (chunkData)=>loadRuntimeChunk(sourcePath, chunkData) - }); - - -//# sourceMappingURL=%5Bturbopack%5D_runtime.js.map \ No newline at end of file diff --git a/.next/build/chunks/[turbopack]_runtime.js.map b/.next/build/chunks/[turbopack]_runtime.js.map deleted file mode 100644 index 19883e6..0000000 --- a/.next/build/chunks/[turbopack]_runtime.js.map +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/shared/runtime/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ntype EsmNamespaceObject = Record\n\n/**\n * Describes why a module was instantiated.\n * Shared between browser and Node.js runtimes.\n */\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n * SourceData is a ChunkPath.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n * SourceData is a ModuleId.\n */\n Parent = 1,\n /**\n * The module was instantiated because it was included in a chunk's hot module\n * update.\n * SourceData is an array of ModuleIds or undefined.\n */\n Update = 2,\n}\n\ntype SourceData = ChunkPath | ModuleId | ModuleId[] | undefined\n\n// @ts-ignore Defined in `dev-base.ts`\ndeclare function getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: M\n): M\n\n// @ts-ignore Defined in `hmr-runtime.ts` (dev mode only)\ndeclare let devModuleCache: Record | undefined\n\n/**\n * Flag indicating which module object type to create when a module is merged. Set to `true`\n * by each runtime that uses ModuleWithDirection (browser dev-base.ts, nodejs dev-base.ts,\n * nodejs build-base.ts). Browser production (build-base.ts) leaves it as `false` since it\n * uses plain Module objects.\n */\nlet createModuleWithDirectionFlag = false\n\nconst REEXPORTED_OBJECTS = new WeakMap()\n\n/**\n * Constructs the `__turbopack_context__` object for a module.\n */\nfunction Context(\n this: TurbopackBaseContext,\n module: Module,\n exports: Exports\n) {\n this.m = module\n // We need to store this here instead of accessing it from the module object to:\n // 1. Make it available to factories directly, since we rewrite `this` to\n // `__turbopack_context__.e` in CJS modules.\n // 2. Support async modules which rewrite `module.exports` to a promise, so we\n // can still access the original exports object from functions like\n // `esmExport`\n // Ideally we could find a new approach for async modules and drop this property altogether.\n this.e = exports\n}\nconst contextPrototype = Context.prototype as TurbopackBaseContext\n\ntype ModuleContextMap = Record\n\ninterface ModuleContextEntry {\n id: () => ModuleId\n module: () => any\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: string): Exports | EsmNamespaceObject\n\n // async import call\n import(moduleId: string): Promise\n\n keys(): ModuleId[]\n\n resolve(moduleId: string): ModuleId\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: M['id'],\n parentModule: M\n) => M\n\ndeclare function getOrInstantiateRuntimeModule(\n chunkPath: ChunkPath,\n moduleId: ModuleId\n): Module\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options)\n}\n\nfunction getOverwrittenModule(\n moduleCache: ModuleCache,\n id: ModuleId\n): Module {\n let module = moduleCache[id]\n if (!module) {\n if (createModuleWithDirectionFlag) {\n // set in development modes for hmr support\n module = createModuleWithDirection(id)\n } else {\n module = createModuleObject(id)\n }\n moduleCache[id] = module\n }\n return module\n}\n\n/**\n * Creates the module object. Only done here to ensure all module objects have the same shape.\n */\nfunction createModuleObject(id: ModuleId): Module {\n return {\n exports: {},\n error: undefined,\n id,\n namespaceObject: undefined,\n }\n}\n\nfunction createModuleWithDirection(id: ModuleId): ModuleWithDirection {\n return {\n exports: {},\n error: undefined,\n id,\n namespaceObject: undefined,\n parents: [],\n children: [],\n }\n}\n\ntype BindingTag = 0\nconst BindingTag_Value = 0 as BindingTag\n\n// an arbitrary sequence of bindings as\n// - a prop name\n// - BindingTag_Value, a value to be bound directly, or\n// - 1 or 2 functions to bind as getters and sdetters\ntype EsmBindings = Array<\n string | BindingTag | (() => unknown) | ((v: unknown) => void) | unknown\n>\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(exports: Exports, bindings: EsmBindings) {\n defineProp(exports, '__esModule', { value: true })\n if (toStringTag) defineProp(exports, toStringTag, { value: 'Module' })\n let i = 0\n while (i < bindings.length) {\n const propName = bindings[i++] as string\n const tagOrFunction = bindings[i++]\n if (typeof tagOrFunction === 'number') {\n if (tagOrFunction === BindingTag_Value) {\n defineProp(exports, propName, {\n value: bindings[i++],\n enumerable: true,\n writable: false,\n })\n } else {\n throw new Error(`unexpected tag: ${tagOrFunction}`)\n }\n } else {\n const getterFn = tagOrFunction as () => unknown\n if (typeof bindings[i] === 'function') {\n const setterFn = bindings[i++] as (v: unknown) => void\n defineProp(exports, propName, {\n get: getterFn,\n set: setterFn,\n enumerable: true,\n })\n } else {\n defineProp(exports, propName, {\n get: getterFn,\n enumerable: true,\n })\n }\n }\n }\n Object.seal(exports)\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n this: TurbopackBaseContext,\n bindings: EsmBindings,\n id: ModuleId | undefined\n) {\n let module: Module\n let exports: Module['exports']\n if (id != null) {\n module = getOverwrittenModule(this.c, id)\n exports = module.exports\n } else {\n module = this.m\n exports = this.e\n }\n module.namespaceObject = exports\n esm(exports, bindings)\n}\ncontextPrototype.s = esmExport\n\ntype ReexportedObjects = Record[]\nfunction ensureDynamicExports(\n module: Module,\n exports: Exports\n): ReexportedObjects {\n let reexportedObjects: ReexportedObjects | undefined =\n REEXPORTED_OBJECTS.get(module)\n\n if (!reexportedObjects) {\n REEXPORTED_OBJECTS.set(module, (reexportedObjects = []))\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === 'default' ||\n prop === '__esModule'\n ) {\n return Reflect.get(target, prop)\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop)\n if (value !== undefined) return value\n }\n return undefined\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target)\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== 'default' && !keys.includes(key)) keys.push(key)\n }\n }\n return keys\n },\n })\n }\n return reexportedObjects\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n this: TurbopackBaseContext,\n object: Record,\n id: ModuleId | undefined\n) {\n let module: Module\n let exports: Exports\n if (id != null) {\n module = getOverwrittenModule(this.c, id)\n exports = module.exports\n } else {\n module = this.m\n exports = this.e\n }\n const reexportedObjects = ensureDynamicExports(module, exports)\n\n if (typeof object === 'object' && object !== null) {\n reexportedObjects.push(object)\n }\n}\ncontextPrototype.j = dynamicExport\n\nfunction exportValue(\n this: TurbopackBaseContext,\n value: any,\n id: ModuleId | undefined\n) {\n let module: Module\n if (id != null) {\n module = getOverwrittenModule(this.c, id)\n } else {\n module = this.m\n }\n module.exports = value\n}\ncontextPrototype.v = exportValue\n\nfunction exportNamespace(\n this: TurbopackBaseContext,\n namespace: any,\n id: ModuleId | undefined\n) {\n let module: Module\n if (id != null) {\n module = getOverwrittenModule(this.c, id)\n } else {\n module = this.m\n }\n module.exports = module.namespaceObject = namespace\n}\ncontextPrototype.n = exportNamespace\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key]\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)]\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const bindings: EsmBindings = []\n let defaultLocation = -1\n for (\n let current = raw;\n (typeof current === 'object' || typeof current === 'function') &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n bindings.push(key, createGetter(raw, key))\n if (defaultLocation === -1 && key === 'default') {\n defaultLocation = bindings.length - 1\n }\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && defaultLocation >= 0)) {\n // Replace the binding with one for the namespace itself in order to preserve iteration order.\n if (defaultLocation >= 0) {\n // Replace the getter with the value\n bindings.splice(defaultLocation, 1, BindingTag_Value, raw)\n } else {\n bindings.push('default', BindingTag_Value, raw)\n }\n }\n\n esm(ns, bindings)\n return ns\n}\n\nfunction createNS(raw: Module['exports']): EsmNamespaceObject {\n if (typeof raw === 'function') {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args)\n }\n } else {\n return Object.create(null)\n }\n}\n\nfunction esmImport(\n this: TurbopackBaseContext,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, this.m)\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ))\n}\ncontextPrototype.i = esmImport\n\nfunction asyncLoader(\n this: TurbopackBaseContext,\n moduleId: ModuleId\n): Promise {\n const loader = this.r(moduleId) as (\n importFunction: EsmImport\n ) => Promise\n return loader(esmImport.bind(this))\n}\ncontextPrototype.A = asyncLoader\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n // @ts-ignore\n typeof require === 'function'\n ? // @ts-ignore\n require\n : function require() {\n throw new Error('Unexpected use of runtime require')\n }\ncontextPrototype.t = runtimeRequire\n\nfunction commonJsRequire(\n this: TurbopackBaseContext,\n id: ModuleId\n): Exports {\n return getOrInstantiateModuleFromParent(id, this.m).exports\n}\ncontextPrototype.r = commonJsRequire\n\n/**\n * Remove fragments and query parameters since they are never part of the context map keys\n *\n * This matches how we parse patterns at resolving time. Arguably we should only do this for\n * strings passed to `import` but the resolve does it for `import` and `require` and so we do\n * here as well.\n */\nfunction parseRequest(request: string): string {\n // Per the URI spec fragments can contain `?` characters, so we should trim it off first\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.5\n const hashIndex = request.indexOf('#')\n if (hashIndex !== -1) {\n request = request.substring(0, hashIndex)\n }\n\n const queryIndex = request.indexOf('?')\n if (queryIndex !== -1) {\n request = request.substring(0, queryIndex)\n }\n\n return request\n}\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: string): Exports {\n id = parseRequest(id)\n if (hasOwnProperty.call(map, id)) {\n return map[id].module()\n }\n\n const e = new Error(`Cannot find module '${id}'`)\n ;(e as any).code = 'MODULE_NOT_FOUND'\n throw e\n }\n\n moduleContext.keys = (): string[] => {\n return Object.keys(map)\n }\n\n moduleContext.resolve = (id: string): ModuleId => {\n id = parseRequest(id)\n if (hasOwnProperty.call(map, id)) {\n return map[id].id()\n }\n\n const e = new Error(`Cannot find module '${id}'`)\n ;(e as any).code = 'MODULE_NOT_FOUND'\n throw e\n }\n\n moduleContext.import = async (id: string) => {\n return await (moduleContext(id) as Promise)\n }\n\n return moduleContext\n}\ncontextPrototype.f = moduleContext\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === 'string' ? chunkData : chunkData.path\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === 'object' &&\n 'then' in maybePromise &&\n typeof maybePromise.then === 'function'\n )\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason?: any) => void\n\n const promise = new Promise((res, rej) => {\n reject = rej\n resolve = res\n })\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n }\n}\n\n// Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map.\n// The CompressedModuleFactories format is\n// - 1 or more module ids\n// - a module factory function\n// So walking this is a little complex but the flat structure is also fast to\n// traverse, we can use `typeof` operators to distinguish the two cases.\nfunction installCompressedModuleFactories(\n chunkModules: CompressedModuleFactories,\n offset: number,\n moduleFactories: ModuleFactories,\n newModuleId?: (id: ModuleId) => void\n) {\n let i = offset\n while (i < chunkModules.length) {\n let end = i + 1\n // Find our factory function\n while (\n end < chunkModules.length &&\n typeof chunkModules[end] !== 'function'\n ) {\n end++\n }\n if (end === chunkModules.length) {\n throw new Error('malformed chunk format, expected a factory function')\n }\n\n // Install the factory for each module ID that doesn't already have one.\n // When some IDs in this group already have a factory, reuse that existing\n // group factory for the missing IDs to keep all IDs in the group consistent.\n // Otherwise, install the factory from this chunk.\n const moduleFactoryFn = chunkModules[end] as Function\n let existingGroupFactory: Function | undefined = undefined\n for (let j = i; j < end; j++) {\n const id = chunkModules[j] as ModuleId\n const existingFactory = moduleFactories.get(id)\n if (existingFactory) {\n existingGroupFactory = existingFactory\n break\n }\n }\n const factoryToInstall = existingGroupFactory ?? moduleFactoryFn\n\n let didInstallFactory = false\n for (let j = i; j < end; j++) {\n const id = chunkModules[j] as ModuleId\n if (!moduleFactories.has(id)) {\n if (!didInstallFactory) {\n if (factoryToInstall === moduleFactoryFn) {\n applyModuleFactoryName(moduleFactoryFn)\n }\n didInstallFactory = true\n }\n moduleFactories.set(id, factoryToInstall)\n newModuleId?.(id)\n }\n }\n i = end + 1 // end is pointing at the last factory advance to the next id or the end of the array.\n }\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol('turbopack queues')\nconst turbopackExports = Symbol('turbopack exports')\nconst turbopackError = Symbol('turbopack error')\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number }\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus\n}\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved\n queue.forEach((fn) => fn.queueCount--)\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()))\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void\n [turbopackExports]: Exports\n [turbopackError]?: any\n}\n\ntype AsyncModulePromise = Promise & AsyncModuleExt\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === 'object') {\n if (isAsyncModuleExt(dep)) return dep\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n })\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n }\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res\n resolveQueue(queue)\n },\n (err) => {\n obj[turbopackError] = err\n resolveQueue(queue)\n }\n )\n\n return obj\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n }\n })\n}\n\nfunction asyncModule(\n this: TurbopackBaseContext,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const module = this.m\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined\n\n const depQueues: Set = new Set()\n\n const { resolve, reject, promise: rawPromise } = createPromise()\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue)\n depQueues.forEach(fn)\n promise['catch'](() => {})\n },\n } satisfies AsyncModuleExt)\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v\n }\n },\n }\n\n Object.defineProperty(module, 'exports', attributes)\n Object.defineProperty(module, 'namespaceObject', attributes)\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps)\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError]\n return d[turbopackExports]\n })\n\n const { promise, resolve } = createPromise<() => Exports[]>()\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n })\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q)\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++\n q.push(fn)\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue))\n\n return fn.queueCount ? promise : getResult()\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err))\n } else {\n resolve(promise[turbopackExports])\n }\n\n resolveQueue(queue)\n }\n\n body(handleAsyncDependencies, asyncResult)\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved\n }\n}\ncontextPrototype.a = asyncModule\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, 'x:/')\n const values: Record = {}\n for (const key in realUrl) values[key] = (realUrl as any)[key]\n values.href = inputUrl\n values.pathname = inputUrl.replace(/[?#].*/, '')\n values.origin = values.protocol = ''\n values.toString = values.toJSON = (..._args: Array) => inputUrl\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n })\n}\nrelativeURL.prototype = URL.prototype\ncontextPrototype.U = relativeURL\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`)\n}\n\n/**\n * Constructs an error message for when a module factory is not available.\n */\nfunction factoryNotAvailableMessage(\n moduleId: ModuleId,\n sourceType: SourceType,\n sourceData: SourceData\n): string {\n let instantiationReason: string\n switch (sourceType) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${sourceData}`\n break\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${sourceData}`\n break\n case SourceType.Update:\n instantiationReason = 'because of an HMR update'\n break\n default:\n invariant(\n sourceType,\n (sourceType) => `Unknown source type: ${sourceType}`\n )\n }\n return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`\n}\n\n/**\n * A stub function to make `require` available but non-functional in ESM.\n */\nfunction requireStub(_moduleId: ModuleId): never {\n throw new Error('dynamic usage of require is not supported')\n}\ncontextPrototype.z = requireStub\n\n// Make `globalThis` available to the module in a way that cannot be shadowed by a local variable.\ncontextPrototype.g = globalThis\n\ntype ContextConstructor = {\n new (module: Module, exports: Exports): TurbopackBaseContext\n}\n\nfunction applyModuleFactoryName(factory: Function) {\n // Give the module factory a nice name to improve stack traces.\n Object.defineProperty(factory, 'name', {\n value: 'module evaluation',\n })\n}\n"],"names":["SourceType","createModuleWithDirectionFlag","REEXPORTED_OBJECTS","WeakMap","Context","module","exports","m","e","contextPrototype","prototype","hasOwnProperty","Object","toStringTag","Symbol","defineProp","obj","name","options","call","defineProperty","getOverwrittenModule","moduleCache","id","createModuleWithDirection","createModuleObject","error","undefined","namespaceObject","parents","children","BindingTag_Value","esm","bindings","value","i","length","propName","tagOrFunction","enumerable","writable","Error","getterFn","setterFn","get","set","seal","esmExport","c","s","ensureDynamicExports","reexportedObjects","Proxy","target","prop","Reflect","ownKeys","keys","key","includes","push","dynamicExport","object","j","exportValue","v","exportNamespace","namespace","n","createGetter","getProto","getPrototypeOf","__proto__","LEAF_PROTOTYPES","interopEsm","raw","ns","allowExportDefault","defaultLocation","current","getOwnPropertyNames","splice","createNS","args","apply","create","esmImport","getOrInstantiateModuleFromParent","__esModule","asyncLoader","moduleId","loader","r","bind","A","runtimeRequire","require","require1","t","commonJsRequire","parseRequest","request","hashIndex","indexOf","substring","queryIndex","moduleContext","map","code","resolve","import","f","getChunkPath","chunkData","path","isPromise","maybePromise","then","isAsyncModuleExt","turbopackQueues","createPromise","reject","promise","Promise","res","rej","installCompressedModuleFactories","chunkModules","offset","moduleFactories","newModuleId","end","moduleFactoryFn","existingGroupFactory","existingFactory","factoryToInstall","didInstallFactory","has","applyModuleFactoryName","turbopackExports","turbopackError","resolveQueue","queue","status","forEach","fn","queueCount","wrapDeps","deps","dep","assign","err","asyncModule","body","hasAwait","depQueues","Set","rawPromise","attributes","handleAsyncDependencies","currentDeps","getResult","d","fnQueue","q","add","asyncResult","a","relativeURL","inputUrl","realUrl","URL","values","href","pathname","replace","origin","protocol","toString","toJSON","_args","configurable","U","invariant","never","computeMessage","factoryNotAvailableMessage","sourceType","sourceData","instantiationReason","requireStub","_moduleId","z","g","globalThis","factory"],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAI7C;;;CAGC,GACD,IAAA,AAAKA,oCAAAA;IACH;;;;GAIC;IAED;;;GAGC;IAED;;;;GAIC;WAhBEA;EAAAA;AA+BL;;;;;CAKC,GACD,IAAIC,gCAAgC;AAEpC,MAAMC,qBAAqB,IAAIC;AAE/B;;CAEC,GACD,SAASC,QAEPC,MAAc,EACdC,OAAgB;IAEhB,IAAI,CAACC,CAAC,GAAGF;IACT,gFAAgF;IAChF,yEAAyE;IACzE,+CAA+C;IAC/C,8EAA8E;IAC9E,sEAAsE;IACtE,iBAAiB;IACjB,4FAA4F;IAC5F,IAAI,CAACG,CAAC,GAAGF;AACX;AACA,MAAMG,mBAAmBL,QAAQM,SAAS;AA+B1C,MAAMC,iBAAiBC,OAAOF,SAAS,CAACC,cAAc;AACtD,MAAME,cAAc,OAAOC,WAAW,eAAeA,OAAOD,WAAW;AAEvE,SAASE,WACPC,GAAQ,EACRC,IAAiB,EACjBC,OAA2C;IAE3C,IAAI,CAACP,eAAeQ,IAAI,CAACH,KAAKC,OAAOL,OAAOQ,cAAc,CAACJ,KAAKC,MAAMC;AACxE;AAEA,SAASG,qBACPC,WAAgC,EAChCC,EAAY;IAEZ,IAAIlB,SAASiB,WAAW,CAACC,GAAG;IAC5B,IAAI,CAAClB,QAAQ;QACX,IAAI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ACtC,MAAM,IAAItJ,MAAM;AAClB;AACAhC,iBAAiBuL,CAAC,GAAGF;AAErB,kGAAkG;AAClGrL,iBAAiBwL,CAAC,GAAGC;AAMrB,SAASxD,uBAAuByD,OAAiB;IAC/C,+DAA+D;IAC/DvL,OAAOQ,cAAc,CAAC+K,SAAS,QAAQ;QACrCjK,OAAO;IACT;AACF","ignoreList":[0]}}, - {"offset": {"line": 580, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/shared-node/base-externals-utils.ts"],"sourcesContent":["/// \n\n/// A 'base' utilities to support runtime can have externals.\n/// Currently this is for node.js / edge runtime both.\n/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.\n\nasync function externalImport(id: DependencySpecifier) {\n let raw\n try {\n raw = await import(id)\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`)\n }\n\n if (raw && raw.__esModule && raw.default && 'default' in raw.default) {\n return interopEsm(raw.default, createNS(raw), true)\n }\n\n return raw\n}\ncontextPrototype.y = externalImport\n\nfunction externalRequire(\n id: ModuleId,\n thunk: () => any,\n esm: boolean = false\n): Exports | EsmNamespaceObject {\n let raw\n try {\n raw = thunk()\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`)\n }\n\n if (!esm || raw.__esModule) {\n return raw\n }\n\n return interopEsm(raw, createNS(raw), true)\n}\n\nexternalRequire.resolve = (\n id: string,\n options?: {\n paths?: string[]\n }\n) => {\n return require.resolve(id, options)\n}\ncontextPrototype.x = externalRequire\n"],"names":["externalImport","id","raw","err","Error","__esModule","default","interopEsm","createNS","contextPrototype","y","externalRequire","thunk","esm","resolve","options","require","x"],"mappings":"AAAA,2DAA2D;AAE3D,6DAA6D;AAC7D,sDAAsD;AACtD,qGAAqG;AAErG,eAAeA,eAAeC,EAAuB;IACnD,IAAIC;IACJ,IAAI;QACFA,MAAM,MAAM,MAAM,CAACD;IACrB,EAAE,OAAOE,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAIC,MAAM,CAAC,+BAA+B,EAAEH,GAAG,EAAE,EAAEE,KAAK;IAChE;IAEA,IAAID,OAAOA,IAAIG,UAAU,IAAIH,IAAII,OAAO,IAAI,aAAaJ,IAAII,OAAO,EAAE;QACpE,OAAOC,WAAWL,IAAII,OAAO,EAAEE,SAASN,MAAM;IAChD;IAEA,OAAOA;AACT;AACAO,iBAAiBC,CAAC,GAAGV;AAErB,SAASW,gBACPV,EAAY,EACZW,KAAgB,EAChBC,MAAe,KAAK;IAEpB,IAAIX;IACJ,IAAI;QACFA,MAAMU;IACR,EAAE,OAAOT,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAIC,MAAM,CAAC,+BAA+B,EAAEH,GAAG,EAAE,EAAEE,KAAK;IAChE;IAEA,IAAI,CAACU,OAAOX,IAAIG,UAAU,EAAE;QAC1B,OAAOH;IACT;IAEA,OAAOK,WAAWL,KAAKM,SAASN,MAAM;AACxC;AAEAS,gBAAgBG,OAAO,GAAG,CACxBb,IACAc;IAIA,OAAOC,QAAQF,OAAO,CAACb,IAAIc;AAC7B;AACAN,iBAAiBQ,CAAC,GAAGN","ignoreList":[0]}}, - {"offset": {"line": 621, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/shared-node/node-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\ndeclare var RUNTIME_PUBLIC_PATH: string\ndeclare var RELATIVE_ROOT_PATH: string\ndeclare var ASSET_PREFIX: string\n\nconst path = require('path')\n\nconst relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, '.')\n// Compute the relative path to the `distDir`.\nconst relativePathToDistRoot = path.join(\n relativePathToRuntimeRoot,\n RELATIVE_ROOT_PATH\n)\nconst RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot)\n// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.\nconst ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot)\n\n/**\n * Returns an absolute path to the given module path.\n * Module path should be relative, either path to a file or a directory.\n *\n * This fn allows to calculate an absolute path for some global static values, such as\n * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.\n * See ImportMetaBinding::code_generation for the usage.\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n if (modulePath) {\n return path.join(ABSOLUTE_ROOT, modulePath)\n }\n return ABSOLUTE_ROOT\n}\nContext.prototype.P = resolveAbsolutePath\n"],"names":["path","require","relativePathToRuntimeRoot","relative","RUNTIME_PUBLIC_PATH","relativePathToDistRoot","join","RELATIVE_ROOT_PATH","RUNTIME_ROOT","resolve","__filename","ABSOLUTE_ROOT","resolveAbsolutePath","modulePath","Context","prototype","P"],"mappings":"AAAA,oDAAoD,GAMpD,MAAMA,OAAOC,QAAQ;AAErB,MAAMC,4BAA4BF,KAAKG,QAAQ,CAACC,qBAAqB;AACrE,8CAA8C;AAC9C,MAAMC,yBAAyBL,KAAKM,IAAI,CACtCJ,2BACAK;AAEF,MAAMC,eAAeR,KAAKS,OAAO,CAACC,YAAYR;AAC9C,mGAAmG;AACnG,MAAMS,gBAAgBX,KAAKS,OAAO,CAACC,YAAYL;AAE/C;;;;;;;CAOC,GACD,SAASO,oBAAoBC,UAAmB;IAC9C,IAAIA,YAAY;QACd,OAAOb,KAAKM,IAAI,CAACK,eAAeE;IAClC;IACA,OAAOF;AACT;AACAG,QAAQC,SAAS,CAACC,CAAC,GAAGJ","ignoreList":[0]}}, - {"offset": {"line": 642, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/shared-node/node-wasm-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\nfunction readWebAssemblyAsResponse(path: string) {\n const { createReadStream } = require('fs') as typeof import('fs')\n const { Readable } = require('stream') as typeof import('stream')\n\n const stream = createReadStream(path)\n\n // @ts-ignore unfortunately there's a slight type mismatch with the stream.\n return new Response(Readable.toWeb(stream), {\n headers: {\n 'content-type': 'application/wasm',\n },\n })\n}\n\nasync function compileWebAssemblyFromPath(\n path: string\n): Promise {\n const response = readWebAssemblyAsResponse(path)\n\n return await WebAssembly.compileStreaming(response)\n}\n\nasync function instantiateWebAssemblyFromPath(\n path: string,\n importsObj: WebAssembly.Imports\n): Promise {\n const response = readWebAssemblyAsResponse(path)\n\n const { instance } = await WebAssembly.instantiateStreaming(\n response,\n importsObj\n )\n\n return instance.exports\n}\n"],"names":["readWebAssemblyAsResponse","path","createReadStream","require","Readable","stream","Response","toWeb","headers","compileWebAssemblyFromPath","response","WebAssembly","compileStreaming","instantiateWebAssemblyFromPath","importsObj","instance","instantiateStreaming","exports"],"mappings":"AAAA,oDAAoD,GAEpD,2DAA2D;AAE3D,SAASA,0BAA0BC,IAAY;IAC7C,MAAM,EAAEC,gBAAgB,EAAE,GAAGC,QAAQ;IACrC,MAAM,EAAEC,QAAQ,EAAE,GAAGD,QAAQ;IAE7B,MAAME,SAASH,iBAAiBD;IAEhC,2EAA2E;IAC3E,OAAO,IAAIK,SAASF,SAASG,KAAK,CAACF,SAAS;QAC1CG,SAAS;YACP,gBAAgB;QAClB;IACF;AACF;AAEA,eAAeC,2BACbR,IAAY;IAEZ,MAAMS,WAAWV,0BAA0BC;IAE3C,OAAO,MAAMU,YAAYC,gBAAgB,CAACF;AAC5C;AAEA,eAAeG,+BACbZ,IAAY,EACZa,UAA+B;IAE/B,MAAMJ,WAAWV,0BAA0BC;IAE3C,MAAM,EAAEc,QAAQ,EAAE,GAAG,MAAMJ,YAAYK,oBAAoB,CACzDN,UACAI;IAGF,OAAOC,SAASE,OAAO;AACzB","ignoreList":[0]}}, - {"offset": {"line": 663, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/nodejs/runtime/runtime-base.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n/// \n\n/**\n * Base Node.js runtime shared between production and development.\n * Contains chunk loading, module caching, and other non-HMR functionality.\n */\n\nprocess.env.TURBOPACK = '1'\n\nconst url = require('url') as typeof import('url')\n\nconst moduleFactories: ModuleFactories = new Map()\nconst moduleCache: ModuleCache = Object.create(null)\n\n/**\n * Returns an absolute path to the given module's id.\n */\nfunction resolvePathFromModule(\n this: TurbopackBaseContext,\n moduleId: string\n): string {\n const exported = this.r(moduleId)\n const exportedPath = exported?.default ?? exported\n if (typeof exportedPath !== 'string') {\n return exported as any\n }\n\n const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length)\n const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix)\n\n return url.pathToFileURL(resolved).href\n}\n\n/**\n * Exports a URL value. No suffix is added in Node.js runtime.\n */\nfunction exportUrl(\n this: TurbopackBaseContext,\n urlValue: string,\n id: ModuleId | undefined\n) {\n exportValue.call(this, urlValue, id)\n}\n\nfunction loadRuntimeChunk(sourcePath: ChunkPath, chunkData: ChunkData): void {\n if (typeof chunkData === 'string') {\n loadRuntimeChunkPath(sourcePath, chunkData)\n } else {\n loadRuntimeChunkPath(sourcePath, chunkData.path)\n }\n}\n\nconst loadedChunks = new Set()\nconst unsupportedLoadChunk = Promise.resolve(undefined)\nconst loadedChunk: Promise = Promise.resolve(undefined)\nconst chunkCache = new Map>()\n\nfunction clearChunkCache() {\n chunkCache.clear()\n loadedChunks.clear()\n}\n\nfunction loadRuntimeChunkPath(\n sourcePath: ChunkPath,\n chunkPath: ChunkPath\n): void {\n if (!isJs(chunkPath)) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return\n }\n\n if (loadedChunks.has(chunkPath)) {\n return\n }\n\n try {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath)\n const chunkModules: CompressedModuleFactories = require(resolved)\n installCompressedModuleFactories(chunkModules, 0, moduleFactories)\n loadedChunks.add(chunkPath)\n } catch (cause) {\n let errorMessage = `Failed to load chunk ${chunkPath}`\n\n if (sourcePath) {\n errorMessage += ` from runtime for chunk ${sourcePath}`\n }\n\n const error = new Error(errorMessage, { cause })\n error.name = 'ChunkLoadError'\n throw error\n }\n}\n\nfunction loadChunkAsync(\n this: TurbopackBaseContext,\n chunkData: ChunkData\n): Promise {\n const chunkPath = typeof chunkData === 'string' ? chunkData : chunkData.path\n if (!isJs(chunkPath)) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return unsupportedLoadChunk\n }\n\n let entry = chunkCache.get(chunkPath)\n if (entry === undefined) {\n try {\n // resolve to an absolute path to simplify `require` handling\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath)\n // TODO: consider switching to `import()` to enable concurrent chunk loading and async file io\n // However this is incompatible with hot reloading (since `import` doesn't use the require cache)\n const chunkModules: CompressedModuleFactories = require(resolved)\n installCompressedModuleFactories(chunkModules, 0, moduleFactories)\n entry = loadedChunk\n } catch (cause) {\n const errorMessage = `Failed to load chunk ${chunkPath} from module ${this.m.id}`\n const error = new Error(errorMessage, { cause })\n error.name = 'ChunkLoadError'\n\n // Cache the failure promise, future requests will also get this same rejection\n entry = Promise.reject(error)\n }\n chunkCache.set(chunkPath, entry)\n }\n // TODO: Return an instrumented Promise that React can use instead of relying on referential equality.\n return entry\n}\ncontextPrototype.l = loadChunkAsync\n\nfunction loadChunkAsyncByUrl(\n this: TurbopackBaseContext,\n chunkUrl: string\n) {\n const path = url.fileURLToPath(new URL(chunkUrl, RUNTIME_ROOT)) as ChunkPath\n return loadChunkAsync.call(this, path)\n}\ncontextPrototype.L = loadChunkAsyncByUrl\n\nfunction loadWebAssembly(\n chunkPath: ChunkPath,\n _edgeModule: () => WebAssembly.Module,\n imports: WebAssembly.Imports\n) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath)\n\n return instantiateWebAssemblyFromPath(resolved, imports)\n}\ncontextPrototype.w = loadWebAssembly\n\nfunction loadWebAssemblyModule(\n chunkPath: ChunkPath,\n _edgeModule: () => WebAssembly.Module\n) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath)\n\n return compileWebAssemblyFromPath(resolved)\n}\ncontextPrototype.u = loadWebAssemblyModule\n\n/**\n * Creates a Node.js worker thread by instantiating the given WorkerConstructor\n * with the appropriate path and options, including forwarded globals.\n *\n * @param WorkerConstructor The Worker constructor from worker_threads\n * @param workerPath Path to the worker entry chunk\n * @param workerOptions options to pass to the Worker constructor (optional)\n */\nfunction createWorker(\n WorkerConstructor: { new (path: string, options?: object): unknown },\n workerPath: string,\n workerOptions?: { workerData?: unknown; [key: string]: unknown }\n): unknown {\n // Build the forwarded globals object\n const forwardedGlobals: Record = {}\n for (const name of WORKER_FORWARDED_GLOBALS) {\n forwardedGlobals[name] = (globalThis as Record)[name]\n }\n\n // Merge workerData with forwarded globals\n const existingWorkerData = workerOptions?.workerData || {}\n const options = {\n ...workerOptions,\n workerData: {\n ...(typeof existingWorkerData === 'object' ? existingWorkerData : {}),\n __turbopack_globals__: forwardedGlobals,\n },\n }\n\n return new WorkerConstructor(workerPath, options)\n}\n\nconst regexJsUrl = /\\.js(?:\\?[^#]*)?(?:#.*)?$/\n/**\n * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.\n */\nfunction isJs(chunkUrlOrPath: ChunkUrl | ChunkPath): boolean {\n return regexJsUrl.test(chunkUrlOrPath)\n}\n"],"names":["process","env","TURBOPACK","url","require","moduleFactories","Map","moduleCache","Object","create","resolvePathFromModule","moduleId","exported","r","exportedPath","default","strippedAssetPrefix","slice","ASSET_PREFIX","length","resolved","path","resolve","RUNTIME_ROOT","pathToFileURL","href","exportUrl","urlValue","id","exportValue","call","loadRuntimeChunk","sourcePath","chunkData","loadRuntimeChunkPath","loadedChunks","Set","unsupportedLoadChunk","Promise","undefined","loadedChunk","chunkCache","clearChunkCache","clear","chunkPath","isJs","has","chunkModules","installCompressedModuleFactories","add","cause","errorMessage","error","Error","name","loadChunkAsync","entry","get","m","reject","set","contextPrototype","l","loadChunkAsyncByUrl","chunkUrl","path1","fileURLToPath","URL","L","loadWebAssembly","_edgeModule","imports","instantiateWebAssemblyFromPath","w","loadWebAssemblyModule","compileWebAssemblyFromPath","u","createWorker","WorkerConstructor","workerPath","workerOptions","forwardedGlobals","WORKER_FORWARDED_GLOBALS","globalThis","existingWorkerData","workerData","options","__turbopack_globals__","regexJsUrl","chunkUrlOrPath","test"],"mappings":"AAAA,oDAAoD,GAEpD,8DAA8D;AAC9D,kEAAkE;AAClE,kEAAkE;AAClE,6DAA6D;AAC7D,8CAA8C;AAE9C;;;CAGC,GAEDA,QAAQC,GAAG,CAACC,SAAS,GAAG;AAExB,MAAMC,MAAMC,QAAQ;AAEpB,MAAMC,kBAAmC,IAAIC;AAC7C,MAAMC,cAAmCC,OAAOC,MAAM,CAAC;AAEvD;;CAEC,GACD,SAASC,sBAEPC,QAAgB;IAEhB,MAAMC,WAAW,IAAI,CAACC,CAAC,CAACF;IACxB,MAAMG,eAAeF,UAAUG,WAAWH;IAC1C,IAAI,OAAOE,iBAAiB,UAAU;QACpC,OAAOF;IACT;IAEA,MAAMI,sBAAsBF,aAAaG,KAAK,CAACC,aAAaC,MAAM;IAClE,MAAMC,WAAWC,KAAKC,OAAO,CAACC,cAAcP;IAE5C,OAAOb,IAAIqB,aAAa,CAACJ,UAAUK,IAAI;AACzC;AAEA;;CAEC,GACD,SAASC,UAEPC,QAAgB,EAChBC,EAAwB;IAExBC,YAAYC,IAAI,CAAC,IAAI,EAAEH,UAAUC;AACnC;AAEA,SAASG,iBAAiBC,UAAqB,EAAEC,SAAoB;IACnE,IAAI,OAAOA,cAAc,UAAU;QACjCC,qBAAqBF,YAAYC;IACnC,OAAO;QACLC,qBAA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uBAAuB,WAAWA,qBAAqB,CAAC,CAAC;YACpEG,uBAAuBN;QACzB;IACF;IAEA,OAAO,IAAIH,kBAAkBC,YAAYO;AAC3C;AAEA,MAAME,aAAa;AACnB;;CAEC,GACD,SAAS3C,KAAK4C,cAAoC;IAChD,OAAOD,WAAWE,IAAI,CAACD;AACzB","ignoreList":[0]}}, - {"offset": {"line": 810, "column": 0}, "map": {"version":3,"sources":["turbopack:///[turbopack]/nodejs/runtime/build-base.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\n/**\n * Production Node.js runtime.\n * Uses ModuleWithDirection and simple module instantiation without HMR support.\n */\n\n// moduleCache and moduleFactories are declared in runtime-base.ts\n\n// this is read in runtime-utils.ts so it creates a module with direction for hmr\ncreateModuleWithDirectionFlag = true\n\ninterface TurbopackNodeBuildContext\n extends TurbopackBaseContext {\n R: ResolvePathFromModule\n x: ExternalRequire\n y: ExternalImport\n C: typeof clearChunkCache\n}\n\nconst nodeContextPrototype = Context.prototype as TurbopackNodeBuildContext\n\nnodeContextPrototype.q = exportUrl\nnodeContextPrototype.M = moduleFactories\n// Cast moduleCache to ModuleWithDirection for production mode\nnodeContextPrototype.c = moduleCache as ModuleCache\nnodeContextPrototype.R = resolvePathFromModule\nnodeContextPrototype.b = createWorker\nnodeContextPrototype.C = clearChunkCache\n\nfunction instantiateModule(\n id: ModuleId,\n sourceType: SourceType,\n sourceData: SourceData\n): ModuleWithDirection {\n const moduleFactory = moduleFactories.get(id)\n if (typeof moduleFactory !== 'function') {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n throw new Error(factoryNotAvailableMessage(id, sourceType, sourceData))\n }\n\n const module: ModuleWithDirection = createModuleWithDirection(id)\n const exports = module.exports\n moduleCache[id] = module\n\n const context =\n new (Context as any as ContextConstructor)(\n module,\n exports\n )\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n moduleFactory(context, module, exports)\n } catch (error) {\n module.error = error as any\n throw error\n }\n\n ;(module as any).loaded = true\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject)\n }\n\n return module\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\n// @ts-ignore\nfunction getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: ModuleWithDirection\n): ModuleWithDirection {\n const module = moduleCache[id]\n\n if (module) {\n if (module.error) {\n throw module.error\n }\n\n return module\n }\n\n return instantiateModule(id, SourceType.Parent, sourceModule.id)\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n chunkPath: ChunkPath,\n moduleId: ModuleId\n): ModuleWithDirection {\n return instantiateModule(moduleId, SourceType.Runtime, chunkPath)\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.\n */\n// @ts-ignore TypeScript doesn't separate this module space from the browser runtime\nfunction getOrInstantiateRuntimeModule(\n chunkPath: ChunkPath,\n moduleId: ModuleId\n): ModuleWithDirection {\n const module = moduleCache[moduleId]\n\n if (module) {\n if (module.error) {\n throw module.error\n }\n return module\n }\n\n return instantiateRuntimeModule(chunkPath, moduleId)\n}\n\nmodule.exports = (sourcePath: ChunkPath) => ({\n m: (id: ModuleId) => getOrInstantiateRuntimeModule(sourcePath, id),\n c: (chunkData: ChunkData) => loadRuntimeChunk(sourcePath, chunkData),\n})\n"],"names":["createModuleWithDirectionFlag","nodeContextPrototype","Context","prototype","q","exportUrl","M","moduleFactories","c","moduleCache","R","resolvePathFromModule","b","createWorker","C","clearChunkCache","instantiateModule","id","sourceType","sourceData","moduleFactory","get","Error","factoryNotAvailableMessage","module1","createModuleWithDirection","exports","context","error","loaded","namespaceObject","interopEsm","getOrInstantiateModuleFromParent","sourceModule","SourceType","Parent","instantiateRuntimeModule","chunkPath","moduleId","Runtime","getOrInst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AChB,MAAMJ,QAAOI,KAAK;QACpB;QAEA,OAAOJ;IACT;IAEA,OAAOR,kBAAkBC,IAAIiB,WAAWC,MAAM,EAAEF,aAAahB,EAAE;AACjE;AAEA;;CAEC,GACD,SAASmB,yBACPC,SAAoB,EACpBC,QAAkB;IAElB,OAAOtB,kBAAkBsB,UAAUJ,WAAWK,OAAO,EAAEF;AACzD;AAEA;;CAEC,GACD,oFAAoF;AACpF,SAASG,8BACPH,SAAoB,EACpBC,QAAkB;IAElB,MAAMd,UAASf,WAAW,CAAC6B,SAAS;IAEpC,IAAId,SAAQ;QACV,IAAIA,QAAOI,KAAK,EAAE;YAChB,MAAMJ,QAAOI,KAAK;QACpB;QACA,OAAOJ;IACT;IAEA,OAAOY,yBAAyBC,WAAWC;AAC7C;AAEAG,OAAOf,OAAO,GAAG,CAACgB,aAA0B,CAAC;QAC3CC,GAAG,CAAC1B,KAAiBuB,8BAA8BE,YAAYzB;QAC/DT,GAAG,CAACoC,YAAyBC,iBAAiBH,YAAYE;IAC5D,CAAC","ignoreList":[0]}}] -} \ No newline at end of file diff --git a/.next/build/chunks/node_modules_13sb.px._.js b/.next/build/chunks/node_modules_13sb.px._.js deleted file mode 100644 index b12159f..0000000 --- a/.next/build/chunks/node_modules_13sb.px._.js +++ /dev/null @@ -1,6824 +0,0 @@ -module.exports = [ -"[project]/node_modules/picocolors/picocolors.js [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { - -let p = process || {}, argv = p.argv || [], env = p.env || {}; -let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI); -let formatter = (open, close, replace = open)=>(input)=>{ - let string = "" + input, index = string.indexOf(close, open.length); - return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close; - }; -let replaceClose = (string, close, replace, index)=>{ - let result = "", cursor = 0; - do { - result += string.substring(cursor, index) + replace; - cursor = index + close.length; - index = string.indexOf(close, cursor); - }while (~index) - return result + string.substring(cursor); -}; -let createColors = (enabled = isColorSupported)=>{ - let f = enabled ? formatter : ()=>String; - return { - isColorSupported: enabled, - reset: f("\x1b[0m", "\x1b[0m"), - bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"), - dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"), - italic: f("\x1b[3m", "\x1b[23m"), - underline: f("\x1b[4m", "\x1b[24m"), - inverse: f("\x1b[7m", "\x1b[27m"), - hidden: f("\x1b[8m", "\x1b[28m"), - strikethrough: f("\x1b[9m", "\x1b[29m"), - black: f("\x1b[30m", "\x1b[39m"), - red: f("\x1b[31m", "\x1b[39m"), - green: f("\x1b[32m", "\x1b[39m"), - yellow: f("\x1b[33m", "\x1b[39m"), - blue: f("\x1b[34m", "\x1b[39m"), - magenta: f("\x1b[35m", "\x1b[39m"), - cyan: f("\x1b[36m", "\x1b[39m"), - white: f("\x1b[37m", "\x1b[39m"), - gray: f("\x1b[90m", "\x1b[39m"), - bgBlack: f("\x1b[40m", "\x1b[49m"), - bgRed: f("\x1b[41m", "\x1b[49m"), - bgGreen: f("\x1b[42m", "\x1b[49m"), - bgYellow: f("\x1b[43m", "\x1b[49m"), - bgBlue: f("\x1b[44m", "\x1b[49m"), - bgMagenta: f("\x1b[45m", "\x1b[49m"), - bgCyan: f("\x1b[46m", "\x1b[49m"), - bgWhite: f("\x1b[47m", "\x1b[49m"), - blackBright: f("\x1b[90m", "\x1b[39m"), - redBright: f("\x1b[91m", "\x1b[39m"), - greenBright: f("\x1b[92m", "\x1b[39m"), - yellowBright: f("\x1b[93m", "\x1b[39m"), - blueBright: f("\x1b[94m", "\x1b[39m"), - magentaBright: f("\x1b[95m", "\x1b[39m"), - cyanBright: f("\x1b[96m", "\x1b[39m"), - whiteBright: f("\x1b[97m", "\x1b[39m"), - bgBlackBright: f("\x1b[100m", "\x1b[49m"), - bgRedBright: f("\x1b[101m", "\x1b[49m"), - bgGreenBright: f("\x1b[102m", "\x1b[49m"), - bgYellowBright: f("\x1b[103m", "\x1b[49m"), - bgBlueBright: f("\x1b[104m", "\x1b[49m"), - bgMagentaBright: f("\x1b[105m", "\x1b[49m"), - bgCyanBright: f("\x1b[106m", "\x1b[49m"), - bgWhiteBright: f("\x1b[107m", "\x1b[49m") - }; -}; -module.exports = createColors(); -module.exports.createColors = createColors; -}), -"[project]/node_modules/postcss/lib/tokenize.js [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -const SINGLE_QUOTE = "'".charCodeAt(0); -const DOUBLE_QUOTE = '"'.charCodeAt(0); -const BACKSLASH = '\\'.charCodeAt(0); -const SLASH = '/'.charCodeAt(0); -const NEWLINE = '\n'.charCodeAt(0); -const SPACE = ' '.charCodeAt(0); -const FEED = '\f'.charCodeAt(0); -const TAB = '\t'.charCodeAt(0); -const CR = '\r'.charCodeAt(0); -const OPEN_SQUARE = '['.charCodeAt(0); -const CLOSE_SQUARE = ']'.charCodeAt(0); -const OPEN_PARENTHESES = '('.charCodeAt(0); -const CLOSE_PARENTHESES = ')'.charCodeAt(0); -const OPEN_CURLY = '{'.charCodeAt(0); -const CLOSE_CURLY = '}'.charCodeAt(0); -const SEMICOLON = ';'.charCodeAt(0); -const ASTERISK = '*'.charCodeAt(0); -const COLON = ':'.charCodeAt(0); -const AT = '@'.charCodeAt(0); -const RE_AT_END = /[\t\n\f\r "#'()/;[\\\]{}]/g; -const RE_WORD_END = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g; -const RE_BAD_BRACKET = /.[\r\n"'(/\\]/; -const RE_HEX_ESCAPE = /[\da-f]/i; -module.exports = function tokenizer(input, options = {}) { - let css = input.css.valueOf(); - let ignore = options.ignoreErrors; - let code, content, escape, next, quote; - let currentToken, escaped, escapePos, n, prev; - let length = css.length; - let pos = 0; - let buffer = []; - let returned = []; - let lastBadParen = -1; - function position() { - return pos; - } - function unclosed(what) { - throw input.error('Unclosed ' + what, pos); - } - function endOfFile() { - return returned.length === 0 && pos >= length; - } - function nextToken(opts) { - if (returned.length) return returned.pop(); - if (pos >= length) return; - let ignoreUnclosed = opts ? opts.ignoreUnclosed : false; - code = css.charCodeAt(pos); - switch(code){ - case NEWLINE: - case SPACE: - case TAB: - case CR: - case FEED: - { - next = pos; - do { - next += 1; - code = css.charCodeAt(next); - }while (code === SPACE || code === NEWLINE || code === TAB || code === CR || code === FEED) - currentToken = [ - 'space', - css.slice(pos, next) - ]; - pos = next - 1; - break; - } - case OPEN_SQUARE: - case CLOSE_SQUARE: - case OPEN_CURLY: - case CLOSE_CURLY: - case COLON: - case SEMICOLON: - case CLOSE_PARENTHESES: - { - let controlChar = String.fromCharCode(code); - currentToken = [ - controlChar, - controlChar, - pos - ]; - break; - } - case OPEN_PARENTHESES: - { - prev = buffer.length ? buffer.pop()[1] : ''; - n = css.charCodeAt(pos + 1); - if (prev === 'url' && n !== SINGLE_QUOTE && n !== DOUBLE_QUOTE && n !== SPACE && n !== NEWLINE && n !== TAB && n !== FEED && n !== CR) { - next = pos; - do { - escaped = false; - next = css.indexOf(')', next + 1); - if (next === -1) { - if (ignore || ignoreUnclosed) { - next = pos; - break; - } else { - unclosed('bracket'); - } - } - escapePos = next; - while(css.charCodeAt(escapePos - 1) === BACKSLASH){ - escapePos -= 1; - escaped = !escaped; - } - }while (escaped) - currentToken = [ - 'brackets', - css.slice(pos, next + 1), - pos, - next - ]; - pos = next; - } else if (pos <= lastBadParen) { - currentToken = [ - '(', - '(', - pos - ]; - } else { - next = css.indexOf(')', pos + 1); - content = css.slice(pos, next + 1); - if (next === -1 || RE_BAD_BRACKET.test(content)) { - lastBadParen = next === -1 ? length : next; - currentToken = [ - '(', - '(', - pos - ]; - } else { - currentToken = [ - 'brackets', - content, - pos, - next - ]; - pos = next; - } - } - break; - } - case SINGLE_QUOTE: - case DOUBLE_QUOTE: - { - quote = code === SINGLE_QUOTE ? "'" : '"'; - next = pos; - do { - escaped = false; - next = css.indexOf(quote, next + 1); - if (next === -1) { - if (ignore || ignoreUnclosed) { - next = pos + 1; - break; - } else { - unclosed('string'); - } - } - escapePos = next; - while(css.charCodeAt(escapePos - 1) === BACKSLASH){ - escapePos -= 1; - escaped = !escaped; - } - }while (escaped) - currentToken = [ - 'string', - css.slice(pos, next + 1), - pos, - next - ]; - pos = next; - break; - } - case AT: - { - RE_AT_END.lastIndex = pos + 1; - RE_AT_END.test(css); - if (RE_AT_END.lastIndex === 0) { - next = css.length - 1; - } else { - next = RE_AT_END.lastIndex - 2; - } - currentToken = [ - 'at-word', - css.slice(pos, next + 1), - pos, - next - ]; - pos = next; - break; - } - case BACKSLASH: - { - next = pos; - escape = true; - while(css.charCodeAt(next + 1) === BACKSLASH){ - next += 1; - escape = !escape; - } - code = css.charCodeAt(next + 1); - if (escape && code !== SLASH && code !== SPACE && code !== NEWLINE && code !== TAB && code !== CR && code !== FEED) { - next += 1; - if (RE_HEX_ESCAPE.test(css.charAt(next))) { - while(RE_HEX_ESCAPE.test(css.charAt(next + 1))){ - next += 1; - } - if (css.charCodeAt(next + 1) === SPACE) { - next += 1; - } - } - } - currentToken = [ - 'word', - css.slice(pos, next + 1), - pos, - next - ]; - pos = next; - break; - } - default: - { - if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) { - next = css.indexOf('*/', pos + 2) + 1; - if (next === 0) { - if (ignore || ignoreUnclosed) { - next = css.length; - } else { - unclosed('comment'); - } - } - currentToken = [ - 'comment', - css.slice(pos, next + 1), - pos, - next - ]; - pos = next; - } else { - RE_WORD_END.lastIndex = pos + 1; - RE_WORD_END.test(css); - if (RE_WORD_END.lastIndex === 0) { - next = css.length - 1; - } else { - next = RE_WORD_END.lastIndex - 2; - } - currentToken = [ - 'word', - css.slice(pos, next + 1), - pos, - next - ]; - buffer.push(currentToken); - pos = next; - } - break; - } - } - pos++; - return currentToken; - } - function back(token) { - returned.push(token); - } - return { - back, - endOfFile, - nextToken, - position - }; -}; -}), -"[project]/node_modules/postcss/lib/terminal-highlight.js [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -let pico = __turbopack_context__.r("[project]/node_modules/picocolors/picocolors.js [postcss] (ecmascript)"); -let tokenizer = __turbopack_context__.r("[project]/node_modules/postcss/lib/tokenize.js [postcss] (ecmascript)"); -let Input; -function registerInput(dependant) { - Input = dependant; -} -const HIGHLIGHT_THEME = { - ';': pico.yellow, - ':': pico.yellow, - '(': pico.cyan, - ')': pico.cyan, - '[': pico.yellow, - ']': pico.yellow, - '{': pico.yellow, - '}': pico.yellow, - 'at-word': pico.cyan, - 'brackets': pico.cyan, - 'call': pico.cyan, - 'class': pico.yellow, - 'comment': pico.gray, - 'hash': pico.magenta, - 'string': pico.green -}; -function getTokenType([type, value], processor) { - if (type === 'word') { - if (value[0] === '.') { - return 'class'; - } - if (value[0] === '#') { - return 'hash'; - } - } - if (!processor.endOfFile()) { - let next = processor.nextToken(); - processor.back(next); - if (next[0] === 'brackets' || next[0] === '(') return 'call'; - } - return type; -} -function terminalHighlight(css) { - let processor = tokenizer(new Input(css), { - ignoreErrors: true - }); - let result = ''; - while(!processor.endOfFile()){ - let token = processor.nextToken(); - let color = HIGHLIGHT_THEME[getTokenType(token, processor)]; - if (color) { - result += token[1].split(/\r?\n/).map((i)=>color(i)).join('\n'); - } else { - result += token[1]; - } - } - return result; -} -terminalHighlight.registerInput = registerInput; -module.exports = terminalHighlight; -}), -"[project]/node_modules/postcss/lib/css-syntax-error.js [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -let pico = __turbopack_context__.r("[project]/node_modules/picocolors/picocolors.js [postcss] (ecmascript)"); -let terminalHighlight = __turbopack_context__.r("[project]/node_modules/postcss/lib/terminal-highlight.js [postcss] (ecmascript)"); -class CssSyntaxError extends Error { - constructor(message, line, column, source, file, plugin){ - super(message); - this.name = 'CssSyntaxError'; - this.reason = message; - if (file) { - this.file = file; - } - if (source) { - this.source = source; - } - if (plugin) { - this.plugin = plugin; - } - if (typeof line !== 'undefined' && typeof column !== 'undefined') { - if (typeof line === 'number') { - this.line = line; - this.column = column; - } else { - this.line = line.line; - this.column = line.column; - this.endLine = column.line; - this.endColumn = column.column; - } - } - this.setMessage(); - if (Error.captureStackTrace) { - Error.captureStackTrace(this, CssSyntaxError); - } - } - setMessage() { - this.message = this.plugin ? this.plugin + ': ' : ''; - this.message += this.file ? this.file : ''; - if (typeof this.line !== 'undefined') { - this.message += ':' + this.line + ':' + this.column; - } - this.message += ': ' + this.reason; - } - showSourceCode(color) { - if (!this.source) return ''; - let css = this.source; - if (color == null) color = pico.isColorSupported; - let aside = (text)=>text; - let mark = (text)=>text; - let highlight = (text)=>text; - if (color) { - let { bold, gray, red } = pico.createColors(true); - mark = (text)=>bold(red(text)); - aside = (text)=>gray(text); - if (terminalHighlight) { - highlight = (text)=>terminalHighlight(text); - } - } - let lines = css.split(/\r?\n/); - let start = Math.max(this.line - 3, 0); - let end = Math.min(this.line + 2, lines.length); - let maxWidth = String(end).length; - return lines.slice(start, end).map((line, index)=>{ - let number = start + 1 + index; - let gutter = ' ' + (' ' + number).slice(-maxWidth) + ' | '; - if (number === this.line) { - if (line.length > 160) { - let padding = 20; - let subLineStart = Math.max(0, this.column - padding); - let subLineEnd = Math.max(this.column + padding, this.endColumn + padding); - let subLine = line.slice(subLineStart, subLineEnd); - let spacing = aside(gutter.replace(/\d/g, ' ')) + line.slice(0, Math.min(this.column - 1, padding - 1)).replace(/[^\t]/g, ' '); - return mark('>') + aside(gutter) + highlight(subLine) + '\n ' + spacing + mark('^'); - } - let spacing = aside(gutter.replace(/\d/g, ' ')) + line.slice(0, this.column - 1).replace(/[^\t]/g, ' '); - return mark('>') + aside(gutter) + highlight(line) + '\n ' + spacing + mark('^'); - } - return ' ' + aside(gutter) + highlight(line); - }).join('\n'); - } - toString() { - let code = this.showSourceCode(); - if (code) { - code = '\n\n' + code + '\n'; - } - return this.name + ': ' + this.message + code; - } -} -module.exports = CssSyntaxError; -CssSyntaxError.default = CssSyntaxError; -}), -"[project]/node_modules/postcss/lib/stringifier.js [postcss] (ecmascript)", ((__turbopack_context__, module, exports) => { -"use strict"; - -// Escapes sequences that could break out of an HTML

This page couldn’t load

A server error occurred. Reload to try again.

\ No newline at end of file diff --git a/.next/server/app/_global-error.meta b/.next/server/app/_global-error.meta deleted file mode 100644 index 8700303..0000000 --- a/.next/server/app/_global-error.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status": 500, - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/_global-error/layout,_N_T_/_global-error/page,_N_T_/_global-error" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/__PAGE__", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/_global-error.rsc b/.next/server/app/_global-error.rsc deleted file mode 100644 index 387dfb1..0000000 --- a/.next/server/app/_global-error.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -3:I[37457,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -4:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"OutletBoundary"] -5:"$Sreact.suspense" -8:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"ViewportBoundary"] -a:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"MetadataBoundary"] -c:I[68027,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default",1] -0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -d:[] -7:"$Wd" -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -e:I[27201,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"IconMark"] -6:null -b:[["$","link","0",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","$Le","1",{}]] diff --git a/.next/server/app/_global-error.segments/__PAGE__.segment.rsc b/.next/server/app/_global-error.segments/__PAGE__.segment.rsc deleted file mode 100644 index 3cf8bdf..0000000 --- a/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"OutletBoundary"] -3:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -4:null diff --git a/.next/server/app/_global-error.segments/_full.segment.rsc b/.next/server/app/_global-error.segments/_full.segment.rsc deleted file mode 100644 index 387dfb1..0000000 --- a/.next/server/app/_global-error.segments/_full.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -3:I[37457,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -4:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"OutletBoundary"] -5:"$Sreact.suspense" -8:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"ViewportBoundary"] -a:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"MetadataBoundary"] -c:I[68027,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default",1] -0:{"P":null,"c":["","_global-error"],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","html",null,{"id":"__next_error__","children":[["$","head",null,{"children":[["$","title",null,{"children":"500: This page couldn’t load"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }"}}]]}],["$","body",null,{"children":["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","display":"flex","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"style":{"marginTop":"-32px","maxWidth":"325px","padding":"32px 28px","textAlign":"left"},"children":[["$","svg",null,{"width":"32","height":"32","viewBox":"-0.2 -1.5 32 32","fill":"none","style":{"marginBottom":"24px"},"children":["$","path",null,{"d":"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z","fill":"var(--next-error-title)"}]}],["$","h1",null,{"style":{"fontSize":"24px","fontWeight":500,"letterSpacing":"-0.02em","lineHeight":"32px","margin":"0 0 12px 0","color":"var(--next-error-title)"},"children":"This page couldn’t load"}],["$","p",null,{"style":{"fontSize":"14px","fontWeight":400,"lineHeight":"21px","margin":"0 0 20px 0","color":"var(--next-error-message)"},"children":"A server error occurred. Reload to try again."}],["$","form",null,{"style":{"margin":0},"children":["$","button",null,{"type":"submit","style":{"display":"inline-flex","alignItems":"center","justifyContent":"center","height":"32px","padding":"0 12px","fontSize":"14px","fontWeight":500,"lineHeight":"20px","borderRadius":"6px","cursor":"pointer","color":"var(--next-error-btn-text)","background":"var(--next-error-btn-bg)","border":"var(--next-error-btn-border)"},"children":"Reload"}]}]]}]}]}]]}],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"],["$","$1","h",{"children":[null,["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -d:[] -7:"$Wd" -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -e:I[27201,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"IconMark"] -6:null -b:[["$","link","0",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","$Le","1",{}]] diff --git a/.next/server/app/_global-error.segments/_head.segment.rsc b/.next/server/app/_global-error.segments/_head.segment.rsc deleted file mode 100644 index 3cf1a33..0000000 --- a/.next/server/app/_global-error.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","link","0",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","$L5","1",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_global-error.segments/_index.segment.rsc b/.next/server/app/_global-error.segments/_index.segment.rsc deleted file mode 100644 index 4aebd53..0000000 --- a/.next/server/app/_global-error.segments/_index.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -3:I[37457,["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_global-error.segments/_tree.segment.rsc b/.next/server/app/_global-error.segments/_tree.segment.rsc deleted file mode 100644 index 36aa82a..0000000 --- a/.next/server/app/_global-error.segments/_tree.segment.rsc +++ /dev/null @@ -1 +0,0 @@ -0:{"tree":{"name":"","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_global-error/page.js b/.next/server/app/_global-error/page.js deleted file mode 100644 index f0a4a7d..0000000 --- a/.next/server/app/_global-error/page.js +++ /dev/null @@ -1,10 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/_global-error/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0j0clw_._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_03-z2qq.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js") -R.m(91654) -module.exports=R.m(91654).exports diff --git a/.next/server/app/_global-error/page.js.map b/.next/server/app/_global-error/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/_global-error/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/_global-error/page.js.nft.json b/.next/server/app/_global-error/page.js.nft.json deleted file mode 100644 index 44f330d..0000000 --- a/.next/server/app/_global-error/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0j0clw_._.js","../../chunks/ssr/[root-of-the-server]__1103g-m._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_03-z2qq.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/app-paths-manifest.json b/.next/server/app/_global-error/page/app-paths-manifest.json deleted file mode 100644 index 0b587b9..0000000 --- a/.next/server/app/_global-error/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/_global-error/page": "app/_global-error/page.js" -} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/build-manifest.json b/.next/server/app/_global-error/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/_global-error/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/next-font-manifest.json b/.next/server/app/_global-error/page/next-font-manifest.json deleted file mode 100644 index e0cc400..0000000 --- a/.next/server/app/_global-error/page/next-font-manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "pages": {}, - "app": {}, - "appUsingSizeAdjust": false, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/react-loadable-manifest.json b/.next/server/app/_global-error/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/_global-error/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/_global-error/page/server-reference-manifest.json b/.next/server/app/_global-error/page/server-reference-manifest.json deleted file mode 100644 index 27a92af..0000000 --- a/.next/server/app/_global-error/page/server-reference-manifest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "node": {}, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/_global-error/page_client-reference-manifest.js b/.next/server/app/_global-error/page_client-reference-manifest.js deleted file mode 100644 index d01d0e1..0000000 --- a/.next/server/app/_global-error/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/_global-error/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/01xlw8hd842-c.js","/_next/static/chunks/0d3shmwh5_nmn.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1103g-m._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/node_modules/next/dist/client/components/builtin/global-error":[]},"entryJSFiles":{"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/01xlw8hd842-c.js","static/chunks/0d3shmwh5_nmn.js"]}}; - diff --git a/.next/server/app/_not-found.html b/.next/server/app/_not-found.html deleted file mode 100644 index 3998f55..0000000 --- a/.next/server/app/_not-found.html +++ /dev/null @@ -1,680 +0,0 @@ -404: This page could not be found.Doormile — Delivering Trust. Beyond Boundaries

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/app/_not-found.meta b/.next/server/app/_not-found.meta deleted file mode 100644 index 731903e..0000000 --- a/.next/server/app/_not-found.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "status": 404, - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/_not-found/layout,_N_T_/_not-found/page,_N_T_/_not-found" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/_not-found/__PAGE__", - "/_not-found", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/_not-found.rsc b/.next/server/app/_not-found.rsc deleted file mode 100644 index 70c2890..0000000 --- a/.next/server/app/_not-found.rsc +++ /dev/null @@ -1,26 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -d:"$Sreact.suspense" -10:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -12:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -14:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}],{},null,false,null]},null,false,"$@f"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L10",null,{"children":"$L11"}],["$","div",null,{"hidden":true,"children":["$","$L12",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L13"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$14",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -15:[] -f:"$W15" -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -16:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -e:null -13:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L16","7",{}]] diff --git a/.next/server/app/_not-found.segments/_full.segment.rsc b/.next/server/app/_not-found.segments/_full.segment.rsc deleted file mode 100644 index 70c2890..0000000 --- a/.next/server/app/_not-found.segments/_full.segment.rsc +++ /dev/null @@ -1,26 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -d:"$Sreact.suspense" -10:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -12:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -14:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:2:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}],{},null,false,null]},null,false,"$@f"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L10",null,{"children":"$L11"}],["$","div",null,{"hidden":true,"children":["$","$L12",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L13"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$14",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -15:[] -f:"$W15" -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -16:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -e:null -13:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L16","7",{}]] diff --git a/.next/server/app/_not-found.segments/_head.segment.rsc b/.next/server/app/_not-found.segments/_head.segment.rsc deleted file mode 100644 index 8a5b769..0000000 --- a/.next/server/app/_not-found.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_not-found.segments/_index.segment.rsc b/.next/server/app/_not-found.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/_not-found.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_not-found.segments/_not-found.segment.rsc b/.next/server/app/_not-found.segments/_not-found.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/_not-found.segments/_not-found.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc b/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc deleted file mode 100644 index c3128d8..0000000 --- a/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -3:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -4:null diff --git a/.next/server/app/_not-found.segments/_tree.segment.rsc b/.next/server/app/_not-found.segments/_tree.segment.rsc deleted file mode 100644 index bae10a0..0000000 --- a/.next/server/app/_not-found.segments/_tree.segment.rsc +++ /dev/null @@ -1,4 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/_not-found/page.js b/.next/server/app/_not-found/page.js deleted file mode 100644 index 72512ff..0000000 --- a/.next/server/app/_not-found/page.js +++ /dev/null @@ -1,14 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/_not-found/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0gpipiq._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yjki14.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(73673) -module.exports=R.m(73673).exports diff --git a/.next/server/app/_not-found/page.js.map b/.next/server/app/_not-found/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/_not-found/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/_not-found/page.js.nft.json b/.next/server/app/_not-found/page.js.nft.json deleted file mode 100644 index 184159b..0000000 --- a/.next/server/app/_not-found/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0gpipiq._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yjki14.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/app-paths-manifest.json b/.next/server/app/_not-found/page/app-paths-manifest.json deleted file mode 100644 index 523c2ec..0000000 --- a/.next/server/app/_not-found/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/_not-found/page": "app/_not-found/page.js" -} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/build-manifest.json b/.next/server/app/_not-found/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/_not-found/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/next-font-manifest.json b/.next/server/app/_not-found/page/next-font-manifest.json deleted file mode 100644 index 1e714ce..0000000 --- a/.next/server/app/_not-found/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/_not-found/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/react-loadable-manifest.json b/.next/server/app/_not-found/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/_not-found/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/_not-found/page/server-reference-manifest.json b/.next/server/app/_not-found/page/server-reference-manifest.json deleted file mode 100644 index 8b19750..0000000 --- a/.next/server/app/_not-found/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/_not-found/page": { - "moduleId": 75341, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/_not-found/page_client-reference-manifest.js b/.next/server/app/_not-found/page_client-reference-manifest.js deleted file mode 100644 index 4858de2..0000000 --- a/.next/server/app/_not-found/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/_not-found/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"]}}; - diff --git a/.next/server/app/about-us.html b/.next/server/app/about-us.html deleted file mode 100644 index 0248634..0000000 --- a/.next/server/app/about-us.html +++ /dev/null @@ -1,2050 +0,0 @@ -About Us – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

The Operators Building
Doormile

/ Doormile Approach /


The Doormile Way

Smarter, Faster, Connected Logistics

We connect first mile and last mile into one seamless system, reducing delays and improving efficiency. With real-time tracking and digital workflows,
every delivery is faster, reliable, and fully transparent.

Seamless logistics powered by real-time tracking, digital processes, and reliable delivery execution.

End-to-End Protection

End-to-end visibility ensures every shipment stays secure and on schedule.

Proactive delay prevention

Real-time monitoring helps prevent delays before they impact deliveries.

Single owner, single promise

One unified system manages the entire delivery process seamlessly.

Dynamic AI-driven adjustments

AI-powered routing adapts instantly to improve speed and efficiency.

/ Built for Electric Vehicles /
Logistics Built for EV Vehicles
EV Logistics

Operational Visibility

Real-time tracking and centralized control provide complete visibility across every shipment, vehicle, and delivery milestone.

Intelligent Routing

AI-powered route optimization reduces travel time, improves delivery accuracy, and maximizes fleet utilization.

EV-First Logistics

Purpose-built workflows for electric fleets improve battery efficiency, charging management, and sustainable operations.

Scalable Network

Flexible logistics infrastructure supports growth across cities, regions, and high-volume delivery operations without disruption.

/ DoorMile wins/

WHERE DOORMILE WINS

A side-by-side technical capabilities comparison showing how operational fleet ownership and dynamic AI planning disrupt basic aggregators.

CapabilityDoormileAggregatorsLocal CouriersSoftware Platforms
Owned fleet control✓ YesNoYesNo
Dynamic routing & dispatch✓ AdvancedBasicNoAdvanced
EV-aware planning✓ YesNoNoNo
Documentation & proof trail✓ YesPartialNoYes
Real-time tracking✓ YesYesNoYes
Verified handling✓ YesPartialNoNo
Hyperlocal learning✓ YesNoNoNo
SLA accountability✓ HighLowMediumLow
VISION / 2030

The Intelligence Grid Behind Every Urban Mile

From Hyderabad EV pilot to nationwide AI logistics intelligence by 2030

ROADMAP TO 2030
100% COMPLETE →
2026
Pilot Phase
Pilot

Launch operations in Hyderabad with dedicated EV hubs and MileTruth AI v1.0.

100+ orders/day
1 city
10+ women partners
2027
Multi-City
Scale

Expand to Bengaluru and Chennai, securing key B2B enterprise traction.

500+ orders/day
3 cities
50+ EVs
2028
Platform
Expansion

Scale to 5+ cities. Strengthen regional operations.

5000+ orders/day
5+ cities
100+ women partners
2030
Vision State
AI Pulse Layer

Nationwide AI logistics grid reaching 15+ cities, empowering female micro-entrepreneurs.

50,000+ orders/day
Rs50+ cities
2,000+ women partners
/Team /

Meet crew

Ratan Kumar
Ratan Kumar
COO & Operational Specialist
Aravinth
Aravinth
CFO & Finance Specialist
Fazul Ilahi
Fazul Ilahi
CTO & Technology Specialist
Suriya Kumar
Suriya Kumar
Engineering Head & AI Specialist

Ready to Start
Your Journey?

Join our Women Entrepreneurship program and become part of
India's fastest-growing logistics network.

\ No newline at end of file diff --git a/.next/server/app/about-us.meta b/.next/server/app/about-us.meta deleted file mode 100644 index 3d40f45..0000000 --- a/.next/server/app/about-us.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/about-us/layout,_N_T_/about-us/page,_N_T_/about-us" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/about-us/__PAGE__", - "/about-us", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/about-us.rsc b/.next/server/app/about-us.rsc deleted file mode 100644 index 258b679..0000000 --- a/.next/server/app/about-us.rsc +++ /dev/null @@ -1,173 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/about-bg.webp","image"] -0:{"P":null,"c":["","about-us"],"q":"","i":false,"f":[[["",{"children":["about-us",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"about","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .about-us-hero-content {\n width: 100% !important;\n text-align: center !important;\n color: #fff !important;\n padding: 0 15px !important;\n z-index: 2;\n display: flex !important;\n flex-direction: column !important;\n justify-content: center !important;\n align-items: center !important;\n height: 100% !important;\n }\n\n .about-us-hero-title {\n margin: 0 !important;\n font-family: \"Manrope\", Sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.1 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n color: #ffffff !important;\n text-align: center !important;\n }\n "}}],"$Lc"],"$Ld","$Le","$Lf","$L10","$L11","$L12"]}]}]}]}],["$L13","$L14","$L15"],"$L16"]}],{},null,false,null]},null,false,"$@17"]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1b:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1c:I[61867,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1d:I[47580,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1e:I[2012,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -21:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],""] -22:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -23:"$Sreact.suspense" -26:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -28:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url('/images/about-bg.webp')","--hero-overlay":"linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.92) 60%, rgba(0, 0, 0, 0.98) 100%)"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"about-us-hero-content","children":["$","h3",null,{"className":"about-us-hero-title","children":["The Operators Building ",["$","br",null,{}]," ",["$","span",null,{"style":{"color":"#C01227"},"children":"Doormile"}]]}]}]}]}] -d:["$","$L1b",null,{}] -e:["$","$L1c",null,{}] -f:["$","$L1d",null,{}] -10:["$","$L1e",null,{}] -1f:T102e, - /* Box this section to the same inset width the sibling sections use. - The container's "display: var(--display)" resolves to the invalid - fallback (inline) here, so max-width was being ignored and the section - spanned edge-to-edge (heading clipped at the viewport edge). Force the - flex display back on and pin the inner to the shared 1480px inset. */ - .elementor-86 .elementor-element-c2c601a { - display: flex; - } - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - display: flex; - flex-direction: column; - max-width: 1480px; - width: 100%; - margin-left: auto; - margin-right: auto; - padding-left: clamp(20px, 4vw, 50px) !important; - padding-right: clamp(20px, 4vw, 50px) !important; - box-sizing: border-box; - } - - /* Breathing room above and below the "Meet our the best crew" heading. */ - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 40px; - margin-bottom: 56px; - } - - /* Team photos: grayscale by default, full colour on hover (matches design) */ - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - filter: grayscale(100%); - transition: filter 0.45s ease; - } - .team-listing-wrapper.team-grid-listing .team-item:hover .post-media img { - filter: grayscale(0%); - } - - /* Grid: four columns that wrap, with tightened row/column gaps. */ - .team-listing-wrapper.team-grid-listing { - display: flex; - flex-wrap: wrap; - margin: 0 -16px -40px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 25%; - padding: 0 16px; - margin-bottom: 40px; - box-sizing: border-box; - } - @media (max-width: 1024px) { - .team-listing-wrapper.team-grid-listing .team-item-wrapper { width: 50%; } - } - @media (max-width: 767px) { - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - padding-left: 0 !important; - padding-right: 0 !important; - padding-top: 32px !important; - padding-bottom: 32px !important; - } - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 24px !important; - margin-bottom: 24px !important; - } - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - @media (max-width: 480px) { - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - - /* Card: photo on top, name/position at the bottom (down to image). */ - .team-listing-wrapper.team-grid-listing .team-item { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 16px; - width: 100%; - } - /* Compact portrait photo. Extra .team-item in the selector raises the - specificity so it beats the cached vendor rule (width: 45.65%). */ - .team-listing-wrapper.team-grid-listing .team-item .team-item-media { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media { - height: 0; - padding-top: 120%; - border-radius: 16px; - overflow: hidden; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - position: absolute; - inset: 0; - width: 100%; - height: 100%; - object-fit: cover; - } - .team-listing-wrapper.team-grid-listing .team-item .team-item-content { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-title .team-member-name { - color: inherit; - text-decoration: none; - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1f"}}],"$L20"] -12:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 768px) {\n .we-container {\n margin-top: 40px !important;\n margin-bottom: 40px !important;\n padding: 0 10px !important;\n }\n .we-cta {\n padding: 48px 20px !important;\n border-radius: 22px !important;\n }\n .we-cta-title {\n font-size: clamp(28px, 6vw, 38px) !important;\n line-height: 1.25 !important;\n margin-bottom: 16px !important;\n }\n .we-cta-sub {\n font-size: 15px !important;\n line-height: 1.5 !important;\n margin-bottom: 24px !important;\n }\n }\n "}}],["$","div",null,{"className":"we-container","children":["$","div",null,{"className":"we-cta reveal","children":["$","div",null,{"className":"we-cta-inner","children":[["$","h2",null,{"className":"we-cta-title","children":["Ready to Start",["$","br",null,{}],["$","em",null,{"children":"Your Journey?"}]]}],["$","p",null,{"className":"we-cta-sub","children":["Join our Women Entrepreneurship program and become part of ",["$","br",null,{}],"India's fastest-growing logistics network."]}],["$","div",null,{"className":"we-cta-btns","children":["$","$L21",null,{"href":"/contact","className":"btn-we-primary","style":{"textDecoration":"none"},"children":["Apply Now",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","style":{"marginLeft":"8px","display":"inline-block","verticalAlign":"middle"},"children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]}]]}]}]}]] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -14:["$","script","script-0",{"src":"/_next/static/chunks/0iz6a6sot7a-u.js","async":true,"nonce":"$undefined"}] -15:["$","script","script-1",{"src":"/_next/static/chunks/0nzz4x75f.ixz.js","async":true,"nonce":"$undefined"}] -16:["$","$L22",null,{"children":["$","$23",null,{"name":"Next.MetadataOutlet","children":"$@24"}]}] -25:[] -17:"$W25" -18:["$","$1","h",{"children":[null,["$","$L26",null,{"children":"$L27"}],["$","div",null,{"hidden":true,"children":["$","$L28",null,{"children":["$","$23",null,{"name":"Next.Metadata","children":"$L29"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1a:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -2a:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"Image"] -20:["$","div",null,{"className":"elementor-element elementor-element-c2c601a e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c2c601a","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3306a27 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3306a27","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-7afb238 elementor-widget elementor-widget-logico_heading","data-id":"7afb238","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/Team /"}]}]}],["$","div",null,{"style":{"alignSelf":"flex-start","width":"100%"},"className":"elementor-element elementor-element-c46350e elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"c46350e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","style":{"textAlign":"left"},"children":"Meet crew"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-ac909e5 elementor-widget elementor-widget-logico_team_listing","data-id":"ac909e5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_team_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-team-listing-widget","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"archive-listing-wrapper team-listing-wrapper team-grid-listing columns-4","children":[["$","div","0",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Investor.webp","alt":"Ratan Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Ratan Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"COO & Operational Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","1",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Aravinth.webp","alt":"Aravinth","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Aravinth"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CFO & Finance Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","2",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":"$L2b"}]}],"$L2c"]}]}],"$L2d"]}]}]}]}]}]]}]}]}] -2b:["$","$L2a",null,{"src":"/images/Fazul.webp","alt":"Fazul Ilahi","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}] -2c:["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Fazul Ilahi"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CTO & Technology Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}] -2d:["$","div","3",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Suriya.webp","alt":"Suriya Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Suriya Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"Engineering Head & AI Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}] -27:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -2e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -24:null -29:[["$","title","0",{"children":"About Us – Doormile"}],["$","meta","1",{"name":"description","content":"Meet the best crew and operators behind Doormile. Explore our roadmap, competitive edge, and operational excellence in EV and last-mile logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L2e","7",{}]] diff --git a/.next/server/app/about-us.segments/_full.segment.rsc b/.next/server/app/about-us.segments/_full.segment.rsc deleted file mode 100644 index 258b679..0000000 --- a/.next/server/app/about-us.segments/_full.segment.rsc +++ /dev/null @@ -1,173 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/about-bg.webp","image"] -0:{"P":null,"c":["","about-us"],"q":"","i":false,"f":[[["",{"children":["about-us",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"about","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .about-us-hero-content {\n width: 100% !important;\n text-align: center !important;\n color: #fff !important;\n padding: 0 15px !important;\n z-index: 2;\n display: flex !important;\n flex-direction: column !important;\n justify-content: center !important;\n align-items: center !important;\n height: 100% !important;\n }\n\n .about-us-hero-title {\n margin: 0 !important;\n font-family: \"Manrope\", Sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.1 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n color: #ffffff !important;\n text-align: center !important;\n }\n "}}],"$Lc"],"$Ld","$Le","$Lf","$L10","$L11","$L12"]}]}]}]}],["$L13","$L14","$L15"],"$L16"]}],{},null,false,null]},null,false,"$@17"]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1b:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1c:I[61867,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1d:I[47580,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -1e:I[2012,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -21:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],""] -22:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -23:"$Sreact.suspense" -26:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -28:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url('/images/about-bg.webp')","--hero-overlay":"linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.92) 60%, rgba(0, 0, 0, 0.98) 100%)"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"about-us-hero-content","children":["$","h3",null,{"className":"about-us-hero-title","children":["The Operators Building ",["$","br",null,{}]," ",["$","span",null,{"style":{"color":"#C01227"},"children":"Doormile"}]]}]}]}]}] -d:["$","$L1b",null,{}] -e:["$","$L1c",null,{}] -f:["$","$L1d",null,{}] -10:["$","$L1e",null,{}] -1f:T102e, - /* Box this section to the same inset width the sibling sections use. - The container's "display: var(--display)" resolves to the invalid - fallback (inline) here, so max-width was being ignored and the section - spanned edge-to-edge (heading clipped at the viewport edge). Force the - flex display back on and pin the inner to the shared 1480px inset. */ - .elementor-86 .elementor-element-c2c601a { - display: flex; - } - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - display: flex; - flex-direction: column; - max-width: 1480px; - width: 100%; - margin-left: auto; - margin-right: auto; - padding-left: clamp(20px, 4vw, 50px) !important; - padding-right: clamp(20px, 4vw, 50px) !important; - box-sizing: border-box; - } - - /* Breathing room above and below the "Meet our the best crew" heading. */ - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 40px; - margin-bottom: 56px; - } - - /* Team photos: grayscale by default, full colour on hover (matches design) */ - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - filter: grayscale(100%); - transition: filter 0.45s ease; - } - .team-listing-wrapper.team-grid-listing .team-item:hover .post-media img { - filter: grayscale(0%); - } - - /* Grid: four columns that wrap, with tightened row/column gaps. */ - .team-listing-wrapper.team-grid-listing { - display: flex; - flex-wrap: wrap; - margin: 0 -16px -40px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 25%; - padding: 0 16px; - margin-bottom: 40px; - box-sizing: border-box; - } - @media (max-width: 1024px) { - .team-listing-wrapper.team-grid-listing .team-item-wrapper { width: 50%; } - } - @media (max-width: 767px) { - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - padding-left: 0 !important; - padding-right: 0 !important; - padding-top: 32px !important; - padding-bottom: 32px !important; - } - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 24px !important; - margin-bottom: 24px !important; - } - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - @media (max-width: 480px) { - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - - /* Card: photo on top, name/position at the bottom (down to image). */ - .team-listing-wrapper.team-grid-listing .team-item { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 16px; - width: 100%; - } - /* Compact portrait photo. Extra .team-item in the selector raises the - specificity so it beats the cached vendor rule (width: 45.65%). */ - .team-listing-wrapper.team-grid-listing .team-item .team-item-media { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media { - height: 0; - padding-top: 120%; - border-radius: 16px; - overflow: hidden; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - position: absolute; - inset: 0; - width: 100%; - height: 100%; - object-fit: cover; - } - .team-listing-wrapper.team-grid-listing .team-item .team-item-content { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-title .team-member-name { - color: inherit; - text-decoration: none; - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1f"}}],"$L20"] -12:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 768px) {\n .we-container {\n margin-top: 40px !important;\n margin-bottom: 40px !important;\n padding: 0 10px !important;\n }\n .we-cta {\n padding: 48px 20px !important;\n border-radius: 22px !important;\n }\n .we-cta-title {\n font-size: clamp(28px, 6vw, 38px) !important;\n line-height: 1.25 !important;\n margin-bottom: 16px !important;\n }\n .we-cta-sub {\n font-size: 15px !important;\n line-height: 1.5 !important;\n margin-bottom: 24px !important;\n }\n }\n "}}],["$","div",null,{"className":"we-container","children":["$","div",null,{"className":"we-cta reveal","children":["$","div",null,{"className":"we-cta-inner","children":[["$","h2",null,{"className":"we-cta-title","children":["Ready to Start",["$","br",null,{}],["$","em",null,{"children":"Your Journey?"}]]}],["$","p",null,{"className":"we-cta-sub","children":["Join our Women Entrepreneurship program and become part of ",["$","br",null,{}],"India's fastest-growing logistics network."]}],["$","div",null,{"className":"we-cta-btns","children":["$","$L21",null,{"href":"/contact","className":"btn-we-primary","style":{"textDecoration":"none"},"children":["Apply Now",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","style":{"marginLeft":"8px","display":"inline-block","verticalAlign":"middle"},"children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]}]]}]}]}]] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -14:["$","script","script-0",{"src":"/_next/static/chunks/0iz6a6sot7a-u.js","async":true,"nonce":"$undefined"}] -15:["$","script","script-1",{"src":"/_next/static/chunks/0nzz4x75f.ixz.js","async":true,"nonce":"$undefined"}] -16:["$","$L22",null,{"children":["$","$23",null,{"name":"Next.MetadataOutlet","children":"$@24"}]}] -25:[] -17:"$W25" -18:["$","$1","h",{"children":[null,["$","$L26",null,{"children":"$L27"}],["$","div",null,{"hidden":true,"children":["$","$L28",null,{"children":["$","$23",null,{"name":"Next.Metadata","children":"$L29"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1a:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -2a:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"Image"] -20:["$","div",null,{"className":"elementor-element elementor-element-c2c601a e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c2c601a","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3306a27 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3306a27","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-7afb238 elementor-widget elementor-widget-logico_heading","data-id":"7afb238","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/Team /"}]}]}],["$","div",null,{"style":{"alignSelf":"flex-start","width":"100%"},"className":"elementor-element elementor-element-c46350e elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"c46350e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","style":{"textAlign":"left"},"children":"Meet crew"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-ac909e5 elementor-widget elementor-widget-logico_team_listing","data-id":"ac909e5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_team_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-team-listing-widget","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"archive-listing-wrapper team-listing-wrapper team-grid-listing columns-4","children":[["$","div","0",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Investor.webp","alt":"Ratan Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Ratan Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"COO & Operational Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","1",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Aravinth.webp","alt":"Aravinth","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Aravinth"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CFO & Finance Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","2",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":"$L2b"}]}],"$L2c"]}]}],"$L2d"]}]}]}]}]}]]}]}]}] -2b:["$","$L2a",null,{"src":"/images/Fazul.webp","alt":"Fazul Ilahi","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}] -2c:["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Fazul Ilahi"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CTO & Technology Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}] -2d:["$","div","3",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$L2a",null,{"src":"/images/Suriya.webp","alt":"Suriya Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Suriya Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"Engineering Head & AI Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}] -27:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -2e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -24:null -29:[["$","title","0",{"children":"About Us – Doormile"}],["$","meta","1",{"name":"description","content":"Meet the best crew and operators behind Doormile. Explore our roadmap, competitive edge, and operational excellence in EV and last-mile logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L2e","7",{}]] diff --git a/.next/server/app/about-us.segments/_head.segment.rsc b/.next/server/app/about-us.segments/_head.segment.rsc deleted file mode 100644 index 80ab49f..0000000 --- a/.next/server/app/about-us.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"About Us – Doormile"}],["$","meta","1",{"name":"description","content":"Meet the best crew and operators behind Doormile. Explore our roadmap, competitive edge, and operational excellence in EV and last-mile logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/about-us.segments/_index.segment.rsc b/.next/server/app/about-us.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/about-us.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/about-us.segments/_tree.segment.rsc b/.next/server/app/about-us.segments/_tree.segment.rsc deleted file mode 100644 index 0003199..0000000 --- a/.next/server/app/about-us.segments/_tree.segment.rsc +++ /dev/null @@ -1,11 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/about-bg.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"about-us","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/about-us.segments/about-us.segment.rsc b/.next/server/app/about-us.segments/about-us.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/about-us.segments/about-us.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/about-us.segments/about-us/__PAGE__.segment.rsc b/.next/server/app/about-us.segments/about-us/__PAGE__.segment.rsc deleted file mode 100644 index 5aa1f2e..0000000 --- a/.next/server/app/about-us.segments/about-us/__PAGE__.segment.rsc +++ /dev/null @@ -1,138 +0,0 @@ -1:"$Sreact.fragment" -2:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -3:I[61867,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -4:I[47580,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -5:I[2012,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"default"] -d:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"Image"] -11:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],""] -12:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -13:"$Sreact.suspense" -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -6:T102e, - /* Box this section to the same inset width the sibling sections use. - The container's "display: var(--display)" resolves to the invalid - fallback (inline) here, so max-width was being ignored and the section - spanned edge-to-edge (heading clipped at the viewport edge). Force the - flex display back on and pin the inner to the shared 1480px inset. */ - .elementor-86 .elementor-element-c2c601a { - display: flex; - } - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - display: flex; - flex-direction: column; - max-width: 1480px; - width: 100%; - margin-left: auto; - margin-right: auto; - padding-left: clamp(20px, 4vw, 50px) !important; - padding-right: clamp(20px, 4vw, 50px) !important; - box-sizing: border-box; - } - - /* Breathing room above and below the "Meet our the best crew" heading. */ - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 40px; - margin-bottom: 56px; - } - - /* Team photos: grayscale by default, full colour on hover (matches design) */ - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - filter: grayscale(100%); - transition: filter 0.45s ease; - } - .team-listing-wrapper.team-grid-listing .team-item:hover .post-media img { - filter: grayscale(0%); - } - - /* Grid: four columns that wrap, with tightened row/column gaps. */ - .team-listing-wrapper.team-grid-listing { - display: flex; - flex-wrap: wrap; - margin: 0 -16px -40px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 25%; - padding: 0 16px; - margin-bottom: 40px; - box-sizing: border-box; - } - @media (max-width: 1024px) { - .team-listing-wrapper.team-grid-listing .team-item-wrapper { width: 50%; } - } - @media (max-width: 767px) { - .elementor-86 .elementor-element-c2c601a > .e-con-inner { - padding-left: 0 !important; - padding-right: 0 !important; - padding-top: 32px !important; - padding-bottom: 32px !important; - } - .elementor-86 .elementor-element-c46350e > .elementor-widget-container { - margin-top: 24px !important; - margin-bottom: 24px !important; - } - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - @media (max-width: 480px) { - .team-listing-wrapper.team-grid-listing { - margin: 0 0 -28px; - } - .team-listing-wrapper.team-grid-listing .team-item-wrapper { - width: 100%; - padding: 0; - margin-bottom: 28px; - } - } - - /* Card: photo on top, name/position at the bottom (down to image). */ - .team-listing-wrapper.team-grid-listing .team-item { - display: flex; - flex-direction: column; - align-items: flex-start; - gap: 16px; - width: 100%; - } - /* Compact portrait photo. Extra .team-item in the selector raises the - specificity so it beats the cached vendor rule (width: 45.65%). */ - .team-listing-wrapper.team-grid-listing .team-item .team-item-media { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media { - height: 0; - padding-top: 120%; - border-radius: 16px; - overflow: hidden; - } - .team-listing-wrapper.team-grid-listing .team-item .post-media img { - position: absolute; - inset: 0; - width: 100%; - height: 100%; - object-fit: cover; - } - .team-listing-wrapper.team-grid-listing .team-item .team-item-content { - width: 100%; - margin: 0; - } - .team-listing-wrapper.team-grid-listing .team-item .post-title .team-member-name { - color: inherit; - text-decoration: none; - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"about","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .about-us-hero-content {\n width: 100% !important;\n text-align: center !important;\n color: #fff !important;\n padding: 0 15px !important;\n z-index: 2;\n display: flex !important;\n flex-direction: column !important;\n justify-content: center !important;\n align-items: center !important;\n height: 100% !important;\n }\n\n .about-us-hero-title {\n margin: 0 !important;\n font-family: \"Manrope\", Sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.1 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n color: #ffffff !important;\n text-align: center !important;\n }\n "}}],["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url('/images/about-bg.webp')","--hero-overlay":"linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.92) 60%, rgba(0, 0, 0, 0.98) 100%)"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"about-us-hero-content","children":["$","h3",null,{"className":"about-us-hero-title","children":["The Operators Building ",["$","br",null,{}]," ",["$","span",null,{"style":{"color":"#C01227"},"children":"Doormile"}]]}]}]}]}]],["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{}],["$","$L5",null,{}],[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$6"}}],"$L7"],"$L8"]}]}]}]}],["$L9","$La","$Lb"],"$Lc"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -7:["$","div",null,{"className":"elementor-element elementor-element-c2c601a e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c2c601a","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3306a27 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3306a27","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-7afb238 elementor-widget elementor-widget-logico_heading","data-id":"7afb238","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/Team /"}]}]}],["$","div",null,{"style":{"alignSelf":"flex-start","width":"100%"},"className":"elementor-element elementor-element-c46350e elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"c46350e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","style":{"textAlign":"left"},"children":"Meet crew"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-ac909e5 elementor-widget elementor-widget-logico_team_listing","data-id":"ac909e5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_team_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-team-listing-widget","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"archive-listing-wrapper team-listing-wrapper team-grid-listing columns-4","children":[["$","div","0",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$Ld",null,{"src":"/images/Investor.webp","alt":"Ratan Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Ratan Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"COO & Operational Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","1",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$Ld",null,{"src":"/images/Aravinth.webp","alt":"Aravinth","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Aravinth"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CFO & Finance Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}],["$","div","2",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":"$Le"}]}],"$Lf"]}]}],"$L10"]}]}]}]}]}]]}]}]}] -8:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 768px) {\n .we-container {\n margin-top: 40px !important;\n margin-bottom: 40px !important;\n padding: 0 10px !important;\n }\n .we-cta {\n padding: 48px 20px !important;\n border-radius: 22px !important;\n }\n .we-cta-title {\n font-size: clamp(28px, 6vw, 38px) !important;\n line-height: 1.25 !important;\n margin-bottom: 16px !important;\n }\n .we-cta-sub {\n font-size: 15px !important;\n line-height: 1.5 !important;\n margin-bottom: 24px !important;\n }\n }\n "}}],["$","div",null,{"className":"we-container","children":["$","div",null,{"className":"we-cta reveal","children":["$","div",null,{"className":"we-cta-inner","children":[["$","h2",null,{"className":"we-cta-title","children":["Ready to Start",["$","br",null,{}],["$","em",null,{"children":"Your Journey?"}]]}],["$","p",null,{"className":"we-cta-sub","children":["Join our Women Entrepreneurship program and become part of ",["$","br",null,{}],"India's fastest-growing logistics network."]}],["$","div",null,{"className":"we-cta-btns","children":["$","$L11",null,{"href":"/contact","className":"btn-we-primary","style":{"textDecoration":"none"},"children":["Apply Now",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","style":{"marginLeft":"8px","display":"inline-block","verticalAlign":"middle"},"children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]}]]}]}]}]] -9:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next"}] -a:["$","script","script-0",{"src":"/_next/static/chunks/0iz6a6sot7a-u.js","async":true}] -b:["$","script","script-1",{"src":"/_next/static/chunks/0nzz4x75f.ixz.js","async":true}] -c:["$","$L12",null,{"children":["$","$13",null,{"name":"Next.MetadataOutlet","children":"$@14"}]}] -e:["$","$Ld",null,{"src":"/images/Fazul.webp","alt":"Fazul Ilahi","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}] -f:["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Fazul Ilahi"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"CTO & Technology Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}] -10:["$","div","3",{"className":"team-item-wrapper post-2866 team type-team status-publish has-post-thumbnail hentry","children":["$","div",null,{"className":"team-item","children":[["$","div",null,{"className":"team-item-media","children":["$","div",null,{"className":"post-media","children":["$","$Ld",null,{"src":"/images/Suriya.webp","alt":"Suriya Kumar","width":300,"height":360,"style":{"objectFit":"cover","width":"100%","height":"100%"}}]}]}],["$","div",null,{"className":"team-item-content","children":[["$","div",null,{"className":"post-title","children":["$","span",null,{"className":"team-member-name","children":"Suriya Kumar"}]}],["$","div",null,{"className":"team-item-position","dangerouslySetInnerHTML":{"__html":"Engineering Head & AI Specialist"}}],["$","div",null,{"className":"team-item-socials","children":["$","ul",null,{"className":"team-socials wrapper-socials","children":["$","li",null,{"children":["$","a",null,{"href":"https://www.linkedin.com/","target":"_blank","rel":"noreferrer","className":"fab fa-linkedin-in"}]}]}]}]]}]]}]}] -14:null diff --git a/.next/server/app/about-us/page.js b/.next/server/app/about-us/page.js deleted file mode 100644 index 6327ce1..0000000 --- a/.next/server/app/about-us/page.js +++ /dev/null @@ -1,16 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/about-us/page.js") -R.c("server/chunks/ssr/src_030_reo._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0bmtoj~._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0qo6y.1.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(39996) -module.exports=R.m(39996).exports diff --git a/.next/server/app/about-us/page.js.map b/.next/server/app/about-us/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/about-us/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/about-us/page.js.nft.json b/.next/server/app/about-us/page.js.nft.json deleted file mode 100644 index 2f182a6..0000000 --- a/.next/server/app/about-us/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0bmtoj~._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0qo6y.1.js","../../chunks/ssr/src_030_reo._.js","../../chunks/ssr/src_components_sections_0tf4kw_._.js","../../chunks/ssr/src_components_sections_0vgb-z3._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/about-us/page/app-paths-manifest.json b/.next/server/app/about-us/page/app-paths-manifest.json deleted file mode 100644 index 6b38b87..0000000 --- a/.next/server/app/about-us/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/about-us/page": "app/about-us/page.js" -} \ No newline at end of file diff --git a/.next/server/app/about-us/page/build-manifest.json b/.next/server/app/about-us/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/about-us/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/about-us/page/next-font-manifest.json b/.next/server/app/about-us/page/next-font-manifest.json deleted file mode 100644 index 9ee5686..0000000 --- a/.next/server/app/about-us/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/about-us/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/about-us/page/react-loadable-manifest.json b/.next/server/app/about-us/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/about-us/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/about-us/page/server-reference-manifest.json b/.next/server/app/about-us/page/server-reference-manifest.json deleted file mode 100644 index ef6772d..0000000 --- a/.next/server/app/about-us/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/about-us/page": { - "moduleId": 16945, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/about-us/page_client-reference-manifest.js b/.next/server/app/about-us/page_client-reference-manifest.js deleted file mode 100644 index c108c30..0000000 --- a/.next/server/app/about-us/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/about-us/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/TheDoormileWay.tsx ":{"id":24911,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/TheDoormileWay.tsx":{"id":24911,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/EVLogisticSection.tsx ":{"id":61867,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/EVLogisticSection.tsx":{"id":61867,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/CompetitiveEdge.tsx ":{"id":47580,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/CompetitiveEdge.tsx":{"id":47580,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/IntelligenceGrid.tsx ":{"id":2012,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/src/components/sections/IntelligenceGrid.tsx":{"id":2012,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js ":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0iz6a6sot7a-u.js","/_next/static/chunks/0nzz4x75f.ixz.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"24911":{"*":{"id":67736,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}},"61867":{"*":{"id":50034,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}},"47580":{"*":{"id":6159,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}},"2012":{"*":{"id":99084,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}},"5500":{"*":{"id":67161,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_0vgb-z3._.js","server/chunks/ssr/src_components_sections_0tf4kw_._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"24911":{"*":{"id":16205,"name":"*","chunks":[],"async":false}},"61867":{"*":{"id":85769,"name":"*","chunks":[],"async":false}},"47580":{"*":{"id":72493,"name":"*","chunks":[],"async":false}},"2012":{"*":{"id":6479,"name":"*","chunks":[],"async":false}},"5500":{"*":{"id":43489,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/about-us/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false},{"path":"static/chunks/0v290txaarww5.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/about-us/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/0iz6a6sot7a-u.js","static/chunks/0nzz4x75f.ixz.js"]}}; - diff --git a/.next/server/app/air-freight.html b/.next/server/app/air-freight.html deleted file mode 100644 index a1c1414..0000000 --- a/.next/server/app/air-freight.html +++ /dev/null @@ -1 +0,0 @@ -Doormile — Delivering Trust. Beyond Boundaries \ No newline at end of file diff --git a/.next/server/app/air-freight.meta b/.next/server/app/air-freight.meta deleted file mode 100644 index 192f6f3..0000000 --- a/.next/server/app/air-freight.meta +++ /dev/null @@ -1,17 +0,0 @@ -{ - "status": 308, - "headers": { - "location": "/doormile-wings", - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/air-freight/layout,_N_T_/air-freight/page,_N_T_/air-freight" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/air-freight/__PAGE__", - "/air-freight", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/air-freight.rsc b/.next/server/app/air-freight.rsc deleted file mode 100644 index ab9b884..0000000 --- a/.next/server/app/air-freight.rsc +++ /dev/null @@ -1,32 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","air-freight"],"q":"","i":false,"f":[[["",{"children":["air-freight",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",null,["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -c:E{"digest":"NEXT_REDIRECT;replace;/doormile-wings;308;"} -16:[] -10:"$W16" -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -17:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L17","8",{}]] diff --git a/.next/server/app/air-freight.segments/_full.segment.rsc b/.next/server/app/air-freight.segments/_full.segment.rsc deleted file mode 100644 index ab9b884..0000000 --- a/.next/server/app/air-freight.segments/_full.segment.rsc +++ /dev/null @@ -1,32 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","air-freight"],"q":"","i":false,"f":[[["",{"children":["air-freight",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",null,["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -c:E{"digest":"NEXT_REDIRECT;replace;/doormile-wings;308;"} -16:[] -10:"$W16" -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -17:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L17","8",{}]] diff --git a/.next/server/app/air-freight.segments/_head.segment.rsc b/.next/server/app/air-freight.segments/_head.segment.rsc deleted file mode 100644 index 5e3ad02..0000000 --- a/.next/server/app/air-freight.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile powers last-mile logistics with MileTruth™ AI, providing connected miles, SLA protection, and carrier management."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/air-freight.segments/_index.segment.rsc b/.next/server/app/air-freight.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/air-freight.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/air-freight.segments/_tree.segment.rsc b/.next/server/app/air-freight.segments/_tree.segment.rsc deleted file mode 100644 index 5266520..0000000 --- a/.next/server/app/air-freight.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"air-freight","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/air-freight.segments/air-freight.segment.rsc b/.next/server/app/air-freight.segments/air-freight.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/air-freight.segments/air-freight.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/air-freight.segments/air-freight/__PAGE__.segment.rsc b/.next/server/app/air-freight.segments/air-freight/__PAGE__.segment.rsc deleted file mode 100644 index 3230040..0000000 --- a/.next/server/app/air-freight.segments/air-freight/__PAGE__.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -4:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":["$L2",null,["$","$L3",null,{"children":["$","$4",null,{"name":"Next.MetadataOutlet","children":"$@5"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -5:null -2:E{"digest":"NEXT_REDIRECT;replace;/doormile-wings;308;"} diff --git a/.next/server/app/air-freight/page.js b/.next/server/app/air-freight/page.js deleted file mode 100644 index 4923cf7..0000000 --- a/.next/server/app/air-freight/page.js +++ /dev/null @@ -1,16 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/air-freight/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0vr5sgo._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_05za6s2.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_11dij6w._.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(91827) -module.exports=R.m(91827).exports diff --git a/.next/server/app/air-freight/page.js.map b/.next/server/app/air-freight/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/air-freight/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/air-freight/page.js.nft.json b/.next/server/app/air-freight/page.js.nft.json deleted file mode 100644 index f33ba70..0000000 --- a/.next/server/app/air-freight/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__0vr5sgo._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_11dij6w._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_05za6s2.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/air-freight/page/app-paths-manifest.json b/.next/server/app/air-freight/page/app-paths-manifest.json deleted file mode 100644 index 8f8c580..0000000 --- a/.next/server/app/air-freight/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/air-freight/page": "app/air-freight/page.js" -} \ No newline at end of file diff --git a/.next/server/app/air-freight/page/build-manifest.json b/.next/server/app/air-freight/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/air-freight/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/air-freight/page/next-font-manifest.json b/.next/server/app/air-freight/page/next-font-manifest.json deleted file mode 100644 index d17c792..0000000 --- a/.next/server/app/air-freight/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/air-freight/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/air-freight/page/react-loadable-manifest.json b/.next/server/app/air-freight/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/air-freight/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/air-freight/page/server-reference-manifest.json b/.next/server/app/air-freight/page/server-reference-manifest.json deleted file mode 100644 index 694c0f4..0000000 --- a/.next/server/app/air-freight/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/air-freight/page": { - "moduleId": 67113, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/air-freight/page_client-reference-manifest.js b/.next/server/app/air-freight/page_client-reference-manifest.js deleted file mode 100644 index 60559e1..0000000 --- a/.next/server/app/air-freight/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/air-freight/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"]}}; - diff --git a/.next/server/app/blog.html b/.next/server/app/blog.html deleted file mode 100644 index d9fa6c4..0000000 --- a/.next/server/app/blog.html +++ /dev/null @@ -1,863 +0,0 @@ -Blog – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Delivering Trust.
Beyond Boundaries

\ No newline at end of file diff --git a/.next/server/app/blog.meta b/.next/server/app/blog.meta deleted file mode 100644 index eab8343..0000000 --- a/.next/server/app/blog.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/page,_N_T_/blog" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/__PAGE__", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog.rsc b/.next/server/app/blog.rsc deleted file mode 100644 index bbf44cc..0000000 --- a/.next/server/app/blog.rsc +++ /dev/null @@ -1,207 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -11:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-1.webp","image"] -0:{"P":null,"c":["","blog"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"blogs","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"104","className":"elementor elementor-104","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .blogs-hero-title {\n color: #ffffff !important;\n font-family: var(--font-manrope), sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.08 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n margin: 0 !important;\n }\n .blogs-hero-content {\n position: relative !important;\n width: 100% !important;\n height: 100% !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n flex-direction: column !important;\n max-width: 1000px !important;\n margin: 0 auto !important;\n padding: 0 15px !important;\n box-sizing: border-box !important;\n }\n "}}],"$Lc"],"$Ld"]}]}]}]}],null,"$Le"]}],{},null,false,null]},null,false,"$@f"]},null,false,null],"$L10",false]],"m":"$undefined","G":["$11",["$L12"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -15:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -16:"$Sreact.suspense" -19:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1b:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url(/images/home2-banner-1.webp)","backgroundPosition":"center center","backgroundRepeat":"no-repeat","backgroundSize":"cover"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"blogs-hero-content","children":["$","div",null,{"style":{"textAlign":"center","color":"#fff","zIndex":5},"children":["$","h1",null,{"className":"blogs-hero-title","children":["Delivering Trust.",["$","br",null,{}],["$","span",null,{"style":{"color":"#C01227"},"children":"Beyond Boundaries"}]]}]}]}]}]}] -13:T17ff, - .custom-blog-grid { - display: grid !important; - grid-template-columns: repeat(3, 1fr) !important; - gap: 40px !important; - width: 100% !important; - max-width: 1200px !important; - margin: 0 auto !important; - padding: 40px 20px !important; - } - - @media (max-width: 1024px) { - .custom-blog-grid { - grid-template-columns: repeat(2, 1fr) !important; - } - } - @media (max-width: 768px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - margin-top: var(--space-section) !important; - margin-bottom: 16px !important; - } - .custom-blog-grid { - grid-template-columns: 1fr !important; - gap: 28px !important; - padding: 24px 20px !important; - } - } - - @media (max-width: 767px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - --padding-left: 10px !important; - --padding-right: 10px !important; - padding-left: 10px !important; - padding-right: 10px !important; - } - .elementor-104 .elementor-element.elementor-element-3dec5cf { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - .elementor-104 .elementor-element.elementor-element-aa12479, - .elementor-104 .elementor-element.elementor-element-aa12479 > .elementor-widget-container, - .elementor-104 .archive-listing, - .elementor-104 .custom-blog-grid { - width: 100% !important; - max-width: 100% !important; - } - .elementor-104 .custom-blog-grid { - padding-left: 0 !important; - padding-right: 0 !important; - } - } - - .custom-blog-card { - display: flex !important; - flex-direction: column !important; - justify-content: space-between !important; - height: 100% !important; - background: #ffffff !important; - border: 1px solid rgba(0, 0, 0, 0.08) !important; - border-radius: 28px !important; - padding: 28px !important; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important; - transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease !important; - cursor: pointer !important; - } - - .custom-blog-card:hover { - transform: translateY(-8px) !important; - box-shadow: 0 20px 40px rgba(192, 18, 39, 0.12) !important; - border-color: rgba(192, 18, 39, 0.2) !important; - } - - .custom-blog-title { - font-size: 20px !important; - font-weight: 800 !important; - color: #1e293b !important; - line-height: 1.35 !important; - text-transform: none !important; - letter-spacing: -0.4px !important; - margin: 0 0 12px 0 !important; - display: -webkit-box !important; - -webkit-line-clamp: 2 !important; - -webkit-box-orient: vertical !important; - overflow: hidden !important; - transition: color 0.2s ease !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-card:hover .custom-blog-title { - color: #c01227 !important; - } - - .custom-blog-excerpt { - font-size: 13.5px !important; - font-weight: 500 !important; - color: #64748b !important; - line-height: 1.6 !important; - margin: 0 0 18px 0 !important; - text-transform: none !important; - font-family: var(--font-manrope), sans-serif !important; - } - - /* Bottom block pinned to the card base. Keeps Read More + image at the - same vertical position across cards with different text lengths. */ - .custom-blog-bottom { - display: flex !important; - flex-direction: column !important; - margin-top: auto !important; - } - - .custom-blog-readmore { - display: inline-flex !important; - align-items: center !important; - align-self: flex-start !important; - gap: 6px !important; - font-size: 13px !important; - font-weight: 800 !important; - color: #c01227 !important; - text-transform: uppercase !important; - letter-spacing: 0.5px !important; - margin: 0 0 24px 0 !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-readmore-arrow { - transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important; - } - - .custom-blog-card:hover .custom-blog-readmore-arrow { - transform: translateX(5px) !important; - } - - .custom-blog-img-container { - position: relative !important; - width: 100% !important; - aspect-ratio: 4 / 3 !important; - border-radius: 20px !important; - overflow: hidden !important; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important; - } - - .custom-blog-badge { - position: absolute !important; - top: 14px !important; - left: 14px !important; - z-index: 5 !important; - background: #c01227 !important; - color: #ffffff !important; - font-size: 9px !important; - font-weight: 800 !important; - text-transform: uppercase !important; - letter-spacing: 1.2px !important; - padding: 4px 10px !important; - border-radius: 6px !important; - box-shadow: 0 4px 10px rgba(192, 18, 39, 0.2) !important; - font-family: var(--font-manrope), sans-serif !important; - } - d:["$","div",null,{"className":"elementor-element elementor-element-c70681e e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c70681e","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"]}] -e:["$","$L15",null,{"children":["$","$16",null,{"name":"Next.MetadataOutlet","children":"$@17"}]}] -18:[] -f:"$W18" -10:["$","$1","h",{"children":[null,["$","$L19",null,{"children":"$L1a"}],["$","div",null,{"hidden":true,"children":["$","$L1b",null,{"children":["$","$16",null,{"name":"Next.Metadata","children":"$L1c"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -12:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ScrollReveal"] -1e:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -1f:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"Image"] -14:["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3dec5cf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3dec5cf","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-aa12479 elementor-widget elementor-widget-logico_blog_listing","data-id":"aa12479","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_blog_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"custom-blog-grid","children":[["$","$L1d","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}],["$","$L1d","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Case Study"}]]}]]}]]}]}],["$","$L1d","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"custom-blog-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}]]}],"$L20"]}]}],"$L21","$L22","$L23","$L24","$L25","$L26"]}]}]}]}]}]}] -20:["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"MileTruth"}]]}]]}] -21:["$","$L1d","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -22:["$","$L1d","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}] -23:["$","$L1d","fleet-reduction-without-compromising-delivery-volume",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Fleet Reduction Without Compromising Delivery Volume"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Fleet Management"}]]}]]}]]}]}] -24:["$","$L1d","building-a-greener-city-the-future-of-urban-logistics",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Building a Greener City: The Future of Urban Logistics"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Sustainability"}]]}]]}]]}]}] -25:["$","$L1d","how-doormile-maintains-99-9-sla-compliance-at-scale",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","p",null,{"className":"custom-blog-excerpt","children":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Operations"}]]}]]}]]}]}] -26:["$","$L1d","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -1a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -27:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -17:null -1c:[["$","title","0",{"children":"Blog – Doormile"}],["$","meta","1",{"name":"description","content":"Practical notes on delivery planning, EV fleet operations, route optimisation, charging, and last-mile performance from the Doormile team."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L27","7",{}]] diff --git a/.next/server/app/blog.segments/_full.segment.rsc b/.next/server/app/blog.segments/_full.segment.rsc deleted file mode 100644 index bbf44cc..0000000 --- a/.next/server/app/blog.segments/_full.segment.rsc +++ /dev/null @@ -1,207 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -11:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-1.webp","image"] -0:{"P":null,"c":["","blog"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"blogs","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"104","className":"elementor elementor-104","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .blogs-hero-title {\n color: #ffffff !important;\n font-family: var(--font-manrope), sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.08 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n margin: 0 !important;\n }\n .blogs-hero-content {\n position: relative !important;\n width: 100% !important;\n height: 100% !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n flex-direction: column !important;\n max-width: 1000px !important;\n margin: 0 auto !important;\n padding: 0 15px !important;\n box-sizing: border-box !important;\n }\n "}}],"$Lc"],"$Ld"]}]}]}]}],null,"$Le"]}],{},null,false,null]},null,false,"$@f"]},null,false,null],"$L10",false]],"m":"$undefined","G":["$11",["$L12"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -15:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -16:"$Sreact.suspense" -19:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1b:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url(/images/home2-banner-1.webp)","backgroundPosition":"center center","backgroundRepeat":"no-repeat","backgroundSize":"cover"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"blogs-hero-content","children":["$","div",null,{"style":{"textAlign":"center","color":"#fff","zIndex":5},"children":["$","h1",null,{"className":"blogs-hero-title","children":["Delivering Trust.",["$","br",null,{}],["$","span",null,{"style":{"color":"#C01227"},"children":"Beyond Boundaries"}]]}]}]}]}]}] -13:T17ff, - .custom-blog-grid { - display: grid !important; - grid-template-columns: repeat(3, 1fr) !important; - gap: 40px !important; - width: 100% !important; - max-width: 1200px !important; - margin: 0 auto !important; - padding: 40px 20px !important; - } - - @media (max-width: 1024px) { - .custom-blog-grid { - grid-template-columns: repeat(2, 1fr) !important; - } - } - @media (max-width: 768px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - margin-top: var(--space-section) !important; - margin-bottom: 16px !important; - } - .custom-blog-grid { - grid-template-columns: 1fr !important; - gap: 28px !important; - padding: 24px 20px !important; - } - } - - @media (max-width: 767px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - --padding-left: 10px !important; - --padding-right: 10px !important; - padding-left: 10px !important; - padding-right: 10px !important; - } - .elementor-104 .elementor-element.elementor-element-3dec5cf { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - .elementor-104 .elementor-element.elementor-element-aa12479, - .elementor-104 .elementor-element.elementor-element-aa12479 > .elementor-widget-container, - .elementor-104 .archive-listing, - .elementor-104 .custom-blog-grid { - width: 100% !important; - max-width: 100% !important; - } - .elementor-104 .custom-blog-grid { - padding-left: 0 !important; - padding-right: 0 !important; - } - } - - .custom-blog-card { - display: flex !important; - flex-direction: column !important; - justify-content: space-between !important; - height: 100% !important; - background: #ffffff !important; - border: 1px solid rgba(0, 0, 0, 0.08) !important; - border-radius: 28px !important; - padding: 28px !important; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important; - transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease !important; - cursor: pointer !important; - } - - .custom-blog-card:hover { - transform: translateY(-8px) !important; - box-shadow: 0 20px 40px rgba(192, 18, 39, 0.12) !important; - border-color: rgba(192, 18, 39, 0.2) !important; - } - - .custom-blog-title { - font-size: 20px !important; - font-weight: 800 !important; - color: #1e293b !important; - line-height: 1.35 !important; - text-transform: none !important; - letter-spacing: -0.4px !important; - margin: 0 0 12px 0 !important; - display: -webkit-box !important; - -webkit-line-clamp: 2 !important; - -webkit-box-orient: vertical !important; - overflow: hidden !important; - transition: color 0.2s ease !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-card:hover .custom-blog-title { - color: #c01227 !important; - } - - .custom-blog-excerpt { - font-size: 13.5px !important; - font-weight: 500 !important; - color: #64748b !important; - line-height: 1.6 !important; - margin: 0 0 18px 0 !important; - text-transform: none !important; - font-family: var(--font-manrope), sans-serif !important; - } - - /* Bottom block pinned to the card base. Keeps Read More + image at the - same vertical position across cards with different text lengths. */ - .custom-blog-bottom { - display: flex !important; - flex-direction: column !important; - margin-top: auto !important; - } - - .custom-blog-readmore { - display: inline-flex !important; - align-items: center !important; - align-self: flex-start !important; - gap: 6px !important; - font-size: 13px !important; - font-weight: 800 !important; - color: #c01227 !important; - text-transform: uppercase !important; - letter-spacing: 0.5px !important; - margin: 0 0 24px 0 !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-readmore-arrow { - transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important; - } - - .custom-blog-card:hover .custom-blog-readmore-arrow { - transform: translateX(5px) !important; - } - - .custom-blog-img-container { - position: relative !important; - width: 100% !important; - aspect-ratio: 4 / 3 !important; - border-radius: 20px !important; - overflow: hidden !important; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important; - } - - .custom-blog-badge { - position: absolute !important; - top: 14px !important; - left: 14px !important; - z-index: 5 !important; - background: #c01227 !important; - color: #ffffff !important; - font-size: 9px !important; - font-weight: 800 !important; - text-transform: uppercase !important; - letter-spacing: 1.2px !important; - padding: 4px 10px !important; - border-radius: 6px !important; - box-shadow: 0 4px 10px rgba(192, 18, 39, 0.2) !important; - font-family: var(--font-manrope), sans-serif !important; - } - d:["$","div",null,{"className":"elementor-element elementor-element-c70681e e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c70681e","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"]}] -e:["$","$L15",null,{"children":["$","$16",null,{"name":"Next.MetadataOutlet","children":"$@17"}]}] -18:[] -f:"$W18" -10:["$","$1","h",{"children":[null,["$","$L19",null,{"children":"$L1a"}],["$","div",null,{"hidden":true,"children":["$","$L1b",null,{"children":["$","$16",null,{"name":"Next.Metadata","children":"$L1c"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -12:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ScrollReveal"] -1e:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -1f:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"Image"] -14:["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3dec5cf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3dec5cf","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-aa12479 elementor-widget elementor-widget-logico_blog_listing","data-id":"aa12479","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_blog_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"custom-blog-grid","children":[["$","$L1d","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}],["$","$L1d","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Case Study"}]]}]]}]]}]}],["$","$L1d","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"custom-blog-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}]]}],"$L20"]}]}],"$L21","$L22","$L23","$L24","$L25","$L26"]}]}]}]}]}]}] -20:["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"MileTruth"}]]}]]}] -21:["$","$L1d","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -22:["$","$L1d","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}] -23:["$","$L1d","fleet-reduction-without-compromising-delivery-volume",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Fleet Reduction Without Compromising Delivery Volume"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Fleet Management"}]]}]]}]]}]}] -24:["$","$L1d","building-a-greener-city-the-future-of-urban-logistics",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Building a Greener City: The Future of Urban Logistics"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Sustainability"}]]}]]}]]}]}] -25:["$","$L1d","how-doormile-maintains-99-9-sla-compliance-at-scale",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","p",null,{"className":"custom-blog-excerpt","children":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Operations"}]]}]]}]]}]}] -26:["$","$L1d","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L1e",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L1f",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -1a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -27:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -17:null -1c:[["$","title","0",{"children":"Blog – Doormile"}],["$","meta","1",{"name":"description","content":"Practical notes on delivery planning, EV fleet operations, route optimisation, charging, and last-mile performance from the Doormile team."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L27","7",{}]] diff --git a/.next/server/app/blog.segments/_head.segment.rsc b/.next/server/app/blog.segments/_head.segment.rsc deleted file mode 100644 index 14087b7..0000000 --- a/.next/server/app/blog.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Blog – Doormile"}],["$","meta","1",{"name":"description","content":"Practical notes on delivery planning, EV fleet operations, route optimisation, charging, and last-mile performance from the Doormile team."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog.segments/_index.segment.rsc b/.next/server/app/blog.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog.segments/_tree.segment.rsc b/.next/server/app/blog.segments/_tree.segment.rsc deleted file mode 100644 index b6e93da..0000000 --- a/.next/server/app/blog.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-1.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog.segments/blog.segment.rsc b/.next/server/app/blog.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog.segments/blog/__PAGE__.segment.rsc b/.next/server/app/blog.segments/blog/__PAGE__.segment.rsc deleted file mode 100644 index ac66698..0000000 --- a/.next/server/app/blog.segments/blog/__PAGE__.segment.rsc +++ /dev/null @@ -1,176 +0,0 @@ -1:"$Sreact.fragment" -5:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ScrollReveal"] -6:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -7:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"Image"] -f:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -10:"$Sreact.suspense" -2:T17ff, - .custom-blog-grid { - display: grid !important; - grid-template-columns: repeat(3, 1fr) !important; - gap: 40px !important; - width: 100% !important; - max-width: 1200px !important; - margin: 0 auto !important; - padding: 40px 20px !important; - } - - @media (max-width: 1024px) { - .custom-blog-grid { - grid-template-columns: repeat(2, 1fr) !important; - } - } - @media (max-width: 768px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - margin-top: var(--space-section) !important; - margin-bottom: 16px !important; - } - .custom-blog-grid { - grid-template-columns: 1fr !important; - gap: 28px !important; - padding: 24px 20px !important; - } - } - - @media (max-width: 767px) { - .elementor-104 .elementor-element.elementor-element-c70681e { - --padding-left: 10px !important; - --padding-right: 10px !important; - padding-left: 10px !important; - padding-right: 10px !important; - } - .elementor-104 .elementor-element.elementor-element-3dec5cf { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - .elementor-104 .elementor-element.elementor-element-aa12479, - .elementor-104 .elementor-element.elementor-element-aa12479 > .elementor-widget-container, - .elementor-104 .archive-listing, - .elementor-104 .custom-blog-grid { - width: 100% !important; - max-width: 100% !important; - } - .elementor-104 .custom-blog-grid { - padding-left: 0 !important; - padding-right: 0 !important; - } - } - - .custom-blog-card { - display: flex !important; - flex-direction: column !important; - justify-content: space-between !important; - height: 100% !important; - background: #ffffff !important; - border: 1px solid rgba(0, 0, 0, 0.08) !important; - border-radius: 28px !important; - padding: 28px !important; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important; - transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease !important; - cursor: pointer !important; - } - - .custom-blog-card:hover { - transform: translateY(-8px) !important; - box-shadow: 0 20px 40px rgba(192, 18, 39, 0.12) !important; - border-color: rgba(192, 18, 39, 0.2) !important; - } - - .custom-blog-title { - font-size: 20px !important; - font-weight: 800 !important; - color: #1e293b !important; - line-height: 1.35 !important; - text-transform: none !important; - letter-spacing: -0.4px !important; - margin: 0 0 12px 0 !important; - display: -webkit-box !important; - -webkit-line-clamp: 2 !important; - -webkit-box-orient: vertical !important; - overflow: hidden !important; - transition: color 0.2s ease !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-card:hover .custom-blog-title { - color: #c01227 !important; - } - - .custom-blog-excerpt { - font-size: 13.5px !important; - font-weight: 500 !important; - color: #64748b !important; - line-height: 1.6 !important; - margin: 0 0 18px 0 !important; - text-transform: none !important; - font-family: var(--font-manrope), sans-serif !important; - } - - /* Bottom block pinned to the card base. Keeps Read More + image at the - same vertical position across cards with different text lengths. */ - .custom-blog-bottom { - display: flex !important; - flex-direction: column !important; - margin-top: auto !important; - } - - .custom-blog-readmore { - display: inline-flex !important; - align-items: center !important; - align-self: flex-start !important; - gap: 6px !important; - font-size: 13px !important; - font-weight: 800 !important; - color: #c01227 !important; - text-transform: uppercase !important; - letter-spacing: 0.5px !important; - margin: 0 0 24px 0 !important; - font-family: var(--font-manrope), sans-serif !important; - } - - .custom-blog-readmore-arrow { - transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important; - } - - .custom-blog-card:hover .custom-blog-readmore-arrow { - transform: translateX(5px) !important; - } - - .custom-blog-img-container { - position: relative !important; - width: 100% !important; - aspect-ratio: 4 / 3 !important; - border-radius: 20px !important; - overflow: hidden !important; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important; - } - - .custom-blog-badge { - position: absolute !important; - top: 14px !important; - left: 14px !important; - z-index: 5 !important; - background: #c01227 !important; - color: #ffffff !important; - font-size: 9px !important; - font-weight: 800 !important; - text-transform: uppercase !important; - letter-spacing: 1.2px !important; - padding: 4px 10px !important; - border-radius: 6px !important; - box-shadow: 0 4px 10px rgba(192, 18, 39, 0.2) !important; - font-family: var(--font-manrope), sans-serif !important; - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"blogs","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"104","className":"elementor elementor-104","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n .blogs-hero-title {\n color: #ffffff !important;\n font-family: var(--font-manrope), sans-serif !important;\n font-size: clamp(34px, 5.5vw, 68px) !important;\n font-weight: 850 !important;\n line-height: 1.08 !important;\n text-transform: uppercase !important;\n letter-spacing: -1.5px !important;\n margin: 0 !important;\n }\n .blogs-hero-content {\n position: relative !important;\n width: 100% !important;\n height: 100% !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n flex-direction: column !important;\n max-width: 1000px !important;\n margin: 0 auto !important;\n padding: 0 15px !important;\n box-sizing: border-box !important;\n }\n "}}],["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"style":{"backgroundImage":"url(/images/home2-banner-1.webp)","backgroundPosition":"center center","backgroundRepeat":"no-repeat","backgroundSize":"cover"},"className":"custom-standard-hero-card","children":["$","div",null,{"className":"blogs-hero-content","children":["$","div",null,{"style":{"textAlign":"center","color":"#fff","zIndex":5},"children":["$","h1",null,{"className":"blogs-hero-title","children":["Delivering Trust.",["$","br",null,{}],["$","span",null,{"style":{"color":"#C01227"},"children":"Beyond Boundaries"}]]}]}]}]}]}]],["$","div",null,{"className":"elementor-element elementor-element-c70681e e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"c70681e","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3"]}]]}]}]}]}],null,"$L4"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-3dec5cf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3dec5cf","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-aa12479 elementor-widget elementor-widget-logico_blog_listing","data-id":"aa12479","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_blog_listing.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"archive-listing","children":["$","div",null,{"className":"custom-blog-grid","children":[["$","$L5","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}],["$","$L5","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"custom-blog-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Case Study"}]]}]]}]]}]}],["$","$L5","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"custom-blog-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}]]}],"$L8"]}]}],"$L9","$La","$Lb","$Lc","$Ld","$Le"]}]}]}]}]}]}] -4:["$","$Lf",null,{"children":["$","$10",null,{"name":"Next.MetadataOutlet","children":"$@11"}]}] -8:["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"MileTruth"}]]}]]}] -9:["$","$L5","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -a:["$","$L5","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Technology"}]]}]]}]]}]}] -b:["$","$L5","fleet-reduction-without-compromising-delivery-volume",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Fleet Reduction Without Compromising Delivery Volume"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Fleet Management"}]]}]]}]]}]}] -c:["$","$L5","building-a-greener-city-the-future-of-urban-logistics",{"delay":0,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Building a Greener City: The Future of Urban Logistics"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Sustainability"}]]}]]}]]}]}] -d:["$","$L5","how-doormile-maintains-99-9-sla-compliance-at-scale",{"delay":0.08,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","p",null,{"className":"custom-blog-excerpt","children":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"Operations"}]]}]]}]]}]}] -e:["$","$L5","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0.16,"duration":0.8,"yOffset":35,"children":["$","$L6",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"custom-blog-card","style":{"textDecoration":"none"},"children":[["$","div",null,{"className":"flex flex-col","children":[["$","h3",null,{"className":"custom-blog-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"custom-blog-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}]]}],["$","div",null,{"className":"custom-blog-bottom","children":[["$","span",null,{"className":"custom-blog-readmore","children":["Read More",["$","svg",null,{"className":"custom-blog-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","div",null,{"className":"custom-blog-img-container","children":[["$","$L7",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, 33vw"}],["$","span",null,{"className":"custom-blog-badge","children":"EV Fleet"}]]}]]}]]}]}] -11:null diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.html b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.html deleted file mode 100644 index 5a01d4e..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.html +++ /dev/null @@ -1,1168 +0,0 @@ -42% Less Distance: Insights from Our Hyderabad Hub – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Case Study

42% Less Distance: Insights from Our Hyderabad Hub

Doormile Team2 min read

Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled.

Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day.

The baseline

Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed.

That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment.

  • Zone-based allocation that missed nearby cross-zone drops
  • Manual stop sequencing during busy dispatch windows
  • ETAs checked after routing instead of before dispatch
  • Traffic and delay handling that depended on phone calls from riders

What changed

The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together.

During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance.

Hyderabad delivery hub routing analysis
Planning the day's deliveries together removed repeated cross-town travel.

The results

  • 42% reduction in total distance travelled across the hub
  • 37% fewer vehicles required for the same delivery volume
  • No SLA misses during the measured deployment window
  • Lower fuel use and fewer unnecessary kilometres per parcel

The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left.

Hyderabad Hub Operations

Why this applies beyond one hub

The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes.

A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy.

\ No newline at end of file diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.meta b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.meta deleted file mode 100644 index 486c73c..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/42-less-distance-insights-from-our-hyderabad-hub" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.rsc deleted file mode 100644 index 2b214ff..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.rsc +++ /dev/null @@ -1,547 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","42-less-distance-insights-from-our-hyderabad-hub"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","42-less-distance-insights-from-our-hyderabad-hub","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-15.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"description\":\"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning.\",\"image\":[\"https://doormile.com/images/blog-post-pic-15.webp\"],\"datePublished\":\"2025-09-18T00:00:00.000Z\",\"dateModified\":\"2025-09-18T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"},\"articleSection\":\"Case Study\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"item\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-15.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-15.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Case Study"}],["$","h1",null,{"className":"dm-banner-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-18","children":"Sep 18, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The baseline"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment."}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Zone-based allocation that missed nearby cross-zone drops"}],["$","li","1",{"children":"Manual stop sequencing during busy dispatch windows"}],["$","li","2",{"children":"ETAs checked after routing instead of before dispatch"}],["$","li","3",{"children":"Traffic and delay handling that depended on phone calls from riders"}]]}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"What changed"}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22","$L23","$L24"]}]]}],"$L25"]}]]}] -26:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$26"}}],"$L27"]}] -28:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -29:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance."}]}] -1e:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L28",null,{"src":"/images/last-mile-approach.webp","alt":"Hyderabad delivery hub routing analysis","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"Planning the day's deliveries together removed repeated cross-town travel."}]]}]}] -1f:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The results"}]}] -20:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"42% reduction in total distance travelled across the hub"}],["$","li","1",{"children":"37% fewer vehicles required for the same delivery volume"}],["$","li","2",{"children":"No SLA misses during the measured deployment window"}],["$","li","3",{"children":"Lower fuel use and fewer unnecessary kilometres per parcel"}]]}]}] -21:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left."}],["$","cite",null,{"children":"Hyderabad Hub Operations"}]]}]}] -22:["$","$L1c","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why this applies beyond one hub"}]}] -23:["$","$L1c","13",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes."}]}] -24:["$","$L1c","14",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy."}]}] -25:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L29",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L2a"]}]}],"$L2b","$L2c","$L2d"]}]]}],"$L2e"]}]}] -27:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]]}],["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],"$L2f","$L30"]}]]}]}],"$L31"]}]]}],"$L32"]}] -2a:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2b:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2d:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2e:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2f:["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}] -30:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -31:["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -32:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -33:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"42% Less Distance: Insights from Our Hyderabad Hub – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Case Study,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","6",{"property":"og:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","7",{"property":"og:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","meta","11",{"property":"og:image:alt","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-18T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L33","23",{}]] diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_full.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_full.segment.rsc deleted file mode 100644 index 2b214ff..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_full.segment.rsc +++ /dev/null @@ -1,547 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","42-less-distance-insights-from-our-hyderabad-hub"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","42-less-distance-insights-from-our-hyderabad-hub","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-15.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"description\":\"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning.\",\"image\":[\"https://doormile.com/images/blog-post-pic-15.webp\"],\"datePublished\":\"2025-09-18T00:00:00.000Z\",\"dateModified\":\"2025-09-18T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"},\"articleSection\":\"Case Study\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"item\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-15.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-15.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Case Study"}],["$","h1",null,{"className":"dm-banner-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-18","children":"Sep 18, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The baseline"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment."}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Zone-based allocation that missed nearby cross-zone drops"}],["$","li","1",{"children":"Manual stop sequencing during busy dispatch windows"}],["$","li","2",{"children":"ETAs checked after routing instead of before dispatch"}],["$","li","3",{"children":"Traffic and delay handling that depended on phone calls from riders"}]]}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"What changed"}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22","$L23","$L24"]}]]}],"$L25"]}]]}] -26:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$26"}}],"$L27"]}] -28:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -29:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance."}]}] -1e:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L28",null,{"src":"/images/last-mile-approach.webp","alt":"Hyderabad delivery hub routing analysis","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"Planning the day's deliveries together removed repeated cross-town travel."}]]}]}] -1f:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The results"}]}] -20:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"42% reduction in total distance travelled across the hub"}],["$","li","1",{"children":"37% fewer vehicles required for the same delivery volume"}],["$","li","2",{"children":"No SLA misses during the measured deployment window"}],["$","li","3",{"children":"Lower fuel use and fewer unnecessary kilometres per parcel"}]]}]}] -21:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left."}],["$","cite",null,{"children":"Hyderabad Hub Operations"}]]}]}] -22:["$","$L1c","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why this applies beyond one hub"}]}] -23:["$","$L1c","13",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes."}]}] -24:["$","$L1c","14",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy."}]}] -25:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L29",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L2a"]}]}],"$L2b","$L2c","$L2d"]}]]}],"$L2e"]}]}] -27:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]]}],["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],"$L2f","$L30"]}]]}]}],"$L31"]}]]}],"$L32"]}] -2a:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2b:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2d:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2e:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2f:["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}] -30:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -31:["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L28",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -32:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -33:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"42% Less Distance: Insights from Our Hyderabad Hub – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Case Study,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","6",{"property":"og:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","7",{"property":"og:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","meta","11",{"property":"og:image:alt","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-18T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L33","23",{}]] diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_head.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_head.segment.rsc deleted file mode 100644 index ae91102..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"42% Less Distance: Insights from Our Hyderabad Hub – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Case Study,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","6",{"property":"og:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","7",{"property":"og:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","meta","11",{"property":"og:image:alt","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-18T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-15.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_index.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_tree.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_tree.segment.rsc deleted file mode 100644 index 0f890b1..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-15.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"42-less-distance-insights-from-our-hyderabad-hub","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index ae73d0c..0000000 --- a/.next/server/app/blog/42-less-distance-insights-from-our-hyderabad-hub.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,522 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -15:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -16:"$Sreact.suspense" -18:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -19:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-15.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"description\":\"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning.\",\"image\":[\"https://doormile.com/images/blog-post-pic-15.webp\"],\"datePublished\":\"2025-09-18T00:00:00.000Z\",\"dateModified\":\"2025-09-18T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"},\"articleSection\":\"Case Study\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"42% Less Distance: Insights from Our Hyderabad Hub\",\"item\":\"https://doormile.com/blog/42-less-distance-insights-from-our-hyderabad-hub\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-15.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-15.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Case Study"}],["$","h1",null,{"className":"dm-banner-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-18","children":"Sep 18, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The baseline"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment."}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Zone-based allocation that missed nearby cross-zone drops"}],["$","li","1",{"children":"Manual stop sequencing during busy dispatch windows"}],["$","li","2",{"children":"ETAs checked after routing instead of before dispatch"}],["$","li","3",{"children":"Traffic and delay handling that depended on phone calls from riders"}]]}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"What changed"}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together."}]}],"$La","$Lb","$Lc","$Ld","$Le","$Lf","$L10","$L11"]}]]}],"$L12"]}]]}] -13:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L15",null,{"children":["$","$16",null,{"name":"Next.MetadataOutlet","children":"$@17"}]}] -a:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance."}]}] -b:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L18",null,{"src":"/images/last-mile-approach.webp","alt":"Hyderabad delivery hub routing analysis","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"Planning the day's deliveries together removed repeated cross-town travel."}]]}]}] -c:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The results"}]}] -d:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"42% reduction in total distance travelled across the hub"}],["$","li","1",{"children":"37% fewer vehicles required for the same delivery volume"}],["$","li","2",{"children":"No SLA misses during the measured deployment window"}],["$","li","3",{"children":"Lower fuel use and fewer unnecessary kilometres per parcel"}]]}]}] -e:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left."}],["$","cite",null,{"children":"Hyderabad Hub Operations"}]]}]}] -f:["$","$L9","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why this applies beyond one hub"}]}] -10:["$","$L9","13",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes."}]}] -11:["$","$L9","14",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy."}]}] -12:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L19",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L18",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L18",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L18",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L18",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L1a"]}]}],"$L1b","$L1c","$L1d"]}]]}],"$L1e"]}]}] -14:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L18",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]]}],["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L18",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L18",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L18",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],"$L1f","$L20"]}]]}]}],"$L21"]}]]}],"$L22"]}] -17:null -1a:["$","span",null,{"className":"dm-blog-category-count","children":1}] -1b:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1c:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1d:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1e:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1f:["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}] -20:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -21:["$","$L9","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L18",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -22:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/[slug]/page.js b/.next/server/app/blog/[slug]/page.js deleted file mode 100644 index 99642ce..0000000 --- a/.next/server/app/blog/[slug]/page.js +++ /dev/null @@ -1,18 +0,0 @@ -var R=require("../../../chunks/ssr/[turbopack]_runtime.js")("server/app/blog/[slug]/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ujg1rs._.js") -R.c("server/chunks/ssr/src_0nu2mva._.js") -R.c("server/chunks/ssr/_0sw0r2k._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_11dij6w._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a~j._2.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(47413) -module.exports=R.m(47413).exports diff --git a/.next/server/app/blog/[slug]/page.js.map b/.next/server/app/blog/[slug]/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/blog/[slug]/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page.js.nft.json b/.next/server/app/blog/[slug]/page.js.nft.json deleted file mode 100644 index 007bf17..0000000 --- a/.next/server/app/blog/[slug]/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../node_modules/next/dist/client/lib/console.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../node_modules/next/dist/server/node-environment.js","../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../node_modules/next/dist/server/require-hook.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../node_modules/react/cjs/react.development.js","../../../../../node_modules/react/cjs/react.production.js","../../../../../node_modules/react/index.js","../../../../../node_modules/react/package.json","../../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../../chunks/ssr/[root-of-the-server]__0ujg1rs._.js","../../../chunks/ssr/[turbopack]_runtime.js","../../../chunks/ssr/_0p0sfo8._.js","../../../chunks/ssr/_0sw0r2k._.js","../../../chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js","../../../chunks/ssr/node_modules_0oplp32._.js","../../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../../chunks/ssr/node_modules_next_dist_11dij6w._.js","../../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a~j._2.js","../../../chunks/ssr/src_0nu2mva._.js","../../../chunks/ssr/src_components_blog_BlogSearch_tsx_0yt9s_9._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page/app-paths-manifest.json b/.next/server/app/blog/[slug]/page/app-paths-manifest.json deleted file mode 100644 index 4a1de84..0000000 --- a/.next/server/app/blog/[slug]/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/blog/[slug]/page": "app/blog/[slug]/page.js" -} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page/build-manifest.json b/.next/server/app/blog/[slug]/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/blog/[slug]/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page/next-font-manifest.json b/.next/server/app/blog/[slug]/page/next-font-manifest.json deleted file mode 100644 index aa182e4..0000000 --- a/.next/server/app/blog/[slug]/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/blog/[slug]/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page/react-loadable-manifest.json b/.next/server/app/blog/[slug]/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/blog/[slug]/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page/server-reference-manifest.json b/.next/server/app/blog/[slug]/page/server-reference-manifest.json deleted file mode 100644 index 2d39dbd..0000000 --- a/.next/server/app/blog/[slug]/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/blog/[slug]/page": { - "moduleId": 68232, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/blog/[slug]/page_client-reference-manifest.js b/.next/server/app/blog/[slug]/page_client-reference-manifest.js deleted file mode 100644 index 4f80cd4..0000000 --- a/.next/server/app/blog/[slug]/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/blog/[slug]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js ":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/src/animations/Reveal.tsx ":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/src/animations/Reveal.tsx":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/src/components/blog/BlogSearch.tsx ":{"id":23096,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false},"[project]/src/components/blog/BlogSearch.tsx":{"id":23096,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_blog_BlogSearch_tsx_0yt9s_9._.js"],"async":false}},"5500":{"*":{"id":67161,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_blog_BlogSearch_tsx_0yt9s_9._.js"],"async":false}},"2018":{"*":{"id":36002,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_blog_BlogSearch_tsx_0yt9s_9._.js"],"async":false}},"23096":{"*":{"id":89104,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_blog_BlogSearch_tsx_0yt9s_9._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}},"5500":{"*":{"id":43489,"name":"*","chunks":[],"async":false}},"2018":{"*":{"id":9386,"name":"*","chunks":[],"async":false}},"23096":{"*":{"id":84047,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/blog/[slug]/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/blog/[slug]/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/16tb205t0~jhb.js"]}}; - diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.html b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.html deleted file mode 100644 index c37bcdb..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.html +++ /dev/null @@ -1,1168 +0,0 @@ -Battery Simulation: The Secret to EV Route Pre-Validation – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

EV Fleet

Battery Simulation: The Secret to EV Route Pre-Validation

Doormile Team2 min read

A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Battery Simulation: The Secret to EV Route Pre-Validation looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

Battery Simulation: The Secret to EV Route Pre-Validation
EV Fleet: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.meta b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.meta deleted file mode 100644 index 56430fc..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/battery-simulation-the-secret-to-ev-route-pre-validation" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.rsc deleted file mode 100644 index e5da7e0..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.rsc +++ /dev/null @@ -1,544 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","battery-simulation-the-secret-to-ev-route-pre-validation"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","battery-simulation-the-secret-to-ev-route-pre-validation","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-3.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"description\":\"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan.\",\"image\":[\"https://doormile.com/images/blog-post-pic-3.webp\"],\"datePublished\":\"2025-06-12T00:00:00.000Z\",\"dateModified\":\"2025-06-12T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"item\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-3.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-3.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-12","children":"Jun 12, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Battery Simulation: The Secret to EV Route Pre-Validation looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]]}],["$","span",null,{"className":"dm-prevnext-placeholder"}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":["$L2d","$L2e"]}]}]]}]]}],"$L2f"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}] -2e:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2f:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -30:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Battery Simulation: The Secret to EV Route Pre-Validation – Doormile"}],["$","meta","1",{"name":"description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","6",{"property":"og:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","7",{"property":"og:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-12T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","17",{"name":"twitter:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L30","23",{}]] diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_full.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_full.segment.rsc deleted file mode 100644 index e5da7e0..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_full.segment.rsc +++ /dev/null @@ -1,544 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","battery-simulation-the-secret-to-ev-route-pre-validation"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","battery-simulation-the-secret-to-ev-route-pre-validation","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-3.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"description\":\"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan.\",\"image\":[\"https://doormile.com/images/blog-post-pic-3.webp\"],\"datePublished\":\"2025-06-12T00:00:00.000Z\",\"dateModified\":\"2025-06-12T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"item\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-3.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-3.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-12","children":"Jun 12, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Battery Simulation: The Secret to EV Route Pre-Validation looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]]}],["$","span",null,{"className":"dm-prevnext-placeholder"}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":["$L2d","$L2e"]}]}]]}]]}],"$L2f"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}] -2e:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2f:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -30:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Battery Simulation: The Secret to EV Route Pre-Validation – Doormile"}],["$","meta","1",{"name":"description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","6",{"property":"og:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","7",{"property":"og:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-12T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","17",{"name":"twitter:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L30","23",{}]] diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_head.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_head.segment.rsc deleted file mode 100644 index 59ad03a..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Battery Simulation: The Secret to EV Route Pre-Validation – Doormile"}],["$","meta","1",{"name":"description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","6",{"property":"og:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","7",{"property":"og:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-12T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","meta","17",{"name":"twitter:description","content":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-3.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_index.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_tree.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_tree.segment.rsc deleted file mode 100644 index 350fdb3..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-3.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"battery-simulation-the-secret-to-ev-route-pre-validation","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index e6344a8..0000000 --- a/.next/server/app/blog/battery-simulation-the-secret-to-ev-route-pre-validation.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,519 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-3.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"description\":\"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan.\",\"image\":[\"https://doormile.com/images/blog-post-pic-3.webp\"],\"datePublished\":\"2025-06-12T00:00:00.000Z\",\"dateModified\":\"2025-06-12T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Battery Simulation: The Secret to EV Route Pre-Validation\",\"item\":\"https://doormile.com/blog/battery-simulation-the-secret-to-ev-route-pre-validation\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-3.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-3.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-12","children":"Jun 12, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Battery Simulation: The Secret to EV Route Pre-Validation looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$La","$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L17",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -b:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]]}],["$","span",null,{"className":"dm-prevnext-placeholder"}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":["$L1d","$L1e"]}]}]]}]]}],"$L1f"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}] -1e:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1f:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.html b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.html deleted file mode 100644 index f7c656d..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.html +++ /dev/null @@ -1,1168 +0,0 @@ -Building a Greener City: The Future of Urban Logistics – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Sustainability

Building a Greener City: The Future of Urban Logistics

Doormile Team2 min read

Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Building a Greener City: The Future of Urban Logistics looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

Building a Greener City: The Future of Urban Logistics
Sustainability: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.meta b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.meta deleted file mode 100644 index 8271596..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/building-a-greener-city-the-future-of-urban-logistics" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.rsc deleted file mode 100644 index 48c359a..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","building-a-greener-city-the-future-of-urban-logistics"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","building-a-greener-city-the-future-of-urban-logistics","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-6.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Building a Greener City: The Future of Urban Logistics\",\"description\":\"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge.\",\"image\":[\"https://doormile.com/images/blog-post-pic-6.webp\"],\"datePublished\":\"2025-07-10T00:00:00.000Z\",\"dateModified\":\"2025-07-10T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"},\"articleSection\":\"Sustainability\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Building a Greener City: The Future of Urban Logistics\",\"item\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-6.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-6.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Sustainability"}],["$","h1",null,{"className":"dm-banner-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-10","children":"Jul 10, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Building a Greener City: The Future of Urban Logistics looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"Sustainability: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]]}],["$","$L1b",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Building a Greener City: The Future of Urban Logistics – Doormile"}],["$","meta","1",{"name":"description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Sustainability,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","6",{"property":"og:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","7",{"property":"og:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-10T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","17",{"name":"twitter:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_full.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_full.segment.rsc deleted file mode 100644 index 48c359a..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_full.segment.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","building-a-greener-city-the-future-of-urban-logistics"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","building-a-greener-city-the-future-of-urban-logistics","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-6.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Building a Greener City: The Future of Urban Logistics\",\"description\":\"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge.\",\"image\":[\"https://doormile.com/images/blog-post-pic-6.webp\"],\"datePublished\":\"2025-07-10T00:00:00.000Z\",\"dateModified\":\"2025-07-10T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"},\"articleSection\":\"Sustainability\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Building a Greener City: The Future of Urban Logistics\",\"item\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-6.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-6.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Sustainability"}],["$","h1",null,{"className":"dm-banner-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-10","children":"Jul 10, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Building a Greener City: The Future of Urban Logistics looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"Sustainability: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]]}],["$","$L1b",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Building a Greener City: The Future of Urban Logistics – Doormile"}],["$","meta","1",{"name":"description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Sustainability,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","6",{"property":"og:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","7",{"property":"og:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-10T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","17",{"name":"twitter:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_head.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_head.segment.rsc deleted file mode 100644 index d3e733b..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Building a Greener City: The Future of Urban Logistics – Doormile"}],["$","meta","1",{"name":"description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Sustainability,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","6",{"property":"og:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","7",{"property":"og:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-10T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Building a Greener City: The Future of Urban Logistics"}],["$","meta","17",{"name":"twitter:description","content":"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-6.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_index.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_tree.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_tree.segment.rsc deleted file mode 100644 index 943ea58..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-6.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"building-a-greener-city-the-future-of-urban-logistics","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 7bd2a65..0000000 --- a/.next/server/app/blog/building-a-greener-city-the-future-of-urban-logistics.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,520 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-6.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Building a Greener City: The Future of Urban Logistics\",\"description\":\"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge.\",\"image\":[\"https://doormile.com/images/blog-post-pic-6.webp\"],\"datePublished\":\"2025-07-10T00:00:00.000Z\",\"dateModified\":\"2025-07-10T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"},\"articleSection\":\"Sustainability\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Building a Greener City: The Future of Urban Logistics\",\"item\":\"https://doormile.com/blog/building-a-greener-city-the-future-of-urban-logistics\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-6.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-6.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Sustainability"}],["$","h1",null,{"className":"dm-banner-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Building a Greener City: The Future of Urban Logistics"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-10","children":"Jul 10, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Building a Greener City: The Future of Urban Logistics looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$La","$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L17",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -b:["$","figcaption",null,{"children":"Sustainability: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]]}],["$","$L8",null,{"href":"/blog/how-doormile-maintains-99-9-sla-compliance-at-scale","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Operations"}],["$","span",null,{"className":"dm-prevnext-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L1d","$L1e"]}]]}]}],"$L1f"]}]]}],"$L20"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -1e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -1f:["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -20:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.html b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.html deleted file mode 100644 index 71fe0c4..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.html +++ /dev/null @@ -1,1168 +0,0 @@ -Fleet Reduction Without Compromising Delivery Volume – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Fleet Management

Fleet Reduction Without Compromising Delivery Volume

Doormile Team2 min read

Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Fleet Reduction Without Compromising Delivery Volume looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

Fleet Reduction Without Compromising Delivery Volume
Fleet Management: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.meta b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.meta deleted file mode 100644 index 9897afa..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/fleet-reduction-without-compromising-delivery-volume" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.rsc deleted file mode 100644 index 9794d14..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","fleet-reduction-without-compromising-delivery-volume"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","fleet-reduction-without-compromising-delivery-volume","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-8.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Fleet Reduction Without Compromising Delivery Volume\",\"description\":\"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes.\",\"image\":[\"https://doormile.com/images/blog-post-pic-8.webp\"],\"datePublished\":\"2025-07-24T00:00:00.000Z\",\"dateModified\":\"2025-07-24T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"},\"articleSection\":\"Fleet Management\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fleet Reduction Without Compromising Delivery Volume\",\"item\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-8.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-8.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Fleet Management"}],["$","h1",null,{"className":"dm-banner-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-24","children":"Jul 24, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Fleet Reduction Without Compromising Delivery Volume looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"Fleet Management: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]]}],["$","$L1b",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L2d","$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Fleet Reduction Without Compromising Delivery Volume – Doormile"}],["$","meta","1",{"name":"description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Fleet Management,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","6",{"property":"og:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","7",{"property":"og:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-24T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","17",{"name":"twitter:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_full.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_full.segment.rsc deleted file mode 100644 index 9794d14..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_full.segment.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","fleet-reduction-without-compromising-delivery-volume"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","fleet-reduction-without-compromising-delivery-volume","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-8.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Fleet Reduction Without Compromising Delivery Volume\",\"description\":\"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes.\",\"image\":[\"https://doormile.com/images/blog-post-pic-8.webp\"],\"datePublished\":\"2025-07-24T00:00:00.000Z\",\"dateModified\":\"2025-07-24T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"},\"articleSection\":\"Fleet Management\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fleet Reduction Without Compromising Delivery Volume\",\"item\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-8.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-8.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Fleet Management"}],["$","h1",null,{"className":"dm-banner-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-24","children":"Jul 24, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Fleet Reduction Without Compromising Delivery Volume looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"Fleet Management: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]]}],["$","$L1b",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L2d","$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Fleet Reduction Without Compromising Delivery Volume – Doormile"}],["$","meta","1",{"name":"description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Fleet Management,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","6",{"property":"og:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","7",{"property":"og:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-24T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","17",{"name":"twitter:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_head.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_head.segment.rsc deleted file mode 100644 index 1a72605..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Fleet Reduction Without Compromising Delivery Volume – Doormile"}],["$","meta","1",{"name":"description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Fleet Management,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","6",{"property":"og:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","7",{"property":"og:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-07-24T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Fleet Reduction Without Compromising Delivery Volume"}],["$","meta","17",{"name":"twitter:description","content":"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-8.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_index.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_tree.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_tree.segment.rsc deleted file mode 100644 index c48fb75..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-8.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"fleet-reduction-without-compromising-delivery-volume","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 6ba8d13..0000000 --- a/.next/server/app/blog/fleet-reduction-without-compromising-delivery-volume.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,521 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-8.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Fleet Reduction Without Compromising Delivery Volume\",\"description\":\"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes.\",\"image\":[\"https://doormile.com/images/blog-post-pic-8.webp\"],\"datePublished\":\"2025-07-24T00:00:00.000Z\",\"dateModified\":\"2025-07-24T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"},\"articleSection\":\"Fleet Management\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fleet Reduction Without Compromising Delivery Volume\",\"item\":\"https://doormile.com/blog/fleet-reduction-without-compromising-delivery-volume\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-8.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-8.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Fleet Management"}],["$","h1",null,{"className":"dm-banner-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-07-24","children":"Jul 24, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Fleet Reduction Without Compromising Delivery Volume looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$La","$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L17",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -b:["$","figcaption",null,{"children":"Fleet Management: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]]}],["$","$L8",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L1d","$L1e","$L1f"]}]]}]}],"$L20"]}]]}],"$L21"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -1e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -1f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -20:["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -21:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.html b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.html deleted file mode 100644 index 11fca76..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.html +++ /dev/null @@ -1,1168 +0,0 @@ -How Better Planning Improves Last-Mile EV Delivery – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Technology

How Better Planning Improves Last-Mile EV Delivery

Doormile Team2 min read

The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan.

For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs.

The shift from fixed rules to daily planning

A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual.

  • Order volumes by area, time slot, and customer type
  • Travel times based on the city's actual traffic patterns
  • Battery use by vehicle type, rider load, and route length
  • Feedback from completed deliveries, failed attempts, and late arrivals

Adjusting during the day

The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand.

During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance.

Electric delivery vehicle routing visualisation
EV route plans need to account for range, load, traffic, and charging time before riders leave the hub.

With EVs, a route is only useful if the vehicle can finish it and still return safely.

Doormile Operations

What this means for operators

For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window.

  1. Record delivery times, failed attempts, traffic delays, and charging cycles.
  2. Build travel-time estimates from the areas your riders actually serve.
  3. Check every route against battery capacity before dispatch.
  4. Replan when traffic, orders, or vehicle availability changes.

The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time.

\ No newline at end of file diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.meta b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.meta deleted file mode 100644 index b18c238..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/how-ai-is-transforming-last-mile-ev-delivery" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.rsc deleted file mode 100644 index 2540548..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","how-ai-is-transforming-last-mile-ev-delivery"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","how-ai-is-transforming-last-mile-ev-delivery","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-17.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Better Planning Improves Last-Mile EV Delivery\",\"description\":\"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles.\",\"image\":[\"https://doormile.com/images/blog-post-pic-17.webp\"],\"datePublished\":\"2025-10-02T00:00:00.000Z\",\"dateModified\":\"2025-10-02T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Better Planning Improves Last-Mile EV Delivery\",\"item\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-17.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-17.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-10-02","children":"Oct 2, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The shift from fixed rules to daily planning"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Order volumes by area, time slot, and customer type"}],["$","li","1",{"children":"Travel times based on the city's actual traffic patterns"}],["$","li","2",{"children":"Battery use by vehicle type, rider load, and route length"}],["$","li","3",{"children":"Feedback from completed deliveries, failed attempts, and late arrivals"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Adjusting during the day"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance."}]}] -1e:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"Electric delivery vehicle routing visualisation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"EV route plans need to account for range, load, traffic, and charging time before riders leave the hub."}]]}]}] -1f:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"With EVs, a route is only useful if the vehicle can finish it and still return safely."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"What this means for operators"}]}] -21:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window."}]}] -22:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Record delivery times, failed attempts, traffic delays, and charging cycles."}],["$","li","1",{"children":"Build travel-time estimates from the areas your riders actually serve."}],["$","li","2",{"children":"Check every route against battery capacity before dispatch."}],["$","li","3",{"children":"Replan when traffic, orders, or vehicle availability changes."}]]}]}] -23:["$","$L1c","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L29"]}]}],"$L2a","$L2b","$L2c"]}]]}],"$L2d"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","span",null,{"className":"dm-prevnext-placeholder"}],["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":["$L2e","$L2f"]}]}]]}]]}],"$L30"]}] -29:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2a:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2e:["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}] -2f:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"How Better Planning Improves Last-Mile EV Delivery – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","6",{"property":"og:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","7",{"property":"og:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-10-02T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_full.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_full.segment.rsc deleted file mode 100644 index 2540548..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_full.segment.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","how-ai-is-transforming-last-mile-ev-delivery"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","how-ai-is-transforming-last-mile-ev-delivery","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-17.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Better Planning Improves Last-Mile EV Delivery\",\"description\":\"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles.\",\"image\":[\"https://doormile.com/images/blog-post-pic-17.webp\"],\"datePublished\":\"2025-10-02T00:00:00.000Z\",\"dateModified\":\"2025-10-02T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Better Planning Improves Last-Mile EV Delivery\",\"item\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-17.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-17.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-10-02","children":"Oct 2, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The shift from fixed rules to daily planning"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Order volumes by area, time slot, and customer type"}],["$","li","1",{"children":"Travel times based on the city's actual traffic patterns"}],["$","li","2",{"children":"Battery use by vehicle type, rider load, and route length"}],["$","li","3",{"children":"Feedback from completed deliveries, failed attempts, and late arrivals"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Adjusting during the day"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance."}]}] -1e:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"Electric delivery vehicle routing visualisation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"EV route plans need to account for range, load, traffic, and charging time before riders leave the hub."}]]}]}] -1f:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"With EVs, a route is only useful if the vehicle can finish it and still return safely."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"What this means for operators"}]}] -21:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window."}]}] -22:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Record delivery times, failed attempts, traffic delays, and charging cycles."}],["$","li","1",{"children":"Build travel-time estimates from the areas your riders actually serve."}],["$","li","2",{"children":"Check every route against battery capacity before dispatch."}],["$","li","3",{"children":"Replan when traffic, orders, or vehicle availability changes."}]]}]}] -23:["$","$L1c","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L29"]}]}],"$L2a","$L2b","$L2c"]}]]}],"$L2d"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","span",null,{"className":"dm-prevnext-placeholder"}],["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":["$L2e","$L2f"]}]}]]}]]}],"$L30"]}] -29:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2a:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2e:["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}] -2f:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"How Better Planning Improves Last-Mile EV Delivery – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","6",{"property":"og:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","7",{"property":"og:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-10-02T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_head.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_head.segment.rsc deleted file mode 100644 index 9504b7a..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"How Better Planning Improves Last-Mile EV Delivery – Doormile"}],["$","meta","1",{"name":"description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","6",{"property":"og:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","7",{"property":"og:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-10-02T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Better Planning Improves Last-Mile EV Delivery"}],["$","meta","17",{"name":"twitter:description","content":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-17.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_index.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_tree.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_tree.segment.rsc deleted file mode 100644 index 899903d..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-17.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"how-ai-is-transforming-last-mile-ev-delivery","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 2384deb..0000000 --- a/.next/server/app/blog/how-ai-is-transforming-last-mile-ev-delivery.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,520 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-17.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Better Planning Improves Last-Mile EV Delivery\",\"description\":\"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles.\",\"image\":[\"https://doormile.com/images/blog-post-pic-17.webp\"],\"datePublished\":\"2025-10-02T00:00:00.000Z\",\"dateModified\":\"2025-10-02T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Better Planning Improves Last-Mile EV Delivery\",\"item\":\"https://doormile.com/blog/how-ai-is-transforming-last-mile-ev-delivery\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-17.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-17.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Better Planning Improves Last-Mile EV Delivery"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-10-02","children":"Oct 2, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The shift from fixed rules to daily planning"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Order volumes by area, time slot, and customer type"}],["$","li","1",{"children":"Travel times based on the city's actual traffic patterns"}],["$","li","2",{"children":"Battery use by vehicle type, rider load, and route length"}],["$","li","3",{"children":"Feedback from completed deliveries, failed attempts, and late arrivals"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Adjusting during the day"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand."}]}],"$La","$Lb","$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance."}]}] -b:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"Electric delivery vehicle routing visualisation","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"EV route plans need to account for range, load, traffic, and charging time before riders leave the hub."}]]}]}] -c:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"With EVs, a route is only useful if the vehicle can finish it and still return safely."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"What this means for operators"}]}] -e:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window."}]}] -f:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Record delivery times, failed attempts, traffic delays, and charging cycles."}],["$","li","1",{"children":"Build travel-time estimates from the areas your riders actually serve."}],["$","li","2",{"children":"Check every route against battery capacity before dispatch."}],["$","li","3",{"children":"Replan when traffic, orders, or vehicle availability changes."}]]}]}] -10:["$","$L9","12",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],"$L19"]}]}],"$L1a","$L1b","$L1c"]}]]}],"$L1d"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","span",null,{"className":"dm-prevnext-placeholder"}],["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","why-mathematical-precision-beats-heuristics-in-routing",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":["$L1e","$L1f"]}]}]]}]]}],"$L20"]}] -16:null -19:["$","span",null,{"className":"dm-blog-category-count","children":1}] -1a:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1c:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1e:["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}] -1f:["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -20:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.html b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.html deleted file mode 100644 index 6c01b36..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.html +++ /dev/null @@ -1,1168 +0,0 @@ -How Doormile Maintains 99.9% SLA Compliance at Scale – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Operations

How Doormile Maintains 99.9% SLA Compliance at Scale

Doormile Team2 min read

Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. How Doormile Maintains 99.9% SLA Compliance at Scale looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

How Doormile Maintains 99.9% SLA Compliance at Scale
Operations: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.meta b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.meta deleted file mode 100644 index 7863d97..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/how-doormile-maintains-99-9-sla-compliance-at-scale" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.rsc deleted file mode 100644 index 470d641..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","how-doormile-maintains-99-9-sla-compliance-at-scale"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","how-doormile-maintains-99-9-sla-compliance-at-scale","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/last-mile-approach.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"description\":\"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day.\",\"image\":[\"https://doormile.com/images/last-mile-approach.webp\"],\"datePublished\":\"2025-06-26T00:00:00.000Z\",\"dateModified\":\"2025-06-26T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"},\"articleSection\":\"Operations\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"item\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/last-mile-approach.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/last-mile-approach.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Operations"}],["$","h1",null,{"className":"dm-banner-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-26","children":"Jun 26, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. How Doormile Maintains 99.9% SLA Compliance at Scale looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$L1d"}],"$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -1e:["$","figcaption",null,{"children":"Operations: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]]}],["$","$L1b",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L2d","$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"How Doormile Maintains 99.9% SLA Compliance at Scale – Doormile"}],["$","meta","1",{"name":"description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Operations,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","6",{"property":"og:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","7",{"property":"og:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-26T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","17",{"name":"twitter:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_full.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_full.segment.rsc deleted file mode 100644 index 470d641..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_full.segment.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","how-doormile-maintains-99-9-sla-compliance-at-scale"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","how-doormile-maintains-99-9-sla-compliance-at-scale","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/last-mile-approach.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"description\":\"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day.\",\"image\":[\"https://doormile.com/images/last-mile-approach.webp\"],\"datePublished\":\"2025-06-26T00:00:00.000Z\",\"dateModified\":\"2025-06-26T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"},\"articleSection\":\"Operations\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"item\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/last-mile-approach.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/last-mile-approach.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Operations"}],["$","h1",null,{"className":"dm-banner-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-26","children":"Jun 26, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. How Doormile Maintains 99.9% SLA Compliance at Scale looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$L1d"}],"$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L27",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -1e:["$","figcaption",null,{"children":"Operations: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]]}],["$","$L1b",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L2d","$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"How Doormile Maintains 99.9% SLA Compliance at Scale – Doormile"}],["$","meta","1",{"name":"description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Operations,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","6",{"property":"og:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","7",{"property":"og:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-26T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","17",{"name":"twitter:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_head.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_head.segment.rsc deleted file mode 100644 index 37f633e..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"How Doormile Maintains 99.9% SLA Compliance at Scale – Doormile"}],["$","meta","1",{"name":"description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Operations,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","6",{"property":"og:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","7",{"property":"og:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","meta","11",{"property":"og:image:alt","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-06-26T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"How Doormile Maintains 99.9% SLA Compliance at Scale"}],["$","meta","17",{"name":"twitter:description","content":"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/last-mile-approach.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_index.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_tree.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_tree.segment.rsc deleted file mode 100644 index 9505002..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/last-mile-approach.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"how-doormile-maintains-99-9-sla-compliance-at-scale","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 5ec257e..0000000 --- a/.next/server/app/blog/how-doormile-maintains-99-9-sla-compliance-at-scale.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,521 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/last-mile-approach.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"description\":\"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day.\",\"image\":[\"https://doormile.com/images/last-mile-approach.webp\"],\"datePublished\":\"2025-06-26T00:00:00.000Z\",\"dateModified\":\"2025-06-26T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"},\"articleSection\":\"Operations\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How Doormile Maintains 99.9% SLA Compliance at Scale\",\"item\":\"https://doormile.com/blog/how-doormile-maintains-99-9-sla-compliance-at-scale\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/last-mile-approach.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/last-mile-approach.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Operations"}],["$","h1",null,{"className":"dm-banner-title","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"How Doormile Maintains 99.9% SLA Compliance at Scale"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-06-26","children":"Jun 26, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. How Doormile Maintains 99.9% SLA Compliance at Scale looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$La"}],"$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","$L17",null,{"src":"/images/last-mile-approach.webp","alt":"How Doormile Maintains 99.9% SLA Compliance at Scale","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -b:["$","figcaption",null,{"children":"Operations: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/building-a-greener-city-the-future-of-urban-logistics","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-6.webp","alt":"Building a Greener City: The Future of Urban Logistics","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Sustainability"}],["$","span",null,{"className":"dm-prevnext-title","children":"Building a Greener City: The Future of Urban Logistics"}]]}]]}],["$","$L8",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":["$L1d","$L1e","$L1f"]}]]}]}],"$L20"]}]]}],"$L21"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}] -1e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -1f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -20:["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -21:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.html b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.html deleted file mode 100644 index 82db287..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.html +++ /dev/null @@ -1,1168 +0,0 @@ -MileTruth™: 10 Stages to Smarter Dispatch – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

MileTruth

MileTruth™: 10 Stages to Smarter Dispatch

Doormile Team2 min read

Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider.

A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day.

The ten stages

  1. Order intake: new orders, rider availability, and vehicle status are collected.
  2. Address check: delivery points, time windows, and service notes are verified.
  3. Stop planning: each stop gets an expected service time and delivery priority.
  4. Travel-time check: routes are compared against time-of-day traffic.
  5. Constraint check: capacity, shift time, customer windows, and range are applied.
  6. Route options: several possible plans are built for the same order set.
  7. Plan selection: the lowest-cost workable route plan is selected.
  8. Battery check: EV routes are checked against real charge capacity.
  9. ETA check: promised delivery times are verified before dispatch.
  10. Dispatch output: the final route is sent to the operations team.

Why staging matters

When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue.

MileTruth routing pipeline diagram
A staged dispatch process catches address, range, and ETA issues before riders leave.

Each stage should remove one kind of mistake. By dispatch time, the route should already be practical.

MileTruth Engineering

Comparing route options

The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger.

  • Several route plans checked before dispatch
  • Distance, time windows, capacity, and range considered together
  • Range and ETA checked before the route reaches the rider
  • Fast output that still leaves room for dispatcher review

The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub.

\ No newline at end of file diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.meta b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.meta deleted file mode 100644 index 2ea5ec3..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/miletruth-ai-10-stages-to-smarter-dispatch" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.rsc deleted file mode 100644 index 97380d0..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","miletruth-ai-10-stages-to-smarter-dispatch"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","miletruth-ai-10-stages-to-smarter-dispatch","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-31.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"description\":\"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub.\",\"image\":[\"https://doormile.com/images/blog-post-pic-31.webp\"],\"datePublished\":\"2025-09-05T00:00:00.000Z\",\"dateModified\":\"2025-09-05T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"},\"articleSection\":\"MileTruth\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"item\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-31.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-31.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"MileTruth"}],["$","h1",null,{"className":"dm-banner-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-05","children":"Sep 5, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The ten stages"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Order intake: new orders, rider availability, and vehicle status are collected."}],["$","li","1",{"children":"Address check: delivery points, time windows, and service notes are verified."}],["$","li","2",{"children":"Stop planning: each stop gets an expected service time and delivery priority."}],["$","li","3",{"children":"Travel-time check: routes are compared against time-of-day traffic."}],["$","li","4",{"children":"Constraint check: capacity, shift time, customer windows, and range are applied."}],["$","li","5",{"children":"Route options: several possible plans are built for the same order set."}],["$","li","6",{"children":"Plan selection: the lowest-cost workable route plan is selected."}],["$","li","7",{"children":"Battery check: EV routes are checked against real charge capacity."}],["$","li","8",{"children":"ETA check: promised delivery times are verified before dispatch."}],["$","li","9",{"children":"Dispatch output: the final route is sent to the operations team."}]]}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why staging matters"}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22"]}]]}],"$L23"]}]]}] -24:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$24"}}],"$L25"]}] -26:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -27:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L26",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth routing pipeline diagram","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"A staged dispatch process catches address, range, and ETA issues before riders leave."}]]}]}] -1e:["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"Each stage should remove one kind of mistake. By dispatch time, the route should already be practical."}],["$","cite",null,{"children":"MileTruth Engineering"}]]}]}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Comparing route options"}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger."}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Several route plans checked before dispatch"}],["$","li","1",{"children":"Distance, time windows, capacity, and range considered together"}],["$","li","2",{"children":"Range and ETA checked before the route reaches the rider"}],["$","li","3",{"children":"Fast output that still leaves room for dispatcher review"}]]}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub."}]}] -23:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L27",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":["$L28","$L29"]}]}],"$L2a","$L2b","$L2c"]}]]}],"$L2d"]}]}] -25:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]]}],["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -28:["$","span",null,{"children":"MileTruth"}] -29:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2a:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"MileTruth™: 10 Stages to Smarter Dispatch – Doormile"}],["$","meta","1",{"name":"description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"MileTruth,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","6",{"property":"og:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","7",{"property":"og:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","meta","11",{"property":"og:image:alt","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-05T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","17",{"name":"twitter:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_full.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_full.segment.rsc deleted file mode 100644 index 97380d0..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_full.segment.rsc +++ /dev/null @@ -1,546 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","miletruth-ai-10-stages-to-smarter-dispatch"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","miletruth-ai-10-stages-to-smarter-dispatch","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-31.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"description\":\"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub.\",\"image\":[\"https://doormile.com/images/blog-post-pic-31.webp\"],\"datePublished\":\"2025-09-05T00:00:00.000Z\",\"dateModified\":\"2025-09-05T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"},\"articleSection\":\"MileTruth\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"item\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-31.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-31.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"MileTruth"}],["$","h1",null,{"className":"dm-banner-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-05","children":"Sep 5, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The ten stages"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Order intake: new orders, rider availability, and vehicle status are collected."}],["$","li","1",{"children":"Address check: delivery points, time windows, and service notes are verified."}],["$","li","2",{"children":"Stop planning: each stop gets an expected service time and delivery priority."}],["$","li","3",{"children":"Travel-time check: routes are compared against time-of-day traffic."}],["$","li","4",{"children":"Constraint check: capacity, shift time, customer windows, and range are applied."}],["$","li","5",{"children":"Route options: several possible plans are built for the same order set."}],["$","li","6",{"children":"Plan selection: the lowest-cost workable route plan is selected."}],["$","li","7",{"children":"Battery check: EV routes are checked against real charge capacity."}],["$","li","8",{"children":"ETA check: promised delivery times are verified before dispatch."}],["$","li","9",{"children":"Dispatch output: the final route is sent to the operations team."}]]}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why staging matters"}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue."}]}],"$L1d","$L1e","$L1f","$L20","$L21","$L22"]}]]}],"$L23"]}]]}] -24:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$24"}}],"$L25"]}] -26:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -27:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L26",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth routing pipeline diagram","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"A staged dispatch process catches address, range, and ETA issues before riders leave."}]]}]}] -1e:["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"Each stage should remove one kind of mistake. By dispatch time, the route should already be practical."}],["$","cite",null,{"children":"MileTruth Engineering"}]]}]}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Comparing route options"}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger."}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Several route plans checked before dispatch"}],["$","li","1",{"children":"Distance, time windows, capacity, and range considered together"}],["$","li","2",{"children":"Range and ETA checked before the route reaches the rider"}],["$","li","3",{"children":"Fast output that still leaves room for dispatcher review"}]]}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub."}]}] -23:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L27",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":["$L28","$L29"]}]}],"$L2a","$L2b","$L2c"]}]]}],"$L2d"]}]}] -25:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]]}],["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2e","$L2f"]}]]}]}],"$L30"]}]]}],"$L31"]}] -28:["$","span",null,{"children":"MileTruth"}] -29:["$","span",null,{"className":"dm-blog-category-count","children":1}] -2a:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2c:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -30:["$","$L1c","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L26",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -31:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -32:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"MileTruth™: 10 Stages to Smarter Dispatch – Doormile"}],["$","meta","1",{"name":"description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"MileTruth,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","6",{"property":"og:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","7",{"property":"og:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","meta","11",{"property":"og:image:alt","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-05T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","17",{"name":"twitter:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L32","23",{}]] diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_head.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_head.segment.rsc deleted file mode 100644 index 4620eb1..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MileTruth™: 10 Stages to Smarter Dispatch – Doormile"}],["$","meta","1",{"name":"description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"MileTruth,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","6",{"property":"og:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","7",{"property":"og:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","meta","11",{"property":"og:image:alt","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-09-05T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","meta","17",{"name":"twitter:description","content":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-31.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_index.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_tree.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_tree.segment.rsc deleted file mode 100644 index 8653f38..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-31.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"miletruth-ai-10-stages-to-smarter-dispatch","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 32f30bb..0000000 --- a/.next/server/app/blog/miletruth-ai-10-stages-to-smarter-dispatch.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,521 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -14:"$Sreact.suspense" -16:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -17:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-31.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"description\":\"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub.\",\"image\":[\"https://doormile.com/images/blog-post-pic-31.webp\"],\"datePublished\":\"2025-09-05T00:00:00.000Z\",\"dateModified\":\"2025-09-05T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"},\"articleSection\":\"MileTruth\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MileTruth™: 10 Stages to Smarter Dispatch\",\"item\":\"https://doormile.com/blog/miletruth-ai-10-stages-to-smarter-dispatch\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-31.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-31.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"MileTruth"}],["$","h1",null,{"className":"dm-banner-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-09-05","children":"Sep 5, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"The ten stages"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Order intake: new orders, rider availability, and vehicle status are collected."}],["$","li","1",{"children":"Address check: delivery points, time windows, and service notes are verified."}],["$","li","2",{"children":"Stop planning: each stop gets an expected service time and delivery priority."}],["$","li","3",{"children":"Travel-time check: routes are compared against time-of-day traffic."}],["$","li","4",{"children":"Constraint check: capacity, shift time, customer windows, and range are applied."}],["$","li","5",{"children":"Route options: several possible plans are built for the same order set."}],["$","li","6",{"children":"Plan selection: the lowest-cost workable route plan is selected."}],["$","li","7",{"children":"Battery check: EV routes are checked against real charge capacity."}],["$","li","8",{"children":"ETA check: promised delivery times are verified before dispatch."}],["$","li","9",{"children":"Dispatch output: the final route is sent to the operations team."}]]}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"Why staging matters"}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue."}]}],"$La","$Lb","$Lc","$Ld","$Le","$Lf"]}]]}],"$L10"]}]]}] -11:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$11"}}],"$L12"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L13",null,{"children":["$","$14",null,{"name":"Next.MetadataOutlet","children":"$@15"}]}] -a:["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":["$","$L16",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth routing pipeline diagram","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}],["$","figcaption",null,{"children":"A staged dispatch process catches address, range, and ETA issues before riders leave."}]]}]}] -b:["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"Each stage should remove one kind of mistake. By dispatch time, the route should already be practical."}],["$","cite",null,{"children":"MileTruth Engineering"}]]}]}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Comparing route options"}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger."}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Several route plans checked before dispatch"}],["$","li","1",{"children":"Distance, time windows, capacity, and range considered together"}],["$","li","2",{"children":"Range and ETA checked before the route reaches the rider"}],["$","li","3",{"children":"Fast output that still leaves room for dispatcher review"}]]}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub."}]}] -10:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L17",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L16",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L16",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L16",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L16",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":["$L18","$L19"]}]}],"$L1a","$L1b","$L1c"]}]]}],"$L1d"]}]}] -12:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L16",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Case Study"}],["$","span",null,{"className":"dm-prevnext-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}]]}]]}],["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L16",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L16",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L16",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L1e","$L1f"]}]]}]}],"$L20"]}]]}],"$L21"]}] -15:null -18:["$","span",null,{"children":"MileTruth"}] -19:["$","span",null,{"className":"dm-blog-category-count","children":1}] -1a:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1c:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1d:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1e:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -1f:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -20:["$","$L9","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L16",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -21:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/page.js b/.next/server/app/blog/page.js deleted file mode 100644 index 795cb12..0000000 --- a/.next/server/app/blog/page.js +++ /dev/null @@ -1,16 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/blog/page.js") -R.c("server/chunks/ssr/_0sw0r2k._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0800b30._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0kg5hi0.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(87282) -module.exports=R.m(87282).exports diff --git a/.next/server/app/blog/page.js.map b/.next/server/app/blog/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/blog/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/blog/page.js.nft.json b/.next/server/app/blog/page.js.nft.json deleted file mode 100644 index 5f5b2c8..0000000 --- a/.next/server/app/blog/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0800b30._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_0sw0r2k._.js","../../chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0kg5hi0.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/blog/page/app-paths-manifest.json b/.next/server/app/blog/page/app-paths-manifest.json deleted file mode 100644 index 9661d98..0000000 --- a/.next/server/app/blog/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/blog/page": "app/blog/page.js" -} \ No newline at end of file diff --git a/.next/server/app/blog/page/build-manifest.json b/.next/server/app/blog/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/blog/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/blog/page/next-font-manifest.json b/.next/server/app/blog/page/next-font-manifest.json deleted file mode 100644 index 9df6a95..0000000 --- a/.next/server/app/blog/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/blog/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/blog/page/react-loadable-manifest.json b/.next/server/app/blog/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/blog/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/blog/page/server-reference-manifest.json b/.next/server/app/blog/page/server-reference-manifest.json deleted file mode 100644 index ec6db1c..0000000 --- a/.next/server/app/blog/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/blog/page": { - "moduleId": 62245, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/blog/page_client-reference-manifest.js b/.next/server/app/blog/page_client-reference-manifest.js deleted file mode 100644 index 4703a31..0000000 --- a/.next/server/app/blog/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/blog/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js ":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/Reveal.tsx ":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/Reveal.tsx":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"5500":{"*":{"id":67161,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"2018":{"*":{"id":36002,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"5500":{"*":{"id":43489,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}},"2018":{"*":{"id":9386,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/blog/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/blog/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"]}}; - diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.html b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.html deleted file mode 100644 index 41927fa..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.html +++ /dev/null @@ -1,1168 +0,0 @@ -The EV Paradox: Solving Range Anxiety for Urban Fleets – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

EV Fleet

The EV Paradox: Solving Range Anxiety for Urban Fleets

Doormile Team2 min read

Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. The EV Paradox: Solving Range Anxiety for Urban Fleets looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

The EV Paradox: Solving Range Anxiety for Urban Fleets
EV Fleet: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.meta b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.meta deleted file mode 100644 index c2c850c..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.rsc deleted file mode 100644 index a2ec5a0..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","the-ev-paradox-solving-range-anxiety-for-urban-fleets"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","the-ev-paradox-solving-range-anxiety-for-urban-fleets","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/ev-paradox.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"description\":\"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch.\",\"image\":[\"https://doormile.com/images/ev-paradox.webp\"],\"datePublished\":\"2025-08-21T00:00:00.000Z\",\"dateModified\":\"2025-08-21T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"item\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/ev-paradox.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/ev-paradox.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-21","children":"Aug 21, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. The EV Paradox: Solving Range Anxiety for Urban Fleets looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]]}],["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"The EV Paradox: Solving Range Anxiety for Urban Fleets – Doormile"}],["$","meta","1",{"name":"description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","6",{"property":"og:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","7",{"property":"og:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","meta","11",{"property":"og:image:alt","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-21T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","17",{"name":"twitter:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_full.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_full.segment.rsc deleted file mode 100644 index a2ec5a0..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_full.segment.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","the-ev-paradox-solving-range-anxiety-for-urban-fleets"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","the-ev-paradox-solving-range-anxiety-for-urban-fleets","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/ev-paradox.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"description\":\"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch.\",\"image\":[\"https://doormile.com/images/ev-paradox.webp\"],\"datePublished\":\"2025-08-21T00:00:00.000Z\",\"dateModified\":\"2025-08-21T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"item\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/ev-paradox.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/ev-paradox.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-21","children":"Aug 21, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. The EV Paradox: Solving Range Anxiety for Urban Fleets looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$L1d","$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -1e:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]]}],["$","$L1b",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"The EV Paradox: Solving Range Anxiety for Urban Fleets – Doormile"}],["$","meta","1",{"name":"description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","6",{"property":"og:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","7",{"property":"og:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","meta","11",{"property":"og:image:alt","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-21T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","17",{"name":"twitter:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_head.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_head.segment.rsc deleted file mode 100644 index 0cabf73..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"The EV Paradox: Solving Range Anxiety for Urban Fleets – Doormile"}],["$","meta","1",{"name":"description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"EV Fleet,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","6",{"property":"og:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","7",{"property":"og:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","meta","11",{"property":"og:image:alt","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-21T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","meta","17",{"name":"twitter:description","content":"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/ev-paradox.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_index.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_tree.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_tree.segment.rsc deleted file mode 100644 index d37dc4b..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/ev-paradox.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"the-ev-paradox-solving-range-anxiety-for-urban-fleets","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index 54e3224..0000000 --- a/.next/server/app/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,520 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/ev-paradox.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"description\":\"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch.\",\"image\":[\"https://doormile.com/images/ev-paradox.webp\"],\"datePublished\":\"2025-08-21T00:00:00.000Z\",\"dateModified\":\"2025-08-21T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"},\"articleSection\":\"EV Fleet\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The EV Paradox: Solving Range Anxiety for Urban Fleets\",\"item\":\"https://doormile.com/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/ev-paradox.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/ev-paradox.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"EV Fleet"}],["$","h1",null,{"className":"dm-banner-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-21","children":"Aug 21, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. The EV Paradox: Solving Range Anxiety for Urban Fleets looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":["$La","$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","span",null,{"className":"dm-article-figure-img","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}]}] -b:["$","figcaption",null,{"children":"EV Fleet: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","why-mathematical-precision-beats-heuristics-in-routing",{"children":["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","time",null,{"dateTime":"2025-08-07","className":"dm-blog-recent-date","children":"Aug 7, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"MileTruth"}],["$","span",null,{"className":"dm-prevnext-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}]]}]]}],["$","$L8",null,{"href":"/blog/why-mathematical-precision-beats-heuristics-in-routing","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Technology"}],["$","span",null,{"className":"dm-prevnext-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","battery-simulation-the-secret-to-ev-route-pre-validation",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/battery-simulation-the-secret-to-ev-route-pre-validation","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-3.webp","alt":"Battery Simulation: The Secret to EV Route Pre-Validation","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"EV Fleet"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"Battery Simulation: The Secret to EV Route Pre-Validation"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],"$L1d","$L1e"]}]]}]}],"$L1f"]}]]}],"$L20"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}] -1e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -1f:["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -20:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.html b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.html deleted file mode 100644 index f55bf1f..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.html +++ /dev/null @@ -1,1168 +0,0 @@ -Why Mathematical Precision Beats Heuristics in Routing – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Technology

Why Mathematical Precision Beats Heuristics in Routing

Doormile Team2 min read

Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch.

In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Why Mathematical Precision Beats Heuristics in Routing looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.

Why this matters for fleet teams

Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day.

  • Fewer vehicles needed for the same number of drops
  • Lower cost per drop through better stop sequencing
  • ETAs that match traffic, distance, and delivery windows
  • Less fuel or charge used per completed order

From orders to dispatch

A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road.

Why Mathematical Precision Beats Heuristics in Routing
Technology: route planning decisions made before dispatch.

A route should be checked before the rider leaves, not explained after the customer calls.

Doormile Operations

Putting it into practice

The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time.

  1. Benchmark today's distance, fleet size, and on-time rate.
  2. Include vehicle capacity, delivery windows, rider shifts, and battery charge.
  3. Check routes against traffic and customer commitments before dispatch.
  4. Compare the next dispatch cycle against the old plan.

Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead.

\ No newline at end of file diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.meta b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.meta deleted file mode 100644 index 6130345..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.meta +++ /dev/null @@ -1,16 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/blog/layout,_N_T_/blog/[slug]/layout,_N_T_/blog/[slug]/page,_N_T_/blog/why-mathematical-precision-beats-heuristics-in-routing" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/blog/$d$slug/__PAGE__", - "/blog/$d$slug", - "/blog", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.rsc deleted file mode 100644 index 68ca780..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","why-mathematical-precision-beats-heuristics-in-routing"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","why-mathematical-precision-beats-heuristics-in-routing","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-14.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"description\":\"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows.\",\"image\":[\"https://doormile.com/images/blog-post-pic-14.webp\"],\"datePublished\":\"2025-08-07T00:00:00.000Z\",\"dateModified\":\"2025-08-07T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"item\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-14.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-14.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-07","children":"Aug 7, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Why Mathematical Precision Beats Heuristics in Routing looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$L1d"}],"$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -1e:["$","figcaption",null,{"children":"Technology: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]]}],["$","$L1b",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Why Mathematical Precision Beats Heuristics in Routing – Doormile"}],["$","meta","1",{"name":"description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","6",{"property":"og:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","7",{"property":"og:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-07T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","17",{"name":"twitter:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_full.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_full.segment.rsc deleted file mode 100644 index 68ca780..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_full.segment.rsc +++ /dev/null @@ -1,545 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -e:"$Sreact.suspense" -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -13:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","blog","why-mathematical-precision-beats-heuristics-in-routing"],"q":"","i":false,"f":[[["",{"children":["blog",{"children":[["slug","why-mathematical-precision-beats-heuristics-in-routing","d",null],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":["$Lc",[["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true,"nonce":"$undefined"}]],["$","$Ld",null,{"children":["$","$e",null,{"name":"Next.MetadataOutlet","children":"$@f"}]}]]}],{},null,false,null]},null,false,"$@10"]},null,false,"$@10"]},null,false,null],["$","$1","h",{"children":[null,["$","$L11",null,{"children":"$L12"}],["$","div",null,{"hidden":true,"children":["$","$L13",null,{"children":["$","$e",null,{"name":"Next.Metadata","children":"$L14"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$15",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -16:[] -10:"$W16" -:HL["/images/blog-post-pic-14.webp","image"] -17:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -c:["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"description\":\"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows.\",\"image\":[\"https://doormile.com/images/blog-post-pic-14.webp\"],\"datePublished\":\"2025-08-07T00:00:00.000Z\",\"dateModified\":\"2025-08-07T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"item\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-14.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18","$L19"]}],"$L1a"]}]}]]}] -1b:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -1c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -18:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-14.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}]}] -19:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L1b",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L1b",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-07","children":"Aug 7, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L1c","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Why Mathematical Precision Beats Heuristics in Routing looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L1c","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L1c","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L1c","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L1c","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L1c","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L1c","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$L1d"}],"$L1e"]}]}],"$L1f","$L20","$L21","$L22","$L23"]}]]}],"$L24"]}]]}] -25:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -1a:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"]}] -27:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -28:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -1d:["$","$L27",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -1e:["$","figcaption",null,{"children":"Technology: route planning decisions made before dispatch."}] -1f:["$","$L1c","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -20:["$","$L1c","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -21:["$","$L1c","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -22:["$","$L1c","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -23:["$","$L1c","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -24:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L28",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L29","$L2a","$L2b"]}]]}],"$L2c"]}]}] -26:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L1b",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]]}],["$","$L1b",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L27",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L1c","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L1c","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L2d","$L2e"]}]]}]}],"$L2f"]}]]}],"$L30"]}] -29:["$","li","Operations",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2a:["$","li","Sustainability",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -2b:["$","li","Technology",{"children":["$","$L1b",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -2c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -2d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -2e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -2f:["$","$L1c","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L1b",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L27",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -30:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L1b",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -31:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -f:null -14:[["$","title","0",{"children":"Why Mathematical Precision Beats Heuristics in Routing – Doormile"}],["$","meta","1",{"name":"description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","6",{"property":"og:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","7",{"property":"og:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-07T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","17",{"name":"twitter:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L31","23",{}]] diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_head.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_head.segment.rsc deleted file mode 100644 index 2142001..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Why Mathematical Precision Beats Heuristics in Routing – Doormile"}],["$","meta","1",{"name":"description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","2",{"name":"author","content":"Doormile Team"}],["$","meta","3",{"name":"keywords","content":"Technology,last-mile logistics,EV fleet,MileTruth,route optimisation"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","link","5",{"rel":"canonical","href":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","6",{"property":"og:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","7",{"property":"og:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","8",{"property":"og:url","content":"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing"}],["$","meta","9",{"property":"og:site_name","content":"Doormile"}],["$","meta","10",{"property":"og:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","meta","11",{"property":"og:image:alt","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:published_time","content":"2025-08-07T00:00:00.000Z"}],["$","meta","14",{"property":"article:author","content":"Doormile Team"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Why Mathematical Precision Beats Heuristics in Routing"}],["$","meta","17",{"name":"twitter:description","content":"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows."}],["$","meta","18",{"name":"twitter:image","content":"https://doormile.com/images/blog-post-pic-14.webp"}],["$","link","19",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","21",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","22",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","23",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_index.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_tree.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_tree.segment.rsc deleted file mode 100644 index 7d5fe1d..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/blog-post-pic-14.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"blog","param":null,"prefetchHints":0,"slots":{"children":{"name":"slug","param":{"type":"d","key":"why-mathematical-precision-beats-heuristics-in-routing","siblings":null},"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug/__PAGE__.segment.rsc b/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug/__PAGE__.segment.rsc deleted file mode 100644 index ccbaf6e..0000000 --- a/.next/server/app/blog/why-mathematical-precision-beats-heuristics-in-routing.segments/blog/$d$slug/__PAGE__.segment.rsc +++ /dev/null @@ -1,520 +0,0 @@ -1:"$Sreact.fragment" -8:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],""] -9:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"ScrollReveal"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -15:"$Sreact.suspense" -17:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"Image"] -18:I[23096,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/16tb205t0~jhb.js"],"default"] -:HL["/images/blog-post-pic-14.webp","image"] -2:T3d6f, - .dm-single-blog { - --dm-red: #c01227; - --dm-red-hover: #e31d32; - --dm-radius-card: 22px; - --dm-radius-img: 20px; - --dm-radius-badge: 8px; - --dm-shadow-card: 0 4px 24px rgba(15, 23, 42, 0.05); - --dm-border: 1px solid rgba(15, 23, 42, 0.09); - --dm-space-p: 24px; - --dm-space-h: 32px; - --dm-space-img: 32px; - --dm-space-quote: 40px; - --dm-sticky-top: 138px; - --dm-measure: min(1100px, 100%); - font-family: var(--font-manrope), sans-serif; - } - - /* Heading normalization. Beat the global theme's .elementor-kit-5 h1-h6 - (120/80/60px UPPERCASE) rules with !important on our own classes. */ - .dm-single-blog :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline, - specificity 0-1-1) so blog links keep our colors and never get underlined. */ - .dm-single-blog a { text-decoration: none !important; } - - /* Page banner: tall homepage-scale frame with only badge + title inside */ - /* Compound selector (specificity 20) + !important beats the global 800px - single-class height rules so the blog banner can use viewport heights. */ - .custom-standard-hero-card.dm-banner-card { - height: 90vh !important; - min-height: 85vh !important; - } - @media (max-width: 1024px) { - .custom-standard-hero-card.dm-banner-card { height: 80vh !important; min-height: 75vh !important; } - } - @media (max-width: 600px) { - .custom-standard-hero-card.dm-banner-card { height: 78vh !important; min-height: 72vh !important; } - } - - .dm-banner-inner { - position: relative; width: 100%; height: 100%; - display: flex; flex-direction: column; align-items: center; justify-content: center; - text-align: center; gap: clamp(22px, 2.6vw, 34px); - padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 48px); - } - - .dm-banner-category { - display: inline-block; background: var(--dm-red); color: #fff; - font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; - padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(192,18,39,0.45); - } - .dm-banner-title { - font-family: var(--font-manrope), sans-serif !important; - font-size: clamp(34px, 5vw, 60px) !important; font-weight: 850 !important; - line-height: 1.16 !important; letter-spacing: -1.2px !important; - color: #ffffff !important; margin: 0; max-width: 820px; - text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,0.38); - } - @media (max-width: 1024px) { .dm-banner-title { font-size: clamp(32px, 6vw, 48px) !important; max-width: 90%; } } - @media (max-width: 600px) { .dm-banner-title { font-size: clamp(28px, 8vw, 38px) !important; max-width: 90%; } } - - /* Content wrap begins immediately below the banner */ - /* Shared content container: the SAME max-width + horizontal padding is used - by BlogPostFooter (.dm-blog-footer-inner) so the article body, headings, - images, Prev/Next, Related Articles and the CTA banner all align to one - grid with identical left/right edges. Keep both in sync. */ - .dm-blog-wrap { - max-width: 1280px; margin: 0 auto; - /* 20px mobile padding floor → 40px on desktop; matches the footer container. */ - padding: clamp(14px, 2vw, 26px) clamp(20px, 4vw, 40px) 0; - } - @media (max-width: 767px) { - .dm-blog-wrap { - padding-left: 16px; - padding-right: 16px; - } - } - - /* ── Article meta bar (directly under the hero) ── */ - .dm-meta-bar { - display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; - padding: clamp(20px, 2.6vw, 30px) 0; margin-bottom: clamp(26px, 3vw, 44px); - border-bottom: 1px solid rgba(15,23,42,0.10); - } - .dm-meta-breadcrumb ol { - list-style: none; display: flex; flex-wrap: wrap; align-items: center; - gap: 8px; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: #64748b; - } - .dm-meta-breadcrumb a { color: #64748b !important; text-decoration: none; transition: color .2s ease; } - .dm-meta-breadcrumb a:hover { color: var(--dm-red) !important; } - .dm-meta-sep { color: #cbd5e1; } - .dm-meta-current { - color: #0f172a; font-weight: 700; - max-width: min(40ch, 46vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } - @media (max-width: 600px) { .dm-meta-current { max-width: 56vw; } } - .dm-meta-items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } - .dm-meta-item { - display: inline-flex; align-items: center; gap: 7px; - font-size: 13.5px; font-weight: 600; color: #475569; - } - .dm-meta-item svg { color: var(--dm-red); flex: 0 0 auto; } - .dm-meta-author { color: #0f172a; font-weight: 700; } - @media (max-width: 600px) { .dm-meta-bar { gap: 12px; } } - .dm-blog-layout { - display: grid; grid-template-columns: minmax(0,1fr) 320px; - /* Tighter gap gives the reading column more room next to the 320px sidebar. */ - gap: clamp(28px, 3vw, 56px); align-items: start; - } - @media (max-width: 1024px) { - .dm-blog-layout { grid-template-columns: 1fr; gap: 48px; } - /* Single-column (tablet/mobile): cap the reading column and centre it so the - article never sits left-aligned with a large empty right gutter. */ - .dm-blog-main { max-width: 900px; margin-inline: auto; } - } - .dm-blog-main { min-width: 0; } - - /* ── Intro lead ── */ - .dm-blog-intro { - max-width: var(--dm-measure); - font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; font-weight: 500; - color: #475569; margin: 0 0 clamp(26px, 3vw, 38px); padding-left: 20px; - border-left: 3px solid var(--dm-red); - } - - /* ── Article body ── */ - .dm-article-body { max-width: var(--dm-measure); } - .dm-article-p { - font-size: 18px !important; line-height: 1.8 !important; color: #334155; font-weight: 450; - margin: 0 0 var(--dm-space-p); - } - .dm-article-h2 { - font-size: clamp(23px, 2vw, 30px) !important; font-weight: 800 !important; letter-spacing: -.3px !important; - color: #0f172a !important; line-height: 1.3 !important; margin: 48px 0 var(--dm-space-h); - text-wrap: balance; - } - /* Each article block is wrapped in its OWN ScrollReveal
, so a bare - :first-child rule matched every heading (each is the only child of its - wrapper) and zeroed its top margin, collapsing the gap above every - section heading. Scope the reset to only the article body's first block. */ - .dm-article-body > :first-child :where(.dm-article-h2, .dm-article-h3), - .dm-article-body > .dm-article-h2:first-child, - .dm-article-body > .dm-article-h3:first-child { margin-top: 0; } - .dm-article-h3 { - font-size: clamp(19px, 1.5vw, 23px) !important; font-weight: 800 !important; letter-spacing: -.2px !important; - color: #1e293b !important; line-height: 1.34 !important; margin: 40px 0 18px; - text-wrap: balance; - } - @media (max-width: 600px) { - .dm-article-p { font-size: 16px !important; } - .dm-article-ul li, .dm-article-ol li { font-size: 15.5px; } - .dm-article-h2 { font-size: clamp(22px, 6vw, 28px) !important; margin-top: 38px; } - .dm-article-h3 { font-size: clamp(18px, 5vw, 22px) !important; } - } - - .dm-article-ul, .dm-article-ol { - /* Top margin (was 0) separates the list from the paragraph above it; - matching bottom margin keeps it clear of the next heading/paragraph. - Slightly larger than --dm-space-p so the list reads as its own block. */ - margin: clamp(26px, 2.4vw, 32px) 0 clamp(26px, 2.4vw, 32px); - padding-left: 2px; list-style: none; - display: flex; flex-direction: column; gap: 15px; - } - /* Prefixed with .dm-article-body so these beat the theme's global - ".logico-front-end ul li:before" fontello-glyph bullet (specificity 0,1,3), - which otherwise replaces our clean red dot with a misaligned checkmark glyph - and adds its own 1.7em indent. */ - .dm-article-body .dm-article-ul li, .dm-article-body .dm-article-ol li { - position: relative; padding-left: 34px; - font-size: 17px; line-height: 1.65; color: #334155; font-weight: 450; - } - .dm-article-body .dm-article-ul li::before { - content: ""; position: absolute; left: 7px; top: 10px; - width: 8px; height: 8px; border-radius: 50%; background: var(--dm-red); - /* kill any inherited fontello glyph from the global rule */ - font-size: 0; line-height: 0; - } - .dm-article-ol { counter-reset: dm-li; } - .dm-article-body .dm-article-ol li { counter-increment: dm-li; } - .dm-article-body .dm-article-ol li::before { - content: counter(dm-li); position: absolute; left: 0; top: 0; - width: 24px; height: 24px; border-radius: 7px; - background: rgba(192,18,39,0.10); color: var(--dm-red); - font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; - } - - /* ── Quote ── */ - .dm-article-quote { - position: relative; margin: var(--dm-space-quote) 0; padding: 30px 32px 30px 64px; - background: linear-gradient(135deg, #fbf2f3 0%, #fdf7f8 100%); - border-left: 4px solid var(--dm-red); border-radius: 0 18px 18px 0; - box-shadow: 0 8px 28px rgba(192, 18, 39, 0.06); - } - .dm-article-quote::before { - content: "\201C"; position: absolute; left: 22px; top: 8px; - font-family: Georgia, "Times New Roman", serif; - font-size: 64px; line-height: 1; color: rgba(192, 18, 39, 0.28); font-weight: 700; - } - .dm-article-quote p { - font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; - font-style: italic; color: #1e293b; margin: 0; - } - .dm-article-quote cite { - display: block; margin-top: 16px; font-size: 13px; font-weight: 700; - font-style: normal; color: var(--dm-red); text-transform: uppercase; letter-spacing: .6px; - } - @media (max-width: 600px) { .dm-article-quote { padding: 26px 22px; } .dm-article-quote::before { display: none; } } - - /* ── Images ── */ - .dm-article-figure { margin: var(--dm-space-img) 0; } - .dm-article-figure-img { - position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; - border-radius: var(--dm-radius-img); overflow: hidden; box-shadow: 0 14px 34px rgba(15,23,42,0.10); - } - .dm-article-figure figcaption { - margin-top: 14px; font-size: 13.5px; color: #94a3b8; font-weight: 500; - text-align: center; font-style: italic; - } - - /* ── Sidebar ── */ - .dm-blog-aside-wrap { position: relative; } - .dm-blog-sidebar { - display: flex; flex-direction: column; gap: 18px; - position: sticky; top: var(--dm-sticky-top); - } - @media (max-width: 1024px) { .dm-blog-sidebar { position: static; gap: 20px; } } - - .dm-blog-widget { - background: #fff; border: var(--dm-border); border-radius: var(--dm-radius-card); - padding: 20px; box-shadow: var(--dm-shadow-card); - } - .dm-blog-widget-title { - font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase !important; - letter-spacing: .8px !important; line-height: 1.35 !important; color: #0f172a !important; - margin: 0 0 15px; padding: 0 0 12px; - border-bottom: 1px solid rgba(15,23,42,0.08); - overflow: visible; white-space: normal; word-break: normal; - } - - /* Search */ - .dm-sr-only { - position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; - overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; - } - .dm-blog-search { position: relative; } - .dm-blog-search-form { position: relative; } - .dm-blog-search-input { - width: 100%; height: 46px; border: 1.5px solid #e2e8f0; border-radius: 12px; - padding: 0 42px 0 15px; font-size: 14px; font-family: inherit; color: #0f172a; - background: #f8fafc; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; - } - .dm-blog-search-input::placeholder { color: #9c9c9c; } - .dm-blog-search-input:focus { - outline: none; border-color: var(--dm-red); background: #fff; - box-shadow: 0 0 0 3px rgba(192,18,39,0.11); - } - .dm-blog-search-icon { - position: absolute; right: 14px; top: 50%; transform: translateY(-50%); - color: #94a3b8; pointer-events: none; display: flex; - } - .dm-blog-search-results { - position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; - background: #fff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; - box-shadow: 0 18px 42px rgba(15,23,42,0.14); overflow: hidden; - } - .dm-blog-search-results ul { list-style: none; margin: 0; padding: 6px; } - .dm-blog-search-result { - display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; - border-radius: 10px; text-decoration: none; transition: background .15s ease; - } - .dm-blog-search-result:hover { background: #f8fafc; } - .dm-blog-search-result-cat { - font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--dm-red); - } - .dm-blog-search-result-title { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; } - .dm-blog-search-empty { margin: 0; padding: 14px 12px; font-size: 13px; color: #64748b; } - - /* Recent posts */ - .dm-blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; } - .dm-blog-recent-item { display: flex; gap: 13px; align-items: center; text-decoration: none; } - .dm-blog-recent-thumb { - position: relative; flex: 0 0 62px; width: 62px; height: 62px; - border-radius: 13px; overflow: hidden; background: #f1f5f9; - } - .dm-blog-recent-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; } - .dm-blog-recent-title { - font-size: 13.5px; font-weight: 700; color: #1e293b; line-height: 1.35; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-blog-recent-item:hover .dm-blog-recent-title { color: var(--dm-red); } - .dm-blog-recent-date { font-size: 11.5px; font-weight: 600; color: #94a3b8; } - - /* Categories */ - .dm-blog-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } - .dm-blog-category-item { - display: flex; align-items: center; justify-content: space-between; gap: 10px; - padding: 11px 2px; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155 !important; - border-bottom: 1px solid rgba(15,23,42,0.06); transition: color .2s ease, padding-left .2s ease; - } - .dm-blog-categories li:last-child .dm-blog-category-item { border-bottom: none; } - .dm-blog-category-item:hover { color: var(--dm-red); padding-left: 6px; } - .dm-blog-category-item > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } - .dm-blog-category-count { - flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #94a3b8; background: #f1f5f9; - min-width: 24px; height: 22px; border-radius: 7px; display: inline-flex; - align-items: center; justify-content: center; padding: 0 7px; - } - - /* CTA card */ - .dm-blog-cta-card { background: #1f1f1f; border-color: #1f1f1f; } - .dm-blog-cta-title { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; line-height: 1.32 !important; margin: 0 0 10px; letter-spacing: -.2px !important; } - .dm-blog-cta-text { font-size: 13.5px; line-height: 1.6; color: #c7c7c7; margin: 0 0 20px; font-weight: 450; } - .dm-blog-cta-btn { - display: inline-flex; align-items: center; gap: 8px; - background: var(--dm-red); color: #fff !important; font-size: 13.5px; font-weight: 700; - padding: 12px 22px; border-radius: 12px; text-decoration: none; - transition: background .2s ease, transform .2s ease; - } - .dm-blog-cta-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"description\":\"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows.\",\"image\":[\"https://doormile.com/images/blog-post-pic-14.webp\"],\"datePublished\":\"2025-08-07T00:00:00.000Z\",\"dateModified\":\"2025-08-07T00:00:00.000Z\",\"author\":{\"@type\":\"Organization\",\"name\":\"Doormile Team\",\"url\":\"https://doormile.com\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Doormile\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://doormile.com/images/cropped-image-2.png\"}},\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"},\"articleSection\":\"Technology\"}"}}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https://doormile.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https://doormile.com/blog\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Why Mathematical Precision Beats Heuristics in Routing\",\"item\":\"https://doormile.com/blog/why-mathematical-precision-beats-heuristics-in-routing\"}]}"}}],["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":[["$","article",null,{"className":"dm-single-blog","children":[["$","link",null,{"rel":"preload","as":"image","href":"/images/blog-post-pic-14.webp"}],["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3","$L4"]}],"$L5"]}]}]]}],["$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card dm-banner-card","style":{"backgroundImage":"url(/images/blog-post-pic-14.webp)","--hero-overlay":"linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.46) 55%, rgba(0,0,0,0.60) 100%)"},"children":["$","div",null,{"className":"e-con-inner dm-banner-inner","children":[["$","span",null,{"className":"dm-banner-category","children":"Technology"}],["$","h1",null,{"className":"dm-banner-title","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}]}] -4:["$","div",null,{"className":"dm-blog-wrap","children":[["$","div",null,{"className":"dm-meta-bar","children":[["$","nav",null,{"className":"dm-meta-breadcrumb","aria-label":"Breadcrumb","children":["$","ol",null,{"children":[["$","li",null,{"children":["$","$L8",null,{"href":"/","children":"Home"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"children":["$","$L8",null,{"href":"/blog","children":"Blog"}]}],["$","li",null,{"aria-hidden":"true","className":"dm-meta-sep","children":"/"}],["$","li",null,{"aria-current":"page","className":"dm-meta-current","children":"Why Mathematical Precision Beats Heuristics in Routing"}]]}]}],["$","div",null,{"className":"dm-meta-items","children":[["$","span",null,{"className":"dm-meta-item dm-meta-author","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","path",null,{"d":"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}],["$","circle",null,{"cx":"12","cy":"7","r":"4"}]]}],"Doormile Team"]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"2"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}]]}],["$","time",null,{"dateTime":"2025-08-07","children":"Aug 7, 2025"}]]}],["$","span",null,{"className":"dm-meta-item","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","circle",null,{"cx":"12","cy":"12","r":"9"}],["$","polyline",null,{"points":"12 7 12 12 15 14"}]]}],2," min read"]}]]}]]}],["$","div",null,{"className":"dm-blog-layout","children":[["$","div",null,{"className":"dm-blog-main","children":[["$","p",null,{"className":"dm-blog-intro","children":"Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch."}],["$","div",null,{"className":"dm-article-body","children":[["$","$L9","0",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. Why Mathematical Precision Beats Heuristics in Routing looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub."}]}],["$","$L9","1",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Why this matters for fleet teams"}]}],["$","$L9","2",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."}]}],["$","$L9","3",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ul",null,{"className":"dm-article-ul","children":[["$","li","0",{"children":"Fewer vehicles needed for the same number of drops"}],["$","li","1",{"children":"Lower cost per drop through better stop sequencing"}],["$","li","2",{"children":"ETAs that match traffic, distance, and delivery windows"}],["$","li","3",{"children":"Less fuel or charge used per completed order"}]]}]}],["$","$L9","4",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h3",null,{"className":"dm-article-h3","children":"From orders to dispatch"}]}],["$","$L9","5",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."}]}],["$","$L9","6",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","figure",null,{"className":"dm-article-figure","children":[["$","span",null,{"className":"dm-article-figure-img","children":"$La"}],"$Lb"]}]}],"$Lc","$Ld","$Le","$Lf","$L10"]}]]}],"$L11"]}]]}] -12:T2021, - .dm-blog-footer { - font-family: var(--font-manrope), sans-serif; --dm-red: #c01227; --dm-red-hover: #e31d32; - /* The global theme applies 72px top/bottom section padding — strip it so the - inner container is the single source of vertical rhythm (no double gap). */ - padding: 0 !important; - } - /* Neutralize the global theme's 120/80/60px UPPERCASE heading rules */ - .dm-blog-footer :where(h1, h2, h3, h4, h5, h6) { - font-family: var(--font-manrope), sans-serif !important; - text-transform: none !important; - font-style: normal !important; - font-weight: 800; - } - /* Neutralize the theme's .elementor-kit-5 a (red color + underline) */ - .dm-blog-footer a { text-decoration: none !important; } - /* Shared content container — mirrors SingleBlog's .dm-blog-wrap (same 1280px - max-width + 20→40px horizontal padding) so Prev/Next, Related and the CTA - align to the exact same left/right edges as the article body above. - Vertical rhythm: ~64px from the article end to the Prev/Next divider, then a - consistent ~64–72px section→section gap (no 120px+ voids). */ - .dm-blog-footer-inner { - max-width: 1280px; margin: 0 auto; - /* Compact vertical rhythm on an 8px system. Top padding sets the - article→Prev/Next gap (~24–32px); the inter-section gap sets the - Prev/Next→Related gap (~32–48px). No large arbitrary voids. */ - /* Minimal bottom padding — the global site footer already contributes its - own 20px top inset, so the CTA banner sits close to it without a void. */ - padding: clamp(24px, 3vw, 32px) clamp(20px, 4vw, 40px) clamp(8px, 1.5vw, 16px); - display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); - } - @media (max-width: 767px) { - .dm-blog-footer-inner { - padding-left: 16px; - padding-right: 16px; - } - } - - /* Prev / Next */ - .dm-prevnext { - display: grid; grid-template-columns: 1fr 1fr; gap: 20px; - /* Halved from 40px: tight divider→cards spacing without crowding. */ - padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(15,23,42,0.08); - } - @media (max-width: 640px) { .dm-prevnext { grid-template-columns: 1fr; } } - .dm-prevnext-placeholder { display: block; } - .dm-prevnext-card { - display: flex; gap: 16px; align-items: center; padding: 16px; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; - } - .dm-prevnext-card:hover { - transform: translateY(-4px); border-color: rgba(192,18,39,0.2); - box-shadow: 0 16px 34px rgba(192,18,39,0.10); - } - .dm-prevnext-thumb { - position: relative; flex: 0 0 80px; width: 80px; height: 80px; - border-radius: 16px; overflow: hidden; background: #f1f5f9; - } - .dm-prevnext-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; } - .dm-prevnext-next { text-align: right; } - .dm-prevnext-next .dm-prevnext-text { align-items: flex-end; } - .dm-prevnext-label { - display: inline-flex; align-items: center; gap: 6px; - font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--dm-red); - } - .dm-prevnext-cat { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; } - .dm-prevnext-title { - font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.4; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-prevnext-card:hover .dm-prevnext-title { color: var(--dm-red); } - - /* Related */ - .dm-related-heading { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 850 !important; letter-spacing: -.4px !important; - line-height: 1.25 !important; color: #0f172a !important; margin: 0 0 24px; - } - .dm-related-grid { - display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; - } - @media (max-width: 1024px) { .dm-related-grid { grid-template-columns: repeat(2, 1fr); } } - @media (max-width: 700px) { .dm-related-grid { grid-template-columns: 1fr; gap: 24px; } } - - .dm-related-card { - display: flex; flex-direction: column; height: 100%; - background: #fff; border: 1px solid rgba(15,23,42,0.09); border-radius: 22px; - overflow: hidden; box-shadow: 0 4px 24px rgba(15,23,42,0.05); text-decoration: none; - transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), box-shadow .4s ease, border-color .4s ease; - } - .dm-related-card:hover { - transform: translateY(-8px); box-shadow: 0 22px 44px rgba(192,18,39,0.13); - border-color: rgba(192,18,39,0.2); - } - .dm-related-img { - position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f5f9; - } - .dm-related-img img { transition: transform .5s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-img img { transform: scale(1.05); } - .dm-related-badge { - position: absolute; top: 14px; left: 14px; z-index: 5; background: var(--dm-red); color: #fff; - font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; - padding: 5px 11px; border-radius: 8px; box-shadow: 0 4px 12px rgba(192,18,39,0.25); - } - .dm-related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; } - .dm-related-card-title { - font-size: 17px !important; font-weight: 800 !important; color: #1e293b !important; line-height: 1.4 !important; - letter-spacing: -.2px !important; margin: 0 0 10px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - transition: color .2s ease; - } - .dm-related-card:hover .dm-related-card-title { color: var(--dm-red); } - .dm-related-card-excerpt { - font-size: 13.5px; font-weight: 500; color: #64748b; line-height: 1.6; margin: 0 0 18px; - display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; - } - .dm-related-readmore { - margin-top: auto; display: inline-flex; align-items: center; gap: 7px; - font-size: 12.5px; font-weight: 800; color: var(--dm-red); - text-transform: uppercase; letter-spacing: .6px; - } - .dm-related-readmore-arrow { transition: transform .3s cubic-bezier(0.2,0.8,0.2,1); } - .dm-related-card:hover .dm-related-readmore-arrow { transform: translateX(5px); } - - /* Contact CTA banner */ - .dm-blog-contact-cta { - display: flex; align-items: center; justify-content: space-between; gap: 32px; - flex-wrap: wrap; - background: linear-gradient(135deg, #1a1a1a 0%, #2d1417 100%); - border-radius: 30px; padding: clamp(32px, 4vw, 56px); - position: relative; overflow: hidden; - } - .dm-blog-contact-cta::after { - content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; - background: radial-gradient(circle, rgba(192,18,39,0.40), transparent 70%); - pointer-events: none; - } - .dm-blog-contact-cta-content { position: relative; z-index: 1; max-width: 640px; } - .dm-blog-contact-eyebrow { - display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; - letter-spacing: 1.4px; color: #ff8088; margin-bottom: 14px; - } - .dm-blog-contact-title { - font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; line-height: 1.25 !important; - letter-spacing: -.3px !important; color: #ffffff !important; margin: 0 0 12px; text-wrap: balance; - } - .dm-blog-contact-sub { - font-size: 15.5px; line-height: 1.65; color: #e2e2e2; margin: 0; font-weight: 450; - } - .dm-blog-contact-btn { - position: relative; z-index: 1; flex-shrink: 0; - display: inline-flex; align-items: center; justify-content: center; gap: 10px; - background: var(--dm-red); color: #fff !important; font-size: 15px; font-weight: 700; - padding: 16px 32px; border-radius: 16px; text-decoration: none; - box-shadow: 0 10px 26px rgba(192,18,39,0.34); - transition: background .2s ease, transform .2s ease; - } - .dm-blog-contact-btn:hover { background: var(--dm-red-hover); transform: translateY(-2px); } - @media (max-width: 720px) { - .dm-blog-contact-cta { flex-direction: column; align-items: flex-start; gap: 26px; } - .dm-blog-contact-btn { width: 100%; } - } -5:["$","section",null,{"className":"dm-blog-footer","aria-label":"More articles","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$12"}}],"$L13"]}] -6:["$","script","script-0",{"src":"/_next/static/chunks/16tb205t0~jhb.js","async":true}] -7:["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}] -a:["$","$L17",null,{"src":"/images/blog-post-pic-14.webp","alt":"Why Mathematical Precision Beats Heuristics in Routing","fill":true,"sizes":"(max-width: 768px) 100vw, 760px","style":{"objectFit":"cover"}}] -b:["$","figcaption",null,{"children":"Technology: route planning decisions made before dispatch."}] -c:["$","$L9","7",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","blockquote",null,{"className":"dm-article-quote","children":[["$","p",null,{"children":"A route should be checked before the rider leaves, not explained after the customer calls."}],["$","cite",null,{"children":"Doormile Operations"}]]}]}] -d:["$","$L9","8",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","h2",null,{"className":"dm-article-h2","children":"Putting it into practice"}]}] -e:["$","$L9","9",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."}]}] -f:["$","$L9","10",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","ol",null,{"className":"dm-article-ol","children":[["$","li","0",{"children":"Benchmark today's distance, fleet size, and on-time rate."}],["$","li","1",{"children":"Include vehicle capacity, delivery windows, rider shifts, and battery charge."}],["$","li","2",{"children":"Check routes against traffic and customer commitments before dispatch."}],["$","li","3",{"children":"Compare the next dispatch cycle against the old plan."}]]}]}] -10:["$","$L9","11",{"delay":0,"duration":0.6,"yOffset":20,"children":["$","p",null,{"className":"dm-article-p","children":"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}]}] -11:["$","div",null,{"className":"dm-blog-aside-wrap","children":["$","aside",null,{"className":"dm-blog-sidebar","aria-label":"Blog sidebar","children":[["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Search"}],["$","$L18",null,{}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Recent Posts"}],["$","ul",null,{"className":"dm-blog-recent","children":[["$","li","how-ai-is-transforming-last-mile-ev-delivery",{"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","time",null,{"dateTime":"2025-10-02","className":"dm-blog-recent-date","children":"Oct 2, 2025"}]]}]]}]}],["$","li","42-less-distance-insights-from-our-hyderabad-hub",{"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],["$","time",null,{"dateTime":"2025-09-18","className":"dm-blog-recent-date","children":"Sep 18, 2025"}]]}]]}]}],["$","li","miletruth-ai-10-stages-to-smarter-dispatch",{"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","time",null,{"dateTime":"2025-09-05","className":"dm-blog-recent-date","children":"Sep 5, 2025"}]]}]]}]}],["$","li","the-ev-paradox-solving-range-anxiety-for-urban-fleets",{"children":["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-blog-recent-item","children":[["$","span",null,{"className":"dm-blog-recent-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"62px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-blog-recent-meta","children":[["$","span",null,{"className":"dm-blog-recent-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}],["$","time",null,{"dateTime":"2025-08-21","className":"dm-blog-recent-date","children":"Aug 21, 2025"}]]}]]}]}]]}]]}],["$","section",null,{"className":"dm-blog-widget","children":[["$","h2",null,{"className":"dm-blog-widget-title","children":"Categories"}],["$","ul",null,{"className":"dm-blog-categories","children":[["$","li","Case Study",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Case Study"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","EV Fleet",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"EV Fleet"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}],["$","li","Fleet Management",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Fleet Management"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],["$","li","MileTruth",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"MileTruth"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}],"$L19","$L1a","$L1b"]}]]}],"$L1c"]}]}] -13:["$","div",null,{"className":"dm-blog-footer-inner","children":[["$","nav",null,{"className":"dm-prevnext","aria-label":"Article navigation","children":[["$","$L8",null,{"href":"/blog/the-ev-paradox-solving-range-anxiety-for-urban-fleets","className":"dm-prevnext-card dm-prevnext-prev","children":[["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/ev-paradox.webp","alt":"The EV Paradox: Solving Range Anxiety for Urban Fleets","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}],["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":[["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"19","y1":"12","x2":"5","y2":"12"}],["$","polyline",null,{"points":"12 19 5 12 12 5"}]]}],"Previous"]}],["$","span",null,{"className":"dm-prevnext-cat","children":"EV Fleet"}],["$","span",null,{"className":"dm-prevnext-title","children":"The EV Paradox: Solving Range Anxiety for Urban Fleets"}]]}]]}],["$","$L8",null,{"href":"/blog/fleet-reduction-without-compromising-delivery-volume","className":"dm-prevnext-card dm-prevnext-next","children":[["$","span",null,{"className":"dm-prevnext-text","children":[["$","span",null,{"className":"dm-prevnext-label","children":["Next",["$","svg",null,{"width":"15","height":"15","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}],["$","span",null,{"className":"dm-prevnext-cat","children":"Fleet Management"}],["$","span",null,{"className":"dm-prevnext-title","children":"Fleet Reduction Without Compromising Delivery Volume"}]]}],["$","span",null,{"className":"dm-prevnext-thumb","children":["$","$L17",null,{"src":"/images/blog-post-pic-8.webp","alt":"Fleet Reduction Without Compromising Delivery Volume","fill":true,"sizes":"80px","style":{"objectFit":"cover"}}]}]]}]]}],["$","div",null,{"className":"dm-related","children":[["$","h2",null,{"className":"dm-related-heading","children":"Related Articles"}],["$","div",null,{"className":"dm-related-grid","children":[["$","$L9","how-ai-is-transforming-last-mile-ev-delivery",{"delay":0,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/how-ai-is-transforming-last-mile-ev-delivery","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-17.webp","alt":"How Better Planning Improves Last-Mile EV Delivery","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Technology"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"How Better Planning Improves Last-Mile EV Delivery"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}],["$","$L9","42-less-distance-insights-from-our-hyderabad-hub",{"delay":0.08,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/42-less-distance-insights-from-our-hyderabad-hub","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-15.webp","alt":"42% Less Distance: Insights from Our Hyderabad Hub","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"Case Study"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"42% Less Distance: Insights from Our Hyderabad Hub"}],"$L1d","$L1e"]}]]}]}],"$L1f"]}]]}],"$L20"]}] -16:null -19:["$","li","Operations",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Operations"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1a:["$","li","Sustainability",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Sustainability"}],["$","span",null,{"className":"dm-blog-category-count","children":1}]]}]}] -1b:["$","li","Technology",{"children":["$","$L8",null,{"href":"/blog","className":"dm-blog-category-item","children":[["$","span",null,{"children":"Technology"}],["$","span",null,{"className":"dm-blog-category-count","children":2}]]}]}] -1c:["$","section",null,{"className":"dm-blog-widget dm-blog-cta-card","children":[["$","h2",null,{"className":"dm-blog-cta-title","children":"Planning delivery routes?"}],["$","p",null,{"className":"dm-blog-cta-text","children":"Talk to us about reducing wasted distance, missed windows, and avoidable vehicle time."}],["$","$L8",null,{"href":"/contact","className":"dm-blog-cta-btn","children":["Contact Us",["$","svg",null,{"width":"18","height":"18","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] -1d:["$","p",null,{"className":"dm-related-card-excerpt","children":"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning."}] -1e:["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}] -1f:["$","$L9","miletruth-ai-10-stages-to-smarter-dispatch",{"delay":0.16,"duration":0.7,"yOffset":30,"children":["$","$L8",null,{"href":"/blog/miletruth-ai-10-stages-to-smarter-dispatch","className":"dm-related-card","children":[["$","div",null,{"className":"dm-related-img","children":[["$","$L17",null,{"src":"/images/blog-post-pic-31.webp","alt":"MileTruth™: 10 Stages to Smarter Dispatch","fill":true,"sizes":"(max-width: 700px) 100vw, (max-width: 1024px) 50vw, 33vw","style":{"objectFit":"cover"}}],["$","span",null,{"className":"dm-related-badge","children":"MileTruth"}]]}],["$","div",null,{"className":"dm-related-body","children":[["$","h3",null,{"className":"dm-related-card-title","children":"MileTruth™: 10 Stages to Smarter Dispatch"}],["$","p",null,{"className":"dm-related-card-excerpt","children":"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub."}],["$","span",null,{"className":"dm-related-readmore","children":["Read More",["$","svg",null,{"className":"dm-related-readmore-arrow","width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}]]}]}] -20:["$","div",null,{"className":"dm-blog-contact-cta","children":[["$","div",null,{"className":"dm-blog-contact-cta-content","children":[["$","span",null,{"className":"dm-blog-contact-eyebrow","children":"Let's talk logistics"}],["$","h2",null,{"className":"dm-blog-contact-title","children":"Ready to move smarter with Doormile?"}],["$","p",null,{"className":"dm-blog-contact-sub","children":"Tell us about your fleet and routes — we'll show you where the distance, vehicles and emissions are hiding."}]]}],["$","$L8",null,{"href":"/contact","className":"dm-blog-contact-btn","children":["Get in Touch",["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.5","strokeLinecap":"round","strokeLinejoin":"round","aria-hidden":"true","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"12 5 19 12 12 19"}]]}]]}]]}] diff --git a/.next/server/app/contact.html b/.next/server/app/contact.html deleted file mode 100644 index 8ecff11..0000000 --- a/.next/server/app/contact.html +++ /dev/null @@ -1,914 +0,0 @@ -Contact Us – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Delivering Trust.Beyond Boundaries.

\ No newline at end of file diff --git a/.next/server/app/contact.meta b/.next/server/app/contact.meta deleted file mode 100644 index ed4b90f..0000000 --- a/.next/server/app/contact.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/contact/layout,_N_T_/contact/page,_N_T_/contact" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/contact/__PAGE__", - "/contact", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/contact.rsc b/.next/server/app/contact.rsc deleted file mode 100644 index 075d2b5..0000000 --- a/.next/server/app/contact.rsc +++ /dev/null @@ -1,275 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -14:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/00fiud~fayo7s.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-3.webp","image"] -c:T1c00, - .contacts-hero-custom { - background-color: #0b0b0b !important; - background-image: url('/images/home2-banner-3.webp') !important; - background-size: cover !important; - background-position: center !important; - } - - .contacts-hero-card-custom { - position: relative !important; - width: 100% !important; - height: 100% !important; - display: flex !important; - align-items: center !important; - justify-content: center !important; - flex-direction: column !important; - box-sizing: border-box !important; - overflow: hidden !important; - } - - .contacts-hero-bg-overlay { - position: absolute !important; - inset: 0 !important; - /* Lighter wash so the red van / sunset stays vivid like the reference, - while keeping the centered heading readable. */ - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.62) 100%) !important; - z-index: 1 !important; - } - - /* Ambient Glowing Orbs */ - .contacts-hero-glow-red { - position: absolute !important; - bottom: -15% !important; - right: -10% !important; - width: min(500px, 75vw) !important; - height: min(500px, 75vw) !important; - background: radial-gradient(circle, rgba(192, 18, 39, 0.24) 0%, rgba(192, 18, 39, 0) 70%) !important; - filter: blur(70px) !important; - pointer-events: none !important; - z-index: 1 !important; - animation: float-glow 10s ease-in-out infinite alternate !important; - } - - .contacts-hero-glow-blue { - position: absolute !important; - top: -15% !important; - left: -10% !important; - width: min(450px, 60vw) !important; - height: min(450px, 60vw) !important; - background: radial-gradient(circle, rgba(0, 150, 255, 0.06) 0%, rgba(0, 150, 255, 0) 70%) !important; - filter: blur(75px) !important; - pointer-events: none !important; - z-index: 1 !important; - } - - /* Abstract Tech Grid */ - .contacts-hero-grid { - position: absolute !important; - inset: 0 !important; - background-image: - linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), - linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important; - background-size: 50px 50px !important; - opacity: 0.8 !important; - pointer-events: none !important; - z-index: 2 !important; - } - - /* Center content — card frame removed (no background, border, blur or - shadow); the text sits directly on the hero background. */ - .contacts-hero-glass-card { - position: relative !important; - z-index: 3 !important; - background: transparent !important; - backdrop-filter: none !important; - -webkit-backdrop-filter: none !important; - border: none !important; - border-radius: 0 !important; - padding: 0 24px !important; - max-width: 1500px !important; - width: 92% !important; - box-shadow: none !important; - text-align: center !important; - } - - .contacts-hero-glass-card:hover { - transform: none !important; - box-shadow: none !important; - border-color: transparent !important; - } - - /* Hero headline — large, light, reference-matched display type. - Size scales with the viewport so the line-to-container width ratio - stays constant; the cap keeps the longest line inside the 1500px - container (with nowrap on desktop) so it can never overflow/clip. */ - .contacts-hero-title { - font-size: clamp(34px, 5.9vw, 98px) !important; - font-weight: 400 !important; - line-height: 0.95 !important; - color: #ffffff !important; - text-transform: uppercase !important; - letter-spacing: -0.02em !important; - margin: 0 0 28px 0 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-title-line { - display: block !important; - } - - /* Keep each line intact on desktop — never split SYSTEM or PROMISE/KEPT */ - @media (min-width: 1024px) { - .contacts-hero-title-line { - white-space: nowrap !important; - } - } - - .contacts-hero-title-highlight { - color: #c01227 !important; - } - - /* Description text */ - .contacts-hero-desc { - font-size: clamp(15px, 1.3vw, 19px) !important; - line-height: 1.6 !important; - color: rgba(255, 255, 255, 0.82) !important; - max-width: 640px !important; - margin: 0 auto 24px auto !important; - font-weight: 500 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-desc-trademark { - color: #ffffff !important; - font-weight: 700 !important; - white-space: nowrap !important; - } - - /* Breadcrumb capsule */ - .contacts-hero-breadcrumbs { - display: inline-flex !important; - align-items: center !important; - gap: 10px !important; - background: rgba(255, 255, 255, 0.04) !important; - border: 1px solid rgba(255, 255, 255, 0.08) !important; - padding: 8px 22px !important; - border-radius: 30px !important; - transition: background 0.3s, border-color 0.3s !important; - } - - .contacts-hero-breadcrumbs:hover { - background: rgba(255, 255, 255, 0.08) !important; - border-color: rgba(255, 255, 255, 0.15) !important; - } - - .contacts-breadcrumb-link { - color: rgba(255, 255, 255, 0.65) !important; - text-decoration: none !important; - font-size: 13px !important; - font-weight: 600 !important; - transition: color 0.2s !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-breadcrumb-link:hover { - color: #ffffff !important; - } - - .contacts-breadcrumb-del { - color: rgba(255, 255, 255, 0.3) !important; - font-size: 11px !important; - } - - .contacts-breadcrumb-cur { - color: #C01227 !important; - font-size: 13px !important; - font-weight: 700 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - @keyframes float-glow { - 0% { transform: translate(0, 0) scale(1); } - 100% { transform: translate(-15px, -25px) scale(1.08); } - } - - @media (max-width: 768px) { - .contacts-hero-glass-card { - padding: 0 16px !important; - width: 95% !important; - } - .contacts-hero-title { - letter-spacing: -1px !important; - } - } - 0:{"P":null,"c":["","contact"],"q":"","i":false,"f":[[["",{"children":["contact",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"41","className":"elementor elementor-41","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],"$Le"]}]}]}]}],["$Lf","$L10"],"$L11"]}],{},null,false,null]},null,false,"$@12"]},null,false,null],"$L13",false]],"m":"$undefined","G":["$14",["$L15"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -17:I[23466,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vp~o9giaq0t~.js"],"default"] -18:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -19:"$Sreact.suspense" -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1e:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card contacts-hero-custom","children":["$","div",null,{"className":"contacts-hero-card-custom","children":[["$","div",null,{"className":"contacts-hero-bg-overlay"}],["$","div",null,{"className":"contacts-hero-grid"}],["$","div",null,{"className":"contacts-hero-glow-red"}],["$","div",null,{"className":"contacts-hero-glow-blue"}],["$","div",null,{"className":"contacts-hero-glass-card","children":["$","h1",null,{"className":"contacts-hero-title","children":[["$","span",null,{"className":"contacts-hero-title-line","children":"Delivering Trust."}],["$","span",null,{"className":"contacts-hero-title-line","children":["Beyond ",["$","span",null,{"className":"contacts-hero-title-highlight","children":"Boundaries."}]]}]]}]}]]}]}]}] -16:T6ac, - .elementor-element-7304a53 { - --padding-left: 20px; - --padding-right: 20px; - --margin-top: 12px; - --margin-bottom: 0px; - /* Reduce the large gap above the map (was 40px). */ - margin-top: 12px !important; - padding-top: 0 !important; - /* Real side padding so the map is inset like the hero/footer sections - (the --padding-* vars only work with elementor-frontend.css, which - isn't loaded, so the map was going edge-to-edge). Matches - .custom-standard-hero-container: 20px desktop / 10px mobile. */ - padding-left: 20px; - padding-right: 20px; - box-sizing: border-box; - /* The section computes to display:inline here (the --display:flex var - isn't mapped without elementor-frontend.css), so its padding never - constrained the block child. Force flex so the padding insets the map. */ - display: flex; - flex-direction: column; - width: 100%; - } - .elementor-element-7304a53 .elementor-custom-embed { - /* Rounded on all corners so the map reads as a self-contained card - (bottom was square before, leaving a hard edge above the footer gap). */ - border-radius: 25px; - overflow: hidden; - background: transparent; - line-height: 0; - } - @media (max-width: 840px) { - .elementor-element-7304a53 { - padding-left: 10px; - padding-right: 10px; - } - } - @media (max-width: 768px) { - .elementor-element-7304a53 .elementor-custom-embed { height: 360px !important; } - } - e:["$","div",null,{"className":"elementor-element elementor-element-7304a53 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"7304a53","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$16"}}],["$","div",null,{"className":"elementor-element elementor-element-5a3eed4 elementor-widget","data-id":"5a3eed4","data-element_type":"widget","data-e-type":"widget","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"elementor-custom-embed","style":{"width":"100%","height":"500px"},"children":["$","$L17",null,{}]}]}]}]]}] -f:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/00fiud~fayo7s.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -10:["$","script","script-0",{"src":"/_next/static/chunks/0vp~o9giaq0t~.js","async":true,"nonce":"$undefined"}] -11:["$","$L18",null,{"children":["$","$19",null,{"name":"Next.MetadataOutlet","children":"$@1a"}]}] -1b:[] -12:"$W1b" -13:["$","$1","h",{"children":[null,["$","$L1c",null,{"children":"$L1d"}],["$","div",null,{"hidden":true,"children":["$","$L1e",null,{"children":["$","$19",null,{"name":"Next.Metadata","children":"$L1f"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -15:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -20:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -1a:null -1f:[["$","title","0",{"children":"Contact Us – Doormile"}],["$","meta","1",{"name":"description","content":"Get in touch with Doormile's last-mile logistics team. Call us, email, visit our Gachibowli, Hyderabad office, or drop a message."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L20","7",{}]] diff --git a/.next/server/app/contact.segments/_full.segment.rsc b/.next/server/app/contact.segments/_full.segment.rsc deleted file mode 100644 index 075d2b5..0000000 --- a/.next/server/app/contact.segments/_full.segment.rsc +++ /dev/null @@ -1,275 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -14:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/00fiud~fayo7s.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-3.webp","image"] -c:T1c00, - .contacts-hero-custom { - background-color: #0b0b0b !important; - background-image: url('/images/home2-banner-3.webp') !important; - background-size: cover !important; - background-position: center !important; - } - - .contacts-hero-card-custom { - position: relative !important; - width: 100% !important; - height: 100% !important; - display: flex !important; - align-items: center !important; - justify-content: center !important; - flex-direction: column !important; - box-sizing: border-box !important; - overflow: hidden !important; - } - - .contacts-hero-bg-overlay { - position: absolute !important; - inset: 0 !important; - /* Lighter wash so the red van / sunset stays vivid like the reference, - while keeping the centered heading readable. */ - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.62) 100%) !important; - z-index: 1 !important; - } - - /* Ambient Glowing Orbs */ - .contacts-hero-glow-red { - position: absolute !important; - bottom: -15% !important; - right: -10% !important; - width: min(500px, 75vw) !important; - height: min(500px, 75vw) !important; - background: radial-gradient(circle, rgba(192, 18, 39, 0.24) 0%, rgba(192, 18, 39, 0) 70%) !important; - filter: blur(70px) !important; - pointer-events: none !important; - z-index: 1 !important; - animation: float-glow 10s ease-in-out infinite alternate !important; - } - - .contacts-hero-glow-blue { - position: absolute !important; - top: -15% !important; - left: -10% !important; - width: min(450px, 60vw) !important; - height: min(450px, 60vw) !important; - background: radial-gradient(circle, rgba(0, 150, 255, 0.06) 0%, rgba(0, 150, 255, 0) 70%) !important; - filter: blur(75px) !important; - pointer-events: none !important; - z-index: 1 !important; - } - - /* Abstract Tech Grid */ - .contacts-hero-grid { - position: absolute !important; - inset: 0 !important; - background-image: - linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), - linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important; - background-size: 50px 50px !important; - opacity: 0.8 !important; - pointer-events: none !important; - z-index: 2 !important; - } - - /* Center content — card frame removed (no background, border, blur or - shadow); the text sits directly on the hero background. */ - .contacts-hero-glass-card { - position: relative !important; - z-index: 3 !important; - background: transparent !important; - backdrop-filter: none !important; - -webkit-backdrop-filter: none !important; - border: none !important; - border-radius: 0 !important; - padding: 0 24px !important; - max-width: 1500px !important; - width: 92% !important; - box-shadow: none !important; - text-align: center !important; - } - - .contacts-hero-glass-card:hover { - transform: none !important; - box-shadow: none !important; - border-color: transparent !important; - } - - /* Hero headline — large, light, reference-matched display type. - Size scales with the viewport so the line-to-container width ratio - stays constant; the cap keeps the longest line inside the 1500px - container (with nowrap on desktop) so it can never overflow/clip. */ - .contacts-hero-title { - font-size: clamp(34px, 5.9vw, 98px) !important; - font-weight: 400 !important; - line-height: 0.95 !important; - color: #ffffff !important; - text-transform: uppercase !important; - letter-spacing: -0.02em !important; - margin: 0 0 28px 0 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-title-line { - display: block !important; - } - - /* Keep each line intact on desktop — never split SYSTEM or PROMISE/KEPT */ - @media (min-width: 1024px) { - .contacts-hero-title-line { - white-space: nowrap !important; - } - } - - .contacts-hero-title-highlight { - color: #c01227 !important; - } - - /* Description text */ - .contacts-hero-desc { - font-size: clamp(15px, 1.3vw, 19px) !important; - line-height: 1.6 !important; - color: rgba(255, 255, 255, 0.82) !important; - max-width: 640px !important; - margin: 0 auto 24px auto !important; - font-weight: 500 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-desc-trademark { - color: #ffffff !important; - font-weight: 700 !important; - white-space: nowrap !important; - } - - /* Breadcrumb capsule */ - .contacts-hero-breadcrumbs { - display: inline-flex !important; - align-items: center !important; - gap: 10px !important; - background: rgba(255, 255, 255, 0.04) !important; - border: 1px solid rgba(255, 255, 255, 0.08) !important; - padding: 8px 22px !important; - border-radius: 30px !important; - transition: background 0.3s, border-color 0.3s !important; - } - - .contacts-hero-breadcrumbs:hover { - background: rgba(255, 255, 255, 0.08) !important; - border-color: rgba(255, 255, 255, 0.15) !important; - } - - .contacts-breadcrumb-link { - color: rgba(255, 255, 255, 0.65) !important; - text-decoration: none !important; - font-size: 13px !important; - font-weight: 600 !important; - transition: color 0.2s !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-breadcrumb-link:hover { - color: #ffffff !important; - } - - .contacts-breadcrumb-del { - color: rgba(255, 255, 255, 0.3) !important; - font-size: 11px !important; - } - - .contacts-breadcrumb-cur { - color: #C01227 !important; - font-size: 13px !important; - font-weight: 700 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - @keyframes float-glow { - 0% { transform: translate(0, 0) scale(1); } - 100% { transform: translate(-15px, -25px) scale(1.08); } - } - - @media (max-width: 768px) { - .contacts-hero-glass-card { - padding: 0 16px !important; - width: 95% !important; - } - .contacts-hero-title { - letter-spacing: -1px !important; - } - } - 0:{"P":null,"c":["","contact"],"q":"","i":false,"f":[[["",{"children":["contact",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"41","className":"elementor elementor-41","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],"$Le"]}]}]}]}],["$Lf","$L10"],"$L11"]}],{},null,false,null]},null,false,"$@12"]},null,false,null],"$L13",false]],"m":"$undefined","G":["$14",["$L15"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -17:I[23466,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vp~o9giaq0t~.js"],"default"] -18:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -19:"$Sreact.suspense" -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1e:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card contacts-hero-custom","children":["$","div",null,{"className":"contacts-hero-card-custom","children":[["$","div",null,{"className":"contacts-hero-bg-overlay"}],["$","div",null,{"className":"contacts-hero-grid"}],["$","div",null,{"className":"contacts-hero-glow-red"}],["$","div",null,{"className":"contacts-hero-glow-blue"}],["$","div",null,{"className":"contacts-hero-glass-card","children":["$","h1",null,{"className":"contacts-hero-title","children":[["$","span",null,{"className":"contacts-hero-title-line","children":"Delivering Trust."}],["$","span",null,{"className":"contacts-hero-title-line","children":["Beyond ",["$","span",null,{"className":"contacts-hero-title-highlight","children":"Boundaries."}]]}]]}]}]]}]}]}] -16:T6ac, - .elementor-element-7304a53 { - --padding-left: 20px; - --padding-right: 20px; - --margin-top: 12px; - --margin-bottom: 0px; - /* Reduce the large gap above the map (was 40px). */ - margin-top: 12px !important; - padding-top: 0 !important; - /* Real side padding so the map is inset like the hero/footer sections - (the --padding-* vars only work with elementor-frontend.css, which - isn't loaded, so the map was going edge-to-edge). Matches - .custom-standard-hero-container: 20px desktop / 10px mobile. */ - padding-left: 20px; - padding-right: 20px; - box-sizing: border-box; - /* The section computes to display:inline here (the --display:flex var - isn't mapped without elementor-frontend.css), so its padding never - constrained the block child. Force flex so the padding insets the map. */ - display: flex; - flex-direction: column; - width: 100%; - } - .elementor-element-7304a53 .elementor-custom-embed { - /* Rounded on all corners so the map reads as a self-contained card - (bottom was square before, leaving a hard edge above the footer gap). */ - border-radius: 25px; - overflow: hidden; - background: transparent; - line-height: 0; - } - @media (max-width: 840px) { - .elementor-element-7304a53 { - padding-left: 10px; - padding-right: 10px; - } - } - @media (max-width: 768px) { - .elementor-element-7304a53 .elementor-custom-embed { height: 360px !important; } - } - e:["$","div",null,{"className":"elementor-element elementor-element-7304a53 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"7304a53","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$16"}}],["$","div",null,{"className":"elementor-element elementor-element-5a3eed4 elementor-widget","data-id":"5a3eed4","data-element_type":"widget","data-e-type":"widget","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"elementor-custom-embed","style":{"width":"100%","height":"500px"},"children":["$","$L17",null,{}]}]}]}]]}] -f:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/00fiud~fayo7s.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -10:["$","script","script-0",{"src":"/_next/static/chunks/0vp~o9giaq0t~.js","async":true,"nonce":"$undefined"}] -11:["$","$L18",null,{"children":["$","$19",null,{"name":"Next.MetadataOutlet","children":"$@1a"}]}] -1b:[] -12:"$W1b" -13:["$","$1","h",{"children":[null,["$","$L1c",null,{"children":"$L1d"}],["$","div",null,{"hidden":true,"children":["$","$L1e",null,{"children":["$","$19",null,{"name":"Next.Metadata","children":"$L1f"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -15:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -20:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -1a:null -1f:[["$","title","0",{"children":"Contact Us – Doormile"}],["$","meta","1",{"name":"description","content":"Get in touch with Doormile's last-mile logistics team. Call us, email, visit our Gachibowli, Hyderabad office, or drop a message."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L20","7",{}]] diff --git a/.next/server/app/contact.segments/_head.segment.rsc b/.next/server/app/contact.segments/_head.segment.rsc deleted file mode 100644 index a90dc55..0000000 --- a/.next/server/app/contact.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Contact Us – Doormile"}],["$","meta","1",{"name":"description","content":"Get in touch with Doormile's last-mile logistics team. Call us, email, visit our Gachibowli, Hyderabad office, or drop a message."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/contact.segments/_index.segment.rsc b/.next/server/app/contact.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/contact.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/contact.segments/_tree.segment.rsc b/.next/server/app/contact.segments/_tree.segment.rsc deleted file mode 100644 index 2db1e81..0000000 --- a/.next/server/app/contact.segments/_tree.segment.rsc +++ /dev/null @@ -1,11 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/00fiud~fayo7s.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -:HL["/images/home2-banner-3.webp","image"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"contact","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/contact.segments/contact.segment.rsc b/.next/server/app/contact.segments/contact.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/contact.segments/contact.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/contact.segments/contact/__PAGE__.segment.rsc b/.next/server/app/contact.segments/contact/__PAGE__.segment.rsc deleted file mode 100644 index 29d889c..0000000 --- a/.next/server/app/contact.segments/contact/__PAGE__.segment.rsc +++ /dev/null @@ -1,246 +0,0 @@ -1:"$Sreact.fragment" -9:I[23466,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vp~o9giaq0t~.js"],"default"] -a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -b:"$Sreact.suspense" -:HL["/_next/static/chunks/00fiud~fayo7s.css","style"] -2:T1c00, - .contacts-hero-custom { - background-color: #0b0b0b !important; - background-image: url('/images/home2-banner-3.webp') !important; - background-size: cover !important; - background-position: center !important; - } - - .contacts-hero-card-custom { - position: relative !important; - width: 100% !important; - height: 100% !important; - display: flex !important; - align-items: center !important; - justify-content: center !important; - flex-direction: column !important; - box-sizing: border-box !important; - overflow: hidden !important; - } - - .contacts-hero-bg-overlay { - position: absolute !important; - inset: 0 !important; - /* Lighter wash so the red van / sunset stays vivid like the reference, - while keeping the centered heading readable. */ - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.62) 100%) !important; - z-index: 1 !important; - } - - /* Ambient Glowing Orbs */ - .contacts-hero-glow-red { - position: absolute !important; - bottom: -15% !important; - right: -10% !important; - width: min(500px, 75vw) !important; - height: min(500px, 75vw) !important; - background: radial-gradient(circle, rgba(192, 18, 39, 0.24) 0%, rgba(192, 18, 39, 0) 70%) !important; - filter: blur(70px) !important; - pointer-events: none !important; - z-index: 1 !important; - animation: float-glow 10s ease-in-out infinite alternate !important; - } - - .contacts-hero-glow-blue { - position: absolute !important; - top: -15% !important; - left: -10% !important; - width: min(450px, 60vw) !important; - height: min(450px, 60vw) !important; - background: radial-gradient(circle, rgba(0, 150, 255, 0.06) 0%, rgba(0, 150, 255, 0) 70%) !important; - filter: blur(75px) !important; - pointer-events: none !important; - z-index: 1 !important; - } - - /* Abstract Tech Grid */ - .contacts-hero-grid { - position: absolute !important; - inset: 0 !important; - background-image: - linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), - linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important; - background-size: 50px 50px !important; - opacity: 0.8 !important; - pointer-events: none !important; - z-index: 2 !important; - } - - /* Center content — card frame removed (no background, border, blur or - shadow); the text sits directly on the hero background. */ - .contacts-hero-glass-card { - position: relative !important; - z-index: 3 !important; - background: transparent !important; - backdrop-filter: none !important; - -webkit-backdrop-filter: none !important; - border: none !important; - border-radius: 0 !important; - padding: 0 24px !important; - max-width: 1500px !important; - width: 92% !important; - box-shadow: none !important; - text-align: center !important; - } - - .contacts-hero-glass-card:hover { - transform: none !important; - box-shadow: none !important; - border-color: transparent !important; - } - - /* Hero headline — large, light, reference-matched display type. - Size scales with the viewport so the line-to-container width ratio - stays constant; the cap keeps the longest line inside the 1500px - container (with nowrap on desktop) so it can never overflow/clip. */ - .contacts-hero-title { - font-size: clamp(34px, 5.9vw, 98px) !important; - font-weight: 400 !important; - line-height: 0.95 !important; - color: #ffffff !important; - text-transform: uppercase !important; - letter-spacing: -0.02em !important; - margin: 0 0 28px 0 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-title-line { - display: block !important; - } - - /* Keep each line intact on desktop — never split SYSTEM or PROMISE/KEPT */ - @media (min-width: 1024px) { - .contacts-hero-title-line { - white-space: nowrap !important; - } - } - - .contacts-hero-title-highlight { - color: #c01227 !important; - } - - /* Description text */ - .contacts-hero-desc { - font-size: clamp(15px, 1.3vw, 19px) !important; - line-height: 1.6 !important; - color: rgba(255, 255, 255, 0.82) !important; - max-width: 640px !important; - margin: 0 auto 24px auto !important; - font-weight: 500 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-hero-desc-trademark { - color: #ffffff !important; - font-weight: 700 !important; - white-space: nowrap !important; - } - - /* Breadcrumb capsule */ - .contacts-hero-breadcrumbs { - display: inline-flex !important; - align-items: center !important; - gap: 10px !important; - background: rgba(255, 255, 255, 0.04) !important; - border: 1px solid rgba(255, 255, 255, 0.08) !important; - padding: 8px 22px !important; - border-radius: 30px !important; - transition: background 0.3s, border-color 0.3s !important; - } - - .contacts-hero-breadcrumbs:hover { - background: rgba(255, 255, 255, 0.08) !important; - border-color: rgba(255, 255, 255, 0.15) !important; - } - - .contacts-breadcrumb-link { - color: rgba(255, 255, 255, 0.65) !important; - text-decoration: none !important; - font-size: 13px !important; - font-weight: 600 !important; - transition: color 0.2s !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - .contacts-breadcrumb-link:hover { - color: #ffffff !important; - } - - .contacts-breadcrumb-del { - color: rgba(255, 255, 255, 0.3) !important; - font-size: 11px !important; - } - - .contacts-breadcrumb-cur { - color: #C01227 !important; - font-size: 13px !important; - font-weight: 700 !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - } - - @keyframes float-glow { - 0% { transform: translate(0, 0) scale(1); } - 100% { transform: translate(-15px, -25px) scale(1.08); } - } - - @media (max-width: 768px) { - .contacts-hero-glass-card { - padding: 0 16px !important; - width: 95% !important; - } - .contacts-hero-title { - letter-spacing: -1px !important; - } - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"41","className":"elementor elementor-41","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3"],"$L4"]}]}]}]}],["$L5","$L6"],"$L7"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"custom-standard-hero-container","children":["$","div",null,{"className":"custom-standard-hero-card contacts-hero-custom","children":["$","div",null,{"className":"contacts-hero-card-custom","children":[["$","div",null,{"className":"contacts-hero-bg-overlay"}],["$","div",null,{"className":"contacts-hero-grid"}],["$","div",null,{"className":"contacts-hero-glow-red"}],["$","div",null,{"className":"contacts-hero-glow-blue"}],["$","div",null,{"className":"contacts-hero-glass-card","children":["$","h1",null,{"className":"contacts-hero-title","children":[["$","span",null,{"className":"contacts-hero-title-line","children":"Delivering Trust."}],["$","span",null,{"className":"contacts-hero-title-line","children":["Beyond ",["$","span",null,{"className":"contacts-hero-title-highlight","children":"Boundaries."}]]}]]}]}]]}]}]}] -8:T6ac, - .elementor-element-7304a53 { - --padding-left: 20px; - --padding-right: 20px; - --margin-top: 12px; - --margin-bottom: 0px; - /* Reduce the large gap above the map (was 40px). */ - margin-top: 12px !important; - padding-top: 0 !important; - /* Real side padding so the map is inset like the hero/footer sections - (the --padding-* vars only work with elementor-frontend.css, which - isn't loaded, so the map was going edge-to-edge). Matches - .custom-standard-hero-container: 20px desktop / 10px mobile. */ - padding-left: 20px; - padding-right: 20px; - box-sizing: border-box; - /* The section computes to display:inline here (the --display:flex var - isn't mapped without elementor-frontend.css), so its padding never - constrained the block child. Force flex so the padding insets the map. */ - display: flex; - flex-direction: column; - width: 100%; - } - .elementor-element-7304a53 .elementor-custom-embed { - /* Rounded on all corners so the map reads as a self-contained card - (bottom was square before, leaving a hard edge above the footer gap). */ - border-radius: 25px; - overflow: hidden; - background: transparent; - line-height: 0; - } - @media (max-width: 840px) { - .elementor-element-7304a53 { - padding-left: 10px; - padding-right: 10px; - } - } - @media (max-width: 768px) { - .elementor-element-7304a53 .elementor-custom-embed { height: 360px !important; } - } - 4:["$","div",null,{"className":"elementor-element elementor-element-7304a53 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"7304a53","data-element_type":"container","data-e-type":"container","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$8"}}],["$","div",null,{"className":"elementor-element elementor-element-5a3eed4 elementor-widget","data-id":"5a3eed4","data-element_type":"widget","data-e-type":"widget","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"elementor-custom-embed","style":{"width":"100%","height":"500px"},"children":["$","$L9",null,{}]}]}]}]]}] -5:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/00fiud~fayo7s.css","precedence":"next"}] -6:["$","script","script-0",{"src":"/_next/static/chunks/0vp~o9giaq0t~.js","async":true}] -7:["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}] -c:null diff --git a/.next/server/app/contact/page.js b/.next/server/app/contact/page.js deleted file mode 100644 index 70ca35c..0000000 --- a/.next/server/app/contact/page.js +++ /dev/null @@ -1,15 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/contact/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__12mff8~._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01bbzeh.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(73006) -module.exports=R.m(73006).exports diff --git a/.next/server/app/contact/page.js.map b/.next/server/app/contact/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/contact/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/contact/page.js.nft.json b/.next/server/app/contact/page.js.nft.json deleted file mode 100644 index ef4f071..0000000 --- a/.next/server/app/contact/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__12mff8~._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_12x1.3y._.js","../../chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01bbzeh.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/contact/page/app-paths-manifest.json b/.next/server/app/contact/page/app-paths-manifest.json deleted file mode 100644 index bedfb9a..0000000 --- a/.next/server/app/contact/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/contact/page": "app/contact/page.js" -} \ No newline at end of file diff --git a/.next/server/app/contact/page/build-manifest.json b/.next/server/app/contact/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/contact/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/contact/page/next-font-manifest.json b/.next/server/app/contact/page/next-font-manifest.json deleted file mode 100644 index 5ef010a..0000000 --- a/.next/server/app/contact/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/contact/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/contact/page/react-loadable-manifest.json b/.next/server/app/contact/page/react-loadable-manifest.json deleted file mode 100644 index 857e595..0000000 --- a/.next/server/app/contact/page/react-loadable-manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "42391": { - "id": 42391, - "files": [ - "static/chunks/0t48hzs_6fshe.css", - "static/chunks/0ht_jt035hxfz.js" - ] - } -} \ No newline at end of file diff --git a/.next/server/app/contact/page/server-reference-manifest.json b/.next/server/app/contact/page/server-reference-manifest.json deleted file mode 100644 index ab2c1db..0000000 --- a/.next/server/app/contact/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/contact/page": { - "moduleId": 8829, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/contact/page_client-reference-manifest.js b/.next/server/app/contact/page_client-reference-manifest.js deleted file mode 100644 index df02cb7..0000000 --- a/.next/server/app/contact/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/contact/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/map/ContactMapEmbed.tsx ":{"id":23466,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vp~o9giaq0t~.js"],"async":false},"[project]/src/components/map/ContactMapEmbed.tsx":{"id":23466,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vp~o9giaq0t~.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"23466":{"*":{"id":40408,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_12x1.3y._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"23466":{"*":{"id":75588,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/contact/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false},{"path":"static/chunks/00fiud~fayo7s.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/contact/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/0vp~o9giaq0t~.js"]}}; - diff --git a/.next/server/app/cookie-policy.html b/.next/server/app/cookie-policy.html deleted file mode 100644 index 147a9fc..0000000 --- a/.next/server/app/cookie-policy.html +++ /dev/null @@ -1,853 +0,0 @@ -Cookie Policy – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

\ No newline at end of file diff --git a/.next/server/app/cookie-policy.meta b/.next/server/app/cookie-policy.meta deleted file mode 100644 index 515d611..0000000 --- a/.next/server/app/cookie-policy.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/cookie-policy/layout,_N_T_/cookie-policy/page,_N_T_/cookie-policy" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/cookie-policy/__PAGE__", - "/cookie-policy", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/cookie-policy.rsc b/.next/server/app/cookie-policy.rsc deleted file mode 100644 index a4f5f70..0000000 --- a/.next/server/app/cookie-policy.rsc +++ /dev/null @@ -1,215 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -15:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","cookie-policy"],"q":"","i":false,"f":[[["",{"children":["cookie-policy",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"dm-legal","aria-label":"Cookie Policy","children":[["$","div",null,{"className":"dm-legal__wrap","children":[["$","aside",null,{"className":"dm-legal__toc","aria-label":"On this page","children":["$","div",null,{"className":"dm-legal__toc-inner","children":[["$","p",null,{"className":"dm-legal__toc-label","children":"On this page"}],["$","nav",null,{"children":["$","ul",null,{"children":[["$","li","What Are Cookies?",{"children":["$","a",null,{"href":"#what-are-cookies","children":"What Are Cookies?"}]}],["$","li","Why We Use Cookies",{"children":["$","a",null,{"href":"#why-we-use-cookies","children":"Why We Use Cookies"}]}],["$","li","Types of Cookies We Use",{"children":["$","a",null,{"href":"#types-of-cookies-we-use","children":"Types of Cookies We Use"}]}],"$Lc","$Ld","$Le","$Lf"]}]}]]}]}],"$L10"]}],"$L11"]}]}]}]}],null,"$L12"]}],{},null,false,null]},null,false,"$@13"]},null,false,null],"$L14",false]],"m":"$undefined","G":["$15",["$L16"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -19:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -1a:"$Sreact.suspense" -1d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1f:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","li","Managing Cookies",{"children":["$","a",null,{"href":"#managing-cookies","children":"Managing Cookies"}]}] -d:["$","li","Cookie Consent",{"children":["$","a",null,{"href":"#cookie-consent","children":"Cookie Consent"}]}] -e:["$","li","Policy Updates",{"children":["$","a",null,{"href":"#policy-updates","children":"Policy Updates"}]}] -f:["$","li","Contact Us",{"children":["$","a",null,{"href":"#contact-us","children":"Contact Us"}]}] -10:["$","div",null,{"className":"dm-legal__main","children":[["$","header",null,{"className":"dm-legal__hero","children":[["$","h1",null,{"className":"dm-legal__title","children":"Cookie Policy"}],["$","p",null,{"className":"dm-legal__updated","children":["Last Updated: ","June 2026"]}],["$","p",null,{"className":"dm-legal__lead","children":"This Cookie Policy explains how Doormile uses cookies and similar technologies when you visit our website."}]]}],["$","article",null,{"className":"dm-legal__content","children":[["$","section","What Are Cookies?",{"id":"what-are-cookies","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"What Are Cookies?"}],[["$","p","0",{"className":"dm-legal__p","children":"Cookies are small text files stored on your device that help websites remember information about your visit and improve the browsing experience."}]]]}],["$","section","Why We Use Cookies",{"id":"why-we-use-cookies","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Why We Use Cookies"}],[["$","p","0",{"className":"dm-legal__p","children":"We use cookies to:"}],["$","ul","1",{"className":"dm-legal__ul","children":[["$","li","0",{"children":"Enable essential website functionality"}],["$","li","1",{"children":"Improve website performance"}],["$","li","2",{"children":"Analyze visitor behavior and traffic patterns"}],["$","li","3",{"children":"Remember user preferences"}],["$","li","4",{"children":"Enhance overall user experience"}],["$","li","5",{"children":"Support website security"}]]}]]]}],["$","section","Types of Cookies We Use",{"id":"types-of-cookies-we-use","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Types of Cookies We Use"}],[["$","h3","0",{"className":"dm-legal__h3","children":"Essential Cookies"}],["$","p","1",{"className":"dm-legal__p","children":"These cookies are required for core website functionality and security features. The website may not function correctly without them."}],["$","h3","2",{"className":"dm-legal__h3","children":"Performance Cookies"}],["$","p","3",{"className":"dm-legal__p","children":"These cookies collect information about how visitors interact with the website and help us improve performance and usability."}],["$","h3","4",{"className":"dm-legal__h3","children":"Analytics Cookies"}],["$","p","5",{"className":"dm-legal__p","children":"Analytics cookies help us understand website traffic, visitor engagement, popular content, and user journeys."}],["$","h3","6",{"className":"dm-legal__h3","children":"Functional Cookies"}],["$","p","7",{"className":"dm-legal__p","children":"These cookies remember user preferences such as language, region, and other customization settings."}],["$","h3","8",{"className":"dm-legal__h3","children":"Third-Party Cookies"}],["$","p","9",{"className":"dm-legal__p","children":"Some third-party services integrated into our website, including analytics and performance monitoring tools, may place cookies on your device."}]]]}],["$","section","Managing Cookies",{"id":"managing-cookies","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Managing Cookies"}],[["$","p","0",{"className":"dm-legal__p","children":"Most web browsers allow users to control, block, or delete cookies through browser settings. Please note that disabling cookies may impact certain website features and functionality."}]]]}],["$","section","Cookie Consent",{"id":"cookie-consent","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Cookie Consent"}],[["$","p","0",{"className":"dm-legal__p","children":"Where required by applicable law, visitors may be presented with cookie consent options when accessing the website."}]]]}],["$","section","Policy Updates",{"id":"policy-updates","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Policy Updates"}],[["$","p","0",{"className":"dm-legal__p","children":"We may revise this Cookie Policy periodically to reflect changes in technology, regulations, or business practices. Updated versions will be published on this page."}]]]}],"$L17"]}]]}] -18:T15aa, -.dm-legal { - background: #ffffff; - color: #334155; - /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */ - padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px); - font-family: var(--font-manrope), system-ui, -apple-system, sans-serif; -} - -.dm-legal__wrap { - max-width: 1180px; - margin: 0 auto; - padding: 0 clamp(20px, 5vw, 40px); - display: grid; - grid-template-columns: minmax(0, 1fr); - gap: 0; -} - -/* ---- Sticky table of contents (desktop only) ---- */ -.dm-legal__toc { display: none; } - -@media (min-width: 1080px) { - .dm-legal__wrap { - grid-template-columns: 248px minmax(0, 800px); - justify-content: center; - gap: 64px; - } - .dm-legal__toc { display: block; } -} - -.dm-legal__toc-inner { position: sticky; top: 128px; } -.dm-legal__toc-label { - margin: 0 0 14px; - font-size: 12px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: #94a3b8; -} -.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__toc nav a { - display: block; - font-size: 14px; - line-height: 1.4; - color: #64748b; - text-decoration: none; - border-left: 2px solid transparent; - padding-left: 12px; - transition: color 0.2s ease, border-color 0.2s ease; -} -.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; } - -/* ---- Reading column (max 800px) ---- */ -.dm-legal__main { min-width: 0; max-width: 800px; } - -.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); } -.dm-legal__title { - margin: 0 !important; - padding: 0 !important; - /* !important / text-transform override the global ".elementor-kit-5 h1" - (uppercase + kit font-size) so headings render in normal case at the spec sizes. */ - font-size: clamp(40px, 6vw, 60px) !important; - font-weight: 800 !important; - line-height: 1.08 !important; - letter-spacing: -0.02em !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__updated { - margin: 16px 0 0; - font-size: 14px; - font-weight: 700; - letter-spacing: 0.08em; - text-transform: uppercase; - color: #94a3b8; -} - -.dm-legal__lead { - margin: 24px 0 0; - font-size: clamp(18px, 1.6vw, 20px); - line-height: 1.7; - color: #475569; -} -.dm-legal__hero .dm-legal__lead { margin-top: 24px; } - -/* ---- Sections ---- */ -.dm-legal__content { display: flex; flex-direction: column; } -.dm-legal__section { padding-top: 32px; } -.dm-legal__section:first-child { padding-top: 0; } - -.dm-legal__h2 { - margin: 0 0 16px !important; - padding: 0 !important; - font-size: clamp(24px, 3vw, 32px) !important; - font-weight: 700 !important; - line-height: 1.2 !important; - letter-spacing: -0.01em !important; - text-transform: none !important; - color: #0f172a !important; - /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */ - scroll-margin-top: 120px; -} -.dm-legal__h3 { - margin: 24px 0 8px !important; - padding: 0 !important; - font-size: 20px !important; - font-weight: 700 !important; - line-height: 1.35 !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__p { - margin: 0 0 16px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -.dm-legal__p:last-child { margin-bottom: 0; } - -.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__ul li { - position: relative; - padding-left: 26px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -/* Extra .dm-legal prefix raises specificity above the global theme rule - ".logico-front-end ul li:before" (a fontello glyph), so our clean red dot - replaces the inherited checkmark marker. */ -.dm-legal .dm-legal__ul li::before { - content: "" !important; - position: absolute; - left: 4px; - top: 0.62em; - width: 7px; - height: 7px; - border-radius: 50%; - background: #c01227; - font-size: 0; -} -/* TOC links are inside a
    too — suppress the same inherited glyph marker. */ -.dm-legal .dm-legal__toc nav li::before { content: none !important; } - -.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); } -.dm-legal__link:hover { border-bottom-color: #c01227; } - -@media (max-width: 1079px) { - .dm-legal__main { margin: 0 auto; } -} - -/* ============================================================ - Navbar visibility — LEGAL PAGES ONLY. - This
    / Why Doormile Wings /

    Built for the speed of the Gen-Z economy

    Same-Day Air Logistics

    Max 3-hour door-to-door delivery between India's major regional capitals.

    AI-Powered Operations

    MileTruth™ AI continuously forecasts demand and optimizes every route and load.

    Regional Connectivity

    Dedicated air capacity linking major economic hubs, not passenger-belly space.

    EV Last Mile

    Zero-emission electric vehicles complete every first- and final-mile delivery.

    / The Speed Advantage /

    Same-day, not some-day

    Surface Logistics
    48–0
    Hours

    Delhi–Mumbai standard surface transit time.

    VS
    Doormile Wings
    Max 0
    Hours, Door-to-Door

    Same-day delivery between major regional capitals.

    / Why Businesses Choose Doormile Wings /

    Built to be depended on

    AI Decision Engine

    MileTruth™ AI continuously forecasts demand and optimizes routing and load decisions in real time.

    Real-Time Visibility

    Live shipment tracking keeps shippers, ground teams, and customers updated at every stage.

    Faster Regional Reach

    A dedicated network linking major regional capitals, built for speed rather than passenger schedules.

    Reliable Scheduled Operations

    Dedicated freighter capacity with consistent schedules — not subject to passenger-belly bumping.

    / Industries We Serve /

    Built for the shipments that can’t wait

    Quick Commerce

    Quick Commerce

    Challenge

    Sub-3-hour delivery windows for dark stores and micro-warehouses.

    Doormile Wings

    Dedicated same-day air capacity linking metros to fulfillment hubs.

    Express B2B Cargo

    Express B2B Cargo

    Challenge

    Time-critical industrial parts and components stuck on slow trunk routes.

    Doormile Wings

    Rapid airport-to-airport transport between major economic nodes.

    Healthcare & Pharma

    Healthcare & Pharma

    Challenge

    Temperature-sensitive, compliance-critical shipments with zero margin for error.

    Doormile Wings

    Active and passive cold-chain packaging with full chain-of-custody tracking.

    Cold Chain Logistics

    Cold Chain Logistics

    Challenge

    Perishables and fresh goods that can't survive slow surface transit.

    Doormile Wings

    Precision temperature tracking matched to airline-speed transit.

    High-Value Cargo

    High-Value Cargo

    Challenge

    Zero tolerance for loss, tampering, or delay on high-value shipments.

    Doormile Wings

    Maximum-security handling with real-time electronic custody tracking.

    E-Commerce Logistics

    E-Commerce Logistics

    Challenge

    Next-day and same-day fulfillment expectations across tier-1 and tier-2 cities.

    Doormile Wings

    Direct sorting-hub-to-airport clearance network for faster regional delivery.

    / How It Works /

    Pickup to
    delivery, one
    connected flow

    01Step

    Local Pickup

    Fast, on-demand first-mile logistics dispatched by electric vehicle.

    02Step

    Airport Clearance

    Automated screening, grouping, and rapid cross-docking at the hub.

    03Step

    Air Transit

    Optimized cargo flights bypass surface congestion on our regional fleet.

    04Step

    Destination Hub

    Immediate de-consolidation and screening upon arrival.

    05Step

    EV Last-Mile

    Zero-emission electric vehicles complete the final delivery.

    Quick Logistics

    Same-Day Air Network

    / Fleet Strategy /

    Purpose-Built for Regional Speed

    3Phase 1 Aircraft
    25Phase 2 Vision
    FLEET SPECIFICATIONSAI ENGINE
    0.0tATR72 Payload
    0kmATR72 Range
    0.0tQ400 Payload
    0km/hQ400 Speed
    Dedicated Freighter Capacity

    Purpose-built cargo lift, not passenger-belly space competing with baggage.

    Regional Route Design

    Turboprop range and speed matched to India's major regional-capital corridors.

    Scaling to 25 Aircraft

    Phase 2 vision: pan-India connectivity hubs and international regional routes.

    ATR72 Payload0.0t
    ATR72 Range0km
    Q400 Payload0.0t
    Q400 Speed0km/h
    / Infrastructure /

    A network built to move, not to sit idle

    Airport Cargo Hubs

    Near-airport clearance hubs instead of standalone warehouses — closer to the tarmac, faster to the aircraft.

    Cross-Docking

    Screening, grouping, and consolidation happen in one motion, minimizing dwell time between arrival and departure.

    Asset-Light Network

    Leased terminal space that flexes with demand, keeping the network nimble as new routes come online.

    Scalable Operations

    Modular ground infrastructure built to expand city by city without slowing down day-to-day operations.

    / MileTruth™ AI /

    The intelligence layer behind every delivery

    Demand Forecasting

    AI-driven forward projection of cargo demand, preemptively positioning aircraft and ground capacity.

    Dynamic Pricing

    Real-time rate adjustments that track market capacity fluctuations and optimize yield.

    Route Optimization

    Dynamic scheduling for ground EV pickups and flights that bypasses congestion for the fastest path.

    Load Balancing

    Automated weight-and-balance modeling for optimal, safe aircraft load layout within minutes.

    Predictive Maintenance

    Continuous telemetry monitoring triggers preemptive alerts, drastically reducing aircraft downtime.

    Real-Time Tracking

    End-to-end sensor monitoring keeps shippers, airline, and EV operators updated on exact shipment state.

    Digital Twin of the Logistics Network

    A live virtual model of every ground vehicle, terminal, and flight — simulating what-if scenarios before bottlenecks ever form.

    SaaS Ready
    / Future Roadmap /

    A ten-year path to national scale

    Year 1
    Launch Phase

    Establish localized clearance hubs and launch cargo services connecting 5–6 key commercial cities.

    Year 2
    Network Growth

    Expand hub operations and airfield schedules, serving 15 regional and secondary cargo airports.

    Year 3
    Cross-Border Nodes

    Add international regional routes, bridging key freight corridors in South Asia.

    Year 5
    Operational Scale

    Expand to a fleet of 25 leased cargo aircraft, servicing over 50 regional airports nationwide.

    Year 10
    Global Duplication

    Replicate our asset-light, AI-powered logistics framework across Asia, Africa, and the Middle East.

\ No newline at end of file diff --git a/.next/server/app/doormile-wings.meta b/.next/server/app/doormile-wings.meta deleted file mode 100644 index 570359c..0000000 --- a/.next/server/app/doormile-wings.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/doormile-wings/layout,_N_T_/doormile-wings/page,_N_T_/doormile-wings" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/doormile-wings/__PAGE__", - "/doormile-wings", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings.rsc b/.next/server/app/doormile-wings.rsc deleted file mode 100644 index 86cd81e..0000000 --- a/.next/server/app/doormile-wings.rsc +++ /dev/null @@ -1,299 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[36202,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -d:I[63061,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -e:I[10425,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -1d:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/144so~-zgdm9_.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -f:Tafb, - .wfg-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0; - } - - .wfg-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wfg-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wfg-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wfg-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wfg-grid { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - gap: 20px; - } - - .wfg-card { - min-width: 0; - background: #ffffff; - border: 1px solid rgba(17, 17, 17, 0.1); - border-radius: 20px; - padding: 30px 26px; - transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); - } - - .wfg-card:hover { - border-color: #c8102e; - box-shadow: 0 20px 40px rgba(200, 16, 46, 0.08); - transform: translateY(-8px); - } - - .wfg-icon { - width: 46px; - height: 46px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 12px; - background: rgba(200, 16, 46, 0.06); - color: #c8102e; - margin-bottom: 20px; - } - - .wfg-card-title { - font-size: 16.5px !important; - font-weight: 700 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 8px 0; - } - - .wfg-card-desc { - font-size: 14px; - line-height: 1.55; - color: rgba(17, 17, 17, 0.6); - margin: 0; - } - - @media (max-width: 1024px) { - .wfg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wfg-grid { grid-template-columns: 1fr; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width (clamp() has no further breakpoint-based step-down), which - reads as noticeably heavier than the section rhythm near the - footer. Trimmed to a real mobile value here instead. */ - .wfg-section { padding-top: 44px; padding-bottom: 44px; } - } - 0:{"P":null,"c":["","doormile-wings"],"q":"","i":false,"f":[[["",{"children":["doormile-wings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"doormile-wings","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"95","className":"elementor elementor-95 elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$f"}}],"$L10"],"$L11","$L12","$L13","$L14","$L15","$L16"]}]}]}]}],["$L17","$L18","$L19"],"$L1a"]}],{},null,false,null]},null,false,"$@1b"]},null,false,null],"$L1c",false]],"m":"$undefined","G":["$1d",["$L1e"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1f:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"ScrollReveal"] -20:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"StaggerChildren"] -23:I[48920,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -24:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -25:I[55064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -26:I[13378,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -27:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -28:"$Sreact.suspense" -2b:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -2d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -10:["$","section",null,{"className":"wfg-section","id":"wings-features","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wfg-inner","children":[["$","$L1f",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wfg-header","children":[["$","div",null,{"className":"wfg-eyebrow","children":"/ Why Businesses Choose Doormile Wings /"}],["$","h2",null,{"className":"wfg-title","children":"Built to be depended on"}]]}],["$","$L20",null,{"stagger":0.1,"duration":0.7,"yOffset":30,"className":"wfg-grid","children":[["$","div","AI Decision Engine",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M12 2a4 4 0 0 1 4 4v1a4 4 0 0 1-1.2 2.86A4 4 0 0 1 16 13v1a4 4 0 0 1-4 4 4 4 0 0 1-4-4v-1a4 4 0 0 1 1.2-3.14A4 4 0 0 1 8 7V6a4 4 0 0 1 4-4Z"}],["$","path",null,{"d":"M9 21h6M12 18v3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"AI Decision Engine"}],["$","p",null,{"className":"wfg-card-desc","children":"MileTruth™ AI continuously forecasts demand and optimizes routing and load decisions in real time."}]]}],["$","div","Real-Time Visibility",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"}],["$","circle",null,{"cx":"12","cy":"12","r":"3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Real-Time Visibility"}],["$","p",null,{"className":"wfg-card-desc","children":"Live shipment tracking keeps shippers, ground teams, and customers updated at every stage."}]]}],["$","div","Faster Regional Reach",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"13 6 19 12 13 18"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Faster Regional Reach"}],["$","p",null,{"className":"wfg-card-desc","children":"A dedicated network linking major regional capitals, built for speed rather than passenger schedules."}]]}],["$","div","Reliable Scheduled Operations",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"3"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}],["$","path",null,{"d":"M9 16l2 2 4-4"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Reliable Scheduled Operations"}],["$","p",null,{"className":"wfg-card-desc","children":"Dedicated freighter capacity with consistent schedules — not subject to passenger-belly bumping."}]]}]]}]]}]}]}] -21:Tfac, - .wind-section { - background: #fafafa; - padding: var(--space-section-lg, 80px) 0 20px 0; /* Reduced bottom padding to minimize gap */ - } - - .wind-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wind-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wind-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wind-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wind-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 20px; - } - - .wind-card { - position: relative; - min-width: 0; - aspect-ratio: 4 / 5; - border-radius: 20px; - overflow: hidden; - background: linear-gradient(150deg, #17171b 0%, #0b0b0d 100%); - isolation: isolate; - } - - .wind-card-wash { - position: absolute; - inset: 0; - background: linear-gradient(160deg, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 60%); - opacity: 0.5; - transition: opacity 0.4s ease; - } - - .wind-card:hover .wind-card-wash { - opacity: 1; - } - - .wind-card-default { - position: absolute; - left: 24px; - right: 24px; - bottom: 24px; - transition: opacity 0.3s ease, transform 0.3s ease; - } - - .wind-card:hover .wind-card-default { - opacity: 0; - transform: translateY(8px); - pointer-events: none; - } - - .wind-card .wind-card-default-title { - font-size: 20px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-hover { - position: absolute; - inset: 0; - padding: 26px 24px; - display: flex; - flex-direction: column; - justify-content: flex-end; - gap: 14px; - opacity: 0; - transform: translateY(10px); - transition: opacity 0.35s ease, transform 0.35s ease; - } - - .wind-card:hover .wind-card-hover { - opacity: 1; - transform: translateY(0); - } - - .wind-card .wind-card-hover-title { - font-size: 19px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-label { - font-size: 10.5px; - font-weight: 800; - letter-spacing: 1.2px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.5); - margin: 0 0 4px 0; - } - - .wind-card-text { - font-size: 13px; - line-height: 1.5; - color: rgba(255, 255, 255, 0.85); - margin: 0; - } - - @media (max-width: 1024px) { - .wind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wind-grid { grid-template-columns: 1fr; } - .wind-card { aspect-ratio: 3 / 4; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width; bottom is already trimmed to 20px, so only the top needs - a real mobile reduction to match the section rhythm near the - footer. */ - .wind-section { padding-top: 44px; } - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$21"}}],"$L22"] -12:["$","$L23",null,{}] -13:["$","div",null,{"id":"wings-fleet","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 767px) {\n #wings-fleet .evnd-gap-bottom { margin-bottom: 14px !important; }\n }\n "}}],["$","$L24",null,{"bannerImage":"/images/pahse1.png","cardTitle":"Quick Logistics","cardSubtitle":"Same-Day Air Network","eyebrow":"/ Fleet Strategy /","titleLead":"Purpose-Built for ","titleAccent":"Regional Speed","features":[{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M22 12h-6l-4-9-2 1 3 8H5l-2-3-1.5.6L3 14l1.5 4.4L6 18l-2-3h8l3 8 2-1-3-8h6z"}]}],"title":"Dedicated Freighter Capacity","desc":"Purpose-built cargo lift, not passenger-belly space competing with baggage."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"6","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"18","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"12","cy":"18","r":"2.5"}],["$","path",null,{"d":"M8.2 7.2 10 16M15.8 7.2 14 16M8.5 6h7"}]]}],"title":"Regional Route Design","desc":"Turboprop range and speed matched to India's major regional-capital corridors."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M3 3v18h18"}],["$","path",null,{"d":"M7 14l4-4 3 3 6-7"}]]}],"title":"Scaling to 25 Aircraft","desc":"Phase 2 vision: pan-India connectivity hubs and international regional routes."}],"metrics":[{"value":8.2,"decimals":1,"suffix":"t","label":"ATR72 Payload"},{"value":1600,"suffix":"km","label":"ATR72 Range"},{"value":8.6,"decimals":1,"suffix":"t","label":"Q400 Payload"},{"value":667,"suffix":"km/h","label":"Q400 Speed"}],"cardsHeading":"FLEET SPECIFICATIONS","cardsTheme":{"accent":"#c8102e","accent2":"#ff6a3d","glow":"rgba(200,16,46,0.22)"},"gapTop":true,"gapBottom":true,"badges":[{"value":"3","label":"Phase 1 Aircraft"},{"value":"25","label":"Phase 2 Vision"}],"mediaSlot":["$","video",null,{"autoPlay":true,"loop":true,"muted":true,"playsInline":true,"style":{"width":"100%","height":"100%","minHeight":420,"objectFit":"cover","display":"block","background":"#17171b"},"children":["$","source",null,{"src":"/videos/fleet.mp4","type":"video/mp4"}]}],"ariaLabel":"Doormile Wings fleet strategy"}]]}] -14:["$","section",null,{"className":"WingsInfrastructure-module__akH2-q__section","id":"wings-infrastructure","children":["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__sectionShell","children":[["$","$L1f",null,{"delay":0.05,"duration":0.7,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__header","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__eyebrow","children":"/ Infrastructure /"}],["$","h2",null,{"className":"WingsInfrastructure-module__akH2-q__title","children":"A network built to move, not to sit idle"}]]}],["$","$L20",null,{"stagger":0.08,"duration":0.6,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__grid","children":[["$","div","Airport Cargo Hubs",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Airport Cargo Hubs"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Near-airport clearance hubs instead of standalone warehouses — closer to the tarmac, faster to the aircraft."}]]}],["$","div","Cross-Docking",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 7h7l2 3h9M3 7v10h18V10"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Cross-Docking"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Screening, grouping, and consolidation happen in one motion, minimizing dwell time between arrival and departure."}]]}],["$","div","Asset-Light Network",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"3","y":"14","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"14","width":"7","height":"7","rx":"1"}]]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Asset-Light Network"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Leased terminal space that flexes with demand, keeping the network nimble as new routes come online."}]]}],["$","div","Scalable Operations",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 21V9l6-4 6 4v12M9 21V13h6v8"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Scalable Operations"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Modular ground infrastructure built to expand city by city without slowing down day-to-day operations."}]]}]]}]]}]}] -15:["$","$L25",null,{}] -16:["$","$L26",null,{}] -17:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/144so~-zgdm9_.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -18:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}] -19:["$","script","script-1",{"src":"/_next/static/chunks/06~35roaehny..js","async":true,"nonce":"$undefined"}] -1a:["$","$L27",null,{"children":["$","$28",null,{"name":"Next.MetadataOutlet","children":"$@29"}]}] -2a:[] -1b:"$W2a" -1c:["$","$1","h",{"children":[null,["$","$L2b",null,{"children":"$L2c"}],["$","div",null,{"hidden":true,"children":["$","$L2d",null,{"children":["$","$28",null,{"name":"Next.Metadata","children":"$L2e"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1e:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -22:["$","section",null,{"className":"wind-section","id":"wings-industries","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wind-inner","children":[["$","$L1f",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wind-header","children":[["$","div",null,{"className":"wind-eyebrow","children":"/ Industries We Serve /"}],["$","h2",null,{"className":"wind-title","children":"Built for the shipments that can’t wait"}]]}],["$","$L1f",null,{"delay":0.1,"duration":0.8,"yOffset":30,"className":"wind-grid","children":[["$","div","Quick Commerce",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 1.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Quick Commerce"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Quick Commerce"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Sub-3-hour delivery windows for dark stores and micro-warehouses."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Dedicated same-day air capacity linking metros to fulfillment hubs."}]]}]]}]]}],["$","div","Express B2B Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 2.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Express B2B Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Express B2B Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Time-critical industrial parts and components stuck on slow trunk routes."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Rapid airport-to-airport transport between major economic nodes."}]]}]]}]]}],["$","div","Healthcare & Pharma",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 3.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Healthcare & Pharma"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Healthcare & Pharma"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Temperature-sensitive, compliance-critical shipments with zero margin for error."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Active and passive cold-chain packaging with full chain-of-custody tracking."}]]}]]}]]}],["$","div","Cold Chain Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card4.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Cold Chain Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Cold Chain Logistics"}],"$L2f","$L30"]}]]}],"$L31","$L32"]}]]}]}]}] -2f:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Perishables and fresh goods that can't survive slow surface transit."}]]}] -30:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Precision temperature tracking matched to airline-speed transit."}]]}] -31:["$","div","High-Value Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card5.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"High-Value Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"High-Value Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Zero tolerance for loss, tampering, or delay on high-value shipments."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Maximum-security handling with real-time electronic custody tracking."}]]}]]}]]}] -32:["$","div","E-Commerce Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card6.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"E-Commerce Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"E-Commerce Logistics"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Next-day and same-day fulfillment expectations across tier-1 and tier-2 cities."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Direct sorting-hub-to-airport clearance network for faster regional delivery."}]]}]]}]]}] -2c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -33:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -29:null -2e:[["$","title","0",{"children":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","1",{"name":"description","content":"Doormile Wings links India's major regional capitals with AI-powered, same-day air logistics and zero-emission EV last-mile delivery — where quick commerce meets quick logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","5",{"property":"og:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/doormile-wings"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","15",{"name":"twitter:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L33","21",{}]] diff --git a/.next/server/app/doormile-wings.segments/_full.segment.rsc b/.next/server/app/doormile-wings.segments/_full.segment.rsc deleted file mode 100644 index 86cd81e..0000000 --- a/.next/server/app/doormile-wings.segments/_full.segment.rsc +++ /dev/null @@ -1,299 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[36202,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -d:I[63061,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -e:I[10425,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -1d:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/144so~-zgdm9_.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -f:Tafb, - .wfg-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0; - } - - .wfg-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wfg-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wfg-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wfg-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wfg-grid { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - gap: 20px; - } - - .wfg-card { - min-width: 0; - background: #ffffff; - border: 1px solid rgba(17, 17, 17, 0.1); - border-radius: 20px; - padding: 30px 26px; - transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); - } - - .wfg-card:hover { - border-color: #c8102e; - box-shadow: 0 20px 40px rgba(200, 16, 46, 0.08); - transform: translateY(-8px); - } - - .wfg-icon { - width: 46px; - height: 46px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 12px; - background: rgba(200, 16, 46, 0.06); - color: #c8102e; - margin-bottom: 20px; - } - - .wfg-card-title { - font-size: 16.5px !important; - font-weight: 700 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 8px 0; - } - - .wfg-card-desc { - font-size: 14px; - line-height: 1.55; - color: rgba(17, 17, 17, 0.6); - margin: 0; - } - - @media (max-width: 1024px) { - .wfg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wfg-grid { grid-template-columns: 1fr; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width (clamp() has no further breakpoint-based step-down), which - reads as noticeably heavier than the section rhythm near the - footer. Trimmed to a real mobile value here instead. */ - .wfg-section { padding-top: 44px; padding-bottom: 44px; } - } - 0:{"P":null,"c":["","doormile-wings"],"q":"","i":false,"f":[[["",{"children":["doormile-wings",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"doormile-wings","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"95","className":"elementor elementor-95 elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$f"}}],"$L10"],"$L11","$L12","$L13","$L14","$L15","$L16"]}]}]}]}],["$L17","$L18","$L19"],"$L1a"]}],{},null,false,null]},null,false,"$@1b"]},null,false,null],"$L1c",false]],"m":"$undefined","G":["$1d",["$L1e"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1f:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"ScrollReveal"] -20:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"StaggerChildren"] -23:I[48920,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -24:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -25:I[55064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -26:I[13378,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -27:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -28:"$Sreact.suspense" -2b:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -2d:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -10:["$","section",null,{"className":"wfg-section","id":"wings-features","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wfg-inner","children":[["$","$L1f",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wfg-header","children":[["$","div",null,{"className":"wfg-eyebrow","children":"/ Why Businesses Choose Doormile Wings /"}],["$","h2",null,{"className":"wfg-title","children":"Built to be depended on"}]]}],["$","$L20",null,{"stagger":0.1,"duration":0.7,"yOffset":30,"className":"wfg-grid","children":[["$","div","AI Decision Engine",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M12 2a4 4 0 0 1 4 4v1a4 4 0 0 1-1.2 2.86A4 4 0 0 1 16 13v1a4 4 0 0 1-4 4 4 4 0 0 1-4-4v-1a4 4 0 0 1 1.2-3.14A4 4 0 0 1 8 7V6a4 4 0 0 1 4-4Z"}],["$","path",null,{"d":"M9 21h6M12 18v3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"AI Decision Engine"}],["$","p",null,{"className":"wfg-card-desc","children":"MileTruth™ AI continuously forecasts demand and optimizes routing and load decisions in real time."}]]}],["$","div","Real-Time Visibility",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"}],["$","circle",null,{"cx":"12","cy":"12","r":"3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Real-Time Visibility"}],["$","p",null,{"className":"wfg-card-desc","children":"Live shipment tracking keeps shippers, ground teams, and customers updated at every stage."}]]}],["$","div","Faster Regional Reach",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"13 6 19 12 13 18"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Faster Regional Reach"}],["$","p",null,{"className":"wfg-card-desc","children":"A dedicated network linking major regional capitals, built for speed rather than passenger schedules."}]]}],["$","div","Reliable Scheduled Operations",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"3"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}],["$","path",null,{"d":"M9 16l2 2 4-4"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Reliable Scheduled Operations"}],["$","p",null,{"className":"wfg-card-desc","children":"Dedicated freighter capacity with consistent schedules — not subject to passenger-belly bumping."}]]}]]}]]}]}]}] -21:Tfac, - .wind-section { - background: #fafafa; - padding: var(--space-section-lg, 80px) 0 20px 0; /* Reduced bottom padding to minimize gap */ - } - - .wind-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wind-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wind-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wind-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wind-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 20px; - } - - .wind-card { - position: relative; - min-width: 0; - aspect-ratio: 4 / 5; - border-radius: 20px; - overflow: hidden; - background: linear-gradient(150deg, #17171b 0%, #0b0b0d 100%); - isolation: isolate; - } - - .wind-card-wash { - position: absolute; - inset: 0; - background: linear-gradient(160deg, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 60%); - opacity: 0.5; - transition: opacity 0.4s ease; - } - - .wind-card:hover .wind-card-wash { - opacity: 1; - } - - .wind-card-default { - position: absolute; - left: 24px; - right: 24px; - bottom: 24px; - transition: opacity 0.3s ease, transform 0.3s ease; - } - - .wind-card:hover .wind-card-default { - opacity: 0; - transform: translateY(8px); - pointer-events: none; - } - - .wind-card .wind-card-default-title { - font-size: 20px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-hover { - position: absolute; - inset: 0; - padding: 26px 24px; - display: flex; - flex-direction: column; - justify-content: flex-end; - gap: 14px; - opacity: 0; - transform: translateY(10px); - transition: opacity 0.35s ease, transform 0.35s ease; - } - - .wind-card:hover .wind-card-hover { - opacity: 1; - transform: translateY(0); - } - - .wind-card .wind-card-hover-title { - font-size: 19px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-label { - font-size: 10.5px; - font-weight: 800; - letter-spacing: 1.2px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.5); - margin: 0 0 4px 0; - } - - .wind-card-text { - font-size: 13px; - line-height: 1.5; - color: rgba(255, 255, 255, 0.85); - margin: 0; - } - - @media (max-width: 1024px) { - .wind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wind-grid { grid-template-columns: 1fr; } - .wind-card { aspect-ratio: 3 / 4; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width; bottom is already trimmed to 20px, so only the top needs - a real mobile reduction to match the section rhythm near the - footer. */ - .wind-section { padding-top: 44px; } - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$21"}}],"$L22"] -12:["$","$L23",null,{}] -13:["$","div",null,{"id":"wings-fleet","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 767px) {\n #wings-fleet .evnd-gap-bottom { margin-bottom: 14px !important; }\n }\n "}}],["$","$L24",null,{"bannerImage":"/images/pahse1.png","cardTitle":"Quick Logistics","cardSubtitle":"Same-Day Air Network","eyebrow":"/ Fleet Strategy /","titleLead":"Purpose-Built for ","titleAccent":"Regional Speed","features":[{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M22 12h-6l-4-9-2 1 3 8H5l-2-3-1.5.6L3 14l1.5 4.4L6 18l-2-3h8l3 8 2-1-3-8h6z"}]}],"title":"Dedicated Freighter Capacity","desc":"Purpose-built cargo lift, not passenger-belly space competing with baggage."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"6","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"18","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"12","cy":"18","r":"2.5"}],["$","path",null,{"d":"M8.2 7.2 10 16M15.8 7.2 14 16M8.5 6h7"}]]}],"title":"Regional Route Design","desc":"Turboprop range and speed matched to India's major regional-capital corridors."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M3 3v18h18"}],["$","path",null,{"d":"M7 14l4-4 3 3 6-7"}]]}],"title":"Scaling to 25 Aircraft","desc":"Phase 2 vision: pan-India connectivity hubs and international regional routes."}],"metrics":[{"value":8.2,"decimals":1,"suffix":"t","label":"ATR72 Payload"},{"value":1600,"suffix":"km","label":"ATR72 Range"},{"value":8.6,"decimals":1,"suffix":"t","label":"Q400 Payload"},{"value":667,"suffix":"km/h","label":"Q400 Speed"}],"cardsHeading":"FLEET SPECIFICATIONS","cardsTheme":{"accent":"#c8102e","accent2":"#ff6a3d","glow":"rgba(200,16,46,0.22)"},"gapTop":true,"gapBottom":true,"badges":[{"value":"3","label":"Phase 1 Aircraft"},{"value":"25","label":"Phase 2 Vision"}],"mediaSlot":["$","video",null,{"autoPlay":true,"loop":true,"muted":true,"playsInline":true,"style":{"width":"100%","height":"100%","minHeight":420,"objectFit":"cover","display":"block","background":"#17171b"},"children":["$","source",null,{"src":"/videos/fleet.mp4","type":"video/mp4"}]}],"ariaLabel":"Doormile Wings fleet strategy"}]]}] -14:["$","section",null,{"className":"WingsInfrastructure-module__akH2-q__section","id":"wings-infrastructure","children":["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__sectionShell","children":[["$","$L1f",null,{"delay":0.05,"duration":0.7,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__header","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__eyebrow","children":"/ Infrastructure /"}],["$","h2",null,{"className":"WingsInfrastructure-module__akH2-q__title","children":"A network built to move, not to sit idle"}]]}],["$","$L20",null,{"stagger":0.08,"duration":0.6,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__grid","children":[["$","div","Airport Cargo Hubs",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Airport Cargo Hubs"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Near-airport clearance hubs instead of standalone warehouses — closer to the tarmac, faster to the aircraft."}]]}],["$","div","Cross-Docking",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 7h7l2 3h9M3 7v10h18V10"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Cross-Docking"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Screening, grouping, and consolidation happen in one motion, minimizing dwell time between arrival and departure."}]]}],["$","div","Asset-Light Network",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"3","y":"14","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"14","width":"7","height":"7","rx":"1"}]]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Asset-Light Network"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Leased terminal space that flexes with demand, keeping the network nimble as new routes come online."}]]}],["$","div","Scalable Operations",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 21V9l6-4 6 4v12M9 21V13h6v8"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Scalable Operations"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Modular ground infrastructure built to expand city by city without slowing down day-to-day operations."}]]}]]}]]}]}] -15:["$","$L25",null,{}] -16:["$","$L26",null,{}] -17:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/144so~-zgdm9_.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -18:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}] -19:["$","script","script-1",{"src":"/_next/static/chunks/06~35roaehny..js","async":true,"nonce":"$undefined"}] -1a:["$","$L27",null,{"children":["$","$28",null,{"name":"Next.MetadataOutlet","children":"$@29"}]}] -2a:[] -1b:"$W2a" -1c:["$","$1","h",{"children":[null,["$","$L2b",null,{"children":"$L2c"}],["$","div",null,{"hidden":true,"children":["$","$L2d",null,{"children":["$","$28",null,{"name":"Next.Metadata","children":"$L2e"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1e:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -22:["$","section",null,{"className":"wind-section","id":"wings-industries","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wind-inner","children":[["$","$L1f",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wind-header","children":[["$","div",null,{"className":"wind-eyebrow","children":"/ Industries We Serve /"}],["$","h2",null,{"className":"wind-title","children":"Built for the shipments that can’t wait"}]]}],["$","$L1f",null,{"delay":0.1,"duration":0.8,"yOffset":30,"className":"wind-grid","children":[["$","div","Quick Commerce",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 1.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Quick Commerce"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Quick Commerce"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Sub-3-hour delivery windows for dark stores and micro-warehouses."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Dedicated same-day air capacity linking metros to fulfillment hubs."}]]}]]}]]}],["$","div","Express B2B Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 2.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Express B2B Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Express B2B Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Time-critical industrial parts and components stuck on slow trunk routes."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Rapid airport-to-airport transport between major economic nodes."}]]}]]}]]}],["$","div","Healthcare & Pharma",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 3.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Healthcare & Pharma"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Healthcare & Pharma"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Temperature-sensitive, compliance-critical shipments with zero margin for error."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Active and passive cold-chain packaging with full chain-of-custody tracking."}]]}]]}]]}],["$","div","Cold Chain Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card4.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Cold Chain Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Cold Chain Logistics"}],"$L2f","$L30"]}]]}],"$L31","$L32"]}]]}]}]}] -2f:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Perishables and fresh goods that can't survive slow surface transit."}]]}] -30:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Precision temperature tracking matched to airline-speed transit."}]]}] -31:["$","div","High-Value Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card5.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"High-Value Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"High-Value Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Zero tolerance for loss, tampering, or delay on high-value shipments."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Maximum-security handling with real-time electronic custody tracking."}]]}]]}]]}] -32:["$","div","E-Commerce Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card6.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"E-Commerce Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"E-Commerce Logistics"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Next-day and same-day fulfillment expectations across tier-1 and tier-2 cities."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Direct sorting-hub-to-airport clearance network for faster regional delivery."}]]}]]}]]}] -2c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -33:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -29:null -2e:[["$","title","0",{"children":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","1",{"name":"description","content":"Doormile Wings links India's major regional capitals with AI-powered, same-day air logistics and zero-emission EV last-mile delivery — where quick commerce meets quick logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","5",{"property":"og:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/doormile-wings"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","15",{"name":"twitter:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L33","21",{}]] diff --git a/.next/server/app/doormile-wings.segments/_head.segment.rsc b/.next/server/app/doormile-wings.segments/_head.segment.rsc deleted file mode 100644 index 91ea68c..0000000 --- a/.next/server/app/doormile-wings.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","1",{"name":"description","content":"Doormile Wings links India's major regional capitals with AI-powered, same-day air logistics and zero-emission EV last-mile delivery — where quick commerce meets quick logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/doormile-wings"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","5",{"property":"og:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/doormile-wings"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings – Redefining Domestic Air Logistics Through AI"}],["$","meta","15",{"name":"twitter:description","content":"Same-day air logistics linking India's major regional capitals, powered by MileTruth™ AI and zero-emission EV last-mile delivery."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","21",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/doormile-wings.segments/_index.segment.rsc b/.next/server/app/doormile-wings.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/doormile-wings.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/doormile-wings.segments/_tree.segment.rsc b/.next/server/app/doormile-wings.segments/_tree.segment.rsc deleted file mode 100644 index 8b05c2f..0000000 --- a/.next/server/app/doormile-wings.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/144so~-zgdm9_.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"doormile-wings","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/doormile-wings.segments/doormile-wings.segment.rsc b/.next/server/app/doormile-wings.segments/doormile-wings.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/doormile-wings.segments/doormile-wings.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/doormile-wings.segments/doormile-wings/__PAGE__.segment.rsc b/.next/server/app/doormile-wings.segments/doormile-wings/__PAGE__.segment.rsc deleted file mode 100644 index 146cc11..0000000 --- a/.next/server/app/doormile-wings.segments/doormile-wings/__PAGE__.segment.rsc +++ /dev/null @@ -1,271 +0,0 @@ -1:"$Sreact.fragment" -2:I[36202,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -3:I[63061,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -4:I[10425,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -11:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"ScrollReveal"] -12:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"StaggerChildren"] -15:I[48920,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -16:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -17:I[55064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -18:I[13378,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"default"] -19:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -1a:"$Sreact.suspense" -:HL["/_next/static/chunks/144so~-zgdm9_.css","style"] -5:Tafb, - .wfg-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0; - } - - .wfg-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wfg-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wfg-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wfg-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wfg-grid { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - gap: 20px; - } - - .wfg-card { - min-width: 0; - background: #ffffff; - border: 1px solid rgba(17, 17, 17, 0.1); - border-radius: 20px; - padding: 30px 26px; - transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1); - } - - .wfg-card:hover { - border-color: #c8102e; - box-shadow: 0 20px 40px rgba(200, 16, 46, 0.08); - transform: translateY(-8px); - } - - .wfg-icon { - width: 46px; - height: 46px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 12px; - background: rgba(200, 16, 46, 0.06); - color: #c8102e; - margin-bottom: 20px; - } - - .wfg-card-title { - font-size: 16.5px !important; - font-weight: 700 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 8px 0; - } - - .wfg-card-desc { - font-size: 14px; - line-height: 1.55; - color: rgba(17, 17, 17, 0.6); - margin: 0; - } - - @media (max-width: 1024px) { - .wfg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wfg-grid { grid-template-columns: 1fr; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width (clamp() has no further breakpoint-based step-down), which - reads as noticeably heavier than the section rhythm near the - footer. Trimmed to a real mobile value here instead. */ - .wfg-section { padding-top: 44px; padding-bottom: 44px; } - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"doormile-wings","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"95","className":"elementor elementor-95 elementor-59","children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{}],[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$5"}}],["$","section",null,{"className":"wfg-section","id":"wings-features","children":"$L6"}]],"$L7","$L8","$L9","$La","$Lb","$Lc"]}]}]}]}],["$Ld","$Le","$Lf"],"$L10"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -6:["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wfg-inner","children":[["$","$L11",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wfg-header","children":[["$","div",null,{"className":"wfg-eyebrow","children":"/ Why Businesses Choose Doormile Wings /"}],["$","h2",null,{"className":"wfg-title","children":"Built to be depended on"}]]}],["$","$L12",null,{"stagger":0.1,"duration":0.7,"yOffset":30,"className":"wfg-grid","children":[["$","div","AI Decision Engine",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M12 2a4 4 0 0 1 4 4v1a4 4 0 0 1-1.2 2.86A4 4 0 0 1 16 13v1a4 4 0 0 1-4 4 4 4 0 0 1-4-4v-1a4 4 0 0 1 1.2-3.14A4 4 0 0 1 8 7V6a4 4 0 0 1 4-4Z"}],["$","path",null,{"d":"M9 21h6M12 18v3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"AI Decision Engine"}],["$","p",null,{"className":"wfg-card-desc","children":"MileTruth™ AI continuously forecasts demand and optimizes routing and load decisions in real time."}]]}],["$","div","Real-Time Visibility",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"}],["$","circle",null,{"cx":"12","cy":"12","r":"3"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Real-Time Visibility"}],["$","p",null,{"className":"wfg-card-desc","children":"Live shipment tracking keeps shippers, ground teams, and customers updated at every stage."}]]}],["$","div","Faster Regional Reach",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","line",null,{"x1":"5","y1":"12","x2":"19","y2":"12"}],["$","polyline",null,{"points":"13 6 19 12 13 18"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Faster Regional Reach"}],["$","p",null,{"className":"wfg-card-desc","children":"A dedicated network linking major regional capitals, built for speed rather than passenger schedules."}]]}],["$","div","Reliable Scheduled Operations",{"className":"wfg-card","children":[["$","div",null,{"className":"wfg-icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"4","width":"18","height":"18","rx":"3"}],["$","line",null,{"x1":"16","y1":"2","x2":"16","y2":"6"}],["$","line",null,{"x1":"8","y1":"2","x2":"8","y2":"6"}],["$","line",null,{"x1":"3","y1":"10","x2":"21","y2":"10"}],["$","path",null,{"d":"M9 16l2 2 4-4"}]]}]}],["$","h3",null,{"className":"wfg-card-title","children":"Reliable Scheduled Operations"}],["$","p",null,{"className":"wfg-card-desc","children":"Dedicated freighter capacity with consistent schedules — not subject to passenger-belly bumping."}]]}]]}]]}]}] -13:Tfac, - .wind-section { - background: #fafafa; - padding: var(--space-section-lg, 80px) 0 20px 0; /* Reduced bottom padding to minimize gap */ - } - - .wind-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wind-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wind-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wind-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wind-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 20px; - } - - .wind-card { - position: relative; - min-width: 0; - aspect-ratio: 4 / 5; - border-radius: 20px; - overflow: hidden; - background: linear-gradient(150deg, #17171b 0%, #0b0b0d 100%); - isolation: isolate; - } - - .wind-card-wash { - position: absolute; - inset: 0; - background: linear-gradient(160deg, rgba(200, 16, 46, 0.35) 0%, rgba(200, 16, 46, 0) 60%); - opacity: 0.5; - transition: opacity 0.4s ease; - } - - .wind-card:hover .wind-card-wash { - opacity: 1; - } - - .wind-card-default { - position: absolute; - left: 24px; - right: 24px; - bottom: 24px; - transition: opacity 0.3s ease, transform 0.3s ease; - } - - .wind-card:hover .wind-card-default { - opacity: 0; - transform: translateY(8px); - pointer-events: none; - } - - .wind-card .wind-card-default-title { - font-size: 20px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-hover { - position: absolute; - inset: 0; - padding: 26px 24px; - display: flex; - flex-direction: column; - justify-content: flex-end; - gap: 14px; - opacity: 0; - transform: translateY(10px); - transition: opacity 0.35s ease, transform 0.35s ease; - } - - .wind-card:hover .wind-card-hover { - opacity: 1; - transform: translateY(0); - } - - .wind-card .wind-card-hover-title { - font-size: 19px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wind-card-label { - font-size: 10.5px; - font-weight: 800; - letter-spacing: 1.2px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.5); - margin: 0 0 4px 0; - } - - .wind-card-text { - font-size: 13px; - line-height: 1.5; - color: rgba(255, 255, 255, 0.85); - margin: 0; - } - - @media (max-width: 1024px) { - .wind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wind-grid { grid-template-columns: 1fr; } - .wind-card { aspect-ratio: 3 / 4; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width; bottom is already trimmed to 20px, so only the top needs - a real mobile reduction to match the section rhythm near the - footer. */ - .wind-section { padding-top: 44px; } - } - 7:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"] -8:["$","$L15",null,{}] -9:["$","div",null,{"id":"wings-fleet","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @media (max-width: 767px) {\n #wings-fleet .evnd-gap-bottom { margin-bottom: 14px !important; }\n }\n "}}],["$","$L16",null,{"bannerImage":"/images/pahse1.png","cardTitle":"Quick Logistics","cardSubtitle":"Same-Day Air Network","eyebrow":"/ Fleet Strategy /","titleLead":"Purpose-Built for ","titleAccent":"Regional Speed","features":[{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M22 12h-6l-4-9-2 1 3 8H5l-2-3-1.5.6L3 14l1.5 4.4L6 18l-2-3h8l3 8 2-1-3-8h6z"}]}],"title":"Dedicated Freighter Capacity","desc":"Purpose-built cargo lift, not passenger-belly space competing with baggage."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"6","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"18","cy":"6","r":"2.5"}],["$","circle",null,{"cx":"12","cy":"18","r":"2.5"}],["$","path",null,{"d":"M8.2 7.2 10 16M15.8 7.2 14 16M8.5 6h7"}]]}],"title":"Regional Route Design","desc":"Turboprop range and speed matched to India's major regional-capital corridors."},{"icon":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M3 3v18h18"}],["$","path",null,{"d":"M7 14l4-4 3 3 6-7"}]]}],"title":"Scaling to 25 Aircraft","desc":"Phase 2 vision: pan-India connectivity hubs and international regional routes."}],"metrics":[{"value":8.2,"decimals":1,"suffix":"t","label":"ATR72 Payload"},{"value":1600,"suffix":"km","label":"ATR72 Range"},{"value":8.6,"decimals":1,"suffix":"t","label":"Q400 Payload"},{"value":667,"suffix":"km/h","label":"Q400 Speed"}],"cardsHeading":"FLEET SPECIFICATIONS","cardsTheme":{"accent":"#c8102e","accent2":"#ff6a3d","glow":"rgba(200,16,46,0.22)"},"gapTop":true,"gapBottom":true,"badges":[{"value":"3","label":"Phase 1 Aircraft"},{"value":"25","label":"Phase 2 Vision"}],"mediaSlot":["$","video",null,{"autoPlay":true,"loop":true,"muted":true,"playsInline":true,"style":{"width":"100%","height":"100%","minHeight":420,"objectFit":"cover","display":"block","background":"#17171b"},"children":["$","source",null,{"src":"/videos/fleet.mp4","type":"video/mp4"}]}],"ariaLabel":"Doormile Wings fleet strategy"}]]}] -a:["$","section",null,{"className":"WingsInfrastructure-module__akH2-q__section","id":"wings-infrastructure","children":["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__sectionShell","children":[["$","$L11",null,{"delay":0.05,"duration":0.7,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__header","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__eyebrow","children":"/ Infrastructure /"}],["$","h2",null,{"className":"WingsInfrastructure-module__akH2-q__title","children":"A network built to move, not to sit idle"}]]}],["$","$L12",null,{"stagger":0.08,"duration":0.6,"yOffset":20,"className":"WingsInfrastructure-module__akH2-q__grid","children":[["$","div","Airport Cargo Hubs",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Airport Cargo Hubs"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Near-airport clearance hubs instead of standalone warehouses — closer to the tarmac, faster to the aircraft."}]]}],["$","div","Cross-Docking",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 7h7l2 3h9M3 7v10h18V10"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Cross-Docking"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Screening, grouping, and consolidation happen in one motion, minimizing dwell time between arrival and departure."}]]}],["$","div","Asset-Light Network",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"3","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"3","y":"14","width":"7","height":"7","rx":"1"}],["$","rect",null,{"x":"14","y":"14","width":"7","height":"7","rx":"1"}]]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Asset-Light Network"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Leased terminal space that flexes with demand, keeping the network nimble as new routes come online."}]]}],["$","div","Scalable Operations",{"className":"WingsInfrastructure-module__akH2-q__card","children":[["$","div",null,{"className":"WingsInfrastructure-module__akH2-q__icon","aria-hidden":"true","children":["$","svg",null,{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M3 21V9l6-4 6 4v12M9 21V13h6v8"}]}]}],["$","h3",null,{"className":"WingsInfrastructure-module__akH2-q__cardTitle","children":"Scalable Operations"}],["$","p",null,{"className":"WingsInfrastructure-module__akH2-q__cardDesc","children":"Modular ground infrastructure built to expand city by city without slowing down day-to-day operations."}]]}]]}]]}]}] -b:["$","$L17",null,{}] -c:["$","$L18",null,{}] -d:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/144so~-zgdm9_.css","precedence":"next"}] -e:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true}] -f:["$","script","script-1",{"src":"/_next/static/chunks/06~35roaehny..js","async":true}] -10:["$","$L19",null,{"children":["$","$1a",null,{"name":"Next.MetadataOutlet","children":"$@1b"}]}] -14:["$","section",null,{"className":"wind-section","id":"wings-industries","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"wind-inner","children":[["$","$L11",null,{"delay":0.05,"duration":0.75,"yOffset":25,"className":"wind-header","children":[["$","div",null,{"className":"wind-eyebrow","children":"/ Industries We Serve /"}],["$","h2",null,{"className":"wind-title","children":"Built for the shipments that can’t wait"}]]}],["$","$L11",null,{"delay":0.1,"duration":0.8,"yOffset":30,"className":"wind-grid","children":[["$","div","Quick Commerce",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 1.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Quick Commerce"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Quick Commerce"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Sub-3-hour delivery windows for dark stores and micro-warehouses."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Dedicated same-day air capacity linking metros to fulfillment hubs."}]]}]]}]]}],["$","div","Express B2B Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 2.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Express B2B Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Express B2B Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Time-critical industrial parts and components stuck on slow trunk routes."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Rapid airport-to-airport transport between major economic nodes."}]]}]]}]]}],["$","div","Healthcare & Pharma",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card 3.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Healthcare & Pharma"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Healthcare & Pharma"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Temperature-sensitive, compliance-critical shipments with zero margin for error."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Active and passive cold-chain packaging with full chain-of-custody tracking."}]]}]]}]]}],["$","div","Cold Chain Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card4.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"Cold Chain Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"Cold Chain Logistics"}],"$L1c","$L1d"]}]]}],"$L1e","$L1f"]}]]}]}]}] -1b:null -1c:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Perishables and fresh goods that can't survive slow surface transit."}]]}] -1d:["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Precision temperature tracking matched to airline-speed transit."}]]}] -1e:["$","div","High-Value Cargo",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card5.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"High-Value Cargo"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"High-Value Cargo"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Zero tolerance for loss, tampering, or delay on high-value shipments."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Maximum-security handling with real-time electronic custody tracking."}]]}]]}]]}] -1f:["$","div","E-Commerce Logistics",{"className":"wind-card","style":{"backgroundImage":"linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8)), url('/images/card6.png')","backgroundSize":"cover","backgroundPosition":"center"},"children":[["$","div",null,{"className":"wind-card-wash","aria-hidden":"true"}],["$","div",null,{"className":"wind-card-default","children":["$","h3",null,{"className":"wind-card-default-title","children":"E-Commerce Logistics"}]}],["$","div",null,{"className":"wind-card-hover","children":[["$","h3",null,{"className":"wind-card-hover-title","children":"E-Commerce Logistics"}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Challenge"}],["$","p",null,{"className":"wind-card-text","children":"Next-day and same-day fulfillment expectations across tier-1 and tier-2 cities."}]]}],["$","div",null,{"children":[["$","p",null,{"className":"wind-card-label","children":"Doormile Wings"}],["$","p",null,{"className":"wind-card-text","children":"Direct sorting-hub-to-airport clearance network for faster regional delivery."}]]}]]}]]}] diff --git a/.next/server/app/doormile-wings/page.js b/.next/server/app/doormile-wings/page.js deleted file mode 100644 index cd52754..0000000 --- a/.next/server/app/doormile-wings/page.js +++ /dev/null @@ -1,16 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/doormile-wings/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0~7vw31._.js") -R.c("server/chunks/ssr/src_0n990ke._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0dl9rr-.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(95404) -module.exports=R.m(95404).exports diff --git a/.next/server/app/doormile-wings/page.js.map b/.next/server/app/doormile-wings/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/doormile-wings/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page.js.nft.json b/.next/server/app/doormile-wings/page.js.nft.json deleted file mode 100644 index e414416..0000000 --- a/.next/server/app/doormile-wings/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__0~7vw31._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0dl9rr-.js","../../chunks/ssr/src_0n990ke._.js","../../chunks/ssr/src_components_sections_0b6smpj._.js","../../chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","../../chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page/app-paths-manifest.json b/.next/server/app/doormile-wings/page/app-paths-manifest.json deleted file mode 100644 index c500f73..0000000 --- a/.next/server/app/doormile-wings/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/doormile-wings/page": "app/doormile-wings/page.js" -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page/build-manifest.json b/.next/server/app/doormile-wings/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/doormile-wings/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page/next-font-manifest.json b/.next/server/app/doormile-wings/page/next-font-manifest.json deleted file mode 100644 index 657f509..0000000 --- a/.next/server/app/doormile-wings/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/doormile-wings/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page/react-loadable-manifest.json b/.next/server/app/doormile-wings/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/doormile-wings/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page/server-reference-manifest.json b/.next/server/app/doormile-wings/page/server-reference-manifest.json deleted file mode 100644 index 75095b6..0000000 --- a/.next/server/app/doormile-wings/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/doormile-wings/page": { - "moduleId": 64668, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/doormile-wings/page_client-reference-manifest.js b/.next/server/app/doormile-wings/page_client-reference-manifest.js deleted file mode 100644 index 36ed77a..0000000 --- a/.next/server/app/doormile-wings/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/doormile-wings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/WingsHero.tsx ":{"id":36202,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsHero.tsx":{"id":36202,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsWhyGrid.tsx ":{"id":63061,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsWhyGrid.tsx":{"id":63061,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsSpeedAdvantage.tsx ":{"id":10425,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsSpeedAdvantage.tsx":{"id":10425,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/animations/Reveal.tsx ":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/animations/Reveal.tsx":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsHowItWorks.tsx ":{"id":48920,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsHowItWorks.tsx":{"id":48920,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/EVSection.tsx ":{"id":14224,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/EVSection.tsx":{"id":14224,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsMileTruth.tsx ":{"id":55064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsMileTruth.tsx":{"id":55064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsRoadmap.tsx ":{"id":13378,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false},"[project]/src/components/sections/WingsRoadmap.tsx":{"id":13378,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/06~35roaehny..js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"36202":{"*":{"id":77520,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"63061":{"*":{"id":94775,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"10425":{"*":{"id":84920,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"2018":{"*":{"id":36002,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"48920":{"*":{"id":30534,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"14224":{"*":{"id":61358,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"55064":{"*":{"id":36045,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}},"13378":{"*":{"id":87756,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_0b6smpj._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"36202":{"*":{"id":34035,"name":"*","chunks":[],"async":false}},"63061":{"*":{"id":32900,"name":"*","chunks":[],"async":false}},"10425":{"*":{"id":25179,"name":"*","chunks":[],"async":false}},"2018":{"*":{"id":9386,"name":"*","chunks":[],"async":false}},"48920":{"*":{"id":14493,"name":"*","chunks":[],"async":false}},"14224":{"*":{"id":59005,"name":"*","chunks":[],"async":false}},"55064":{"*":{"id":71806,"name":"*","chunks":[],"async":false}},"13378":{"*":{"id":36480,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/doormile-wings/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false},{"path":"static/chunks/144so~-zgdm9_.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/doormile-wings/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/0vi1igu-zxb_c.js","static/chunks/06~35roaehny..js"]}}; - diff --git a/.next/server/app/empowerment.html b/.next/server/app/empowerment.html deleted file mode 100644 index e08bc96..0000000 --- a/.next/server/app/empowerment.html +++ /dev/null @@ -1,2807 +0,0 @@ -Doormile Wings — Women Entrepreneurship Initiative

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Building Women
Entrepreneurs.

Empowering ambitious women with the network, strategic partnerships, and opportunities to build, grow, and lead successful enterprises that shape the future of logistics.

/ Our Vision /


Women Own The Future.

A logistics ecosystem where women don’t just participate — they own, build, and lead.

The vision

We are building an entrepreneurial ecosystem where women launch enterprises, scale operations, and shape the future of logistics from the inside.

Why it matters

Industries transform when founders emerge from every corner. Women-led enterprises bring fresh perspective, operational resilience, and long-term economic impact to logistics.

How Wings contributes

Wings provides the infrastructure — strategic partnerships, funding access, founder networks, and industry connections — that turns ambition into enterprise.

/ Our Approach /

Not a program on a brochure. An ecosystem women can build in.

Manifesto

A venture that starts with conviction. A network that turns it into momentum.

Wings is designed around the moments that define a founder: the first partnership signed, the first client won, the first team hired, the first enterprise scaled.

01

Women Entrepreneurship

An ecosystem where women build, own, and scale enterprises across logistics.

/ Women Empowerment /

Women Building The Next Mile

Women Map
0+
Women Founders
0+
Cities Active
0+
Enterprises Launched
Venture Building

End-to-end support for women launching logistics enterprises — from ideation to market entry.

Entrepreneurship

Women building, owning, and scaling sustainable businesses within the logistics ecosystem.

Founder Networks

Peer communities and strategic connections that accelerate growth and open new markets.

Enterprise Leadership

Strategic decision-making, operational excellence, and vision-driven leadership for women founders.

/ Entrepreneurship Pillars /

Every pillar is built around ownership.

02
Connect and grow

Strategic Partnerships

Direct access to supply chain networks, B2B relationships, industry alliances, and commercial agreements that accelerate growth.

03
Learn from builders

Founder Mentorship

One-on-one guidance from established entrepreneurs, operators, and investors who understand what it takes to scale.

04
Scale with confidence

Growth & Scale

Operational expansion frameworks, team building, funding readiness, and sustainable unit economics for ventures ready to grow.

05
See the opportunity

Industry Immersion

Real exposure to logistics operations, supply chain infrastructure, and distribution networks before founders commit to a vertical.

/ Our Impact /

Growth we can measure


0+Women-Led Enterprises In The Ecosystem

0+Enterprises Launched
0+Industry Partners
0+Cities Active
MillionsIn Economic Value Created

Every number on this page represents a woman who walked into a room with an idea and walked out with a business. An enterprise launched, a partnership secured, a market entered — each is a marker of real economic impact, not a statistic collected for its own sake.

/ The Founder Journey /

A clear path, from idea to enterprise

01

Apply

Submit your venture idea and tell us about your entrepreneurial vision.

02

Discovery

Identify the right market opportunity and validate your business model.

03

Build

Develop your enterprise with ecosystem support, mentorship, and partnerships.

04

Launch

Go to market with strategic backing, industry connections, and operational infrastructure.

05

Scale

Grow your team, expand operations, and lead your enterprise to sustainable impact.

/ Women in Motion /

Small steps. Lasting careers.

A Wings program participant on the operations floor at a Doormile logistics hub
Wings Participant building a career, one milestone at a time.

I came in looking for a way forward. I found the confidence to lead.

She started with limited exposure to logistics. Through structured training, mentorship, and hands-on experience, she built real operational skills — and now supports other women stepping into the industry.

/ Collaboration /

Partnership is how ecosystems grow.

The strongest ecosystems are built by many hands.

Wings partners bring industry access, strategic infrastructure, capital, and networks. Together, we build the foundation women-led enterprises need to thrive.

01

Industry Partners

Strategic alliances with logistics operators, supply chain leaders, and distribution networks that open doors for women-led enterprises.

02

Technology Partners

Platforms, tools, and infrastructure that give founders the operational edge to compete and scale efficiently.

03

Community Networks

Founder communities, women's business networks, and ecosystem builders who extend reach and amplify impact.

04

Investment Partners

Funding access, grant programs, angel networks, and capital partners aligned with women-led enterprise growth.

500+Women Founders
100+Enterprises Launched
25+Industry Partners
/ Build the next mile /

Build what’s next.

Join Doormile Wings in building the entrepreneurial ecosystem where women launch, grow, and lead enterprises that create lasting value across logistics.

\ No newline at end of file diff --git a/.next/server/app/empowerment.meta b/.next/server/app/empowerment.meta deleted file mode 100644 index a2f8fe5..0000000 --- a/.next/server/app/empowerment.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/empowerment/layout,_N_T_/empowerment/page,_N_T_/empowerment" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/empowerment/__PAGE__", - "/empowerment", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/empowerment.rsc b/.next/server/app/empowerment.rsc deleted file mode 100644 index a6a5be6..0000000 --- a/.next/server/app/empowerment.rsc +++ /dev/null @@ -1,2194 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -1b:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -c:Tf99, - .eh-outer { - box-sizing: border-box; - padding: 20px; - } - - .eh-section { - position: relative; - border-radius: 25px; - overflow: hidden; - box-sizing: border-box; - height: 800px; - display: flex; - align-items: center; - justify-content: center; - background: #07080c; - } - - .eh-bg { - position: absolute; - inset: 0; - background-image: url("/images/women-hero-slider-2.png"); - background-size: cover; - background-position: 30% 72%; - z-index: 0; - } - - .eh-scrim { - position: absolute; - inset: 0; - background: - linear-gradient(180deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.5) 40%, rgba(7, 8, 12, 0.86) 100%); - z-index: 1; - } - - .eh-inner { - position: relative; - z-index: 2; - width: 100%; - max-width: 1000px; - margin: 0 auto; - padding: 0 15px; - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - box-sizing: border-box; - } - - .eh-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.6px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 20px; - } - - .eh-title { - width: 100%; - font-size: clamp(30px, 5.5vw, 80px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - word-wrap: break-word; - overflow-wrap: break-word; - } - - .eh-title .eh-soft { - color: rgba(255, 255, 255, 0.72); - } - - .eh-desc { - width: 100%; - max-width: 680px; - margin: 23px auto 0; - font-size: clamp(16px, 1.35vw, 23px); - line-height: 1.65; - color: rgba(255, 255, 255, 0.78); - } - - .eh-btns { - display: flex; - align-items: center; - justify-content: center; - gap: 14px; - flex-wrap: wrap; - margin-top: 32px; - } - - .eh-btn-primary, - .eh-btn-outline { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 15px 28px; - border-radius: 100px; - font-weight: 800; - font-size: 14px; - text-decoration: none; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.3s ease, border-color 0.3s ease; - } - - .eh-btn-primary { - background: #c01227; - color: #ffffff !important; - border: 1.5px solid #c01227; - } - - .eh-btn-primary:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.4); - } - - .eh-btn-outline { - background: rgba(255, 255, 255, 0.04); - color: #ffffff !important; - border: 1.5px solid rgba(255, 255, 255, 0.36); - } - - .eh-btn-outline:hover { - border-color: rgba(255, 255, 255, 0.82); - background: rgba(255, 255, 255, 0.09); - transform: translateY(-3px); - } - - @media (max-width: 1020px) { - .eh-outer { padding: 10px; } - } - - @media (max-width: 840px) { - .eh-section { height: 600px; } - } - - @media (max-width: 660px) { - .eh-title { - font-size: clamp(20px, 7vw, 32px) !important; - } - } - - @media (max-width: 480px) { - .eh-section { height: 520px; } - .eh-btn-primary, .eh-btn-outline { width: 100%; justify-content: center; padding: 14px 22px; } - .eh-btns { width: 100%; } - } - 0:{"P":null,"c":["","empowerment"],"q":"","i":false,"f":[[["",{"children":["empowerment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"empowerment","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59 elementor-empowerment","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],"$Le","$Lf","$L10","$L11","$L12","$L13","$L14","$L15","$L16"]}]}]}]}],["$L17"],"$L18"]}],{},null,false,null]},null,false,"$@19"]},null,false,null],"$L1a",false]],"m":"$undefined","G":["$1b",["$L1c"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ScrollReveal"] -1e:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ShimmerText"] -31:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -32:"$Sreact.suspense" -35:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -37:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"className":"eh-outer","children":["$","section",null,{"className":"eh-section","id":"wings-empowerment-hero","children":[["$","div",null,{"className":"eh-bg","aria-hidden":"true"}],["$","div",null,{"className":"eh-scrim","aria-hidden":"true"}],["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":30,"className":"eh-inner","children":[["$","h1",null,{"className":"eh-title","children":["Building ",["$","span",null,{"className":"eh-soft","children":"Women"}],["$","br",null,{}],["$","$L1e",null,{"children":"Entrepreneurs."}]]}],["$","p",null,{"className":"eh-desc","children":"Empowering ambitious women with the network, strategic partnerships, and opportunities to build, grow, and lead successful enterprises that shape the future of logistics."}]]}]]}]}] -1f:Te8f, - .ev-section { - position: relative; - background: #ffffff; - padding: clamp(96px, 11vw, 150px) 0; - overflow: hidden; - } - - .ev-map { - position: absolute; - inset: 0; - z-index: 0; - opacity: 0.4; - pointer-events: none; - } - - .ev-inner { - position: relative; - z-index: 1; - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .ev-eyebrow { - margin: 0 0 18px 0; - font-size: 14px; - font-weight: 500; - letter-spacing: 1.5px; - color: rgba(17, 17, 17, 0.6); - } - - .ev-divider { - width: 100%; - height: 1px; - margin: 0 0 clamp(64px, 7.8vw, 92px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.16); - } - - .ev-title { - margin: 0 0 clamp(92px, 11.5vw, 156px) 0 !important; - max-width: 1320px; - display: block; - font-weight: 800 !important; - font-style: normal !important; - letter-spacing: -0.018em !important; - word-spacing: 0.02em; - line-height: 1.04em !important; - text-transform: none !important; - color: #ffffff !important; - -webkit-text-stroke: 2px #c01227; - paint-order: stroke fill; - font-size: clamp(48px, 8.5vw, 128px) !important; - white-space: normal; - overflow-wrap: normal; - text-wrap: balance; - } - - @media (max-width: 1280px) { - .ev-title { - font-size: 118px !important; - } - } - - @media (max-width: 1020px) { - .ev-title { - font-size: 96px !important; - } - } - - @media (max-width: 767px) { - .ev-title { - font-size: 72px !important; - } - } - - .ev-columns { - display: grid; - grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); - gap: clamp(60px, 8vw, 122px); - align-items: start; - } - - .ev-columns > * { - min-width: 0; - } - - .ev-statement { - margin: 0; - font-size: clamp(28px, 3vw, 52px); - font-weight: 600; - line-height: 1.2; - letter-spacing: -0.03em; - color: #111111; - overflow-wrap: break-word; - } - - .ev-support { - display: grid; - gap: clamp(34px, 3.8vw, 52px); - min-width: 0; - } - - .ev-block { - display: grid; - gap: 12px; - } - - .ev-block-label { - margin: 0; - font-size: 12px; - font-weight: 700; - letter-spacing: 1.4px; - line-height: 1; - text-transform: uppercase; - color: rgba(192, 18, 39, 0.86); - } - - .ev-lead, - .ev-note { - font-size: clamp(17px, 1.3vw, 20px); - line-height: 1.6; - color: #333333; - margin: 0; - overflow-wrap: break-word; - } - - .ev-lead { - font-weight: 700; - } - - .ev-note { - font-weight: 400; - } - - @media (max-width: 900px) { - .ev-columns { - grid-template-columns: 1fr; - } - } - - @media (max-width: 600px) { - .ev-section { padding-top: 64px; padding-bottom: 64px; } - .ev-title { - max-width: calc(100vw - (var(--dm-mobile-gutter, 10px) * 2)); - font-size: 56px !important; - letter-spacing: -0.025em !important; - line-height: 1.02em !important; - -webkit-text-stroke-width: 1.5px; - } - } - e:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1f"}}],"$L20"] -21:T1091, - .esy-section { - position: relative; - width: calc(100% - 40px); - margin: 0 auto clamp(24px, 4vw, 40px); - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - min-height: clamp(500px, 50vw, 690px); - display: flex; - align-items: stretch; - background: #09090b; - } - - .esy-bg { - position: absolute; - inset: 0; - background-image: - linear-gradient(100deg, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.84) 43%, rgba(192, 18, 39, 0.28) 100%), - url("/images/wings-heroslider4.png"); - background-size: cover; - background-position: center; - z-index: 0; - } - - .esy-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - width: 100%; - padding-top: clamp(60px, 7vw, 98px); - padding-bottom: clamp(60px, 7vw, 98px); - display: grid; - grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr); - gap: clamp(36px, 6vw, 96px); - align-items: end; - } - - .esy-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 24px; - } - - .esy-statement { - max-width: 920px; - font-size: clamp(38px, 5.7vw, 86px); - font-weight: 800; - letter-spacing: -0.055em; - line-height: 0.98; - text-transform: uppercase; - color: #ffffff; - margin: 0; - } - - .esy-statement em { - color: #ff5470; - font-style: normal; - } - - .esy-side { - border-left: 1px solid rgba(255, 255, 255, 0.18); - padding-left: clamp(24px, 3vw, 42px); - } - - .esy-label { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.45); - margin-bottom: 18px; - } - - .esy-pull { - font-size: clamp(22px, 2.3vw, 34px); - font-weight: 800; - line-height: 1.16; - letter-spacing: -0.03em; - color: #ffffff; - margin: 0 0 22px 0; - } - - .esy-sub { - font-size: 15.5px; - line-height: 1.65; - color: rgba(255, 255, 255, 0.64); - margin: 0; - } - - /* ---- Desktop-only inner spacing compaction ---- - .esy-section never set its own padding, so it was silently - inheriting 96px top/bottom from the global bare-tag "section" - padding rule (6rem 0) in site.css — stacking with .esy-inner's - own clamp(60-98px) padding into a huge, unbalanced inset. Cancel - that leak here. Also tighten .esy-inner's own padding and widen its - max-width (so a fixed padding, not a narrow centered column, - controls the left/right inset at every desktop width) — and bring - min-height down to match the now-tighter natural content height, - since the old 690px floor was itself forcing extra empty space - once the padding was reduced. Scoped to desktop only; tablet/ - mobile keep their original spacing untouched below. */ - @media (min-width: 1025px) { - .esy-section { - padding: 0; - min-height: clamp(420px, 38vw, 500px); - } - .esy-inner { - max-width: 1900px; - padding-top: 64px; - padding-bottom: 56px; - padding-left: 64px; - padding-right: 64px; - } - } - - @media (max-width: 1024px) { - .esy-section { width: calc(100% - 24px); border-radius: 22px; } - .esy-inner { grid-template-columns: 1fr; align-items: start; } - .esy-side { max-width: 640px; } - } - - @media (max-width: 640px) { - .esy-section { min-height: 560px; } - .esy-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 24px; } - } - f:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$21"}}],"$L22"] -23:T3756, - /* ============================================================ - Success Stories — redesigned right column (stats + 2x2 cards) - Dark section · red accent #dc2626 / #ef4444 · Manrope - ============================================================ */ - /* Neutralise the right column's asymmetric 140px left padding so the - box group can be centered instead of pushed to one side. */ - .elementor-element.elementor-element-b2c956f { padding: 0 !important; } - - /* Vertically center the two columns so the right content lines up with - the image instead of needing a big top gap; tighten row gap. */ - .elementor-element.elementor-element-2ed47f3 { align-items: center !important; } - - /* Animated map background behind the Success Stories content */ - .elementor-element.elementor-element-b6e14bd { position: relative; overflow: hidden; } - .elementor-element.elementor-element-b6e14bd > .e-con-inner { position: relative; z-index: 1; } - .ws-map { position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; } - .ws-map canvas { display: block; } - - #ws-stories { - display: flex; - flex-direction: column; - gap: 16px; - width: 100%; - max-width: 620px; - margin: 0 auto; /* center the 7 boxes as a group — no negative margins */ - } - - #ws-stories .ws__stats { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 12px; - } - #ws-stories .ws__stat { - background: rgba(255,255,255,0.04); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px 16px; - transition: border-color 0.3s ease, background-color 0.3s ease; - } - #ws-stories .ws__stat:hover { border-color: rgba(220,38,38,0.28); background: rgba(220,38,38,0.05); } - #ws-stories .ws__stat-num { - color: #fff !important; - font-weight: 900; - font-size: clamp(28px, 3vw, 38px); - line-height: 1; - letter-spacing: -0.01em; - } - #ws-stories .ws__stat-num span { color: #dc2626 !important; } - #ws-stories .ws__stat-label { - margin-top: 9px; - color: rgba(255,255,255,0.7) !important; - font-size: 14px !important; - font-weight: 700; - letter-spacing: 0.03em; - text-transform: uppercase; - } - - #ws-stories .ws__cards { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 14px; - align-items: stretch; - } - #ws-stories .ws__card { - position: relative; - overflow: hidden; - display: flex; - flex-direction: column; - min-height: 168px; - background: rgba(255,255,255,0.035); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px; - transition: transform 0.35s cubic-bezier(.25,1,.5,1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease; - } - #ws-stories .ws__card::after { - content: ''; - position: absolute; - top: -45%; left: -25%; - width: 150px; height: 150px; - background: radial-gradient(circle, rgba(220,38,38,0.2), transparent 70%); - opacity: 0; - transition: opacity 0.35s ease; - pointer-events: none; - } - #ws-stories .ws__card:hover { - transform: translateY(-4px); - border-color: rgba(220,38,38,0.3); - background: rgba(220,38,38,0.05); - box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7); - } - #ws-stories .ws__card:hover::after { opacity: 1; } - #ws-stories .ws__card-icon { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; height: 40px; - border-radius: 11px; - background: rgba(220,38,38,0.12); - border: 1px solid rgba(220,38,38,0.25); - color: #ef4444; - margin-bottom: 16px; - transition: background-color 0.3s ease, color 0.3s ease; - } - #ws-stories .ws__card:hover .ws__card-icon { background: #dc2626; color: #fff; } - #ws-stories .ws__card-icon svg { width: 21px; height: 21px; } - #ws-stories .ws__card-title { - color: #fff !important; - font-weight: 800; - font-size: 19px; - line-height: 1.2; - letter-spacing: 0; - margin-bottom: 9px; - } - #ws-stories .ws__card-desc { - max-width: 28ch; - color: rgba(255,255,255,0.66) !important; - font-size: 15px; - line-height: 1.52; - margin: 0; - font-weight: 500; - } - - /* ---- Floating card sizing: content-driven, not container-driven ---- - Matches the EV Logistics card height proportions exactly by trimming - red content padding and white footer min-height. */ - .elementor-element.elementor-element-3b61435 { - --padding-top: 46px; - --padding-bottom: 38px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 38px; - --padding-top: 14px; - --padding-bottom: 14px; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 34px; - --padding-bottom: 28px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 32px; - --padding-top: 12px; - --padding-bottom: 12px; - } - } - @media (max-width: 660px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 26px; - --padding-bottom: 22px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 24px; - --padding-top: 10px; - --padding-bottom: 10px; - } - } - - .elementor-element-778840d .logico-title { - white-space: nowrap !important; - } - - /* The banner image (bg-header-women.png) is very wide (≈2.48:1) and the - woman — the subject of this section — sits on the right. On narrow - screens "cover" center-crops her out, so shift the focal point right - to keep her face in frame. */ - @media (max-width: 1024px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 78% center !important; - } - } - @media (max-width: 767px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 82% 25% !important; - } - } - - /* Stack the two columns below the desktop breakpoint so the box group - always gets full width and stays centered — never clipped. */ - @media (max-width: 1024px) { - .elementor-element-778840d .logico-title { - white-space: normal !important; - } - .elementor-element.elementor-element-2ed47f3 { grid-template-columns: 1fr !important; } - #ws-stories { max-width: 640px; margin: 0 auto; } - /* Align the heading, image and stats/cards to one shared left/right - edge — the heading + image widgets carried extra inset that left - them staggered (80px / 70px / 60px) against the stats column. */ - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-778840d, - #women-entrepreneurship .elementor-element-bbfb67f, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container, - #women-entrepreneurship .elementor-element-bbfb67f > .elementor-widget-container { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - } - - @media (max-width: 767px) { - #women-entrepreneurship { - width: calc(100% - 20px) !important; - margin-left: 10px !important; - margin-right: 10px !important; - border-radius: 22px !important; - padding-left: 0px !important; - padding-right: 0px !important; - } - #women-entrepreneurship .e-con-boxed > .e-con-inner { - padding-top: 32px !important; - padding-bottom: 32px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6, - #women-entrepreneurship .elementor-element-b6e14bd, - #women-entrepreneurship .elementor-element-90cc867, - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - #women-entrepreneurship .elementor-element-1f766ea { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element.elementor-element-2ed47f3 { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - margin-top: 0 !important; - padding-top: 0 !important; - gap: 24px !important; - } - #women-entrepreneurship .elementor-element-36efec7 { - margin-top: 0px !important; - padding-top: 0px !important; - gap: 0px !important; - } - #women-entrepreneurship .elementor-element-24c0280 { - margin-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d { - margin-top: 14px !important; - margin-bottom: 14px !important; - padding-top: 0px !important; - padding-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d h3.logico-title, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container { - margin: 0px !important; - padding: 0px !important; - } - #women-entrepreneurship .elementor-element-7da6646 { - width: calc(100% - 28px) !important; - margin-left: 14px !important; - margin-right: 14px !important; - border-radius: 18px !important; - min-height: 240px !important; - margin-top: 15px !important; - margin-bottom: -50px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6 { - padding-left: 14px !important; - padding-right: 14px !important; - margin-left: 0px !important; - margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-bbfb67f img { - width: 100% !important; - } - #women-entrepreneurship .elementor-element-bbfb67f { - margin-top: 0px !important; - margin-bottom: 16px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #ws-stories { - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - /* KPI stat cards stack one-per-row on mobile. Inside each card the big - number sits on the left and the label on the right, vertically - centered, so every stat reads as a clean full-width row instead of - three cramped columns. */ - #ws-stories .ws__stats { grid-template-columns: 1fr; gap: 12px; } - #ws-stories .ws__stat { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - padding: 16px 20px; - min-width: 0; - } - #ws-stories .ws__stat-num { font-size: clamp(30px, 9vw, 40px); } - #ws-stories .ws__stat-label { - margin-top: 0; - font-size: 13px !important; - letter-spacing: 0.02em; - text-align: right; - min-height: 0; - } - #ws-stories .ws__cards { grid-template-columns: 1fr; gap: 12px; } - } - 10:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$23"}}],"$L24"] -25:T2f8a, - .epr-section { - background: #ffffff; - padding-top: clamp(28px, 3.2vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: visible; - } - - .epr-inner { - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .epr-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .epr-head-reveal { - width: 100%; - } - - .epr-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .epr-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .epr-title { - max-width: 950px; - font-size: clamp(42px, 6.2vw, 88px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .epr-stage { - display: grid; - grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr); - gap: clamp(32px, 5vw, 78px); - /* stretch (not start): .epr-aside-wrap must span the full row - height — the tall Programs column's implicit-row height — so it - defines the sticky travel distance. The visual box no longer - lives here, so stretching this item no longer distorts it. */ - align-items: stretch; - min-width: 0; - } - - .epr-stage > * { - min-width: 0; - } - - /* Responsibility split (desktop sticky architecture): - .epr-aside-wrap — plain grid item, stretched to the full - Programs-list row height. Defines travel - distance. No sizing responsibility of its - own beyond that. - .epr-aside-sticky — owns position: sticky. Its height is - explicitly clamped to the viewport - (100dvh minus header clearance and a - bottom safe-margin), so it can never grow - taller than what's actually visible — - the tall min-height that previously fought - the sticky top offset is gone entirely. - .epr-aside — the visual composition (ghost number, map, - heading, paragraph). Fills the sticky - frame's height and arranges its existing - content inside it; owns the decorative - bleed clipping (overflow: hidden). */ - .epr-aside-wrap { - min-width: 0; - } - - .epr-aside-sticky { - /* 132px clears the site header's fixed state (~122px tall once - scrolled) with a small margin; only grows on very tall - viewports. This is viewport-height-derived, NOT content-height - derived — unlike the old top formula, it never has to react to - how tall the aside's own content happens to be. */ - --epr-sticky-top: clamp(132px, 12dvh, 160px); - --epr-sticky-bottom-safe: 28px; - position: sticky; - top: var(--epr-sticky-top); - height: calc(100dvh - var(--epr-sticky-top) - var(--epr-sticky-bottom-safe)); - min-height: 0; - min-width: 0; - /* Lets the visual composition react to the frame's OWN resolved - height (container query below) rather than guessing from the - viewport or the write-up's vw-based type scale. */ - container-type: size; - container-name: epr-frame; - } - - .epr-aside { - --epr-aside-pad-t: clamp(18px, 3vw, 34px); - --epr-aside-pad-b: clamp(24px, 3.5vw, 42px); - position: relative; - height: 100%; - min-width: 0; - min-height: 0; - padding: var(--epr-aside-pad-t) 0 var(--epr-aside-pad-b); - display: flex; - flex-direction: column; - justify-content: center; - overflow: hidden; - color: #111111; - } - - .epr-aside-map { - position: absolute; - inset: 8% -22% 8% -28%; - z-index: 0; - opacity: 0.22; - pointer-events: none; - } - - .epr-aside-map canvas { - display: block; - } - - .epr-aside-content { - position: relative; - z-index: 1; - display: grid; - gap: clamp(18px, 2.2vw, 28px); - } - - .epr-aside-num { - position: relative; - font-size: clamp(164px, 17vw, 300px); - font-weight: 900; - line-height: 0.78; - letter-spacing: -0.06em; - color: transparent; - -webkit-text-stroke: 2px rgba(200, 16, 46, 0.2); - } - - .epr-aside-copy { - position: relative; - max-width: 12ch; - font-size: clamp(30px, 3.6vw, 56px); - font-weight: 800; - line-height: 0.98; - letter-spacing: -0.055em; - text-transform: uppercase; - color: #111111; - margin: 0; - } - - .epr-aside-copy em { - font-style: normal; - color: #c8102e; - } - - .epr-aside-desc { - position: relative; - max-width: 34ch; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - /* Constrained-frame fallback: the sticky frame is short (short - desktop viewport height), so the decorative ghost number/map - shrink first — spacing second — while the heading and paragraph - stay full size and fully visible, per spec. Placed after the base - .epr-aside-num/-content/-map rules so it wins the cascade at - matching container sizes (equal selector specificity; source - order decides). */ - @container epr-frame (max-height: 660px) { - .epr-aside { padding-top: clamp(12px, 1.8vw, 22px); padding-bottom: clamp(16px, 2.2vw, 26px); } - .epr-aside-content { gap: clamp(12px, 1.6vw, 20px); } - .epr-aside-num { font-size: clamp(90px, 11vw, 180px); } - } - - @container epr-frame (max-height: 560px) { - .epr-aside { padding-top: clamp(8px, 1.2vw, 14px); padding-bottom: clamp(10px, 1.6vw, 18px); } - .epr-aside-content { gap: clamp(6px, 1vw, 12px); } - .epr-aside-num { font-size: clamp(48px, 7vw, 100px); } - .epr-aside-map { opacity: 0.14; } - } - - .epr-list { - display: grid; - gap: clamp(28px, 4vw, 52px); - } - - .epr-row { - display: grid; - grid-template-columns: 110px minmax(0, 1fr); - gap: clamp(22px, 4vw, 58px); - padding-bottom: clamp(28px, 4vw, 52px); - border-bottom: 1px solid rgba(17, 17, 17, 0.14); - } - - .epr-row:nth-child(even) { - margin-left: clamp(0px, 7vw, 96px); - } - - .epr-row-index { - font-size: clamp(38px, 4.2vw, 62px); - font-weight: 900; - line-height: 1; - letter-spacing: -0.05em; - color: #c8102e; - } - - .epr-row-featured { - padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); - background: #09090b; - border-radius: 22px; - border-bottom: none; - margin-bottom: clamp(28px, 4vw, 52px); - } - - .epr-row-featured .epr-row-index { - color: rgba(255, 255, 255, 0.22); - -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); - } - - .epr-row-featured .epr-row-title { - font-size: clamp(32px, 4vw, 64px) !important; - color: #ffffff !important; - } - - .epr-row-featured .epr-row-desc { - color: rgba(255, 255, 255, 0.62); - } - - .epr-row-flag { - display: inline-block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.3px; - text-transform: uppercase; - color: #ffffff; - background: #c8102e; - padding: 6px 14px; - border-radius: 100px; - margin-bottom: 16px; - } - - .epr-row-type { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - margin-bottom: 14px; - } - - .epr-row-featured .epr-row-type { - color: rgba(255, 255, 255, 0.42); - } - - .epr-row-title { - font-size: clamp(28px, 3.4vw, 52px) !important; - font-weight: 800 !important; - letter-spacing: -0.045em !important; - line-height: 1.02 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0 0 14px 0; - } - - .epr-row-desc { - max-width: 660px; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - .epr-cta { - margin-top: clamp(48px, 6vw, 72px); - } - - .epr-cta-link { - display: inline-flex; - align-items: center; - gap: 10px; - font-size: 15px; - font-weight: 800; - color: #111111 !important; - text-decoration: none !important; - border-bottom: 1.5px solid rgba(17, 17, 17, 0.2); - padding-bottom: 5px; - transition: border-color 0.3s ease, color 0.3s ease; - } - - .epr-cta-link:hover { - color: #c8102e !important; - border-color: #c8102e; - } - - /* Laptop: sticky stays enabled, just a narrower gutter. */ - @media (max-width: 1180px) { - .epr-stage { grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr); gap: clamp(28px, 4vw, 46px); } - .epr-row:nth-child(even) { margin-left: 0; } - } - - /* Tablet: sticky disabled — the aside scrolls in normal flow instead - of pinning, since there's no longer enough vertical runway next to - the (now narrower, shorter) program list for pinning to read well. */ - @media (max-width: 1023px) { - .epr-aside-sticky { - position: relative; - top: auto; - height: auto; - container-type: normal; - } - } - - @media (max-width: 767px) { - .epr-stage { grid-template-columns: 1fr; } - .epr-aside { - position: relative; - top: auto; - min-height: 300px; - padding-top: 4px; - padding-bottom: clamp(24px, 7vw, 38px); - } - .epr-aside-map { - inset: -8% -18% 0 -20%; - opacity: 0.18; - } - .epr-aside-content { - gap: 20px; - } - .epr-aside-num { - font-size: clamp(128px, 34vw, 180px); - } - .epr-aside-copy { - max-width: 11ch; - font-size: clamp(34px, 10vw, 48px); - } - .epr-aside-desc { - max-width: 32ch; - font-size: 14.5px; - } - } - - @media (max-width: 640px) { - .epr-section { padding-top: 28px; padding-bottom: 54px; } - .epr-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epr-row-title { - font-size: clamp(27px, 8.5vw, 36px) !important; - overflow-wrap: anywhere; - } - .epr-row { grid-template-columns: 1fr; gap: 12px; } - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"] -27:Te98, - .eim-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 48px); - } - - .eim-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .eim-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #c8102e; - margin-bottom: 20px; - } - - .eim-title { - font-size: clamp(28px, 3.4vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 clamp(32px, 4vw, 48px) 0; - } - - .eim-divider { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-hero-row { - display: flex; - align-items: flex-end; - gap: clamp(20px, 3vw, 36px); - margin-bottom: clamp(48px, 6vw, 72px); - } - - .eim-hero-num { - font-size: clamp(90px, 13vw, 190px); - font-weight: 800; - line-height: 0.85; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 2px #c8102e; - } - - .eim-hero-label { - font-size: 13px; - font-weight: 700; - letter-spacing: 1.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.55); - max-width: 90px; - line-height: 1.4; - padding-bottom: clamp(12px, 1.5vw, 24px); - } - - .eim-divider-2 { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-secondary-row { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .eim-secondary-item { - padding-right: 24px; - border-left: 1px solid rgba(255, 255, 255, 0.12); - padding-left: 24px; - } - - .eim-secondary-item:first-child { - border-left: none; - padding-left: 0; - } - - .eim-secondary-num { - display: block; - font-size: clamp(32px, 3vw, 44px); - font-weight: 800; - color: #ff5470; - letter-spacing: -0.02em; - margin-bottom: 10px; - } - - .eim-secondary-label { - font-size: 13px; - font-weight: 600; - color: rgba(255, 255, 255, 0.5); - line-height: 1.4; - } - - .eim-copy { - max-width: 720px; - margin-top: clamp(48px, 6vw, 72px); - font-size: 15.5px; - line-height: 1.7; - color: rgba(255, 255, 255, 0.55); - } - - @media (max-width: 1024px) { - .eim-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 700px) { - .eim-hero-row { align-items: flex-start; flex-direction: column; gap: 12px; } - .eim-hero-label { padding-bottom: 0; max-width: none; } - .eim-secondary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } - .eim-secondary-item:nth-child(3) { border-left: none; padding-left: 0; } - } - - @media (max-width: 460px) { - .eim-section { padding-top: 48px; padding-bottom: 48px; } - } - 12:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$27"}}],"$L28"] -29:T1f91, - .ehw-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0 calc(var(--space-section-lg, 80px) + 32px) 0; - overflow: hidden; - } - - .ehw-inner { - max-width: 1380px; - margin: 0 auto; - } - - .ehw-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(126px, calc(7vw + 60px), 172px); - } - - .ehw-head-reveal { - width: 100%; - } - - .ehw-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .ehw-title { - max-width: 820px; - font-size: clamp(32px, 4vw, 54px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 !important; - } - - /* ---------------------------------------------------------------- - Premium editorial process row: five milestones in a single - sequence, separated by thin hairline dividers (no cards, no - shadows, no boxed containers). One flex-wrap sequence with - responsive flex-basis handles the composition at every size — - 5-across on desktop, 3 + 2 (centered) on tablet, a single - vertical column on mobile — from one shared markup. - ---------------------------------------------------------------- */ - .ehw-sequence { - display: flex; - flex-wrap: wrap; - justify-content: center; - --ehw-gap: clamp(24px, 2.6vw, 48px); - column-gap: var(--ehw-gap); - row-gap: clamp(48px, 6vw, 84px); - } - - .ehw-step { - position: relative; - flex: 0 1 calc((100% - 4 * var(--ehw-gap)) / 5); - min-width: 168px; - padding-left: clamp(20px, 2vw, 32px); - border-left: 1px solid rgba(17, 17, 17, 0.14); - transition: border-color 0.3s ease; - } - - .ehw-step:first-child { - border-left: none; - padding-left: 0; - } - - .ehw-step:hover { - border-left-color: rgba(200, 16, 46, 0.4); - } - - .ehw-step-num { - font-size: clamp(48px, 4.6vw, 78px); - font-weight: 900; - line-height: 0.84; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 1.5px rgba(17, 17, 17, 0.24); - margin: 0 0 18px 0; - transition: -webkit-text-stroke-color 0.3s ease; - } - - .ehw-step.is-accent .ehw-step-num { - -webkit-text-stroke: 1.5px rgba(200, 16, 46, 0.58); - } - - .ehw-step-kicker { - display: flex; - align-items: center; - gap: 7px; - margin-bottom: 18px; - } - - .ehw-step-kicker svg { - width: 13px; - height: 13px; - color: rgba(17, 17, 17, 0.36); - flex-shrink: 0; - } - - .ehw-step-kicker span { - font-size: 11px; - font-weight: 800; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.4); - } - - .ehw-step.is-accent .ehw-step-kicker svg, - .ehw-step.is-accent .ehw-step-kicker span { - color: #c8102e; - } - - .ehw-step-title { - font-size: clamp(18px, 1.4vw, 22px) !important; - font-weight: 800 !important; - letter-spacing: -0.02em !important; - line-height: 1.2 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 22px 0; - } - - .ehw-step-desc { - max-width: 27ch; - font-size: 14px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.55); - margin: 0; - } - - /* Tablet: 3 + 2, centered — sever the divider at the start of each row. */ - @media (max-width: 1100px) { - .ehw-step { - flex-basis: calc((100% - 2 * var(--ehw-gap)) / 3); - } - .ehw-step:nth-child(4) { - border-left: none; - padding-left: 0; - } - } - - /* Mobile: compact numbered editorial index — number in a narrow - left column, title/description/divider sharing one right - content column, laid out on the existing milestone markup via - CSS Grid (no duplicated JSX, no new step markup). */ - @media (max-width: 640px) { - .ehw-head { - margin-bottom: clamp(40px, 10vw, 56px); - } - - .ehw-sequence { - row-gap: 0; - } - - .ehw-step { - display: grid; - grid-template-columns: 48px minmax(0, 1fr); - column-gap: 14px; - flex-basis: 100%; - padding-left: 0; - padding-top: clamp(28px, 8vw, 36px); - border-left: none; - border-top: none; - } - - .ehw-step:first-child { - padding-top: 0; - } - - /* Compact solid index number — replaces the oversized pale - outline treatment used on desktop/tablet. */ - .ehw-step-num { - grid-column: 1; - grid-row: 1; - align-self: start; - font-size: clamp(32px, 9vw, 40px); - line-height: 1; - color: #c8102e; - -webkit-text-stroke: 0; - margin: 0; - } - - /* Hidden completely — no reserved gap left in its place since a - display:none grid item takes no track space. */ - .ehw-step-kicker { - display: none; - } - - .ehw-step-title { - grid-column: 2; - grid-row: 1; - font-size: clamp(22px, 6vw, 26px) !important; - } - - .ehw-step-desc { - grid-column: 2; - grid-row: 2; - max-width: none; - font-size: 16px; - } - - /* Divider lives inside the description box (content column - only), so it never runs underneath the number column. */ - .ehw-step-desc::after { - content: ""; - display: block; - margin-top: clamp(24px, 6vw, 28px); - height: 1px; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-step:last-child .ehw-step-desc::after { - display: none; - } - } - - /* ---- Mobile title-to-description gap fix ---- - .ehw-step-title is an

, so it's matched by a global, - unscoped site.css rule (.logico-front-end h3:not(...) { margin: - 0 0 30px }) that outranks this component's own single-class - ".ehw-step-title { margin: 0 0 22px }" by specificity — bumping - the real margin-bottom to 30px everywhere, not just here. There - is no min-height, space-between, or fixed row height anywhere in - this component; the gap is purely that extra 8px of margin - reading as oversized once every other element around it (kicker, - description line-height) is tightly spaced. Overridden with - !important, matching how every other property on this selector - already has to defeat the same global rule. Scoped to mobile - only, per spec — desktop/tablet are left exactly as they were - (still resolving to the global 30px; out of scope here). */ - @media (max-width: 767px) { - .ehw-step-title { - margin-bottom: 16px !important; - } - } - - @media (max-width: 480px) { - .ehw-section { padding-top: 48px; padding-bottom: 68px; } - } - 13:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$29"}}],"$L2a"] -2b:T1df1, - .est-section { - position: relative; - background: #ffffff; - padding-top: clamp(24px, 3vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: hidden; - } - - .est-inner { - max-width: 1380px; - margin: 0 auto; - } - - .est-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .est-head-reveal { - width: 100%; - } - - .est-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .est-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .est-title { - max-width: 940px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .est-feature { - display: grid; - grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.64fr); - gap: clamp(28px, 4vw, 62px); - align-items: stretch; - margin-bottom: clamp(44px, 6vw, 76px); - } - - .est-photo { - position: relative; - min-height: clamp(460px, 48vw, 680px); - border-radius: 26px; - overflow: hidden; - background: #09090b; - } - - .est-photo img { - object-fit: cover; - object-position: center; - } - - .est-photo::after { - content: ""; - position: absolute; - inset: 0; - background: linear-gradient(180deg, rgba(9, 9, 11, 0) 34%, rgba(9, 9, 11, 0.72) 100%); - pointer-events: none; - } - - .est-photo-caption { - position: absolute; - left: clamp(24px, 3vw, 42px); - right: clamp(24px, 3vw, 42px); - bottom: clamp(24px, 3vw, 42px); - z-index: 1; - color: #ffffff; - } - - .est-photo-caption span { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.6); - margin-bottom: 8px; - } - - .est-photo-caption strong { - display: block; - font-size: clamp(24px, 3vw, 42px); - font-weight: 900; - line-height: 1.02; - letter-spacing: -0.04em; - } - - .est-copy { - border-radius: 26px; - background: #09090b; - color: #ffffff; - padding: clamp(34px, 5vw, 62px); - display: flex; - flex-direction: column; - justify-content: space-between; - overflow: hidden; - position: relative; - } - - .est-copy::before { - content: ""; - position: absolute; - width: 320px; - height: 320px; - right: -120px; - top: -120px; - background: radial-gradient(circle, rgba(200, 16, 46, 0.42), transparent 68%); - pointer-events: none; - } - - .est-quote-mark { - position: relative; - font-family: Georgia, serif; - font-size: 92px; - line-height: 0.8; - color: #c8102e; - display: block; - margin-bottom: 20px; - } - - .est-quote-text { - position: relative; - font-size: clamp(25px, 3vw, 44px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.04em; - color: #ffffff; - margin: 0 0 28px 0; - } - - .est-narrative { - position: relative; - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.66); - margin: 0; - max-width: 46ch; - } - - .est-person { - position: relative; - padding-top: clamp(38px, 5vw, 64px); - } - - .est-person-name { - font-size: 18px; - font-weight: 900; - color: #ffffff; - } - - .est-person-role { - font-size: 13.5px; - color: rgba(255, 255, 255, 0.52); - margin-top: 3px; - } - - .est-list-label { - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - padding-top: clamp(24px, 3vw, 38px); - border-top: 1px solid rgba(17, 17, 17, 0.14); - margin-bottom: clamp(20px, 3vw, 30px); - } - - .est-list { - display: flex; - gap: 18px; - overflow-x: auto; - scroll-snap-type: x mandatory; - padding-bottom: 12px; - margin-bottom: clamp(6px, 1vw, 10px); - -webkit-overflow-scrolling: touch; - } - - .est-list::-webkit-scrollbar { - height: 4px; - } - - .est-list::-webkit-scrollbar-thumb { - background: rgba(17, 17, 17, 0.18); - border-radius: 100px; - } - - .est-row { - scroll-snap-align: start; - flex: 0 0 clamp(260px, 30vw, 340px); - min-height: 220px; - padding: clamp(24px, 2.6vw, 32px); - border: 1px solid rgba(17, 17, 17, 0.14); - border-radius: 20px; - display: flex; - flex-direction: column; - justify-content: space-between; - transition: border-color 0.3s ease, transform 0.3s ease; - } - - .est-row:hover { - border-color: rgba(200, 16, 46, 0.4); - transform: translateY(-4px); - } - - .est-row-name { - font-size: 20px; - font-weight: 900; - color: #111111; - } - - .est-row-role { - font-size: 13px; - font-weight: 800; - letter-spacing: 1.4px; - text-transform: uppercase; - color: #c8102e; - margin-top: 6px; - } - - .est-row-line { - font-size: 15px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.62); - margin: 28px 0 0; - } - - @media (max-width: 1000px) { - .est-head, - .est-feature { grid-template-columns: 1fr; } - .est-row { - min-height: 0; - flex-basis: 78vw; - } - } - - @media (max-width: 640px) { - .est-section { padding-top: 54px; padding-bottom: 6px; } - /* .est-feature's margin-bottom (clamp(44px, 6vw, 76px)) was sized - to precede an .est-list testimonial row block that no longer - exists in this component's JSX. Since .est-feature is now the - section's last child, that margin was pure dead space stacking - on top of .est-section's own padding-bottom above — the real - source of the oversized mobile gap before the next section. */ - .est-feature { margin-bottom: 0; } - .est-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .est-quote-text { - font-size: clamp(25px, 8vw, 34px); - overflow-wrap: anywhere; - } - .est-photo, - .est-copy { border-radius: 20px; } - .est-photo { min-height: 420px; } - } - 14:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2b"}}],"$L2c"] -2d:T16dc, - .epn-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(68px, 8vw, 112px) 0; - } - - .epn-section::before { - content: ""; - position: absolute; - inset: 0; - background: - linear-gradient(120deg, rgba(9, 9, 11, 0.98) 0%, rgba(9, 9, 11, 0.88) 54%, rgba(192, 18, 39, 0.18) 100%), - url("/images/wings-heroslider3.png"); - background-size: cover; - background-position: center 70%; - opacity: 1; - } - - .epn-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .epn-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(50px, 7vw, 84px); - } - - .epn-head-reveal { - width: 100%; - } - - .epn-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(255, 255, 255, 0.16); - } - - .epn-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.52); - } - - .epn-title { - max-width: 930px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - } - - .epn-title em { - color: #ff5470; - font-style: normal; - } - - .epn-body { - display: grid; - grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr); - gap: clamp(32px, 5vw, 72px); - align-items: stretch; - } - - .epn-manifesto { - border-left: 4px solid #c8102e; - padding-left: clamp(22px, 3vw, 36px); - align-self: start; - } - - .epn-intro { - font-size: clamp(22px, 2.5vw, 36px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.035em; - color: #ffffff; - margin: 0 0 22px; - } - - .epn-note { - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.62); - margin: 0; - max-width: 38ch; - } - - .epn-grid { - display: flex; - flex-direction: column; - border-top: 1px solid rgba(255, 255, 255, 0.16); - } - - .epn-card { - position: relative; - display: grid; - grid-template-columns: 70px minmax(0, 1fr) 32px; - align-items: center; - gap: clamp(18px, 3vw, 40px); - padding: clamp(22px, 2.6vw, 32px) clamp(4px, 1vw, 16px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - border-left: 2px solid transparent; - transition: border-color 0.3s ease, padding-left 0.3s ease, background-color 0.3s ease; - } - - .epn-card:hover { - border-left-color: #c8102e; - background: rgba(200, 16, 46, 0.06); - padding-left: clamp(20px, 2.5vw, 32px); - } - - .epn-card-index { - font-size: 15px; - font-weight: 900; - color: rgba(255, 255, 255, 0.35); - } - - .epn-card-title { - font-size: clamp(22px, 2.2vw, 30px) !important; - font-weight: 900 !important; - line-height: 1.1 !important; - letter-spacing: -0.03em !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 8px; - } - - .epn-card-desc { - max-width: 46ch; - font-size: 14.5px; - line-height: 1.6; - color: rgba(255, 255, 255, 0.58); - margin: 0; - } - - .epn-card-arrow { - display: flex; - color: rgba(255, 255, 255, 0.3); - transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; - } - - .epn-card:hover .epn-card-arrow { - transform: translateX(4px); - color: #ff5470; - } - - .epn-cta { - margin-top: clamp(42px, 5vw, 64px); - } - - .epn-cta-btn { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 16px 36px; - border-radius: 100px; - background: #c01227; - color: #ffffff !important; - font-weight: 800; - font-size: 15px; - text-decoration: none !important; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease; - } - - .epn-cta-btn:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.35); - } - - @media (max-width: 1024px) { - .epn-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 900px) { - .epn-head, - .epn-body { grid-template-columns: 1fr; } - } - - @media (max-width: 700px) { - .epn-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epn-card { - grid-template-columns: 44px minmax(0, 1fr); - } - .epn-card-arrow { display: none; } - } - - @media (max-width: 460px) { - .epn-section { padding-top: 54px; padding-bottom: 54px; } - } - 15:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2d"}}],"$L2e"] -2f:Tdad, - .emp-cta-wrap { - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto clamp(40px, 5vw, 64px); - } - - .emp-cta { - position: relative; - overflow: hidden; - border-radius: 28px; - min-height: clamp(480px, 48vw, 680px); - background: #09090b; - display: flex; - align-items: flex-end; - } - - .emp-cta::before { - content: ""; - position: absolute; - inset: 0; - background-image: - linear-gradient(180deg, rgba(9, 9, 11, 0.18) 0%, rgba(9, 9, 11, 0.52) 48%, rgba(9, 9, 11, 0.96) 100%), - linear-gradient(90deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.35) 58%, rgba(9, 9, 11, 0.12) 100%), - url("/images/bg-header-women.webp"); - background-size: cover; - background-position: center; - transform: scale(1.02); - } - - .emp-cta-inner { - position: relative; - z-index: 1; - max-width: 1380px; - width: 100%; - margin: 0 auto; - padding: clamp(46px, 7vw, 88px) clamp(24px, 5vw, 64px); - box-sizing: border-box; - } - - .emp-cta-recap { - display: flex; - gap: clamp(28px, 4vw, 52px); - margin-bottom: clamp(28px, 4vw, 44px); - padding-bottom: clamp(24px, 3vw, 36px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - } - - .emp-cta-recap-item { - display: flex; - align-items: baseline; - gap: 10px; - } - - .emp-cta-recap-num { - font-size: clamp(22px, 2.4vw, 32px); - font-weight: 900; - letter-spacing: -0.02em; - color: transparent; - -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.85); - } - - .emp-cta-recap-label { - font-size: 12px; - font-weight: 700; - letter-spacing: 0.6px; - color: rgba(255, 255, 255, 0.5); - } - - .emp-cta-kicker { - font-size: 13px; - font-weight: 900; - letter-spacing: 2.4px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 22px; - } - - .emp-cta-title { - max-width: 980px; - color: #ffffff !important; - font-size: clamp(44px, 7vw, 108px) !important; - font-weight: 900 !important; - line-height: 0.95 !important; - letter-spacing: -0.06em !important; - text-transform: uppercase !important; - margin: 0 0 clamp(24px, 3vw, 34px); - } - - .emp-cta-title em { - color: #ff5470; - font-style: normal; - } - - .emp-cta-bottom { - display: block; - max-width: 1120px; - } - - .emp-cta-sub { - max-width: 620px; - font-size: 16px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.68); - margin: 0; - } - - @media (max-width: 1024px) { - .emp-cta-wrap { width: calc(100% - 24px); } - .emp-cta { border-radius: 22px; } - } - - @media (max-width: 760px) { - .emp-cta { min-height: 600px; } - .emp-cta::before { background-position: 76% center; } - .emp-cta-title { - font-size: clamp(36px, 11vw, 44px) !important; - letter-spacing: -0.05em !important; - overflow-wrap: anywhere; - } - .emp-cta-recap { flex-wrap: wrap; row-gap: 14px; } - } - 16:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2f"}}],"$L30"] -17:["$","script","script-0",{"src":"/_next/static/chunks/0vzdvje64yndv.js","async":true,"nonce":"$undefined"}] -18:["$","$L31",null,{"children":["$","$32",null,{"name":"Next.MetadataOutlet","children":"$@33"}]}] -34:[] -19:"$W34" -1a:["$","$1","h",{"children":[null,["$","$L35",null,{"children":"$L36"}],["$","div",null,{"hidden":true,"children":["$","$L37",null,{"children":["$","$32",null,{"name":"Next.Metadata","children":"$L38"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1c:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -39:I[5074,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"default"] -3c:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],""] -3e:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"CountUp"] -3f:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"StaggerChildren"] -40:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"Image"] -20:["$","section",null,{"className":"ev-section","id":"wings-empowerment-vision","children":[["$","div",null,{"className":"ev-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ev-inner","children":[["$","$L1d",null,{"delay":0.05,"duration":0.7,"yOffset":20,"children":[["$","p",null,{"className":"ev-eyebrow","children":"/ Our Vision /"}],["$","hr",null,{"className":"ev-divider"}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.85,"yOffset":30,"children":["$","h2",null,{"className":"ev-title","children":"Women Own The Future."}]}],["$","div",null,{"className":"ev-columns","children":[["$","$L1d",null,{"delay":0.18,"duration":0.8,"yOffset":25,"children":["$","p",null,{"className":"ev-statement","children":"A logistics ecosystem where women don’t just participate — they own, build, and lead."}]}],["$","$L1d",null,{"delay":0.26,"duration":0.8,"yOffset":25,"className":"ev-support","children":[["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"The vision"}],["$","p",null,{"className":"ev-lead","children":"We are building an entrepreneurial ecosystem where women launch enterprises, scale operations, and shape the future of logistics from the inside."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"Why it matters"}],["$","p",null,{"className":"ev-note","children":"Industries transform when founders emerge from every corner. Women-led enterprises bring fresh perspective, operational resilience, and long-term economic impact to logistics."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"How Wings contributes"}],["$","p",null,{"className":"ev-note","children":"Wings provides the infrastructure — strategic partnerships, funding access, founder networks, and industry connections — that turns ambition into enterprise."}]]}]]}]]}]]}]}]]}] -22:["$","section",null,{"className":"esy-section","id":"wings-empowerment-story","children":[["$","div",null,{"className":"esy-bg","aria-hidden":"true"}],["$","div",null,{"className":"esy-inner dm-section-container","children":[["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":25,"children":[["$","div",null,{"className":"esy-eyebrow","children":"/ Our Approach /"}],["$","p",null,{"className":"esy-statement","children":["Not a program on a brochure. ",["$","em",null,{"children":"An ecosystem women can build in."}]]}]]}],["$","$L1d",null,{"delay":0.15,"duration":0.8,"yOffset":25,"className":"esy-side","children":[["$","span",null,{"className":"esy-label","children":"Manifesto"}],["$","p",null,{"className":"esy-pull","children":"A venture that starts with conviction. A network that turns it into momentum."}],["$","p",null,{"className":"esy-sub","children":"Wings is designed around the moments that define a founder: the first partnership signed, the first client won, the first team hired, the first enterprise scaled."}]]}]]}]]}] -24:["$","div",null,{"id":"women-entrepreneurship","className":"elementor-element elementor-element-bbc6760 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"bbc6760","data-element_type":"container","data-e-type":"container","style":{"backgroundColor":"#1f1f1f","width":"calc(100% - 40px)","marginLeft":"20px","marginRight":"20px","borderRadius":"25px"},"children":[["$","div",null,{"className":"elementor-element elementor-element-13a7637 elementor-widget__width-auto elementor-absolute elementor-widget elementor-widget-logico_decorative_block","data-id":"13a7637","data-element_type":"widget","data-e-type":"widget","style":{"position":"absolute"},"children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"block-decoration animation-enable block-decoration-style-1","children":["$","div",null,{"className":"block-decoration-item"}]}]}]}],["$","div",null,{"style":{"backgroundImage":"url(/images/bg-header-women.webp)"},"className":"elementor-element elementor-element-7da6646 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"7da6646","data-element_type":"container","data-e-type":"container"}],["$","div",null,{"className":"elementor-element elementor-element-8b5d6e6 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"8b5d6e6","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-1f766ea e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"1f766ea","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-3b61435 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3b61435","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"elementor-element elementor-element-c364d1c elementor-widget elementor-widget-text-editor","data-id":"c364d1c","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"01"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-239afbb elementor-widget elementor-widget-logico_heading","data-id":"239afbb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h5",null,{"className":"logico-title","children":"Women Entrepreneurship"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-0d307dd elementor-widget elementor-widget-text-editor","data-id":"0d307dd","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"An ecosystem where women build, own, and scale enterprises across logistics."}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-5aea22e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5aea22e","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":["$","div",null,{"className":"elementor-element elementor-element-46b9ffa elementor-widget elementor-widget-logico_button","data-id":"46b9ffa","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"button-widget","children":["$","div",null,{"className":"button-container","children":["$","a",null,{"href":"#wings-empowerment-programs","className":"logico-small-button","children":["Explore the ecosystem",["$","svg",null,{"viewBox":"0 0 13 20","children":"$L3a"}]]}]}]}]}]}]}]]}]}],"$L3b"]}] -26:["$","section",null,{"className":"epr-section","id":"wings-empowerment-programs","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epr-inner","children":[["$","div",null,{"className":"epr-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epr-head-reveal","children":[["$","div",null,{"className":"epr-eyebrow","children":"/ Entrepreneurship Pillars /"}],["$","hr",null,{"className":"epr-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epr-title","children":"Every pillar is built around ownership."}]}]]}],["$","div",null,{"className":"epr-stage","children":[["$","div",null,{"className":"epr-aside-wrap","children":["$","div",null,{"className":"epr-aside-sticky","children":["$","aside",null,{"className":"epr-aside","children":[["$","div",null,{"className":"epr-aside-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","$L1d",null,{"delay":0.05,"duration":0.8,"yOffset":24,"className":"epr-aside-content","children":[["$","div",null,{"className":"epr-aside-num","children":"05"}],["$","p",null,{"className":"epr-aside-copy","children":["Building tomorrow’s ",["$","em",null,{"children":"women entrepreneurs."}]]}],["$","p",null,{"className":"epr-aside-desc","children":"Every enterprise starts with one decision. Our pillars move women from idea to ownership through mentorship, real industry partnerships, and hands-on venture building across the logistics ecosystem."}]]}]]}]}]}],["$","div",null,{"children":[["$","$L1d",null,{"delay":0.1,"duration":0.8,"yOffset":24,"children":["$","div",null,{"className":"epr-list","children":[["$","article","Venture Launchpad",{"className":"epr-row epr-row-featured","children":[["$","div",null,{"className":"epr-row-index","children":"01"}],["$","div",null,{"children":[["$","span",null,{"className":"epr-row-flag","children":"Where most founders begin"}],["$","span",null,{"className":"epr-row-type","children":"Start building"}],["$","h3",null,{"className":"epr-row-title","children":"Venture Launchpad"}],["$","p",null,{"className":"epr-row-desc","children":"Business model validation, market entry strategy, entity formation, and go-to-market execution for women-led logistics enterprises."}]]}]]}],["$","article","Strategic Partnerships",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"02"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Connect and grow"}],["$","h3",null,{"className":"epr-row-title","children":"Strategic Partnerships"}],["$","p",null,{"className":"epr-row-desc","children":"Direct access to supply chain networks, B2B relationships, industry alliances, and commercial agreements that accelerate growth."}]]}]]}],["$","article","Founder Mentorship",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"03"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Learn from builders"}],["$","h3",null,{"className":"epr-row-title","children":"Founder Mentorship"}],["$","p",null,{"className":"epr-row-desc","children":"One-on-one guidance from established entrepreneurs, operators, and investors who understand what it takes to scale."}]]}]]}],["$","article","Growth & Scale",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"04"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Scale with confidence"}],["$","h3",null,{"className":"epr-row-title","children":"Growth & Scale"}],["$","p",null,{"className":"epr-row-desc","children":"Operational expansion frameworks, team building, funding readiness, and sustainable unit economics for ventures ready to grow."}]]}]]}],["$","article","Industry Immersion",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"05"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"See the opportunity"}],["$","h3",null,{"className":"epr-row-title","children":"Industry Immersion"}],["$","p",null,{"className":"epr-row-desc","children":"Real exposure to logistics operations, supply chain infrastructure, and distribution networks before founders commit to a vertical."}]]}]]}]]}]}],["$","div",null,{"className":"epr-cta","children":["$","$L3c",null,{"href":"/contact","className":"epr-cta-link","children":["Start your venture","$L3d"]}]}]]}]]}]]}]}]}] -28:["$","section",null,{"className":"eim-section","id":"wings-empowerment-impact","children":["$","div",null,{"className":"eim-inner dm-section-container","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"children":[["$","div",null,{"className":"eim-eyebrow","children":"/ Our Impact /"}],["$","h2",null,{"className":"eim-title","children":"Growth we can measure"}]]}],["$","hr",null,{"className":"eim-divider"}],["$","$L1d",null,{"delay":0.08,"duration":0.8,"yOffset":20,"className":"eim-hero-row","children":[["$","span",null,{"className":"eim-hero-num","children":["$","$L3e",null,{"end":500,"suffix":"+","duration":2.2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-hero-label","children":"Women-Led Enterprises In The Ecosystem"}]]}],["$","hr",null,{"className":"eim-divider-2"}],["$","$L1d",null,{"delay":0.1,"duration":0.8,"yOffset":20,"children":["$","div",null,{"className":"eim-secondary-row","children":[["$","div","Enterprises Launched",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":100,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Enterprises Launched"}]]}],["$","div","Industry Partners",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":25,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Industry Partners"}]]}],["$","div","Cities Active",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":15,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Cities Active"}]]}],["$","div","In Economic Value Created",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":"Millions"}],["$","span",null,{"className":"eim-secondary-label","children":"In Economic Value Created"}]]}]]}]}],["$","$L1d",null,{"delay":0.12,"duration":0.75,"yOffset":20,"className":"eim-copy","children":["$","p",null,{"children":"Every number on this page represents a woman who walked into a room with an idea and walked out with a business. An enterprise launched, a partnership secured, a market entered — each is a marker of real economic impact, not a statistic collected for its own sake."}]}]]}]}] -2a:["$","section",null,{"className":"ehw-section","id":"wings-empowerment-how-it-works","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ehw-inner","children":[["$","div",null,{"className":"ehw-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"ehw-head-reveal","children":[["$","div",null,{"className":"ehw-eyebrow","children":"/ The Founder Journey /"}],["$","hr",null,{"className":"ehw-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"ehw-title","children":"A clear path, from idea to enterprise"}]}]]}],["$","$L3f",null,{"className":"ehw-sequence","stagger":0.12,"duration":0.7,"yOffset":30,"triggerOnce":true,"children":[["$","div","01",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"01"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Apply"}],["$","p",null,{"className":"ehw-step-desc","children":"Submit your venture idea and tell us about your entrepreneurial vision."}]]}],["$","div","02",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"02"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Discovery"}],["$","p",null,{"className":"ehw-step-desc","children":"Identify the right market opportunity and validate your business model."}]]}],["$","div","03",{"className":"ehw-step is-accent","children":[["$","div",null,{"className":"ehw-step-num","children":"03"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Build"}],["$","p",null,{"className":"ehw-step-desc","children":"Develop your enterprise with ecosystem support, mentorship, and partnerships."}]]}],["$","div","04",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"04"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Launch"}],["$","p",null,{"className":"ehw-step-desc","children":"Go to market with strategic backing, industry connections, and operational infrastructure."}]]}],["$","div","05",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"05"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Scale"}],["$","p",null,{"className":"ehw-step-desc","children":"Grow your team, expand operations, and lead your enterprise to sustainable impact."}]]}]]}]]}]}]}] -2c:["$","section",null,{"className":"est-section","id":"wings-empowerment-stories","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"est-inner","children":[["$","div",null,{"className":"est-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"est-head-reveal","children":[["$","div",null,{"className":"est-eyebrow","children":"/ Women in Motion /"}],["$","hr",null,{"className":"est-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"est-title","children":"Small steps. Lasting careers."}]}]]}],["$","div",null,{"className":"est-feature","children":[["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":24,"className":"est-photo","children":[["$","$L40",null,{"src":"/images/women-hero-slider-3.png","alt":"A Wings program participant on the operations floor at a Doormile logistics hub","fill":true,"sizes":"(max-width: 1000px) 100vw, 58vw","style":{"objectPosition":"80% 22%"}}],["$","div",null,{"className":"est-photo-caption","children":[["$","span",null,{"children":"Wings Participant"}],["$","strong",null,{"children":" building a career, one milestone at a time."}]]}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.85,"yOffset":24,"className":"est-copy","children":["$","div",null,{"children":[["$","span",null,{"className":"est-quote-mark","aria-hidden":"true","children":"“"}],["$","p",null,{"className":"est-quote-text","children":"I came in looking for a way forward. I found the confidence to lead."}],["$","p",null,{"className":"est-narrative","children":"She started with limited exposure to logistics. Through structured training, mentorship, and hands-on experience, she built real operational skills — and now supports other women stepping into the industry."}]]}]}]]}]]}]}]}] -2e:["$","section",null,{"className":"epn-section","id":"wings-empowerment-partners","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epn-inner","children":[["$","div",null,{"className":"epn-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epn-head-reveal","children":[["$","div",null,{"className":"epn-eyebrow","children":"/ Collaboration /"}],["$","hr",null,{"className":"epn-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epn-title","children":["Partnership is how ",["$","em",null,{"children":"ecosystems grow."}]]}]}]]}],["$","div",null,{"className":"epn-body","children":[["$","$L1d",null,{"delay":0.08,"duration":0.8,"yOffset":22,"className":"epn-manifesto","children":[["$","p",null,{"className":"epn-intro","children":"The strongest ecosystems are built by many hands."}],["$","p",null,{"className":"epn-note","children":"Wings partners bring industry access, strategic infrastructure, capital, and networks. Together, we build the foundation women-led enterprises need to thrive."}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.8,"yOffset":22,"children":["$","div",null,{"className":"epn-grid","children":[["$","article","Industry Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"01"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Industry Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Strategic alliances with logistics operators, supply chain leaders, and distribution networks that open doors for women-led enterprises."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Technology Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"02"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Technology Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Platforms, tools, and infrastructure that give founders the operational edge to compete and scale efficiently."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Community Networks",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"03"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Community Networks"}],["$","p",null,{"className":"epn-card-desc","children":"Founder communities, women's business networks, and ecosystem builders who extend reach and amplify impact."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Investment Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"04"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Investment Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Funding access, grant programs, angel networks, and capital partners aligned with women-led enterprise growth."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}]]}]}]]}]]}]}]}] -30:["$","div",null,{"className":"emp-cta-wrap","children":["$","section",null,{"className":"emp-cta","aria-labelledby":"empowerment-final-cta","children":["$","div",null,{"className":"emp-cta-inner","children":[["$","div",null,{"className":"emp-cta-recap","children":[["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"500+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Women Founders"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"100+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Enterprises Launched"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"25+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Industry Partners"}]]}]]}],["$","div",null,{"className":"emp-cta-kicker","children":"/ Build the next mile /"}],["$","h2",null,{"className":"emp-cta-title","id":"empowerment-final-cta","children":["Build what’s ",["$","em",null,{"children":"next."}]]}],["$","div",null,{"className":"emp-cta-bottom","children":["$","p",null,{"className":"emp-cta-sub","children":"Join Doormile Wings in building the entrepreneurial ecosystem where women launch, grow, and lead enterprises that create lasting value across logistics."}]}]]}]}]}] -3a:["$","polyline",null,{"points":"0.5 19.5 3 19.5 12.5 10 3 0.5"}] -3b:["$","div",null,{"className":"elementor-element elementor-element-b6e14bd e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"b6e14bd","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"ws-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-90cc867 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"90cc867","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-24c0280 elementor-widget__width-inherit elementor-widget elementor-widget-logico_heading","data-id":"24c0280","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Women Empowerment /"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-2ed47f3 e-con-full e-grid cut-corner-no sticky-container-off e-con e-child","data-id":"2ed47f3","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-36efec7 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"36efec7","data-element_type":"container","data-e-type":"container","children":[["$","$L1d",null,{"duration":0.8,"yOffset":28,"triggerOnce":true,"children":["$","div",null,{"className":"elementor-element elementor-element-778840d elementor-widget elementor-widget-logico_heading","data-id":"778840d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","children":"Women Building The Next Mile"}]}]}]}],["$","div",null,{"className":"elementor-element elementor-element-bbfb67f elementor-widget elementor-widget-image","data-id":"bbfb67f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","$L40",null,{"src":"/images/bg-map-women.webp","alt":"Women Map","width":626,"height":692,"style":{"maxWidth":"100%","height":"auto"}}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-b2c956f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"b2c956f","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"id":"ws-stories","children":[["$","$L3f",null,{"className":"ws__stats","stagger":0.1,"duration":0.6,"yOffset":20,"triggerOnce":true,"children":[["$","div","Women Founders",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":500,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Women Founders"}]]}],["$","div","Cities Active",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":35,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Cities Active"}]]}],["$","div","Enterprises Launched",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":100,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Enterprises Launched"}]]}]]}],["$","$L3f",null,{"className":"ws__cards","stagger":0.08,"duration":0.6,"yOffset":24,"triggerOnce":true,"children":[["$","div","Venture Building",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M4 19V5"}],["$","path",null,{"d":"M4 7h12l-2 4 2 4H4"}],["$","path",null,{"d":"M18 19h2"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Venture Building"}],["$","p",null,{"className":"ws__card-desc","children":"End-to-end support for women launching logistics enterprises — from ideation to market entry."}]]}],"$L41","$L42","$L43"]}]]}]}]]}]]}]}]]}] -3d:["$","svg",null,{"width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}] -41:["$","div","Entrepreneurship",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"7","width":"18","height":"13","rx":"2"}],["$","path",null,{"d":"M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Entrepreneurship"}],["$","p",null,{"className":"ws__card-desc","children":"Women building, owning, and scaling sustainable businesses within the logistics ecosystem."}]]}] -42:["$","div","Founder Networks",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"8","cy":"8","r":"3"}],["$","circle",null,{"cx":"16","cy":"8","r":"3"}],["$","path",null,{"d":"M2.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}],["$","path",null,{"d":"M10.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Founder Networks"}],["$","p",null,{"className":"ws__card-desc","children":"Peer communities and strategic connections that accelerate growth and open new markets."}]]}] -43:["$","div","Enterprise Leadership",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"12","cy":"9","r":"5"}],["$","path",null,{"d":"M9 13.5 7.5 21 12 18l4.5 3-1.5-7.5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Enterprise Leadership"}],["$","p",null,{"className":"ws__card-desc","children":"Strategic decision-making, operational excellence, and vision-driven leadership for women founders."}]]}] -36:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -44:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -33:null -38:[["$","title","0",{"children":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","1",{"name":"description","content":"Doormile Wings empowers women to build, own, and lead enterprises within the logistics ecosystem through strategic partnerships, founder networks, and entrepreneurial infrastructure."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/empowerment"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","5",{"property":"og:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/empowerment"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","15",{"name":"twitter:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L44","21",{}]] diff --git a/.next/server/app/empowerment.segments/_full.segment.rsc b/.next/server/app/empowerment.segments/_full.segment.rsc deleted file mode 100644 index a6a5be6..0000000 --- a/.next/server/app/empowerment.segments/_full.segment.rsc +++ /dev/null @@ -1,2194 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -1b:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -c:Tf99, - .eh-outer { - box-sizing: border-box; - padding: 20px; - } - - .eh-section { - position: relative; - border-radius: 25px; - overflow: hidden; - box-sizing: border-box; - height: 800px; - display: flex; - align-items: center; - justify-content: center; - background: #07080c; - } - - .eh-bg { - position: absolute; - inset: 0; - background-image: url("/images/women-hero-slider-2.png"); - background-size: cover; - background-position: 30% 72%; - z-index: 0; - } - - .eh-scrim { - position: absolute; - inset: 0; - background: - linear-gradient(180deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.5) 40%, rgba(7, 8, 12, 0.86) 100%); - z-index: 1; - } - - .eh-inner { - position: relative; - z-index: 2; - width: 100%; - max-width: 1000px; - margin: 0 auto; - padding: 0 15px; - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - box-sizing: border-box; - } - - .eh-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.6px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 20px; - } - - .eh-title { - width: 100%; - font-size: clamp(30px, 5.5vw, 80px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - word-wrap: break-word; - overflow-wrap: break-word; - } - - .eh-title .eh-soft { - color: rgba(255, 255, 255, 0.72); - } - - .eh-desc { - width: 100%; - max-width: 680px; - margin: 23px auto 0; - font-size: clamp(16px, 1.35vw, 23px); - line-height: 1.65; - color: rgba(255, 255, 255, 0.78); - } - - .eh-btns { - display: flex; - align-items: center; - justify-content: center; - gap: 14px; - flex-wrap: wrap; - margin-top: 32px; - } - - .eh-btn-primary, - .eh-btn-outline { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 15px 28px; - border-radius: 100px; - font-weight: 800; - font-size: 14px; - text-decoration: none; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.3s ease, border-color 0.3s ease; - } - - .eh-btn-primary { - background: #c01227; - color: #ffffff !important; - border: 1.5px solid #c01227; - } - - .eh-btn-primary:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.4); - } - - .eh-btn-outline { - background: rgba(255, 255, 255, 0.04); - color: #ffffff !important; - border: 1.5px solid rgba(255, 255, 255, 0.36); - } - - .eh-btn-outline:hover { - border-color: rgba(255, 255, 255, 0.82); - background: rgba(255, 255, 255, 0.09); - transform: translateY(-3px); - } - - @media (max-width: 1020px) { - .eh-outer { padding: 10px; } - } - - @media (max-width: 840px) { - .eh-section { height: 600px; } - } - - @media (max-width: 660px) { - .eh-title { - font-size: clamp(20px, 7vw, 32px) !important; - } - } - - @media (max-width: 480px) { - .eh-section { height: 520px; } - .eh-btn-primary, .eh-btn-outline { width: 100%; justify-content: center; padding: 14px 22px; } - .eh-btns { width: 100%; } - } - 0:{"P":null,"c":["","empowerment"],"q":"","i":false,"f":[[["",{"children":["empowerment",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"empowerment","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59 elementor-empowerment","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],"$Le","$Lf","$L10","$L11","$L12","$L13","$L14","$L15","$L16"]}]}]}]}],["$L17"],"$L18"]}],{},null,false,null]},null,false,"$@19"]},null,false,null],"$L1a",false]],"m":"$undefined","G":["$1b",["$L1c"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ScrollReveal"] -1e:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ShimmerText"] -31:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -32:"$Sreact.suspense" -35:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -37:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"className":"eh-outer","children":["$","section",null,{"className":"eh-section","id":"wings-empowerment-hero","children":[["$","div",null,{"className":"eh-bg","aria-hidden":"true"}],["$","div",null,{"className":"eh-scrim","aria-hidden":"true"}],["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":30,"className":"eh-inner","children":[["$","h1",null,{"className":"eh-title","children":["Building ",["$","span",null,{"className":"eh-soft","children":"Women"}],["$","br",null,{}],["$","$L1e",null,{"children":"Entrepreneurs."}]]}],["$","p",null,{"className":"eh-desc","children":"Empowering ambitious women with the network, strategic partnerships, and opportunities to build, grow, and lead successful enterprises that shape the future of logistics."}]]}]]}]}] -1f:Te8f, - .ev-section { - position: relative; - background: #ffffff; - padding: clamp(96px, 11vw, 150px) 0; - overflow: hidden; - } - - .ev-map { - position: absolute; - inset: 0; - z-index: 0; - opacity: 0.4; - pointer-events: none; - } - - .ev-inner { - position: relative; - z-index: 1; - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .ev-eyebrow { - margin: 0 0 18px 0; - font-size: 14px; - font-weight: 500; - letter-spacing: 1.5px; - color: rgba(17, 17, 17, 0.6); - } - - .ev-divider { - width: 100%; - height: 1px; - margin: 0 0 clamp(64px, 7.8vw, 92px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.16); - } - - .ev-title { - margin: 0 0 clamp(92px, 11.5vw, 156px) 0 !important; - max-width: 1320px; - display: block; - font-weight: 800 !important; - font-style: normal !important; - letter-spacing: -0.018em !important; - word-spacing: 0.02em; - line-height: 1.04em !important; - text-transform: none !important; - color: #ffffff !important; - -webkit-text-stroke: 2px #c01227; - paint-order: stroke fill; - font-size: clamp(48px, 8.5vw, 128px) !important; - white-space: normal; - overflow-wrap: normal; - text-wrap: balance; - } - - @media (max-width: 1280px) { - .ev-title { - font-size: 118px !important; - } - } - - @media (max-width: 1020px) { - .ev-title { - font-size: 96px !important; - } - } - - @media (max-width: 767px) { - .ev-title { - font-size: 72px !important; - } - } - - .ev-columns { - display: grid; - grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); - gap: clamp(60px, 8vw, 122px); - align-items: start; - } - - .ev-columns > * { - min-width: 0; - } - - .ev-statement { - margin: 0; - font-size: clamp(28px, 3vw, 52px); - font-weight: 600; - line-height: 1.2; - letter-spacing: -0.03em; - color: #111111; - overflow-wrap: break-word; - } - - .ev-support { - display: grid; - gap: clamp(34px, 3.8vw, 52px); - min-width: 0; - } - - .ev-block { - display: grid; - gap: 12px; - } - - .ev-block-label { - margin: 0; - font-size: 12px; - font-weight: 700; - letter-spacing: 1.4px; - line-height: 1; - text-transform: uppercase; - color: rgba(192, 18, 39, 0.86); - } - - .ev-lead, - .ev-note { - font-size: clamp(17px, 1.3vw, 20px); - line-height: 1.6; - color: #333333; - margin: 0; - overflow-wrap: break-word; - } - - .ev-lead { - font-weight: 700; - } - - .ev-note { - font-weight: 400; - } - - @media (max-width: 900px) { - .ev-columns { - grid-template-columns: 1fr; - } - } - - @media (max-width: 600px) { - .ev-section { padding-top: 64px; padding-bottom: 64px; } - .ev-title { - max-width: calc(100vw - (var(--dm-mobile-gutter, 10px) * 2)); - font-size: 56px !important; - letter-spacing: -0.025em !important; - line-height: 1.02em !important; - -webkit-text-stroke-width: 1.5px; - } - } - e:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1f"}}],"$L20"] -21:T1091, - .esy-section { - position: relative; - width: calc(100% - 40px); - margin: 0 auto clamp(24px, 4vw, 40px); - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - min-height: clamp(500px, 50vw, 690px); - display: flex; - align-items: stretch; - background: #09090b; - } - - .esy-bg { - position: absolute; - inset: 0; - background-image: - linear-gradient(100deg, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.84) 43%, rgba(192, 18, 39, 0.28) 100%), - url("/images/wings-heroslider4.png"); - background-size: cover; - background-position: center; - z-index: 0; - } - - .esy-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - width: 100%; - padding-top: clamp(60px, 7vw, 98px); - padding-bottom: clamp(60px, 7vw, 98px); - display: grid; - grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr); - gap: clamp(36px, 6vw, 96px); - align-items: end; - } - - .esy-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 24px; - } - - .esy-statement { - max-width: 920px; - font-size: clamp(38px, 5.7vw, 86px); - font-weight: 800; - letter-spacing: -0.055em; - line-height: 0.98; - text-transform: uppercase; - color: #ffffff; - margin: 0; - } - - .esy-statement em { - color: #ff5470; - font-style: normal; - } - - .esy-side { - border-left: 1px solid rgba(255, 255, 255, 0.18); - padding-left: clamp(24px, 3vw, 42px); - } - - .esy-label { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.45); - margin-bottom: 18px; - } - - .esy-pull { - font-size: clamp(22px, 2.3vw, 34px); - font-weight: 800; - line-height: 1.16; - letter-spacing: -0.03em; - color: #ffffff; - margin: 0 0 22px 0; - } - - .esy-sub { - font-size: 15.5px; - line-height: 1.65; - color: rgba(255, 255, 255, 0.64); - margin: 0; - } - - /* ---- Desktop-only inner spacing compaction ---- - .esy-section never set its own padding, so it was silently - inheriting 96px top/bottom from the global bare-tag "section" - padding rule (6rem 0) in site.css — stacking with .esy-inner's - own clamp(60-98px) padding into a huge, unbalanced inset. Cancel - that leak here. Also tighten .esy-inner's own padding and widen its - max-width (so a fixed padding, not a narrow centered column, - controls the left/right inset at every desktop width) — and bring - min-height down to match the now-tighter natural content height, - since the old 690px floor was itself forcing extra empty space - once the padding was reduced. Scoped to desktop only; tablet/ - mobile keep their original spacing untouched below. */ - @media (min-width: 1025px) { - .esy-section { - padding: 0; - min-height: clamp(420px, 38vw, 500px); - } - .esy-inner { - max-width: 1900px; - padding-top: 64px; - padding-bottom: 56px; - padding-left: 64px; - padding-right: 64px; - } - } - - @media (max-width: 1024px) { - .esy-section { width: calc(100% - 24px); border-radius: 22px; } - .esy-inner { grid-template-columns: 1fr; align-items: start; } - .esy-side { max-width: 640px; } - } - - @media (max-width: 640px) { - .esy-section { min-height: 560px; } - .esy-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 24px; } - } - f:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$21"}}],"$L22"] -23:T3756, - /* ============================================================ - Success Stories — redesigned right column (stats + 2x2 cards) - Dark section · red accent #dc2626 / #ef4444 · Manrope - ============================================================ */ - /* Neutralise the right column's asymmetric 140px left padding so the - box group can be centered instead of pushed to one side. */ - .elementor-element.elementor-element-b2c956f { padding: 0 !important; } - - /* Vertically center the two columns so the right content lines up with - the image instead of needing a big top gap; tighten row gap. */ - .elementor-element.elementor-element-2ed47f3 { align-items: center !important; } - - /* Animated map background behind the Success Stories content */ - .elementor-element.elementor-element-b6e14bd { position: relative; overflow: hidden; } - .elementor-element.elementor-element-b6e14bd > .e-con-inner { position: relative; z-index: 1; } - .ws-map { position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; } - .ws-map canvas { display: block; } - - #ws-stories { - display: flex; - flex-direction: column; - gap: 16px; - width: 100%; - max-width: 620px; - margin: 0 auto; /* center the 7 boxes as a group — no negative margins */ - } - - #ws-stories .ws__stats { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 12px; - } - #ws-stories .ws__stat { - background: rgba(255,255,255,0.04); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px 16px; - transition: border-color 0.3s ease, background-color 0.3s ease; - } - #ws-stories .ws__stat:hover { border-color: rgba(220,38,38,0.28); background: rgba(220,38,38,0.05); } - #ws-stories .ws__stat-num { - color: #fff !important; - font-weight: 900; - font-size: clamp(28px, 3vw, 38px); - line-height: 1; - letter-spacing: -0.01em; - } - #ws-stories .ws__stat-num span { color: #dc2626 !important; } - #ws-stories .ws__stat-label { - margin-top: 9px; - color: rgba(255,255,255,0.7) !important; - font-size: 14px !important; - font-weight: 700; - letter-spacing: 0.03em; - text-transform: uppercase; - } - - #ws-stories .ws__cards { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 14px; - align-items: stretch; - } - #ws-stories .ws__card { - position: relative; - overflow: hidden; - display: flex; - flex-direction: column; - min-height: 168px; - background: rgba(255,255,255,0.035); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px; - transition: transform 0.35s cubic-bezier(.25,1,.5,1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease; - } - #ws-stories .ws__card::after { - content: ''; - position: absolute; - top: -45%; left: -25%; - width: 150px; height: 150px; - background: radial-gradient(circle, rgba(220,38,38,0.2), transparent 70%); - opacity: 0; - transition: opacity 0.35s ease; - pointer-events: none; - } - #ws-stories .ws__card:hover { - transform: translateY(-4px); - border-color: rgba(220,38,38,0.3); - background: rgba(220,38,38,0.05); - box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7); - } - #ws-stories .ws__card:hover::after { opacity: 1; } - #ws-stories .ws__card-icon { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; height: 40px; - border-radius: 11px; - background: rgba(220,38,38,0.12); - border: 1px solid rgba(220,38,38,0.25); - color: #ef4444; - margin-bottom: 16px; - transition: background-color 0.3s ease, color 0.3s ease; - } - #ws-stories .ws__card:hover .ws__card-icon { background: #dc2626; color: #fff; } - #ws-stories .ws__card-icon svg { width: 21px; height: 21px; } - #ws-stories .ws__card-title { - color: #fff !important; - font-weight: 800; - font-size: 19px; - line-height: 1.2; - letter-spacing: 0; - margin-bottom: 9px; - } - #ws-stories .ws__card-desc { - max-width: 28ch; - color: rgba(255,255,255,0.66) !important; - font-size: 15px; - line-height: 1.52; - margin: 0; - font-weight: 500; - } - - /* ---- Floating card sizing: content-driven, not container-driven ---- - Matches the EV Logistics card height proportions exactly by trimming - red content padding and white footer min-height. */ - .elementor-element.elementor-element-3b61435 { - --padding-top: 46px; - --padding-bottom: 38px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 38px; - --padding-top: 14px; - --padding-bottom: 14px; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 34px; - --padding-bottom: 28px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 32px; - --padding-top: 12px; - --padding-bottom: 12px; - } - } - @media (max-width: 660px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 26px; - --padding-bottom: 22px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 24px; - --padding-top: 10px; - --padding-bottom: 10px; - } - } - - .elementor-element-778840d .logico-title { - white-space: nowrap !important; - } - - /* The banner image (bg-header-women.png) is very wide (≈2.48:1) and the - woman — the subject of this section — sits on the right. On narrow - screens "cover" center-crops her out, so shift the focal point right - to keep her face in frame. */ - @media (max-width: 1024px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 78% center !important; - } - } - @media (max-width: 767px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 82% 25% !important; - } - } - - /* Stack the two columns below the desktop breakpoint so the box group - always gets full width and stays centered — never clipped. */ - @media (max-width: 1024px) { - .elementor-element-778840d .logico-title { - white-space: normal !important; - } - .elementor-element.elementor-element-2ed47f3 { grid-template-columns: 1fr !important; } - #ws-stories { max-width: 640px; margin: 0 auto; } - /* Align the heading, image and stats/cards to one shared left/right - edge — the heading + image widgets carried extra inset that left - them staggered (80px / 70px / 60px) against the stats column. */ - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-778840d, - #women-entrepreneurship .elementor-element-bbfb67f, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container, - #women-entrepreneurship .elementor-element-bbfb67f > .elementor-widget-container { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - } - - @media (max-width: 767px) { - #women-entrepreneurship { - width: calc(100% - 20px) !important; - margin-left: 10px !important; - margin-right: 10px !important; - border-radius: 22px !important; - padding-left: 0px !important; - padding-right: 0px !important; - } - #women-entrepreneurship .e-con-boxed > .e-con-inner { - padding-top: 32px !important; - padding-bottom: 32px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6, - #women-entrepreneurship .elementor-element-b6e14bd, - #women-entrepreneurship .elementor-element-90cc867, - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - #women-entrepreneurship .elementor-element-1f766ea { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element.elementor-element-2ed47f3 { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - margin-top: 0 !important; - padding-top: 0 !important; - gap: 24px !important; - } - #women-entrepreneurship .elementor-element-36efec7 { - margin-top: 0px !important; - padding-top: 0px !important; - gap: 0px !important; - } - #women-entrepreneurship .elementor-element-24c0280 { - margin-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d { - margin-top: 14px !important; - margin-bottom: 14px !important; - padding-top: 0px !important; - padding-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d h3.logico-title, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container { - margin: 0px !important; - padding: 0px !important; - } - #women-entrepreneurship .elementor-element-7da6646 { - width: calc(100% - 28px) !important; - margin-left: 14px !important; - margin-right: 14px !important; - border-radius: 18px !important; - min-height: 240px !important; - margin-top: 15px !important; - margin-bottom: -50px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6 { - padding-left: 14px !important; - padding-right: 14px !important; - margin-left: 0px !important; - margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-bbfb67f img { - width: 100% !important; - } - #women-entrepreneurship .elementor-element-bbfb67f { - margin-top: 0px !important; - margin-bottom: 16px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #ws-stories { - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - /* KPI stat cards stack one-per-row on mobile. Inside each card the big - number sits on the left and the label on the right, vertically - centered, so every stat reads as a clean full-width row instead of - three cramped columns. */ - #ws-stories .ws__stats { grid-template-columns: 1fr; gap: 12px; } - #ws-stories .ws__stat { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - padding: 16px 20px; - min-width: 0; - } - #ws-stories .ws__stat-num { font-size: clamp(30px, 9vw, 40px); } - #ws-stories .ws__stat-label { - margin-top: 0; - font-size: 13px !important; - letter-spacing: 0.02em; - text-align: right; - min-height: 0; - } - #ws-stories .ws__cards { grid-template-columns: 1fr; gap: 12px; } - } - 10:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$23"}}],"$L24"] -25:T2f8a, - .epr-section { - background: #ffffff; - padding-top: clamp(28px, 3.2vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: visible; - } - - .epr-inner { - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .epr-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .epr-head-reveal { - width: 100%; - } - - .epr-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .epr-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .epr-title { - max-width: 950px; - font-size: clamp(42px, 6.2vw, 88px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .epr-stage { - display: grid; - grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr); - gap: clamp(32px, 5vw, 78px); - /* stretch (not start): .epr-aside-wrap must span the full row - height — the tall Programs column's implicit-row height — so it - defines the sticky travel distance. The visual box no longer - lives here, so stretching this item no longer distorts it. */ - align-items: stretch; - min-width: 0; - } - - .epr-stage > * { - min-width: 0; - } - - /* Responsibility split (desktop sticky architecture): - .epr-aside-wrap — plain grid item, stretched to the full - Programs-list row height. Defines travel - distance. No sizing responsibility of its - own beyond that. - .epr-aside-sticky — owns position: sticky. Its height is - explicitly clamped to the viewport - (100dvh minus header clearance and a - bottom safe-margin), so it can never grow - taller than what's actually visible — - the tall min-height that previously fought - the sticky top offset is gone entirely. - .epr-aside — the visual composition (ghost number, map, - heading, paragraph). Fills the sticky - frame's height and arranges its existing - content inside it; owns the decorative - bleed clipping (overflow: hidden). */ - .epr-aside-wrap { - min-width: 0; - } - - .epr-aside-sticky { - /* 132px clears the site header's fixed state (~122px tall once - scrolled) with a small margin; only grows on very tall - viewports. This is viewport-height-derived, NOT content-height - derived — unlike the old top formula, it never has to react to - how tall the aside's own content happens to be. */ - --epr-sticky-top: clamp(132px, 12dvh, 160px); - --epr-sticky-bottom-safe: 28px; - position: sticky; - top: var(--epr-sticky-top); - height: calc(100dvh - var(--epr-sticky-top) - var(--epr-sticky-bottom-safe)); - min-height: 0; - min-width: 0; - /* Lets the visual composition react to the frame's OWN resolved - height (container query below) rather than guessing from the - viewport or the write-up's vw-based type scale. */ - container-type: size; - container-name: epr-frame; - } - - .epr-aside { - --epr-aside-pad-t: clamp(18px, 3vw, 34px); - --epr-aside-pad-b: clamp(24px, 3.5vw, 42px); - position: relative; - height: 100%; - min-width: 0; - min-height: 0; - padding: var(--epr-aside-pad-t) 0 var(--epr-aside-pad-b); - display: flex; - flex-direction: column; - justify-content: center; - overflow: hidden; - color: #111111; - } - - .epr-aside-map { - position: absolute; - inset: 8% -22% 8% -28%; - z-index: 0; - opacity: 0.22; - pointer-events: none; - } - - .epr-aside-map canvas { - display: block; - } - - .epr-aside-content { - position: relative; - z-index: 1; - display: grid; - gap: clamp(18px, 2.2vw, 28px); - } - - .epr-aside-num { - position: relative; - font-size: clamp(164px, 17vw, 300px); - font-weight: 900; - line-height: 0.78; - letter-spacing: -0.06em; - color: transparent; - -webkit-text-stroke: 2px rgba(200, 16, 46, 0.2); - } - - .epr-aside-copy { - position: relative; - max-width: 12ch; - font-size: clamp(30px, 3.6vw, 56px); - font-weight: 800; - line-height: 0.98; - letter-spacing: -0.055em; - text-transform: uppercase; - color: #111111; - margin: 0; - } - - .epr-aside-copy em { - font-style: normal; - color: #c8102e; - } - - .epr-aside-desc { - position: relative; - max-width: 34ch; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - /* Constrained-frame fallback: the sticky frame is short (short - desktop viewport height), so the decorative ghost number/map - shrink first — spacing second — while the heading and paragraph - stay full size and fully visible, per spec. Placed after the base - .epr-aside-num/-content/-map rules so it wins the cascade at - matching container sizes (equal selector specificity; source - order decides). */ - @container epr-frame (max-height: 660px) { - .epr-aside { padding-top: clamp(12px, 1.8vw, 22px); padding-bottom: clamp(16px, 2.2vw, 26px); } - .epr-aside-content { gap: clamp(12px, 1.6vw, 20px); } - .epr-aside-num { font-size: clamp(90px, 11vw, 180px); } - } - - @container epr-frame (max-height: 560px) { - .epr-aside { padding-top: clamp(8px, 1.2vw, 14px); padding-bottom: clamp(10px, 1.6vw, 18px); } - .epr-aside-content { gap: clamp(6px, 1vw, 12px); } - .epr-aside-num { font-size: clamp(48px, 7vw, 100px); } - .epr-aside-map { opacity: 0.14; } - } - - .epr-list { - display: grid; - gap: clamp(28px, 4vw, 52px); - } - - .epr-row { - display: grid; - grid-template-columns: 110px minmax(0, 1fr); - gap: clamp(22px, 4vw, 58px); - padding-bottom: clamp(28px, 4vw, 52px); - border-bottom: 1px solid rgba(17, 17, 17, 0.14); - } - - .epr-row:nth-child(even) { - margin-left: clamp(0px, 7vw, 96px); - } - - .epr-row-index { - font-size: clamp(38px, 4.2vw, 62px); - font-weight: 900; - line-height: 1; - letter-spacing: -0.05em; - color: #c8102e; - } - - .epr-row-featured { - padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); - background: #09090b; - border-radius: 22px; - border-bottom: none; - margin-bottom: clamp(28px, 4vw, 52px); - } - - .epr-row-featured .epr-row-index { - color: rgba(255, 255, 255, 0.22); - -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); - } - - .epr-row-featured .epr-row-title { - font-size: clamp(32px, 4vw, 64px) !important; - color: #ffffff !important; - } - - .epr-row-featured .epr-row-desc { - color: rgba(255, 255, 255, 0.62); - } - - .epr-row-flag { - display: inline-block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.3px; - text-transform: uppercase; - color: #ffffff; - background: #c8102e; - padding: 6px 14px; - border-radius: 100px; - margin-bottom: 16px; - } - - .epr-row-type { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - margin-bottom: 14px; - } - - .epr-row-featured .epr-row-type { - color: rgba(255, 255, 255, 0.42); - } - - .epr-row-title { - font-size: clamp(28px, 3.4vw, 52px) !important; - font-weight: 800 !important; - letter-spacing: -0.045em !important; - line-height: 1.02 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0 0 14px 0; - } - - .epr-row-desc { - max-width: 660px; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - .epr-cta { - margin-top: clamp(48px, 6vw, 72px); - } - - .epr-cta-link { - display: inline-flex; - align-items: center; - gap: 10px; - font-size: 15px; - font-weight: 800; - color: #111111 !important; - text-decoration: none !important; - border-bottom: 1.5px solid rgba(17, 17, 17, 0.2); - padding-bottom: 5px; - transition: border-color 0.3s ease, color 0.3s ease; - } - - .epr-cta-link:hover { - color: #c8102e !important; - border-color: #c8102e; - } - - /* Laptop: sticky stays enabled, just a narrower gutter. */ - @media (max-width: 1180px) { - .epr-stage { grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr); gap: clamp(28px, 4vw, 46px); } - .epr-row:nth-child(even) { margin-left: 0; } - } - - /* Tablet: sticky disabled — the aside scrolls in normal flow instead - of pinning, since there's no longer enough vertical runway next to - the (now narrower, shorter) program list for pinning to read well. */ - @media (max-width: 1023px) { - .epr-aside-sticky { - position: relative; - top: auto; - height: auto; - container-type: normal; - } - } - - @media (max-width: 767px) { - .epr-stage { grid-template-columns: 1fr; } - .epr-aside { - position: relative; - top: auto; - min-height: 300px; - padding-top: 4px; - padding-bottom: clamp(24px, 7vw, 38px); - } - .epr-aside-map { - inset: -8% -18% 0 -20%; - opacity: 0.18; - } - .epr-aside-content { - gap: 20px; - } - .epr-aside-num { - font-size: clamp(128px, 34vw, 180px); - } - .epr-aside-copy { - max-width: 11ch; - font-size: clamp(34px, 10vw, 48px); - } - .epr-aside-desc { - max-width: 32ch; - font-size: 14.5px; - } - } - - @media (max-width: 640px) { - .epr-section { padding-top: 28px; padding-bottom: 54px; } - .epr-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epr-row-title { - font-size: clamp(27px, 8.5vw, 36px) !important; - overflow-wrap: anywhere; - } - .epr-row { grid-template-columns: 1fr; gap: 12px; } - } - 11:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$25"}}],"$L26"] -27:Te98, - .eim-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 48px); - } - - .eim-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .eim-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #c8102e; - margin-bottom: 20px; - } - - .eim-title { - font-size: clamp(28px, 3.4vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 clamp(32px, 4vw, 48px) 0; - } - - .eim-divider { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-hero-row { - display: flex; - align-items: flex-end; - gap: clamp(20px, 3vw, 36px); - margin-bottom: clamp(48px, 6vw, 72px); - } - - .eim-hero-num { - font-size: clamp(90px, 13vw, 190px); - font-weight: 800; - line-height: 0.85; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 2px #c8102e; - } - - .eim-hero-label { - font-size: 13px; - font-weight: 700; - letter-spacing: 1.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.55); - max-width: 90px; - line-height: 1.4; - padding-bottom: clamp(12px, 1.5vw, 24px); - } - - .eim-divider-2 { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-secondary-row { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .eim-secondary-item { - padding-right: 24px; - border-left: 1px solid rgba(255, 255, 255, 0.12); - padding-left: 24px; - } - - .eim-secondary-item:first-child { - border-left: none; - padding-left: 0; - } - - .eim-secondary-num { - display: block; - font-size: clamp(32px, 3vw, 44px); - font-weight: 800; - color: #ff5470; - letter-spacing: -0.02em; - margin-bottom: 10px; - } - - .eim-secondary-label { - font-size: 13px; - font-weight: 600; - color: rgba(255, 255, 255, 0.5); - line-height: 1.4; - } - - .eim-copy { - max-width: 720px; - margin-top: clamp(48px, 6vw, 72px); - font-size: 15.5px; - line-height: 1.7; - color: rgba(255, 255, 255, 0.55); - } - - @media (max-width: 1024px) { - .eim-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 700px) { - .eim-hero-row { align-items: flex-start; flex-direction: column; gap: 12px; } - .eim-hero-label { padding-bottom: 0; max-width: none; } - .eim-secondary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } - .eim-secondary-item:nth-child(3) { border-left: none; padding-left: 0; } - } - - @media (max-width: 460px) { - .eim-section { padding-top: 48px; padding-bottom: 48px; } - } - 12:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$27"}}],"$L28"] -29:T1f91, - .ehw-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0 calc(var(--space-section-lg, 80px) + 32px) 0; - overflow: hidden; - } - - .ehw-inner { - max-width: 1380px; - margin: 0 auto; - } - - .ehw-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(126px, calc(7vw + 60px), 172px); - } - - .ehw-head-reveal { - width: 100%; - } - - .ehw-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .ehw-title { - max-width: 820px; - font-size: clamp(32px, 4vw, 54px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 !important; - } - - /* ---------------------------------------------------------------- - Premium editorial process row: five milestones in a single - sequence, separated by thin hairline dividers (no cards, no - shadows, no boxed containers). One flex-wrap sequence with - responsive flex-basis handles the composition at every size — - 5-across on desktop, 3 + 2 (centered) on tablet, a single - vertical column on mobile — from one shared markup. - ---------------------------------------------------------------- */ - .ehw-sequence { - display: flex; - flex-wrap: wrap; - justify-content: center; - --ehw-gap: clamp(24px, 2.6vw, 48px); - column-gap: var(--ehw-gap); - row-gap: clamp(48px, 6vw, 84px); - } - - .ehw-step { - position: relative; - flex: 0 1 calc((100% - 4 * var(--ehw-gap)) / 5); - min-width: 168px; - padding-left: clamp(20px, 2vw, 32px); - border-left: 1px solid rgba(17, 17, 17, 0.14); - transition: border-color 0.3s ease; - } - - .ehw-step:first-child { - border-left: none; - padding-left: 0; - } - - .ehw-step:hover { - border-left-color: rgba(200, 16, 46, 0.4); - } - - .ehw-step-num { - font-size: clamp(48px, 4.6vw, 78px); - font-weight: 900; - line-height: 0.84; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 1.5px rgba(17, 17, 17, 0.24); - margin: 0 0 18px 0; - transition: -webkit-text-stroke-color 0.3s ease; - } - - .ehw-step.is-accent .ehw-step-num { - -webkit-text-stroke: 1.5px rgba(200, 16, 46, 0.58); - } - - .ehw-step-kicker { - display: flex; - align-items: center; - gap: 7px; - margin-bottom: 18px; - } - - .ehw-step-kicker svg { - width: 13px; - height: 13px; - color: rgba(17, 17, 17, 0.36); - flex-shrink: 0; - } - - .ehw-step-kicker span { - font-size: 11px; - font-weight: 800; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.4); - } - - .ehw-step.is-accent .ehw-step-kicker svg, - .ehw-step.is-accent .ehw-step-kicker span { - color: #c8102e; - } - - .ehw-step-title { - font-size: clamp(18px, 1.4vw, 22px) !important; - font-weight: 800 !important; - letter-spacing: -0.02em !important; - line-height: 1.2 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 22px 0; - } - - .ehw-step-desc { - max-width: 27ch; - font-size: 14px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.55); - margin: 0; - } - - /* Tablet: 3 + 2, centered — sever the divider at the start of each row. */ - @media (max-width: 1100px) { - .ehw-step { - flex-basis: calc((100% - 2 * var(--ehw-gap)) / 3); - } - .ehw-step:nth-child(4) { - border-left: none; - padding-left: 0; - } - } - - /* Mobile: compact numbered editorial index — number in a narrow - left column, title/description/divider sharing one right - content column, laid out on the existing milestone markup via - CSS Grid (no duplicated JSX, no new step markup). */ - @media (max-width: 640px) { - .ehw-head { - margin-bottom: clamp(40px, 10vw, 56px); - } - - .ehw-sequence { - row-gap: 0; - } - - .ehw-step { - display: grid; - grid-template-columns: 48px minmax(0, 1fr); - column-gap: 14px; - flex-basis: 100%; - padding-left: 0; - padding-top: clamp(28px, 8vw, 36px); - border-left: none; - border-top: none; - } - - .ehw-step:first-child { - padding-top: 0; - } - - /* Compact solid index number — replaces the oversized pale - outline treatment used on desktop/tablet. */ - .ehw-step-num { - grid-column: 1; - grid-row: 1; - align-self: start; - font-size: clamp(32px, 9vw, 40px); - line-height: 1; - color: #c8102e; - -webkit-text-stroke: 0; - margin: 0; - } - - /* Hidden completely — no reserved gap left in its place since a - display:none grid item takes no track space. */ - .ehw-step-kicker { - display: none; - } - - .ehw-step-title { - grid-column: 2; - grid-row: 1; - font-size: clamp(22px, 6vw, 26px) !important; - } - - .ehw-step-desc { - grid-column: 2; - grid-row: 2; - max-width: none; - font-size: 16px; - } - - /* Divider lives inside the description box (content column - only), so it never runs underneath the number column. */ - .ehw-step-desc::after { - content: ""; - display: block; - margin-top: clamp(24px, 6vw, 28px); - height: 1px; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-step:last-child .ehw-step-desc::after { - display: none; - } - } - - /* ---- Mobile title-to-description gap fix ---- - .ehw-step-title is an

, so it's matched by a global, - unscoped site.css rule (.logico-front-end h3:not(...) { margin: - 0 0 30px }) that outranks this component's own single-class - ".ehw-step-title { margin: 0 0 22px }" by specificity — bumping - the real margin-bottom to 30px everywhere, not just here. There - is no min-height, space-between, or fixed row height anywhere in - this component; the gap is purely that extra 8px of margin - reading as oversized once every other element around it (kicker, - description line-height) is tightly spaced. Overridden with - !important, matching how every other property on this selector - already has to defeat the same global rule. Scoped to mobile - only, per spec — desktop/tablet are left exactly as they were - (still resolving to the global 30px; out of scope here). */ - @media (max-width: 767px) { - .ehw-step-title { - margin-bottom: 16px !important; - } - } - - @media (max-width: 480px) { - .ehw-section { padding-top: 48px; padding-bottom: 68px; } - } - 13:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$29"}}],"$L2a"] -2b:T1df1, - .est-section { - position: relative; - background: #ffffff; - padding-top: clamp(24px, 3vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: hidden; - } - - .est-inner { - max-width: 1380px; - margin: 0 auto; - } - - .est-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .est-head-reveal { - width: 100%; - } - - .est-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .est-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .est-title { - max-width: 940px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .est-feature { - display: grid; - grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.64fr); - gap: clamp(28px, 4vw, 62px); - align-items: stretch; - margin-bottom: clamp(44px, 6vw, 76px); - } - - .est-photo { - position: relative; - min-height: clamp(460px, 48vw, 680px); - border-radius: 26px; - overflow: hidden; - background: #09090b; - } - - .est-photo img { - object-fit: cover; - object-position: center; - } - - .est-photo::after { - content: ""; - position: absolute; - inset: 0; - background: linear-gradient(180deg, rgba(9, 9, 11, 0) 34%, rgba(9, 9, 11, 0.72) 100%); - pointer-events: none; - } - - .est-photo-caption { - position: absolute; - left: clamp(24px, 3vw, 42px); - right: clamp(24px, 3vw, 42px); - bottom: clamp(24px, 3vw, 42px); - z-index: 1; - color: #ffffff; - } - - .est-photo-caption span { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.6); - margin-bottom: 8px; - } - - .est-photo-caption strong { - display: block; - font-size: clamp(24px, 3vw, 42px); - font-weight: 900; - line-height: 1.02; - letter-spacing: -0.04em; - } - - .est-copy { - border-radius: 26px; - background: #09090b; - color: #ffffff; - padding: clamp(34px, 5vw, 62px); - display: flex; - flex-direction: column; - justify-content: space-between; - overflow: hidden; - position: relative; - } - - .est-copy::before { - content: ""; - position: absolute; - width: 320px; - height: 320px; - right: -120px; - top: -120px; - background: radial-gradient(circle, rgba(200, 16, 46, 0.42), transparent 68%); - pointer-events: none; - } - - .est-quote-mark { - position: relative; - font-family: Georgia, serif; - font-size: 92px; - line-height: 0.8; - color: #c8102e; - display: block; - margin-bottom: 20px; - } - - .est-quote-text { - position: relative; - font-size: clamp(25px, 3vw, 44px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.04em; - color: #ffffff; - margin: 0 0 28px 0; - } - - .est-narrative { - position: relative; - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.66); - margin: 0; - max-width: 46ch; - } - - .est-person { - position: relative; - padding-top: clamp(38px, 5vw, 64px); - } - - .est-person-name { - font-size: 18px; - font-weight: 900; - color: #ffffff; - } - - .est-person-role { - font-size: 13.5px; - color: rgba(255, 255, 255, 0.52); - margin-top: 3px; - } - - .est-list-label { - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - padding-top: clamp(24px, 3vw, 38px); - border-top: 1px solid rgba(17, 17, 17, 0.14); - margin-bottom: clamp(20px, 3vw, 30px); - } - - .est-list { - display: flex; - gap: 18px; - overflow-x: auto; - scroll-snap-type: x mandatory; - padding-bottom: 12px; - margin-bottom: clamp(6px, 1vw, 10px); - -webkit-overflow-scrolling: touch; - } - - .est-list::-webkit-scrollbar { - height: 4px; - } - - .est-list::-webkit-scrollbar-thumb { - background: rgba(17, 17, 17, 0.18); - border-radius: 100px; - } - - .est-row { - scroll-snap-align: start; - flex: 0 0 clamp(260px, 30vw, 340px); - min-height: 220px; - padding: clamp(24px, 2.6vw, 32px); - border: 1px solid rgba(17, 17, 17, 0.14); - border-radius: 20px; - display: flex; - flex-direction: column; - justify-content: space-between; - transition: border-color 0.3s ease, transform 0.3s ease; - } - - .est-row:hover { - border-color: rgba(200, 16, 46, 0.4); - transform: translateY(-4px); - } - - .est-row-name { - font-size: 20px; - font-weight: 900; - color: #111111; - } - - .est-row-role { - font-size: 13px; - font-weight: 800; - letter-spacing: 1.4px; - text-transform: uppercase; - color: #c8102e; - margin-top: 6px; - } - - .est-row-line { - font-size: 15px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.62); - margin: 28px 0 0; - } - - @media (max-width: 1000px) { - .est-head, - .est-feature { grid-template-columns: 1fr; } - .est-row { - min-height: 0; - flex-basis: 78vw; - } - } - - @media (max-width: 640px) { - .est-section { padding-top: 54px; padding-bottom: 6px; } - /* .est-feature's margin-bottom (clamp(44px, 6vw, 76px)) was sized - to precede an .est-list testimonial row block that no longer - exists in this component's JSX. Since .est-feature is now the - section's last child, that margin was pure dead space stacking - on top of .est-section's own padding-bottom above — the real - source of the oversized mobile gap before the next section. */ - .est-feature { margin-bottom: 0; } - .est-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .est-quote-text { - font-size: clamp(25px, 8vw, 34px); - overflow-wrap: anywhere; - } - .est-photo, - .est-copy { border-radius: 20px; } - .est-photo { min-height: 420px; } - } - 14:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2b"}}],"$L2c"] -2d:T16dc, - .epn-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(68px, 8vw, 112px) 0; - } - - .epn-section::before { - content: ""; - position: absolute; - inset: 0; - background: - linear-gradient(120deg, rgba(9, 9, 11, 0.98) 0%, rgba(9, 9, 11, 0.88) 54%, rgba(192, 18, 39, 0.18) 100%), - url("/images/wings-heroslider3.png"); - background-size: cover; - background-position: center 70%; - opacity: 1; - } - - .epn-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .epn-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(50px, 7vw, 84px); - } - - .epn-head-reveal { - width: 100%; - } - - .epn-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(255, 255, 255, 0.16); - } - - .epn-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.52); - } - - .epn-title { - max-width: 930px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - } - - .epn-title em { - color: #ff5470; - font-style: normal; - } - - .epn-body { - display: grid; - grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr); - gap: clamp(32px, 5vw, 72px); - align-items: stretch; - } - - .epn-manifesto { - border-left: 4px solid #c8102e; - padding-left: clamp(22px, 3vw, 36px); - align-self: start; - } - - .epn-intro { - font-size: clamp(22px, 2.5vw, 36px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.035em; - color: #ffffff; - margin: 0 0 22px; - } - - .epn-note { - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.62); - margin: 0; - max-width: 38ch; - } - - .epn-grid { - display: flex; - flex-direction: column; - border-top: 1px solid rgba(255, 255, 255, 0.16); - } - - .epn-card { - position: relative; - display: grid; - grid-template-columns: 70px minmax(0, 1fr) 32px; - align-items: center; - gap: clamp(18px, 3vw, 40px); - padding: clamp(22px, 2.6vw, 32px) clamp(4px, 1vw, 16px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - border-left: 2px solid transparent; - transition: border-color 0.3s ease, padding-left 0.3s ease, background-color 0.3s ease; - } - - .epn-card:hover { - border-left-color: #c8102e; - background: rgba(200, 16, 46, 0.06); - padding-left: clamp(20px, 2.5vw, 32px); - } - - .epn-card-index { - font-size: 15px; - font-weight: 900; - color: rgba(255, 255, 255, 0.35); - } - - .epn-card-title { - font-size: clamp(22px, 2.2vw, 30px) !important; - font-weight: 900 !important; - line-height: 1.1 !important; - letter-spacing: -0.03em !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 8px; - } - - .epn-card-desc { - max-width: 46ch; - font-size: 14.5px; - line-height: 1.6; - color: rgba(255, 255, 255, 0.58); - margin: 0; - } - - .epn-card-arrow { - display: flex; - color: rgba(255, 255, 255, 0.3); - transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; - } - - .epn-card:hover .epn-card-arrow { - transform: translateX(4px); - color: #ff5470; - } - - .epn-cta { - margin-top: clamp(42px, 5vw, 64px); - } - - .epn-cta-btn { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 16px 36px; - border-radius: 100px; - background: #c01227; - color: #ffffff !important; - font-weight: 800; - font-size: 15px; - text-decoration: none !important; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease; - } - - .epn-cta-btn:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.35); - } - - @media (max-width: 1024px) { - .epn-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 900px) { - .epn-head, - .epn-body { grid-template-columns: 1fr; } - } - - @media (max-width: 700px) { - .epn-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epn-card { - grid-template-columns: 44px minmax(0, 1fr); - } - .epn-card-arrow { display: none; } - } - - @media (max-width: 460px) { - .epn-section { padding-top: 54px; padding-bottom: 54px; } - } - 15:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2d"}}],"$L2e"] -2f:Tdad, - .emp-cta-wrap { - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto clamp(40px, 5vw, 64px); - } - - .emp-cta { - position: relative; - overflow: hidden; - border-radius: 28px; - min-height: clamp(480px, 48vw, 680px); - background: #09090b; - display: flex; - align-items: flex-end; - } - - .emp-cta::before { - content: ""; - position: absolute; - inset: 0; - background-image: - linear-gradient(180deg, rgba(9, 9, 11, 0.18) 0%, rgba(9, 9, 11, 0.52) 48%, rgba(9, 9, 11, 0.96) 100%), - linear-gradient(90deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.35) 58%, rgba(9, 9, 11, 0.12) 100%), - url("/images/bg-header-women.webp"); - background-size: cover; - background-position: center; - transform: scale(1.02); - } - - .emp-cta-inner { - position: relative; - z-index: 1; - max-width: 1380px; - width: 100%; - margin: 0 auto; - padding: clamp(46px, 7vw, 88px) clamp(24px, 5vw, 64px); - box-sizing: border-box; - } - - .emp-cta-recap { - display: flex; - gap: clamp(28px, 4vw, 52px); - margin-bottom: clamp(28px, 4vw, 44px); - padding-bottom: clamp(24px, 3vw, 36px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - } - - .emp-cta-recap-item { - display: flex; - align-items: baseline; - gap: 10px; - } - - .emp-cta-recap-num { - font-size: clamp(22px, 2.4vw, 32px); - font-weight: 900; - letter-spacing: -0.02em; - color: transparent; - -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.85); - } - - .emp-cta-recap-label { - font-size: 12px; - font-weight: 700; - letter-spacing: 0.6px; - color: rgba(255, 255, 255, 0.5); - } - - .emp-cta-kicker { - font-size: 13px; - font-weight: 900; - letter-spacing: 2.4px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 22px; - } - - .emp-cta-title { - max-width: 980px; - color: #ffffff !important; - font-size: clamp(44px, 7vw, 108px) !important; - font-weight: 900 !important; - line-height: 0.95 !important; - letter-spacing: -0.06em !important; - text-transform: uppercase !important; - margin: 0 0 clamp(24px, 3vw, 34px); - } - - .emp-cta-title em { - color: #ff5470; - font-style: normal; - } - - .emp-cta-bottom { - display: block; - max-width: 1120px; - } - - .emp-cta-sub { - max-width: 620px; - font-size: 16px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.68); - margin: 0; - } - - @media (max-width: 1024px) { - .emp-cta-wrap { width: calc(100% - 24px); } - .emp-cta { border-radius: 22px; } - } - - @media (max-width: 760px) { - .emp-cta { min-height: 600px; } - .emp-cta::before { background-position: 76% center; } - .emp-cta-title { - font-size: clamp(36px, 11vw, 44px) !important; - letter-spacing: -0.05em !important; - overflow-wrap: anywhere; - } - .emp-cta-recap { flex-wrap: wrap; row-gap: 14px; } - } - 16:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2f"}}],"$L30"] -17:["$","script","script-0",{"src":"/_next/static/chunks/0vzdvje64yndv.js","async":true,"nonce":"$undefined"}] -18:["$","$L31",null,{"children":["$","$32",null,{"name":"Next.MetadataOutlet","children":"$@33"}]}] -34:[] -19:"$W34" -1a:["$","$1","h",{"children":[null,["$","$L35",null,{"children":"$L36"}],["$","div",null,{"hidden":true,"children":["$","$L37",null,{"children":["$","$32",null,{"name":"Next.Metadata","children":"$L38"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1c:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -39:I[5074,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"default"] -3c:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],""] -3e:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"CountUp"] -3f:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"StaggerChildren"] -40:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"Image"] -20:["$","section",null,{"className":"ev-section","id":"wings-empowerment-vision","children":[["$","div",null,{"className":"ev-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ev-inner","children":[["$","$L1d",null,{"delay":0.05,"duration":0.7,"yOffset":20,"children":[["$","p",null,{"className":"ev-eyebrow","children":"/ Our Vision /"}],["$","hr",null,{"className":"ev-divider"}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.85,"yOffset":30,"children":["$","h2",null,{"className":"ev-title","children":"Women Own The Future."}]}],["$","div",null,{"className":"ev-columns","children":[["$","$L1d",null,{"delay":0.18,"duration":0.8,"yOffset":25,"children":["$","p",null,{"className":"ev-statement","children":"A logistics ecosystem where women don’t just participate — they own, build, and lead."}]}],["$","$L1d",null,{"delay":0.26,"duration":0.8,"yOffset":25,"className":"ev-support","children":[["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"The vision"}],["$","p",null,{"className":"ev-lead","children":"We are building an entrepreneurial ecosystem where women launch enterprises, scale operations, and shape the future of logistics from the inside."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"Why it matters"}],["$","p",null,{"className":"ev-note","children":"Industries transform when founders emerge from every corner. Women-led enterprises bring fresh perspective, operational resilience, and long-term economic impact to logistics."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"How Wings contributes"}],["$","p",null,{"className":"ev-note","children":"Wings provides the infrastructure — strategic partnerships, funding access, founder networks, and industry connections — that turns ambition into enterprise."}]]}]]}]]}]]}]}]]}] -22:["$","section",null,{"className":"esy-section","id":"wings-empowerment-story","children":[["$","div",null,{"className":"esy-bg","aria-hidden":"true"}],["$","div",null,{"className":"esy-inner dm-section-container","children":[["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":25,"children":[["$","div",null,{"className":"esy-eyebrow","children":"/ Our Approach /"}],["$","p",null,{"className":"esy-statement","children":["Not a program on a brochure. ",["$","em",null,{"children":"An ecosystem women can build in."}]]}]]}],["$","$L1d",null,{"delay":0.15,"duration":0.8,"yOffset":25,"className":"esy-side","children":[["$","span",null,{"className":"esy-label","children":"Manifesto"}],["$","p",null,{"className":"esy-pull","children":"A venture that starts with conviction. A network that turns it into momentum."}],["$","p",null,{"className":"esy-sub","children":"Wings is designed around the moments that define a founder: the first partnership signed, the first client won, the first team hired, the first enterprise scaled."}]]}]]}]]}] -24:["$","div",null,{"id":"women-entrepreneurship","className":"elementor-element elementor-element-bbc6760 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"bbc6760","data-element_type":"container","data-e-type":"container","style":{"backgroundColor":"#1f1f1f","width":"calc(100% - 40px)","marginLeft":"20px","marginRight":"20px","borderRadius":"25px"},"children":[["$","div",null,{"className":"elementor-element elementor-element-13a7637 elementor-widget__width-auto elementor-absolute elementor-widget elementor-widget-logico_decorative_block","data-id":"13a7637","data-element_type":"widget","data-e-type":"widget","style":{"position":"absolute"},"children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"block-decoration animation-enable block-decoration-style-1","children":["$","div",null,{"className":"block-decoration-item"}]}]}]}],["$","div",null,{"style":{"backgroundImage":"url(/images/bg-header-women.webp)"},"className":"elementor-element elementor-element-7da6646 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"7da6646","data-element_type":"container","data-e-type":"container"}],["$","div",null,{"className":"elementor-element elementor-element-8b5d6e6 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"8b5d6e6","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-1f766ea e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"1f766ea","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-3b61435 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3b61435","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"elementor-element elementor-element-c364d1c elementor-widget elementor-widget-text-editor","data-id":"c364d1c","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"01"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-239afbb elementor-widget elementor-widget-logico_heading","data-id":"239afbb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h5",null,{"className":"logico-title","children":"Women Entrepreneurship"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-0d307dd elementor-widget elementor-widget-text-editor","data-id":"0d307dd","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"An ecosystem where women build, own, and scale enterprises across logistics."}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-5aea22e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5aea22e","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":["$","div",null,{"className":"elementor-element elementor-element-46b9ffa elementor-widget elementor-widget-logico_button","data-id":"46b9ffa","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"button-widget","children":["$","div",null,{"className":"button-container","children":["$","a",null,{"href":"#wings-empowerment-programs","className":"logico-small-button","children":["Explore the ecosystem",["$","svg",null,{"viewBox":"0 0 13 20","children":"$L3a"}]]}]}]}]}]}]}]]}]}],"$L3b"]}] -26:["$","section",null,{"className":"epr-section","id":"wings-empowerment-programs","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epr-inner","children":[["$","div",null,{"className":"epr-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epr-head-reveal","children":[["$","div",null,{"className":"epr-eyebrow","children":"/ Entrepreneurship Pillars /"}],["$","hr",null,{"className":"epr-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epr-title","children":"Every pillar is built around ownership."}]}]]}],["$","div",null,{"className":"epr-stage","children":[["$","div",null,{"className":"epr-aside-wrap","children":["$","div",null,{"className":"epr-aside-sticky","children":["$","aside",null,{"className":"epr-aside","children":[["$","div",null,{"className":"epr-aside-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","$L1d",null,{"delay":0.05,"duration":0.8,"yOffset":24,"className":"epr-aside-content","children":[["$","div",null,{"className":"epr-aside-num","children":"05"}],["$","p",null,{"className":"epr-aside-copy","children":["Building tomorrow’s ",["$","em",null,{"children":"women entrepreneurs."}]]}],["$","p",null,{"className":"epr-aside-desc","children":"Every enterprise starts with one decision. Our pillars move women from idea to ownership through mentorship, real industry partnerships, and hands-on venture building across the logistics ecosystem."}]]}]]}]}]}],["$","div",null,{"children":[["$","$L1d",null,{"delay":0.1,"duration":0.8,"yOffset":24,"children":["$","div",null,{"className":"epr-list","children":[["$","article","Venture Launchpad",{"className":"epr-row epr-row-featured","children":[["$","div",null,{"className":"epr-row-index","children":"01"}],["$","div",null,{"children":[["$","span",null,{"className":"epr-row-flag","children":"Where most founders begin"}],["$","span",null,{"className":"epr-row-type","children":"Start building"}],["$","h3",null,{"className":"epr-row-title","children":"Venture Launchpad"}],["$","p",null,{"className":"epr-row-desc","children":"Business model validation, market entry strategy, entity formation, and go-to-market execution for women-led logistics enterprises."}]]}]]}],["$","article","Strategic Partnerships",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"02"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Connect and grow"}],["$","h3",null,{"className":"epr-row-title","children":"Strategic Partnerships"}],["$","p",null,{"className":"epr-row-desc","children":"Direct access to supply chain networks, B2B relationships, industry alliances, and commercial agreements that accelerate growth."}]]}]]}],["$","article","Founder Mentorship",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"03"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Learn from builders"}],["$","h3",null,{"className":"epr-row-title","children":"Founder Mentorship"}],["$","p",null,{"className":"epr-row-desc","children":"One-on-one guidance from established entrepreneurs, operators, and investors who understand what it takes to scale."}]]}]]}],["$","article","Growth & Scale",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"04"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Scale with confidence"}],["$","h3",null,{"className":"epr-row-title","children":"Growth & Scale"}],["$","p",null,{"className":"epr-row-desc","children":"Operational expansion frameworks, team building, funding readiness, and sustainable unit economics for ventures ready to grow."}]]}]]}],["$","article","Industry Immersion",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"05"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"See the opportunity"}],["$","h3",null,{"className":"epr-row-title","children":"Industry Immersion"}],["$","p",null,{"className":"epr-row-desc","children":"Real exposure to logistics operations, supply chain infrastructure, and distribution networks before founders commit to a vertical."}]]}]]}]]}]}],["$","div",null,{"className":"epr-cta","children":["$","$L3c",null,{"href":"/contact","className":"epr-cta-link","children":["Start your venture","$L3d"]}]}]]}]]}]]}]}]}] -28:["$","section",null,{"className":"eim-section","id":"wings-empowerment-impact","children":["$","div",null,{"className":"eim-inner dm-section-container","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"children":[["$","div",null,{"className":"eim-eyebrow","children":"/ Our Impact /"}],["$","h2",null,{"className":"eim-title","children":"Growth we can measure"}]]}],["$","hr",null,{"className":"eim-divider"}],["$","$L1d",null,{"delay":0.08,"duration":0.8,"yOffset":20,"className":"eim-hero-row","children":[["$","span",null,{"className":"eim-hero-num","children":["$","$L3e",null,{"end":500,"suffix":"+","duration":2.2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-hero-label","children":"Women-Led Enterprises In The Ecosystem"}]]}],["$","hr",null,{"className":"eim-divider-2"}],["$","$L1d",null,{"delay":0.1,"duration":0.8,"yOffset":20,"children":["$","div",null,{"className":"eim-secondary-row","children":[["$","div","Enterprises Launched",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":100,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Enterprises Launched"}]]}],["$","div","Industry Partners",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":25,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Industry Partners"}]]}],["$","div","Cities Active",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L3e",null,{"end":15,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Cities Active"}]]}],["$","div","In Economic Value Created",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":"Millions"}],["$","span",null,{"className":"eim-secondary-label","children":"In Economic Value Created"}]]}]]}]}],["$","$L1d",null,{"delay":0.12,"duration":0.75,"yOffset":20,"className":"eim-copy","children":["$","p",null,{"children":"Every number on this page represents a woman who walked into a room with an idea and walked out with a business. An enterprise launched, a partnership secured, a market entered — each is a marker of real economic impact, not a statistic collected for its own sake."}]}]]}]}] -2a:["$","section",null,{"className":"ehw-section","id":"wings-empowerment-how-it-works","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ehw-inner","children":[["$","div",null,{"className":"ehw-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"ehw-head-reveal","children":[["$","div",null,{"className":"ehw-eyebrow","children":"/ The Founder Journey /"}],["$","hr",null,{"className":"ehw-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"ehw-title","children":"A clear path, from idea to enterprise"}]}]]}],["$","$L3f",null,{"className":"ehw-sequence","stagger":0.12,"duration":0.7,"yOffset":30,"triggerOnce":true,"children":[["$","div","01",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"01"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Apply"}],["$","p",null,{"className":"ehw-step-desc","children":"Submit your venture idea and tell us about your entrepreneurial vision."}]]}],["$","div","02",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"02"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Discovery"}],["$","p",null,{"className":"ehw-step-desc","children":"Identify the right market opportunity and validate your business model."}]]}],["$","div","03",{"className":"ehw-step is-accent","children":[["$","div",null,{"className":"ehw-step-num","children":"03"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Build"}],["$","p",null,{"className":"ehw-step-desc","children":"Develop your enterprise with ecosystem support, mentorship, and partnerships."}]]}],["$","div","04",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"04"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Launch"}],["$","p",null,{"className":"ehw-step-desc","children":"Go to market with strategic backing, industry connections, and operational infrastructure."}]]}],["$","div","05",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"05"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Scale"}],["$","p",null,{"className":"ehw-step-desc","children":"Grow your team, expand operations, and lead your enterprise to sustainable impact."}]]}]]}]]}]}]}] -2c:["$","section",null,{"className":"est-section","id":"wings-empowerment-stories","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"est-inner","children":[["$","div",null,{"className":"est-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"est-head-reveal","children":[["$","div",null,{"className":"est-eyebrow","children":"/ Women in Motion /"}],["$","hr",null,{"className":"est-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"est-title","children":"Small steps. Lasting careers."}]}]]}],["$","div",null,{"className":"est-feature","children":[["$","$L1d",null,{"delay":0.05,"duration":0.85,"yOffset":24,"className":"est-photo","children":[["$","$L40",null,{"src":"/images/women-hero-slider-3.png","alt":"A Wings program participant on the operations floor at a Doormile logistics hub","fill":true,"sizes":"(max-width: 1000px) 100vw, 58vw","style":{"objectPosition":"80% 22%"}}],["$","div",null,{"className":"est-photo-caption","children":[["$","span",null,{"children":"Wings Participant"}],["$","strong",null,{"children":" building a career, one milestone at a time."}]]}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.85,"yOffset":24,"className":"est-copy","children":["$","div",null,{"children":[["$","span",null,{"className":"est-quote-mark","aria-hidden":"true","children":"“"}],["$","p",null,{"className":"est-quote-text","children":"I came in looking for a way forward. I found the confidence to lead."}],["$","p",null,{"className":"est-narrative","children":"She started with limited exposure to logistics. Through structured training, mentorship, and hands-on experience, she built real operational skills — and now supports other women stepping into the industry."}]]}]}]]}]]}]}]}] -2e:["$","section",null,{"className":"epn-section","id":"wings-empowerment-partners","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epn-inner","children":[["$","div",null,{"className":"epn-head","children":[["$","$L1d",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epn-head-reveal","children":[["$","div",null,{"className":"epn-eyebrow","children":"/ Collaboration /"}],["$","hr",null,{"className":"epn-divider"}]]}],["$","$L1d",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epn-title","children":["Partnership is how ",["$","em",null,{"children":"ecosystems grow."}]]}]}]]}],["$","div",null,{"className":"epn-body","children":[["$","$L1d",null,{"delay":0.08,"duration":0.8,"yOffset":22,"className":"epn-manifesto","children":[["$","p",null,{"className":"epn-intro","children":"The strongest ecosystems are built by many hands."}],["$","p",null,{"className":"epn-note","children":"Wings partners bring industry access, strategic infrastructure, capital, and networks. Together, we build the foundation women-led enterprises need to thrive."}]]}],["$","$L1d",null,{"delay":0.12,"duration":0.8,"yOffset":22,"children":["$","div",null,{"className":"epn-grid","children":[["$","article","Industry Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"01"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Industry Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Strategic alliances with logistics operators, supply chain leaders, and distribution networks that open doors for women-led enterprises."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Technology Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"02"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Technology Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Platforms, tools, and infrastructure that give founders the operational edge to compete and scale efficiently."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Community Networks",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"03"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Community Networks"}],["$","p",null,{"className":"epn-card-desc","children":"Founder communities, women's business networks, and ecosystem builders who extend reach and amplify impact."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Investment Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"04"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Investment Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Funding access, grant programs, angel networks, and capital partners aligned with women-led enterprise growth."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}]]}]}]]}]]}]}]}] -30:["$","div",null,{"className":"emp-cta-wrap","children":["$","section",null,{"className":"emp-cta","aria-labelledby":"empowerment-final-cta","children":["$","div",null,{"className":"emp-cta-inner","children":[["$","div",null,{"className":"emp-cta-recap","children":[["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"500+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Women Founders"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"100+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Enterprises Launched"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"25+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Industry Partners"}]]}]]}],["$","div",null,{"className":"emp-cta-kicker","children":"/ Build the next mile /"}],["$","h2",null,{"className":"emp-cta-title","id":"empowerment-final-cta","children":["Build what’s ",["$","em",null,{"children":"next."}]]}],["$","div",null,{"className":"emp-cta-bottom","children":["$","p",null,{"className":"emp-cta-sub","children":"Join Doormile Wings in building the entrepreneurial ecosystem where women launch, grow, and lead enterprises that create lasting value across logistics."}]}]]}]}]}] -3a:["$","polyline",null,{"points":"0.5 19.5 3 19.5 12.5 10 3 0.5"}] -3b:["$","div",null,{"className":"elementor-element elementor-element-b6e14bd e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"b6e14bd","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"ws-map","aria-hidden":"true","children":["$","$L39",null,{}]}],["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-90cc867 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"90cc867","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-24c0280 elementor-widget__width-inherit elementor-widget elementor-widget-logico_heading","data-id":"24c0280","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Women Empowerment /"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-2ed47f3 e-con-full e-grid cut-corner-no sticky-container-off e-con e-child","data-id":"2ed47f3","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-36efec7 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"36efec7","data-element_type":"container","data-e-type":"container","children":[["$","$L1d",null,{"duration":0.8,"yOffset":28,"triggerOnce":true,"children":["$","div",null,{"className":"elementor-element elementor-element-778840d elementor-widget elementor-widget-logico_heading","data-id":"778840d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","children":"Women Building The Next Mile"}]}]}]}],["$","div",null,{"className":"elementor-element elementor-element-bbfb67f elementor-widget elementor-widget-image","data-id":"bbfb67f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","$L40",null,{"src":"/images/bg-map-women.webp","alt":"Women Map","width":626,"height":692,"style":{"maxWidth":"100%","height":"auto"}}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-b2c956f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"b2c956f","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"id":"ws-stories","children":[["$","$L3f",null,{"className":"ws__stats","stagger":0.1,"duration":0.6,"yOffset":20,"triggerOnce":true,"children":[["$","div","Women Founders",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":500,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Women Founders"}]]}],["$","div","Cities Active",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":35,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Cities Active"}]]}],["$","div","Enterprises Launched",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L3e",null,{"end":100,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Enterprises Launched"}]]}]]}],["$","$L3f",null,{"className":"ws__cards","stagger":0.08,"duration":0.6,"yOffset":24,"triggerOnce":true,"children":[["$","div","Venture Building",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M4 19V5"}],["$","path",null,{"d":"M4 7h12l-2 4 2 4H4"}],["$","path",null,{"d":"M18 19h2"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Venture Building"}],["$","p",null,{"className":"ws__card-desc","children":"End-to-end support for women launching logistics enterprises — from ideation to market entry."}]]}],"$L41","$L42","$L43"]}]]}]}]]}]]}]}]]}] -3d:["$","svg",null,{"width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}] -41:["$","div","Entrepreneurship",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"7","width":"18","height":"13","rx":"2"}],["$","path",null,{"d":"M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Entrepreneurship"}],["$","p",null,{"className":"ws__card-desc","children":"Women building, owning, and scaling sustainable businesses within the logistics ecosystem."}]]}] -42:["$","div","Founder Networks",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"8","cy":"8","r":"3"}],["$","circle",null,{"cx":"16","cy":"8","r":"3"}],["$","path",null,{"d":"M2.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}],["$","path",null,{"d":"M10.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Founder Networks"}],["$","p",null,{"className":"ws__card-desc","children":"Peer communities and strategic connections that accelerate growth and open new markets."}]]}] -43:["$","div","Enterprise Leadership",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"12","cy":"9","r":"5"}],["$","path",null,{"d":"M9 13.5 7.5 21 12 18l4.5 3-1.5-7.5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Enterprise Leadership"}],["$","p",null,{"className":"ws__card-desc","children":"Strategic decision-making, operational excellence, and vision-driven leadership for women founders."}]]}] -36:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -44:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -33:null -38:[["$","title","0",{"children":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","1",{"name":"description","content":"Doormile Wings empowers women to build, own, and lead enterprises within the logistics ecosystem through strategic partnerships, founder networks, and entrepreneurial infrastructure."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/empowerment"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","5",{"property":"og:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/empowerment"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","15",{"name":"twitter:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L44","21",{}]] diff --git a/.next/server/app/empowerment.segments/_head.segment.rsc b/.next/server/app/empowerment.segments/_head.segment.rsc deleted file mode 100644 index 1d879b4..0000000 --- a/.next/server/app/empowerment.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","1",{"name":"description","content":"Doormile Wings empowers women to build, own, and lead enterprises within the logistics ecosystem through strategic partnerships, founder networks, and entrepreneurial infrastructure."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/empowerment"}],["$","meta","4",{"property":"og:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","5",{"property":"og:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","6",{"property":"og:url","content":"https://doormile.com/empowerment"}],["$","meta","7",{"property":"og:site_name","content":"Doormile"}],["$","meta","8",{"property":"og:image","content":"https://doormile.com/images/wings-logo.png"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"Doormile Wings — Women Entrepreneurship Initiative"}],["$","meta","15",{"name":"twitter:description","content":"An entrepreneurial ecosystem empowering women to launch, grow, and lead logistics enterprises with strategic partnerships and industry collaboration."}],["$","meta","16",{"name":"twitter:image","content":"https://doormile.com/images/wings-logo.png"}],["$","link","17",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","18",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","19",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","20",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","21",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/empowerment.segments/_index.segment.rsc b/.next/server/app/empowerment.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/empowerment.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/empowerment.segments/_tree.segment.rsc b/.next/server/app/empowerment.segments/_tree.segment.rsc deleted file mode 100644 index 9d88104..0000000 --- a/.next/server/app/empowerment.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"empowerment","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/empowerment.segments/empowerment.segment.rsc b/.next/server/app/empowerment.segments/empowerment.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/empowerment.segments/empowerment.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/empowerment.segments/empowerment/__PAGE__.segment.rsc b/.next/server/app/empowerment.segments/empowerment/__PAGE__.segment.rsc deleted file mode 100644 index 6d44fa6..0000000 --- a/.next/server/app/empowerment.segments/empowerment/__PAGE__.segment.rsc +++ /dev/null @@ -1,2166 +0,0 @@ -1:"$Sreact.fragment" -f:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ScrollReveal"] -10:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"ShimmerText"] -23:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -24:"$Sreact.suspense" -26:I[5074,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"default"] -29:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],""] -2b:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"CountUp"] -2c:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"StaggerChildren"] -2d:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"Image"] -2:Tf99, - .eh-outer { - box-sizing: border-box; - padding: 20px; - } - - .eh-section { - position: relative; - border-radius: 25px; - overflow: hidden; - box-sizing: border-box; - height: 800px; - display: flex; - align-items: center; - justify-content: center; - background: #07080c; - } - - .eh-bg { - position: absolute; - inset: 0; - background-image: url("/images/women-hero-slider-2.png"); - background-size: cover; - background-position: 30% 72%; - z-index: 0; - } - - .eh-scrim { - position: absolute; - inset: 0; - background: - linear-gradient(180deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.5) 40%, rgba(7, 8, 12, 0.86) 100%); - z-index: 1; - } - - .eh-inner { - position: relative; - z-index: 2; - width: 100%; - max-width: 1000px; - margin: 0 auto; - padding: 0 15px; - display: flex; - flex-direction: column; - align-items: center; - text-align: center; - box-sizing: border-box; - } - - .eh-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.6px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 20px; - } - - .eh-title { - width: 100%; - font-size: clamp(30px, 5.5vw, 80px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - word-wrap: break-word; - overflow-wrap: break-word; - } - - .eh-title .eh-soft { - color: rgba(255, 255, 255, 0.72); - } - - .eh-desc { - width: 100%; - max-width: 680px; - margin: 23px auto 0; - font-size: clamp(16px, 1.35vw, 23px); - line-height: 1.65; - color: rgba(255, 255, 255, 0.78); - } - - .eh-btns { - display: flex; - align-items: center; - justify-content: center; - gap: 14px; - flex-wrap: wrap; - margin-top: 32px; - } - - .eh-btn-primary, - .eh-btn-outline { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 15px 28px; - border-radius: 100px; - font-weight: 800; - font-size: 14px; - text-decoration: none; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.3s ease, border-color 0.3s ease; - } - - .eh-btn-primary { - background: #c01227; - color: #ffffff !important; - border: 1.5px solid #c01227; - } - - .eh-btn-primary:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.4); - } - - .eh-btn-outline { - background: rgba(255, 255, 255, 0.04); - color: #ffffff !important; - border: 1.5px solid rgba(255, 255, 255, 0.36); - } - - .eh-btn-outline:hover { - border-color: rgba(255, 255, 255, 0.82); - background: rgba(255, 255, 255, 0.09); - transform: translateY(-3px); - } - - @media (max-width: 1020px) { - .eh-outer { padding: 10px; } - } - - @media (max-width: 840px) { - .eh-section { height: 600px; } - } - - @media (max-width: 660px) { - .eh-title { - font-size: clamp(20px, 7vw, 32px) !important; - } - } - - @media (max-width: 480px) { - .eh-section { height: 520px; } - .eh-btn-primary, .eh-btn-outline { width: 100%; justify-content: center; padding: 14px 22px; } - .eh-btns { width: 100%; } - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"empowerment","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"86","className":"elementor elementor-86 elementor-59 elementor-empowerment","children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],"$L3"],"$L4","$L5","$L6","$L7","$L8","$L9","$La","$Lb","$Lc"]}]}]}]}],["$Ld"],"$Le"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -3:["$","div",null,{"className":"eh-outer","children":["$","section",null,{"className":"eh-section","id":"wings-empowerment-hero","children":[["$","div",null,{"className":"eh-bg","aria-hidden":"true"}],["$","div",null,{"className":"eh-scrim","aria-hidden":"true"}],["$","$Lf",null,{"delay":0.05,"duration":0.85,"yOffset":30,"className":"eh-inner","children":[["$","h1",null,{"className":"eh-title","children":["Building ",["$","span",null,{"className":"eh-soft","children":"Women"}],["$","br",null,{}],["$","$L10",null,{"children":"Entrepreneurs."}]]}],["$","p",null,{"className":"eh-desc","children":"Empowering ambitious women with the network, strategic partnerships, and opportunities to build, grow, and lead successful enterprises that shape the future of logistics."}]]}]]}]}] -11:Te8f, - .ev-section { - position: relative; - background: #ffffff; - padding: clamp(96px, 11vw, 150px) 0; - overflow: hidden; - } - - .ev-map { - position: absolute; - inset: 0; - z-index: 0; - opacity: 0.4; - pointer-events: none; - } - - .ev-inner { - position: relative; - z-index: 1; - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .ev-eyebrow { - margin: 0 0 18px 0; - font-size: 14px; - font-weight: 500; - letter-spacing: 1.5px; - color: rgba(17, 17, 17, 0.6); - } - - .ev-divider { - width: 100%; - height: 1px; - margin: 0 0 clamp(64px, 7.8vw, 92px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.16); - } - - .ev-title { - margin: 0 0 clamp(92px, 11.5vw, 156px) 0 !important; - max-width: 1320px; - display: block; - font-weight: 800 !important; - font-style: normal !important; - letter-spacing: -0.018em !important; - word-spacing: 0.02em; - line-height: 1.04em !important; - text-transform: none !important; - color: #ffffff !important; - -webkit-text-stroke: 2px #c01227; - paint-order: stroke fill; - font-size: clamp(48px, 8.5vw, 128px) !important; - white-space: normal; - overflow-wrap: normal; - text-wrap: balance; - } - - @media (max-width: 1280px) { - .ev-title { - font-size: 118px !important; - } - } - - @media (max-width: 1020px) { - .ev-title { - font-size: 96px !important; - } - } - - @media (max-width: 767px) { - .ev-title { - font-size: 72px !important; - } - } - - .ev-columns { - display: grid; - grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); - gap: clamp(60px, 8vw, 122px); - align-items: start; - } - - .ev-columns > * { - min-width: 0; - } - - .ev-statement { - margin: 0; - font-size: clamp(28px, 3vw, 52px); - font-weight: 600; - line-height: 1.2; - letter-spacing: -0.03em; - color: #111111; - overflow-wrap: break-word; - } - - .ev-support { - display: grid; - gap: clamp(34px, 3.8vw, 52px); - min-width: 0; - } - - .ev-block { - display: grid; - gap: 12px; - } - - .ev-block-label { - margin: 0; - font-size: 12px; - font-weight: 700; - letter-spacing: 1.4px; - line-height: 1; - text-transform: uppercase; - color: rgba(192, 18, 39, 0.86); - } - - .ev-lead, - .ev-note { - font-size: clamp(17px, 1.3vw, 20px); - line-height: 1.6; - color: #333333; - margin: 0; - overflow-wrap: break-word; - } - - .ev-lead { - font-weight: 700; - } - - .ev-note { - font-weight: 400; - } - - @media (max-width: 900px) { - .ev-columns { - grid-template-columns: 1fr; - } - } - - @media (max-width: 600px) { - .ev-section { padding-top: 64px; padding-bottom: 64px; } - .ev-title { - max-width: calc(100vw - (var(--dm-mobile-gutter, 10px) * 2)); - font-size: 56px !important; - letter-spacing: -0.025em !important; - line-height: 1.02em !important; - -webkit-text-stroke-width: 1.5px; - } - } - 4:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$11"}}],"$L12"] -13:T1091, - .esy-section { - position: relative; - width: calc(100% - 40px); - margin: 0 auto clamp(24px, 4vw, 40px); - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - min-height: clamp(500px, 50vw, 690px); - display: flex; - align-items: stretch; - background: #09090b; - } - - .esy-bg { - position: absolute; - inset: 0; - background-image: - linear-gradient(100deg, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.84) 43%, rgba(192, 18, 39, 0.28) 100%), - url("/images/wings-heroslider4.png"); - background-size: cover; - background-position: center; - z-index: 0; - } - - .esy-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - width: 100%; - padding-top: clamp(60px, 7vw, 98px); - padding-bottom: clamp(60px, 7vw, 98px); - display: grid; - grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr); - gap: clamp(36px, 6vw, 96px); - align-items: end; - } - - .esy-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 24px; - } - - .esy-statement { - max-width: 920px; - font-size: clamp(38px, 5.7vw, 86px); - font-weight: 800; - letter-spacing: -0.055em; - line-height: 0.98; - text-transform: uppercase; - color: #ffffff; - margin: 0; - } - - .esy-statement em { - color: #ff5470; - font-style: normal; - } - - .esy-side { - border-left: 1px solid rgba(255, 255, 255, 0.18); - padding-left: clamp(24px, 3vw, 42px); - } - - .esy-label { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.45); - margin-bottom: 18px; - } - - .esy-pull { - font-size: clamp(22px, 2.3vw, 34px); - font-weight: 800; - line-height: 1.16; - letter-spacing: -0.03em; - color: #ffffff; - margin: 0 0 22px 0; - } - - .esy-sub { - font-size: 15.5px; - line-height: 1.65; - color: rgba(255, 255, 255, 0.64); - margin: 0; - } - - /* ---- Desktop-only inner spacing compaction ---- - .esy-section never set its own padding, so it was silently - inheriting 96px top/bottom from the global bare-tag "section" - padding rule (6rem 0) in site.css — stacking with .esy-inner's - own clamp(60-98px) padding into a huge, unbalanced inset. Cancel - that leak here. Also tighten .esy-inner's own padding and widen its - max-width (so a fixed padding, not a narrow centered column, - controls the left/right inset at every desktop width) — and bring - min-height down to match the now-tighter natural content height, - since the old 690px floor was itself forcing extra empty space - once the padding was reduced. Scoped to desktop only; tablet/ - mobile keep their original spacing untouched below. */ - @media (min-width: 1025px) { - .esy-section { - padding: 0; - min-height: clamp(420px, 38vw, 500px); - } - .esy-inner { - max-width: 1900px; - padding-top: 64px; - padding-bottom: 56px; - padding-left: 64px; - padding-right: 64px; - } - } - - @media (max-width: 1024px) { - .esy-section { width: calc(100% - 24px); border-radius: 22px; } - .esy-inner { grid-template-columns: 1fr; align-items: start; } - .esy-side { max-width: 640px; } - } - - @media (max-width: 640px) { - .esy-section { min-height: 560px; } - .esy-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 24px; } - } - 5:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$13"}}],"$L14"] -15:T3756, - /* ============================================================ - Success Stories — redesigned right column (stats + 2x2 cards) - Dark section · red accent #dc2626 / #ef4444 · Manrope - ============================================================ */ - /* Neutralise the right column's asymmetric 140px left padding so the - box group can be centered instead of pushed to one side. */ - .elementor-element.elementor-element-b2c956f { padding: 0 !important; } - - /* Vertically center the two columns so the right content lines up with - the image instead of needing a big top gap; tighten row gap. */ - .elementor-element.elementor-element-2ed47f3 { align-items: center !important; } - - /* Animated map background behind the Success Stories content */ - .elementor-element.elementor-element-b6e14bd { position: relative; overflow: hidden; } - .elementor-element.elementor-element-b6e14bd > .e-con-inner { position: relative; z-index: 1; } - .ws-map { position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; } - .ws-map canvas { display: block; } - - #ws-stories { - display: flex; - flex-direction: column; - gap: 16px; - width: 100%; - max-width: 620px; - margin: 0 auto; /* center the 7 boxes as a group — no negative margins */ - } - - #ws-stories .ws__stats { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 12px; - } - #ws-stories .ws__stat { - background: rgba(255,255,255,0.04); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px 16px; - transition: border-color 0.3s ease, background-color 0.3s ease; - } - #ws-stories .ws__stat:hover { border-color: rgba(220,38,38,0.28); background: rgba(220,38,38,0.05); } - #ws-stories .ws__stat-num { - color: #fff !important; - font-weight: 900; - font-size: clamp(28px, 3vw, 38px); - line-height: 1; - letter-spacing: -0.01em; - } - #ws-stories .ws__stat-num span { color: #dc2626 !important; } - #ws-stories .ws__stat-label { - margin-top: 9px; - color: rgba(255,255,255,0.7) !important; - font-size: 14px !important; - font-weight: 700; - letter-spacing: 0.03em; - text-transform: uppercase; - } - - #ws-stories .ws__cards { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 14px; - align-items: stretch; - } - #ws-stories .ws__card { - position: relative; - overflow: hidden; - display: flex; - flex-direction: column; - min-height: 168px; - background: rgba(255,255,255,0.035); - border: 1px solid rgba(255,255,255,0.08); - border-radius: 14px; - padding: 20px; - transition: transform 0.35s cubic-bezier(.25,1,.5,1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease; - } - #ws-stories .ws__card::after { - content: ''; - position: absolute; - top: -45%; left: -25%; - width: 150px; height: 150px; - background: radial-gradient(circle, rgba(220,38,38,0.2), transparent 70%); - opacity: 0; - transition: opacity 0.35s ease; - pointer-events: none; - } - #ws-stories .ws__card:hover { - transform: translateY(-4px); - border-color: rgba(220,38,38,0.3); - background: rgba(220,38,38,0.05); - box-shadow: 0 18px 44px -20px rgba(0,0,0,0.7); - } - #ws-stories .ws__card:hover::after { opacity: 1; } - #ws-stories .ws__card-icon { - display: inline-flex; - align-items: center; - justify-content: center; - width: 40px; height: 40px; - border-radius: 11px; - background: rgba(220,38,38,0.12); - border: 1px solid rgba(220,38,38,0.25); - color: #ef4444; - margin-bottom: 16px; - transition: background-color 0.3s ease, color 0.3s ease; - } - #ws-stories .ws__card:hover .ws__card-icon { background: #dc2626; color: #fff; } - #ws-stories .ws__card-icon svg { width: 21px; height: 21px; } - #ws-stories .ws__card-title { - color: #fff !important; - font-weight: 800; - font-size: 19px; - line-height: 1.2; - letter-spacing: 0; - margin-bottom: 9px; - } - #ws-stories .ws__card-desc { - max-width: 28ch; - color: rgba(255,255,255,0.66) !important; - font-size: 15px; - line-height: 1.52; - margin: 0; - font-weight: 500; - } - - /* ---- Floating card sizing: content-driven, not container-driven ---- - Matches the EV Logistics card height proportions exactly by trimming - red content padding and white footer min-height. */ - .elementor-element.elementor-element-3b61435 { - --padding-top: 46px; - --padding-bottom: 38px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 38px; - --padding-top: 14px; - --padding-bottom: 14px; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 34px; - --padding-bottom: 28px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 32px; - --padding-top: 12px; - --padding-bottom: 12px; - } - } - @media (max-width: 660px) { - .elementor-element.elementor-element-3b61435 { - --padding-top: 26px; - --padding-bottom: 22px; - } - .elementor-element.elementor-element-5aea22e { - --min-height: 24px; - --padding-top: 10px; - --padding-bottom: 10px; - } - } - - .elementor-element-778840d .logico-title { - white-space: nowrap !important; - } - - /* The banner image (bg-header-women.png) is very wide (≈2.48:1) and the - woman — the subject of this section — sits on the right. On narrow - screens "cover" center-crops her out, so shift the focal point right - to keep her face in frame. */ - @media (max-width: 1024px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 78% center !important; - } - } - @media (max-width: 767px) { - .elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) { - background-position: 82% 25% !important; - } - } - - /* Stack the two columns below the desktop breakpoint so the box group - always gets full width and stays centered — never clipped. */ - @media (max-width: 1024px) { - .elementor-element-778840d .logico-title { - white-space: normal !important; - } - .elementor-element.elementor-element-2ed47f3 { grid-template-columns: 1fr !important; } - #ws-stories { max-width: 640px; margin: 0 auto; } - /* Align the heading, image and stats/cards to one shared left/right - edge — the heading + image widgets carried extra inset that left - them staggered (80px / 70px / 60px) against the stats column. */ - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-778840d, - #women-entrepreneurship .elementor-element-bbfb67f, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container, - #women-entrepreneurship .elementor-element-bbfb67f > .elementor-widget-container { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - } - - @media (max-width: 767px) { - #women-entrepreneurship { - width: calc(100% - 20px) !important; - margin-left: 10px !important; - margin-right: 10px !important; - border-radius: 22px !important; - padding-left: 0px !important; - padding-right: 0px !important; - } - #women-entrepreneurship .e-con-boxed > .e-con-inner { - padding-top: 32px !important; - padding-bottom: 32px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6, - #women-entrepreneurship .elementor-element-b6e14bd, - #women-entrepreneurship .elementor-element-90cc867, - #women-entrepreneurship .elementor-element-36efec7, - #women-entrepreneurship .elementor-element-b2c956f { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - } - #women-entrepreneurship .elementor-element-1f766ea { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - #women-entrepreneurship .elementor-element.elementor-element-2ed47f3 { - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: 0 !important; - margin-right: 0 !important; - margin-top: 0 !important; - padding-top: 0 !important; - gap: 24px !important; - } - #women-entrepreneurship .elementor-element-36efec7 { - margin-top: 0px !important; - padding-top: 0px !important; - gap: 0px !important; - } - #women-entrepreneurship .elementor-element-24c0280 { - margin-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d { - margin-top: 14px !important; - margin-bottom: 14px !important; - padding-top: 0px !important; - padding-bottom: 0px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-778840d h3.logico-title, - #women-entrepreneurship .elementor-element-778840d > .elementor-widget-container { - margin: 0px !important; - padding: 0px !important; - } - #women-entrepreneurship .elementor-element-7da6646 { - width: calc(100% - 28px) !important; - margin-left: 14px !important; - margin-right: 14px !important; - border-radius: 18px !important; - min-height: 240px !important; - margin-top: 15px !important; - margin-bottom: -50px !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-8b5d6e6 { - padding-left: 14px !important; - padding-right: 14px !important; - margin-left: 0px !important; - margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - box-sizing: border-box !important; - } - #women-entrepreneurship .elementor-element-bbfb67f img { - width: 100% !important; - } - #women-entrepreneurship .elementor-element-bbfb67f { - margin-top: 0px !important; - margin-bottom: 16px !important; - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - #ws-stories { - padding-left: 14px !important; - padding-right: 14px !important; - box-sizing: border-box !important; - } - /* KPI stat cards stack one-per-row on mobile. Inside each card the big - number sits on the left and the label on the right, vertically - centered, so every stat reads as a clean full-width row instead of - three cramped columns. */ - #ws-stories .ws__stats { grid-template-columns: 1fr; gap: 12px; } - #ws-stories .ws__stat { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - padding: 16px 20px; - min-width: 0; - } - #ws-stories .ws__stat-num { font-size: clamp(30px, 9vw, 40px); } - #ws-stories .ws__stat-label { - margin-top: 0; - font-size: 13px !important; - letter-spacing: 0.02em; - text-align: right; - min-height: 0; - } - #ws-stories .ws__cards { grid-template-columns: 1fr; gap: 12px; } - } - 6:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$15"}}],"$L16"] -17:T2f8a, - .epr-section { - background: #ffffff; - padding-top: clamp(28px, 3.2vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: visible; - } - - .epr-inner { - max-width: 1380px; - min-width: 0; - margin: 0 auto; - } - - .epr-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .epr-head-reveal { - width: 100%; - } - - .epr-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .epr-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .epr-title { - max-width: 950px; - font-size: clamp(42px, 6.2vw, 88px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .epr-stage { - display: grid; - grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr); - gap: clamp(32px, 5vw, 78px); - /* stretch (not start): .epr-aside-wrap must span the full row - height — the tall Programs column's implicit-row height — so it - defines the sticky travel distance. The visual box no longer - lives here, so stretching this item no longer distorts it. */ - align-items: stretch; - min-width: 0; - } - - .epr-stage > * { - min-width: 0; - } - - /* Responsibility split (desktop sticky architecture): - .epr-aside-wrap — plain grid item, stretched to the full - Programs-list row height. Defines travel - distance. No sizing responsibility of its - own beyond that. - .epr-aside-sticky — owns position: sticky. Its height is - explicitly clamped to the viewport - (100dvh minus header clearance and a - bottom safe-margin), so it can never grow - taller than what's actually visible — - the tall min-height that previously fought - the sticky top offset is gone entirely. - .epr-aside — the visual composition (ghost number, map, - heading, paragraph). Fills the sticky - frame's height and arranges its existing - content inside it; owns the decorative - bleed clipping (overflow: hidden). */ - .epr-aside-wrap { - min-width: 0; - } - - .epr-aside-sticky { - /* 132px clears the site header's fixed state (~122px tall once - scrolled) with a small margin; only grows on very tall - viewports. This is viewport-height-derived, NOT content-height - derived — unlike the old top formula, it never has to react to - how tall the aside's own content happens to be. */ - --epr-sticky-top: clamp(132px, 12dvh, 160px); - --epr-sticky-bottom-safe: 28px; - position: sticky; - top: var(--epr-sticky-top); - height: calc(100dvh - var(--epr-sticky-top) - var(--epr-sticky-bottom-safe)); - min-height: 0; - min-width: 0; - /* Lets the visual composition react to the frame's OWN resolved - height (container query below) rather than guessing from the - viewport or the write-up's vw-based type scale. */ - container-type: size; - container-name: epr-frame; - } - - .epr-aside { - --epr-aside-pad-t: clamp(18px, 3vw, 34px); - --epr-aside-pad-b: clamp(24px, 3.5vw, 42px); - position: relative; - height: 100%; - min-width: 0; - min-height: 0; - padding: var(--epr-aside-pad-t) 0 var(--epr-aside-pad-b); - display: flex; - flex-direction: column; - justify-content: center; - overflow: hidden; - color: #111111; - } - - .epr-aside-map { - position: absolute; - inset: 8% -22% 8% -28%; - z-index: 0; - opacity: 0.22; - pointer-events: none; - } - - .epr-aside-map canvas { - display: block; - } - - .epr-aside-content { - position: relative; - z-index: 1; - display: grid; - gap: clamp(18px, 2.2vw, 28px); - } - - .epr-aside-num { - position: relative; - font-size: clamp(164px, 17vw, 300px); - font-weight: 900; - line-height: 0.78; - letter-spacing: -0.06em; - color: transparent; - -webkit-text-stroke: 2px rgba(200, 16, 46, 0.2); - } - - .epr-aside-copy { - position: relative; - max-width: 12ch; - font-size: clamp(30px, 3.6vw, 56px); - font-weight: 800; - line-height: 0.98; - letter-spacing: -0.055em; - text-transform: uppercase; - color: #111111; - margin: 0; - } - - .epr-aside-copy em { - font-style: normal; - color: #c8102e; - } - - .epr-aside-desc { - position: relative; - max-width: 34ch; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - /* Constrained-frame fallback: the sticky frame is short (short - desktop viewport height), so the decorative ghost number/map - shrink first — spacing second — while the heading and paragraph - stay full size and fully visible, per spec. Placed after the base - .epr-aside-num/-content/-map rules so it wins the cascade at - matching container sizes (equal selector specificity; source - order decides). */ - @container epr-frame (max-height: 660px) { - .epr-aside { padding-top: clamp(12px, 1.8vw, 22px); padding-bottom: clamp(16px, 2.2vw, 26px); } - .epr-aside-content { gap: clamp(12px, 1.6vw, 20px); } - .epr-aside-num { font-size: clamp(90px, 11vw, 180px); } - } - - @container epr-frame (max-height: 560px) { - .epr-aside { padding-top: clamp(8px, 1.2vw, 14px); padding-bottom: clamp(10px, 1.6vw, 18px); } - .epr-aside-content { gap: clamp(6px, 1vw, 12px); } - .epr-aside-num { font-size: clamp(48px, 7vw, 100px); } - .epr-aside-map { opacity: 0.14; } - } - - .epr-list { - display: grid; - gap: clamp(28px, 4vw, 52px); - } - - .epr-row { - display: grid; - grid-template-columns: 110px minmax(0, 1fr); - gap: clamp(22px, 4vw, 58px); - padding-bottom: clamp(28px, 4vw, 52px); - border-bottom: 1px solid rgba(17, 17, 17, 0.14); - } - - .epr-row:nth-child(even) { - margin-left: clamp(0px, 7vw, 96px); - } - - .epr-row-index { - font-size: clamp(38px, 4.2vw, 62px); - font-weight: 900; - line-height: 1; - letter-spacing: -0.05em; - color: #c8102e; - } - - .epr-row-featured { - padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); - background: #09090b; - border-radius: 22px; - border-bottom: none; - margin-bottom: clamp(28px, 4vw, 52px); - } - - .epr-row-featured .epr-row-index { - color: rgba(255, 255, 255, 0.22); - -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5); - } - - .epr-row-featured .epr-row-title { - font-size: clamp(32px, 4vw, 64px) !important; - color: #ffffff !important; - } - - .epr-row-featured .epr-row-desc { - color: rgba(255, 255, 255, 0.62); - } - - .epr-row-flag { - display: inline-block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.3px; - text-transform: uppercase; - color: #ffffff; - background: #c8102e; - padding: 6px 14px; - border-radius: 100px; - margin-bottom: 16px; - } - - .epr-row-type { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - margin-bottom: 14px; - } - - .epr-row-featured .epr-row-type { - color: rgba(255, 255, 255, 0.42); - } - - .epr-row-title { - font-size: clamp(28px, 3.4vw, 52px) !important; - font-weight: 800 !important; - letter-spacing: -0.045em !important; - line-height: 1.02 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0 0 14px 0; - } - - .epr-row-desc { - max-width: 660px; - font-size: 15.5px; - line-height: 1.65; - color: rgba(17, 17, 17, 0.58); - margin: 0; - } - - .epr-cta { - margin-top: clamp(48px, 6vw, 72px); - } - - .epr-cta-link { - display: inline-flex; - align-items: center; - gap: 10px; - font-size: 15px; - font-weight: 800; - color: #111111 !important; - text-decoration: none !important; - border-bottom: 1.5px solid rgba(17, 17, 17, 0.2); - padding-bottom: 5px; - transition: border-color 0.3s ease, color 0.3s ease; - } - - .epr-cta-link:hover { - color: #c8102e !important; - border-color: #c8102e; - } - - /* Laptop: sticky stays enabled, just a narrower gutter. */ - @media (max-width: 1180px) { - .epr-stage { grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr); gap: clamp(28px, 4vw, 46px); } - .epr-row:nth-child(even) { margin-left: 0; } - } - - /* Tablet: sticky disabled — the aside scrolls in normal flow instead - of pinning, since there's no longer enough vertical runway next to - the (now narrower, shorter) program list for pinning to read well. */ - @media (max-width: 1023px) { - .epr-aside-sticky { - position: relative; - top: auto; - height: auto; - container-type: normal; - } - } - - @media (max-width: 767px) { - .epr-stage { grid-template-columns: 1fr; } - .epr-aside { - position: relative; - top: auto; - min-height: 300px; - padding-top: 4px; - padding-bottom: clamp(24px, 7vw, 38px); - } - .epr-aside-map { - inset: -8% -18% 0 -20%; - opacity: 0.18; - } - .epr-aside-content { - gap: 20px; - } - .epr-aside-num { - font-size: clamp(128px, 34vw, 180px); - } - .epr-aside-copy { - max-width: 11ch; - font-size: clamp(34px, 10vw, 48px); - } - .epr-aside-desc { - max-width: 32ch; - font-size: 14.5px; - } - } - - @media (max-width: 640px) { - .epr-section { padding-top: 28px; padding-bottom: 54px; } - .epr-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epr-row-title { - font-size: clamp(27px, 8.5vw, 36px) !important; - overflow-wrap: anywhere; - } - .epr-row { grid-template-columns: 1fr; gap: 12px; } - } - 7:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$17"}}],"$L18"] -19:Te98, - .eim-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 48px); - } - - .eim-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .eim-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #c8102e; - margin-bottom: 20px; - } - - .eim-title { - font-size: clamp(28px, 3.4vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 clamp(32px, 4vw, 48px) 0; - } - - .eim-divider { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-hero-row { - display: flex; - align-items: flex-end; - gap: clamp(20px, 3vw, 36px); - margin-bottom: clamp(48px, 6vw, 72px); - } - - .eim-hero-num { - font-size: clamp(90px, 13vw, 190px); - font-weight: 800; - line-height: 0.85; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 2px #c8102e; - } - - .eim-hero-label { - font-size: 13px; - font-weight: 700; - letter-spacing: 1.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.55); - max-width: 90px; - line-height: 1.4; - padding-bottom: clamp(12px, 1.5vw, 24px); - } - - .eim-divider-2 { - border: none; - border-top: 1px solid rgba(255, 255, 255, 0.12); - margin: 0 0 clamp(40px, 5vw, 56px) 0; - } - - .eim-secondary-row { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .eim-secondary-item { - padding-right: 24px; - border-left: 1px solid rgba(255, 255, 255, 0.12); - padding-left: 24px; - } - - .eim-secondary-item:first-child { - border-left: none; - padding-left: 0; - } - - .eim-secondary-num { - display: block; - font-size: clamp(32px, 3vw, 44px); - font-weight: 800; - color: #ff5470; - letter-spacing: -0.02em; - margin-bottom: 10px; - } - - .eim-secondary-label { - font-size: 13px; - font-weight: 600; - color: rgba(255, 255, 255, 0.5); - line-height: 1.4; - } - - .eim-copy { - max-width: 720px; - margin-top: clamp(48px, 6vw, 72px); - font-size: 15.5px; - line-height: 1.7; - color: rgba(255, 255, 255, 0.55); - } - - @media (max-width: 1024px) { - .eim-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 700px) { - .eim-hero-row { align-items: flex-start; flex-direction: column; gap: 12px; } - .eim-hero-label { padding-bottom: 0; max-width: none; } - .eim-secondary-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } - .eim-secondary-item:nth-child(3) { border-left: none; padding-left: 0; } - } - - @media (max-width: 460px) { - .eim-section { padding-top: 48px; padding-bottom: 48px; } - } - 8:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$19"}}],"$L1a"] -1b:T1f91, - .ehw-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0 calc(var(--space-section-lg, 80px) + 32px) 0; - overflow: hidden; - } - - .ehw-inner { - max-width: 1380px; - margin: 0 auto; - } - - .ehw-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(126px, calc(7vw + 60px), 172px); - } - - .ehw-head-reveal { - width: 100%; - } - - .ehw-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .ehw-title { - max-width: 820px; - font-size: clamp(32px, 4vw, 54px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.08 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 !important; - } - - /* ---------------------------------------------------------------- - Premium editorial process row: five milestones in a single - sequence, separated by thin hairline dividers (no cards, no - shadows, no boxed containers). One flex-wrap sequence with - responsive flex-basis handles the composition at every size — - 5-across on desktop, 3 + 2 (centered) on tablet, a single - vertical column on mobile — from one shared markup. - ---------------------------------------------------------------- */ - .ehw-sequence { - display: flex; - flex-wrap: wrap; - justify-content: center; - --ehw-gap: clamp(24px, 2.6vw, 48px); - column-gap: var(--ehw-gap); - row-gap: clamp(48px, 6vw, 84px); - } - - .ehw-step { - position: relative; - flex: 0 1 calc((100% - 4 * var(--ehw-gap)) / 5); - min-width: 168px; - padding-left: clamp(20px, 2vw, 32px); - border-left: 1px solid rgba(17, 17, 17, 0.14); - transition: border-color 0.3s ease; - } - - .ehw-step:first-child { - border-left: none; - padding-left: 0; - } - - .ehw-step:hover { - border-left-color: rgba(200, 16, 46, 0.4); - } - - .ehw-step-num { - font-size: clamp(48px, 4.6vw, 78px); - font-weight: 900; - line-height: 0.84; - letter-spacing: -0.03em; - color: transparent; - -webkit-text-stroke: 1.5px rgba(17, 17, 17, 0.24); - margin: 0 0 18px 0; - transition: -webkit-text-stroke-color 0.3s ease; - } - - .ehw-step.is-accent .ehw-step-num { - -webkit-text-stroke: 1.5px rgba(200, 16, 46, 0.58); - } - - .ehw-step-kicker { - display: flex; - align-items: center; - gap: 7px; - margin-bottom: 18px; - } - - .ehw-step-kicker svg { - width: 13px; - height: 13px; - color: rgba(17, 17, 17, 0.36); - flex-shrink: 0; - } - - .ehw-step-kicker span { - font-size: 11px; - font-weight: 800; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.4); - } - - .ehw-step.is-accent .ehw-step-kicker svg, - .ehw-step.is-accent .ehw-step-kicker span { - color: #c8102e; - } - - .ehw-step-title { - font-size: clamp(18px, 1.4vw, 22px) !important; - font-weight: 800 !important; - letter-spacing: -0.02em !important; - line-height: 1.2 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 22px 0; - } - - .ehw-step-desc { - max-width: 27ch; - font-size: 14px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.55); - margin: 0; - } - - /* Tablet: 3 + 2, centered — sever the divider at the start of each row. */ - @media (max-width: 1100px) { - .ehw-step { - flex-basis: calc((100% - 2 * var(--ehw-gap)) / 3); - } - .ehw-step:nth-child(4) { - border-left: none; - padding-left: 0; - } - } - - /* Mobile: compact numbered editorial index — number in a narrow - left column, title/description/divider sharing one right - content column, laid out on the existing milestone markup via - CSS Grid (no duplicated JSX, no new step markup). */ - @media (max-width: 640px) { - .ehw-head { - margin-bottom: clamp(40px, 10vw, 56px); - } - - .ehw-sequence { - row-gap: 0; - } - - .ehw-step { - display: grid; - grid-template-columns: 48px minmax(0, 1fr); - column-gap: 14px; - flex-basis: 100%; - padding-left: 0; - padding-top: clamp(28px, 8vw, 36px); - border-left: none; - border-top: none; - } - - .ehw-step:first-child { - padding-top: 0; - } - - /* Compact solid index number — replaces the oversized pale - outline treatment used on desktop/tablet. */ - .ehw-step-num { - grid-column: 1; - grid-row: 1; - align-self: start; - font-size: clamp(32px, 9vw, 40px); - line-height: 1; - color: #c8102e; - -webkit-text-stroke: 0; - margin: 0; - } - - /* Hidden completely — no reserved gap left in its place since a - display:none grid item takes no track space. */ - .ehw-step-kicker { - display: none; - } - - .ehw-step-title { - grid-column: 2; - grid-row: 1; - font-size: clamp(22px, 6vw, 26px) !important; - } - - .ehw-step-desc { - grid-column: 2; - grid-row: 2; - max-width: none; - font-size: 16px; - } - - /* Divider lives inside the description box (content column - only), so it never runs underneath the number column. */ - .ehw-step-desc::after { - content: ""; - display: block; - margin-top: clamp(24px, 6vw, 28px); - height: 1px; - background-color: rgba(17, 17, 17, 0.14); - } - - .ehw-step:last-child .ehw-step-desc::after { - display: none; - } - } - - /* ---- Mobile title-to-description gap fix ---- - .ehw-step-title is an

, so it's matched by a global, - unscoped site.css rule (.logico-front-end h3:not(...) { margin: - 0 0 30px }) that outranks this component's own single-class - ".ehw-step-title { margin: 0 0 22px }" by specificity — bumping - the real margin-bottom to 30px everywhere, not just here. There - is no min-height, space-between, or fixed row height anywhere in - this component; the gap is purely that extra 8px of margin - reading as oversized once every other element around it (kicker, - description line-height) is tightly spaced. Overridden with - !important, matching how every other property on this selector - already has to defeat the same global rule. Scoped to mobile - only, per spec — desktop/tablet are left exactly as they were - (still resolving to the global 30px; out of scope here). */ - @media (max-width: 767px) { - .ehw-step-title { - margin-bottom: 16px !important; - } - } - - @media (max-width: 480px) { - .ehw-section { padding-top: 48px; padding-bottom: 68px; } - } - 9:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1b"}}],"$L1c"] -1d:T1df1, - .est-section { - position: relative; - background: #ffffff; - padding-top: clamp(24px, 3vw, 48px); - padding-bottom: clamp(78px, 9vw, 132px); - overflow: hidden; - } - - .est-inner { - max-width: 1380px; - margin: 0 auto; - } - - .est-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(54px, 7vw, 86px); - } - - .est-head-reveal { - width: 100%; - } - - .est-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(17, 17, 17, 0.14); - } - - .est-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.4px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - } - - .est-title { - max-width: 940px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #111111 !important; - margin: 0; - } - - .est-feature { - display: grid; - grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.64fr); - gap: clamp(28px, 4vw, 62px); - align-items: stretch; - margin-bottom: clamp(44px, 6vw, 76px); - } - - .est-photo { - position: relative; - min-height: clamp(460px, 48vw, 680px); - border-radius: 26px; - overflow: hidden; - background: #09090b; - } - - .est-photo img { - object-fit: cover; - object-position: center; - } - - .est-photo::after { - content: ""; - position: absolute; - inset: 0; - background: linear-gradient(180deg, rgba(9, 9, 11, 0) 34%, rgba(9, 9, 11, 0.72) 100%); - pointer-events: none; - } - - .est-photo-caption { - position: absolute; - left: clamp(24px, 3vw, 42px); - right: clamp(24px, 3vw, 42px); - bottom: clamp(24px, 3vw, 42px); - z-index: 1; - color: #ffffff; - } - - .est-photo-caption span { - display: block; - font-size: 12px; - font-weight: 800; - letter-spacing: 1.7px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.6); - margin-bottom: 8px; - } - - .est-photo-caption strong { - display: block; - font-size: clamp(24px, 3vw, 42px); - font-weight: 900; - line-height: 1.02; - letter-spacing: -0.04em; - } - - .est-copy { - border-radius: 26px; - background: #09090b; - color: #ffffff; - padding: clamp(34px, 5vw, 62px); - display: flex; - flex-direction: column; - justify-content: space-between; - overflow: hidden; - position: relative; - } - - .est-copy::before { - content: ""; - position: absolute; - width: 320px; - height: 320px; - right: -120px; - top: -120px; - background: radial-gradient(circle, rgba(200, 16, 46, 0.42), transparent 68%); - pointer-events: none; - } - - .est-quote-mark { - position: relative; - font-family: Georgia, serif; - font-size: 92px; - line-height: 0.8; - color: #c8102e; - display: block; - margin-bottom: 20px; - } - - .est-quote-text { - position: relative; - font-size: clamp(25px, 3vw, 44px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.04em; - color: #ffffff; - margin: 0 0 28px 0; - } - - .est-narrative { - position: relative; - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.66); - margin: 0; - max-width: 46ch; - } - - .est-person { - position: relative; - padding-top: clamp(38px, 5vw, 64px); - } - - .est-person-name { - font-size: 18px; - font-weight: 900; - color: #ffffff; - } - - .est-person-role { - font-size: 13.5px; - color: rgba(255, 255, 255, 0.52); - margin-top: 3px; - } - - .est-list-label { - font-size: 12px; - font-weight: 800; - letter-spacing: 1.8px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.42); - padding-top: clamp(24px, 3vw, 38px); - border-top: 1px solid rgba(17, 17, 17, 0.14); - margin-bottom: clamp(20px, 3vw, 30px); - } - - .est-list { - display: flex; - gap: 18px; - overflow-x: auto; - scroll-snap-type: x mandatory; - padding-bottom: 12px; - margin-bottom: clamp(6px, 1vw, 10px); - -webkit-overflow-scrolling: touch; - } - - .est-list::-webkit-scrollbar { - height: 4px; - } - - .est-list::-webkit-scrollbar-thumb { - background: rgba(17, 17, 17, 0.18); - border-radius: 100px; - } - - .est-row { - scroll-snap-align: start; - flex: 0 0 clamp(260px, 30vw, 340px); - min-height: 220px; - padding: clamp(24px, 2.6vw, 32px); - border: 1px solid rgba(17, 17, 17, 0.14); - border-radius: 20px; - display: flex; - flex-direction: column; - justify-content: space-between; - transition: border-color 0.3s ease, transform 0.3s ease; - } - - .est-row:hover { - border-color: rgba(200, 16, 46, 0.4); - transform: translateY(-4px); - } - - .est-row-name { - font-size: 20px; - font-weight: 900; - color: #111111; - } - - .est-row-role { - font-size: 13px; - font-weight: 800; - letter-spacing: 1.4px; - text-transform: uppercase; - color: #c8102e; - margin-top: 6px; - } - - .est-row-line { - font-size: 15px; - line-height: 1.6; - color: rgba(17, 17, 17, 0.62); - margin: 28px 0 0; - } - - @media (max-width: 1000px) { - .est-head, - .est-feature { grid-template-columns: 1fr; } - .est-row { - min-height: 0; - flex-basis: 78vw; - } - } - - @media (max-width: 640px) { - .est-section { padding-top: 54px; padding-bottom: 6px; } - /* .est-feature's margin-bottom (clamp(44px, 6vw, 76px)) was sized - to precede an .est-list testimonial row block that no longer - exists in this component's JSX. Since .est-feature is now the - section's last child, that margin was pure dead space stacking - on top of .est-section's own padding-bottom above — the real - source of the oversized mobile gap before the next section. */ - .est-feature { margin-bottom: 0; } - .est-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .est-quote-text { - font-size: clamp(25px, 8vw, 34px); - overflow-wrap: anywhere; - } - .est-photo, - .est-copy { border-radius: 20px; } - .est-photo { min-height: 420px; } - } - a:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1d"}}],"$L1e"] -1f:T16dc, - .epn-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(68px, 8vw, 112px) 0; - } - - .epn-section::before { - content: ""; - position: absolute; - inset: 0; - background: - linear-gradient(120deg, rgba(9, 9, 11, 0.98) 0%, rgba(9, 9, 11, 0.88) 54%, rgba(192, 18, 39, 0.18) 100%), - url("/images/wings-heroslider3.png"); - background-size: cover; - background-position: center 70%; - opacity: 1; - } - - .epn-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .epn-head { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: clamp(50px, 7vw, 84px); - } - - .epn-head-reveal { - width: 100%; - } - - .epn-divider { - width: 100%; - height: 1px; - margin: 18px 0 clamp(24px, 3.5vw, 40px) 0; - border: none; - background-color: rgba(255, 255, 255, 0.16); - } - - .epn-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.52); - } - - .epn-title { - max-width: 930px; - font-size: clamp(42px, 6.3vw, 90px) !important; - font-weight: 800 !important; - letter-spacing: -0.055em !important; - line-height: 0.98 !important; - text-transform: uppercase !important; - color: #ffffff !important; - margin: 0; - } - - .epn-title em { - color: #ff5470; - font-style: normal; - } - - .epn-body { - display: grid; - grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr); - gap: clamp(32px, 5vw, 72px); - align-items: stretch; - } - - .epn-manifesto { - border-left: 4px solid #c8102e; - padding-left: clamp(22px, 3vw, 36px); - align-self: start; - } - - .epn-intro { - font-size: clamp(22px, 2.5vw, 36px); - font-weight: 800; - line-height: 1.12; - letter-spacing: -0.035em; - color: #ffffff; - margin: 0 0 22px; - } - - .epn-note { - font-size: 15.5px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.62); - margin: 0; - max-width: 38ch; - } - - .epn-grid { - display: flex; - flex-direction: column; - border-top: 1px solid rgba(255, 255, 255, 0.16); - } - - .epn-card { - position: relative; - display: grid; - grid-template-columns: 70px minmax(0, 1fr) 32px; - align-items: center; - gap: clamp(18px, 3vw, 40px); - padding: clamp(22px, 2.6vw, 32px) clamp(4px, 1vw, 16px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - border-left: 2px solid transparent; - transition: border-color 0.3s ease, padding-left 0.3s ease, background-color 0.3s ease; - } - - .epn-card:hover { - border-left-color: #c8102e; - background: rgba(200, 16, 46, 0.06); - padding-left: clamp(20px, 2.5vw, 32px); - } - - .epn-card-index { - font-size: 15px; - font-weight: 900; - color: rgba(255, 255, 255, 0.35); - } - - .epn-card-title { - font-size: clamp(22px, 2.2vw, 30px) !important; - font-weight: 900 !important; - line-height: 1.1 !important; - letter-spacing: -0.03em !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 8px; - } - - .epn-card-desc { - max-width: 46ch; - font-size: 14.5px; - line-height: 1.6; - color: rgba(255, 255, 255, 0.58); - margin: 0; - } - - .epn-card-arrow { - display: flex; - color: rgba(255, 255, 255, 0.3); - transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; - } - - .epn-card:hover .epn-card-arrow { - transform: translateX(4px); - color: #ff5470; - } - - .epn-cta { - margin-top: clamp(42px, 5vw, 64px); - } - - .epn-cta-btn { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 16px 36px; - border-radius: 100px; - background: #c01227; - color: #ffffff !important; - font-weight: 800; - font-size: 15px; - text-decoration: none !important; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease; - } - - .epn-cta-btn:hover { - transform: translateY(-3px); - box-shadow: 0 14px 30px rgba(192, 18, 39, 0.35); - } - - @media (max-width: 1024px) { - .epn-section { width: calc(100% - 24px); border-radius: 22px; } - } - - @media (max-width: 900px) { - .epn-head, - .epn-body { grid-template-columns: 1fr; } - } - - @media (max-width: 700px) { - .epn-title { - font-size: clamp(34px, 10vw, 40px) !important; - letter-spacing: -0.045em !important; - overflow-wrap: anywhere; - } - .epn-card { - grid-template-columns: 44px minmax(0, 1fr); - } - .epn-card-arrow { display: none; } - } - - @media (max-width: 460px) { - .epn-section { padding-top: 54px; padding-bottom: 54px; } - } - b:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1f"}}],"$L20"] -21:Tdad, - .emp-cta-wrap { - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto clamp(40px, 5vw, 64px); - } - - .emp-cta { - position: relative; - overflow: hidden; - border-radius: 28px; - min-height: clamp(480px, 48vw, 680px); - background: #09090b; - display: flex; - align-items: flex-end; - } - - .emp-cta::before { - content: ""; - position: absolute; - inset: 0; - background-image: - linear-gradient(180deg, rgba(9, 9, 11, 0.18) 0%, rgba(9, 9, 11, 0.52) 48%, rgba(9, 9, 11, 0.96) 100%), - linear-gradient(90deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.35) 58%, rgba(9, 9, 11, 0.12) 100%), - url("/images/bg-header-women.webp"); - background-size: cover; - background-position: center; - transform: scale(1.02); - } - - .emp-cta-inner { - position: relative; - z-index: 1; - max-width: 1380px; - width: 100%; - margin: 0 auto; - padding: clamp(46px, 7vw, 88px) clamp(24px, 5vw, 64px); - box-sizing: border-box; - } - - .emp-cta-recap { - display: flex; - gap: clamp(28px, 4vw, 52px); - margin-bottom: clamp(28px, 4vw, 44px); - padding-bottom: clamp(24px, 3vw, 36px); - border-bottom: 1px solid rgba(255, 255, 255, 0.16); - } - - .emp-cta-recap-item { - display: flex; - align-items: baseline; - gap: 10px; - } - - .emp-cta-recap-num { - font-size: clamp(22px, 2.4vw, 32px); - font-weight: 900; - letter-spacing: -0.02em; - color: transparent; - -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.85); - } - - .emp-cta-recap-label { - font-size: 12px; - font-weight: 700; - letter-spacing: 0.6px; - color: rgba(255, 255, 255, 0.5); - } - - .emp-cta-kicker { - font-size: 13px; - font-weight: 900; - letter-spacing: 2.4px; - text-transform: uppercase; - color: #ff5470; - margin-bottom: 22px; - } - - .emp-cta-title { - max-width: 980px; - color: #ffffff !important; - font-size: clamp(44px, 7vw, 108px) !important; - font-weight: 900 !important; - line-height: 0.95 !important; - letter-spacing: -0.06em !important; - text-transform: uppercase !important; - margin: 0 0 clamp(24px, 3vw, 34px); - } - - .emp-cta-title em { - color: #ff5470; - font-style: normal; - } - - .emp-cta-bottom { - display: block; - max-width: 1120px; - } - - .emp-cta-sub { - max-width: 620px; - font-size: 16px; - line-height: 1.68; - color: rgba(255, 255, 255, 0.68); - margin: 0; - } - - @media (max-width: 1024px) { - .emp-cta-wrap { width: calc(100% - 24px); } - .emp-cta { border-radius: 22px; } - } - - @media (max-width: 760px) { - .emp-cta { min-height: 600px; } - .emp-cta::before { background-position: 76% center; } - .emp-cta-title { - font-size: clamp(36px, 11vw, 44px) !important; - letter-spacing: -0.05em !important; - overflow-wrap: anywhere; - } - .emp-cta-recap { flex-wrap: wrap; row-gap: 14px; } - } - c:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$21"}}],"$L22"] -d:["$","script","script-0",{"src":"/_next/static/chunks/0vzdvje64yndv.js","async":true}] -e:["$","$L23",null,{"children":["$","$24",null,{"name":"Next.MetadataOutlet","children":"$@25"}]}] -12:["$","section",null,{"className":"ev-section","id":"wings-empowerment-vision","children":[["$","div",null,{"className":"ev-map","aria-hidden":"true","children":["$","$L26",null,{}]}],["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ev-inner","children":[["$","$Lf",null,{"delay":0.05,"duration":0.7,"yOffset":20,"children":[["$","p",null,{"className":"ev-eyebrow","children":"/ Our Vision /"}],["$","hr",null,{"className":"ev-divider"}]]}],["$","$Lf",null,{"delay":0.12,"duration":0.85,"yOffset":30,"children":["$","h2",null,{"className":"ev-title","children":"Women Own The Future."}]}],["$","div",null,{"className":"ev-columns","children":[["$","$Lf",null,{"delay":0.18,"duration":0.8,"yOffset":25,"children":["$","p",null,{"className":"ev-statement","children":"A logistics ecosystem where women don’t just participate — they own, build, and lead."}]}],["$","$Lf",null,{"delay":0.26,"duration":0.8,"yOffset":25,"className":"ev-support","children":[["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"The vision"}],["$","p",null,{"className":"ev-lead","children":"We are building an entrepreneurial ecosystem where women launch enterprises, scale operations, and shape the future of logistics from the inside."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"Why it matters"}],["$","p",null,{"className":"ev-note","children":"Industries transform when founders emerge from every corner. Women-led enterprises bring fresh perspective, operational resilience, and long-term economic impact to logistics."}]]}],["$","div",null,{"className":"ev-block","children":[["$","p",null,{"className":"ev-block-label","children":"How Wings contributes"}],["$","p",null,{"className":"ev-note","children":"Wings provides the infrastructure — strategic partnerships, funding access, founder networks, and industry connections — that turns ambition into enterprise."}]]}]]}]]}]]}]}]]}] -14:["$","section",null,{"className":"esy-section","id":"wings-empowerment-story","children":[["$","div",null,{"className":"esy-bg","aria-hidden":"true"}],["$","div",null,{"className":"esy-inner dm-section-container","children":[["$","$Lf",null,{"delay":0.05,"duration":0.85,"yOffset":25,"children":[["$","div",null,{"className":"esy-eyebrow","children":"/ Our Approach /"}],["$","p",null,{"className":"esy-statement","children":["Not a program on a brochure. ",["$","em",null,{"children":"An ecosystem women can build in."}]]}]]}],["$","$Lf",null,{"delay":0.15,"duration":0.8,"yOffset":25,"className":"esy-side","children":[["$","span",null,{"className":"esy-label","children":"Manifesto"}],["$","p",null,{"className":"esy-pull","children":"A venture that starts with conviction. A network that turns it into momentum."}],["$","p",null,{"className":"esy-sub","children":"Wings is designed around the moments that define a founder: the first partnership signed, the first client won, the first team hired, the first enterprise scaled."}]]}]]}]]}] -16:["$","div",null,{"id":"women-entrepreneurship","className":"elementor-element elementor-element-bbc6760 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"bbc6760","data-element_type":"container","data-e-type":"container","style":{"backgroundColor":"#1f1f1f","width":"calc(100% - 40px)","marginLeft":"20px","marginRight":"20px","borderRadius":"25px"},"children":[["$","div",null,{"className":"elementor-element elementor-element-13a7637 elementor-widget__width-auto elementor-absolute elementor-widget elementor-widget-logico_decorative_block","data-id":"13a7637","data-element_type":"widget","data-e-type":"widget","style":{"position":"absolute"},"children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"block-decoration animation-enable block-decoration-style-1","children":["$","div",null,{"className":"block-decoration-item"}]}]}]}],["$","div",null,{"style":{"backgroundImage":"url(/images/bg-header-women.webp)"},"className":"elementor-element elementor-element-7da6646 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"7da6646","data-element_type":"container","data-e-type":"container"}],["$","div",null,{"className":"elementor-element elementor-element-8b5d6e6 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"8b5d6e6","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-1f766ea e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"1f766ea","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-3b61435 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3b61435","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"elementor-element elementor-element-c364d1c elementor-widget elementor-widget-text-editor","data-id":"c364d1c","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"01"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-239afbb elementor-widget elementor-widget-logico_heading","data-id":"239afbb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h5",null,{"className":"logico-title","children":"Women Entrepreneurship"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-0d307dd elementor-widget elementor-widget-text-editor","data-id":"0d307dd","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","p",null,{"children":"An ecosystem where women build, own, and scale enterprises across logistics."}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-5aea22e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5aea22e","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":["$","div",null,{"className":"elementor-element elementor-element-46b9ffa elementor-widget elementor-widget-logico_button","data-id":"46b9ffa","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"button-widget","children":["$","div",null,{"className":"button-container","children":["$","a",null,{"href":"#wings-empowerment-programs","className":"logico-small-button","children":["Explore the ecosystem",["$","svg",null,{"viewBox":"0 0 13 20","children":"$L27"}]]}]}]}]}]}]}]]}]}],"$L28"]}] -18:["$","section",null,{"className":"epr-section","id":"wings-empowerment-programs","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epr-inner","children":[["$","div",null,{"className":"epr-head","children":[["$","$Lf",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epr-head-reveal","children":[["$","div",null,{"className":"epr-eyebrow","children":"/ Entrepreneurship Pillars /"}],["$","hr",null,{"className":"epr-divider"}]]}],["$","$Lf",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epr-title","children":"Every pillar is built around ownership."}]}]]}],["$","div",null,{"className":"epr-stage","children":[["$","div",null,{"className":"epr-aside-wrap","children":["$","div",null,{"className":"epr-aside-sticky","children":["$","aside",null,{"className":"epr-aside","children":[["$","div",null,{"className":"epr-aside-map","aria-hidden":"true","children":["$","$L26",null,{}]}],["$","$Lf",null,{"delay":0.05,"duration":0.8,"yOffset":24,"className":"epr-aside-content","children":[["$","div",null,{"className":"epr-aside-num","children":"05"}],["$","p",null,{"className":"epr-aside-copy","children":["Building tomorrow’s ",["$","em",null,{"children":"women entrepreneurs."}]]}],["$","p",null,{"className":"epr-aside-desc","children":"Every enterprise starts with one decision. Our pillars move women from idea to ownership through mentorship, real industry partnerships, and hands-on venture building across the logistics ecosystem."}]]}]]}]}]}],["$","div",null,{"children":[["$","$Lf",null,{"delay":0.1,"duration":0.8,"yOffset":24,"children":["$","div",null,{"className":"epr-list","children":[["$","article","Venture Launchpad",{"className":"epr-row epr-row-featured","children":[["$","div",null,{"className":"epr-row-index","children":"01"}],["$","div",null,{"children":[["$","span",null,{"className":"epr-row-flag","children":"Where most founders begin"}],["$","span",null,{"className":"epr-row-type","children":"Start building"}],["$","h3",null,{"className":"epr-row-title","children":"Venture Launchpad"}],["$","p",null,{"className":"epr-row-desc","children":"Business model validation, market entry strategy, entity formation, and go-to-market execution for women-led logistics enterprises."}]]}]]}],["$","article","Strategic Partnerships",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"02"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Connect and grow"}],["$","h3",null,{"className":"epr-row-title","children":"Strategic Partnerships"}],["$","p",null,{"className":"epr-row-desc","children":"Direct access to supply chain networks, B2B relationships, industry alliances, and commercial agreements that accelerate growth."}]]}]]}],["$","article","Founder Mentorship",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"03"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Learn from builders"}],["$","h3",null,{"className":"epr-row-title","children":"Founder Mentorship"}],["$","p",null,{"className":"epr-row-desc","children":"One-on-one guidance from established entrepreneurs, operators, and investors who understand what it takes to scale."}]]}]]}],["$","article","Growth & Scale",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"04"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"Scale with confidence"}],["$","h3",null,{"className":"epr-row-title","children":"Growth & Scale"}],["$","p",null,{"className":"epr-row-desc","children":"Operational expansion frameworks, team building, funding readiness, and sustainable unit economics for ventures ready to grow."}]]}]]}],["$","article","Industry Immersion",{"className":"epr-row","children":[["$","div",null,{"className":"epr-row-index","children":"05"}],["$","div",null,{"children":[false,["$","span",null,{"className":"epr-row-type","children":"See the opportunity"}],["$","h3",null,{"className":"epr-row-title","children":"Industry Immersion"}],["$","p",null,{"className":"epr-row-desc","children":"Real exposure to logistics operations, supply chain infrastructure, and distribution networks before founders commit to a vertical."}]]}]]}]]}]}],["$","div",null,{"className":"epr-cta","children":["$","$L29",null,{"href":"/contact","className":"epr-cta-link","children":["Start your venture","$L2a"]}]}]]}]]}]]}]}]}] -1a:["$","section",null,{"className":"eim-section","id":"wings-empowerment-impact","children":["$","div",null,{"className":"eim-inner dm-section-container","children":[["$","$Lf",null,{"delay":0.05,"duration":0.75,"yOffset":20,"children":[["$","div",null,{"className":"eim-eyebrow","children":"/ Our Impact /"}],["$","h2",null,{"className":"eim-title","children":"Growth we can measure"}]]}],["$","hr",null,{"className":"eim-divider"}],["$","$Lf",null,{"delay":0.08,"duration":0.8,"yOffset":20,"className":"eim-hero-row","children":[["$","span",null,{"className":"eim-hero-num","children":["$","$L2b",null,{"end":500,"suffix":"+","duration":2.2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-hero-label","children":"Women-Led Enterprises In The Ecosystem"}]]}],["$","hr",null,{"className":"eim-divider-2"}],["$","$Lf",null,{"delay":0.1,"duration":0.8,"yOffset":20,"children":["$","div",null,{"className":"eim-secondary-row","children":[["$","div","Enterprises Launched",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L2b",null,{"end":100,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Enterprises Launched"}]]}],["$","div","Industry Partners",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L2b",null,{"end":25,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Industry Partners"}]]}],["$","div","Cities Active",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":["$","$L2b",null,{"end":15,"suffix":"+","duration":2,"triggerOnce":true}]}],["$","span",null,{"className":"eim-secondary-label","children":"Cities Active"}]]}],["$","div","In Economic Value Created",{"className":"eim-secondary-item","children":[["$","span",null,{"className":"eim-secondary-num","children":"Millions"}],["$","span",null,{"className":"eim-secondary-label","children":"In Economic Value Created"}]]}]]}]}],["$","$Lf",null,{"delay":0.12,"duration":0.75,"yOffset":20,"className":"eim-copy","children":["$","p",null,{"children":"Every number on this page represents a woman who walked into a room with an idea and walked out with a business. An enterprise launched, a partnership secured, a market entered — each is a marker of real economic impact, not a statistic collected for its own sake."}]}]]}]}] -1c:["$","section",null,{"className":"ehw-section","id":"wings-empowerment-how-it-works","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"ehw-inner","children":[["$","div",null,{"className":"ehw-head","children":[["$","$Lf",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"ehw-head-reveal","children":[["$","div",null,{"className":"ehw-eyebrow","children":"/ The Founder Journey /"}],["$","hr",null,{"className":"ehw-divider"}]]}],["$","$Lf",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"ehw-title","children":"A clear path, from idea to enterprise"}]}]]}],["$","$L2c",null,{"className":"ehw-sequence","stagger":0.12,"duration":0.7,"yOffset":30,"triggerOnce":true,"children":[["$","div","01",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"01"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Apply"}],["$","p",null,{"className":"ehw-step-desc","children":"Submit your venture idea and tell us about your entrepreneurial vision."}]]}],["$","div","02",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"02"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Discovery"}],["$","p",null,{"className":"ehw-step-desc","children":"Identify the right market opportunity and validate your business model."}]]}],["$","div","03",{"className":"ehw-step is-accent","children":[["$","div",null,{"className":"ehw-step-num","children":"03"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Build"}],["$","p",null,{"className":"ehw-step-desc","children":"Develop your enterprise with ecosystem support, mentorship, and partnerships."}]]}],["$","div","04",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"04"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Launch"}],["$","p",null,{"className":"ehw-step-desc","children":"Go to market with strategic backing, industry connections, and operational infrastructure."}]]}],["$","div","05",{"className":"ehw-step","children":[["$","div",null,{"className":"ehw-step-num","children":"05"}],["$","div",null,{"className":"ehw-step-kicker","aria-hidden":"true","children":[["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M7 17 17 7M9 7h8v8"}]}],["$","span",null,{"children":"Step"}]]}],["$","h3",null,{"className":"ehw-step-title","children":"Scale"}],["$","p",null,{"className":"ehw-step-desc","children":"Grow your team, expand operations, and lead your enterprise to sustainable impact."}]]}]]}]]}]}]}] -1e:["$","section",null,{"className":"est-section","id":"wings-empowerment-stories","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"est-inner","children":[["$","div",null,{"className":"est-head","children":[["$","$Lf",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"est-head-reveal","children":[["$","div",null,{"className":"est-eyebrow","children":"/ Women in Motion /"}],["$","hr",null,{"className":"est-divider"}]]}],["$","$Lf",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"est-title","children":"Small steps. Lasting careers."}]}]]}],["$","div",null,{"className":"est-feature","children":[["$","$Lf",null,{"delay":0.05,"duration":0.85,"yOffset":24,"className":"est-photo","children":[["$","$L2d",null,{"src":"/images/women-hero-slider-3.png","alt":"A Wings program participant on the operations floor at a Doormile logistics hub","fill":true,"sizes":"(max-width: 1000px) 100vw, 58vw","style":{"objectPosition":"80% 22%"}}],["$","div",null,{"className":"est-photo-caption","children":[["$","span",null,{"children":"Wings Participant"}],["$","strong",null,{"children":" building a career, one milestone at a time."}]]}]]}],["$","$Lf",null,{"delay":0.12,"duration":0.85,"yOffset":24,"className":"est-copy","children":["$","div",null,{"children":[["$","span",null,{"className":"est-quote-mark","aria-hidden":"true","children":"“"}],["$","p",null,{"className":"est-quote-text","children":"I came in looking for a way forward. I found the confidence to lead."}],["$","p",null,{"className":"est-narrative","children":"She started with limited exposure to logistics. Through structured training, mentorship, and hands-on experience, she built real operational skills — and now supports other women stepping into the industry."}]]}]}]]}]]}]}]}] -20:["$","section",null,{"className":"epn-section","id":"wings-empowerment-partners","children":["$","div",null,{"className":"dm-section-container","children":["$","div",null,{"className":"epn-inner","children":[["$","div",null,{"className":"epn-head","children":[["$","$Lf",null,{"delay":0.05,"duration":0.75,"yOffset":20,"className":"epn-head-reveal","children":[["$","div",null,{"className":"epn-eyebrow","children":"/ Collaboration /"}],["$","hr",null,{"className":"epn-divider"}]]}],["$","$Lf",null,{"delay":0.1,"duration":0.85,"yOffset":24,"children":["$","h2",null,{"className":"epn-title","children":["Partnership is how ",["$","em",null,{"children":"ecosystems grow."}]]}]}]]}],["$","div",null,{"className":"epn-body","children":[["$","$Lf",null,{"delay":0.08,"duration":0.8,"yOffset":22,"className":"epn-manifesto","children":[["$","p",null,{"className":"epn-intro","children":"The strongest ecosystems are built by many hands."}],["$","p",null,{"className":"epn-note","children":"Wings partners bring industry access, strategic infrastructure, capital, and networks. Together, we build the foundation women-led enterprises need to thrive."}]]}],["$","$Lf",null,{"delay":0.12,"duration":0.8,"yOffset":22,"children":["$","div",null,{"className":"epn-grid","children":[["$","article","Industry Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"01"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Industry Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Strategic alliances with logistics operators, supply chain leaders, and distribution networks that open doors for women-led enterprises."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Technology Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"02"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Technology Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Platforms, tools, and infrastructure that give founders the operational edge to compete and scale efficiently."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Community Networks",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"03"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Community Networks"}],["$","p",null,{"className":"epn-card-desc","children":"Founder communities, women's business networks, and ecosystem builders who extend reach and amplify impact."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}],["$","article","Investment Partners",{"className":"epn-card","children":[["$","span",null,{"className":"epn-card-index","children":"04"}],["$","div",null,{"children":[["$","h3",null,{"className":"epn-card-title","children":"Investment Partners"}],["$","p",null,{"className":"epn-card-desc","children":"Funding access, grant programs, angel networks, and capital partners aligned with women-led enterprise growth."}]]}],["$","span",null,{"className":"epn-card-arrow","aria-hidden":"true","children":["$","svg",null,{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}]}]]}]]}]}]]}]]}]}]}] -22:["$","div",null,{"className":"emp-cta-wrap","children":["$","section",null,{"className":"emp-cta","aria-labelledby":"empowerment-final-cta","children":["$","div",null,{"className":"emp-cta-inner","children":[["$","div",null,{"className":"emp-cta-recap","children":[["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"500+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Women Founders"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"100+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Enterprises Launched"}]]}],["$","div",null,{"className":"emp-cta-recap-item","children":[["$","span",null,{"className":"emp-cta-recap-num","children":"25+"}],["$","span",null,{"className":"emp-cta-recap-label","children":"Industry Partners"}]]}]]}],["$","div",null,{"className":"emp-cta-kicker","children":"/ Build the next mile /"}],["$","h2",null,{"className":"emp-cta-title","id":"empowerment-final-cta","children":["Build what’s ",["$","em",null,{"children":"next."}]]}],["$","div",null,{"className":"emp-cta-bottom","children":["$","p",null,{"className":"emp-cta-sub","children":"Join Doormile Wings in building the entrepreneurial ecosystem where women launch, grow, and lead enterprises that create lasting value across logistics."}]}]]}]}]}] -25:null -27:["$","polyline",null,{"points":"0.5 19.5 3 19.5 12.5 10 3 0.5"}] -28:["$","div",null,{"className":"elementor-element elementor-element-b6e14bd e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"b6e14bd","data-element_type":"container","data-e-type":"container","data-settings":"{\"background_background\":\"classic\"}","children":[["$","div",null,{"className":"ws-map","aria-hidden":"true","children":["$","$L26",null,{}]}],["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-90cc867 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"90cc867","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-24c0280 elementor-widget__width-inherit elementor-widget elementor-widget-logico_heading","data-id":"24c0280","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Women Empowerment /"}]}]}],["$","div",null,{"className":"elementor-element elementor-element-2ed47f3 e-con-full e-grid cut-corner-no sticky-container-off e-con e-child","data-id":"2ed47f3","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-36efec7 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"36efec7","data-element_type":"container","data-e-type":"container","children":[["$","$Lf",null,{"duration":0.8,"yOffset":28,"triggerOnce":true,"children":["$","div",null,{"className":"elementor-element elementor-element-778840d elementor-widget elementor-widget-logico_heading","data-id":"778840d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","h3",null,{"className":"logico-title","children":"Women Building The Next Mile"}]}]}]}],["$","div",null,{"className":"elementor-element elementor-element-bbfb67f elementor-widget elementor-widget-image","data-id":"bbfb67f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","$L2d",null,{"src":"/images/bg-map-women.webp","alt":"Women Map","width":626,"height":692,"style":{"maxWidth":"100%","height":"auto"}}]}]}]]}],["$","div",null,{"className":"elementor-element elementor-element-b2c956f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"b2c956f","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"id":"ws-stories","children":[["$","$L2c",null,{"className":"ws__stats","stagger":0.1,"duration":0.6,"yOffset":20,"triggerOnce":true,"children":[["$","div","Women Founders",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L2b",null,{"end":500,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Women Founders"}]]}],["$","div","Cities Active",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L2b",null,{"end":35,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Cities Active"}]]}],["$","div","Enterprises Launched",{"className":"ws__stat","children":[["$","div",null,{"className":"ws__stat-num","children":[["$","$L2b",null,{"end":100,"suffix":"","duration":1.8,"triggerOnce":true}],["$","span",null,{"children":"+"}]]}],["$","div",null,{"className":"ws__stat-label","children":"Enterprises Launched"}]]}]]}],["$","$L2c",null,{"className":"ws__cards","stagger":0.08,"duration":0.6,"yOffset":24,"triggerOnce":true,"children":[["$","div","Venture Building",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","path",null,{"d":"M4 19V5"}],["$","path",null,{"d":"M4 7h12l-2 4 2 4H4"}],["$","path",null,{"d":"M18 19h2"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Venture Building"}],["$","p",null,{"className":"ws__card-desc","children":"End-to-end support for women launching logistics enterprises — from ideation to market entry."}]]}],"$L2e","$L2f","$L30"]}]]}]}]]}]]}]}]]}] -2a:["$","svg",null,{"width":"16","height":"16","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"2.25","strokeLinecap":"round","strokeLinejoin":"round","children":["$","path",null,{"d":"M5 12h14M13 6l6 6-6 6"}]}] -2e:["$","div","Entrepreneurship",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","rect",null,{"x":"3","y":"7","width":"18","height":"13","rx":"2"}],["$","path",null,{"d":"M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Entrepreneurship"}],["$","p",null,{"className":"ws__card-desc","children":"Women building, owning, and scaling sustainable businesses within the logistics ecosystem."}]]}] -2f:["$","div","Founder Networks",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"8","cy":"8","r":"3"}],["$","circle",null,{"cx":"16","cy":"8","r":"3"}],["$","path",null,{"d":"M2.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}],["$","path",null,{"d":"M10.5 20c.7-3.1 2.8-5 5.5-5s4.8 1.9 5.5 5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Founder Networks"}],["$","p",null,{"className":"ws__card-desc","children":"Peer communities and strategic connections that accelerate growth and open new markets."}]]}] -30:["$","div","Enterprise Leadership",{"className":"ws__card","children":[["$","span",null,{"className":"ws__card-icon","aria-hidden":"true","children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"1.8","strokeLinecap":"round","strokeLinejoin":"round","children":[["$","circle",null,{"cx":"12","cy":"9","r":"5"}],["$","path",null,{"d":"M9 13.5 7.5 21 12 18l4.5 3-1.5-7.5"}]]}]}],["$","div",null,{"className":"ws__card-title","children":"Enterprise Leadership"}],["$","p",null,{"className":"ws__card-desc","children":"Strategic decision-making, operational excellence, and vision-driven leadership for women founders."}]]}] diff --git a/.next/server/app/empowerment/page.js b/.next/server/app/empowerment/page.js deleted file mode 100644 index 73d5055..0000000 --- a/.next/server/app/empowerment/page.js +++ /dev/null @@ -1,17 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/empowerment/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0oqdvq1._.js") -R.c("server/chunks/ssr/_0sw0r2k._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/src_07wjkqu._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hb_~4l.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(4776) -module.exports=R.m(4776).exports diff --git a/.next/server/app/empowerment/page.js.map b/.next/server/app/empowerment/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/empowerment/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/empowerment/page.js.nft.json b/.next/server/app/empowerment/page.js.nft.json deleted file mode 100644 index 25a8083..0000000 --- a/.next/server/app/empowerment/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__0oqdvq1._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_0sw0r2k._.js","../../chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hb_~4l.js","../../chunks/ssr/src_07wjkqu._.js","../../chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/empowerment/page/app-paths-manifest.json b/.next/server/app/empowerment/page/app-paths-manifest.json deleted file mode 100644 index 7b8f0fc..0000000 --- a/.next/server/app/empowerment/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/empowerment/page": "app/empowerment/page.js" -} \ No newline at end of file diff --git a/.next/server/app/empowerment/page/build-manifest.json b/.next/server/app/empowerment/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/empowerment/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/empowerment/page/next-font-manifest.json b/.next/server/app/empowerment/page/next-font-manifest.json deleted file mode 100644 index 98869b2..0000000 --- a/.next/server/app/empowerment/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/empowerment/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/empowerment/page/react-loadable-manifest.json b/.next/server/app/empowerment/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/empowerment/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/empowerment/page/server-reference-manifest.json b/.next/server/app/empowerment/page/server-reference-manifest.json deleted file mode 100644 index 8e808ad..0000000 --- a/.next/server/app/empowerment/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/empowerment/page": { - "moduleId": 61215, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/empowerment/page_client-reference-manifest.js b/.next/server/app/empowerment/page_client-reference-manifest.js deleted file mode 100644 index 891a8e1..0000000 --- a/.next/server/app/empowerment/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/empowerment/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/Reveal.tsx ":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/src/animations/Reveal.tsx":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/src/components/sections/IndustryWorldMap.tsx ":{"id":5074,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/src/components/sections/IndustryWorldMap.tsx":{"id":5074,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js ":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vzdvje64yndv.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"2018":{"*":{"id":36002,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js"],"async":false}},"5074":{"*":{"id":22994,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js"],"async":false}},"5500":{"*":{"id":67161,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"2018":{"*":{"id":9386,"name":"*","chunks":[],"async":false}},"5074":{"*":{"id":17381,"name":"*","chunks":[],"async":false}},"5500":{"*":{"id":43489,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/empowerment/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/empowerment/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/0vzdvje64yndv.js"]}}; - diff --git a/.next/server/app/express.html b/.next/server/app/express.html deleted file mode 100644 index a0ec926..0000000 --- a/.next/server/app/express.html +++ /dev/null @@ -1,756 +0,0 @@ -Express – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

Solutions / Express

Doormile Express is on its way

We're building a fast-lane logistics service for time-critical shipments. Check back soon, or explore what Doormile already delivers today.

\ No newline at end of file diff --git a/.next/server/app/express.meta b/.next/server/app/express.meta deleted file mode 100644 index 50a8c51..0000000 --- a/.next/server/app/express.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/express/layout,_N_T_/express/page,_N_T_/express" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/express/__PAGE__", - "/express", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/express.rsc b/.next/server/app/express.rsc deleted file mode 100644 index baa980a..0000000 --- a/.next/server/app/express.rsc +++ /dev/null @@ -1,114 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -12:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","express"],"q":"","i":false,"f":[[["",{"children":["express",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"express","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"express-coming-soon","children":["$","div",null,{"className":"express-coming-soon-inner","children":[["$","span",null,{"className":"express-coming-soon-eyebrow","children":"Solutions / Express"}],["$","h1",null,{"className":"express-coming-soon-heading","children":["Doormile Express is ",["$","span",null,{"className":"express-coming-soon-accent","children":"on its way"}]]}],["$","p",null,{"className":"express-coming-soon-text","children":"We're building a fast-lane logistics service for time-critical shipments. Check back soon, or explore what Doormile already delivers today."}],["$","div",null,{"className":"express-coming-soon-actions","children":["$Lc","$Ld"]}]]}]}]}]}],"$Le"]}],null,"$Lf"]}],{},null,false,null]},null,false,"$@10"]},null,false,null],"$L11",false]],"m":"$undefined","G":["$12",["$L13"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -14:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -16:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -17:"$Sreact.suspense" -1a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","$L14",null,{"href":"/doormile-wings","prefetch":true,"className":"logico-alter-button","children":"Explore Doormile Wings"}] -d:["$","$L14",null,{"href":"/contact","className":"express-coming-soon-link","children":"Get notified when we launch →"}] -15:Tb69, - .express-coming-soon { - --logico-dark-text-color: #ffffff; - --logico-light-text-color: #bebebe; - --logico-accent-color: #C01227; - min-height: calc(100vh - 160px); - display: flex; - align-items: center; - justify-content: center; - padding: clamp(48px, 8vw, 120px) 24px; - background: radial-gradient(120% 120% at 50% 0%, rgba(192, 18, 39, 0.18) 0%, rgba(26, 26, 26, 0.98) 55%, #111111 100%); - } - .express-coming-soon-inner { - max-width: 720px; - text-align: center; - } - .express-coming-soon-eyebrow { - display: inline-block; - font-size: 13px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: var(--logico-accent-color); - margin-bottom: 20px; - } - .express-coming-soon-heading { - font-family: 'Manrope', sans-serif; - font-size: clamp(32px, 5vw, 56px); - line-height: 1.15em; - font-weight: 700; - color: var(--logico-dark-text-color); - margin: 0 0 20px; - } - .express-coming-soon-accent { - color: var(--logico-accent-color); - } - .express-coming-soon-text { - font-size: 16px; - line-height: 1.75em; - color: var(--logico-light-text-color); - margin: 0 auto 36px; - max-width: 520px; - } - .express-coming-soon-actions { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: center; - gap: 24px; - } - .express-coming-soon .logico-alter-button { - color: #ffffff !important; - border-color: rgba(255, 255, 255, 0.45) !important; - background: transparent !important; - } - .express-coming-soon .logico-alter-button:hover { - background: #ffffff !important; - color: #1a1a1a !important; - border-color: #ffffff !important; - } - .express-coming-soon-link { - font-size: 15px; - font-weight: 600; - color: var(--logico-light-text-color); - text-decoration: underline; - text-underline-offset: 4px; - } - .express-coming-soon-link:hover { - color: #ffffff; - } - @media (max-width: 480px) { - .express-coming-soon-actions { - flex-direction: column; - gap: 16px; - } - } - e:["$","style",null,{"suppressHydrationWarning":true,"dangerouslySetInnerHTML":{"__html":"$15"}}] -f:["$","$L16",null,{"children":["$","$17",null,{"name":"Next.MetadataOutlet","children":"$@18"}]}] -19:[] -10:"$W19" -11:["$","$1","h",{"children":[null,["$","$L1a",null,{"children":"$L1b"}],["$","div",null,{"hidden":true,"children":["$","$L1c",null,{"children":["$","$17",null,{"name":"Next.Metadata","children":"$L1d"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -18:null -1d:[["$","title","0",{"children":"Express – Doormile"}],["$","meta","1",{"name":"description","content":"Doormile Express — a fast-lane logistics service for time-critical shipments. Coming soon."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/express"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1e","8",{}]] diff --git a/.next/server/app/express.segments/_full.segment.rsc b/.next/server/app/express.segments/_full.segment.rsc deleted file mode 100644 index baa980a..0000000 --- a/.next/server/app/express.segments/_full.segment.rsc +++ /dev/null @@ -1,114 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -12:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","express"],"q":"","i":false,"f":[[["",{"children":["express",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"express","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"express-coming-soon","children":["$","div",null,{"className":"express-coming-soon-inner","children":[["$","span",null,{"className":"express-coming-soon-eyebrow","children":"Solutions / Express"}],["$","h1",null,{"className":"express-coming-soon-heading","children":["Doormile Express is ",["$","span",null,{"className":"express-coming-soon-accent","children":"on its way"}]]}],["$","p",null,{"className":"express-coming-soon-text","children":"We're building a fast-lane logistics service for time-critical shipments. Check back soon, or explore what Doormile already delivers today."}],["$","div",null,{"className":"express-coming-soon-actions","children":["$Lc","$Ld"]}]]}]}]}]}],"$Le"]}],null,"$Lf"]}],{},null,false,null]},null,false,"$@10"]},null,false,null],"$L11",false]],"m":"$undefined","G":["$12",["$L13"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -14:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -16:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -17:"$Sreact.suspense" -1a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","$L14",null,{"href":"/doormile-wings","prefetch":true,"className":"logico-alter-button","children":"Explore Doormile Wings"}] -d:["$","$L14",null,{"href":"/contact","className":"express-coming-soon-link","children":"Get notified when we launch →"}] -15:Tb69, - .express-coming-soon { - --logico-dark-text-color: #ffffff; - --logico-light-text-color: #bebebe; - --logico-accent-color: #C01227; - min-height: calc(100vh - 160px); - display: flex; - align-items: center; - justify-content: center; - padding: clamp(48px, 8vw, 120px) 24px; - background: radial-gradient(120% 120% at 50% 0%, rgba(192, 18, 39, 0.18) 0%, rgba(26, 26, 26, 0.98) 55%, #111111 100%); - } - .express-coming-soon-inner { - max-width: 720px; - text-align: center; - } - .express-coming-soon-eyebrow { - display: inline-block; - font-size: 13px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: var(--logico-accent-color); - margin-bottom: 20px; - } - .express-coming-soon-heading { - font-family: 'Manrope', sans-serif; - font-size: clamp(32px, 5vw, 56px); - line-height: 1.15em; - font-weight: 700; - color: var(--logico-dark-text-color); - margin: 0 0 20px; - } - .express-coming-soon-accent { - color: var(--logico-accent-color); - } - .express-coming-soon-text { - font-size: 16px; - line-height: 1.75em; - color: var(--logico-light-text-color); - margin: 0 auto 36px; - max-width: 520px; - } - .express-coming-soon-actions { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: center; - gap: 24px; - } - .express-coming-soon .logico-alter-button { - color: #ffffff !important; - border-color: rgba(255, 255, 255, 0.45) !important; - background: transparent !important; - } - .express-coming-soon .logico-alter-button:hover { - background: #ffffff !important; - color: #1a1a1a !important; - border-color: #ffffff !important; - } - .express-coming-soon-link { - font-size: 15px; - font-weight: 600; - color: var(--logico-light-text-color); - text-decoration: underline; - text-underline-offset: 4px; - } - .express-coming-soon-link:hover { - color: #ffffff; - } - @media (max-width: 480px) { - .express-coming-soon-actions { - flex-direction: column; - gap: 16px; - } - } - e:["$","style",null,{"suppressHydrationWarning":true,"dangerouslySetInnerHTML":{"__html":"$15"}}] -f:["$","$L16",null,{"children":["$","$17",null,{"name":"Next.MetadataOutlet","children":"$@18"}]}] -19:[] -10:"$W19" -11:["$","$1","h",{"children":[null,["$","$L1a",null,{"children":"$L1b"}],["$","div",null,{"hidden":true,"children":["$","$L1c",null,{"children":["$","$17",null,{"name":"Next.Metadata","children":"$L1d"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -18:null -1d:[["$","title","0",{"children":"Express – Doormile"}],["$","meta","1",{"name":"description","content":"Doormile Express — a fast-lane logistics service for time-critical shipments. Coming soon."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/express"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1e","8",{}]] diff --git a/.next/server/app/express.segments/_head.segment.rsc b/.next/server/app/express.segments/_head.segment.rsc deleted file mode 100644 index a62bcda..0000000 --- a/.next/server/app/express.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Express – Doormile"}],["$","meta","1",{"name":"description","content":"Doormile Express — a fast-lane logistics service for time-critical shipments. Coming soon."}],["$","meta","2",{"name":"robots","content":"noindex, follow"}],["$","link","3",{"rel":"canonical","href":"https://doormile.com/express"}],["$","link","4",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","5",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","6",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/express.segments/_index.segment.rsc b/.next/server/app/express.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/express.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/express.segments/_tree.segment.rsc b/.next/server/app/express.segments/_tree.segment.rsc deleted file mode 100644 index 81f19c0..0000000 --- a/.next/server/app/express.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"express","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/express.segments/express.segment.rsc b/.next/server/app/express.segments/express.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/express.segments/express.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/express.segments/express/__PAGE__.segment.rsc b/.next/server/app/express.segments/express/__PAGE__.segment.rsc deleted file mode 100644 index ef303fb..0000000 --- a/.next/server/app/express.segments/express/__PAGE__.segment.rsc +++ /dev/null @@ -1,83 +0,0 @@ -1:"$Sreact.fragment" -2:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],""] -5:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -6:"$Sreact.suspense" -3:Tb69, - .express-coming-soon { - --logico-dark-text-color: #ffffff; - --logico-light-text-color: #bebebe; - --logico-accent-color: #C01227; - min-height: calc(100vh - 160px); - display: flex; - align-items: center; - justify-content: center; - padding: clamp(48px, 8vw, 120px) 24px; - background: radial-gradient(120% 120% at 50% 0%, rgba(192, 18, 39, 0.18) 0%, rgba(26, 26, 26, 0.98) 55%, #111111 100%); - } - .express-coming-soon-inner { - max-width: 720px; - text-align: center; - } - .express-coming-soon-eyebrow { - display: inline-block; - font-size: 13px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: var(--logico-accent-color); - margin-bottom: 20px; - } - .express-coming-soon-heading { - font-family: 'Manrope', sans-serif; - font-size: clamp(32px, 5vw, 56px); - line-height: 1.15em; - font-weight: 700; - color: var(--logico-dark-text-color); - margin: 0 0 20px; - } - .express-coming-soon-accent { - color: var(--logico-accent-color); - } - .express-coming-soon-text { - font-size: 16px; - line-height: 1.75em; - color: var(--logico-light-text-color); - margin: 0 auto 36px; - max-width: 520px; - } - .express-coming-soon-actions { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: center; - gap: 24px; - } - .express-coming-soon .logico-alter-button { - color: #ffffff !important; - border-color: rgba(255, 255, 255, 0.45) !important; - background: transparent !important; - } - .express-coming-soon .logico-alter-button:hover { - background: #ffffff !important; - color: #1a1a1a !important; - border-color: #ffffff !important; - } - .express-coming-soon-link { - font-size: 15px; - font-weight: 600; - color: var(--logico-light-text-color); - text-decoration: underline; - text-underline-offset: 4px; - } - .express-coming-soon-link:hover { - color: #ffffff; - } - @media (max-width: 480px) { - .express-coming-soon-actions { - flex-direction: column; - gap: 16px; - } - } - 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"express","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":[["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"express-coming-soon","children":["$","div",null,{"className":"express-coming-soon-inner","children":[["$","span",null,{"className":"express-coming-soon-eyebrow","children":"Solutions / Express"}],["$","h1",null,{"className":"express-coming-soon-heading","children":["Doormile Express is ",["$","span",null,{"className":"express-coming-soon-accent","children":"on its way"}]]}],["$","p",null,{"className":"express-coming-soon-text","children":"We're building a fast-lane logistics service for time-critical shipments. Check back soon, or explore what Doormile already delivers today."}],["$","div",null,{"className":"express-coming-soon-actions","children":[["$","$L2",null,{"href":"/doormile-wings","prefetch":true,"className":"logico-alter-button","children":"Explore Doormile Wings"}],["$","$L2",null,{"href":"/contact","className":"express-coming-soon-link","children":"Get notified when we launch →"}]]}]]}]}]}]}],["$","style",null,{"suppressHydrationWarning":true,"dangerouslySetInnerHTML":{"__html":"$3"}}]]}],null,"$L4"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -4:["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}] -7:null diff --git a/.next/server/app/express/page.js b/.next/server/app/express/page.js deleted file mode 100644 index 37b42b6..0000000 --- a/.next/server/app/express/page.js +++ /dev/null @@ -1,15 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/express/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0dzpf04._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12we091.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(31185) -module.exports=R.m(31185).exports diff --git a/.next/server/app/express/page.js.map b/.next/server/app/express/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/express/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/express/page.js.nft.json b/.next/server/app/express/page.js.nft.json deleted file mode 100644 index d5e93e2..0000000 --- a/.next/server/app/express/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0dzpf04._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12we091.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/express/page/app-paths-manifest.json b/.next/server/app/express/page/app-paths-manifest.json deleted file mode 100644 index e66d6e0..0000000 --- a/.next/server/app/express/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/express/page": "app/express/page.js" -} \ No newline at end of file diff --git a/.next/server/app/express/page/build-manifest.json b/.next/server/app/express/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/express/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/express/page/next-font-manifest.json b/.next/server/app/express/page/next-font-manifest.json deleted file mode 100644 index 8c1efd1..0000000 --- a/.next/server/app/express/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/express/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/express/page/react-loadable-manifest.json b/.next/server/app/express/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/express/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/express/page/server-reference-manifest.json b/.next/server/app/express/page/server-reference-manifest.json deleted file mode 100644 index dd1e922..0000000 --- a/.next/server/app/express/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/express/page": { - "moduleId": 88309, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/express/page_client-reference-manifest.js b/.next/server/app/express/page_client-reference-manifest.js deleted file mode 100644 index 52506dd..0000000 --- a/.next/server/app/express/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/express/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/express/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/express/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"]}}; - diff --git a/.next/server/app/favicon.ico.body b/.next/server/app/favicon.ico.body deleted file mode 100644 index 91c79c6..0000000 Binary files a/.next/server/app/favicon.ico.body and /dev/null differ diff --git a/.next/server/app/favicon.ico.meta b/.next/server/app/favicon.ico.meta deleted file mode 100644 index b5516f2..0000000 --- a/.next/server/app/favicon.ico.meta +++ /dev/null @@ -1 +0,0 @@ -{"status":200,"headers":{"cache-control":"public, max-age=0, must-revalidate","content-type":"image/x-icon","x-next-cache-tags":"_N_T_/layout,_N_T_/favicon.ico/layout,_N_T_/favicon.ico/route,_N_T_/favicon.ico"}} \ No newline at end of file diff --git a/.next/server/app/favicon.ico/route.js b/.next/server/app/favicon.ico/route.js deleted file mode 100644 index cbd22b1..0000000 --- a/.next/server/app/favicon.ico/route.js +++ /dev/null @@ -1,6 +0,0 @@ -var R=require("../../chunks/[turbopack]_runtime.js")("server/app/favicon.ico/route.js") -R.c("server/chunks/[root-of-the-server]__009pdeo._.js") -R.c("server/chunks/[root-of-the-server]__0j8-xkl._.js") -R.c("server/chunks/_next-internal_server_app_favicon_ico_route_actions_095lj93.js") -R.m(88165) -module.exports=R.m(88165).exports diff --git a/.next/server/app/favicon.ico/route.js.map b/.next/server/app/favicon.ico/route.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/favicon.ico/route.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/favicon.ico/route.js.nft.json b/.next/server/app/favicon.ico/route.js.nft.json deleted file mode 100644 index 906c52f..0000000 --- a/.next/server/app/favicon.ico/route.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/[root-of-the-server]__009pdeo._.js","../../chunks/[root-of-the-server]__0j8-xkl._.js","../../chunks/[turbopack]_runtime.js","../../chunks/_next-internal_server_app_favicon_ico_route_actions_095lj93.js"]} \ No newline at end of file diff --git a/.next/server/app/favicon.ico/route/app-paths-manifest.json b/.next/server/app/favicon.ico/route/app-paths-manifest.json deleted file mode 100644 index 789e89c..0000000 --- a/.next/server/app/favicon.ico/route/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/favicon.ico/route": "app/favicon.ico/route.js" -} \ No newline at end of file diff --git a/.next/server/app/favicon.ico/route/build-manifest.json b/.next/server/app/favicon.ico/route/build-manifest.json deleted file mode 100644 index 973d893..0000000 --- a/.next/server/app/favicon.ico/route/build-manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [], - "lowPriorityFiles": [], - "rootMainFiles": [], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/how-it-works.html b/.next/server/app/how-it-works.html deleted file mode 100644 index df73f60..0000000 --- a/.next/server/app/how-it-works.html +++ /dev/null @@ -1,891 +0,0 @@ -How It Works – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

\ No newline at end of file diff --git a/.next/server/app/how-it-works.meta b/.next/server/app/how-it-works.meta deleted file mode 100644 index ccc78ad..0000000 --- a/.next/server/app/how-it-works.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/how-it-works/layout,_N_T_/how-it-works/page,_N_T_/how-it-works" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/how-it-works/__PAGE__", - "/how-it-works", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/how-it-works.rsc b/.next/server/app/how-it-works.rsc deleted file mode 100644 index e30aaee..0000000 --- a/.next/server/app/how-it-works.rsc +++ /dev/null @@ -1,33 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[74528,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -d:I[16948,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -e:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -f:"$Sreact.suspense" -12:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -16:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","how-it-works"],"q":"","i":false,"f":[[["",{"children":["how-it-works",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"how-it-works","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/133p65rq~827a.js","async":true,"nonce":"$undefined"}]],["$","$Le",null,{"children":["$","$f",null,{"name":"Next.MetadataOutlet","children":"$@10"}]}]]}],{},null,false,null]},null,false,"$@11"]},null,false,null],["$","$1","h",{"children":[null,["$","$L12",null,{"children":"$L13"}],["$","div",null,{"hidden":true,"children":["$","$L14",null,{"children":["$","$f",null,{"name":"Next.Metadata","children":"$L15"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$16",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -17:[] -11:"$W17" -13:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -18:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -10:null -15:[["$","title","0",{"children":"How It Works – Doormile"}],["$","meta","1",{"name":"description","content":"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L18","7",{}]] diff --git a/.next/server/app/how-it-works.segments/_full.segment.rsc b/.next/server/app/how-it-works.segments/_full.segment.rsc deleted file mode 100644 index e30aaee..0000000 --- a/.next/server/app/how-it-works.segments/_full.segment.rsc +++ /dev/null @@ -1,33 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[74528,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -d:I[16948,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -e:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -f:"$Sreact.suspense" -12:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -14:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -16:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","how-it-works"],"q":"","i":false,"f":[[["",{"children":["how-it-works",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"how-it-works","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/133p65rq~827a.js","async":true,"nonce":"$undefined"}]],["$","$Le",null,{"children":["$","$f",null,{"name":"Next.MetadataOutlet","children":"$@10"}]}]]}],{},null,false,null]},null,false,"$@11"]},null,false,null],["$","$1","h",{"children":[null,["$","$L12",null,{"children":"$L13"}],["$","div",null,{"hidden":true,"children":["$","$L14",null,{"children":["$","$f",null,{"name":"Next.Metadata","children":"$L15"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$16",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -17:[] -11:"$W17" -13:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -18:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -10:null -15:[["$","title","0",{"children":"How It Works – Doormile"}],["$","meta","1",{"name":"description","content":"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L18","7",{}]] diff --git a/.next/server/app/how-it-works.segments/_head.segment.rsc b/.next/server/app/how-it-works.segments/_head.segment.rsc deleted file mode 100644 index 974c9fd..0000000 --- a/.next/server/app/how-it-works.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"How It Works – Doormile"}],["$","meta","1",{"name":"description","content":"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/how-it-works.segments/_index.segment.rsc b/.next/server/app/how-it-works.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/how-it-works.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/how-it-works.segments/_tree.segment.rsc b/.next/server/app/how-it-works.segments/_tree.segment.rsc deleted file mode 100644 index 8a1e116..0000000 --- a/.next/server/app/how-it-works.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"how-it-works","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/how-it-works.segments/how-it-works.segment.rsc b/.next/server/app/how-it-works.segments/how-it-works.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/how-it-works.segments/how-it-works.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/how-it-works.segments/how-it-works/__PAGE__.segment.rsc b/.next/server/app/how-it-works.segments/how-it-works/__PAGE__.segment.rsc deleted file mode 100644 index 4c3c7fa..0000000 --- a/.next/server/app/how-it-works.segments/how-it-works/__PAGE__.segment.rsc +++ /dev/null @@ -1,7 +0,0 @@ -1:"$Sreact.fragment" -2:I[74528,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -3:I[16948,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"default"] -4:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -5:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"how-it-works","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L2",null,{}],["$","$L3",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/133p65rq~827a.js","async":true}]],["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -6:null diff --git a/.next/server/app/how-it-works/page.js b/.next/server/app/how-it-works/page.js deleted file mode 100644 index 2fbb149..0000000 --- a/.next/server/app/how-it-works/page.js +++ /dev/null @@ -1,15 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/how-it-works/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__07qac4.._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uwehq6.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(86688) -module.exports=R.m(86688).exports diff --git a/.next/server/app/how-it-works/page.js.map b/.next/server/app/how-it-works/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/how-it-works/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page.js.nft.json b/.next/server/app/how-it-works/page.js.nft.json deleted file mode 100644 index 186168d..0000000 --- a/.next/server/app/how-it-works/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07qac4.._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_0zmlo4s._.js","../../chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uwehq6.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page/app-paths-manifest.json b/.next/server/app/how-it-works/page/app-paths-manifest.json deleted file mode 100644 index c2ef9cb..0000000 --- a/.next/server/app/how-it-works/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/how-it-works/page": "app/how-it-works/page.js" -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page/build-manifest.json b/.next/server/app/how-it-works/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/how-it-works/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page/next-font-manifest.json b/.next/server/app/how-it-works/page/next-font-manifest.json deleted file mode 100644 index 5b23a71..0000000 --- a/.next/server/app/how-it-works/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/how-it-works/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page/react-loadable-manifest.json b/.next/server/app/how-it-works/page/react-loadable-manifest.json deleted file mode 100644 index 174bf50..0000000 --- a/.next/server/app/how-it-works/page/react-loadable-manifest.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "88493": { - "id": 88493, - "files": [ - "static/chunks/0b561qo91.1jg.js", - "static/chunks/04vqjcwjasc-3.js", - "static/chunks/0_54tjq7o59~u.js", - "static/chunks/0o27ue53hohz_.js", - "static/chunks/0zozt9p9-3srt.css" - ] - } -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page/server-reference-manifest.json b/.next/server/app/how-it-works/page/server-reference-manifest.json deleted file mode 100644 index 63cd7ab..0000000 --- a/.next/server/app/how-it-works/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/how-it-works/page": { - "moduleId": 1090, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/how-it-works/page_client-reference-manifest.js b/.next/server/app/how-it-works/page_client-reference-manifest.js deleted file mode 100644 index aac5b5f..0000000 --- a/.next/server/app/how-it-works/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/how-it-works/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/HowItWorksHero.tsx ":{"id":74528,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"async":false},"[project]/src/components/sections/HowItWorksHero.tsx":{"id":74528,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"async":false},"[project]/src/modules/how-it-works-3d/Experience3DLoader.tsx ":{"id":16948,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"async":false},"[project]/src/modules/how-it-works-3d/Experience3DLoader.tsx":{"id":16948,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/133p65rq~827a.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"74528":{"*":{"id":690,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_0zmlo4s._.js"],"async":false}},"16948":{"*":{"id":27800,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_0zmlo4s._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"74528":{"*":{"id":96258,"name":"*","chunks":[],"async":false}},"16948":{"*":{"id":66059,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/how-it-works/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/how-it-works/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/133p65rq~827a.js"]}}; - diff --git a/.next/server/app/icon.png.body b/.next/server/app/icon.png.body deleted file mode 100644 index 91c79c6..0000000 Binary files a/.next/server/app/icon.png.body and /dev/null differ diff --git a/.next/server/app/icon.png.meta b/.next/server/app/icon.png.meta deleted file mode 100644 index 6287ebb..0000000 --- a/.next/server/app/icon.png.meta +++ /dev/null @@ -1 +0,0 @@ -{"status":200,"headers":{"cache-control":"public, max-age=0, must-revalidate","content-type":"image/png","x-next-cache-tags":"_N_T_/layout,_N_T_/icon.png/layout,_N_T_/icon.png/route,_N_T_/icon.png"}} \ No newline at end of file diff --git a/.next/server/app/icon.png/route.js b/.next/server/app/icon.png/route.js deleted file mode 100644 index 75d9f2d..0000000 --- a/.next/server/app/icon.png/route.js +++ /dev/null @@ -1,6 +0,0 @@ -var R=require("../../chunks/[turbopack]_runtime.js")("server/app/icon.png/route.js") -R.c("server/chunks/[root-of-the-server]__0nwnmaq._.js") -R.c("server/chunks/[root-of-the-server]__0j8-xkl._.js") -R.c("server/chunks/_next-internal_server_app_icon_png_route_actions_12.gv.r.js") -R.m(72755) -module.exports=R.m(72755).exports diff --git a/.next/server/app/icon.png/route.js.map b/.next/server/app/icon.png/route.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/icon.png/route.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/icon.png/route.js.nft.json b/.next/server/app/icon.png/route.js.nft.json deleted file mode 100644 index e9f59a5..0000000 --- a/.next/server/app/icon.png/route.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/[root-of-the-server]__0j8-xkl._.js","../../chunks/[root-of-the-server]__0nwnmaq._.js","../../chunks/[turbopack]_runtime.js","../../chunks/_next-internal_server_app_icon_png_route_actions_12.gv.r.js"]} \ No newline at end of file diff --git a/.next/server/app/icon.png/route/app-paths-manifest.json b/.next/server/app/icon.png/route/app-paths-manifest.json deleted file mode 100644 index 425ba3b..0000000 --- a/.next/server/app/icon.png/route/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/icon.png/route": "app/icon.png/route.js" -} \ No newline at end of file diff --git a/.next/server/app/icon.png/route/build-manifest.json b/.next/server/app/icon.png/route/build-manifest.json deleted file mode 100644 index 973d893..0000000 --- a/.next/server/app/icon.png/route/build-manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [], - "lowPriorityFiles": [], - "rootMainFiles": [], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/index.html b/.next/server/app/index.html deleted file mode 100644 index 7936935..0000000 --- a/.next/server/app/index.html +++ /dev/null @@ -1,1910 +0,0 @@ -Doormile — Delivering Trust. Beyond Boundaries

Doormile

0.0%
On-Time Delivery
0x Faster
Faster Response
0%
Cost Reduction
/ The Problem /

Fragmented Logistics is Broken

73%

of delays happen at handoffs

3x

higher risk of missed SLAs

2.5x

more time spent on coordination

28%

increase in operational costs

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

30% More Cost Efficient

Connected Logistics
/ Connected Logistics /

Smart logistics solutions we deliver for modern supply chains

Real-Time Visibility

See every shipment, every vehicle, every handoff—live. No blind spots.

Dynamic Route Adjustment

AI continuously optimizes routes based on traffic, weather, and real-world conditions.

Proactive Delay Prevention

Detect SLA risks hours before they become problems. Act, don't react.

Execution Intelligence

Learn from every delivery. Get smarter with every mile traveled.

/ Doormile Approach /


The Doormile Way

Smarter, Faster, Connected Logistics

We connect first mile and last mile into one seamless system, reducing delays and improving efficiency. With real-time tracking and digital workflows,
every delivery is faster, reliable, and fully transparent.

Seamless logistics powered by real-time tracking, digital processes, and reliable delivery execution.

End-to-End Protection

End-to-end visibility ensures every shipment stays secure and on schedule.

Proactive delay prevention

Real-time monitoring helps prevent delays before they impact deliveries.

Single owner, single promise

One unified system manages the entire delivery process seamlessly.

Dynamic AI-driven adjustments

AI-powered routing adapts instantly to improve speed and efficiency.

EV Logistics

Cleaner miles, lower costs

/ EV-Native Design /

BUILT FOR ELECTRIC. NOT ADAPTED.

DoorMile electric delivery van
100%ELECTRIC FLEET
-40%COST / MILE
Battery-Aware Routing

Battery level, health, and degradation are first-class inputs to route optimization — not afterthoughts.

Charging Integration

Seamlessly integrate charging stops without compromising delivery windows or SLA commitments.

Energy-Optimized Paths

Factor in elevation, speed limits, payload weight, and live weather for maximum range efficiency.

Predictable Operations

EVs become predictable assets, not operational risks. Full visibility from depot to doorstep.

SLA Compliance0.0%
Distance Saved0%
Fewer Vehicles0%
Dispatch Latency0ms

Smart solutions built exclusively for your industry

\ No newline at end of file diff --git a/.next/server/app/index.meta b/.next/server/app/index.meta deleted file mode 100644 index 897af29..0000000 --- a/.next/server/app/index.meta +++ /dev/null @@ -1,14 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/page,_N_T_/,_N_T_/index" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/__PAGE__", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/index.rsc b/.next/server/app/index.rsc deleted file mode 100644 index 5916e0a..0000000 --- a/.next/server/app/index.rsc +++ /dev/null @@ -1,166 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[97677,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -d:I[58140,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -e:I[36854,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"home","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"61","className":"elementor elementor-61","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],["$","div",null,{"className":"elementor-element elementor-element-b62c0b3 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"b62c0b3","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-592e9e8 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"592e9e8","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-ab41b28 elementor-widget elementor-widget-logico_marquee","data-id":"ab41b28","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_marquee.default","children":"$Lf"}]}]}],"$L10","$L11","$L12","$L13"]}]}]}]}],["$L14","$L15","$L16"],"$L17"]}],{},null,false,null]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1d:I[32693,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -1e:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -1f:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -25:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -26:"$Sreact.suspense" -28:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -2a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -f:["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-ticker-wrapper","style":{"overflow":"hidden","position":"relative","width":"100%"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @keyframes cssMarquee {\n 0% { transform: translate3d(0, 0, 0); }\n 100% { transform: translate3d(-33.33%, 0, 0); }\n }\n .marquee-container-css {\n display: flex;\n width: max-content;\n animation: cssMarquee 25s linear infinite;\n }\n .marquee-container-css:hover {\n animation-play-state: paused;\n }\n "}}],["$","div",null,{"className":"marquee-container-css","children":[["$","div","0",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","1",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","2",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","3",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","4",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","5",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","6",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","7",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],"$L1b"]}],"$L1c"]}]]}]}] -10:["$","$L1d",null,{}] -11:["$","$L1e",null,{}] -12:["$","$L1f",null,{}] -20:T95e, - @media (max-width: 768px) { - .elementor-element.elementor-element-3b4a7cc { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0px !important; - padding-right: 0px !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-3b4a7cc > .e-con-inner { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .elementor-element.elementor-element-d602f7f { - --padding-left: 20px !important; - --padding-right: 20px !important; - padding-left: 20px !important; - padding-right: 20px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-f64bd88, - .elementor-element.elementor-element-5ed2dbb, - .elementor-element.elementor-element-6829276 { - --padding-left: 0px !important; - --padding-right: 0px !important; - --margin-left: 0px !important; - --margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6829276 { - --e-con-grid-template-columns: minmax(0, 1fr) !important; - --grid-justify-content: stretch !important; - --justify-items: stretch !important; - grid-template-columns: minmax(0, 1fr) !important; - justify-content: stretch !important; - justify-items: stretch !important; - min-width: 0 !important; - } - - .industry-solutions-grid, - .industry-card-link { - width: 100% !important; - max-width: 100% !important; - min-width: 0 !important; - } - - .industry-solutions-grid { - margin-left: 0 !important; - margin-right: 0 !important; - } - } - 13:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$20"}}],["$","div",null,{"className":"elementor-element elementor-element-3b4a7cc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"3b4a7cc","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-d602f7f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d602f7f","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-f64bd88 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f64bd88","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-5ed2dbb e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5ed2dbb","data-element_type":"container","data-e-type":"container","children":["$L21","$L22"]}],"$L23"]}],"$L24"]}]}]}]] -14:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -15:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}] -16:["$","script","script-1",{"src":"/_next/static/chunks/0nunuemu9ietr.js","async":true,"nonce":"$undefined"}] -17:["$","$L25",null,{"children":["$","$26",null,{"name":"Next.MetadataOutlet","children":"$@27"}]}] -18:["$","$1","h",{"children":[null,["$","$L28",null,{"children":"$L29"}],["$","div",null,{"hidden":true,"children":["$","$L2a",null,{"children":["$","$26",null,{"name":"Next.Metadata","children":"$L2b"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1a:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -2d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"ScrollReveal"] -2e:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],""] -2f:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"Image"] -1b:["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}] -1c:["$","div","8",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -2c:T65e, - /* Minimal section label — matches the "/ Doormile Approach /" pattern */ - .industry-section-label { - width: 100%; - } - .industry-section-label > .elementor-widget-container { - max-width: 100%; - margin: 12px 0 50px 0; - padding: 0 0 14px 0; - border-style: solid; - border-width: 0 0 1px 0; - border-color: rgba(17, 17, 17, 0.15); - } - .industry-section-label .logico-title { - font-size: 14px; - font-weight: 500; - line-height: 2.1429em; - letter-spacing: 2px; - text-transform: uppercase; - color: #111111; - } - @media (max-width: 1024px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 36px; - padding-bottom: 12px; - } - } - @media (max-width: 767px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 28px; - padding-bottom: 10px; - } - .industry-section-label .logico-title { - font-size: 12px; - letter-spacing: 1.5px; - } - } - 21:["$","div",null,{"className":"elementor-element elementor-element-c8162c4 elementor-widget elementor-widget-logico_heading industry-section-label","data-id":"c8162c4","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2c"}}],["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Industry Solutions /"}]}]]}] -22:["$","div",null,{"className":"elementor-element elementor-element-1487241 elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"1487241","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","style":{"margin":"30px 0 0 0"},"children":["$","h2",null,{"className":"logico-title","style":{"fontSize":"clamp(28px, 3.5vw, 48px)","lineHeight":"1.1","fontWeight":800,"textTransform":"uppercase","maxWidth":"900px"},"children":["$","$L2d",null,{"delay":0.05,"duration":0.8,"yOffset":25,"children":["Smart solutions built exclusively for your ",["$","span",null,{"style":{"color":"#c01227"},"children":"industry"}]]}]}]}]}] -23:["$","div",null,{"className":"elementor-element elementor-element-4af73cb e-con-full elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"4af73cb","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-46f2f7d elementor-widget__width-initial elementor-widget elementor-widget-logico_button","data-id":"46f2f7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container"}]}]}] -24:["$","div",null,{"className":"elementor-element elementor-element-6829276 e-grid e-con-full cut-corner-no sticky-container-off e-con e-child","data-id":"6829276","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"industry-solutions-grid","children":[["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-1.webp","alt":"FMCG Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"FMCG"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High volume, tight margins, zero tolerance for stockouts."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Unpredictable demand spikes"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Fresh product expiry constraints"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-stop route complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"AI-driven demand-responsive routing"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Freshness-aware delivery prioritization"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Dynamic batch optimization"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"FMCG"}]]}]]}]]}],["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-2.webp","alt":"Pharma Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Pharmaceutical"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"Temperature-sensitive, compliance-critical, life-saving."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Cold chain integrity requirements"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Regulatory compliance tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Critical delivery time windows"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Real-time temperature monitoring"}],"$L30","$L31"]}]]}]]}],"$L32"]}]]}],"$L33"]}]}] -30:["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Chain-of-custody documentation"}] -31:["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Priority override for critical shipments"}] -32:["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Pharmaceutical"}]]}] -33:["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-3.webp","alt":"Enterprise Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Enterprise & B2B"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High-value shipments with complex delivery requirements."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Appointment scheduling coordination"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"White-glove delivery standards"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-location routing complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Automated appointment optimization"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Service level guarantee tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Enterprise integration APIs"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Enterprise & B2B"}]]}]]}]]}] -29:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -34:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -27:null -2b:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile helps logistics companies track every mile with MileTruth™ AI. Real-time SLA protection and connected miles visibility."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L34","7",{}]] diff --git a/.next/server/app/index.segments/__PAGE__.segment.rsc b/.next/server/app/index.segments/__PAGE__.segment.rsc deleted file mode 100644 index fa2f45e..0000000 --- a/.next/server/app/index.segments/__PAGE__.segment.rsc +++ /dev/null @@ -1,142 +0,0 @@ -1:"$Sreact.fragment" -2:I[97677,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -3:I[58140,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -4:I[36854,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -12:I[32693,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -13:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -14:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -1a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -1b:"$Sreact.suspense" -1e:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"ScrollReveal"] -1f:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],""] -20:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"Image"] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"home","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"61","className":"elementor elementor-61","children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{}],["$","div",null,{"className":"elementor-element elementor-element-b62c0b3 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"b62c0b3","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-592e9e8 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"592e9e8","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-ab41b28 elementor-widget elementor-widget-logico_marquee","data-id":"ab41b28","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_marquee.default","children":["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-ticker-wrapper","style":{"overflow":"hidden","position":"relative","width":"100%"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @keyframes cssMarquee {\n 0% { transform: translate3d(0, 0, 0); }\n 100% { transform: translate3d(-33.33%, 0, 0); }\n }\n .marquee-container-css {\n display: flex;\n width: max-content;\n animation: cssMarquee 25s linear infinite;\n }\n .marquee-container-css:hover {\n animation-play-state: paused;\n }\n "}}],["$","div",null,{"className":"marquee-container-css","children":[["$","div","0",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","1",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","2",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","3",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","4",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":"$L5"}]]}],"$L6","$L7","$L8","$L9"]}]]}]}]}]}]}],"$La","$Lb","$Lc","$Ld"]}]}]}]}],["$Le","$Lf","$L10"],"$L11"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -5:["$","i",null,{"className":"fontello icon-half-logo"}] -6:["$","div","5",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -7:["$","div","6",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -8:["$","div","7",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -9:["$","div","8",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -a:["$","$L12",null,{}] -b:["$","$L13",null,{}] -c:["$","$L14",null,{}] -15:T95e, - @media (max-width: 768px) { - .elementor-element.elementor-element-3b4a7cc { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0px !important; - padding-right: 0px !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-3b4a7cc > .e-con-inner { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .elementor-element.elementor-element-d602f7f { - --padding-left: 20px !important; - --padding-right: 20px !important; - padding-left: 20px !important; - padding-right: 20px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-f64bd88, - .elementor-element.elementor-element-5ed2dbb, - .elementor-element.elementor-element-6829276 { - --padding-left: 0px !important; - --padding-right: 0px !important; - --margin-left: 0px !important; - --margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6829276 { - --e-con-grid-template-columns: minmax(0, 1fr) !important; - --grid-justify-content: stretch !important; - --justify-items: stretch !important; - grid-template-columns: minmax(0, 1fr) !important; - justify-content: stretch !important; - justify-items: stretch !important; - min-width: 0 !important; - } - - .industry-solutions-grid, - .industry-card-link { - width: 100% !important; - max-width: 100% !important; - min-width: 0 !important; - } - - .industry-solutions-grid { - margin-left: 0 !important; - margin-right: 0 !important; - } - } - d:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$15"}}],["$","div",null,{"className":"elementor-element elementor-element-3b4a7cc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"3b4a7cc","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-d602f7f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d602f7f","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-f64bd88 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f64bd88","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-5ed2dbb e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5ed2dbb","data-element_type":"container","data-e-type":"container","children":["$L16","$L17"]}],"$L18"]}],"$L19"]}]}]}]] -e:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next"}] -f:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true}] -10:["$","script","script-1",{"src":"/_next/static/chunks/0nunuemu9ietr.js","async":true}] -11:["$","$L1a",null,{"children":["$","$1b",null,{"name":"Next.MetadataOutlet","children":"$@1c"}]}] -1d:T65e, - /* Minimal section label — matches the "/ Doormile Approach /" pattern */ - .industry-section-label { - width: 100%; - } - .industry-section-label > .elementor-widget-container { - max-width: 100%; - margin: 12px 0 50px 0; - padding: 0 0 14px 0; - border-style: solid; - border-width: 0 0 1px 0; - border-color: rgba(17, 17, 17, 0.15); - } - .industry-section-label .logico-title { - font-size: 14px; - font-weight: 500; - line-height: 2.1429em; - letter-spacing: 2px; - text-transform: uppercase; - color: #111111; - } - @media (max-width: 1024px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 36px; - padding-bottom: 12px; - } - } - @media (max-width: 767px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 28px; - padding-bottom: 10px; - } - .industry-section-label .logico-title { - font-size: 12px; - letter-spacing: 1.5px; - } - } - 16:["$","div",null,{"className":"elementor-element elementor-element-c8162c4 elementor-widget elementor-widget-logico_heading industry-section-label","data-id":"c8162c4","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$1d"}}],["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Industry Solutions /"}]}]]}] -17:["$","div",null,{"className":"elementor-element elementor-element-1487241 elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"1487241","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","style":{"margin":"30px 0 0 0"},"children":["$","h2",null,{"className":"logico-title","style":{"fontSize":"clamp(28px, 3.5vw, 48px)","lineHeight":"1.1","fontWeight":800,"textTransform":"uppercase","maxWidth":"900px"},"children":["$","$L1e",null,{"delay":0.05,"duration":0.8,"yOffset":25,"children":["Smart solutions built exclusively for your ",["$","span",null,{"style":{"color":"#c01227"},"children":"industry"}]]}]}]}]}] -18:["$","div",null,{"className":"elementor-element elementor-element-4af73cb e-con-full elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"4af73cb","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-46f2f7d elementor-widget__width-initial elementor-widget elementor-widget-logico_button","data-id":"46f2f7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container"}]}]}] -19:["$","div",null,{"className":"elementor-element elementor-element-6829276 e-grid e-con-full cut-corner-no sticky-container-off e-con e-child","data-id":"6829276","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"industry-solutions-grid","children":[["$","$L1f",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L20",null,{"src":"/images/tab-pic-1.webp","alt":"FMCG Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"FMCG"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High volume, tight margins, zero tolerance for stockouts."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Unpredictable demand spikes"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Fresh product expiry constraints"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-stop route complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"AI-driven demand-responsive routing"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Freshness-aware delivery prioritization"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Dynamic batch optimization"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"FMCG"}]]}]]}]]}],["$","$L1f",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L20",null,{"src":"/images/tab-pic-2.webp","alt":"Pharma Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Pharmaceutical"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"Temperature-sensitive, compliance-critical, life-saving."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Cold chain integrity requirements"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Regulatory compliance tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Critical delivery time windows"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Real-time temperature monitoring"}],"$L21","$L22"]}]]}]]}],"$L23"]}]]}],"$L24"]}]}] -1c:null -21:["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Chain-of-custody documentation"}] -22:["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Priority override for critical shipments"}] -23:["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Pharmaceutical"}]]}] -24:["$","$L1f",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L20",null,{"src":"/images/tab-pic-3.webp","alt":"Enterprise Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Enterprise & B2B"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High-value shipments with complex delivery requirements."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Appointment scheduling coordination"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"White-glove delivery standards"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-location routing complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Automated appointment optimization"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Service level guarantee tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Enterprise integration APIs"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Enterprise & B2B"}]]}]]}]]}] diff --git a/.next/server/app/index.segments/_full.segment.rsc b/.next/server/app/index.segments/_full.segment.rsc deleted file mode 100644 index 5916e0a..0000000 --- a/.next/server/app/index.segments/_full.segment.rsc +++ /dev/null @@ -1,166 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[97677,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -d:I[58140,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -e:I[36854,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"home","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"61","className":"elementor elementor-61","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],["$","div",null,{"className":"elementor-element elementor-element-b62c0b3 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"b62c0b3","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-592e9e8 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"592e9e8","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-ab41b28 elementor-widget elementor-widget-logico_marquee","data-id":"ab41b28","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_marquee.default","children":"$Lf"}]}]}],"$L10","$L11","$L12","$L13"]}]}]}]}],["$L14","$L15","$L16"],"$L17"]}],{},null,false,null]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1d:I[32693,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -1e:I[24911,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -1f:I[14224,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"default"] -25:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -26:"$Sreact.suspense" -28:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -2a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -f:["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-ticker-wrapper","style":{"overflow":"hidden","position":"relative","width":"100%"},"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"\n @keyframes cssMarquee {\n 0% { transform: translate3d(0, 0, 0); }\n 100% { transform: translate3d(-33.33%, 0, 0); }\n }\n .marquee-container-css {\n display: flex;\n width: max-content;\n animation: cssMarquee 25s linear infinite;\n }\n .marquee-container-css:hover {\n animation-play-state: paused;\n }\n "}}],["$","div",null,{"className":"marquee-container-css","children":[["$","div","0",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","1",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","2",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","3",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","4",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","5",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","6",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}],["$","div","7",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],"$L1b"]}],"$L1c"]}]]}]}] -10:["$","$L1d",null,{}] -11:["$","$L1e",null,{}] -12:["$","$L1f",null,{}] -20:T95e, - @media (max-width: 768px) { - .elementor-element.elementor-element-3b4a7cc { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0px !important; - padding-right: 0px !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-3b4a7cc > .e-con-inner { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .elementor-element.elementor-element-d602f7f { - --padding-left: 20px !important; - --padding-right: 20px !important; - padding-left: 20px !important; - padding-right: 20px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-f64bd88, - .elementor-element.elementor-element-5ed2dbb, - .elementor-element.elementor-element-6829276 { - --padding-left: 0px !important; - --padding-right: 0px !important; - --margin-left: 0px !important; - --margin-right: 0px !important; - width: 100% !important; - max-width: 100% !important; - margin-left: 0 !important; - margin-right: 0 !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6829276 { - --e-con-grid-template-columns: minmax(0, 1fr) !important; - --grid-justify-content: stretch !important; - --justify-items: stretch !important; - grid-template-columns: minmax(0, 1fr) !important; - justify-content: stretch !important; - justify-items: stretch !important; - min-width: 0 !important; - } - - .industry-solutions-grid, - .industry-card-link { - width: 100% !important; - max-width: 100% !important; - min-width: 0 !important; - } - - .industry-solutions-grid { - margin-left: 0 !important; - margin-right: 0 !important; - } - } - 13:[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$20"}}],["$","div",null,{"className":"elementor-element elementor-element-3b4a7cc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"3b4a7cc","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"e-con-inner","children":["$","div",null,{"className":"elementor-element elementor-element-d602f7f e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d602f7f","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-f64bd88 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f64bd88","data-element_type":"container","data-e-type":"container","children":[["$","div",null,{"className":"elementor-element elementor-element-5ed2dbb e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5ed2dbb","data-element_type":"container","data-e-type":"container","children":["$L21","$L22"]}],"$L23"]}],"$L24"]}]}]}]] -14:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0v290txaarww5.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -15:["$","script","script-0",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}] -16:["$","script","script-1",{"src":"/_next/static/chunks/0nunuemu9ietr.js","async":true,"nonce":"$undefined"}] -17:["$","$L25",null,{"children":["$","$26",null,{"name":"Next.MetadataOutlet","children":"$@27"}]}] -18:["$","$1","h",{"children":[null,["$","$L28",null,{"children":"$L29"}],["$","div",null,{"hidden":true,"children":["$","$L2a",null,{"children":["$","$26",null,{"name":"Next.Metadata","children":"$L2b"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -1a:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -2d:I[2018,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"ScrollReveal"] -2e:I[22016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],""] -2f:I[5500,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"Image"] -1b:["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}] -1c:["$","div","8",{"className":"ticker","style":{"display":"inline-flex","alignItems":"center","whiteSpace":"nowrap","paddingRight":"50px"},"children":[["$","span",null,{"className":"ticker-text","children":["$","p",null,{"style":{"margin":0,"display":"inline"},"children":"30% More Cost Efficient"}]}],["$","span",null,{"className":"separator","style":{"marginLeft":"25px","display":"inline-flex","alignItems":"center"},"children":["$","i",null,{"className":"fontello icon-half-logo"}]}]]}] -2c:T65e, - /* Minimal section label — matches the "/ Doormile Approach /" pattern */ - .industry-section-label { - width: 100%; - } - .industry-section-label > .elementor-widget-container { - max-width: 100%; - margin: 12px 0 50px 0; - padding: 0 0 14px 0; - border-style: solid; - border-width: 0 0 1px 0; - border-color: rgba(17, 17, 17, 0.15); - } - .industry-section-label .logico-title { - font-size: 14px; - font-weight: 500; - line-height: 2.1429em; - letter-spacing: 2px; - text-transform: uppercase; - color: #111111; - } - @media (max-width: 1024px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 36px; - padding-bottom: 12px; - } - } - @media (max-width: 767px) { - .industry-section-label > .elementor-widget-container { - margin-bottom: 28px; - padding-bottom: 10px; - } - .industry-section-label .logico-title { - font-size: 12px; - letter-spacing: 1.5px; - } - } - 21:["$","div",null,{"className":"elementor-element elementor-element-c8162c4 elementor-widget elementor-widget-logico_heading industry-section-label","data-id":"c8162c4","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2c"}}],["$","div",null,{"className":"elementor-widget-container","children":["$","div",null,{"className":"logico-title","children":"/ Industry Solutions /"}]}]]}] -22:["$","div",null,{"className":"elementor-element elementor-element-1487241 elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"1487241","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default","children":["$","div",null,{"className":"elementor-widget-container","style":{"margin":"30px 0 0 0"},"children":["$","h2",null,{"className":"logico-title","style":{"fontSize":"clamp(28px, 3.5vw, 48px)","lineHeight":"1.1","fontWeight":800,"textTransform":"uppercase","maxWidth":"900px"},"children":["$","$L2d",null,{"delay":0.05,"duration":0.8,"yOffset":25,"children":["Smart solutions built exclusively for your ",["$","span",null,{"style":{"color":"#c01227"},"children":"industry"}]]}]}]}]}] -23:["$","div",null,{"className":"elementor-element elementor-element-4af73cb e-con-full elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"4af73cb","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"elementor-element elementor-element-46f2f7d elementor-widget__width-initial elementor-widget elementor-widget-logico_button","data-id":"46f2f7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default","children":["$","div",null,{"className":"elementor-widget-container"}]}]}] -24:["$","div",null,{"className":"elementor-element elementor-element-6829276 e-grid e-con-full cut-corner-no sticky-container-off e-con e-child","data-id":"6829276","data-element_type":"container","data-e-type":"container","children":["$","div",null,{"className":"industry-solutions-grid","children":[["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-1.webp","alt":"FMCG Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"FMCG"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High volume, tight margins, zero tolerance for stockouts."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Unpredictable demand spikes"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Fresh product expiry constraints"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-stop route complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"AI-driven demand-responsive routing"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Freshness-aware delivery prioritization"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Dynamic batch optimization"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"FMCG"}]]}]]}]]}],["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-2.webp","alt":"Pharma Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Pharmaceutical"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"Temperature-sensitive, compliance-critical, life-saving."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Cold chain integrity requirements"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"Regulatory compliance tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Critical delivery time windows"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Real-time temperature monitoring"}],"$L30","$L31"]}]]}]]}],"$L32"]}]]}],"$L33"]}]}] -30:["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Chain-of-custody documentation"}] -31:["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Priority override for critical shipments"}] -32:["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Pharmaceutical"}]]}] -33:["$","$L2e",null,{"href":"/solutions","className":"industry-card-link","children":[["$","div",null,{"className":"industry-card-bg","children":["$","$L2f",null,{"src":"/images/tab-pic-3.webp","alt":"Enterprise Logistics","fill":true,"style":{"objectFit":"cover"},"sizes":"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}]}],["$","div",null,{"className":"industry-card-overlay"}],["$","div",null,{"className":"industry-card-hover-bg"}],["$","div",null,{"className":"industry-card-default-content","children":["$","h4",null,{"className":"industry-card-default-title","children":"Enterprise & B2B"}]}],["$","div",null,{"className":"industry-card-hover-content","children":[["$","div",null,{"className":"industry-card-hover-top","children":[["$","p",null,{"className":"industry-card-description","children":"High-value shipments with complex delivery requirements."}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Challenges"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-1","children":"Appointment scheduling coordination"}],["$","li",null,{"className":"industry-card-list-item bullet-2","children":"White-glove delivery standards"}],["$","li",null,{"className":"industry-card-list-item bullet-3","children":"Multi-location routing complexity"}]]}]]}],["$","div",null,{"children":[["$","h5",null,{"className":"industry-card-section-title","children":"Doormile Solutions"}],["$","ul",null,{"className":"industry-card-list","children":[["$","li",null,{"className":"industry-card-list-item bullet-4","children":"Automated appointment optimization"}],["$","li",null,{"className":"industry-card-list-item bullet-5","children":"Service level guarantee tracking"}],["$","li",null,{"className":"industry-card-list-item bullet-6","children":"Enterprise integration APIs"}]]}]]}]]}],["$","div",null,{"className":"industry-card-hover-bottom","children":[["$","div",null,{"className":"industry-card-hover-icon","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":"3","strokeLinecap":"round","strokeLinejoin":"round","style":{"width":"20px","height":"20px"},"children":[["$","line",null,{"x1":"7","y1":"17","x2":"17","y2":"7"}],["$","polyline",null,{"points":"7 7 17 7 17 17"}]]}]}],["$","h4",null,{"className":"industry-card-hover-title","children":"Enterprise & B2B"}]]}]]}]]}] -29:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -34:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -27:null -2b:[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile helps logistics companies track every mile with MileTruth™ AI. Real-time SLA protection and connected miles visibility."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L34","7",{}]] diff --git a/.next/server/app/index.segments/_head.segment.rsc b/.next/server/app/index.segments/_head.segment.rsc deleted file mode 100644 index 6b3c23e..0000000 --- a/.next/server/app/index.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Doormile — Delivering Trust. Beyond Boundaries"}],["$","meta","1",{"name":"description","content":"Doormile helps logistics companies track every mile with MileTruth™ AI. Real-time SLA protection and connected miles visibility."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/index.segments/_index.segment.rsc b/.next/server/app/index.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/index.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/index.segments/_tree.segment.rsc b/.next/server/app/index.segments/_tree.segment.rsc deleted file mode 100644 index af02727..0000000 --- a/.next/server/app/index.segments/_tree.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/chunks/0v290txaarww5.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/miletruth.html b/.next/server/app/miletruth.html deleted file mode 100644 index bcbde48..0000000 --- a/.next/server/app/miletruth.html +++ /dev/null @@ -1,3531 +0,0 @@ -MileTruth – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

SLA Compliance
1 %
Distance Saved
1 %
Fewer Vehicles
1 %
Dispatch Latency
45ms

OPTIMIZE EVERY MILE

Cut travel distance, reduce operating cost, and improve fleet productivity across every route.

/ Performance /

SMARTER ROUTES. LOWER COSTS.

-42%DISTANCE SAVED
-37%FEWER VEHICLES
Performance InsightAI ENGINE
0%Distance Saved
0%Faster Routes
0%Lower Cost
0.0%On-Time
Route Optimization

AI selects the most efficient path across every zone.

Distance Reduction

Same volume delivered with a leaner, better-used fleet.

Fleet Efficiency

Higher utilisation and lower operating cost.

SLA Performance

Real-time correction keeps deliveries on time.

Distance Saved0%
Faster Routes0%
Lower Cost0%
On-Time0.0%

CHOOSE THE BEST PLAN

Analyze thousands of route possibilities and automatically select the most efficient delivery strategy.

/ Innovation /

MANY STRATEGIES. ONE BEST PLAN.

45msINFERENCE
100%SLA-FIRST
AI Decision EngineAI ENGINE
0msInference
0+Strategies
0.0%SLA Met
0/7Adaptive
Generate Routes

Many strategies explored per dispatch window.

Check Constraints

Battery, capacity, distance and time validated.

Score & Compare

Plans ranked by total cost in parallel.

Select Best Plan

SLA-first plan locked in and dispatched.

Inference0ms
Strategies0+
SLA Met0.0%
Adaptive0/7

BUILDING QUANTUM INTELLIGENCE

Exploring a hybrid optimization layer that treats routing as an energy landscape, not a search problem.

/ Quantum Intelligence /

FROM ROUTE SEARCH. TO ENERGY MINIMIZATION.

QUBOPROBLEM MODEL
HYBRIDINTELLIGENCE
Quantum IntelligenceHYBRID ENGINE
QUBOProblem Model
GLOBALMinimum Search
HYBRIDIntelligence
MULTIObjective
Encode the Problem

Rider assignments, delivery sequences, capacity, traffic, service time, and SLA constraints become part of one mathematical optimization model.

Build the Energy Landscape

Each feasible routing solution is represented as a state with its own energy through a QUBO formulation.

Search the Global Minimum

Optimization becomes the search for the lowest-energy state instead of evaluating route combinations one by one.

Hybrid Intelligence

Classical algorithms, AI models, and quantum optimization work together using the right computational model for each problem.

Dynamic RoutingMulti-Rider
Time WindowsOptimized
Fleet BalancingReal-Time
ObjectivesCost + Distance + SLA
\ No newline at end of file diff --git a/.next/server/app/miletruth.meta b/.next/server/app/miletruth.meta deleted file mode 100644 index 782e29c..0000000 --- a/.next/server/app/miletruth.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/miletruth/layout,_N_T_/miletruth/page,_N_T_/miletruth" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/miletruth/__PAGE__", - "/miletruth", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/miletruth.rsc b/.next/server/app/miletruth.rsc deleted file mode 100644 index 3765dce..0000000 --- a/.next/server/app/miletruth.rsc +++ /dev/null @@ -1,36 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[58829,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -d:I[76756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -e:I[38730,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -f:I[27698,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -10:I[33016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -12:"$Sreact.suspense" -15:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -17:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","miletruth"],"q":"","i":false,"f":[[["",{"children":["miletruth",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"miletruth","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],["$","$Lf",null,{}],["$","$L10",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/043-lr8ahr5l4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}]],["$","$L11",null,{"children":["$","$12",null,{"name":"Next.MetadataOutlet","children":"$@13"}]}]]}],{},null,false,null]},null,false,"$@14"]},null,false,null],["$","$1","h",{"children":[null,["$","$L15",null,{"children":"$L16"}],["$","div",null,{"hidden":true,"children":["$","$L17",null,{"children":["$","$12",null,{"name":"Next.Metadata","children":"$L18"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$19",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1a:[] -14:"$W1a" -16:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1b:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -13:null -18:[["$","title","0",{"children":"MileTruth – Doormile"}],["$","meta","1",{"name":"description","content":"Optimizes every stage of the delivery journey for maximum efficiency. Explore the only AI built exclusively for logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1b","7",{}]] diff --git a/.next/server/app/miletruth.segments/_full.segment.rsc b/.next/server/app/miletruth.segments/_full.segment.rsc deleted file mode 100644 index 3765dce..0000000 --- a/.next/server/app/miletruth.segments/_full.segment.rsc +++ /dev/null @@ -1,36 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -c:I[58829,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -d:I[76756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -e:I[38730,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -f:I[27698,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -10:I[33016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -11:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -12:"$Sreact.suspense" -15:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -17:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","miletruth"],"q":"","i":false,"f":[[["",{"children":["miletruth",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"id":"miletruth","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$Lc",null,{}],["$","$Ld",null,{}],["$","$Le",null,{}],["$","$Lf",null,{}],["$","$L10",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/043-lr8ahr5l4.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true,"nonce":"$undefined"}]],["$","$L11",null,{"children":["$","$12",null,{"name":"Next.MetadataOutlet","children":"$@13"}]}]]}],{},null,false,null]},null,false,"$@14"]},null,false,null],["$","$1","h",{"children":[null,["$","$L15",null,{"children":"$L16"}],["$","div",null,{"hidden":true,"children":["$","$L17",null,{"children":["$","$12",null,{"name":"Next.Metadata","children":"$L18"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$19",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -1a:[] -14:"$W1a" -16:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1b:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -13:null -18:[["$","title","0",{"children":"MileTruth – Doormile"}],["$","meta","1",{"name":"description","content":"Optimizes every stage of the delivery journey for maximum efficiency. Explore the only AI built exclusively for logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1b","7",{}]] diff --git a/.next/server/app/miletruth.segments/_head.segment.rsc b/.next/server/app/miletruth.segments/_head.segment.rsc deleted file mode 100644 index fb93e07..0000000 --- a/.next/server/app/miletruth.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MileTruth – Doormile"}],["$","meta","1",{"name":"description","content":"Optimizes every stage of the delivery journey for maximum efficiency. Explore the only AI built exclusively for logistics."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/miletruth.segments/_index.segment.rsc b/.next/server/app/miletruth.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/miletruth.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/miletruth.segments/_tree.segment.rsc b/.next/server/app/miletruth.segments/_tree.segment.rsc deleted file mode 100644 index 6f5f910..0000000 --- a/.next/server/app/miletruth.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"miletruth","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/miletruth.segments/miletruth.segment.rsc b/.next/server/app/miletruth.segments/miletruth.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/miletruth.segments/miletruth.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/miletruth.segments/miletruth/__PAGE__.segment.rsc b/.next/server/app/miletruth.segments/miletruth/__PAGE__.segment.rsc deleted file mode 100644 index f90b005..0000000 --- a/.next/server/app/miletruth.segments/miletruth/__PAGE__.segment.rsc +++ /dev/null @@ -1,10 +0,0 @@ -1:"$Sreact.fragment" -2:I[58829,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -3:I[76756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -4:I[38730,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -5:I[27698,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -6:I[33016,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"default"] -7:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -8:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"id":"miletruth","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{}],["$","$L5",null,{}],["$","$L6",null,{}]]}]}]}]}],[["$","script","script-0",{"src":"/_next/static/chunks/043-lr8ahr5l4.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0vi1igu-zxb_c.js","async":true}]],["$","$L7",null,{"children":["$","$8",null,{"name":"Next.MetadataOutlet","children":"$@9"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -9:null diff --git a/.next/server/app/miletruth/page.js b/.next/server/app/miletruth/page.js deleted file mode 100644 index 3a0f7dd..0000000 --- a/.next/server/app/miletruth/page.js +++ /dev/null @@ -1,15 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/miletruth/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0~j.xbf._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_086_46y.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(62456) -module.exports=R.m(62456).exports diff --git a/.next/server/app/miletruth/page.js.map b/.next/server/app/miletruth/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/miletruth/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page.js.nft.json b/.next/server/app/miletruth/page.js.nft.json deleted file mode 100644 index 944e320..0000000 --- a/.next/server/app/miletruth/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__0~j.xbf._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_01obfw9._.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_086_46y.js","../../chunks/ssr/src_components_sections_0xa9u10._.js","../../chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/miletruth/page/app-paths-manifest.json b/.next/server/app/miletruth/page/app-paths-manifest.json deleted file mode 100644 index 2e8bf94..0000000 --- a/.next/server/app/miletruth/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/miletruth/page": "app/miletruth/page.js" -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page/build-manifest.json b/.next/server/app/miletruth/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/miletruth/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page/next-font-manifest.json b/.next/server/app/miletruth/page/next-font-manifest.json deleted file mode 100644 index ea7d5a7..0000000 --- a/.next/server/app/miletruth/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/miletruth/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page/react-loadable-manifest.json b/.next/server/app/miletruth/page/react-loadable-manifest.json deleted file mode 100644 index 72714ac..0000000 --- a/.next/server/app/miletruth/page/react-loadable-manifest.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "29539": { - "id": 29539, - "files": [ - "static/chunks/0ckcqe5on274m.js", - "static/chunks/04uib0xi8_zof.js", - "static/chunks/0e.~6vil2~4uy.js" - ] - }, - "39184": { - "id": 39184, - "files": [ - "static/chunks/15p8tu-h65hwr.js", - "static/chunks/0-kxqnmnjtk7l.js", - "static/chunks/04uib0xi8_zof.js", - "static/chunks/0e.~6vil2~4uy.js" - ] - }, - "55819": { - "id": 55819, - "files": [ - "static/chunks/0yqyiard9rg2e.js", - "static/chunks/0d09zs~9jbu5_.js" - ] - } -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page/server-reference-manifest.json b/.next/server/app/miletruth/page/server-reference-manifest.json deleted file mode 100644 index b42cb95..0000000 --- a/.next/server/app/miletruth/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/miletruth/page": { - "moduleId": 59753, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/miletruth/page_client-reference-manifest.js b/.next/server/app/miletruth/page_client-reference-manifest.js deleted file mode 100644 index 4421641..0000000 --- a/.next/server/app/miletruth/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/miletruth/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/MileTruthHero.tsx ":{"id":58829,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/MileTruthHero.tsx":{"id":58829,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow1.tsx ":{"id":76756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow1.tsx":{"id":76756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow2.tsx ":{"id":38730,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow2.tsx":{"id":38730,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow4.tsx ":{"id":27698,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow4.tsx":{"id":27698,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow3Lazy.tsx ":{"id":33016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false},"[project]/src/components/sections/Workflow3Lazy.tsx":{"id":33016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/043-lr8ahr5l4.js","/_next/static/chunks/0vi1igu-zxb_c.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"58829":{"*":{"id":53521,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_01obfw9._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_0xa9u10._.js"],"async":false}},"76756":{"*":{"id":67095,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_01obfw9._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_0xa9u10._.js"],"async":false}},"38730":{"*":{"id":752,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_01obfw9._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_0xa9u10._.js"],"async":false}},"27698":{"*":{"id":76551,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_01obfw9._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_0xa9u10._.js"],"async":false}},"33016":{"*":{"id":41033,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/_01obfw9._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_0xa9u10._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"58829":{"*":{"id":92655,"name":"*","chunks":[],"async":false}},"76756":{"*":{"id":67020,"name":"*","chunks":[],"async":false}},"38730":{"*":{"id":64531,"name":"*","chunks":[],"async":false}},"27698":{"*":{"id":42311,"name":"*","chunks":[],"async":false}},"33016":{"*":{"id":39925,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/miletruth/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/miletruth/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/043-lr8ahr5l4.js","static/chunks/0vi1igu-zxb_c.js"]}}; - diff --git a/.next/server/app/page.js b/.next/server/app/page.js deleted file mode 100644 index 3d3c46c..0000000 --- a/.next/server/app/page.js +++ /dev/null @@ -1,17 +0,0 @@ -var R=require("../chunks/ssr/[turbopack]_runtime.js")("server/app/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0eood4z._.js") -R.c("server/chunks/ssr/_0sw0r2k._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nqzqrg.js") -R.c("server/chunks/ssr/src_04lygsm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(83584) -module.exports=R.m(83584).exports diff --git a/.next/server/app/page.js.map b/.next/server/app/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/page.js.nft.json b/.next/server/app/page.js.nft.json deleted file mode 100644 index a7efa25..0000000 --- a/.next/server/app/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../node_modules/@swc/helpers/package.json","../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../node_modules/next/dist/client/lib/console.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../node_modules/next/dist/compiled/source-map/package.json","../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/ws/index.js","../../../node_modules/next/dist/compiled/ws/package.json","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/picocolors.js","../../../node_modules/next/dist/lib/scheduler.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/parse-stack.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/source-maps.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-baseline.js","../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../node_modules/next/dist/server/node-environment.js","../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../node_modules/next/dist/server/patch-error-inspect.js","../../../node_modules/next/dist/server/require-hook.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.js","../../../node_modules/react/index.js","../../../node_modules/react/package.json","../chunks/ssr/[root-of-the-server]__055c-aq._.js","../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../chunks/ssr/[root-of-the-server]__0eood4z._.js","../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../chunks/ssr/[turbopack]_runtime.js","../chunks/ssr/_0p0sfo8._.js","../chunks/ssr/_0sw0r2k._.js","../chunks/ssr/_next-internal_server_app_page_actions_10si78q.js","../chunks/ssr/node_modules_0oplp32._.js","../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nqzqrg.js","../chunks/ssr/src_04lygsm._.js","../chunks/ssr/src_components_sections_071-yiu._.js","../chunks/ssr/src_components_sections_133w8q1._.js","../chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/page/app-paths-manifest.json b/.next/server/app/page/app-paths-manifest.json deleted file mode 100644 index e234c2e..0000000 --- a/.next/server/app/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/page": "app/page.js" -} \ No newline at end of file diff --git a/.next/server/app/page/build-manifest.json b/.next/server/app/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/page/next-font-manifest.json b/.next/server/app/page/next-font-manifest.json deleted file mode 100644 index 6190fd8..0000000 --- a/.next/server/app/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/page/react-loadable-manifest.json b/.next/server/app/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/page/server-reference-manifest.json b/.next/server/app/page/server-reference-manifest.json deleted file mode 100644 index e80662d..0000000 --- a/.next/server/app/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/page": { - "moduleId": 71970, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/page_client-reference-manifest.js b/.next/server/app/page_client-reference-manifest.js deleted file mode 100644 index 159d5ff..0000000 --- a/.next/server/app/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/IndexHero.tsx ":{"id":97677,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/IndexHero.tsx":{"id":97677,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/StatsBar.tsx ":{"id":58140,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/StatsBar.tsx":{"id":58140,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/TheProblem.tsx ":{"id":36854,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/TheProblem.tsx":{"id":36854,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/ConnectedLogistics.tsx ":{"id":32693,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/ConnectedLogistics.tsx":{"id":32693,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/TheDoormileWay.tsx ":{"id":24911,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/TheDoormileWay.tsx":{"id":24911,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/EVSection.tsx ":{"id":14224,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/components/sections/EVSection.tsx":{"id":14224,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js ":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":22016,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js ":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/node_modules/next/dist/client/image-component.js":{"id":5500,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/animations/Reveal.tsx ":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false},"[project]/src/animations/Reveal.tsx":{"id":2018,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/0vi1igu-zxb_c.js","/_next/static/chunks/0nunuemu9ietr.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"97677":{"*":{"id":52191,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"58140":{"*":{"id":9730,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"36854":{"*":{"id":54609,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"32693":{"*":{"id":82226,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"24911":{"*":{"id":67736,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"14224":{"*":{"id":61358,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"22016":{"*":{"id":38246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"5500":{"*":{"id":67161,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}},"2018":{"*":{"id":36002,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_133w8q1._.js","server/chunks/ssr/src_components_sections_EVSection_tsx_13keyb.._.js","server/chunks/ssr/src_components_sections_071-yiu._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"97677":{"*":{"id":1860,"name":"*","chunks":[],"async":false}},"58140":{"*":{"id":47240,"name":"*","chunks":[],"async":false}},"36854":{"*":{"id":54320,"name":"*","chunks":[],"async":false}},"32693":{"*":{"id":18673,"name":"*","chunks":[],"async":false}},"24911":{"*":{"id":16205,"name":"*","chunks":[],"async":false}},"14224":{"*":{"id":59005,"name":"*","chunks":[],"async":false}},"22016":{"*":{"id":84707,"name":"*","chunks":[],"async":false}},"5500":{"*":{"id":43489,"name":"*","chunks":[],"async":false}},"2018":{"*":{"id":9386,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false},{"path":"static/chunks/0v290txaarww5.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/0vi1igu-zxb_c.js","static/chunks/0nunuemu9ietr.js"]}}; - diff --git a/.next/server/app/privacy-policy.html b/.next/server/app/privacy-policy.html deleted file mode 100644 index 4878d47..0000000 --- a/.next/server/app/privacy-policy.html +++ /dev/null @@ -1,853 +0,0 @@ -Privacy Policy – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

\ No newline at end of file diff --git a/.next/server/app/privacy-policy.meta b/.next/server/app/privacy-policy.meta deleted file mode 100644 index 36dd77b..0000000 --- a/.next/server/app/privacy-policy.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/privacy-policy/layout,_N_T_/privacy-policy/page,_N_T_/privacy-policy" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/privacy-policy/__PAGE__", - "/privacy-policy", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/privacy-policy.rsc b/.next/server/app/privacy-policy.rsc deleted file mode 100644 index 6ea1d27..0000000 --- a/.next/server/app/privacy-policy.rsc +++ /dev/null @@ -1,222 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","privacy-policy"],"q":"","i":false,"f":[[["",{"children":["privacy-policy",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"dm-legal","aria-label":"Privacy Policy","children":[["$","div",null,{"className":"dm-legal__wrap","children":[["$","aside",null,{"className":"dm-legal__toc","aria-label":"On this page","children":["$","div",null,{"className":"dm-legal__toc-inner","children":[["$","p",null,{"className":"dm-legal__toc-label","children":"On this page"}],["$","nav",null,{"children":["$","ul",null,{"children":[["$","li","Information We Collect",{"children":["$","a",null,{"href":"#information-we-collect","children":"Information We Collect"}]}],["$","li","How We Use Your Information",{"children":["$","a",null,{"href":"#how-we-use-your-information","children":"How We Use Your Information"}]}],["$","li","Information Sharing",{"children":"$Lc"}],"$Ld","$Le","$Lf","$L10","$L11","$L12","$L13"]}]}]]}]}],"$L14"]}],"$L15"]}]}]}]}],null,"$L16"]}],{},null,false,null]},null,false,"$@17"]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -20:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -21:"$Sreact.suspense" -24:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -26:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","a",null,{"href":"#information-sharing","children":"Information Sharing"}] -d:["$","li","Data Security",{"children":["$","a",null,{"href":"#data-security","children":"Data Security"}]}] -e:["$","li","Data Retention",{"children":["$","a",null,{"href":"#data-retention","children":"Data Retention"}]}] -f:["$","li","Cookies and Tracking Technologies",{"children":["$","a",null,{"href":"#cookies-and-tracking-technologies","children":"Cookies and Tracking Technologies"}]}] -10:["$","li","Your Rights",{"children":["$","a",null,{"href":"#your-rights","children":"Your Rights"}]}] -11:["$","li","Third-Party Links",{"children":["$","a",null,{"href":"#third-party-links","children":"Third-Party Links"}]}] -12:["$","li","Policy Updates",{"children":["$","a",null,{"href":"#policy-updates","children":"Policy Updates"}]}] -13:["$","li","Contact Us",{"children":["$","a",null,{"href":"#contact-us","children":"Contact Us"}]}] -14:["$","div",null,{"className":"dm-legal__main","children":[["$","header",null,{"className":"dm-legal__hero","children":[["$","h1",null,{"className":"dm-legal__title","children":"Privacy Policy"}],["$","p",null,{"className":"dm-legal__updated","children":["Last Updated: ","June 2026"]}],["$","p",null,{"className":"dm-legal__lead","children":"At Doormile, we are committed to protecting your privacy and maintaining the security of the information you share with us. This Privacy Policy outlines how we collect, use, store, and protect your information when you visit our website, interact with our services, or communicate with us."}]]}],["$","article",null,{"className":"dm-legal__content","children":[["$","section","Information We Collect",{"id":"information-we-collect","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Information We Collect"}],[["$","p","0",{"className":"dm-legal__p","children":"We may collect the following information:"}],["$","ul","1",{"className":"dm-legal__ul","children":[["$","li","0",{"children":"Full name"}],["$","li","1",{"children":"Email address"}],["$","li","2",{"children":"Phone number"}],["$","li","3",{"children":"Company name"}],["$","li","4",{"children":"Job title"}],["$","li","5",{"children":"Information submitted through contact forms"}],["$","li","6",{"children":"Service inquiry details"}],["$","li","7",{"children":"Website usage data and analytics"}],["$","li","8",{"children":"Browser, device, and IP information"}]]}]]]}],["$","section","How We Use Your Information",{"id":"how-we-use-your-information","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"How We Use Your Information"}],[["$","p","0",{"className":"dm-legal__p","children":"We use your information to:"}],["$","ul","1",{"className":"dm-legal__ul","children":[["$","li","0",{"children":"Respond to inquiries and support requests"}],["$","li","1",{"children":"Provide information about our services"}],["$","li","2",{"children":"Improve website performance and user experience"}],["$","li","3",{"children":"Analyze usage trends and platform effectiveness"}],["$","li","4",{"children":"Maintain security and prevent unauthorized access"}],["$","li","5",{"children":"Communicate service updates and business information"}],["$","li","6",{"children":"Comply with legal and regulatory requirements"}]]}]]]}],["$","section","Information Sharing",{"id":"information-sharing","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Information Sharing"}],[["$","p","0",{"className":"dm-legal__p","children":"Doormile does not sell, rent, or trade personal information. Information may be shared with trusted service providers that assist with website hosting, analytics, communications, and operational support, subject to appropriate confidentiality and security obligations."}]]]}],["$","section","Data Security",{"id":"data-security","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Data Security"}],[["$","p","0",{"className":"dm-legal__p","children":"We implement industry-standard administrative, technical, and organizational safeguards designed to protect personal information from unauthorized access, disclosure, alteration, or destruction."}]]]}],["$","section","Data Retention",{"id":"data-retention","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Data Retention"}],[["$","p","0",{"className":"dm-legal__p","children":"We retain information only for as long as necessary to fulfill the purposes described in this policy, comply with legal obligations, resolve disputes, and enforce agreements."}]]]}],["$","section","Cookies and Tracking Technologies",{"id":"cookies-and-tracking-technologies","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Cookies and Tracking Technologies"}],[["$","p","0",{"className":"dm-legal__p","children":"We use cookies and similar technologies to improve website functionality, measure performance, understand user behavior, and enhance user experience."}]]]}],"$L1b","$L1c","$L1d","$L1e"]}]]}] -1f:T15aa, -.dm-legal { - background: #ffffff; - color: #334155; - /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */ - padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px); - font-family: var(--font-manrope), system-ui, -apple-system, sans-serif; -} - -.dm-legal__wrap { - max-width: 1180px; - margin: 0 auto; - padding: 0 clamp(20px, 5vw, 40px); - display: grid; - grid-template-columns: minmax(0, 1fr); - gap: 0; -} - -/* ---- Sticky table of contents (desktop only) ---- */ -.dm-legal__toc { display: none; } - -@media (min-width: 1080px) { - .dm-legal__wrap { - grid-template-columns: 248px minmax(0, 800px); - justify-content: center; - gap: 64px; - } - .dm-legal__toc { display: block; } -} - -.dm-legal__toc-inner { position: sticky; top: 128px; } -.dm-legal__toc-label { - margin: 0 0 14px; - font-size: 12px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: #94a3b8; -} -.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__toc nav a { - display: block; - font-size: 14px; - line-height: 1.4; - color: #64748b; - text-decoration: none; - border-left: 2px solid transparent; - padding-left: 12px; - transition: color 0.2s ease, border-color 0.2s ease; -} -.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; } - -/* ---- Reading column (max 800px) ---- */ -.dm-legal__main { min-width: 0; max-width: 800px; } - -.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); } -.dm-legal__title { - margin: 0 !important; - padding: 0 !important; - /* !important / text-transform override the global ".elementor-kit-5 h1" - (uppercase + kit font-size) so headings render in normal case at the spec sizes. */ - font-size: clamp(40px, 6vw, 60px) !important; - font-weight: 800 !important; - line-height: 1.08 !important; - letter-spacing: -0.02em !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__updated { - margin: 16px 0 0; - font-size: 14px; - font-weight: 700; - letter-spacing: 0.08em; - text-transform: uppercase; - color: #94a3b8; -} - -.dm-legal__lead { - margin: 24px 0 0; - font-size: clamp(18px, 1.6vw, 20px); - line-height: 1.7; - color: #475569; -} -.dm-legal__hero .dm-legal__lead { margin-top: 24px; } - -/* ---- Sections ---- */ -.dm-legal__content { display: flex; flex-direction: column; } -.dm-legal__section { padding-top: 32px; } -.dm-legal__section:first-child { padding-top: 0; } - -.dm-legal__h2 { - margin: 0 0 16px !important; - padding: 0 !important; - font-size: clamp(24px, 3vw, 32px) !important; - font-weight: 700 !important; - line-height: 1.2 !important; - letter-spacing: -0.01em !important; - text-transform: none !important; - color: #0f172a !important; - /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */ - scroll-margin-top: 120px; -} -.dm-legal__h3 { - margin: 24px 0 8px !important; - padding: 0 !important; - font-size: 20px !important; - font-weight: 700 !important; - line-height: 1.35 !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__p { - margin: 0 0 16px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -.dm-legal__p:last-child { margin-bottom: 0; } - -.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__ul li { - position: relative; - padding-left: 26px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -/* Extra .dm-legal prefix raises specificity above the global theme rule - ".logico-front-end ul li:before" (a fontello glyph), so our clean red dot - replaces the inherited checkmark marker. */ -.dm-legal .dm-legal__ul li::before { - content: "" !important; - position: absolute; - left: 4px; - top: 0.62em; - width: 7px; - height: 7px; - border-radius: 50%; - background: #c01227; - font-size: 0; -} -/* TOC links are inside a
    too — suppress the same inherited glyph marker. */ -.dm-legal .dm-legal__toc nav li::before { content: none !important; } - -.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); } -.dm-legal__link:hover { border-bottom-color: #c01227; } - -@media (max-width: 1079px) { - .dm-legal__main { margin: 0 auto; } -} - -/* ============================================================ - Navbar visibility — LEGAL PAGES ONLY. - This
    FMCG logistics

    FMCG

    FMCG logistics demands speed, precision, and continuous fulfillment across high-volume delivery networks. Businesses must balance tight delivery timelines, inventory movement, and operational efficiency without compromising product availability.

    • Unpredictable demand spikes create delivery pressure and reduce operational efficiency during peak periods.
    • Fresh product expiry constraints require faster, precisely timed deliveries to maintain product quality.
    • Multi-stop route complexity increases travel time, operational costs, and delivery coordination challenges.
    • Inventory stockout risks increase when delivery delays disrupt fast-moving product distribution.
    Pharma logistics

    Pharma

    Pharma logistics requires precision, compliance, and real-time monitoring so every shipment arrives safely and on time — from temperature-sensitive medicines to urgent emergency deliveries.

    • Cold chain integrity demands precise temperature control throughout transit.
    • Regulatory compliance must be tracked and documented on every delivery.
    • Critical delivery time windows require highly accurate scheduling.
    • Emergency shipments need instant dispatch and zero-delay execution.
    Enterprise and B2B logistics

    Enterprise & B2B

    Enterprise and B2B logistics require coordination and reliability to manage high-value shipments at scale — with appointment scheduling, white-glove standards, and strict SLA commitments.

    • Appointment scheduling requires precise timing across many locations.
    • White-glove delivery standards demand premium handling and accuracy.
    • Multi-location routing complexity grows with large-scale operations.
    • Strict SLA commitments pressure teams to stay timely and error-free.

\ No newline at end of file diff --git a/.next/server/app/solutions.meta b/.next/server/app/solutions.meta deleted file mode 100644 index dfb9fc9..0000000 --- a/.next/server/app/solutions.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/solutions/layout,_N_T_/solutions/page,_N_T_/solutions" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/solutions/__PAGE__", - "/solutions", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/solutions.rsc b/.next/server/app/solutions.rsc deleted file mode 100644 index 609039d..0000000 --- a/.next/server/app/solutions.rsc +++ /dev/null @@ -1,76 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -12:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -c:T5ca, - /* Fix "Why Businesses Choose Doormile" section — anchor absolute image left, push content right */ - .elementor-element.elementor-element-ead59d3 { - position: relative; - overflow: hidden; - } - .elementor-element.elementor-element-f35119c { - position: absolute !important; - left: -2% !important; - top: 50% !important; - transform: translateY(-50%) !important; - width: 48% !important; - max-width: 520px !important; - opacity: 0.18 !important; - z-index: 0 !important; - pointer-events: none; - } - .elementor-element.elementor-element-56ecbb3 { - position: relative !important; - z-index: 1 !important; - width: 55% !important; - max-width: 55% !important; - margin-left: auto !important; - margin-right: 4% !important; - } - .elementor-element.elementor-element-56ecbb3 .e-con-inner { - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-f35119c { display: none !important; } - .elementor-element.elementor-element-56ecbb3 { - width: 100% !important; - max-width: 100% !important; - margin: 0 !important; - } - } - 0:{"P":null,"c":["","solutions"],"q":"","i":false,"f":[[["",{"children":["solutions",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],["$Le"],"$Lf"]}],{},null,false,null]},null,false,"$@10"]},null,false,null],"$L11",false]],"m":"$undefined","G":["$12",["$L13"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -14:I[89937,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -15:I[40086,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -16:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -17:"$Sreact.suspense" -1a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"id":"solutions","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L14",null,{}],["$","$L15",null,{}]]}]}]}]}] -e:["$","script","script-0",{"src":"/_next/static/chunks/17iyy9kp8dsf4.js","async":true,"nonce":"$undefined"}] -f:["$","$L16",null,{"children":["$","$17",null,{"name":"Next.MetadataOutlet","children":"$@18"}]}] -19:[] -10:"$W19" -11:["$","$1","h",{"children":[null,["$","$L1a",null,{"children":"$L1b"}],["$","div",null,{"hidden":true,"children":["$","$L1c",null,{"children":["$","$17",null,{"name":"Next.Metadata","children":"$L1d"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -18:null -1d:[["$","title","0",{"children":"Solutions – Doormile"}],["$","meta","1",{"name":"description","content":"Discover how Doormile's connected logistics platform serves diverse industries (FMCG, Pharma, and Enterprise) with tailored solutions."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1e","7",{}]] diff --git a/.next/server/app/solutions.segments/_full.segment.rsc b/.next/server/app/solutions.segments/_full.segment.rsc deleted file mode 100644 index 609039d..0000000 --- a/.next/server/app/solutions.segments/_full.segment.rsc +++ /dev/null @@ -1,76 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -12:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -c:T5ca, - /* Fix "Why Businesses Choose Doormile" section — anchor absolute image left, push content right */ - .elementor-element.elementor-element-ead59d3 { - position: relative; - overflow: hidden; - } - .elementor-element.elementor-element-f35119c { - position: absolute !important; - left: -2% !important; - top: 50% !important; - transform: translateY(-50%) !important; - width: 48% !important; - max-width: 520px !important; - opacity: 0.18 !important; - z-index: 0 !important; - pointer-events: none; - } - .elementor-element.elementor-element-56ecbb3 { - position: relative !important; - z-index: 1 !important; - width: 55% !important; - max-width: 55% !important; - margin-left: auto !important; - margin-right: 4% !important; - } - .elementor-element.elementor-element-56ecbb3 .e-con-inner { - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-f35119c { display: none !important; } - .elementor-element.elementor-element-56ecbb3 { - width: 100% !important; - max-width: 100% !important; - margin: 0 !important; - } - } - 0:{"P":null,"c":["","solutions"],"q":"","i":false,"f":[[["",{"children":["solutions",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$c"}}],"$Ld"],["$Le"],"$Lf"]}],{},null,false,null]},null,false,"$@10"]},null,false,null],"$L11",false]],"m":"$undefined","G":["$12",["$L13"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -14:I[89937,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -15:I[40086,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -16:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -17:"$Sreact.suspense" -1a:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -1c:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -d:["$","div",null,{"id":"solutions","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L14",null,{}],["$","$L15",null,{}]]}]}]}]}] -e:["$","script","script-0",{"src":"/_next/static/chunks/17iyy9kp8dsf4.js","async":true,"nonce":"$undefined"}] -f:["$","$L16",null,{"children":["$","$17",null,{"name":"Next.MetadataOutlet","children":"$@18"}]}] -19:[] -10:"$W19" -11:["$","$1","h",{"children":[null,["$","$L1a",null,{"children":"$L1b"}],["$","div",null,{"hidden":true,"children":["$","$L1c",null,{"children":["$","$17",null,{"name":"Next.Metadata","children":"$L1d"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}] -13:["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}] -1b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -1e:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -18:null -1d:[["$","title","0",{"children":"Solutions – Doormile"}],["$","meta","1",{"name":"description","content":"Discover how Doormile's connected logistics platform serves diverse industries (FMCG, Pharma, and Enterprise) with tailored solutions."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L1e","7",{}]] diff --git a/.next/server/app/solutions.segments/_head.segment.rsc b/.next/server/app/solutions.segments/_head.segment.rsc deleted file mode 100644 index af2baee..0000000 --- a/.next/server/app/solutions.segments/_head.segment.rsc +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Solutions – Doormile"}],["$","meta","1",{"name":"description","content":"Discover how Doormile's connected logistics platform serves diverse industries (FMCG, Pharma, and Enterprise) with tailored solutions."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"shortcut icon","href":"/images/cropped-image-2.png"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?favicon.14w3bhkxgz946.ico","sizes":"40x40","type":"image/x-icon"}],["$","link","5",{"rel":"icon","href":"/images/cropped-image-2.png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/images/cropped-image-2.png"}],["$","$L5","7",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/solutions.segments/_index.segment.rsc b/.next/server/app/solutions.segments/_index.segment.rsc deleted file mode 100644 index c95c1ec..0000000 --- a/.next/server/app/solutions.segments/_index.segment.rsc +++ /dev/null @@ -1,15 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","template":["$","$La",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/solutions.segments/_tree.segment.rsc b/.next/server/app/solutions.segments/_tree.segment.rsc deleted file mode 100644 index bc1ad13..0000000 --- a/.next/server/app/solutions.segments/_tree.segment.rsc +++ /dev/null @@ -1,9 +0,0 @@ -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"solutions","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/solutions.segments/solutions.segment.rsc b/.next/server/app/solutions.segments/solutions.segment.rsc deleted file mode 100644 index 1e04eb7..0000000 --- a/.next/server/app/solutions.segments/solutions.segment.rsc +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"czNRbRzpspOb1FVBoan7W"} diff --git a/.next/server/app/solutions.segments/solutions/__PAGE__.segment.rsc b/.next/server/app/solutions.segments/solutions/__PAGE__.segment.rsc deleted file mode 100644 index 842ba3f..0000000 --- a/.next/server/app/solutions.segments/solutions/__PAGE__.segment.rsc +++ /dev/null @@ -1,45 +0,0 @@ -1:"$Sreact.fragment" -3:I[89937,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -4:I[40086,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"default"] -5:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -6:"$Sreact.suspense" -2:T5ca, - /* Fix "Why Businesses Choose Doormile" section — anchor absolute image left, push content right */ - .elementor-element.elementor-element-ead59d3 { - position: relative; - overflow: hidden; - } - .elementor-element.elementor-element-f35119c { - position: absolute !important; - left: -2% !important; - top: 50% !important; - transform: translateY(-50%) !important; - width: 48% !important; - max-width: 520px !important; - opacity: 0.18 !important; - z-index: 0 !important; - pointer-events: none; - } - .elementor-element.elementor-element-56ecbb3 { - position: relative !important; - z-index: 1 !important; - width: 55% !important; - max-width: 55% !important; - margin-left: auto !important; - margin-right: 4% !important; - } - .elementor-element.elementor-element-56ecbb3 .e-con-inner { - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - @media (max-width: 1020px) { - .elementor-element.elementor-element-f35119c { display: none !important; } - .elementor-element.elementor-element-56ecbb3 { - width: 100% !important; - max-width: 100% !important; - margin: 0 !important; - } - } - 0:{"rsc":["$","$1","c",{"children":[[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","div",null,{"id":"solutions","className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","div",null,{"data-elementor-type":"wp-page","data-elementor-id":"59","className":"elementor elementor-59","children":[["$","$L3",null,{}],["$","$L4",null,{}]]}]}]}]}]],[["$","script","script-0",{"src":"/_next/static/chunks/17iyy9kp8dsf4.js","async":true}]],["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"czNRbRzpspOb1FVBoan7W"} -7:null diff --git a/.next/server/app/solutions/page.js b/.next/server/app/solutions/page.js deleted file mode 100644 index a9dee62..0000000 --- a/.next/server/app/solutions/page.js +++ /dev/null @@ -1,15 +0,0 @@ -var R=require("../../chunks/ssr/[turbopack]_runtime.js")("server/app/solutions/page.js") -R.c("server/chunks/ssr/[root-of-the-server]__0vver6v._.js") -R.c("server/chunks/ssr/node_modules_next_dist_09jzzl8._.js") -R.c("server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_110uwud.js") -R.c("server/chunks/ssr/[root-of-the-server]__07uj_3p._.js") -R.c("server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js") -R.c("server/chunks/ssr/[root-of-the-server]__0ed.-2a._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js") -R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js") -R.c("server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js") -R.c("server/chunks/ssr/[root-of-the-server]__055c-aq._.js") -R.m(9547) -module.exports=R.m(9547).exports diff --git a/.next/server/app/solutions/page.js.map b/.next/server/app/solutions/page.js.map deleted file mode 100644 index c15d7ec..0000000 --- a/.next/server/app/solutions/page.js.map +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [] -} \ No newline at end of file diff --git a/.next/server/app/solutions/page.js.nft.json b/.next/server/app/solutions/page.js.nft.json deleted file mode 100644 index 15a27ad..0000000 --- a/.next/server/app/solutions/page.js.nft.json +++ /dev/null @@ -1 +0,0 @@ -{"version":1,"files":["../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/@swc/helpers/package.json","../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/client/lib/console.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../node_modules/next/dist/compiled/ws/index.js","../../../../node_modules/next/dist/compiled/ws/package.json","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/picocolors.js","../../../../node_modules/next/dist/lib/scheduler.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../node_modules/next/dist/server/node-environment.js","../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../node_modules/next/dist/server/require-hook.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../node_modules/react/cjs/react.development.js","../../../../node_modules/react/cjs/react.production.js","../../../../node_modules/react/index.js","../../../../node_modules/react/package.json","../../chunks/ssr/[root-of-the-server]__055c-aq._.js","../../chunks/ssr/[root-of-the-server]__07uj_3p._.js","../../chunks/ssr/[root-of-the-server]__0ed.-2a._.js","../../chunks/ssr/[root-of-the-server]__0ka9zs8._.js","../../chunks/ssr/[root-of-the-server]__0vver6v._.js","../../chunks/ssr/[turbopack]_runtime.js","../../chunks/ssr/_0p0sfo8._.js","../../chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js","../../chunks/ssr/node_modules_0oplp32._.js","../../chunks/ssr/node_modules_gsap_0xy-.4m._.js","../../chunks/ssr/node_modules_next_dist_09jzzl8._.js","../../chunks/ssr/node_modules_next_dist_0_t6nhm._.js","../../chunks/ssr/node_modules_next_dist_0h9llsw._.js","../../chunks/ssr/node_modules_next_dist_11bk~bs._.js","../../chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js","../../chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js","../../chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js","../../chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_110uwud.js","../../chunks/ssr/src_components_sections_06v94o_._.js","../../chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","./page/react-loadable-manifest.json","./page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/solutions/page/app-paths-manifest.json b/.next/server/app/solutions/page/app-paths-manifest.json deleted file mode 100644 index f98eaae..0000000 --- a/.next/server/app/solutions/page/app-paths-manifest.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "/solutions/page": "app/solutions/page.js" -} \ No newline at end of file diff --git a/.next/server/app/solutions/page/build-manifest.json b/.next/server/app/solutions/page/build-manifest.json deleted file mode 100644 index 9f25d22..0000000 --- a/.next/server/app/solutions/page/build-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "devFiles": [], - "ampDevFiles": [], - "polyfillFiles": [ - "static/chunks/03~yq9q893hmn.js" - ], - "lowPriorityFiles": [], - "rootMainFiles": [ - "static/chunks/098a0lm-b~rn..js", - "static/chunks/0tldj~reb5~dn.js", - "static/chunks/110q6k5sdl4es.js", - "static/chunks/14_678uuyq.tf.js", - "static/chunks/07uz2g0_38qia.js", - "static/chunks/turbopack-11jn_eqn~72wc.js" - ], - "pages": {}, - "ampFirstPages": [] -} \ No newline at end of file diff --git a/.next/server/app/solutions/page/next-font-manifest.json b/.next/server/app/solutions/page/next-font-manifest.json deleted file mode 100644 index dbe2944..0000000 --- a/.next/server/app/solutions/page/next-font-manifest.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pages": {}, - "app": { - "[project]/src/app/solutions/page": [ - "static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2", - "static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2", - "static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2", - "static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2", - "static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2" - ] - }, - "appUsingSizeAdjust": true, - "pagesUsingSizeAdjust": false -} \ No newline at end of file diff --git a/.next/server/app/solutions/page/react-loadable-manifest.json b/.next/server/app/solutions/page/react-loadable-manifest.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/app/solutions/page/react-loadable-manifest.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/app/solutions/page/server-reference-manifest.json b/.next/server/app/solutions/page/server-reference-manifest.json deleted file mode 100644 index 128d120..0000000 --- a/.next/server/app/solutions/page/server-reference-manifest.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/solutions/page": { - "moduleId": 44019, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "edge": {} -} \ No newline at end of file diff --git a/.next/server/app/solutions/page_client-reference-manifest.js b/.next/server/app/solutions/page_client-reference-manifest.js deleted file mode 100644 index 6577b39..0000000 --- a/.next/server/app/solutions/page_client-reference-manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {}; -globalThis.__RSC_MANIFEST["/solutions/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js ":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js ":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js ":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js ":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js ":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js ":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js ":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx ":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Header.tsx":{"id":3374,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx ":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/Footer.tsx":{"id":58234,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx ":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyClasses.tsx":{"id":67989,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx ":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/BodyOverlay.tsx":{"id":92260,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx ":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/HeaderUIProvider.tsx":{"id":82637,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx ":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/AnimationProvider.tsx":{"id":48064,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx ":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/animations/SmoothScroll.tsx":{"id":26290,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx ":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/layout/LoadingScreen.tsx":{"id":8971,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js ":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"async":false},"[project]/src/components/sections/SolutionsHero.tsx ":{"id":89937,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"async":false},"[project]/src/components/sections/SolutionsHero.tsx":{"id":89937,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"async":false},"[project]/src/components/sections/IndustryStack.tsx ":{"id":40086,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"async":false},"[project]/src/components/sections/IndustryStack.tsx":{"id":40086,"name":"*","chunks":["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js","/_next/static/chunks/17iyy9kp8dsf4.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"3374":{"*":{"id":43218,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"58234":{"*":{"id":25250,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"67989":{"*":{"id":61458,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"92260":{"*":{"id":22433,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"82637":{"*":{"id":56080,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"48064":{"*":{"id":75065,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"26290":{"*":{"id":80739,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"8971":{"*":{"id":42734,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js"],"async":false}},"89937":{"*":{"id":33319,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_06v94o_._.js"],"async":false}},"40086":{"*":{"id":42957,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ka9zs8._.js","server/chunks/ssr/_0p0sfo8._.js","server/chunks/ssr/node_modules_next_dist_11bk~bs._.js","server/chunks/ssr/node_modules_next_dist_0h9llsw._.js","server/chunks/ssr/node_modules_gsap_0xy-.4m._.js","server/chunks/ssr/node_modules_0oplp32._.js","server/chunks/ssr/src_components_sections_IndustryWorldMap_tsx_01vqqgp._.js","server/chunks/ssr/src_components_sections_06v94o_._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"3374":{"*":{"id":60079,"name":"*","chunks":[],"async":false}},"58234":{"*":{"id":63145,"name":"*","chunks":[],"async":false}},"67989":{"*":{"id":92290,"name":"*","chunks":[],"async":false}},"92260":{"*":{"id":52406,"name":"*","chunks":[],"async":false}},"82637":{"*":{"id":81769,"name":"*","chunks":[],"async":false}},"48064":{"*":{"id":74400,"name":"*","chunks":[],"async":false}},"26290":{"*":{"id":9003,"name":"*","chunks":[],"async":false}},"8971":{"*":{"id":46002,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"89937":{"*":{"id":93775,"name":"*","chunks":[],"async":false}},"40086":{"*":{"id":60915,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}],"[project]/src/app/solutions/page":[{"path":"static/chunks/13ci0umlwh11-.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js"],"[project]/src/app/solutions/page":["static/chunks/0812b12auw1ih.js","static/chunks/0wybzq6mybxiw.js","static/chunks/04xui0pxt.et1.js","static/chunks/0d3shmwh5_nmn.js","static/chunks/0ayxrdbx8m13y.js","static/chunks/17iyy9kp8dsf4.js"]}}; - diff --git a/.next/server/app/terms-of-service.html b/.next/server/app/terms-of-service.html deleted file mode 100644 index 604a616..0000000 --- a/.next/server/app/terms-of-service.html +++ /dev/null @@ -1,853 +0,0 @@ -Terms of Service – Doormile

Doormile

Doormile logo
Address
Hyderabad

5th Floor, Vision Ultima,
Street No.3, Jayabheri Enclave,
Gachibowli, Hyderabad,
Telangana 500032.

Coimbatore

Mayflower Valencia,
Near Nava India Bus Stop,
Avinashi Road,
Udayampalayam,
Tamil Nadu 641037.

Bengaluru

C612, 6th Floor,
Trifecta Starlight,
ITPL Road,
Garudacharapalya,
Mahadevapura,
Bangalore 560048,
Karnataka, India.

Contact Us

Tel : +91 86886 97941

Email

care@doormile.com

\ No newline at end of file diff --git a/.next/server/app/terms-of-service.meta b/.next/server/app/terms-of-service.meta deleted file mode 100644 index 2f75094..0000000 --- a/.next/server/app/terms-of-service.meta +++ /dev/null @@ -1,15 +0,0 @@ -{ - "headers": { - "x-nextjs-stale-time": "300", - "x-nextjs-prerender": "1", - "x-next-cache-tags": "_N_T_/layout,_N_T_/terms-of-service/layout,_N_T_/terms-of-service/page,_N_T_/terms-of-service" - }, - "segmentPaths": [ - "/_tree", - "/_full", - "/terms-of-service/__PAGE__", - "/terms-of-service", - "/_index", - "/_head" - ] -} \ No newline at end of file diff --git a/.next/server/app/terms-of-service.rsc b/.next/server/app/terms-of-service.rsc deleted file mode 100644 index e7921d0..0000000 --- a/.next/server/app/terms-of-service.rsc +++ /dev/null @@ -1,222 +0,0 @@ -1:"$Sreact.fragment" -2:I[67989,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -3:I[8971,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -4:I[48064,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -5:I[26290,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -6:I[82637,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"HeaderUIProvider"] -7:I[92260,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -8:I[3374,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -9:I[39756,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -a:I[37457,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -b:I[58234,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default"] -19:I[68027,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"default",1] -:HL["/_next/static/chunks/13ci0umlwh11-.css","style"] -:HL["/_next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css","style"] -:HL["/css/site.css","style"] -0:{"P":null,"c":["","terms-of-service"],"q":"","i":false,"f":[[["",{"children":["terms-of-service",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/13ci0umlwh11-.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0812b12auw1ih.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0wybzq6mybxiw.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/04xui0pxt.et1.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0d3shmwh5_nmn.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0ayxrdbx8m13y.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-US","data-scroll-behavior":"smooth","className":"manrope_67dc055e-module__BHrBnq__variable space_grotesk_2e42c3c6-module__3Wl9rq__variable syne_ef5854ac-module__2TJB3a__variable dm_sans_2770e922-module__TdA3fW__variable inter_5dbe1e89-module__i9oJOa__variable","children":[["$","head",null,{"children":[["$","link",null,{"rel":"stylesheet","href":"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"}],["$","link",null,{"rel":"stylesheet","href":"/css/site.css"}]]}],["$","body",null,{"className":"wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page","suppressHydrationWarning":true,"children":[["$","$L2",null,{}],["$","$L3",null,{}],["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":[["$","$L7",null,{}],["$","div",null,{"className":"body-container","children":["$","div",null,{"id":"page","className":"hfeed site","children":[["$","$L8",null,{}],["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$Lb",null,{}]]}]}]]}]]}]]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L9",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","div",null,{"className":"content-wrapper content-wrapper-may-contain-elementor-code content-wrapper-sidebar-position-none","children":["$","div",null,{"className":"content","children":["$","div",null,{"className":"content-inner","children":["$","section",null,{"className":"dm-legal","aria-label":"Terms of Service","children":[["$","div",null,{"className":"dm-legal__wrap","children":[["$","aside",null,{"className":"dm-legal__toc","aria-label":"On this page","children":["$","div",null,{"className":"dm-legal__toc-inner","children":[["$","p",null,{"className":"dm-legal__toc-label","children":"On this page"}],["$","nav",null,{"children":["$","ul",null,{"children":[["$","li","Acceptance of Terms",{"children":["$","a",null,{"href":"#acceptance-of-terms","children":"Acceptance of Terms"}]}],["$","li","Permitted Use",{"children":["$","a",null,{"href":"#permitted-use","children":"Permitted Use"}]}],["$","li","Intellectual Property Rights",{"children":["$","a",null,{"href":"#intellectual-property-rights","children":"Intellectual Property Rights"}]}],"$Lc","$Ld","$Le","$Lf","$L10","$L11","$L12","$L13"]}]}]]}]}],"$L14"]}],"$L15"]}]}]}]}],null,"$L16"]}],{},null,false,null]},null,false,"$@17"]},null,false,null],"$L18",false]],"m":"$undefined","G":["$19",["$L1a"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"czNRbRzpspOb1FVBoan7W"} -20:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"OutletBoundary"] -21:"$Sreact.suspense" -24:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"ViewportBoundary"] -26:I[97367,["/_next/static/chunks/0812b12auw1ih.js","/_next/static/chunks/0wybzq6mybxiw.js","/_next/static/chunks/04xui0pxt.et1.js","/_next/static/chunks/0d3shmwh5_nmn.js","/_next/static/chunks/0ayxrdbx8m13y.js"],"MetadataBoundary"] -c:["$","li","User Submissions",{"children":["$","a",null,{"href":"#user-submissions","children":"User Submissions"}]}] -d:["$","li","Service Availability",{"children":["$","a",null,{"href":"#service-availability","children":"Service Availability"}]}] -e:["$","li","Disclaimer of Warranties",{"children":["$","a",null,{"href":"#disclaimer-of-warranties","children":"Disclaimer of Warranties"}]}] -f:["$","li","Limitation of Liability",{"children":["$","a",null,{"href":"#limitation-of-liability","children":"Limitation of Liability"}]}] -10:["$","li","Indemnification",{"children":["$","a",null,{"href":"#indemnification","children":"Indemnification"}]}] -11:["$","li","Modifications",{"children":["$","a",null,{"href":"#modifications","children":"Modifications"}]}] -12:["$","li","Governing Law",{"children":["$","a",null,{"href":"#governing-law","children":"Governing Law"}]}] -13:["$","li","Contact Us",{"children":["$","a",null,{"href":"#contact-us","children":"Contact Us"}]}] -14:["$","div",null,{"className":"dm-legal__main","children":[["$","header",null,{"className":"dm-legal__hero","children":[["$","h1",null,{"className":"dm-legal__title","children":"Terms of Service"}],["$","p",null,{"className":"dm-legal__updated","children":["Last Updated: ","June 2026"]}],["$","p",null,{"className":"dm-legal__lead","children":"These Terms of Service govern your access to and use of the Doormile website and related services. By accessing or using our website, you agree to comply with these terms."}]]}],["$","article",null,{"className":"dm-legal__content","children":[["$","section","Acceptance of Terms",{"id":"acceptance-of-terms","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Acceptance of Terms"}],[["$","p","0",{"className":"dm-legal__p","children":"By accessing this website, you acknowledge that you have read, understood, and agreed to these Terms of Service and all applicable laws and regulations."}]]]}],["$","section","Permitted Use",{"id":"permitted-use","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Permitted Use"}],[["$","p","0",{"className":"dm-legal__p","children":"You agree to use the website and services only for lawful purposes and in accordance with these terms."}],["$","p","1",{"className":"dm-legal__p","children":"You agree not to:"}],["$","ul","2",{"className":"dm-legal__ul","children":[["$","li","0",{"children":"Violate applicable laws or regulations"}],["$","li","1",{"children":"Attempt unauthorized access to systems or networks"}],["$","li","2",{"children":"Interfere with website functionality or security"}],["$","li","3",{"children":"Distribute malicious software or harmful code"}],["$","li","4",{"children":"Misrepresent your identity or organization"}],["$","li","5",{"children":"Use website content without authorization"}]]}]]]}],["$","section","Intellectual Property Rights",{"id":"intellectual-property-rights","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Intellectual Property Rights"}],[["$","p","0",{"className":"dm-legal__p","children":"All content, technology, software, graphics, trademarks, logos, text, designs, and other materials available on this website are the property of Doormile or its licensors and are protected by applicable intellectual property laws."}]]]}],["$","section","User Submissions",{"id":"user-submissions","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"User Submissions"}],[["$","p","0",{"className":"dm-legal__p","children":"Any information submitted through forms, inquiries, or communications must be accurate and lawful. Users are responsible for the content they submit."}]]]}],["$","section","Service Availability",{"id":"service-availability","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Service Availability"}],[["$","p","0",{"className":"dm-legal__p","children":"While we strive to maintain uninterrupted access, we do not guarantee that the website or services will always be available, secure, or error-free."}]]]}],["$","section","Disclaimer of Warranties",{"id":"disclaimer-of-warranties","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Disclaimer of Warranties"}],[["$","p","0",{"className":"dm-legal__p","children":"The website and services are provided on an \"as is\" and \"as available\" basis without warranties of any kind, whether express or implied."}]]]}],["$","section","Limitation of Liability",{"id":"limitation-of-liability","className":"dm-legal__section","children":[["$","h2",null,{"className":"dm-legal__h2","children":"Limitation of Liability"}],[["$","p","0",{"className":"dm-legal__p","children":"To the maximum extent permitted by law, Doormile shall not be liable for any indirect, incidental, special, consequential, or punitive damages arising from or related to the use of the website or services."}]]]}],"$L1b","$L1c","$L1d","$L1e"]}]]}] -1f:T15aa, -.dm-legal { - background: #ffffff; - color: #334155; - /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */ - padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px); - font-family: var(--font-manrope), system-ui, -apple-system, sans-serif; -} - -.dm-legal__wrap { - max-width: 1180px; - margin: 0 auto; - padding: 0 clamp(20px, 5vw, 40px); - display: grid; - grid-template-columns: minmax(0, 1fr); - gap: 0; -} - -/* ---- Sticky table of contents (desktop only) ---- */ -.dm-legal__toc { display: none; } - -@media (min-width: 1080px) { - .dm-legal__wrap { - grid-template-columns: 248px minmax(0, 800px); - justify-content: center; - gap: 64px; - } - .dm-legal__toc { display: block; } -} - -.dm-legal__toc-inner { position: sticky; top: 128px; } -.dm-legal__toc-label { - margin: 0 0 14px; - font-size: 12px; - font-weight: 700; - letter-spacing: 0.14em; - text-transform: uppercase; - color: #94a3b8; -} -.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__toc nav a { - display: block; - font-size: 14px; - line-height: 1.4; - color: #64748b; - text-decoration: none; - border-left: 2px solid transparent; - padding-left: 12px; - transition: color 0.2s ease, border-color 0.2s ease; -} -.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; } - -/* ---- Reading column (max 800px) ---- */ -.dm-legal__main { min-width: 0; max-width: 800px; } - -.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); } -.dm-legal__title { - margin: 0 !important; - padding: 0 !important; - /* !important / text-transform override the global ".elementor-kit-5 h1" - (uppercase + kit font-size) so headings render in normal case at the spec sizes. */ - font-size: clamp(40px, 6vw, 60px) !important; - font-weight: 800 !important; - line-height: 1.08 !important; - letter-spacing: -0.02em !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__updated { - margin: 16px 0 0; - font-size: 14px; - font-weight: 700; - letter-spacing: 0.08em; - text-transform: uppercase; - color: #94a3b8; -} - -.dm-legal__lead { - margin: 24px 0 0; - font-size: clamp(18px, 1.6vw, 20px); - line-height: 1.7; - color: #475569; -} -.dm-legal__hero .dm-legal__lead { margin-top: 24px; } - -/* ---- Sections ---- */ -.dm-legal__content { display: flex; flex-direction: column; } -.dm-legal__section { padding-top: 32px; } -.dm-legal__section:first-child { padding-top: 0; } - -.dm-legal__h2 { - margin: 0 0 16px !important; - padding: 0 !important; - font-size: clamp(24px, 3vw, 32px) !important; - font-weight: 700 !important; - line-height: 1.2 !important; - letter-spacing: -0.01em !important; - text-transform: none !important; - color: #0f172a !important; - /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */ - scroll-margin-top: 120px; -} -.dm-legal__h3 { - margin: 24px 0 8px !important; - padding: 0 !important; - font-size: 20px !important; - font-weight: 700 !important; - line-height: 1.35 !important; - text-transform: none !important; - color: #0f172a !important; -} -.dm-legal__p { - margin: 0 0 16px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -.dm-legal__p:last-child { margin-bottom: 0; } - -.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; } -.dm-legal__ul li { - position: relative; - padding-left: 26px; - font-size: 18px; - line-height: 1.7; - color: #334155; -} -/* Extra .dm-legal prefix raises specificity above the global theme rule - ".logico-front-end ul li:before" (a fontello glyph), so our clean red dot - replaces the inherited checkmark marker. */ -.dm-legal .dm-legal__ul li::before { - content: "" !important; - position: absolute; - left: 4px; - top: 0.62em; - width: 7px; - height: 7px; - border-radius: 50%; - background: #c01227; - font-size: 0; -} -/* TOC links are inside a
    too — suppress the same inherited glyph marker. */ -.dm-legal .dm-legal__toc nav li::before { content: none !important; } - -.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); } -.dm-legal__link:hover { border-bottom-color: #c01227; } - -@media (max-width: 1079px) { - .dm-legal__main { margin: 0 auto; } -} - -/* ============================================================ - Navbar visibility — LEGAL PAGES ONLY. - This \n \n );\n}\n\n/** Renders the recurring \"contact us through our Contact page\" link. */\nexport function ContactLink() {\n return (\n \n Contact page\n \n );\n}\n\nconst styles = `\n.dm-legal {\n background: #ffffff;\n color: #334155;\n /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */\n padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px);\n font-family: var(--font-manrope), system-ui, -apple-system, sans-serif;\n}\n\n.dm-legal__wrap {\n max-width: 1180px;\n margin: 0 auto;\n padding: 0 clamp(20px, 5vw, 40px);\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0;\n}\n\n/* ---- Sticky table of contents (desktop only) ---- */\n.dm-legal__toc { display: none; }\n\n@media (min-width: 1080px) {\n .dm-legal__wrap {\n grid-template-columns: 248px minmax(0, 800px);\n justify-content: center;\n gap: 64px;\n }\n .dm-legal__toc { display: block; }\n}\n\n.dm-legal__toc-inner { position: sticky; top: 128px; }\n.dm-legal__toc-label {\n margin: 0 0 14px;\n font-size: 12px;\n font-weight: 700;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__toc nav a {\n display: block;\n font-size: 14px;\n line-height: 1.4;\n color: #64748b;\n text-decoration: none;\n border-left: 2px solid transparent;\n padding-left: 12px;\n transition: color 0.2s ease, border-color 0.2s ease;\n}\n.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; }\n\n/* ---- Reading column (max 800px) ---- */\n.dm-legal__main { min-width: 0; max-width: 800px; }\n\n.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); }\n.dm-legal__title {\n margin: 0 !important;\n padding: 0 !important;\n /* !important / text-transform override the global \".elementor-kit-5 h1\"\n (uppercase + kit font-size) so headings render in normal case at the spec sizes. */\n font-size: clamp(40px, 6vw, 60px) !important;\n font-weight: 800 !important;\n line-height: 1.08 !important;\n letter-spacing: -0.02em !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__updated {\n margin: 16px 0 0;\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n\n.dm-legal__lead {\n margin: 24px 0 0;\n font-size: clamp(18px, 1.6vw, 20px);\n line-height: 1.7;\n color: #475569;\n}\n.dm-legal__hero .dm-legal__lead { margin-top: 24px; }\n\n/* ---- Sections ---- */\n.dm-legal__content { display: flex; flex-direction: column; }\n.dm-legal__section { padding-top: 32px; }\n.dm-legal__section:first-child { padding-top: 0; }\n\n.dm-legal__h2 {\n margin: 0 0 16px !important;\n padding: 0 !important;\n font-size: clamp(24px, 3vw, 32px) !important;\n font-weight: 700 !important;\n line-height: 1.2 !important;\n letter-spacing: -0.01em !important;\n text-transform: none !important;\n color: #0f172a !important;\n /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */\n scroll-margin-top: 120px;\n}\n.dm-legal__h3 {\n margin: 24px 0 8px !important;\n padding: 0 !important;\n font-size: 20px !important;\n font-weight: 700 !important;\n line-height: 1.35 !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__p {\n margin: 0 0 16px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n.dm-legal__p:last-child { margin-bottom: 0; }\n\n.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__ul li {\n position: relative;\n padding-left: 26px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n/* Extra .dm-legal prefix raises specificity above the global theme rule\n \".logico-front-end ul li:before\" (a fontello glyph), so our clean red dot\n replaces the inherited checkmark marker. */\n.dm-legal .dm-legal__ul li::before {\n content: \"\" !important;\n position: absolute;\n left: 4px;\n top: 0.62em;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: #c01227;\n font-size: 0;\n}\n/* TOC links are inside a
      too — suppress the same inherited glyph marker. */\n.dm-legal .dm-legal__toc nav li::before { content: none !important; }\n\n.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); }\n.dm-legal__link:hover { border-bottom-color: #c01227; }\n\n@media (max-width: 1079px) {\n .dm-legal__main { margin: 0 auto; }\n}\n\n/* ============================================================\n Navbar visibility — LEGAL PAGES ONLY.\n This \n \n );\n}\n\n/** Renders the recurring \"contact us through our Contact page\" link. */\nexport function ContactLink() {\n return (\n \n Contact page\n \n );\n}\n\nconst styles = `\n.dm-legal {\n background: #ffffff;\n color: #334155;\n /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */\n padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px);\n font-family: var(--font-manrope), system-ui, -apple-system, sans-serif;\n}\n\n.dm-legal__wrap {\n max-width: 1180px;\n margin: 0 auto;\n padding: 0 clamp(20px, 5vw, 40px);\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0;\n}\n\n/* ---- Sticky table of contents (desktop only) ---- */\n.dm-legal__toc { display: none; }\n\n@media (min-width: 1080px) {\n .dm-legal__wrap {\n grid-template-columns: 248px minmax(0, 800px);\n justify-content: center;\n gap: 64px;\n }\n .dm-legal__toc { display: block; }\n}\n\n.dm-legal__toc-inner { position: sticky; top: 128px; }\n.dm-legal__toc-label {\n margin: 0 0 14px;\n font-size: 12px;\n font-weight: 700;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__toc nav a {\n display: block;\n font-size: 14px;\n line-height: 1.4;\n color: #64748b;\n text-decoration: none;\n border-left: 2px solid transparent;\n padding-left: 12px;\n transition: color 0.2s ease, border-color 0.2s ease;\n}\n.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; }\n\n/* ---- Reading column (max 800px) ---- */\n.dm-legal__main { min-width: 0; max-width: 800px; }\n\n.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); }\n.dm-legal__title {\n margin: 0 !important;\n padding: 0 !important;\n /* !important / text-transform override the global \".elementor-kit-5 h1\"\n (uppercase + kit font-size) so headings render in normal case at the spec sizes. */\n font-size: clamp(40px, 6vw, 60px) !important;\n font-weight: 800 !important;\n line-height: 1.08 !important;\n letter-spacing: -0.02em !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__updated {\n margin: 16px 0 0;\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n\n.dm-legal__lead {\n margin: 24px 0 0;\n font-size: clamp(18px, 1.6vw, 20px);\n line-height: 1.7;\n color: #475569;\n}\n.dm-legal__hero .dm-legal__lead { margin-top: 24px; }\n\n/* ---- Sections ---- */\n.dm-legal__content { display: flex; flex-direction: column; }\n.dm-legal__section { padding-top: 32px; }\n.dm-legal__section:first-child { padding-top: 0; }\n\n.dm-legal__h2 {\n margin: 0 0 16px !important;\n padding: 0 !important;\n font-size: clamp(24px, 3vw, 32px) !important;\n font-weight: 700 !important;\n line-height: 1.2 !important;\n letter-spacing: -0.01em !important;\n text-transform: none !important;\n color: #0f172a !important;\n /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */\n scroll-margin-top: 120px;\n}\n.dm-legal__h3 {\n margin: 24px 0 8px !important;\n padding: 0 !important;\n font-size: 20px !important;\n font-weight: 700 !important;\n line-height: 1.35 !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__p {\n margin: 0 0 16px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n.dm-legal__p:last-child { margin-bottom: 0; }\n\n.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__ul li {\n position: relative;\n padding-left: 26px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n/* Extra .dm-legal prefix raises specificity above the global theme rule\n \".logico-front-end ul li:before\" (a fontello glyph), so our clean red dot\n replaces the inherited checkmark marker. */\n.dm-legal .dm-legal__ul li::before {\n content: \"\" !important;\n position: absolute;\n left: 4px;\n top: 0.62em;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: #c01227;\n font-size: 0;\n}\n/* TOC links are inside a
        too — suppress the same inherited glyph marker. */\n.dm-legal .dm-legal__toc nav li::before { content: none !important; }\n\n.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); }\n.dm-legal__link:hover { border-bottom-color: #c01227; }\n\n@media (max-width: 1079px) {\n .dm-legal__main { margin: 0 auto; }\n}\n\n/* ============================================================\n Navbar visibility — LEGAL PAGES ONLY.\n This \n \n );\n}\n\n/** Renders the recurring \"contact us through our Contact page\" link. */\nexport function ContactLink() {\n return (\n \n Contact page\n \n );\n}\n\nconst styles = `\n.dm-legal {\n background: #ffffff;\n color: #334155;\n /* Top padding clears the fixed/absolute floating navbar (~104px) + breathing room. */\n padding: clamp(132px, 16vh, 184px) 0 clamp(72px, 10vw, 96px);\n font-family: var(--font-manrope), system-ui, -apple-system, sans-serif;\n}\n\n.dm-legal__wrap {\n max-width: 1180px;\n margin: 0 auto;\n padding: 0 clamp(20px, 5vw, 40px);\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0;\n}\n\n/* ---- Sticky table of contents (desktop only) ---- */\n.dm-legal__toc { display: none; }\n\n@media (min-width: 1080px) {\n .dm-legal__wrap {\n grid-template-columns: 248px minmax(0, 800px);\n justify-content: center;\n gap: 64px;\n }\n .dm-legal__toc { display: block; }\n}\n\n.dm-legal__toc-inner { position: sticky; top: 128px; }\n.dm-legal__toc-label {\n margin: 0 0 14px;\n font-size: 12px;\n font-weight: 700;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n.dm-legal__toc nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__toc nav a {\n display: block;\n font-size: 14px;\n line-height: 1.4;\n color: #64748b;\n text-decoration: none;\n border-left: 2px solid transparent;\n padding-left: 12px;\n transition: color 0.2s ease, border-color 0.2s ease;\n}\n.dm-legal__toc nav a:hover { color: #c01227; border-left-color: #c01227; }\n\n/* ---- Reading column (max 800px) ---- */\n.dm-legal__main { min-width: 0; max-width: 800px; }\n\n.dm-legal__hero { margin-bottom: clamp(40px, 6vw, 56px); }\n.dm-legal__title {\n margin: 0 !important;\n padding: 0 !important;\n /* !important / text-transform override the global \".elementor-kit-5 h1\"\n (uppercase + kit font-size) so headings render in normal case at the spec sizes. */\n font-size: clamp(40px, 6vw, 60px) !important;\n font-weight: 800 !important;\n line-height: 1.08 !important;\n letter-spacing: -0.02em !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__updated {\n margin: 16px 0 0;\n font-size: 14px;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: #94a3b8;\n}\n\n.dm-legal__lead {\n margin: 24px 0 0;\n font-size: clamp(18px, 1.6vw, 20px);\n line-height: 1.7;\n color: #475569;\n}\n.dm-legal__hero .dm-legal__lead { margin-top: 24px; }\n\n/* ---- Sections ---- */\n.dm-legal__content { display: flex; flex-direction: column; }\n.dm-legal__section { padding-top: 32px; }\n.dm-legal__section:first-child { padding-top: 0; }\n\n.dm-legal__h2 {\n margin: 0 0 16px !important;\n padding: 0 !important;\n font-size: clamp(24px, 3vw, 32px) !important;\n font-weight: 700 !important;\n line-height: 1.2 !important;\n letter-spacing: -0.01em !important;\n text-transform: none !important;\n color: #0f172a !important;\n /* Offset anchor jumps so the heading isn't hidden under the fixed navbar. */\n scroll-margin-top: 120px;\n}\n.dm-legal__h3 {\n margin: 24px 0 8px !important;\n padding: 0 !important;\n font-size: 20px !important;\n font-weight: 700 !important;\n line-height: 1.35 !important;\n text-transform: none !important;\n color: #0f172a !important;\n}\n.dm-legal__p {\n margin: 0 0 16px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n.dm-legal__p:last-child { margin-bottom: 0; }\n\n.dm-legal__ul { margin: 4px 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }\n.dm-legal__ul li {\n position: relative;\n padding-left: 26px;\n font-size: 18px;\n line-height: 1.7;\n color: #334155;\n}\n/* Extra .dm-legal prefix raises specificity above the global theme rule\n \".logico-front-end ul li:before\" (a fontello glyph), so our clean red dot\n replaces the inherited checkmark marker. */\n.dm-legal .dm-legal__ul li::before {\n content: \"\" !important;\n position: absolute;\n left: 4px;\n top: 0.62em;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: #c01227;\n font-size: 0;\n}\n/* TOC links are inside a
          too — suppress the same inherited glyph marker. */\n.dm-legal .dm-legal__toc nav li::before { content: none !important; }\n\n.dm-legal__link { color: #c01227; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(192,18,39,0.35); }\n.dm-legal__link:hover { border-bottom-color: #c01227; }\n\n@media (max-width: 1079px) {\n .dm-legal__main { margin: 0 auto; }\n}\n\n/* ============================================================\n Navbar visibility — LEGAL PAGES ONLY.\n This \n
\n );\n}\n"],"names":["UnrecognizedActionError","unstable_isUnrecognizedActionError","Error","constructor","args","name","error","ReadonlyURLSearchParams","ReadonlyURLSearchParamsError","URLSearchParams","append","delete","set","sort","RedirectStatusCode","REDIRECT_ERROR_CODE","isRedirectError","digest","split","errorCode","type","destination","slice","join","status","at","statusCode","Number","isNaN","getRedirectError","getRedirectStatusCodeFromError","getRedirectTypeFromError","getURLFromRedirectError","permanentRedirect","redirect","actionAsyncStorage","window","require","undefined","url","TemporaryRedirect","getStore","isAction","PermanentRedirect","HTTPAccessErrorStatus","HTTP_ERROR_FALLBACK_ERROR_CODE","getAccessFallbackErrorTypeByStatus","getAccessFallbackHTTPStatus","isHTTPAccessFallbackError","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","Object","values","prefix","httpStatus","has","notFound","DIGEST","forbidden","process","env","__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS","unauthorized","RenderStage","StagedRenderingController","abortSignal","abandonController","shouldTrackSyncIO","currentStage","syncInterruptReason","staticStageEndTime","Infinity","runtimeStageEndTime","staticStageListeners","earlyRuntimeStageListeners","runtimeStageListeners","dynamicStageListeners","staticStagePromise","createPromiseWithResolvers","earlyRuntimeStagePromise","runtimeStagePromise","dynamicStagePromise","addEventListener","reason","promise","catch","ignoreReject","reject","once","signal","abandonRender","onStage","stage","callback","push","InvariantError","shouldTrackSyncInterrupt","syncInterruptCurrentStageWithReason","abort","advanceStage","getSyncInterruptReason","getStaticStageEndTime","getRuntimeStageEndTime","resolveStaticStage","resolveEarlyRuntimeStage","resolveRuntimeStage","performance","now","timeOrigin","resolveDynamicStage","staticListeners","i","length","resolve","earlyRuntimeListeners","runtimeListeners","dynamicListeners","getStagePromise","waitForStage","delayUntilStage","displayName","resolvedValue","ioTriggerPromise","makeDevtoolsIOPromiseFromIOTrigger","ioTrigger","Promise","then","bind","delayUntilRuntimeStage","getRuntimeStage","isHangingPromiseRejectionError","makeDevtoolsIOAwarePromise","makeHangingPromise","err","HANGING_PROMISE_REJECTION","HangingPromiseRejectionError","route","expression","abortListenersBySignal","WeakMap","aborted","hangingPromise","_","boundRejection","currentListeners","get","listeners","underlying","requestStore","stagedRendering","setTimeout","EarlyStatic","EarlyRuntime","Runtime","prerenderStore","result","isPostpone","REACT_POSTPONE_TYPE","Symbol","for","$$typeof","isNextRouterError","DynamicServerError","isDynamicServerError","DYNAMIC_ERROR_CODE","description","StaticGenBailoutError","isStaticGenBailoutError","NEXT_STATIC_GEN_BAILOUT","code","METADATA_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","atLeastOneTask","scheduleImmediate","scheduleOnNextTick","waitAtLeastOneReactRenderTask","cb","NEXT_RUNTIME","nextTick","setImmediate","r","INSTANT_VALIDATION_BOUNDARY_NAME","DynamicHoleKind","Postpone","PreludeState","abortAndThrowOnSynchronousRequestDataAccess","abortOnSynchronousPlatformIOAccess","accessedDynamicData","annotateDynamicAccess","consumeDynamicAccess","createDynamicTrackingState","createDynamicValidationState","createHangingInputAbortSignal","createInstantValidationState","createRenderInBrowserAbortSignal","formatDynamicAPIAccesses","getFirstDynamicReason","getNavigationDisallowedDynamicReasons","getStaticShellDisallowedDynamicReasons","isDynamicPostpone","isPrerenderInterruptedError","logDisallowedDynamicError","markCurrentScopeAsDynamic","postponeWithTracking","throwIfDisallowedDynamic","throwToInterruptStaticGeneration","trackAllowedDynamicAccess","trackDynamicDataInDynamicRender","trackDynamicHoleInNavigation","trackDynamicHoleInRuntimeShell","trackDynamicHoleInStaticShell","trackThrownErrorInNavigation","useDynamicRouteParams","useDynamicSearchParams","hasPostpone","React","unstable_postpone","isDebugDynamicAccesses","dynamicAccesses","syncDynamicErrorWithStack","hasSuspenseAboveBody","hasDynamicMetadata","dynamicMetadata","hasDynamicViewport","hasAllowedDynamic","dynamicErrors","trackingState","store","workUnitStore","forceDynamic","forceStatic","dynamicShouldError","dynamicTracking","revalidate","dynamicUsageDescription","dynamicUsageStack","stack","NODE_ENV","usedDynamic","abortOnSynchronousDynamicDataAccess","createPrerenderInterruptedError","controller","errorWithStack","prerenderSignal","workUnitAsyncStorage","assertPostpone","createPostponeReason","message","isDynamicPostponeReason","includes","NEXT_PRERENDER_INTERRUPTED","serverDynamic","clientDynamic","filter","access","map","line","AbortController","BailoutToCSRError","cacheSignal","inputReady","workStore","workAsyncStorage","fallbackParams","fallbackRouteParams","size","use","renderSignal","throwForMissingRequestStore","hasSuspenseRegex","bodyAndImplicitTags","hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex","RegExp","hasMetadataRegex","hasViewportRegex","hasOutletRegex","hasInstantValidationBoundaryRegex","componentStack","dynamicValidation","test","addErrorContext","createInstantStack","hasAllowedClientDynamicAboveBoundary","validationPreventingErrors","thrownErrorsOutsideBoundary","kind","boundaryState","usageDescription","boundaryLocation","exec","expectedIds","renderedIds","suspenseLocation","index","syncError","cause","thrownValue","ownerStack","captureOwnerStack","console","__NEXT_DEV_SERVER","prelude","configAllowsBlocking","validationSampleTracking","missingSampleErrors","unstable_rethrow","isBailoutToCSRError","RedirectType","replace","ServerInsertedHTMLContext","useParams","usePathname","useRouter","useSearchParams","useSelectedLayoutSegment","useSelectedLayoutSegments","useServerInsertedHTML","instrumentParamsForClientValidation","instrumentSearchParamsForClientValidation","expectCompleteParamsInClientValidation","__NEXT_CACHE_COMPONENTS","searchParams","useContext","SearchParamsContext","readonlySearchParams","useMemo","navigationPromises","NavigationPromisesContext","pathname","PathnameContext","router","AppRouterContext","params","PathParamsContext","parallelRouteKey","context","LayoutRouterContext","selectedLayoutSegmentsPromises","getSelectedLayoutSegmentPath","parentTree","selectedLayoutSegments","selectedLayoutSegmentPromises","computeSelectedLayoutSegment","module","exports","HeaderUIContext","HeaderUIProvider","children","isMenuOpen","setMenuOpen","isSidebarOpen","setSidebarOpen","toggleMenu","o","toggleSidebar","closeAll","Provider","value","useHeaderUI","ctx","CURRENT_PAGE_MAP","CURRENT_PAGE_ALIASES","home","miletruth","solutions","entarpreneurship","blogs","contact","company","Header","isHome","currentPage","startsWith","dmHeaderActive","key","scrollToNavTarget","targetId","target","document","getElementById","scrollIntoView","behavior","block","scrollTo","top","handleNavClick","event","targetPath","shouldCloseMenu","closeMobileMenu","preventDefault","targetUrl","location","hash","history","pushState","requestAnimationFrame","visibleScrolled","setVisibleScrolled","isScrolled","setIsScrolled","isDesktopCompanyOpen","setDesktopCompanyOpen","isMobileCompanyOpen","setMobileCompanyOpen","toggleMobileMenu","handle","cancelAnimationFrame","rafId","onScroll","scrolled","scrollY","removeEventListener","headerInlineStyle","opacity","visibility","wrapperClass","Boolean","id","itemScope","itemType","className","itemProp","href","title","rel","style","onClick","zIndex","width","height","src","alt","sizes","tabIndex","role","fontSize","fontStyle","fontWeight","letterSpacing","textTransform","backgroundColor","color","viewBox","version","xmlns","focusable","d","borderRadius","priority","prefetch","onMouseEnter","onMouseLeave","onKeyDown","currentTarget","querySelector","focus","onBlur","contains","relatedTarget","onFocus","open","fill","suppressHydrationWarning","dangerouslySetInnerHTML","__html","callServer","createServerReference","findSourceMapURL","$$RSC_SERVER_ACTION_0","SHARED_BODY_CLASSES","SHARED","ROUTE_CLASSES","getBodyClasses","BodyOverlay","active","AnimationProvider","initDecorativeBlocks","getAll","forEach","t","vars","kill","vh","innerHeight","documentElement","clientHeight","decorativeBlocks","querySelectorAll","create","trigger","start","onEnter","classList","add","onEnterBack","onLeave","remove","onLeaveBack","getBoundingClientRect","bottom","registerPlugin","defaults","ease","duration","config","ignoreMobileResize","handleLoad","refresh","resizeTimer","handleResize","clearTimeout","refreshAnimations","timers","isRunning","onUpdate","easing","debouncedResize","wrapperResizeObserver","wrapper","autoResize","Window","destroy","disconnect","onWrapperResize","innerWidth","MIN_VISIBLE_MS","MAX_VISIBLE_MS","getRoutePath","search","LoadingScreen","phase","setPhase","phaseRef","visibleSince","pendingPath","currentRoutePath","hideTimer","safetyTimer","setLoaderPhase","nextPhase","current","clearTimer","timer","completeTransition","elapsed","wait","Math","max","startTransition","force","URL","getInternalRouteTarget","anchor","rawHref","getAttribute","hasAttribute","origin","sameRoute","handleDocumentClick","defaultPrevented","button","metaKey","ctrlKey","shiftKey","altKey","closest","HTMLAnchorElement","originalPushState","originalReplaceState","replaceState","scheduleHistoryTransition","currentPath","patchedPushState","urlArg","apply","patchedReplaceState","handlePopState","onTransitionEnd","e","propertyName"],"mappings":"qGAAaA,uBAAuB,CAAA,kBAAvBA,GAyBGC,kCAAkC,CAAA,kBAAlCA,sEAzBT,OAAMD,UAAgCE,MAC3CC,YAAY,GAAGC,CAAyC,CAAE,CACxD,KAAK,IAAIA,GACT,IAAI,CAACC,IAAI,CAAG,yBACd,CACF,CAoBO,SAASJ,EACdK,CAAc,EAEd,MAAO,CAAC,CACNA,CAAAA,GACiB,UAAjB,OAAOA,GACPA,aAAiBN,CAAAA,CAAsB,AAE3C,sPC3Bc,OAAA,cAAA,CAAA,EAAA,aAAA,oCAaDO,0BAAAA,qCAAAA,IAZb,OAAMC,UAAqCN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EAAEC,YAAY,EAA4B,UAAU,CAApBjD,IAClCC,EAAS,UACTC,EAASQ,OAAO,CAAG,SAEvB,YAEA,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAIxH,UAAU,4BACb,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAK,CAAA,CACJU,IAAI,wBACJC,IAAI,WACJH,MAAO,IACPC,OAAQ,IACRmB,QAAQ,CAAA,CAAA,EACR5B,UAAU,sBAId,CAAA,EAAA,EAAA,GAAA,EAAC,QAAA,UAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;MAsBT,CAAC,KAGP","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,26,34,35,36,37,38,39,40]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_0sw0r2k._.js b/.next/server/chunks/ssr/_0sw0r2k._.js deleted file mode 100644 index 7b8c29f..0000000 --- a/.next/server/chunks/ssr/_0sw0r2k._.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports=[80858,a=>{"use strict";a.s(["CountUp",()=>c,"Magnetic",()=>d,"ParallaxSection",()=>e,"RevealText",()=>f,"ScaleReveal",()=>g,"ScrollReveal",()=>h,"ShimmerText",()=>i,"SlideReveal",()=>j,"StaggerChildren",()=>k,"Tilt3D",()=>l]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call CountUp() from the server but CountUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","CountUp"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call Magnetic() from the server but Magnetic is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","Magnetic"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call ParallaxSection() from the server but ParallaxSection is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","ParallaxSection"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call RevealText() from the server but RevealText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","RevealText"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call ScaleReveal() from the server but ScaleReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","ScaleReveal"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call ScrollReveal() from the server but ScrollReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","ScrollReveal"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call ShimmerText() from the server but ShimmerText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","ShimmerText"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SlideReveal() from the server but SlideReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","SlideReveal"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call StaggerChildren() from the server but StaggerChildren is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","StaggerChildren"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call Tilt3D() from the server but Tilt3D is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx ","Tilt3D")},9386,a=>{"use strict";a.s(["CountUp",()=>c,"Magnetic",()=>d,"ParallaxSection",()=>e,"RevealText",()=>f,"ScaleReveal",()=>g,"ScrollReveal",()=>h,"ShimmerText",()=>i,"SlideReveal",()=>j,"StaggerChildren",()=>k,"Tilt3D",()=>l]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call CountUp() from the server but CountUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","CountUp"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call Magnetic() from the server but Magnetic is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","Magnetic"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call ParallaxSection() from the server but ParallaxSection is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","ParallaxSection"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call RevealText() from the server but RevealText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","RevealText"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call ScaleReveal() from the server but ScaleReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","ScaleReveal"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call ScrollReveal() from the server but ScrollReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","ScrollReveal"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call ShimmerText() from the server but ShimmerText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","ShimmerText"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SlideReveal() from the server but SlideReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","SlideReveal"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call StaggerChildren() from the server but StaggerChildren is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","StaggerChildren"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call Tilt3D() from the server but Tilt3D is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/animations/Reveal.tsx","Tilt3D")},19218,a=>{"use strict";a.i(80858);var b=a.i(9386);a.n(b)},790,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/app-dir/link.js "))},84707,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/app-dir/link.js"))},97647,a=>{"use strict";a.i(790);var b=a.i(84707);a.n(b)},95936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(64240),g=a.r(7997),h=f._(a.r(97647));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `` tag."):console.error("Using a Server Component as a direct child of `` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},71029,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},16426,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"warnOnce",{enumerable:!0,get:function(){return d}});let d=a=>{}},29945,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0});var e={getAssetToken:function(){return i},getAssetTokenQuery:function(){return j},getDeploymentId:function(){return g},getDeploymentIdQuery:function(){return h}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});function g(){return d}function h(a=!1){return d?`${a?"&":"?"}dpl=${d}`:""}function i(){return!1}function j(a=!1){return""}d=void 0},1359,(a,b,c)=>{"use strict";function d({widthInt:a,heightInt:b,blurWidth:c,blurHeight:e,blurDataURL:f,objectFit:g}){let h=c?40*c:a,i=e?40*e:b,j=h&&i?`viewBox='0 0 ${h} ${i}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${j}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${j?"none":"contain"===g?"xMidYMid":"cover"===g?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${f}'/%3E%3C/svg%3E`}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImageBlurSvg",{enumerable:!0,get:function(){return d}})},53549,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={VALID_LOADERS:function(){return f},imageConfigDefault:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["default","imgix","cloudinary","akamai","custom"],g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},87713,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImgProps",{enumerable:!0,get:function(){return j}}),a.r(16426);let d=a.r(29945),e=a.r(1359),f=a.r(53549),g=["-moz-initial","fill","none","scale-down",void 0];function h(a){return void 0!==a.default}function i(a){return void 0===a?a:"number"==typeof a?Number.isFinite(a)?a:NaN:"string"==typeof a&&/^[0-9]+$/.test(a)?parseInt(a,10):NaN}function j({src:a,sizes:b,unoptimized:c=!1,priority:k=!1,preload:l=!1,loading:m,className:n,quality:o,width:p,height:q,fill:r=!1,style:s,overrideSrc:t,onLoad:u,onLoadingComplete:v,placeholder:w="empty",blurDataURL:x,fetchPriority:y,decoding:z="async",layout:A,objectFit:B,objectPosition:C,lazyBoundary:D,lazyRoot:E,...F},G){var H;let I,J,K,{imgConf:L,showAltText:M,blurComplete:N,defaultLoader:O}=G,P=L||f.imageConfigDefault;if("allSizes"in P)I=P;else{let a=[...P.deviceSizes,...P.imageSizes].sort((a,b)=>a-b),b=P.deviceSizes.sort((a,b)=>a-b),c=P.qualities?.sort((a,b)=>a-b);I={...P,allSizes:a,deviceSizes:b,qualities:c}}if(void 0===O)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let Q=F.loader||O;delete F.loader,delete F.srcSet;let R="__next_img_default"in Q;if(R){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${a}" is missing "loader" prop. -Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let a=Q;Q=b=>{let{config:c,...d}=b;return a(d)}}if(A){"fill"===A&&(r=!0);let a={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];a&&(s={...s,...a});let c={responsive:"100vw",fill:"100vw"}[A];c&&!b&&(b=c)}let S="",T=i(p),U=i(q);if((H=a)&&"object"==typeof H&&(h(H)||void 0!==H.src)){let b=h(a)?a.default:a;if(!b.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!b.height||!b.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(J=b.blurWidth,K=b.blurHeight,x=x||b.blurDataURL,S=b.src,!r)if(T||U){if(T&&!U){let a=T/b.width;U=Math.round(b.height*a)}else if(!T&&U){let a=U/b.height;T=Math.round(b.width*a)}}else T=b.width,U=b.height}let V=!k&&!l&&("lazy"===m||void 0===m);(!(a="string"==typeof a?a:S)||a.startsWith("data:")||a.startsWith("blob:"))&&(c=!0,V=!1),I.unoptimized&&(c=!0),R&&!I.dangerouslyAllowSVG&&a.split("?",1)[0].endsWith(".svg")&&(c=!0);let W=i(o),X=Object.assign(r?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:C}:{},M?{}:{color:"transparent"},s),Y=N||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,e.getImageBlurSvg)({widthInt:T,heightInt:U,blurWidth:J,blurHeight:K,blurDataURL:x||"",objectFit:X.objectFit})}")`:`url("${w}")`,Z=g.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,$=Y?{backgroundSize:Z,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},_=function({config:a,src:b,unoptimized:c,width:e,quality:f,sizes:g,loader:h}){if(c){if(b.startsWith("/")&&!b.startsWith("//")){let a=(0,d.getDeploymentId)();if(a){let c=b.indexOf("?");if(-1!==c){let d=new URLSearchParams(b.slice(c+1));d.get("dpl")||(d.append("dpl",a),b=b.slice(0,c)+"?"+d.toString())}else b+=`?dpl=${a}`}}return{src:b,srcSet:void 0,sizes:void 0}}let{widths:i,kind:j}=function({deviceSizes:a,allSizes:b},c,d){if(d){let c=/(^|\s)(1?\d?\d)vw/g,e=[];for(let a;a=c.exec(d);)e.push(parseInt(a[2]));if(e.length){let c=.01*Math.min(...e);return{widths:b.filter(b=>b>=a[0]*c),kind:"w"}}return{widths:b,kind:"w"}}return"number"!=typeof c?{widths:a,kind:"w"}:{widths:[...new Set([c,2*c].map(a=>b.find(b=>b>=a)||b[b.length-1]))],kind:"x"}}(a,e,g),k=i.length-1;return{sizes:g||"w"!==j?g:"100vw",srcSet:i.map((c,d)=>`${h({config:a,src:b,quality:f,width:c})} ${"w"===j?c:d+1}${j}`).join(", "),src:h({config:a,src:b,quality:f,width:i[k]})}}({config:I,src:a,unoptimized:c,width:T,quality:W,sizes:b,loader:Q}),aa=V?"lazy":m;return{props:{...F,loading:aa,fetchPriority:y,width:T,height:U,decoding:z,className:n,style:{...X,...$},sizes:_.sizes,srcSet:_.srcSet,src:t||_.src},meta:{unoptimized:c,preload:l||k,placeholder:w,fill:r}}}},42377,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/image-component.js "))},43489,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/image-component.js"))},18409,a=>{"use strict";a.i(42377);var b=a.i(43489);a.n(b)},53200,(a,b,c)=>{"use strict";function d(a,b){let c=a||75;return b?.qualities?.length?b.qualities.reduce((a,b)=>Math.abs(b-c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return g}});let d=a.r(53200),e=a.r(29945);function f({config:a,src:b,width:c,quality:g}){let h=(0,e.getDeploymentId)();if(b.startsWith("/")&&!b.startsWith("//")){let a=b.indexOf("?");if(-1!==a){let c=new URLSearchParams(b.slice(a+1)),d=c.get("dpl");if(d){h=d,c.delete("dpl");let e=c.toString();b=b.slice(0,a)+(e?"?"+e:"")}}}if(b.startsWith("/")&&b.includes("?")&&a.localPatterns?.length===1&&"**"===a.localPatterns[0].pathname&&""===a.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${b}" is using a query string which is not configured in images.localPatterns. -Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,d.findClosestQuality)(g,a);return`${a.path}?url=${encodeURIComponent(b)}&w=${c}&q=${i}${b.startsWith("/")&&h?`&dpl=${h}`:""}`}f.__next_img_default=!0;let g=f},50858,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return k},getImageProps:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(71029),g=a.r(87713),h=a.r(18409),i=f._(a.r(37763));function j(a){let{props:b}=(0,g.getImgProps)(a,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[a,c]of Object.entries(b))void 0===c&&delete b[a];return{props:b}}let k=h.Image},3236,(a,b,c)=>{b.exports=a.r(50858)}]; - -//# sourceMappingURL=_0sw0r2k._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_0sw0r2k._.js.map b/.next/server/chunks/ssr/_0sw0r2k._.js.map deleted file mode 100644 index ab11422..0000000 --- a/.next/server/chunks/ssr/_0sw0r2k._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../src/animations/Reveal.tsx/__nextjs-internal-proxy.mjs","../../../../node_modules/next/dist/client/app-dir/link.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/app-dir/link.tsx","../../../../node_modules/next/src/client/app-dir/link.react-server.tsx","../../../../node_modules/%40swc/helpers/cjs/_interop_require_default.cjs","../../../../node_modules/next/src/shared/lib/utils/warn-once.ts","../../../../node_modules/next/src/shared/lib/deployment-id.ts","../../../../node_modules/next/src/shared/lib/image-blur-svg.ts","../../../../node_modules/next/src/shared/lib/image-config.ts","../../../../node_modules/next/src/shared/lib/get-img-props.ts","../../../../node_modules/next/dist/client/image-component.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/image-component.tsx","../../../../node_modules/next/src/shared/lib/find-closest-quality.ts","../../../../node_modules/next/src/shared/lib/image-loader.ts","../../../../node_modules/next/src/shared/lib/image-external.tsx","../../../../node_modules/next/image.js"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const CountUp = registerClientReference(\n function() { throw new Error(\"Attempted to call CountUp() from the server but CountUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"CountUp\",\n);\nexport const Magnetic = registerClientReference(\n function() { throw new Error(\"Attempted to call Magnetic() from the server but Magnetic is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"Magnetic\",\n);\nexport const ParallaxSection = registerClientReference(\n function() { throw new Error(\"Attempted to call ParallaxSection() from the server but ParallaxSection is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"ParallaxSection\",\n);\nexport const RevealText = registerClientReference(\n function() { throw new Error(\"Attempted to call RevealText() from the server but RevealText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"RevealText\",\n);\nexport const ScaleReveal = registerClientReference(\n function() { throw new Error(\"Attempted to call ScaleReveal() from the server but ScaleReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"ScaleReveal\",\n);\nexport const ScrollReveal = registerClientReference(\n function() { throw new Error(\"Attempted to call ScrollReveal() from the server but ScrollReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"ScrollReveal\",\n);\nexport const ShimmerText = registerClientReference(\n function() { throw new Error(\"Attempted to call ShimmerText() from the server but ShimmerText is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"ShimmerText\",\n);\nexport const SlideReveal = registerClientReference(\n function() { throw new Error(\"Attempted to call SlideReveal() from the server but SlideReveal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"SlideReveal\",\n);\nexport const StaggerChildren = registerClientReference(\n function() { throw new Error(\"Attempted to call StaggerChildren() from the server but StaggerChildren is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"StaggerChildren\",\n);\nexport const Tilt3D = registerClientReference(\n function() { throw new Error(\"Attempted to call Tilt3D() from the server but Tilt3D is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/animations/Reveal.tsx\",\n \"Tilt3D\",\n);\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/client/app-dir/link.js\"));\n","'use client'\n\nimport React, { createContext, useContext, useOptimistic, useRef } from 'react'\nimport type { UrlObject } from 'url'\nimport { formatUrl } from '../../shared/lib/router/utils/format-url'\nimport { AppRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { useMergedRef } from '../use-merged-ref'\nimport { isAbsoluteUrl } from '../../shared/lib/utils'\nimport { addBasePath } from '../add-base-path'\nimport { warnOnce } from '../../shared/lib/utils/warn-once'\nimport { ScrollBehavior } from '../components/router-reducer/router-reducer-types'\nimport type { PENDING_LINK_STATUS } from '../components/links'\nimport {\n IDLE_LINK_STATUS,\n mountLinkInstance,\n onNavigationIntent,\n unmountLinkForCurrentNavigation,\n unmountPrefetchableInstance,\n type LinkInstance,\n} from '../components/links'\nimport { isLocalURL } from '../../shared/lib/router/utils/is-local-url'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n} from '../components/segment-cache/types'\nimport { errorOnce } from '../../shared/lib/utils/error-once'\n\ntype Url = string | UrlObject\ntype RequiredKeys = {\n [K in keyof T]-?: {} extends Pick ? never : K\n}[keyof T]\ntype OptionalKeys = {\n [K in keyof T]-?: {} extends Pick ? K : never\n}[keyof T]\n\ntype OnNavigateEventHandler = (event: { preventDefault: () => void }) => void\n\ntype InternalLinkProps = {\n /**\n * **Required**. The path or URL to navigate to. It can also be an object (similar to `URL`).\n *\n * @example\n * ```tsx\n * // Navigate to /dashboard:\n * Dashboard\n *\n * // Navigate to /about?name=test:\n * \n * About\n * \n * ```\n *\n * @remarks\n * - For external URLs, use a fully qualified URL such as `https://...`.\n * - In the App Router, dynamic routes must not include bracketed segments in `href`.\n */\n href: Url\n\n /**\n * @deprecated v10.0.0: `href` props pointing to a dynamic route are\n * automatically resolved and no longer require the `as` prop.\n */\n as?: Url\n\n /**\n * Replace the current `history` state instead of adding a new URL into the stack.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * About (replaces the history state)\n * \n * ```\n */\n replace?: boolean\n\n /**\n * Whether to override the default scroll behavior. If `true`, Next.js attempts to maintain\n * the scroll position if the newly navigated page is still visible. If not, it scrolls to the top.\n *\n * If `false`, Next.js will not modify the scroll behavior at all.\n *\n * @defaultValue `true`\n *\n * @example\n * ```tsx\n * \n * No auto scroll\n * \n * ```\n */\n scroll?: boolean\n\n /**\n * Update the path of the current page without rerunning data fetching methods\n * like `getStaticProps`, `getServerSideProps`, or `getInitialProps`.\n *\n * @remarks\n * `shallow` only applies to the Pages Router. For the App Router, see the\n * [following documentation](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#using-the-native-history-api).\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Shallow navigation\n * \n * ```\n */\n shallow?: boolean\n\n /**\n * Forces `Link` to pass its `href` to the child component. Useful if the child is a custom\n * component that wraps an `` tag, or if you're using certain styling libraries.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n passHref?: boolean\n\n /**\n * Prefetch the page in the background.\n * Any `` that is in the viewport (initially or through scroll) will be prefetched.\n * Prefetch can be disabled by passing `prefetch={false}`.\n *\n * @remarks\n * Prefetching is only enabled in production.\n *\n * - In the **App Router**:\n * - `\"auto\"`, `null`, `undefined` (default): Prefetch behavior depends on static vs dynamic routes:\n * - Static routes: fully prefetched\n * - Dynamic routes: partial prefetch to the nearest segment with a `loading.js`\n * - `true`: Always prefetch the full route and data.\n * - `false`: Disable prefetching on both viewport and hover.\n * - In the **Pages Router**:\n * - `true` (default): Prefetches the route and data in the background on viewport or hover.\n * - `false`: Prefetch only on hover, not on viewport.\n *\n * @defaultValue `true` (Pages Router) or `null` (App Router)\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n prefetch?: boolean | 'auto' | null\n\n /**\n * (unstable) Switch to a full prefetch on hover. Effectively the same as\n * updating the prefetch prop to `true` in a mouse event.\n */\n unstable_dynamicOnHover?: boolean\n\n /**\n * The active locale is automatically prepended in the Pages Router. `locale` allows for providing\n * a different locale, or can be set to `false` to opt out of automatic locale behavior.\n *\n * @remarks\n * Note: locale only applies in the Pages Router and is ignored in the App Router.\n *\n * @example\n * ```tsx\n * // Use the 'fr' locale:\n * \n * About (French)\n * \n *\n * // Disable locale prefix:\n * \n * About (no locale prefix)\n * \n * ```\n */\n locale?: string | false\n\n /**\n * Enable legacy link behavior.\n *\n * @deprecated This will be removed in a future version\n * @defaultValue `false`\n * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7\n */\n legacyBehavior?: boolean\n\n /**\n * Optional event handler for when the mouse pointer is moved onto the ``.\n */\n onMouseEnter?: React.MouseEventHandler\n\n /**\n * Optional event handler for when the `` is touched.\n */\n onTouchStart?: React.TouchEventHandler\n\n /**\n * Optional event handler for when the `` is clicked.\n */\n onClick?: React.MouseEventHandler\n\n /**\n * Optional event handler for when the `` is navigated.\n */\n onNavigate?: OnNavigateEventHandler\n\n /**\n * Transition types to apply when navigating. These types are passed to\n * [`React.addTransitionType`](https://react.dev/reference/react/addTransitionType)\n * inside the navigation transition, enabling\n * [``](https://react.dev/reference/react/ViewTransition) components\n * to apply different animations based on the type of navigation.\n *\n * @example\n * ```tsx\n * About\n * ```\n */\n transitionTypes?: string[]\n}\n\n// TODO-APP: Include the full set of Anchor props\n// adding this to the publicly exported type currently breaks existing apps\n\n// `RouteInferType` is a stub here to avoid breaking `typedRoutes` when the type\n// isn't generated yet. It will be replaced when type generation runs.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type LinkProps = InternalLinkProps\ntype LinkPropsRequired = RequiredKeys\ntype LinkPropsOptional = OptionalKeys>\n\nfunction isModifiedEvent(event: React.MouseEvent): boolean {\n const eventTarget = event.currentTarget as HTMLAnchorElement | SVGAElement\n const target = eventTarget.getAttribute('target')\n return (\n (target && target !== '_self') ||\n event.metaKey ||\n event.ctrlKey ||\n event.shiftKey ||\n event.altKey || // triggers resource download\n (event.nativeEvent && event.nativeEvent.which === 2)\n )\n}\n\nfunction linkClicked(\n e: React.MouseEvent,\n href: string,\n linkInstanceRef: React.RefObject,\n replace?: boolean,\n scroll?: boolean,\n onNavigate?: OnNavigateEventHandler,\n transitionTypes?: string[]\n): void {\n if (typeof window !== 'undefined') {\n const { nodeName } = e.currentTarget\n\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A'\n if (\n (isAnchorNodeName && isModifiedEvent(e)) ||\n e.currentTarget.hasAttribute('download')\n ) {\n // ignore click for browser’s default behavior\n return\n }\n\n if (!isLocalURL(href)) {\n if (replace) {\n // browser default behavior does not replace the history state\n // so we need to do it manually\n e.preventDefault()\n location.replace(href)\n }\n\n // ignore click for browser’s default behavior\n return\n }\n\n e.preventDefault()\n\n if (onNavigate) {\n let isDefaultPrevented = false\n\n onNavigate({\n preventDefault: () => {\n isDefaultPrevented = true\n },\n })\n\n if (isDefaultPrevented) {\n return\n }\n }\n\n const { dispatchNavigateAction } =\n require('../components/app-router-instance') as typeof import('../components/app-router-instance')\n\n React.startTransition(() => {\n dispatchNavigateAction(\n href,\n replace ? 'replace' : 'push',\n scroll === false ? ScrollBehavior.NoScroll : ScrollBehavior.Default,\n linkInstanceRef.current,\n transitionTypes\n )\n })\n }\n}\n\nfunction formatStringOrUrl(urlObjOrString: UrlObject | string): string {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString\n }\n\n return formatUrl(urlObjOrString)\n}\n\n/**\n * A React component that extends the HTML `` element to provide\n * [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)\n * and client-side navigation. This is the primary way to navigate between routes in Next.js.\n *\n * @remarks\n * - Prefetching is only enabled in production.\n *\n * @see https://nextjs.org/docs/app/api-reference/components/link\n */\nexport default function LinkComponent(\n props: LinkProps & {\n children: React.ReactNode\n ref: React.Ref\n }\n) {\n const [linkStatus, setOptimisticLinkStatus] = useOptimistic(IDLE_LINK_STATUS)\n\n let children: React.ReactNode\n\n const linkInstanceRef = useRef(null)\n\n const {\n href: hrefProp,\n as: asProp,\n children: childrenProp,\n prefetch: prefetchProp = null,\n passHref,\n replace,\n shallow,\n scroll,\n onClick,\n onMouseEnter: onMouseEnterProp,\n onTouchStart: onTouchStartProp,\n legacyBehavior = false,\n onNavigate,\n transitionTypes,\n ref: forwardedRef,\n unstable_dynamicOnHover,\n ...restProps\n } = props\n\n children = childrenProp\n\n if (\n legacyBehavior &&\n (typeof children === 'string' || typeof children === 'number')\n ) {\n children = {children}\n }\n\n const router = React.useContext(AppRouterContext)\n\n const prefetchEnabled = prefetchProp !== false\n\n const fetchStrategy =\n prefetchProp !== false\n ? getFetchStrategyFromPrefetchProp(prefetchProp)\n : // TODO: it makes no sense to assign a fetchStrategy when prefetching is disabled.\n FetchStrategy.PPR\n\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args: {\n key: string\n expected: string\n actual: string\n }) {\n return new Error(\n `Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`\\`, but got \\`${args.actual}\\` instead.` +\n (typeof window !== 'undefined'\n ? \"\\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n\n // TypeScript trick for type-guarding:\n const requiredPropsGuard: Record = {\n href: true,\n } as const\n const requiredProps: LinkPropsRequired[] = Object.keys(\n requiredPropsGuard\n ) as LinkPropsRequired[]\n requiredProps.forEach((key: LinkPropsRequired) => {\n if (key === 'href') {\n if (\n props[key] == null ||\n (typeof props[key] !== 'string' && typeof props[key] !== 'object')\n ) {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key],\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n\n // TypeScript trick for type-guarding:\n const optionalPropsGuard: Record = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n unstable_dynamicOnHover: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true,\n onNavigate: true,\n transitionTypes: true,\n } as const\n const optionalProps: LinkPropsOptional[] = Object.keys(\n optionalPropsGuard\n ) as LinkPropsOptional[]\n optionalProps.forEach((key: LinkPropsOptional) => {\n const valType = typeof props[key]\n\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType,\n })\n }\n } else if (\n key === 'onClick' ||\n key === 'onMouseEnter' ||\n key === 'onTouchStart' ||\n key === 'onNavigate'\n ) {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType,\n })\n }\n } else if (\n key === 'replace' ||\n key === 'scroll' ||\n key === 'shallow' ||\n key === 'passHref' ||\n key === 'legacyBehavior' ||\n key === 'unstable_dynamicOnHover'\n ) {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType,\n })\n }\n } else if (key === 'prefetch') {\n if (\n props[key] != null &&\n valType !== 'boolean' &&\n props[key] !== 'auto'\n ) {\n throw createPropError({\n key,\n expected: '`boolean | \"auto\"`',\n actual: valType,\n })\n }\n } else if (key === 'transitionTypes') {\n if (props[key] != null && !Array.isArray(props[key])) {\n throw createPropError({\n key,\n expected: '`string[]`',\n actual: valType,\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n }\n\n const resolvedHref = asProp || hrefProp\n const formattedHref = formatStringOrUrl(resolvedHref)\n\n if (process.env.NODE_ENV !== 'production') {\n if (props.locale) {\n warnOnce(\n 'The `locale` prop is not supported in `next/link` while using the `app` router. Read more about app router internalization: https://nextjs.org/docs/app/building-your-application/routing/internationalization'\n )\n }\n if (!asProp) {\n let href: string | undefined\n if (typeof resolvedHref === 'string') {\n href = resolvedHref\n } else if (\n typeof resolvedHref === 'object' &&\n typeof resolvedHref.pathname === 'string'\n ) {\n href = resolvedHref.pathname\n }\n\n if (href) {\n const hasDynamicSegment = href\n .split('/')\n .some((segment) => segment.startsWith('[') && segment.endsWith(']'))\n\n if (hasDynamicSegment) {\n throw new Error(\n `Dynamic href \\`${href}\\` found in while using the \\`/app\\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`\n )\n }\n }\n }\n }\n\n // This will return the first child, if multiple are provided it will throw an error\n let child: any\n if (legacyBehavior) {\n if ((children as any)?.$$typeof === Symbol.for('react.lazy')) {\n throw new Error(\n `\\`\\` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's \\`\\` tag.`\n )\n }\n\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(\n `\"onClick\" was passed to with \\`href\\` of \\`${formattedHref}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`\n )\n }\n if (onMouseEnterProp) {\n console.warn(\n `\"onMouseEnter\" was passed to with \\`href\\` of \\`${formattedHref}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`\n )\n }\n try {\n child = React.Children.only(children)\n } catch (err) {\n if (!children) {\n throw new Error(\n `No children were passed to with \\`href\\` of \\`${formattedHref}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`\n )\n }\n throw new Error(\n `Multiple children were passed to with \\`href\\` of \\`${formattedHref}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` +\n (typeof window !== 'undefined'\n ? \" \\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n } else {\n child = React.Children.only(children)\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if ((children as any)?.type === 'a') {\n throw new Error(\n 'Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'\n )\n }\n }\n }\n\n const childRef: any = legacyBehavior\n ? child && typeof child === 'object' && child.ref\n : forwardedRef\n\n // Use a callback ref to attach an IntersectionObserver to the anchor tag on\n // mount. In the future we will also use this to keep track of all the\n // currently mounted instances, e.g. so we can re-prefetch them after\n // a revalidation or refresh.\n const observeLinkVisibilityOnMount = React.useCallback(\n (element: HTMLAnchorElement | SVGAElement) => {\n if (router !== null) {\n linkInstanceRef.current = mountLinkInstance(\n element,\n formattedHref,\n router,\n fetchStrategy,\n prefetchEnabled,\n setOptimisticLinkStatus\n )\n }\n\n return () => {\n if (linkInstanceRef.current) {\n unmountLinkForCurrentNavigation(linkInstanceRef.current)\n linkInstanceRef.current = null\n }\n unmountPrefetchableInstance(element)\n }\n },\n [\n prefetchEnabled,\n formattedHref,\n router,\n fetchStrategy,\n setOptimisticLinkStatus,\n ]\n )\n\n const mergedRef = useMergedRef(observeLinkVisibilityOnMount, childRef)\n\n const childProps: {\n onTouchStart?: React.TouchEventHandler\n onMouseEnter: React.MouseEventHandler\n onClick: React.MouseEventHandler\n href?: string\n ref?: any\n } = {\n ref: mergedRef,\n onClick(e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(\n `Component rendered inside next/link has to pass click event to \"onClick\" prop.`\n )\n }\n }\n\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onClick === 'function'\n ) {\n child.props.onClick(e)\n }\n\n if (!router) {\n return\n }\n if (e.defaultPrevented) {\n return\n }\n linkClicked(\n e,\n formattedHref,\n linkInstanceRef,\n replace,\n scroll,\n onNavigate,\n transitionTypes\n )\n },\n onMouseEnter(e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onMouseEnter === 'function'\n ) {\n child.props.onMouseEnter(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled || process.env.NODE_ENV === 'development') {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START\n ? undefined\n : function onTouchStart(e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onTouchStart === 'function'\n ) {\n child.props.onTouchStart(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled) {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n }\n\n // If the url is absolute, we can bypass the logic to prepend the basePath.\n if (isAbsoluteUrl(formattedHref)) {\n childProps.href = formattedHref\n } else if (\n !legacyBehavior ||\n passHref ||\n (child.type === 'a' && !('href' in child.props))\n ) {\n childProps.href = addBasePath(formattedHref)\n }\n\n let link: React.ReactNode\n\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n errorOnce(\n '`legacyBehavior` is deprecated and will be removed in a future ' +\n 'release. A codemod is available to upgrade your components:\\n\\n' +\n 'npx @next/codemod@latest new-link .\\n\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components'\n )\n }\n link = React.cloneElement(child, childProps)\n } else {\n link = (\n \n {children}\n \n )\n }\n\n return (\n \n {link}\n \n )\n}\n\nconst LinkStatusContext = createContext<\n typeof PENDING_LINK_STATUS | typeof IDLE_LINK_STATUS\n>(IDLE_LINK_STATUS)\n\nexport const useLinkStatus = () => {\n return useContext(LinkStatusContext)\n}\n\nfunction getFetchStrategyFromPrefetchProp(\n prefetchProp: Exclude\n): PrefetchTaskFetchStrategy {\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n if (prefetchProp === true) {\n return FetchStrategy.Full\n }\n\n // `null` or `\"auto\"`: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport.\n // This will also include invalid prop values that don't match the types specified here.\n // (although those should've been filtered out by prop validation in dev)\n prefetchProp satisfies null | 'auto'\n return FetchStrategy.PPR\n } else {\n return prefetchProp === null || prefetchProp === 'auto'\n ? // We default to PPR, and we'll discover whether or not the route supports it with the initial prefetch.\n FetchStrategy.PPR\n : // In the old implementation without runtime prefetches, `prefetch={true}` forces all dynamic data to be prefetched.\n // To preserve backwards-compatibility, anything other than `false`, `null`, or `\"auto\"` results in a full prefetch.\n // (although invalid values should've been filtered out by prop validation in dev)\n FetchStrategy.Full\n }\n}\n","import type { ComponentProps } from 'react'\nimport ClientLinkComponent, { type LinkProps, useLinkStatus } from './link'\n\nexport default function LinkComponent(\n props: ComponentProps\n) {\n const isLegacyBehavior = props.legacyBehavior\n const childIsHostComponent =\n typeof props.children === 'string' ||\n typeof props.children === 'number' ||\n typeof (props.children as any)?.type === 'string'\n const childIsClientComponent =\n (props.children as any)?.type?.$$typeof ===\n Symbol.for('react.client.reference')\n\n if (isLegacyBehavior && !childIsHostComponent && !childIsClientComponent) {\n if ((props.children as any)?.type?.$$typeof === Symbol.for('react.lazy')) {\n console.error(\n `Using a Lazy Component as a direct child of \\`\\` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's \\`\\` tag.`\n )\n } else {\n console.error(\n `Using a Server Component as a direct child of \\`\\` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's \\`\\` tag.`\n )\n }\n }\n\n return \n}\n\nexport { type LinkProps, useLinkStatus }\n","\"use strict\";\n\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexports._ = _interop_require_default;\n","let warnOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set()\n warnOnce = (msg: string) => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\nexport { warnOnce }\n","let deploymentId: string | undefined\n\nif (typeof window !== 'undefined') {\n deploymentId = document.documentElement.dataset.dplId\n // Immediately remove the attribute to prevent hydration errors (the dplId was inserted into the\n // HTML only), React isn't aware of it at all.\n delete document.documentElement.dataset.dplId\n} else {\n // Client side: replaced with globalThis.NEXT_DEPLOYMENT_ID\n // Server side: left as is or replaced with a string or replaced with false\n deploymentId = process.env.NEXT_DEPLOYMENT_ID || undefined\n}\n\nexport function getDeploymentId(): string | undefined {\n return deploymentId\n}\n\nexport function getDeploymentIdQuery(ampersand = false): string {\n let id = getDeploymentId()\n if (id) {\n return `${ampersand ? '&' : '?'}dpl=${id}`\n }\n return ''\n}\n\nexport function getAssetToken(): string | undefined {\n return (\n process.env.NEXT_IMMUTABLE_ASSET_TOKEN || process.env.NEXT_DEPLOYMENT_ID\n )\n}\n\nexport function getAssetTokenQuery(ampersand = false): string {\n let id = getAssetToken()\n if (id) {\n return `${ampersand ? '&' : '?'}dpl=${id}`\n }\n return ''\n}\n","/**\n * A shared function, used on both client and server, to generate a SVG blur placeholder.\n */\nexport function getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL,\n objectFit,\n}: {\n widthInt?: number\n heightInt?: number\n blurWidth?: number\n blurHeight?: number\n blurDataURL: string\n objectFit?: string\n}): string {\n const std = 20\n const svgWidth = blurWidth ? blurWidth * 40 : widthInt\n const svgHeight = blurHeight ? blurHeight * 40 : heightInt\n\n const viewBox =\n svgWidth && svgHeight ? `viewBox='0 0 ${svgWidth} ${svgHeight}'` : ''\n const preserveAspectRatio = viewBox\n ? 'none'\n : objectFit === 'contain'\n ? 'xMidYMid'\n : objectFit === 'cover'\n ? 'xMidYMid slice'\n : 'none'\n\n return `%3Csvg xmlns='http://www.w3.org/2000/svg' ${viewBox}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${preserveAspectRatio}' style='filter: url(%23b);' href='${blurDataURL}'/%3E%3C/svg%3E`\n}\n","export const VALID_LOADERS = [\n 'default',\n 'imgix',\n 'cloudinary',\n 'akamai',\n 'custom',\n] as const\n\nexport type LoaderValue = (typeof VALID_LOADERS)[number]\n\nexport type ImageLoaderProps = {\n src: string\n width: number\n quality?: number\n}\n\nexport type ImageLoaderPropsWithConfig = ImageLoaderProps & {\n config: Readonly\n}\n\nexport type LocalPattern = {\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\nexport type RemotePattern = {\n /**\n * Must be `http` or `https`.\n */\n protocol?: 'http' | 'https'\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single subdomain.\n * Double `**` matches any number of subdomains.\n */\n hostname: string\n\n /**\n * Can be literal port such as `8080` or empty string\n * meaning no port.\n */\n port?: string\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\ntype ImageFormat = 'image/avif' | 'image/webp'\n\n/**\n * Image configurations\n *\n * @see [Image configuration options](https://nextjs.org/docs/api-reference/next/image#configuration-options)\n */\nexport type ImageConfigComplete = {\n /** @see [Device sizes documentation](https://nextjs.org/docs/api-reference/next/image#device-sizes) */\n deviceSizes: number[]\n\n /** @see [Image sizing documentation](https://nextjs.org/docs/app/building-your-application/optimizing/images#image-sizing) */\n imageSizes: number[]\n\n /** @see [Image loaders configuration](https://nextjs.org/docs/api-reference/next/legacy/image#loader) */\n loader: LoaderValue\n\n /** @see [Image loader configuration](https://nextjs.org/docs/app/api-reference/components/image#path) */\n path: string\n\n /** @see [Image loader configuration](https://nextjs.org/docs/api-reference/next/image#loader-configuration) */\n loaderFile: string\n\n /**\n * @deprecated Use `remotePatterns` instead.\n */\n domains: string[]\n\n /** @see [Disable static image import configuration](https://nextjs.org/docs/api-reference/next/image#disable-static-imports) */\n disableStaticImages: boolean\n\n /** @see [Cache behavior](https://nextjs.org/docs/api-reference/next/image#caching-behavior) */\n minimumCacheTTL: number\n\n /** @see [Acceptable formats](https://nextjs.org/docs/api-reference/next/image#acceptable-formats) */\n formats: ImageFormat[]\n\n /** @see [Maximum Disk Cache Size (in bytes)](https://nextjs.org/docs/api-reference/next/image#maximumdiskcachesize) */\n maximumDiskCacheSize: number | undefined\n\n /** @see [Maximum Redirects](https://nextjs.org/docs/api-reference/next/image#maximumredirects) */\n maximumRedirects: number\n\n /** @see [Maximum Response Body](https://nextjs.org/docs/api-reference/next/image#maximumresponsebody) */\n maximumResponseBody: number\n\n /** @see [Dangerously Allow Local IP](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-local-ip) */\n dangerouslyAllowLocalIP: boolean\n\n /** @see [Dangerously Allow SVG](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-svg) */\n dangerouslyAllowSVG: boolean\n\n /** @see [Content Security Policy](https://nextjs.org/docs/api-reference/next/image#contentsecuritypolicy) */\n contentSecurityPolicy: string\n\n /** @see [Content Disposition Type](https://nextjs.org/docs/api-reference/next/image#contentdispositiontype) */\n contentDispositionType: 'inline' | 'attachment'\n\n /** @see [Remote Patterns](https://nextjs.org/docs/api-reference/next/image#remotepatterns) */\n remotePatterns: Array\n\n /** @see [Local Patterns](https://nextjs.org/docs/api-reference/next/image#localPatterns) */\n localPatterns: LocalPattern[] | undefined\n\n /** @see [Qualities](https://nextjs.org/docs/api-reference/next/image#qualities) */\n qualities: number[] | undefined\n\n /** @see [Unoptimized](https://nextjs.org/docs/api-reference/next/image#unoptimized) */\n unoptimized: boolean\n\n /**\n * When true, the `cacheHandler` configured in next.config.js will also be used\n * for caching optimized images. When false, images use the default filesystem cache.\n * @see [Image Optimization Caching](https://nextjs.org/docs/app/api-reference/config/next-config-js/cacheHandler#image-optimization-caching)\n */\n customCacheHandler: boolean\n}\n\nexport type ImageConfig = Partial\n\nexport const imageConfigDefault: ImageConfigComplete = {\n deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n imageSizes: [32, 48, 64, 96, 128, 256, 384],\n path: '/_next/image',\n loader: 'default',\n loaderFile: '',\n /**\n * @deprecated Use `remotePatterns` instead to protect your application from malicious users.\n */\n domains: [],\n disableStaticImages: false,\n minimumCacheTTL: 14400, // 4 hours\n formats: ['image/webp'],\n maximumDiskCacheSize: undefined, // auto-detect by default\n maximumRedirects: 3,\n maximumResponseBody: 50_000_000, // 50 MB\n dangerouslyAllowLocalIP: false,\n dangerouslyAllowSVG: false,\n contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`,\n contentDispositionType: 'attachment',\n localPatterns: undefined, // default: allow all local images\n remotePatterns: [], // default: allow no remote images\n qualities: [75],\n unoptimized: false,\n customCacheHandler: false,\n}\n","import { warnOnce } from './utils/warn-once'\nimport { getDeploymentId } from './deployment-id'\nimport { getImageBlurSvg } from './image-blur-svg'\nimport { imageConfigDefault } from './image-config'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n ImageLoaderPropsWithConfig,\n} from './image-config'\n\nimport type { CSSProperties, JSX } from 'react'\n\nexport interface StaticImageData {\n src: string\n height: number\n width: number\n blurDataURL?: string\n blurWidth?: number\n blurHeight?: number\n}\n\nexport interface StaticRequire {\n default: StaticImageData\n}\n\nexport type StaticImport = StaticRequire | StaticImageData\n\nexport type ImageProps = Omit<\n JSX.IntrinsicElements['img'],\n 'src' | 'srcSet' | 'ref' | 'alt' | 'width' | 'height' | 'loading'\n> & {\n src: string | StaticImport\n alt: string\n width?: number | `${number}`\n height?: number | `${number}`\n fill?: boolean\n loader?: ImageLoader\n quality?: number | `${number}`\n preload?: boolean\n /**\n * @deprecated Use `preload` prop instead.\n * See https://nextjs.org/docs/app/api-reference/components/image#preload\n */\n priority?: boolean\n loading?: LoadingValue\n placeholder?: PlaceholderValue\n blurDataURL?: string\n unoptimized?: boolean\n overrideSrc?: string\n /**\n * @deprecated Use `onLoad` instead.\n * @see https://nextjs.org/docs/app/api-reference/components/image#onload\n */\n onLoadingComplete?: OnLoadingComplete\n /**\n * @deprecated Use `fill` prop instead of `layout=\"fill\"` or change import to `next/legacy/image`.\n * @see https://nextjs.org/docs/api-reference/next/legacy/image\n */\n layout?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectFit?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectPosition?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyBoundary?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyRoot?: string\n}\n\nexport type ImgProps = Omit & {\n loading: LoadingValue\n width: number | undefined\n height: number | undefined\n style: NonNullable\n sizes: string | undefined\n srcSet: string | undefined\n src: string\n}\n\nconst VALID_LOADING_VALUES = ['lazy', 'eager', undefined] as const\n\n// Object-fit values that are not valid background-size values\nconst INVALID_BACKGROUND_SIZE_VALUES = [\n '-moz-initial',\n 'fill',\n 'none',\n 'scale-down',\n undefined,\n]\ntype LoadingValue = (typeof VALID_LOADING_VALUES)[number]\ntype ImageConfig = ImageConfigComplete & {\n allSizes: number[]\n output?: 'standalone' | 'export'\n}\n\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\n// Do not export - this is an internal type only\n// because `next.config.js` is only meant for the\n// built-in loaders, not for a custom loader() prop.\ntype ImageLoaderWithConfig = (p: ImageLoaderPropsWithConfig) => string\n\nexport type PlaceholderValue = 'blur' | 'empty' | `data:image/${string}`\nexport type OnLoad = React.ReactEventHandler | undefined\nexport type OnLoadingComplete = (img: HTMLImageElement) => void\n\nexport type PlaceholderStyle = Partial<\n Pick<\n CSSProperties,\n | 'backgroundSize'\n | 'backgroundPosition'\n | 'backgroundRepeat'\n | 'backgroundImage'\n >\n>\n\nfunction isStaticRequire(\n src: StaticRequire | StaticImageData\n): src is StaticRequire {\n return (src as StaticRequire).default !== undefined\n}\n\nfunction isStaticImageData(\n src: StaticRequire | StaticImageData\n): src is StaticImageData {\n return (src as StaticImageData).src !== undefined\n}\n\nfunction isStaticImport(src: string | StaticImport): src is StaticImport {\n return (\n !!src &&\n typeof src === 'object' &&\n (isStaticRequire(src as StaticImport) ||\n isStaticImageData(src as StaticImport))\n )\n}\n\nconst allImgs = new Map<\n string,\n { src: string; loading: LoadingValue; placeholder: PlaceholderValue }\n>()\nlet perfObserver: PerformanceObserver | undefined\n\nfunction getInt(x: unknown): number | undefined {\n if (typeof x === 'undefined') {\n return x\n }\n if (typeof x === 'number') {\n return Number.isFinite(x) ? x : NaN\n }\n if (typeof x === 'string' && /^[0-9]+$/.test(x)) {\n return parseInt(x, 10)\n }\n return NaN\n}\n\nfunction getWidths(\n { deviceSizes, allSizes }: ImageConfig,\n width: number | undefined,\n sizes: string | undefined\n): { widths: number[]; kind: 'w' | 'x' } {\n if (sizes) {\n // Find all the \"vw\" percent sizes used in the sizes prop\n const viewportWidthRe = /(^|\\s)(1?\\d?\\d)vw/g\n const percentSizes = []\n for (let match; (match = viewportWidthRe.exec(sizes)); match) {\n percentSizes.push(parseInt(match[2]))\n }\n if (percentSizes.length) {\n const smallestRatio = Math.min(...percentSizes) * 0.01\n return {\n widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),\n kind: 'w',\n }\n }\n return { widths: allSizes, kind: 'w' }\n }\n if (typeof width !== 'number') {\n return { widths: deviceSizes, kind: 'w' }\n }\n\n const widths = [\n ...new Set(\n // > This means that most OLED screens that say they are 3x resolution,\n // > are actually 3x in the green color, but only 1.5x in the red and\n // > blue colors. Showing a 3x resolution image in the app vs a 2x\n // > resolution image will be visually the same, though the 3x image\n // > takes significantly more data. Even true 3x resolution screens are\n // > wasteful as the human eye cannot see that level of detail without\n // > something like a magnifying glass.\n // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html\n [width, width * 2 /*, width * 3*/].map(\n (w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1]\n )\n ),\n ]\n return { widths, kind: 'x' }\n}\n\ntype GenImgAttrsData = {\n config: ImageConfig\n src: string\n unoptimized: boolean\n loader: ImageLoaderWithConfig\n width?: number\n quality?: number\n sizes?: string\n}\n\ntype GenImgAttrsResult = {\n src: string\n srcSet: string | undefined\n sizes: string | undefined\n}\n\nfunction generateImgAttrs({\n config,\n src,\n unoptimized,\n width,\n quality,\n sizes,\n loader,\n}: GenImgAttrsData): GenImgAttrsResult {\n if (unoptimized) {\n if (src.startsWith('/') && !src.startsWith('//')) {\n let deploymentId = getDeploymentId()\n if (deploymentId) {\n // We unfortunately can't easily use `new URL()` here, because it normalizes the URL which causes\n // double-encoding with the `encodeURIComponent(src)` below\n const qIndex = src.indexOf('?')\n if (qIndex !== -1) {\n const params = new URLSearchParams(src.slice(qIndex + 1))\n const srcDpl = params.get('dpl')\n if (!srcDpl) {\n // src is missing the dpl parameter, but we have a deploymentId, so add it to the src URL\n params.append('dpl', deploymentId)\n src = src.slice(0, qIndex) + '?' + params.toString()\n }\n } else {\n // src is missing the dpl parameter, but we have a deploymentId, so add it to the src URL\n src = src + `?dpl=${deploymentId}`\n }\n }\n }\n return { src, srcSet: undefined, sizes: undefined }\n }\n\n const { widths, kind } = getWidths(config, width, sizes)\n const last = widths.length - 1\n\n return {\n sizes: !sizes && kind === 'w' ? '100vw' : sizes,\n srcSet: widths\n .map(\n (w, i) =>\n `${loader({ config, src, quality, width: w })} ${\n kind === 'w' ? w : i + 1\n }${kind}`\n )\n .join(', '),\n\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n src: loader({ config, src, quality, width: widths[last] }),\n }\n}\n\n/**\n * A shared function, used on both client and server, to generate the props for .\n */\nexport function getImgProps(\n {\n src,\n sizes,\n unoptimized = false,\n priority = false,\n preload = false,\n loading,\n className,\n quality,\n width,\n height,\n fill = false,\n style,\n overrideSrc,\n onLoad,\n onLoadingComplete,\n placeholder = 'empty',\n blurDataURL,\n fetchPriority,\n decoding = 'async',\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n ...rest\n }: ImageProps,\n _state: {\n defaultLoader: ImageLoaderWithConfig\n imgConf: ImageConfigComplete\n showAltText?: boolean\n blurComplete?: boolean\n }\n): {\n props: ImgProps\n meta: {\n unoptimized: boolean\n preload: boolean\n placeholder: NonNullable\n fill: boolean\n }\n} {\n const { imgConf, showAltText, blurComplete, defaultLoader } = _state\n let config: ImageConfig\n let c = imgConf || imageConfigDefault\n if ('allSizes' in c) {\n config = c as ImageConfig\n } else {\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n config = { ...c, allSizes, deviceSizes, qualities }\n }\n\n if (typeof defaultLoader === 'undefined') {\n throw new Error(\n 'images.loaderFile detected but the file is missing default export.\\nRead more: https://nextjs.org/docs/messages/invalid-images-config'\n )\n }\n let loader: ImageLoaderWithConfig = rest.loader || defaultLoader\n\n // Remove property so it's not spread on element\n delete rest.loader\n delete (rest as any).srcSet\n\n // This special value indicates that the user\n // didn't define a \"loader\" prop or \"loader\" config.\n const isDefaultLoader = '__next_img_default' in loader\n\n if (isDefaultLoader) {\n if (config.loader === 'custom') {\n throw new Error(\n `Image with src \"${src}\" is missing \"loader\" prop.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`\n )\n }\n } else {\n // The user defined a \"loader\" prop or config.\n // Since the config object is internal only, we\n // must not pass it to the user-defined \"loader\".\n const customImageLoader = loader as ImageLoader\n loader = (obj) => {\n const { config: _, ...opts } = obj\n return customImageLoader(opts)\n }\n }\n\n if (layout) {\n if (layout === 'fill') {\n fill = true\n }\n const layoutToStyle: Record | undefined> = {\n intrinsic: { maxWidth: '100%', height: 'auto' },\n responsive: { width: '100%', height: 'auto' },\n }\n const layoutToSizes: Record = {\n responsive: '100vw',\n fill: '100vw',\n }\n const layoutStyle = layoutToStyle[layout]\n if (layoutStyle) {\n style = { ...style, ...layoutStyle }\n }\n const layoutSizes = layoutToSizes[layout]\n if (layoutSizes && !sizes) {\n sizes = layoutSizes\n }\n }\n\n let staticSrc = ''\n let widthInt = getInt(width)\n let heightInt = getInt(height)\n let blurWidth: number | undefined\n let blurHeight: number | undefined\n if (isStaticImport(src)) {\n const staticImageData = isStaticRequire(src) ? src.default : src\n\n if (!staticImageData.src) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n if (!staticImageData.height || !staticImageData.width) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n\n blurWidth = staticImageData.blurWidth\n blurHeight = staticImageData.blurHeight\n blurDataURL = blurDataURL || staticImageData.blurDataURL\n staticSrc = staticImageData.src\n\n if (!fill) {\n if (!widthInt && !heightInt) {\n widthInt = staticImageData.width\n heightInt = staticImageData.height\n } else if (widthInt && !heightInt) {\n const ratio = widthInt / staticImageData.width\n heightInt = Math.round(staticImageData.height * ratio)\n } else if (!widthInt && heightInt) {\n const ratio = heightInt / staticImageData.height\n widthInt = Math.round(staticImageData.width * ratio)\n }\n }\n }\n src = typeof src === 'string' ? src : staticSrc\n\n let isLazy =\n !priority &&\n !preload &&\n (loading === 'lazy' || typeof loading === 'undefined')\n if (!src || src.startsWith('data:') || src.startsWith('blob:')) {\n // https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\n unoptimized = true\n isLazy = false\n }\n if (config.unoptimized) {\n unoptimized = true\n }\n if (\n isDefaultLoader &&\n !config.dangerouslyAllowSVG &&\n src.split('?', 1)[0].endsWith('.svg')\n ) {\n // Special case to make svg serve as-is to avoid proxying\n // through the built-in Image Optimization API.\n unoptimized = true\n }\n\n const qualityInt = getInt(quality)\n\n if (process.env.NODE_ENV !== 'production') {\n if (config.output === 'export' && isDefaultLoader && !unoptimized) {\n throw new Error(\n `Image Optimization using the default loader is not compatible with \\`{ output: 'export' }\\`.\n Possible solutions:\n - Remove \\`{ output: 'export' }\\` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure \\`{ images: { unoptimized: true } }\\` in \\`next.config.js\\` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api`\n )\n }\n if (!src) {\n // React doesn't show the stack trace and there's\n // no `src` to help identify which image, so we\n // instead console.error(ref) during mount.\n unoptimized = true\n } else {\n if (fill) {\n if (width) {\n throw new Error(\n `Image with src \"${src}\" has both \"width\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (height) {\n throw new Error(\n `Image with src \"${src}\" has both \"height\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (style?.position && style.position !== 'absolute') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.position\" properties. Images with \"fill\" always use position absolute - it cannot be modified.`\n )\n }\n if (style?.width && style.width !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.width\" properties. Images with \"fill\" always use width 100% - it cannot be modified.`\n )\n }\n if (style?.height && style.height !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.height\" properties. Images with \"fill\" always use height 100% - it cannot be modified.`\n )\n }\n } else {\n if (typeof widthInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"width\" property.`\n )\n } else if (isNaN(widthInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"width\" property. Expected a numeric value in pixels but received \"${width}\".`\n )\n }\n if (typeof heightInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"height\" property.`\n )\n } else if (isNaN(heightInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"height\" property. Expected a numeric value in pixels but received \"${height}\".`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/^[\\x00-\\x20]/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/[\\x00-\\x20]$/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n }\n }\n if (!VALID_LOADING_VALUES.includes(loading)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"loading\" property. Provided \"${loading}\" should be one of ${VALID_LOADING_VALUES.map(\n String\n ).join(',')}.`\n )\n }\n if (priority && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"priority\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && priority) {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"priority\" properties. Only \"preload\" should be used.`\n )\n }\n if (\n placeholder !== 'empty' &&\n placeholder !== 'blur' &&\n !placeholder.startsWith('data:image/')\n ) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"placeholder\" property \"${placeholder}\".`\n )\n }\n if (placeholder !== 'empty') {\n if (widthInt && heightInt && widthInt * heightInt < 1600) {\n warnOnce(\n `Image with src \"${src}\" is smaller than 40x40. Consider removing the \"placeholder\" property to improve performance.`\n )\n }\n }\n if (\n qualityInt &&\n config.qualities &&\n !config.qualities.includes(qualityInt)\n ) {\n warnOnce(\n `Image with src \"${src}\" is using quality \"${qualityInt}\" which is not configured in images.qualities [${config.qualities.join(', ')}]. Please update your config to [${[...config.qualities, qualityInt].sort().join(', ')}].` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities`\n )\n }\n if (placeholder === 'blur' && !blurDataURL) {\n const VALID_BLUR_EXT = ['jpeg', 'png', 'webp', 'avif'] // should match next-image-loader\n\n throw new Error(\n `Image with src \"${src}\" has \"placeholder='blur'\" property but is missing the \"blurDataURL\" property.\n Possible solutions:\n - Add a \"blurDataURL\" property, the contents should be a small Data URL to represent the image\n - Change the \"src\" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(\n ','\n )} (animated images not supported)\n - Remove the \"placeholder\" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`\n )\n }\n if ('ref' in rest) {\n warnOnce(\n `Image with src \"${src}\" is using unsupported \"ref\" property. Consider using the \"onLoad\" property instead.`\n )\n }\n\n if (!unoptimized && !isDefaultLoader) {\n const urlStr = loader({\n config,\n src,\n width: widthInt || 400,\n quality: qualityInt || 75,\n })\n let url: URL | undefined\n try {\n url = new URL(urlStr)\n } catch (err) {}\n if (urlStr === src || (url && url.pathname === src && !url.search)) {\n warnOnce(\n `Image with src \"${src}\" has a \"loader\" property that does not implement width. Please implement it or use the \"unoptimized\" property instead.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`\n )\n }\n }\n\n if (onLoadingComplete) {\n warnOnce(\n `Image with src \"${src}\" is using deprecated \"onLoadingComplete\" property. Please use the \"onLoad\" property instead.`\n )\n }\n\n for (const [legacyKey, legacyValue] of Object.entries({\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n })) {\n if (legacyValue) {\n warnOnce(\n `Image with src \"${src}\" has legacy prop \"${legacyKey}\". Did you forget to run the codemod?` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`\n )\n }\n }\n\n if (\n typeof window !== 'undefined' &&\n !perfObserver &&\n window.PerformanceObserver\n ) {\n perfObserver = new PerformanceObserver((entryList) => {\n for (const entry of entryList.getEntries()) {\n // @ts-ignore - missing \"LargestContentfulPaint\" class with \"element\" prop\n const imgSrc = entry?.element?.src || ''\n const lcpImage = allImgs.get(imgSrc)\n if (\n lcpImage &&\n lcpImage.loading === 'lazy' &&\n lcpImage.placeholder === 'empty' &&\n !lcpImage.src.startsWith('data:') &&\n !lcpImage.src.startsWith('blob:')\n ) {\n // https://web.dev/lcp/#measure-lcp-in-javascript\n warnOnce(\n `Image with src \"${lcpImage.src}\" was detected as the Largest Contentful Paint (LCP). Please add the \\`loading=\"eager\"\\` property if this image is above the fold.` +\n `\\nRead more: https://nextjs.org/docs/app/api-reference/components/image#loading`\n )\n }\n }\n })\n try {\n perfObserver.observe({\n type: 'largest-contentful-paint',\n buffered: true,\n })\n } catch (err) {\n // Log error but don't crash the app\n console.error(err)\n }\n }\n }\n const imgStyle = Object.assign(\n fill\n ? {\n position: 'absolute',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n objectFit,\n objectPosition,\n }\n : {},\n showAltText ? {} : { color: 'transparent' },\n style\n )\n\n const backgroundImage =\n !blurComplete && placeholder !== 'empty'\n ? placeholder === 'blur'\n ? `url(\"data:image/svg+xml;charset=utf-8,${getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL: blurDataURL || '', // assume not undefined\n objectFit: imgStyle.objectFit,\n })}\")`\n : `url(\"${placeholder}\")` // assume `data:image/`\n : null\n\n const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(\n imgStyle.objectFit\n )\n ? imgStyle.objectFit\n : imgStyle.objectFit === 'fill'\n ? '100% 100%' // the background-size equivalent of `fill`\n : 'cover'\n\n let placeholderStyle: PlaceholderStyle = backgroundImage\n ? {\n backgroundSize,\n backgroundPosition: imgStyle.objectPosition || '50% 50%',\n backgroundRepeat: 'no-repeat',\n backgroundImage,\n }\n : {}\n\n if (process.env.NODE_ENV === 'development') {\n if (\n placeholderStyle.backgroundImage &&\n placeholder === 'blur' &&\n blurDataURL?.startsWith('/')\n ) {\n // During `next dev`, we don't want to generate blur placeholders with webpack\n // because it can delay starting the dev server. Instead, `next-image-loader.js`\n // will inline a special url to lazily generate the blur placeholder at request time.\n placeholderStyle.backgroundImage = `url(\"${blurDataURL}\")`\n }\n }\n\n const imgAttributes = generateImgAttrs({\n config,\n src,\n unoptimized,\n width: widthInt,\n quality: qualityInt,\n sizes,\n loader,\n })\n\n const loadingFinal = isLazy ? 'lazy' : loading\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined') {\n let fullUrl: URL\n try {\n fullUrl = new URL(imgAttributes.src)\n } catch (e) {\n fullUrl = new URL(imgAttributes.src, window.location.href)\n }\n allImgs.set(fullUrl.href, { src, loading: loadingFinal, placeholder })\n }\n }\n\n const props: ImgProps = {\n ...rest,\n loading: loadingFinal,\n fetchPriority,\n width: widthInt,\n height: heightInt,\n decoding,\n className,\n style: { ...imgStyle, ...placeholderStyle },\n sizes: imgAttributes.sizes,\n srcSet: imgAttributes.srcSet,\n src: overrideSrc || imgAttributes.src,\n }\n const meta = { unoptimized, preload: preload || priority, placeholder, fill }\n return { props, meta }\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/client/image-component.js\"));\n","'use client'\n\nimport React, {\n useRef,\n useEffect,\n useCallback,\n useContext,\n useMemo,\n useState,\n forwardRef,\n use,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport Head from '../shared/lib/head'\nimport { getImgProps } from '../shared/lib/get-img-props'\nimport type {\n ImageProps,\n ImgProps,\n OnLoad,\n OnLoadingComplete,\n PlaceholderValue,\n} from '../shared/lib/get-img-props'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n} from '../shared/lib/image-config'\nimport { imageConfigDefault } from '../shared/lib/image-config'\nimport { ImageConfigContext } from '../shared/lib/image-config-context.shared-runtime'\nimport { warnOnce } from '../shared/lib/utils/warn-once'\nimport { RouterContext } from '../shared/lib/router-context.shared-runtime'\n\n// This is replaced by webpack alias\nimport defaultLoader from 'next/dist/shared/lib/image-loader'\nimport { useMergedRef } from './use-merged-ref'\n\n// This is replaced by webpack define plugin\nconst configEnv = process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete\n\nif (typeof window === 'undefined') {\n ;(globalThis as any).__NEXT_IMAGE_IMPORTED = true\n}\n\nexport type { ImageLoaderProps }\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\ntype ImgElementWithDataProp = HTMLImageElement & {\n 'data-loaded-src': string | undefined\n}\n\ntype ImageElementProps = ImgProps & {\n unoptimized: boolean\n placeholder: PlaceholderValue\n onLoadRef: React.MutableRefObject\n onLoadingCompleteRef: React.MutableRefObject\n setBlurComplete: (b: boolean) => void\n setShowAltText: (b: boolean) => void\n sizesInput: string | undefined\n}\n\n// See https://stackoverflow.com/q/39777833/266535 for why we use this ref\n// handler instead of the img's onLoad attribute.\nfunction handleLoading(\n img: ImgElementWithDataProp,\n placeholder: PlaceholderValue,\n onLoadRef: React.MutableRefObject,\n onLoadingCompleteRef: React.MutableRefObject,\n setBlurComplete: (b: boolean) => void,\n unoptimized: boolean,\n sizesInput: string | undefined\n) {\n const src = img?.src\n if (!img || img['data-loaded-src'] === src) {\n return\n }\n img['data-loaded-src'] = src\n const p = 'decode' in img ? img.decode() : Promise.resolve()\n p.catch(() => {}).then(() => {\n if (!img.parentElement || !img.isConnected) {\n // Exit early in case of race condition:\n // - onload() is called\n // - decode() is called but incomplete\n // - unmount is called\n // - decode() completes\n return\n }\n if (placeholder !== 'empty') {\n setBlurComplete(true)\n }\n if (onLoadRef?.current) {\n // Since we don't have the SyntheticEvent here,\n // we must create one with the same shape.\n // See https://reactjs.org/docs/events.html\n const event = new Event('load')\n Object.defineProperty(event, 'target', { writable: false, value: img })\n let prevented = false\n let stopped = false\n onLoadRef.current({\n ...event,\n nativeEvent: event,\n currentTarget: img,\n target: img,\n isDefaultPrevented: () => prevented,\n isPropagationStopped: () => stopped,\n persist: () => {},\n preventDefault: () => {\n prevented = true\n event.preventDefault()\n },\n stopPropagation: () => {\n stopped = true\n event.stopPropagation()\n },\n })\n }\n if (onLoadingCompleteRef?.current) {\n onLoadingCompleteRef.current(img)\n }\n if (process.env.NODE_ENV !== 'production') {\n const origSrc = new URL(src, 'http://n').searchParams.get('url') || src\n if (img.getAttribute('data-nimg') === 'fill') {\n if (!unoptimized && (!sizesInput || sizesInput === '100vw')) {\n let widthViewportRatio =\n img.getBoundingClientRect().width / window.innerWidth\n if (widthViewportRatio < 0.6) {\n if (sizesInput === '100vw') {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" prop and \"sizes\" prop of \"100vw\", but image is not rendered at full viewport width. Please adjust \"sizes\" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n } else {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" but is missing \"sizes\" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n }\n }\n }\n if (img.parentElement) {\n const { position } = window.getComputedStyle(img.parentElement)\n const valid = ['absolute', 'fixed', 'relative']\n if (!valid.includes(position)) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and parent element with invalid \"position\". Provided \"${position}\" should be one of ${valid\n .map(String)\n .join(',')}.`\n )\n }\n }\n if (img.height === 0) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`\n )\n }\n }\n\n const heightModified =\n img.height.toString() !== img.getAttribute('height')\n const widthModified = img.width.toString() !== img.getAttribute('width')\n if (\n (heightModified && !widthModified) ||\n (!heightModified && widthModified)\n ) {\n warnOnce(\n `Image with src \"${origSrc}\" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: \"auto\"' or 'height: \"auto\"' to maintain the aspect ratio.`\n )\n }\n }\n })\n}\n\nfunction getDynamicProps(\n fetchPriority?: string\n): Record {\n if (Boolean(use)) {\n // In React 19.0.0 or newer, we must use camelCase\n // prop to avoid \"Warning: Invalid DOM property\".\n // See https://github.com/facebook/react/pull/25927\n return { fetchPriority }\n }\n // In React 18.2.0 or older, we must use lowercase prop\n // to avoid \"Warning: Invalid DOM property\".\n return { fetchpriority: fetchPriority }\n}\n\nconst ImageElement = forwardRef(\n (\n {\n src,\n srcSet,\n sizes,\n height,\n width,\n decoding,\n className,\n style,\n fetchPriority,\n placeholder,\n loading,\n unoptimized,\n fill,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n setShowAltText,\n sizesInput,\n onLoad,\n onError,\n ...rest\n },\n forwardedRef\n ) => {\n const ownRef = useCallback(\n (img: ImgElementWithDataProp | null) => {\n if (!img) {\n return\n }\n if (onError) {\n // If the image has an error before react hydrates, then the error is lost.\n // The workaround is to wait until the image is mounted which is after hydration,\n // then we set the src again to trigger the error handler (if there was an error).\n // eslint-disable-next-line no-self-assign\n img.src = img.src\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!src) {\n console.error(`Image is missing required \"src\" property:`, img)\n }\n if (img.getAttribute('alt') === null) {\n console.error(\n `Image is missing required \"alt\" property. Please add Alternative Text to describe the image for screen readers and search engines.`\n )\n }\n }\n if (img.complete) {\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }\n },\n [\n src,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n onError,\n unoptimized,\n sizesInput,\n ]\n )\n\n const ref = useMergedRef(forwardedRef, ownRef)\n\n return (\n {\n const img = event.currentTarget as ImgElementWithDataProp\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }}\n onError={(event) => {\n // if the real image fails to load, this will ensure \"alt\" is visible\n setShowAltText(true)\n if (placeholder !== 'empty') {\n // If the real image fails to load, this will still remove the placeholder.\n setBlurComplete(true)\n }\n if (onError) {\n onError(event)\n }\n }}\n />\n )\n }\n)\n\nfunction ImagePreload({\n isAppRouter,\n imgAttributes,\n}: {\n isAppRouter: boolean\n imgAttributes: ImgProps\n}) {\n const opts: ReactDOM.PreloadOptions = {\n as: 'image',\n imageSrcSet: imgAttributes.srcSet,\n imageSizes: imgAttributes.sizes,\n crossOrigin: imgAttributes.crossOrigin,\n referrerPolicy: imgAttributes.referrerPolicy,\n ...getDynamicProps(imgAttributes.fetchPriority),\n }\n\n if (isAppRouter && ReactDOM.preload) {\n ReactDOM.preload(imgAttributes.src, opts)\n return null\n }\n\n return (\n \n \n \n )\n}\n\n/**\n * The `Image` component is used to optimize images.\n *\n * Read more: [Next.js docs: `Image`](https://nextjs.org/docs/app/api-reference/components/image)\n */\nexport const Image = forwardRef(\n (props, forwardedRef) => {\n const pagesRouter = useContext(RouterContext)\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter\n\n const configContext = useContext(ImageConfigContext)\n const config = useMemo(() => {\n const c = configEnv || configContext || imageConfigDefault\n\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n return {\n ...c,\n allSizes,\n deviceSizes,\n qualities,\n // During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include\n // security sensitive configs like `localPatterns`, which is needed\n // during the server render to ensure it's validated. Therefore use\n // configContext, which holds the config from the server for validation.\n localPatterns:\n typeof window === 'undefined'\n ? configContext?.localPatterns\n : c.localPatterns,\n }\n }, [configContext])\n\n const { onLoad, onLoadingComplete } = props\n const onLoadRef = useRef(onLoad)\n\n useEffect(() => {\n onLoadRef.current = onLoad\n }, [onLoad])\n\n const onLoadingCompleteRef = useRef(onLoadingComplete)\n\n useEffect(() => {\n onLoadingCompleteRef.current = onLoadingComplete\n }, [onLoadingComplete])\n\n const [blurComplete, setBlurComplete] = useState(false)\n const [showAltText, setShowAltText] = useState(false)\n const { props: imgAttributes, meta: imgMeta } = getImgProps(props, {\n defaultLoader,\n imgConf: config,\n blurComplete,\n showAltText,\n })\n\n return (\n <>\n {\n \n }\n {imgMeta.preload ? (\n \n ) : null}\n \n )\n }\n)\n","import type { NextConfig } from '../../server/config-shared'\n\n/**\n * Find the closest matching `quality` in the list of `config.qualities`\n * @param quality the quality prop passed to the image component\n * @param config the \"images\" configuration from next.config.js\n * @returns the closest matching quality value\n */\nexport function findClosestQuality(\n quality: number | undefined,\n config: NextConfig['images'] | undefined\n): number {\n const q = quality || 75\n if (!config?.qualities?.length) {\n return q\n }\n return config.qualities.reduce(\n (prev, cur) => (Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev),\n config.qualities[0]\n )\n}\n","import type { ImageLoaderPropsWithConfig } from './image-config'\nimport { findClosestQuality } from './find-closest-quality'\nimport { getDeploymentId } from './deployment-id'\n\nfunction defaultLoader({\n config,\n src,\n width,\n quality,\n}: ImageLoaderPropsWithConfig): string {\n if (process.env.NODE_ENV !== 'production') {\n const missingValues = []\n\n // these should always be provided but make sure they are\n if (!src) missingValues.push('src')\n if (!width) missingValues.push('width')\n\n if (missingValues.length > 0) {\n throw new Error(\n `Next Image Optimization requires ${missingValues.join(\n ', '\n )} to be provided. Make sure you pass them as props to the \\`next/image\\` component. Received: ${JSON.stringify(\n { src, width, quality }\n )}`\n )\n }\n }\n\n // Extract dpl parameter early so validation uses the clean URL.\n // If a immutable asset token should be used, it was already added as a query parameter and will\n // be extracted and reused here.\n let deploymentId = getDeploymentId()\n if (src.startsWith('/') && !src.startsWith('//')) {\n // We unfortunately can't easily use `new URL()` here, because it normalizes the URL which causes\n // double-encoding with the `encodeURIComponent(src)` below\n const qIndex = src.indexOf('?')\n if (qIndex !== -1) {\n const params = new URLSearchParams(src.slice(qIndex + 1))\n const srcDpl = params.get('dpl')\n if (srcDpl) {\n deploymentId = srcDpl\n params.delete('dpl')\n const remaining = params.toString()\n src = src.slice(0, qIndex) + (remaining ? '?' + remaining : '')\n }\n }\n }\n\n if (\n src.startsWith('/') &&\n src.includes('?') &&\n config.localPatterns?.length === 1 &&\n config.localPatterns[0].pathname === '**' &&\n config.localPatterns[0].search === ''\n ) {\n throw new Error(\n `Image with src \"${src}\" is using a query string which is not configured in images.localPatterns.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (src.startsWith('//')) {\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`\n )\n }\n\n if (src.startsWith('/') && config.localPatterns) {\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasLocalMatch } =\n require('./match-local-pattern') as typeof import('./match-local-pattern')\n if (!hasLocalMatch(config.localPatterns, src)) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\` does not match \\`images.localPatterns\\` configured in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n }\n }\n\n if (!src.startsWith('/') && (config.domains || config.remotePatterns)) {\n let parsedSrc: URL\n try {\n parsedSrc = new URL(src)\n } catch (err) {\n console.error(err)\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, if using relative image it must start with a leading slash \"/\" or be an absolute URL (http:// or https://)`\n )\n }\n\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasRemoteMatch } =\n require('./match-remote-pattern') as typeof import('./match-remote-pattern')\n if (\n !hasRemoteMatch(config.domains!, config.remotePatterns!, parsedSrc)\n ) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\`, hostname \"${parsedSrc.hostname}\" is not configured under images in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`\n )\n }\n }\n }\n }\n\n const q = findClosestQuality(quality, config)\n\n return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${q}${\n src.startsWith('/') && deploymentId ? `&dpl=${deploymentId}` : ''\n }`\n}\n\n// We use this to determine if the import is the default loader\n// or a custom loader defined by the user in next.config.js\ndefaultLoader.__next_img_default = true\n\nexport default defaultLoader\n","import type { ImageConfigComplete, ImageLoaderProps } from './image-config'\nimport type { ImageProps, ImageLoader, StaticImageData } from './get-img-props'\n\nimport { getImgProps } from './get-img-props'\nimport { Image } from '../../client/image-component'\n\n// This is replaced by webpack alias\nimport defaultLoader from 'next/dist/shared/lib/image-loader'\n\n/**\n * For more advanced use cases, you can call `getImageProps()`\n * to get the props that would be passed to the underlying `` element,\n * and instead pass to them to another component, style, canvas, etc.\n *\n * Read more: [Next.js docs: `getImageProps`](https://nextjs.org/docs/app/api-reference/components/image#getimageprops)\n */\nexport function getImageProps(imgProps: ImageProps) {\n const { props } = getImgProps(imgProps, {\n defaultLoader,\n // This is replaced by webpack define plugin\n imgConf: process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete,\n })\n // Normally we don't care about undefined props because we pass to JSX,\n // but this exported function could be used by the end user for anything\n // so we delete undefined props to clean it up a little.\n for (const [key, value] of Object.entries(props)) {\n if (value === undefined) {\n delete props[key as keyof typeof props]\n }\n }\n return { props }\n}\n\nexport default Image\n\nexport type { ImageProps, ImageLoaderProps, ImageLoader, StaticImageData }\n","module.exports = require('./dist/shared/lib/image-external')\n"],"names":["CountUp","Error","Magnetic","ParallaxSection","RevealText","ScaleReveal","ScrollReveal","ShimmerText","SlideReveal","StaggerChildren","Tilt3D","createClientModuleProxy","__turbopack_context__","n","LinkComponent","useLinkStatus","isModifiedEvent","event","eventTarget","currentTarget","target","getAttribute","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","linkClicked","e","href","linkInstanceRef","replace","scroll","onNavigate","transitionTypes","window","nodeName","isAnchorNodeName","toUpperCase","hasAttribute","isLocalURL","preventDefault","location","isDefaultPrevented","dispatchNavigateAction","require","React","startTransition","ScrollBehavior","NoScroll","Default","current","formatStringOrUrl","urlObjOrString","formatUrl","props","linkStatus","setOptimisticLinkStatus","useOptimistic","IDLE_LINK_STATUS","children","useRef","hrefProp","as","asProp","childrenProp","prefetch","prefetchProp","passHref","shallow","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","ref","forwardedRef","unstable_dynamicOnHover","restProps","a","router","useContext","AppRouterContext","prefetchEnabled","fetchStrategy","getFetchStrategyFromPrefetchProp","FetchStrategy","PPR","process","env","NODE_ENV","createPropError","args","key","expected","actual","requiredPropsGuard","requiredProps","Object","keys","forEach","_","optionalPropsGuard","optionalProps","valType","Array","isArray","resolvedHref","formattedHref","locale","warnOnce","pathname","hasDynamicSegment","split","some","segment","startsWith","endsWith","child","$$typeof","Symbol","for","console","warn","Children","only","err","type","childRef","observeLinkVisibilityOnMount","useCallback","element","mountLinkInstance","unmountLinkForCurrentNavigation","unmountPrefetchableInstance","mergedRef","useMergedRef","childProps","defaultPrevented","upgradeToDynamicPrefetch","onNavigationIntent","__NEXT_LINK_NO_TOUCH_START","undefined","isAbsoluteUrl","addBasePath","link","errorOnce","cloneElement","LinkStatusContext","Provider","value","createContext","__NEXT_CACHE_COMPONENTS","Full","isLegacyBehavior","childIsHostComponent","childIsClientComponent","error","ClientLinkComponent","_interop_require_default","obj","__esModule","default","exports","warnings","Set","msg","has","add","getAssetToken","getAssetTokenQuery","getDeploymentId","getDeploymentIdQuery","deploymentId","document","documentElement","dataset","dplId","NEXT_DEPLOYMENT_ID","ampersand","id","NEXT_IMMUTABLE_ASSET_TOKEN","getImageBlurSvg","widthInt","heightInt","blurWidth","blurHeight","blurDataURL","objectFit","std","svgWidth","svgHeight","viewBox","preserveAspectRatio","VALID_LOADERS","imageConfigDefault","deviceSizes","imageSizes","path","loader","loaderFile","domains","disableStaticImages","minimumCacheTTL","formats","maximumDiskCacheSize","maximumRedirects","maximumResponseBody","dangerouslyAllowLocalIP","dangerouslyAllowSVG","contentSecurityPolicy","contentDispositionType","localPatterns","remotePatterns","qualities","unoptimized","customCacheHandler","getImgProps","VALID_LOADING_VALUES","INVALID_BACKGROUND_SIZE_VALUES","isStaticRequire","src","isStaticImageData","isStaticImport","allImgs","Map","perfObserver","getInt","x","Number","isFinite","NaN","test","parseInt","getWidths","allSizes","width","sizes","viewportWidthRe","percentSizes","match","exec","push","length","smallestRatio","Math","min","widths","filter","s","kind","map","w","find","p","generateImgAttrs","config","quality","qIndex","indexOf","params","URLSearchParams","slice","srcDpl","get","append","toString","srcSet","last","i","join","priority","preload","loading","className","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","fetchPriority","decoding","layout","objectPosition","lazyBoundary","lazyRoot","rest","_state","imgConf","showAltText","blurComplete","defaultLoader","c","sort","b","isDefaultLoader","customImageLoader","opts","layoutToStyle","intrinsic","maxWidth","responsive","layoutToSizes","layoutStyle","layoutSizes","staticSrc","staticImageData","JSON","stringify","ratio","round","isLazy","qualityInt","output","position","isNaN","includes","String","VALID_BLUR_EXT","urlStr","url","URL","search","legacyKey","legacyValue","entries","PerformanceObserver","entryList","entry","getEntries","imgSrc","lcpImage","observe","buffered","imgStyle","assign","left","top","right","bottom","color","backgroundImage","backgroundSize","placeholderStyle","backgroundPosition","backgroundRepeat","imgAttributes","loadingFinal","fullUrl","set","meta","Image","configEnv","__NEXT_IMAGE_OPTS","globalThis","__NEXT_IMAGE_IMPORTED","handleLoading","img","onLoadRef","onLoadingCompleteRef","setBlurComplete","sizesInput","decode","Promise","resolve","catch","then","parentElement","isConnected","Event","defineProperty","writable","prevented","stopped","isPropagationStopped","persist","stopPropagation","origSrc","searchParams","widthViewportRatio","getBoundingClientRect","innerWidth","getComputedStyle","valid","heightModified","widthModified","getDynamicProps","Boolean","use","fetchpriority","ImageElement","forwardRef","setShowAltText","onError","ownRef","complete","data-nimg","ImagePreload","isAppRouter","imageSrcSet","crossOrigin","referrerPolicy","ReactDOM","Head","rel","pagesRouter","RouterContext","configContext","ImageConfigContext","useMemo","useEffect","useState","imgMeta","findClosestQuality","q","reduce","prev","cur","abs","missingValues","delete","remaining","NEXT_RUNTIME","hasLocalMatch","parsedSrc","hasRemoteMatch","hostname","encodeURIComponent","__next_img_default","getImageProps","imgProps","module"],"mappings":"kPACA,IAAA,EAAA,EAAA,CAAA,CAAA,OACO,IAAMA,EAAU,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAC1C,WAAa,MAAM,AAAIC,MAAM,4NAA8N,EAC3P,0DACA,WAESC,EAAW,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAC3C,WAAa,MAAUD,AAAJ,MAAU,8NAAgO,EAC7P,0DACA,YAESE,EAAkB,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAClD,WAAa,MAAM,AAAIF,MAAM,4OAA8O,EAC3Q,0DACA,mBAESG,EAAa,CAAA,EAAA,EAAA,uBAAuB,AAAvB,EACtB,WAAa,MAAM,AAAIH,MAAM,kOAAoO,EACjQ,0DACA,cAESI,EAAc,CAAA,EAAA,EAAA,uBAAuB,AAAvB,EACvB,WAAa,MAAM,AAAIJ,MAAM,oOAAsO,EACnQ,0DACA,eAESK,EAAe,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAC/C,WAAa,MAAM,AAAIL,MAAM,sOAAwO,EACrQ,0DACA,gBAESM,EAAc,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAC9C,WAAa,MAAM,AAAIN,MAAM,oOAAsO,EACnQ,0DACA,eAESO,EAAc,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAC9C,WAAa,MAAM,AAAIP,MAAM,oOAAsO,EACnQ,0DACA,eAESQ,EAAkB,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAClD,WAAa,MAAUR,AAAJ,MAAU,4OAA8O,EAC3Q,0DACA,mBAESS,EAAS,CAAA,EAAA,EAAA,uBAAA,A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AC0Q,iBAAiB,qJACxC,GAIA,IAAK,GAAM,CAACtQ,EAAKyD,EAAM,GAAIpD,OAAOqO,OAAO,CAACjR,OAAQ,CAClCwF,IAAVQ,GACF,IADuB,GAChBhG,CAAK,CAACuC,EAA0B,CAG3C,MAAO,OAAEvC,CAAM,CACjB,KAEA,EAAe2S,EAAAA,KAAK,iBCjCpBgF,EAAO9Q,OAAO,CAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,3,4,5,6,7,8,9,10,12,13,14,15]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_0zmlo4s._.js b/.next/server/chunks/ssr/_0zmlo4s._.js deleted file mode 100644 index 3041c8d..0000000 --- a/.next/server/chunks/ssr/_0zmlo4s._.js +++ /dev/null @@ -1,214 +0,0 @@ -module.exports=[32245,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"BailoutToCSR",{enumerable:!0,get:function(){return e}});let d=a.r(41997);function e({reason:a,children:b}){throw Object.defineProperty(new d.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},7773,(a,b,c)=>{"use strict";function d(a){return a.split("/").map(a=>encodeURIComponent(a)).join("/")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"encodeURIPath",{enumerable:!0,get:function(){return d}})},97458,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"PreloadChunks",{enumerable:!0,get:function(){return i}});let d=a.r(87924),e=a.r(35112),f=a.r(56704),g=a.r(7773),h=a.r(68063);function i({moduleIds:a}){let b=f.workAsyncStorage.getStore();if(void 0===b)return null;let c=[];if(b.reactLoadableManifest&&a){let d=b.reactLoadableManifest;for(let b of a){if(!d[b])continue;let a=d[b].files;c.push(...a)}}if(0===c.length)return null;let j=(0,h.getAssetTokenQuery)();return(0,d.jsx)(d.Fragment,{children:c.map(a=>{let c=`${b.assetPrefix}/_next/${(0,g.encodeURIPath)(a)}${j}`;return a.endsWith(".css")?(0,d.jsx)("link",{precedence:"dynamic",href:c,rel:"stylesheet",as:"style",nonce:b.nonce},a):((0,e.preload)(c,{as:"script",fetchPriority:"low",nonce:b.nonce}),null)})})}},69853,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return j}});let d=a.r(87924),e=a.r(72131),f=a.r(32245),g=a.r(97458);function h(a){return{default:a&&"default"in a?a.default:a}}let i={loader:()=>Promise.resolve(h(()=>null)),loading:null,ssr:!0},j=function(a){let b={...i,...a},c=(0,e.lazy)(()=>b.loader().then(h)),j=b.loading;function k(a){let h=j?(0,d.jsx)(j,{isLoading:!0,pastDelay:!0,error:null}):null,i=!b.ssr||!!b.loading,k=i?e.Suspense:e.Fragment,l=b.ssr?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.PreloadChunks,{moduleIds:b.modules}),(0,d.jsx)(c,{...a})]}):(0,d.jsx)(f.BailoutToCSR,{reason:"next/dynamic",children:(0,d.jsx)(c,{...a})});return(0,d.jsx)(k,{...i?{fallback:h}:{},children:l})}return k.displayName="LoadableComponent",k}},19721,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return e}});let d=a.r(33354)._(a.r(69853));function e(a,b){let c={};"function"==typeof a&&(c.loader=a);let e={...c,...b};return(0,d.default)({...e,modules:e.loadableGenerated?.modules})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},690,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(35112);a.s(["default",0,function(){(0,d.preload)("/images/home2-banner-1.webp",{as:"image"});let[a,e]=(0,c.useState)(0);(0,c.useEffect)(()=>{let a=setInterval(()=>{e(a=>+(0===a))},7e3);return()=>clearInterval(a)},[]);let f=a=>{e(a)};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .howits-hero-custom-bg.elementor-repeater-item-3264830, - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home2-banner-1.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-2.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - /* Center alignments for standard content slider elements */ - .elementor-element.elementor-element-6c7cbcb .slide-content { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - height: 100% !important; - padding: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content-inner { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - max-width: 1000px !important; - margin: 0 auto !important; - /* site.css gives the inner content-box sizing + 20px padding, - which makes it 40px wider than its parent and overflows. - Force border-box so width:100% actually fits. */ - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading, - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading .heading-content { - text-align: center !important; - display: block !important; - width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text { - display: flex !important; - justify-content: center !important; - width: 100% !important; - margin-top: 23px !important; - } - - .elementor-element.elementor-element-6c7cbcb .text-content { - text-align: center !important; - max-width: 820px !important; - margin: 0 auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - /* Larger, more readable hero subtitle on large/4K screens */ - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text p { - font-size: clamp(16px, 1.35vw, 23px) !important; - line-height: 1.65 !important; - } - - @media (min-width: 1025px) { - /* Match Home's hero frame so the floating navbar sits with the same - breathing space. Home (.elementor-61) frames the hero card at 20px; - this page falls through to the shared kit's 32px base. */ - .elementor-element.elementor-element-741f56c { - padding: 20px !important; - } - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - height: 800px !important; - min-height: 800px !important; - } - } - - @media (max-width: 1024px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - overflow: hidden !important; - border-radius: 25px !important; - } - - /* Collapse the stage-outer to the slide height so no empty - black space is left below the hero card on mobile/tablet. */ - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 620px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - width: 100% !important; - min-height: 620px !important; - height: 620px !important; - border-radius: 25px !important; - overflow: hidden !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content { - width: 100% !important; - min-height: 620px !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - } - - @media (max-width: 767px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - border-radius: 22px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 560px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - min-height: 560px !important; - height: 560px !important; - border-radius: 22px !important; - } - - /* Center BOTH slides' content. Use the .elementor prefix + - repeater-item classes so these beat the per-slide rules in - site.css (slide 1 has no centering there; slide 2 carries an - asymmetric top margin). */ - .elementor .elementor-element.elementor-element-6c7cbcb .slide-content { - min-height: 560px !important; - padding-left: 0 !important; - padding-right: 0 !important; - align-items: center !important; - justify-content: center !important; - text-align: center !important; - } - - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-3264830 .slide-content-inner, - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-6867061 .slide-content-inner { - margin: 0 auto !important; - width: 100% !important; - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - align-items: center !important; - text-align: center !important; - } - - .elementor .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading, - .elementor .elementor-element.elementor-element-6c7cbcb .content-slider-item-text, - .elementor .elementor-element.elementor-element-6c7cbcb .text-content { - text-align: center !important; - margin-left: auto !important; - margin-right: auto !important; - } - - /* Smaller, fitting heading so it never overflows the card edge. - site.css forced clamp(38px,11vw,48px) which clipped at 320px. */ - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-3264830 .content-slider-item-heading, - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-6867061 .content-slider-item-heading { - max-width: 100% !important; - font-size: clamp(26px, 8vw, 34px) !important; - line-height: 1.12 !important; - overflow-wrap: break-word !important; - } - - /* Slide counter ("01/02"): keep it bottom-RIGHT, aligned with the - hero text padding (22px) and lifted cleanly off the edge. */ - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer { - text-align: right !important; - margin-bottom: 24px !important; - } - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer .slider-pagination { - justify-content: flex-end !important; - margin-left: 22px !important; - margin-right: 22px !important; - } - /* The wide dot navigation eats the right side and shoves "01/02" to - the centre. Hide it on mobile (matching the home hero) so the - counter sits cleanly on the right. */ - .elementor .elementor-element.elementor-element-6c7cbcb .owl-dots { - display: none !important; - } - /* Hide the prev/next arrows on mobile (they overlap the counter) — - slides still auto-rotate, matching the home hero. */ - .elementor .elementor-element.elementor-element-6c7cbcb .owl-nav { - display: none !important; - } - } - `}}),(0,b.jsx)("div",{className:"elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:(0,b.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,b.jsx)("div",{className:"elementor-widget-container",children:(0,b.jsx)("div",{className:"logico-content-slider-widget",children:(0,b.jsx)("div",{className:"content-slider-wrapper",children:(0,b.jsx)("div",{className:"content-slider-container",children:(0,b.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",children:[(0,b.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden",height:"800px"},children:(0,b.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,b.jsx)("div",{className:`owl-item ${0===a?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===a),visibility:0===a?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===a?2:1},children:(0,b.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard howits-hero-custom-bg",children:(0,b.jsx)("div",{className:"slide-content",children:(0,b.jsxs)("div",{className:"slide-content-inner",children:[(0,b.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,b.jsxs)("span",{className:"heading-content",children:["One Journey. Complete",(0,b.jsx)("br",{}),"Control."]})}),(0,b.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,b.jsx)("div",{className:"text-content",children:(0,b.jsx)("p",{children:"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."})})})]})})})}),(0,b.jsx)("div",{className:`owl-item ${1===a?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===a),visibility:1===a?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===a?2:1},children:(0,b.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard howits-hero-custom-bg",children:(0,b.jsx)("div",{className:"slide-content",children:(0,b.jsxs)("div",{className:"slide-content-inner",children:[(0,b.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,b.jsxs)("span",{className:"heading-content",children:["A New Logisitics",(0,b.jsx)("br",{}),"Experience"]})}),(0,b.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,b.jsx)("div",{className:"text-content",children:(0,b.jsx)("p",{children:"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."})})})]})})})})]})}),(0,b.jsxs)("div",{className:"owl-nav",children:[(0,b.jsx)("button",{type:"button",className:"owl-next",onClick:()=>e(a=>+(0===a)),"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,b.jsx)("button",{type:"button",className:"owl-prev",onClick:()=>e(a=>+(0===a)),"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,b.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,b.jsx)("div",{className:"slider-footer-content",children:(0,b.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px"},children:[(0,b.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,b.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,b.jsx)("span",{className:"slider-progress-current",children:0===a?"01":"02"})," / ",(0,b.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,b.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,b.jsx)("div",{style:{position:"absolute",left:0===a?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,b.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,b.jsx)("button",{type:"button",role:"button",className:`owl-dot ${0===a?"active":""}`,onClick:()=>f(0),children:(0,b.jsx)("span",{})}),(0,b.jsx)("button",{type:"button",role:"button",className:`owl-dot ${1===a?"active":""}`,onClick:()=>f(1),children:(0,b.jsx)("span",{})})]})]})})})]})})})})})})})]})}])},27800,a=>{"use strict";var b=a.i(87924);let c=(0,a.i(19721).default)(async()=>{},{loadableGenerated:{modules:[88493]},ssr:!1,loading:()=>(0,b.jsx)("div",{style:{minHeight:"100vh"},"aria-hidden":!0})});a.s(["default",0,function(){return(0,b.jsx)(c,{})}])}]; - -//# sourceMappingURL=_0zmlo4s._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_0zmlo4s._.js.map b/.next/server/chunks/ssr/_0zmlo4s._.js.map deleted file mode 100644 index 68b0aa7..0000000 --- a/.next/server/chunks/ssr/_0zmlo4s._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/shared/lib/lazy-dynamic/dynamic-bailout-to-csr.tsx","../../../../node_modules/next/src/shared/lib/encode-uri-path.ts","../../../../node_modules/next/src/shared/lib/lazy-dynamic/preload-chunks.tsx","../../../../node_modules/next/src/shared/lib/lazy-dynamic/loadable.tsx","../../../../node_modules/next/src/shared/lib/app-dynamic.tsx","../../../../src/components/sections/HowItWorksHero.tsx","../../../../src/modules/how-it-works-3d/Experience3DLoader.tsx"],"sourcesContent":["'use client'\n\nimport type { ReactElement } from 'react'\nimport { BailoutToCSRError } from './bailout-to-csr'\n\ninterface BailoutToCSRProps {\n reason: string\n children: ReactElement\n}\n\n/**\n * If rendered on the server, this component throws an error\n * to signal Next.js that it should bail out to client-side rendering instead.\n */\nexport function BailoutToCSR({ reason, children }: BailoutToCSRProps) {\n if (typeof window === 'undefined') {\n throw new BailoutToCSRError(reason)\n }\n\n return children\n}\n","export function encodeURIPath(file: string) {\n return file\n .split('/')\n .map((p) => encodeURIComponent(p))\n .join('/')\n}\n","'use client'\n\nimport { preload } from 'react-dom'\n\nimport { workAsyncStorage } from '../../../server/app-render/work-async-storage.external'\nimport { encodeURIPath } from '../encode-uri-path'\nimport { getAssetTokenQuery } from '../deployment-id'\n\nexport function PreloadChunks({\n moduleIds,\n}: {\n moduleIds: string[] | undefined\n}) {\n // Early return in client compilation and only load requestStore on server side\n if (typeof window !== 'undefined') {\n return null\n }\n\n const workStore = workAsyncStorage.getStore()\n if (workStore === undefined) {\n return null\n }\n\n const allFiles = []\n\n // Search the current dynamic call unique key id in react loadable manifest,\n // and find the corresponding CSS files to preload\n if (workStore.reactLoadableManifest && moduleIds) {\n const manifest = workStore.reactLoadableManifest\n for (const key of moduleIds) {\n if (!manifest[key]) continue\n const chunks = manifest[key].files\n allFiles.push(...chunks)\n }\n }\n\n if (allFiles.length === 0) {\n return null\n }\n\n const query = getAssetTokenQuery()\n\n return (\n <>\n {allFiles.map((chunk) => {\n const href = `${workStore.assetPrefix}/_next/${encodeURIPath(chunk)}${query}`\n const isCss = chunk.endsWith('.css')\n // If it's stylesheet we use `precedence` o help hoist with React Float.\n // For stylesheets we actually need to render the CSS because nothing else is going to do it so it needs to be part of the component tree.\n // The `preload` for stylesheet is not optional.\n if (isCss) {\n return (\n \n )\n } else {\n // If it's script we use ReactDOM.preload to preload the resources\n preload(href, {\n as: 'script',\n fetchPriority: 'low',\n nonce: workStore.nonce,\n })\n return null\n }\n })}\n \n )\n}\n","import { Suspense, Fragment, lazy } from 'react'\nimport { BailoutToCSR } from './dynamic-bailout-to-csr'\nimport type { ComponentModule } from './types'\nimport { PreloadChunks } from './preload-chunks'\n\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule

(\n mod: React.ComponentType

| ComponentModule

| undefined\n): {\n default: React.ComponentType

\n} {\n // Check \"default\" prop before accessing it, as it could be client reference proxy that could break it reference.\n // Cases:\n // mod: { default: Component }\n // mod: Component\n // mod: { default: proxy(Component) }\n // mod: proxy(Component)\n const hasDefault = mod && 'default' in mod\n return {\n default: hasDefault\n ? (mod as ComponentModule

).default\n : (mod as React.ComponentType

),\n }\n}\n\nconst defaultOptions = {\n loader: () => Promise.resolve(convertModule(() => null)),\n loading: null,\n ssr: true,\n}\n\ninterface LoadableOptions {\n loader?: () => Promise | ComponentModule>\n loading?: React.ComponentType | null\n ssr?: boolean\n modules?: string[]\n}\n\nfunction Loadable(options: LoadableOptions) {\n const opts = { ...defaultOptions, ...options }\n const Lazy = lazy(() => opts.loader().then(convertModule))\n const Loading = opts.loading\n\n function LoadableComponent(props: any) {\n const fallbackElement = Loading ? (\n \n ) : null\n\n // If it's non-SSR or provided a loading component, wrap it in a suspense boundary\n const hasSuspenseBoundary = !opts.ssr || !!opts.loading\n const Wrap = hasSuspenseBoundary ? Suspense : Fragment\n const wrapProps = hasSuspenseBoundary ? { fallback: fallbackElement } : {}\n const children = opts.ssr ? (\n <>\n {/* During SSR, we need to preload the CSS from the dynamic component to avoid flash of unstyled content */}\n {typeof window === 'undefined' ? (\n \n ) : null}\n \n \n ) : (\n \n \n \n )\n\n return {children}\n }\n\n LoadableComponent.displayName = 'LoadableComponent'\n\n return LoadableComponent\n}\n\nexport default Loadable\n","import type React from 'react'\nimport type { JSX } from 'react'\nimport Loadable from './lazy-dynamic/loadable'\n\nimport type {\n LoadableGeneratedOptions,\n DynamicOptionsLoadingProps,\n Loader,\n LoaderComponent,\n} from './lazy-dynamic/types'\n\nexport {\n type LoadableGeneratedOptions,\n type DynamicOptionsLoadingProps,\n type Loader,\n type LoaderComponent,\n}\n\nexport type DynamicOptions

= LoadableGeneratedOptions & {\n loading?: () => JSX.Element | null\n loader?: Loader

\n loadableGenerated?: LoadableGeneratedOptions\n modules?: string[]\n ssr?: boolean\n}\n\nexport type LoadableOptions

= DynamicOptions

\n\nexport type LoadableFn

= (\n opts: LoadableOptions

\n) => React.ComponentType

\n\nexport type LoadableComponent

= React.ComponentType

\n\nexport default function dynamic

(\n dynamicOptions: DynamicOptions

| Loader

,\n options?: DynamicOptions

\n): React.ComponentType

{\n const loadableOptions: LoadableOptions

= {}\n\n if (typeof dynamicOptions === 'function') {\n loadableOptions.loader = dynamicOptions\n }\n\n const mergedOptions = {\n ...loadableOptions,\n ...options,\n }\n\n return Loadable({\n ...mergedOptions,\n modules: mergedOptions.loadableGenerated?.modules,\n })\n}\n","\"use client\";\n\nimport React, { useState, useEffect } from \"react\";\nimport { preload } from \"react-dom\";\n\nexport default function HowItWorksHero() {\n preload(\"/images/home2-banner-1.webp\", { as: \"image\" });\n const [activeSlide, setActiveSlide] = useState(0);\n\n // Auto-slide every 7 seconds — slower, more readable, professional pacing\n useEffect(() => {\n const interval = setInterval(() => {\n setActiveSlide((prev) => (prev === 0 ? 1 : 0));\n }, 7000);\n return () => clearInterval(interval);\n }, []);\n\n const handleDotClick = (index: number) => {\n setActiveSlide(index);\n };\n\n return (\n <>\n \n

\n
\n
\n
\n
\n \n \n {/* Slide 1 */}\n \n
\n
\n
\n

\n \n One Journey. Complete\n
\n Control.\n
\n

\n
\n
\n

\n See how Doormile connects first, mid, and\n last mile into a seamless delivery\n experience powered by MileTruth™ AI.\n

\n
\n
\n
\n
\n
\n
\n\n {/* Slide 2 */}\n \n
\n
\n
\n

\n \n A New Logisitics\n
\n Experience\n
\n

\n
\n
\n

\n See how Doormile connects first, mid, and\n last mile into a seamless delivery\n experience powered by MileTruth™ AI.\n

\n
\n
\n
\n
\n
\n
\n
\n
\n\n {/* Navigation controls (prev/next) — matches the home hero slider */}\n
\n \n setActiveSlide((prev) => (prev === 0 ? 1 : 0))\n }\n aria-label=\"Next\"\n style={{\n cursor: \"pointer\",\n border: \"none\",\n outline: \"none\",\n }}\n />\n \n setActiveSlide((prev) => (prev === 0 ? 1 : 0))\n }\n aria-label=\"Previous\"\n style={{\n cursor: \"pointer\",\n border: \"none\",\n outline: \"none\",\n }}\n />\n
\n\n {/* Progress indicators */}\n
\n
\n \n \n \n \n {activeSlide === 0 ? \"01\" : \"02\"}\n \n {\" / \"}\n \n 02\n \n
\n {/* Progress line — red bar slides to match the active slide (mirrors the home hero) */}\n \n \n
\n
\n \n handleDotClick(0)}\n >\n \n \n handleDotClick(1)}\n >\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n );\n}\n","\"use client\";\n\nimport dynamic from \"next/dynamic\";\n\n/**\n * Client-only loader for the 3D How It Works experience.\n *\n * `ssr: false` is required: the experience uses React Three Fiber, a Zustand\n * store, Lenis, and `window`/`AudioContext` — all client-only. The 100vh\n * placeholder reserves space so the page doesn't jump while the (large) GLB\n * scene and WebGL bundle load.\n */\nconst Experience3D = dynamic(() => import(\"./Experience3D\"), {\n ssr: false,\n loading: () =>
,\n});\n\nexport default function Experience3DLoader() {\n return ;\n}\n"],"names":["BailoutToCSR","reason","children","window","BailoutToCSRError","encodeURIPath","file","split","map","p","encodeURIComponent","join","PreloadChunks","moduleIds","workStore","workAsyncStorage","getStore","undefined","allFiles","reactLoadableManifest","manifest","key","chunks","files","push","length","query","getAssetTokenQuery","chunk","href","assetPrefix","isCss","endsWith","link","precedence","rel","as","nonce","preload","fetchPriority","convertModule","mod","hasDefault","default","defaultOptions","loader","Promise","resolve","loading","ssr","Loadable","options","opts","Lazy","lazy","then","Loading","LoadableComponent","props","fallbackElement","isLoading","pastDelay","error","hasSuspenseBoundary","Wrap","Suspense","Fragment","wrapProps","fallback","modules","displayName","dynamic","dynamicOptions","loadableOptions","mergedOptions","loadableGenerated","HowItWorksHero","activeSlide","setActiveSlide","interval","setInterval","prev","clearInterval","handleDotClick","index","dangerouslySetInnerHTML","__html","className","style","position","overflow","height","width","opacity","visibility","transition","zIndex","top","left","type","onClick","cursor","border","outline","display","justifyContent","alignItems","gap","marginRight","flexDirection","fontSize","fontWeight","color","marginBottom","background","borderRadius","role","Experience3D","minHeight","Experience3DLoader"],"mappings":"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tB,MAAO,CAAA,EAAA,EAAA,GAAA,EAACF,EAAAA,CAAAA,EACV","ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_12x1.3y._.js b/.next/server/chunks/ssr/_12x1.3y._.js deleted file mode 100644 index 9a8aabb..0000000 --- a/.next/server/chunks/ssr/_12x1.3y._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[32245,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"BailoutToCSR",{enumerable:!0,get:function(){return e}});let d=a.r(41997);function e({reason:a,children:b}){throw Object.defineProperty(new d.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},7773,(a,b,c)=>{"use strict";function d(a){return a.split("/").map(a=>encodeURIComponent(a)).join("/")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"encodeURIPath",{enumerable:!0,get:function(){return d}})},97458,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"PreloadChunks",{enumerable:!0,get:function(){return i}});let d=a.r(87924),e=a.r(35112),f=a.r(56704),g=a.r(7773),h=a.r(68063);function i({moduleIds:a}){let b=f.workAsyncStorage.getStore();if(void 0===b)return null;let c=[];if(b.reactLoadableManifest&&a){let d=b.reactLoadableManifest;for(let b of a){if(!d[b])continue;let a=d[b].files;c.push(...a)}}if(0===c.length)return null;let j=(0,h.getAssetTokenQuery)();return(0,d.jsx)(d.Fragment,{children:c.map(a=>{let c=`${b.assetPrefix}/_next/${(0,g.encodeURIPath)(a)}${j}`;return a.endsWith(".css")?(0,d.jsx)("link",{precedence:"dynamic",href:c,rel:"stylesheet",as:"style",nonce:b.nonce},a):((0,e.preload)(c,{as:"script",fetchPriority:"low",nonce:b.nonce}),null)})})}},69853,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return j}});let d=a.r(87924),e=a.r(72131),f=a.r(32245),g=a.r(97458);function h(a){return{default:a&&"default"in a?a.default:a}}let i={loader:()=>Promise.resolve(h(()=>null)),loading:null,ssr:!0},j=function(a){let b={...i,...a},c=(0,e.lazy)(()=>b.loader().then(h)),j=b.loading;function k(a){let h=j?(0,d.jsx)(j,{isLoading:!0,pastDelay:!0,error:null}):null,i=!b.ssr||!!b.loading,k=i?e.Suspense:e.Fragment,l=b.ssr?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.PreloadChunks,{moduleIds:b.modules}),(0,d.jsx)(c,{...a})]}):(0,d.jsx)(f.BailoutToCSR,{reason:"next/dynamic",children:(0,d.jsx)(c,{...a})});return(0,d.jsx)(k,{...i?{fallback:h}:{},children:l})}return k.displayName="LoadableComponent",k}},19721,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return e}});let d=a.r(33354)._(a.r(69853));function e(a,b){let c={};"function"==typeof a&&(c.loader=a);let e={...c,...b};return(0,d.default)({...e,modules:e.loadableGenerated?.modules})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},60003,a=>{a.v({addressLine:"OfficeMap-module__ToIo3G__addressLine",card:"OfficeMap-module__ToIo3G__card",cardBody:"OfficeMap-module__ToIo3G__cardBody",cardHeader:"OfficeMap-module__ToIo3G__cardHeader",cardIcon:"OfficeMap-module__ToIo3G__cardIcon",cardTitle:"OfficeMap-module__ToIo3G__cardTitle",controlBtn:"OfficeMap-module__ToIo3G__controlBtn",controlBtnActive:"OfficeMap-module__ToIo3G__controlBtnActive",controlBtnHq:"OfficeMap-module__ToIo3G__controlBtnHq",controls:"OfficeMap-module__ToIo3G__controls",errorList:"OfficeMap-module__ToIo3G__errorList",errorOverlay:"OfficeMap-module__ToIo3G__errorOverlay",errorText:"OfficeMap-module__ToIo3G__errorText",errorTitle:"OfficeMap-module__ToIo3G__errorTitle",hqPulse:"OfficeMap-module__ToIo3G__hqPulse",map:"OfficeMap-module__ToIo3G__map",mapMountReserve:"OfficeMap-module__ToIo3G__mapMountReserve",markerIcon:"OfficeMap-module__ToIo3G__markerIcon",markerIconHq:"OfficeMap-module__ToIo3G__markerIconHq",pinPulse:"OfficeMap-module__ToIo3G__pinPulse",popupFade:"OfficeMap-module__ToIo3G__popupFade",popupScale:"OfficeMap-module__ToIo3G__popupScale",root:"OfficeMap-module__ToIo3G__root",srOnly:"OfficeMap-module__ToIo3G__srOnly"})},40408,a=>{"use strict";var b=a.i(87924),c=a.i(19721),d=a.i(60003);let e=(0,c.default)(async()=>{},{loadableGenerated:{modules:[42391]},ssr:!1,loading:()=>(0,b.jsx)("div",{className:d.default.mapMountReserve,role:"presentation","aria-hidden":"true"})});a.s(["default",0,function(){return(0,b.jsx)(e,{})}])}]; - -//# sourceMappingURL=_12x1.3y._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_12x1.3y._.js.map b/.next/server/chunks/ssr/_12x1.3y._.js.map deleted file mode 100644 index 3d56111..0000000 --- a/.next/server/chunks/ssr/_12x1.3y._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/shared/lib/lazy-dynamic/dynamic-bailout-to-csr.tsx","../../../../node_modules/next/src/shared/lib/encode-uri-path.ts","../../../../node_modules/next/src/shared/lib/lazy-dynamic/preload-chunks.tsx","../../../../node_modules/next/src/shared/lib/lazy-dynamic/loadable.tsx","../../../../node_modules/next/src/shared/lib/app-dynamic.tsx","turbopack:///[project]/src/components/map/OfficeMap.module.css [app-ssr] (css module)","../../../../src/components/map/ContactMapEmbed.tsx"],"sourcesContent":["'use client'\n\nimport type { ReactElement } from 'react'\nimport { BailoutToCSRError } from './bailout-to-csr'\n\ninterface BailoutToCSRProps {\n reason: string\n children: ReactElement\n}\n\n/**\n * If rendered on the server, this component throws an error\n * to signal Next.js that it should bail out to client-side rendering instead.\n */\nexport function BailoutToCSR({ reason, children }: BailoutToCSRProps) {\n if (typeof window === 'undefined') {\n throw new BailoutToCSRError(reason)\n }\n\n return children\n}\n","export function encodeURIPath(file: string) {\n return file\n .split('/')\n .map((p) => encodeURIComponent(p))\n .join('/')\n}\n","'use client'\n\nimport { preload } from 'react-dom'\n\nimport { workAsyncStorage } from '../../../server/app-render/work-async-storage.external'\nimport { encodeURIPath } from '../encode-uri-path'\nimport { getAssetTokenQuery } from '../deployment-id'\n\nexport function PreloadChunks({\n moduleIds,\n}: {\n moduleIds: string[] | undefined\n}) {\n // Early return in client compilation and only load requestStore on server side\n if (typeof window !== 'undefined') {\n return null\n }\n\n const workStore = workAsyncStorage.getStore()\n if (workStore === undefined) {\n return null\n }\n\n const allFiles = []\n\n // Search the current dynamic call unique key id in react loadable manifest,\n // and find the corresponding CSS files to preload\n if (workStore.reactLoadableManifest && moduleIds) {\n const manifest = workStore.reactLoadableManifest\n for (const key of moduleIds) {\n if (!manifest[key]) continue\n const chunks = manifest[key].files\n allFiles.push(...chunks)\n }\n }\n\n if (allFiles.length === 0) {\n return null\n }\n\n const query = getAssetTokenQuery()\n\n return (\n <>\n {allFiles.map((chunk) => {\n const href = `${workStore.assetPrefix}/_next/${encodeURIPath(chunk)}${query}`\n const isCss = chunk.endsWith('.css')\n // If it's stylesheet we use `precedence` o help hoist with React Float.\n // For stylesheets we actually need to render the CSS because nothing else is going to do it so it needs to be part of the component tree.\n // The `preload` for stylesheet is not optional.\n if (isCss) {\n return (\n \n )\n } else {\n // If it's script we use ReactDOM.preload to preload the resources\n preload(href, {\n as: 'script',\n fetchPriority: 'low',\n nonce: workStore.nonce,\n })\n return null\n }\n })}\n \n )\n}\n","import { Suspense, Fragment, lazy } from 'react'\nimport { BailoutToCSR } from './dynamic-bailout-to-csr'\nimport type { ComponentModule } from './types'\nimport { PreloadChunks } from './preload-chunks'\n\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule

(\n mod: React.ComponentType

| ComponentModule

| undefined\n): {\n default: React.ComponentType

\n} {\n // Check \"default\" prop before accessing it, as it could be client reference proxy that could break it reference.\n // Cases:\n // mod: { default: Component }\n // mod: Component\n // mod: { default: proxy(Component) }\n // mod: proxy(Component)\n const hasDefault = mod && 'default' in mod\n return {\n default: hasDefault\n ? (mod as ComponentModule

).default\n : (mod as React.ComponentType

),\n }\n}\n\nconst defaultOptions = {\n loader: () => Promise.resolve(convertModule(() => null)),\n loading: null,\n ssr: true,\n}\n\ninterface LoadableOptions {\n loader?: () => Promise | ComponentModule>\n loading?: React.ComponentType | null\n ssr?: boolean\n modules?: string[]\n}\n\nfunction Loadable(options: LoadableOptions) {\n const opts = { ...defaultOptions, ...options }\n const Lazy = lazy(() => opts.loader().then(convertModule))\n const Loading = opts.loading\n\n function LoadableComponent(props: any) {\n const fallbackElement = Loading ? (\n \n ) : null\n\n // If it's non-SSR or provided a loading component, wrap it in a suspense boundary\n const hasSuspenseBoundary = !opts.ssr || !!opts.loading\n const Wrap = hasSuspenseBoundary ? Suspense : Fragment\n const wrapProps = hasSuspenseBoundary ? { fallback: fallbackElement } : {}\n const children = opts.ssr ? (\n <>\n {/* During SSR, we need to preload the CSS from the dynamic component to avoid flash of unstyled content */}\n {typeof window === 'undefined' ? (\n \n ) : null}\n \n \n ) : (\n \n \n \n )\n\n return {children}\n }\n\n LoadableComponent.displayName = 'LoadableComponent'\n\n return LoadableComponent\n}\n\nexport default Loadable\n","import type React from 'react'\nimport type { JSX } from 'react'\nimport Loadable from './lazy-dynamic/loadable'\n\nimport type {\n LoadableGeneratedOptions,\n DynamicOptionsLoadingProps,\n Loader,\n LoaderComponent,\n} from './lazy-dynamic/types'\n\nexport {\n type LoadableGeneratedOptions,\n type DynamicOptionsLoadingProps,\n type Loader,\n type LoaderComponent,\n}\n\nexport type DynamicOptions

= LoadableGeneratedOptions & {\n loading?: () => JSX.Element | null\n loader?: Loader

\n loadableGenerated?: LoadableGeneratedOptions\n modules?: string[]\n ssr?: boolean\n}\n\nexport type LoadableOptions

= DynamicOptions

\n\nexport type LoadableFn

= (\n opts: LoadableOptions

\n) => React.ComponentType

\n\nexport type LoadableComponent

= React.ComponentType

\n\nexport default function dynamic

(\n dynamicOptions: DynamicOptions

| Loader

,\n options?: DynamicOptions

\n): React.ComponentType

{\n const loadableOptions: LoadableOptions

= {}\n\n if (typeof dynamicOptions === 'function') {\n loadableOptions.loader = dynamicOptions\n }\n\n const mergedOptions = {\n ...loadableOptions,\n ...options,\n }\n\n return Loadable({\n ...mergedOptions,\n modules: mergedOptions.loadableGenerated?.modules,\n })\n}\n","__turbopack_context__.v({\n \"addressLine\": \"OfficeMap-module__ToIo3G__addressLine\",\n \"card\": \"OfficeMap-module__ToIo3G__card\",\n \"cardBody\": \"OfficeMap-module__ToIo3G__cardBody\",\n \"cardHeader\": \"OfficeMap-module__ToIo3G__cardHeader\",\n \"cardIcon\": \"OfficeMap-module__ToIo3G__cardIcon\",\n \"cardTitle\": \"OfficeMap-module__ToIo3G__cardTitle\",\n \"controlBtn\": \"OfficeMap-module__ToIo3G__controlBtn\",\n \"controlBtnActive\": \"OfficeMap-module__ToIo3G__controlBtnActive\",\n \"controlBtnHq\": \"OfficeMap-module__ToIo3G__controlBtnHq\",\n \"controls\": \"OfficeMap-module__ToIo3G__controls\",\n \"errorList\": \"OfficeMap-module__ToIo3G__errorList\",\n \"errorOverlay\": \"OfficeMap-module__ToIo3G__errorOverlay\",\n \"errorText\": \"OfficeMap-module__ToIo3G__errorText\",\n \"errorTitle\": \"OfficeMap-module__ToIo3G__errorTitle\",\n \"hqPulse\": \"OfficeMap-module__ToIo3G__hqPulse\",\n \"map\": \"OfficeMap-module__ToIo3G__map\",\n \"mapMountReserve\": \"OfficeMap-module__ToIo3G__mapMountReserve\",\n \"markerIcon\": \"OfficeMap-module__ToIo3G__markerIcon\",\n \"markerIconHq\": \"OfficeMap-module__ToIo3G__markerIconHq\",\n \"pinPulse\": \"OfficeMap-module__ToIo3G__pinPulse\",\n \"popupFade\": \"OfficeMap-module__ToIo3G__popupFade\",\n \"popupScale\": \"OfficeMap-module__ToIo3G__popupScale\",\n \"root\": \"OfficeMap-module__ToIo3G__root\",\n \"srOnly\": \"OfficeMap-module__ToIo3G__srOnly\",\n});\n","\"use client\";\n\n/**\n * ContactMapEmbed\n * ---------------------------------------------------------------------------\n * Client boundary that lazy-loads the Leaflet map. `ssr: false` keeps Leaflet\n * out of the server bundle and off the critical render path. The host container\n * already owns the fixed height, so the loading state stays invisible before\n * the interactive map is ready.\n */\n\nimport dynamic from \"next/dynamic\";\nimport styles from \"./OfficeMap.module.css\";\n\nconst OfficeMap = dynamic(() => import(\"./OfficeMap\"), {\n ssr: false,\n loading: () =>

,\n});\n\nexport default function ContactMapEmbed() {\n return ;\n}\n"],"names":["BailoutToCSR","reason","children","window","BailoutToCSRError","encodeURIPath","file","split","map","p","encodeURIComponent","join","PreloadChunks","moduleIds","workStore","workAsyncStorage","getStore","undefined","allFiles","reactLoadableManifest","manifest","key","chunks","files","push","length","query","getAssetTokenQuery","chunk","href","assetPrefix","isCss","endsWith","link","precedence","rel","as","nonce","preload","fetchPriority","convertModule","mod","hasDefault","default","defaultOptions","loader","Promise","resolve","loading","ssr","Loadable","options","opts","Lazy","lazy","then","Loading","LoadableComponent","props","fallbackElement","isLoading","pastDelay","error","hasSuspenseBoundary","Wrap","Suspense","Fragment","wrapProps","fallback","modules","displayName","dynamic","dynamicOptions","loadableOptions","mergedOptions","loadableGenerated","OfficeMap","className","mapMountReserve","role","ContactMapEmbed"],"mappings":"sHAcgBA,eAAAA,qCAAAA,aAXkB,CAAA,CAAA,IAAA,GAW3B,SAASA,EAAa,CAAEC,QAAM,UAAEC,CAAQ,CAAqB,EAEhE,MAAM,OAAA,cAA6B,CAA7B,IAAIE,EAAAA,iBAAiB,CAACH,GAAtB,oBAAA,OAAA,mB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,KAAK,eAAe,cAAY,4BAG1E,SAASC,EACtB,MAAO,CAAA,EAAA,EAAA,GAAA,EAACJ,EAAAA,CAAAA,EACV","ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js b/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js deleted file mode 100644 index 05cac96..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[51033,(a,b,c)=>{}]; - -//# sourceMappingURL=_next-internal_server_app__global-error_page_actions_0k77kol.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js.map b/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js.map deleted file mode 100644 index a464c67..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js b/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js deleted file mode 100644 index 91ab992..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[75341,a=>{"use strict";var b=a.i(51947);a.s([],57422),a.i(57422),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],75341)}]; - -//# sourceMappingURL=_next-internal_server_app__not-found_page_actions_0nwttba.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js.map b/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js.map deleted file mode 100644 index 62f61dc..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0nwttba.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/_not-found/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js b/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js deleted file mode 100644 index a51c443..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[16945,a=>{"use strict";var b=a.i(51947);a.s([],82175),a.i(82175),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],16945)}]; - -//# sourceMappingURL=_next-internal_server_app_about-us_page_actions_10el~1u.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js.map b/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js.map deleted file mode 100644 index 4d1a0d5..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_about-us_page_actions_10el~1u.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/about-us/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js b/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js deleted file mode 100644 index 147d2e2..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[67113,a=>{"use strict";var b=a.i(51947);a.s([],99314),a.i(99314),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],67113)}]; - -//# sourceMappingURL=_next-internal_server_app_air-freight_page_actions_12f7kao.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js.map b/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js.map deleted file mode 100644 index 2e92cb5..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_air-freight_page_actions_12f7kao.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/air-freight/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js b/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js deleted file mode 100644 index 2e0a0b1..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[68232,a=>{"use strict";var b=a.i(51947);a.s([],59644),a.i(59644),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],68232)}]; - -//# sourceMappingURL=_next-internal_server_app_blog_%5Bslug%5D_page_actions_0t.ya_n.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js.map b/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js.map deleted file mode 100644 index 5a88fde..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_blog_[slug]_page_actions_0t.ya_n.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/blog/%5Bslug%5D/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js b/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js deleted file mode 100644 index 19efa74..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[62245,a=>{"use strict";var b=a.i(51947);a.s([],22715),a.i(22715),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],62245)}]; - -//# sourceMappingURL=_next-internal_server_app_blog_page_actions_0s90404.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js.map b/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js.map deleted file mode 100644 index 43eb692..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_blog_page_actions_0s90404.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/blog/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js b/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js deleted file mode 100644 index 7599b7d..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[8829,a=>{"use strict";var b=a.i(51947);a.s([],48038),a.i(48038),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],8829)}]; - -//# sourceMappingURL=_next-internal_server_app_contact_page_actions_0~2h-ad.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js.map b/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js.map deleted file mode 100644 index e0a51be..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_contact_page_actions_0~2h-ad.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/contact/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"sCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js b/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js deleted file mode 100644 index 9ca12bd..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[78012,a=>{"use strict";var b=a.i(51947);a.s([],85279),a.i(85279),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],78012)}]; - -//# sourceMappingURL=_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js.map b/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js.map deleted file mode 100644 index 2f97345..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_cookie-policy_page_actions_05p.j9n.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/cookie-policy/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js b/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js deleted file mode 100644 index 5719b2e..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[64668,a=>{"use strict";var b=a.i(51947);a.s([],62759),a.i(62759),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],64668)}]; - -//# sourceMappingURL=_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js.map b/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js.map deleted file mode 100644 index 5c58b5d..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_doormile-wings_page_actions_0t3ppuv.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/doormile-wings/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js b/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js deleted file mode 100644 index caa3ac4..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[61215,a=>{"use strict";var b=a.i(51947);a.s([],67709),a.i(67709),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],61215)}]; - -//# sourceMappingURL=_next-internal_server_app_empowerment_page_actions_12iuwob.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js.map b/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js.map deleted file mode 100644 index dca1ed8..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_empowerment_page_actions_12iuwob.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/empowerment/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js b/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js deleted file mode 100644 index 097a9b5..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[88309,a=>{"use strict";var b=a.i(51947);a.s([],32478),a.i(32478),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],88309)}]; - -//# sourceMappingURL=_next-internal_server_app_express_page_actions_0cygozq.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js.map b/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js.map deleted file mode 100644 index 00be505..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_express_page_actions_0cygozq.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/express/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js b/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js deleted file mode 100644 index f953351..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[1090,a=>{"use strict";var b=a.i(51947);a.s([],50830),a.i(50830),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],1090)}]; - -//# sourceMappingURL=_next-internal_server_app_how-it-works_page_actions_0jck7dp.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js.map b/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js.map deleted file mode 100644 index 5f9ecf0..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_how-it-works_page_actions_0jck7dp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/how-it-works/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"sCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js b/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js deleted file mode 100644 index b1df942..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[59753,a=>{"use strict";var b=a.i(51947);a.s([],43370),a.i(43370),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],59753)}]; - -//# sourceMappingURL=_next-internal_server_app_miletruth_page_actions_0vhj20z.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js.map b/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js.map deleted file mode 100644 index e420cfe..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_miletruth_page_actions_0vhj20z.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/miletruth/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js b/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js deleted file mode 100644 index 5e7f47f..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[71970,a=>{"use strict";var b=a.i(51947);a.s([],93247),a.i(93247),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],71970)}]; - -//# sourceMappingURL=_next-internal_server_app_page_actions_10si78q.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js.map b/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js.map deleted file mode 100644 index b30b0a1..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_page_actions_10si78q.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js b/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js deleted file mode 100644 index fa26871..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[84290,a=>{"use strict";var b=a.i(51947);a.s([],91940),a.i(91940),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],84290)}]; - -//# sourceMappingURL=_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js.map b/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js.map deleted file mode 100644 index d57c960..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_privacy-policy_page_actions_0l1hb50.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/privacy-policy/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js b/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js deleted file mode 100644 index 4b79716..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[44019,a=>{"use strict";var b=a.i(51947);a.s([],27413),a.i(27413),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],44019)}]; - -//# sourceMappingURL=_next-internal_server_app_solutions_page_actions_0mr.5pt.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js.map b/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js.map deleted file mode 100644 index e29cba1..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_solutions_page_actions_0mr.5pt.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/solutions/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js b/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js deleted file mode 100644 index 56f8c39..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[61702,a=>{"use strict";var b=a.i(51947);a.s([],5326),a.i(5326),a.s(["40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",()=>b.sendEmailAction],61702)}]; - -//# sourceMappingURL=_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js.map b/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js.map deleted file mode 100644 index f42d0c4..0000000 --- a/.next/server/chunks/ssr/_next-internal_server_app_terms-of-service_page_actions_0g8oyx-.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../.next-internal/server/app/terms-of-service/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {sendEmailAction as '40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA"} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_0oplp32._.js b/.next/server/chunks/ssr/node_modules_0oplp32._.js deleted file mode 100644 index 6094d01..0000000 --- a/.next/server/chunks/ssr/node_modules_0oplp32._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[46058,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},91735,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assign:function(){return i},searchParamsToUrlQuery:function(){return f},urlQueryToSearchParams:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}function g(a){return"string"==typeof a?a:("number"!=typeof a||isNaN(a))&&"boolean"!=typeof a?"":String(a)}function h(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))if(Array.isArray(d))for(let a of d)b.append(c,g(a));else b.set(c,g(d));return b}function i(a,...b){for(let c of b){for(let b of c.keys())a.delete(b);for(let[b,d]of c.entries())a.append(b,d)}return a}},43087,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={formatUrl:function(){return h},formatWithValidation:function(){return j},urlObjectKeys:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(91735)),g=/https?|ftp|gopher|file/;function h(a){let{auth:b,hostname:c}=a,d=a.protocol||"",e=a.pathname||"",h=a.hash||"",i=a.query||"",j=!1;b=b?encodeURIComponent(b).replace(/%3A/i,":")+"@":"",a.host?j=b+a.host:c&&(j=b+(~c.indexOf(":")?`[${c}]`:c),a.port&&(j+=":"+a.port)),i&&"object"==typeof i&&(i=String(f.urlQueryToSearchParams(i)));let k=a.search||i&&`?${i}`||"";return d&&!d.endsWith(":")&&(d+=":"),a.slashes||(!d||g.test(d))&&!1!==j?(j="//"+(j||""),e&&"/"!==e[0]&&(e="/"+e)):j||(j=""),h&&"#"!==h[0]&&(h="#"+h),k&&"?"!==k[0]&&(k="?"+k),e=e.replace(/[?#]/g,encodeURIComponent),k=k.replace("#","%23"),`${d}${j}${e}${k}${h}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function j(a){return h(a)}},8591,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"useMergedRef",{enumerable:!0,get:function(){return e}});let d=a.r(72131);function e(a,b){let c=(0,d.useRef)(null),e=(0,d.useRef)(null);return(0,d.useCallback)(d=>{if(null===d){let a=c.current;a&&(c.current=null,a());let b=e.current;b&&(e.current=null,b())}else a&&(c.current=f(a,d)),b&&(e.current=f(b,d))},[a,b])}function f(a,b){if("function"!=typeof a)return a.current=b,()=>{a.current=null};{let c=a(b);return"function"==typeof c?c:()=>a(null)}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},46272,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DecodeError:function(){return r},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return u},NormalizeError:function(){return s},PageNotFoundError:function(){return t},SP:function(){return p},ST:function(){return q},WEB_VITALS:function(){return f},execOnce:function(){return g},getDisplayName:function(){return l},getLocationOrigin:function(){return j},getURL:function(){return k},isAbsoluteUrl:function(){return i},isResSent:function(){return m},loadGetInitialProps:function(){return o},normalizeRepeatedSlashes:function(){return n},stringifyError:function(){return w}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["CLS","FCP","FID","INP","LCP","TTFB"];function g(a){let b,c=!1;return(...d)=>(c||(c=!0,b=a(...d)),b)}let h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=a=>h.test(a);function j(){let{protocol:a,hostname:b,port:c}=window.location;return`${a}//${b}${c?":"+c:""}`}function k(){let{href:a}=window.location,b=j();return a.substring(b.length)}function l(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function m(a){return a.finished||a.headersSent}function n(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?`?${b.slice(1).join("?")}`:"")}async function o(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await o(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&m(c))return d;if(!d)throw Object.defineProperty(Error(`"${l(a)}.getInitialProps()" should resolve to an object. But found "${d}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return d}let p="u">typeof performance,q=p&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class r extends Error{}class s extends Error{}class t extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${a}`}}class u extends Error{constructor(a,b){super(),this.message=`Failed to load static file for page: ${a} ${b}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(a){return JSON.stringify({message:a.message,stack:a.stack})}},8868,(a,b,c)=>{"use strict";function d(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parsePath",{enumerable:!0,get:function(){return d}})},5407,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=a.r(8868);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return`${b}${c}${e}${f}`}},46112,(a,b,c)=>{"use strict";function d(a){return a.replace(/\/$/,"")||"/"}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"removeTrailingSlash",{enumerable:!0,get:function(){return d}})},25075,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return f}});let d=a.r(46112),e=a.r(8868),f=a=>{if(!a.startsWith("/"))return a;let{pathname:b,query:c,hash:f}=(0,e.parsePath)(a);return`${(0,d.removeTrailingSlash)(b)}${c}${f}`};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},38243,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"addBasePath",{enumerable:!0,get:function(){return f}});let d=a.r(5407),e=a.r(25075);function f(a,b){return(0,e.normalizePathTrailingSlash)((0,d.addPathPrefix)(a,""))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},92434,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"warnOnce",{enumerable:!0,get:function(){return d}});let d=a=>{}},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={ACTION_HMR_REFRESH:function(){return l},ACTION_NAVIGATE:function(){return i},ACTION_REFRESH:function(){return h},ACTION_RESTORE:function(){return j},ACTION_SERVER_ACTION:function(){return m},ACTION_SERVER_PATCH:function(){return k},PrefetchKind:function(){return n},ScrollBehavior:function(){return o}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h="refresh",i="navigate",j="restore",k="server-patch",l="hmr-refresh",m="server-action";var n=((d={}).AUTO="auto",d.FULL="full",d),o=((e={})[e.Default=0]="Default",e[e.NoScroll=1]="NoScroll",e);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},10846,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f,g={FetchStrategy:function(){return k},NavigationResultTag:function(){return i},PrefetchPriority:function(){return j}};for(var h in g)Object.defineProperty(c,h,{enumerable:!0,get:g[h]});var i=((d={})[d.MPA=0]="MPA",d[d.Success=1]="Success",d[d.NoOp=2]="NoOp",d[d.Async=3]="Async",d),j=((e={})[e.Intent=2]="Intent",e[e.Default=1]="Default",e[e.Background=0]="Background",e),k=((f={})[f.LoadingBoundary=0]="LoadingBoundary",f[f.PPR=1]="PPR",f[f.PPRRuntime=2]="PPRRuntime",f[f.Full=3]="Full",f);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},92702,(a,b,c)=>{"use strict";function d(a,b){let c=new URL(a);return{pathname:c.pathname,search:c.search,nextUrl:b}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createCacheKey",{enumerable:!0,get:function(){return d}}),("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},76e3,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"PrefetchHint",{enumerable:!0,get:function(){return e}});var d,e=((d={})[d.HasRuntimePrefetch=1]="HasRuntimePrefetch",d[d.SubtreeHasInstant=2]="SubtreeHasInstant",d[d.SegmentHasLoadingBoundary=4]="SegmentHasLoadingBoundary",d[d.SubtreeHasLoadingBoundary=8]="SubtreeHasLoadingBoundary",d[d.IsRootLayout=16]="IsRootLayout",d[d.ParentInlinedIntoSelf=32]="ParentInlinedIntoSelf",d[d.InlinedIntoChild=64]="InlinedIntoChild",d[d.HeadInlinedIntoSelf=128]="HeadInlinedIntoSelf",d[d.HeadOutlined=256]="HeadOutlined",d)},30641,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"matchSegment",{enumerable:!0,get:function(){return d}});let d=(a,b)=>"string"==typeof a?"string"==typeof b&&a===b:"string"!=typeof b&&a[0]===b[0]&&a[1]===b[1];("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},21341,(a,b,c)=>{"use strict";function d(a){return(a.then(e),"fulfilled"!==a.status)?null:a.value}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"readVaryParams",{enumerable:!0,get:function(){return d}});let e=()=>{}},37909,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ACTION_HEADER:function(){return g},FLIGHT_HEADERS:function(){return q},NEXT_ACTION_NOT_FOUND_HEADER:function(){return x},NEXT_ACTION_REVALIDATED_HEADER:function(){return A},NEXT_DID_POSTPONE_HEADER:function(){return t},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return l},NEXT_HMR_REFRESH_HEADER:function(){return k},NEXT_HTML_REQUEST_ID_HEADER:function(){return z},NEXT_INSTANT_PREFETCH_HEADER:function(){return o},NEXT_INSTANT_TEST_COOKIE:function(){return p},NEXT_IS_PRERENDER_HEADER:function(){return w},NEXT_REQUEST_ID_HEADER:function(){return y},NEXT_REWRITTEN_PATH_HEADER:function(){return u},NEXT_REWRITTEN_QUERY_HEADER:function(){return v},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return j},NEXT_ROUTER_STALE_TIME_HEADER:function(){return s},NEXT_ROUTER_STATE_TREE_HEADER:function(){return h},NEXT_RSC_UNION_QUERY:function(){return r},NEXT_URL:function(){return m},RSC_CONTENT_TYPE_HEADER:function(){return n},RSC_HEADER:function(){return f}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="rsc",g="next-action",h="next-router-state-tree",i="next-router-prefetch",j="next-router-segment-prefetch",k="next-hmr-refresh",l="__next_hmr_refresh_hash__",m="next-url",n="text/x-component",o="next-instant-navigation-testing-prefetch",p="next-instant-navigation-testing",q=[f,h,i,k,j],r="_rsc",s="x-nextjs-stale-time",t="x-nextjs-postponed",u="x-nextjs-rewritten-path",v="x-nextjs-rewritten-query",w="x-nextjs-prerender",x="x-nextjs-action-not-found",y="x-nextjs-request-id",z="x-nextjs-html-request-id",A="x-action-revalidated";("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},88644,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},dispatchGestureState:function(){return j},refreshOnInstantNavigationUnlock:function(){return h},useActionQueue:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009);a.r(88347);function h(){}function i(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function j(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function k(a){let[b,c]=f.default.useState(a.state),[d,e]=(0,f.useOptimistic)(b),h=(0,f.useMemo)(()=>d,[d]);return(0,g.isThenable)(h)?(0,f.use)(h):h}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},39118,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},58216,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HEAD_REQUEST_KEY:function(){return h},ROOT_SEGMENT_REQUEST_KEY:function(){return g},appendSegmentRequestKeyPart:function(){return j},convertSegmentPathToStaticExportFilename:function(){return m},createSegmentRequestKeyPart:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(39118),g="",h="/_head";function i(a){if("string"==typeof a)return a.startsWith(f.PAGE_SEGMENT_KEY)?f.PAGE_SEGMENT_KEY:"/_not-found"===a?"_not-found":l(a);let b=a[0];return"$"+a[2]+"$"+l(b)}function j(a,b,c){return a+"/"+("children"===b?c:`@${l(b)}/${c}`)}let k=/^[a-zA-Z0-9\-_@]+$/;function l(a){return k.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function m(a){return`__next${a.replace(/\//g,".")}.txt`}},23187,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={doesStaticSegmentAppearInURL:function(){return m},getCacheKeyForDynamicParam:function(){return n},getParamValueFromCacheKey:function(){return p},getRenderedPathname:function(){return j},getRenderedSearch:function(){return i},parseDynamicParamFromURLPart:function(){return l},urlSearchParamsToParsedUrlQuery:function(){return q},urlToUrlWithoutFlightMarker:function(){return o}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(39118),g=a.r(58216),h=a.r(37909);function i(a){let b=a.headers.get(h.NEXT_REWRITTEN_QUERY_HEADER);return null!==b?""===b?"":"?"+b:o(new URL(a.url)).search}function j(a){return a.headers.get(h.NEXT_REWRITTEN_PATH_HEADER)??o(new URL(a.url)).pathname}function k(a){try{return encodeURIComponent(decodeURIComponent(a))}catch{return a}}function l(a,b,c){switch(a){case"c":return ck(a)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let d=a.length-2;return c0===b?k(a.slice(d)):k(a)):[]}case"oc":return ck(a)):null;case"d":if(c>=b.length)return"";return k(b[c]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let d=a.length-2;if(c>=b.length)return"";return k(b[c].slice(d))}default:return""}}function m(a){return!(a===g.ROOT_SEGMENT_REQUEST_KEY||a.startsWith(f.PAGE_SEGMENT_KEY)||"("===a[0]&&a.endsWith(")"))&&a!==f.DEFAULT_SEGMENT_KEY&&"/_not-found"!==a}function n(a,b){return"string"==typeof a?(0,f.addSearchParamsIfPageSegment)(a,Object.fromEntries(new URLSearchParams(b))):null===a?"":a.join("/")}function o(a){let b=new URL(a);return b.searchParams.delete(h.NEXT_RSC_UNION_QUERY),b}function p(a,b){return"c"===b||"oc"===b?a.split("/"):a}function q(a){let b={};for(let[c,d]of a.entries())void 0===b[c]?b[c]=d:Array.isArray(b[c])?b[c].push(d):b[c]=[b[c],d];return b}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},74685,(a,b,c)=>{"use strict";function d(a,b=!0){return a.pathname+a.search+(b?a.hash:"")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createHrefFromUrl",{enumerable:!0,get:function(){return d}}),("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},22129,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={createInitialRSCPayloadFromFallbackPrerender:function(){return j},getFlightDataPartsFromPath:function(){return i},getNextFlightSegmentPath:function(){return k},normalizeFlightData:function(){return l},prepareFlightRouterStateForRequest:function(){return m}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(39118),g=a.r(23187),h=a.r(74685);function i(a){let[b,c,d,e]=a.slice(-4),f=a.slice(0,-4);return{pathToSegment:f.slice(0,-1),segmentPath:f,segment:f[f.length-1]??"",tree:b,seedData:c,head:d,isHeadPartial:e,isRootRender:4===a.length}}function j(a,b){let c=(0,g.getRenderedPathname)(a),d=(0,g.getRenderedSearch)(a),e=(0,h.createHrefFromUrl)(new URL(location.href)),f=b.f[0],i=f[0],j={c:e.split("/"),q:d,i:b.i,f:[[function a(b,c,d,e){let f,h,i=b[0];if("string"==typeof i)f=i,h=(0,g.doesStaticSegmentAppearInURL)(i);else{let a=i[0],b=i[2],j=i[3],k=(0,g.parseDynamicParamFromURLPart)(b,d,e);f=[a,(0,g.getCacheKeyForDynamicParam)(k,c),b,j],h=!0}let j=h?e+1:e,k=b[1],l={};for(let b in k){let e=k[b];l[b]=a(e,c,d,j)}return[f,l,null,b[3],b[4]]}(i,d,c.split("/").filter(a=>""!==a),0),f[1],f[2],f[2]]],m:b.m,G:b.G,S:b.S,h:b.h};return b.b&&(j.b=b.b),j}function k(a){return a.slice(2)}function l(a){return"string"==typeof a?a:a.map(a=>i(a))}function m(a,b){return b?encodeURIComponent(JSON.stringify(a)):encodeURIComponent(JSON.stringify(function a(b){let[c,d,e,g,h]=b,i=function(a){if("string"==typeof a)return a.startsWith(f.PAGE_SEGMENT_KEY+"?")?f.PAGE_SEGMENT_KEY:a;let[b,c,d]=a;return[b,c,d,null]}(c),j={};for(let[b,c]of Object.entries(d))j[b]=a(c);let k=[i,j];return g&&(k[2]=null,k[3]=g),void 0!==h&&(k[4]=h),k}(a)))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},16661,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={djb2Hash:function(){return f},hexHash:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b=5381;for(let c=0;c>>0}function g(a){return f(a).toString(36).slice(0,5)}},35604,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={computeCacheBustingSearchParam:function(){return k},computeLegacyCacheBustingSearchParam:function(){return l}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(16661),g=new TextEncoder;function h(a){return void 0===a?"0":Array.isArray(a)?a.join(","):a}function i(a,b,c,d){return(void 0===a||"0"===a)&&void 0===b&&void 0===c&&void 0===d?null:[a??"0",h(b),h(c),h(d)].join(",")}async function j(a){var b=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",g.encode(a))).subarray(0,12);let c="";for(let a=0;a{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={setCacheBustingSearchParam:function(){return i},setCacheBustingSearchParamWithHash:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(35604),g=a.r(37909);async function h(a){return"function"==typeof globalThis.crypto?.subtle?.digest?(0,f.computeCacheBustingSearchParam)(a[g.NEXT_ROUTER_PREFETCH_HEADER],a[g.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],a[g.NEXT_ROUTER_STATE_TREE_HEADER],a[g.NEXT_URL]):(0,f.computeLegacyCacheBustingSearchParam)(a[g.NEXT_ROUTER_PREFETCH_HEADER],a[g.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],a[g.NEXT_ROUTER_STATE_TREE_HEADER],a[g.NEXT_URL])}let i=async(a,b)=>{j(a,await h(b))},j=(a,b)=>{let c=a.search,d=(c.startsWith("?")?c.slice(1):c).split("&").filter(a=>a&&!a.startsWith(`${g.NEXT_RSC_UNION_QUERY}=`));b.length>0?d.push(`${g.NEXT_RSC_UNION_QUERY}=${b}`):d.push(`${g.NEXT_RSC_UNION_QUERY}`),a.search=d.length?`?${d.join("&")}`:""};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},16438,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getNavigationBuildId:function(){return h},setNavigationBuildId:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="";function g(a){f=a}function h(){return f}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},72006,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ACTION_SUFFIX:function(){return q},APP_DIR_ALIAS:function(){return P},CACHE_ONE_YEAR_SECONDS:function(){return F},DOT_NEXT_ALIAS:function(){return N},ESLINT_DEFAULT_DIRS:function(){return ah},GSP_NO_RETURNED_VALUE:function(){return ab},GSSP_COMPONENT_MEMBER_ERROR:function(){return ae},GSSP_NO_RETURNED_VALUE:function(){return ac},HTML_CONTENT_TYPE_HEADER:function(){return g},INFINITE_CACHE:function(){return G},INSTRUMENTATION_HOOK_FILENAME:function(){return L},JSON_CONTENT_TYPE_HEADER:function(){return h},MATCHED_PATH_HEADER:function(){return k},MIDDLEWARE_FILENAME:function(){return H},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return t},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return D},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return w},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return x},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return E},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return C},NEXT_CACHE_TAGS_HEADER:function(){return v},NEXT_CACHE_TAG_MAX_ITEMS:function(){return A},NEXT_CACHE_TAG_MAX_LENGTH:function(){return B},NEXT_DATA_SUFFIX:function(){return r},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return j},NEXT_META_SUFFIX:function(){return s},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return u},NEXT_QUERY_PARAM_PREFIX:function(){return i},NEXT_RESUME_HEADER:function(){return y},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return z},NON_STANDARD_NODE_ENV:function(){return af},PAGES_DIR_ALIAS:function(){return M},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return m},PROXY_FILENAME:function(){return J},PROXY_LOCATION_REGEXP:function(){return K},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return X},ROOT_DIR_ALIAS:function(){return O},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return W},RSC_ACTION_ENCRYPTION_ALIAS:function(){return V},RSC_ACTION_PROXY_ALIAS:function(){return S},RSC_ACTION_VALIDATE_ALIAS:function(){return R},RSC_CACHE_WRAPPER_ALIAS:function(){return T},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return U},RSC_MOD_REF_PROXY_ALIAS:function(){return Q},RSC_SEGMENTS_DIR_SUFFIX:function(){return n},RSC_SEGMENT_SUFFIX:function(){return o},RSC_SUFFIX:function(){return p},SERVER_PROPS_EXPORT_ERROR:function(){return aa},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Z},SERVER_PROPS_SSG_CONFLICT:function(){return $},SERVER_RUNTIME:function(){return ai},SSG_FALLBACK_EXPORT_ERROR:function(){return ag},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return Y},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return _},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return f},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ad},WEBPACK_LAYERS:function(){return al},WEBPACK_RESOURCE_QUERIES:function(){return am},WEB_SOCKET_MAX_RECONNECTIONS:function(){return aj}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="text/plain",g="text/html; charset=utf-8",h="application/json; charset=utf-8",i="nxtP",j="nxtI",k="x-matched-path",l="x-prerender-revalidate",m="x-prerender-revalidate-if-generated",n=".segments",o=".segment.rsc",p=".rsc",q=".action",r=".json",s=".meta",t=".body",u="x-nextjs-deployment-id",v="x-next-cache-tags",w="x-next-revalidated-tags",x="x-next-revalidate-tag-token",y="next-resume",z="x-next-resume-state-length",A=128,B=256,C=1024,D="_N_T_",E="_N_RP_",F=31536e3,G=0xfffffffe,H="middleware",I=`(?:src/)?${H}`,J="proxy",K=`(?:src/)?${J}`,L="instrumentation",M="private-next-pages",N="private-dot-next",O="private-next-root-dir",P="private-next-app-dir",Q="private-next-rsc-mod-ref-proxy",R="private-next-rsc-action-validate",S="private-next-rsc-server-reference",T="private-next-rsc-cache-wrapper",U="private-next-rsc-track-dynamic-import",V="private-next-rsc-action-encryption",W="private-next-rsc-action-client-wrapper",X="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",Y="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Z="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",$="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",_="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",aa="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",ab="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",ac="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ad="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",ae="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",af='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',ag="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ah=["app","pages","components","lib","src"],ai={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},aj=12,ak={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},al={...ak,GROUP:{builtinReact:[ak.reactServerComponents,ak.actionBrowser],serverOnly:[ak.reactServerComponents,ak.actionBrowser,ak.instrument,ak.middleware],neutralTarget:[ak.apiNode,ak.apiEdge],clientOnly:[ak.serverSideRendering,ak.appPagesBrowser],bundled:[ak.reactServerComponents,ak.actionBrowser,ak.serverSideRendering,ak.appPagesBrowser,ak.shared,ak.instrument,ak.middleware],appPages:[ak.reactServerComponents,ak.serverSideRendering,ak.appPagesBrowser,ak.actionBrowser]}},am={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},71094,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function a(b,c){let e=b[0],f=c.segment;if(Array.isArray(e)&&Array.isArray(f)){if(e[0]!==f[0]||e[2]!==f[2])return!0}else if(e!==f)return!0;let g=((b[4]??0)&d.PrefetchHint.IsRootLayout)!=0,h=(c.prefetchHints&d.PrefetchHint.IsRootLayout)!=0;if(g)return!h;if(h)return!0;let i=c.slots,j=b[1];if(null!==i)for(let b in i){let c=i[b],d=j[b];if(void 0===d||a(d,c))return!0}return!1}}});let d=a.r(76e3);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},95400,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getLastCommittedTree:function(){return g},setLastCommittedTree:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=null;function g(){return f}function h(a){f=a}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},54645,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={cleanup:function(){return n},deleteFromLru:function(){return l},lruPut:function(){return j},updateLruSize:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(51561),g=a.r(42297),h=null,i=0;function j(a){if(h===a)return;let b=a.prev,c=a.next;if(null===c||null===b?(i+=a.size,m()):(b.next=c,c.prev=b),null===h)a.prev=a,a.next=a;else{let b=h.prev;a.prev=b,null!==b&&(b.next=a),a.next=h,h.prev=a}h=a}function k(a,b){let c=a.size;a.size=b,null!==a.next&&(i=i-c+b,m())}function l(a){let b=a.next,c=a.prev;null!==b&&null!==c&&(i-=a.size,a.next=null,a.prev=null,h===a?b===h?h=null:(h=b,c.next=b,b.prev=c):(c.next=b,b.prev=c))}function m(){i<=0x3200000||(0,g.pingPrefetchScheduler)()}function n(){if(!(i<=0x3200000))for(;i>0x2d00000&&null!==h;){let a=h.prev;null!==a&&(0,f.deleteMapEntry)(a)}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},51561,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={Fallback:function(){return g},createCacheMap:function(){return i},deleteFromCacheMap:function(){return n},deleteMapEntry:function(){return o},getFromCacheMap:function(){return j},isValueExpired:function(){return k},setInCacheMap:function(){return l},setSizeInCacheMap:function(){return p}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(54645),g={},h={};function i(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}function j(a,b,c,d,e){let i=function a(b,c,d,e,f,i){let j,l;if(null!==e)j=e.value,l=e.parent;else if(f&&i!==h)j=h,l=null;else return null===d.value?d:k(b,c,d.value)?(o(d),null):d;let m=d.map;if(null!==m){let d=m.get(j);if(void 0!==d){let e=a(b,c,d,l,f,j);if(null!==e)return e}let e=m.get(g);if(void 0!==e)return a(b,c,e,l,f,j)}return null}(a,b,c,d,e,0);return null===i||null===i.value?null:((0,f.lruPut)(i),i.value)}function k(a,b,c){return c.staleAt<=a||c.version{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={appendLayoutVaryPath:function(){return k},clonePageVaryPathWithNewSearchParams:function(){return r},finalizeLayoutVaryPath:function(){return l},finalizeMetadataVaryPath:function(){return p},finalizePageVaryPath:function(){return n},getFulfilledRouteVaryPath:function(){return j},getFulfilledSegmentVaryPath:function(){return function a(b,c){return{id:b.id,value:null===b.id||c.has(b.id)?b.value:g.Fallback,parent:null===b.parent?null:a(b.parent,c)}}},getPartialLayoutVaryPath:function(){return m},getPartialPageVaryPath:function(){return o},getRenderedSearchFromVaryPath:function(){return s},getRouteVaryPath:function(){return i},getSegmentVaryPathForRequest:function(){return q}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(10846),g=a.r(51561),h=a.r(58216);function i(a,b,c){return{id:null,value:a,parent:{id:"?",value:b,parent:{id:null,value:c,parent:null}}}}function j(a,b,c,d){return{id:null,value:a,parent:{id:"?",value:b,parent:{id:null,value:d?c:g.Fallback,parent:null}}}}function k(a,b,c){return{id:c,value:b,parent:a}}function l(a,b){return{id:null,value:a,parent:b}}function m(a){return a.parent}function n(a,b,c){return{id:null,value:a,parent:{id:"?",value:b,parent:c}}}function o(a){return a.parent.parent}function p(a,b,c){return{id:null,value:a+h.HEAD_REQUEST_KEY,parent:{id:"?",value:b,parent:c}}}function q(a,b){let c=b.varyPath;if(b.isPage&&a!==f.FetchStrategy.Full&&a!==f.FetchStrategy.PPRRuntime){let a=c.parent.parent;return{id:null,value:c.value,parent:{id:"?",value:g.Fallback,parent:a}}}return c}function r(a,b){let c=a.parent;return{id:null,value:a.value,parent:{id:"?",value:b,parent:c.parent}}}function s(a){let b=a.parent.value;return"string"==typeof b?b:null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},52052,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={discoverKnownRoute:function(){return k},matchKnownRoute:function(){return m},resetKnownRoutes:function(){return n}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(99032),g=a.r(23187),h=a.r(91442);function i(){return{staticChildren:null,dynamicChild:null,dynamicChildParamName:null,dynamicChildParamType:null,pattern:null}}let j=i();function k(a,b,c,d,e,g,h,i,k,m){let n=b.split("/").filter(a=>""!==a),o=n.length>0?n[0]:null,p=n.length>0?n.slice(1):[];if(null!==d){let n=(0,f.fulfillRouteCacheEntry)(a,d,e,g,h,i,k);return m&&(n.hasDynamicRewrite=!0),l(j,e,o,p,n,a,b,c,e,g,h,i,k,m),n}return l(j,e,o,p,null,a,b,c,e,g,h,i,k,m)}function l(a,b,c,d,e,h,j,k,m,n,o,p,q,r){let s,t,u=b.segment,v=null,w=null,x=null;"string"==typeof u?s=(0,g.doesStaticSegmentAppearInURL)(u):(v=u[0],w=u[2],x=u[3],s=!0);let y=a,z=c,A=d;if(s){if(null===v&&c!==u)return null!==e?e:(0,f.writeRouteIntoCache)(h,j,k,m,n,o,p,q);if(null!==v&&null!==w){if(y=function(a,b,c){if(null!==a.dynamicChild)return a.dynamicChild;let d=i();return a.dynamicChild=d,a.dynamicChildParamName=b,a.dynamicChildParamType=c,d}(a,v,w),null!==x)for(let b of(null===a.staticChildren&&(a.staticChildren=new Map),x))a.staticChildren.has(b)||a.staticChildren.set(b,i())}else{null===a.staticChildren&&(a.staticChildren=new Map);let b=a.staticChildren.get(c);void 0===b&&(b=i(),a.staticChildren.set(c,b)),y=b}z=d.length>0?d[0]:null,A=d.length>0?d.slice(1):[]}let B=b.slots,C=null;if(null!==B){for(let a in B){let b=B[a];null===b.refreshState&&(C=l(y,b,z,A,e,h,j,k,m,n,o,p,q,r))}return null!==C?C:null!==e?e:(0,f.writeRouteIntoCache)(h,j,k,m,n,o,p,q)}return null!==y.pattern?(r&&(y.pattern.hasDynamicRewrite=!0),y.pattern):(t=null!==e?e:(0,f.writeRouteIntoCache)(h,j,k,m,n,o,p,q),r&&(t.hasDynamicRewrite=!0),y.pattern=t,t)}function m(a,b){let c=a.split("/").filter(a=>""!==a),d=new Map,e=function a(b,c,d,e){let f=d{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={FreshnessPolicy:function(){return w},createInitialCacheNodeForHydration:function(){return y},isDeferredRsc:function(){return M},spawnDynamicRequests:function(){return H},startPPRNavigation:function(){return z}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(76e3),h=a.r(39118),i=a.r(30641),j=a.r(74685),k=a.r(20873),l=a.r(90841),m=a.r(88347),n=a.r(71094),o=a.r(95400),p=a.r(37472),q=a.r(99032),r=a.r(10846),s=a.r(52052),t=a.r(72006),u=a.r(91442),v=a.r(36085);var w=((d={})[d.Default=0]="Default",d[d.Hydration=1]="Hydration",d[d.HistoryTraversal=2]="HistoryTraversal",d[d.RefreshAll=3]="RefreshAll",d[d.HMRRefresh=4]="HMRRefresh",d[d.Gesture=5]="Gesture",d);let x=()=>{};function y(a,b,c,d,e){return A(a,b,null,1,c,d,e,!1,{separateRefreshUrls:null,scrollRef:null})}function z(a,b,c,d,e,f,k,l,m,o,p,r,s){let t={canonicalUrl:(0,j.createHrefFromUrl)(b),renderedSearch:c};return function a(b,c,d,e,f,j,k,l,m,o,p,r,s,t,u,v){var w,x,y;let z,C,G,H,I=e[0],J=B(f);if(!(0,i.matchSegment)(J,I))return!l&&(0,n.isNavigatingToNewRootLayout)(e,f)||J===h.NOT_FOUND_SEGMENT_KEY?null:A(b,f,j,k,m,o,p,s,v);let K=f.slots,L=e[1],M=null!==m?m[1]:null,N=l||(f.prefetchHints&g.PrefetchHint.IsRootLayout)!=0,O=!1;switch(k){case 0:case 2:case 1:case 5:O=!1;break;case 3:case 4:O=!0}let P=null===K;if(void 0===d||O||P&&r){let a=E(b,f,null!==m?m[0]:null,j,o,k,p);G=a.cacheNode,H=a.needsDynamicRequest,void 0!==d&&(G.scrollRef=d.scrollRef)}else{w=!1,G=F((x=d).rsc,w?null:x.prefetchRsc,x.head,w?null:x.prefetchHead,x.scrollRef),H=!1}let Q=f.refreshState,R=null!=Q?Q:u;H&&null!==R&&(y=v,z=R.canonicalUrl,null===(C=y.separateRefreshUrls)?y.separateRefreshUrls=new Set([z]):C.add(z));let S={},T=null,U=!1,V={},W=null;if(null!==K){let e=void 0!==d?d.slots:null;for(let d in G.slots=W={},T=new Map,K){let g=K[d],i=L[d];if(void 0===i)return null;let l=null!==M?M[d]:null,m=i[0],n=B(g),u=o;2!==k&&n===h.DEFAULT_SEGMENT_KEY&&m!==h.DEFAULT_SEGMENT_KEY&&(n=B(g=function(a,b,c,d){let e,f,g=d[2];null!=g?(e=g[0],f=g[1]):(e=c.canonicalUrl,f=c.renderedSearch);let h=(0,q.convertReusedFlightRouterStateToRouteTree)(a,b,d,f,{metadataVaryPath:null});return h.refreshState={canonicalUrl:e,renderedSearch:f},h}(f,d,t,i)),l=null,u=null);let w=a(b,c,null!==e?e[d]:void 0,i,g,j,k,N,l??null,u,p,r,s||H,t,R,v);if(null===w)return null;T.set(d,w),W[d]=w.node;let x=w.route;S[d]=x;let y=w.dynamicRequestTree;null!==y?(U=!0,V[d]=y):V[d]=x}}let X=[B(f),S,null!==R?[R.canonicalUrl,R.renderedSearch]:null,null,f.prefetchHints];return{status:+!H,route:X,node:G,dynamicRequestTree:D(X,V,H,U,s),refreshState:R,children:T}}(a,b,null!==d?d:void 0,e,f,k,l,!1,m,o,p,r,!1,t,null,s)}function A(a,b,c,d,e,f,g,h,i){let j=B(b),k=b.slots,l=null!==e?e[1]:null,m=E(a,b,null!==e?e[0]:null,c,f,d,g),n=m.cacheNode,o=m.needsDynamicRequest;null===k&&function(a,b,c){switch(a){case 0:case 5:case 3:case 4:null===c.scrollRef&&(c.scrollRef={current:!0}),b.scrollRef=c.scrollRef}}(d,n,i);let p={},q=null,r=!1,s={},t=null;if(null!==k)for(let b in n.slots=t={},q=new Map,k){let e=A(a,k[b],c,d,(null!==l?l[b]:null)??null,f,g,h||o,i);q.set(b,e),t[b]=e.node;let j=e.route;p[b]=j;let m=e.dynamicRequestTree;null!==m?(r=!0,s[b]=m):s[b]=j}let u=[j,p,null,null,b.prefetchHints];return{status:+!o,route:u,node:n,dynamicRequestTree:D(u,s,o,r,h),refreshState:null,children:q}}function B(a){if(a.isPage){let b=(0,u.getRenderedSearchFromVaryPath)(a.varyPath);if(null===b)return h.PAGE_SEGMENT_KEY;let c=JSON.stringify(Object.fromEntries(new URLSearchParams(b)));return"{}"!==c?h.PAGE_SEGMENT_KEY+"?"+c:h.PAGE_SEGMENT_KEY}return a.segment}function C(a,b){let c=[a[0],b];return 2 in a&&(c[2]=a[2]),3 in a&&(c[3]=a[3]),4 in a&&(c[4]=a[4]),c}function D(a,b,c,d,e){let f=null;return c?(f=C(a,b),e||(f[3]="refetch")):f=d?C(a,b):null,f}function E(a,b,c,d,e,f,g){let h,i,j,k=b.isPage;switch(f){case 0:{let c=(0,v.readFromBFCacheDuringRegularNavigation)(a,b.varyPath);if(null!==c)return{cacheNode:F(c.rsc,c.prefetchRsc,c.head,c.prefetchHead),needsDynamicRequest:!1};break}case 1:{let f=k?e:null;return(0,v.writeToBFCache)(a,b.varyPath,c,null,f,null,g),k&&null!==d&&(0,v.writeHeadToBFCache)(a,d,f,null,g),{cacheNode:F(c,null,f,null),needsDynamicRequest:!1}}case 2:let l=(0,v.readFromBFCache)(b.varyPath);if(null!==l){let a=l.rsc,b=!M(a)||"pending"!==a.status;return{cacheNode:F(l.rsc,b?null:l.prefetchRsc,l.head,b?null:l.prefetchHead),needsDynamicRequest:!1}}}let m=null,n=!0,o=(0,q.readSegmentCacheEntry)(a,b.varyPath);if(null!==o)switch(o.status){case q.EntryStatus.Fulfilled:m=o.rsc,n=o.isPartial;break;case q.EntryStatus.Pending:m=(0,q.waitForSegmentCacheEntry)(o).then(a=>null!==a?a.rsc:null),n=o.isPartial;case q.EntryStatus.Empty:case q.EntryStatus.Rejected:}null!==c?(n?(h=m,i=c):(h=null,i=m),j=!1):(n?(h=m,i=N()):(h=null,i=m),j=n);let p=null,r=null,s=k;if(k){let b=null,c=!0;if(null!==d){let e=(0,q.readSegmentCacheEntry)(a,d);if(null!==e)switch(e.status){case q.EntryStatus.Fulfilled:b=e.rsc,c=e.isPartial;break;case q.EntryStatus.Pending:b=(0,q.waitForSegmentCacheEntry)(e).then(a=>null!==a?a.rsc:null),c=e.isPartial;case q.EntryStatus.Empty:case q.EntryStatus.Rejected:}}null!==e?(c?(p=b,r=e):(p=null,r=b),s=!1):(c?(p=b,r=N()):(p=null,r=b),s=c)}return 5!==f&&((0,v.writeToBFCache)(a,b.varyPath,i,h,r,p,g),k&&null!==d&&(0,v.writeHeadToBFCache)(a,d,r,p,g)),{cacheNode:F(i,h,r,p),needsDynamicRequest:j||s}}function F(a,b,c,d,e=null){return{rsc:a,prefetchRsc:b,head:c,prefetchHead:d,slots:null,scrollRef:e}}let G=!1;function H(a,b,c,d,e,f,g){let h=a.dynamicRequestTree;if(null===h){G=!1;return}let i=K(a,h,b,c,d,f),k=e.separateRefreshUrls,l=null;if(null!==k){l=[];let e=(0,j.createHrefFromUrl)(b);for(let b of k)b!==e&&null!==h&&l.push(K(a,h,new URL(b,location.origin),c,d,f))}I(a,c,i,l,f,g).then(x,x)}async function I(a,b,c,d,e,f){var g,h;let i=await (g=c,h=d,new Promise(a=>{let b=b=>{0===b.exitStatus?0==--d&&a(0):a(b.exitStatus)},c=()=>a(2),d=1;g.then(b,c),null!==h&&(d+=h.length,h.forEach(a=>a.then(b,c)))}));switch(0===i&&(i=function a(b,c,d){var e,f,g;let h,i,j;0===b.status?(b.status=2,e=b.node,f=c,g=d,M(i=e.rsc)&&(null===f?i.resolve(null,g):i.reject(f,g)),M(j=e.head)&&j.resolve(null,g),h=null===b.refreshState?1:2):h=0;let k=b.children;if(null!==k)for(let[,b]of k){let e=a(b,c,d);e>h&&(h=e)}return h}(a,null,null)),i){case 0:G=!1;return;case 1:{let d=await c;J(!1,d.url,b,d.seed,a.route,e,f);return}case 2:{let d=await c;J(!0,d.url,b,d.seed,a.route,e,f);return}default:return i}}function J(a,b,c,d,e,f,g){if(null!==f)(0,q.markRouteEntryAsDynamicRewrite)(f);else if(null!==d){let a=d.metadataVaryPath;if(null!==a){let e=Date.now();(0,s.discoverKnownRoute)(e,b.pathname,c,null,d.routeTree,a,!1,(0,j.createHrefFromUrl)(b),!1,!0)}}(0,q.invalidateRouteCacheEntries)(c,e),a=a||G,G=!0;let h=(0,o.getLastCommittedTree)(),i=null!==h&&e!==h?g:"replace",k={type:m.ACTION_SERVER_PATCH,previousTree:e,url:b,nextUrl:c,seed:d,mpa:a,navigateType:i};(0,l.dispatchAppRouterAction)(k)}async function K(a,b,c,d,e,f){try{let g=await (0,k.fetchServerResponse)(c,{flightRouterState:b,nextUrl:d,isHmrRefresh:4===e});if("string"==typeof g)return{exitStatus:2,url:new URL(g,location.origin),seed:null};let h=Date.now(),j=(0,p.convertServerPatchToFullTree)(h,a.route,g.flightData,g.renderedSearch,g.dynamicStaleTime);if(null!==f&&null!==g.staticStageData){let{response:a,isResponsePartial:c}=g.staticStageData;(0,q.getStaleAt)(h,a.s).then(d=>{let e=g.responseHeaders.get(t.NEXT_NAV_DEPLOYMENT_ID_HEADER)??a.b;(0,q.writeStaticStageResponseIntoCache)(h,a.f,e,a.h,d,b,g.renderedSearch,c)}).catch(()=>{})}null!==f&&null!==g.runtimePrefetchStream&&(0,q.processRuntimePrefetchStream)(h,g.runtimePrefetchStream,b,g.renderedSearch).then(a=>{null!==a&&(0,q.writeDynamicRenderResponseIntoCache)(h,r.FetchStrategy.PPRRuntime,a.flightDatas,a.buildId,a.isResponsePartial,a.headVaryParams,a.staleAt,a.navigationSeed,null)}).catch(()=>{});let l=(0,v.computeDynamicStaleAt)(h,g.dynamicStaleTime);return{exitStatus:+!!function a(b,c,d,e,f,g){0===b.status&&null!==d&&(b.status=1,function(a,b,c,d){let e=a.rsc,f=b[0];if(null===f)return;null===e?a.rsc=f:M(e)&&e.resolve(f,d);let g=a.head;M(g)&&g.resolve(c,d)}(b.node,d,e,g),(0,v.updateBFCacheEntryStaleAt)(c.varyPath,f));let h=b.children,j=c.slots,k=null!==d?d[1]:null,l=!1;if(null!==h)if(null!==j)for(let b in j){let c=j[b],d=null!==k?k[b]:null,m=h.get(b);if(void 0===m)l=!0;else{let b=m.route[0],h=B(c);(0,i.matchSegment)(h,b)&&null!=d&&a(m,c,d,e,f,g)&&(l=!0)}}else null!==j&&(l=!0);return l}(a,j.routeTree,j.data,j.head,l,g.debugInfo),url:new URL(g.canonicalUrl,location.origin),seed:j}}catch{return{exitStatus:2,url:c,seed:null}}}let L=Symbol();function M(a){return a&&"object"==typeof a&&a.tag===L}function N(){let a,b,c=[],d=new Promise((c,d)=>{a=c,b=d});return d.status="pending",d.resolve=(b,e)=>{"pending"===d.status&&(d.status="fulfilled",d.value=b,null!==e&&c.push.apply(c,e),a(b))},d.reject=(a,e)=>{"pending"===d.status&&(d.status="rejected",d.reason=a,null!==e&&c.push.apply(c,e),b(a))},d.tag=L,d._debugInfo=c,d}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},19924,(a,b,c)=>{"use strict";function d(a){return a.startsWith("/")?a:`/${a}`}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureLeadingSlash",{enumerable:!0,get:function(){return d}})},53808,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={compareAppPaths:function(){return i},normalizeAppPath:function(){return h},normalizeRscURL:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(19924),g=a.r(39118);function h(a){return(0,f.ensureLeadingSlash)(a.split("/").reduce((a,b,c,d)=>!b||(0,g.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:`${a}/${b}`,""))}function i(a,b){let c=a.includes("/@"),d=b.includes("/@");return c&&!d?-1:!c&&d?1:a.localeCompare(b)}function j(a){return a.replace(/\.rsc($|\?)/,"$1")}},18099,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={INTERCEPTION_ROUTE_MARKERS:function(){return g},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(53808),g=["(..)(..)","(.)","(..)","(...)"];function h(a){return void 0!==a.split("/").find(a=>g.find(b=>a.startsWith(b)))}function i(a){let b,c,d;for(let e of a.split("/"))if(c=g.find(a=>e.startsWith(a))){[b,d]=a.split(c,2);break}if(!b||!c||!d)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(b=(0,f.normalizeAppPath)(b),c){case"(.)":d="/"===b?`/${d}`:b+"/"+d;break;case"(..)":if("/"===b)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});d=b.split("/").slice(0,-1).concat(d).join("/");break;case"(...)":d="/"+d;break;case"(..)(..)":let e=b.split("/");if(e.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});d=e.slice(0,-2).concat(d).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:b,interceptedRoute:d}}},37042,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={computeChangedPath:function(){return n},extractPathFromFlightRouterState:function(){return l},extractSourcePageFromFlightRouterState:function(){return m},getSelectedParams:function(){return function a(b,c={}){for(let d of Object.values(b[1])){let b=d[0],e=Array.isArray(b),f=e?b[1]:b;!f||f.startsWith(g.PAGE_SEGMENT_KEY)||(e&&("c"===b[2]||"oc"===b[2])?c[b[0]]=b[1].split("/"):e&&(c[b[0]]=b[1]),c=a(d,c))}return c}}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(18099),g=a.r(39118),h=a.r(30641),i=a=>"/"===a[0]?a.slice(1):a,j=a=>"string"==typeof a?"children"===a?"":a:a[1];function k(a){return a.reduce((a,b)=>""===(b=i(b))||(0,g.isGroupSegment)(b)?a:`${a}/${b}`,"")||"/"}function l(a){let b=Array.isArray(a[0])?a[0][1]:a[0];if(b===g.DEFAULT_SEGMENT_KEY||f.INTERCEPTION_ROUTE_MARKERS.some(a=>b.startsWith(a)))return;if(b.startsWith(g.PAGE_SEGMENT_KEY))return"";let c=[j(b)],d=a[1]??{},e=d.children?l(d.children):void 0;if(void 0!==e)c.push(e);else for(let[a,b]of Object.entries(d)){if("children"===a)continue;let d=l(b);void 0!==d&&c.push(d)}return k(c)}function m(a){let b=function a(b){let c=(a=>{if("string"==typeof a)return"children"===a?"":a.startsWith(g.PAGE_SEGMENT_KEY)?"page":a;let[b,,c]=a;switch(c){case"c":return`[...${b}]`;case"ci(..)(..)":return`(..)(..)[...${b}]`;case"ci(.)":return`(.)[...${b}]`;case"ci(..)":return`(..)[...${b}]`;case"ci(...)":return`(...)[...${b}]`;case"oc":return`[[...${b}]]`;case"d":default:return`[${b}]`;case"di(..)(..)":return`(..)(..)[${b}]`;case"di(.)":return`(.)[${b}]`;case"di(..)":return`(..)[${b}]`;case"di(...)":return`(...)[${b}]`}})(b[0]);if(c===g.DEFAULT_SEGMENT_KEY)return;if("page"===c)return[c];let d=b[1]??{},e=d.children?a(d.children):void 0;if(void 0!==e)return""===c?e:[i(c),...e];for(let[b,e]of Object.entries(d)){if("children"===b)continue;let d=a(e);if(void 0!==d)return""===c?d:[i(c),...d]}}(a);return b?`/${b.join("/")}`:void 0}function n(a,b){let c=function a(b,c){let[d,e]=b,[g,i]=c,k=j(d),m=j(g);if(f.INTERCEPTION_ROUTE_MARKERS.some(a=>k.startsWith(a)||m.startsWith(a)))return"";if(!(0,h.matchSegment)(d,g))return l(c)??"";for(let b in e)if(i[b]){let c=a(e[b],i[b]);if(null!==c)return`${j(g)}/${c}`}return null}(a,b);return null==c||"/"===c?c:k(c.split("/"))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},27190,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isJavaScriptURLString",{enumerable:!0,get:function(){return e}});let d=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function e(a){return d.test(""+a)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},11675,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isNavigationLocked:function(){return i},startListeningForInstantNavigationCookie:function(){return f},transitionToCapturedSPA:function(){return g},updateCapturedSPAToTree:function(){return h},waitForNavigationLockIfActive:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(){}function g(a,b){}function h(a,b){}function i(){return!1}async function j(){}a.r(37909),a.r(90841),("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},37472,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={completeHardNavigation:function(){return w},completeSoftNavigation:function(){return x},completeTraverseNavigation:function(){return y},convertServerPatchToFullTree:function(){return z},navigate:function(){return r},navigateToKnownRoute:function(){return s}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20873),g=a.r(57051),h=a.r(74685),i=a.r(72006),j=a.r(99032),k=a.r(52052),l=a.r(92702);a.r(42297);let m=a.r(10846);a.r(16441);let n=a.r(88347),o=a.r(37042),p=a.r(27190),q=a.r(36085);function r(a,b,c,d,e,f,g,h,i,k){return function(a,b,c,d,e,f,g,h,i,k){let m=Date.now(),n=b.href,o=(0,l.createCacheKey)(n,g),p=(0,j.readRouteCacheEntry)(m,o);if(null!==p&&p.status===j.EntryStatus.Fulfilled)return t(m,a,b,c,d,g,e,f,h,i,k,p);if(null===p||p.status!==j.EntryStatus.Rejected){let l=(0,j.deprecated_requestOptimisticRouteCacheEntry)(m,b,g);if(null!==l)return t(m,a,b,c,d,g,e,f,h,i,k,l)}return v(m,a,b,c,d,g,e,f,h,i,k).catch(()=>a)}(a,b,c,d,e,f,g,h,i,k)}function s(a,b,c,d,e,f,h,i,j,k,l,m,n,o,p){let q={separateRefreshUrls:null,scrollRef:null},r=c.href===f.href,s=(0,g.startPPRNavigation)(a,f,h,i,j,e.routeTree,e.metadataVaryPath,k,e.data,e.head,e.dynamicStaleAt,r,q);return null!==s?(k!==g.FreshnessPolicy.Gesture&&(0,g.spawnDynamicRequests)(s,c,l,k,q,p,n),x(b,c,l,s.route,s.node,e.renderedSearch,d,n,m,q.scrollRef,o)):w(b,c,n)}function t(a,b,c,d,e,f,g,h,i,j,k,l){let m=l.tree,n=l.canonicalUrl+c.hash,o={renderedSearch:l.renderedSearch,routeTree:m,metadataVaryPath:l.metadata.varyPath,data:null,head:null,dynamicStaleAt:(0,q.computeDynamicStaleAt)(a,q.UnknownDynamicStaleTime)};return s(a,b,c,n,o,d,e,g,h,i,f,j,k,null,l)}let u=["",{},null,"refetch"];async function v(a,b,c,d,e,l,n,o,p,q,r){let t;switch(p){case g.FreshnessPolicy.Default:case g.FreshnessPolicy.HistoryTraversal:case g.FreshnessPolicy.Gesture:t=o;break;case g.FreshnessPolicy.Hydration:case g.FreshnessPolicy.RefreshAll:case g.FreshnessPolicy.HMRRefresh:t=u;break;default:t=o}let v=(0,f.fetchServerResponse)(c,{flightRouterState:t,nextUrl:l}),x=await v;if("string"==typeof x)return w(b,new URL(x,location.origin),r);let{flightData:y,canonicalUrl:A,renderedSearch:B,couldBeIntercepted:C,supportsPerSegmentPrefetching:D,dynamicStaleTime:E,staticStageData:F,runtimePrefetchStream:G,responseHeaders:H,debugInfo:I}=x,J=z(a,o,y,B,E),K=J.metadataVaryPath;if(null!==K){if((0,k.discoverKnownRoute)(a,c.pathname,l,null,J.routeTree,K,C,(0,h.createHrefFromUrl)(A),D,!1),null!==F){let{response:b,isResponsePartial:c}=F;(0,j.getStaleAt)(a,b.s).then(d=>{let e=H.get(i.NEXT_NAV_DEPLOYMENT_ID_HEADER)??b.b;(0,j.writeStaticStageResponseIntoCache)(a,b.f,e,b.h,d,o,B,c)}).catch(()=>{})}null!==G&&(0,j.processRuntimePrefetchStream)(a,G,o,B).then(b=>{null!==b&&(0,j.writeDynamicRenderResponseIntoCache)(a,m.FetchStrategy.PPRRuntime,b.flightDatas,b.buildId,b.isResponsePartial,b.headVaryParams,b.staleAt,b.navigationSeed,null)}).catch(()=>{})}return s(a,b,c,(0,h.createHrefFromUrl)(A),J,d,e,n,o,p,l,q,r,I,null)}function w(a,b,c){return(0,p.isJavaScriptURLString)(b.href)?(console.error("Next.js has blocked a javascript: URL as a security precaution."),a):{canonicalUrl:b.origin===location.origin?(0,h.createHrefFromUrl)(b):b.href,pushRef:{pendingPush:"push"===c,mpaNavigation:!0,preserveCustomHistoryState:!1},renderedSearch:a.renderedSearch,focusAndScrollRef:a.focusAndScrollRef,cache:a.cache,tree:a.tree,nextUrl:a.nextUrl,previousNextUrl:a.previousNextUrl,debugInfo:null}}function x(a,b,c,d,e,f,g,h,i,j,k){let l,m,p=(0,o.computeChangedPath)(a.tree,d)||a.nextUrl,q=new URL(a.canonicalUrl,b),r=b.pathname===q.pathname&&b.search===q.search&&b.hash!==q.hash;if(i===n.ScrollBehavior.NoScroll)null!==j&&(j.current=!1),l=a.focusAndScrollRef.scrollRef,m=!1;else if(r){let b=a.focusAndScrollRef.scrollRef;null!==b&&(b.current=!1),null!==j&&(j.current=!1),l={current:!0},m=!0}else{if(l=j,null!==j){let b=a.focusAndScrollRef.scrollRef;null!==b&&(b.current=!1)}m=!1}return{canonicalUrl:g,renderedSearch:f,pushRef:{pendingPush:"push"===h,mpaNavigation:!1,preserveCustomHistoryState:!1},focusAndScrollRef:{scrollRef:l,forceScroll:m,onlyHashChange:r,hashFragment:i!==n.ScrollBehavior.NoScroll&&""!==b.hash?decodeURIComponent(b.hash.slice(1)):a.focusAndScrollRef.hashFragment},cache:e,tree:d,nextUrl:p,previousNextUrl:c,debugInfo:k}}function y(a,b,c,d,e,f){return{canonicalUrl:(0,h.createHrefFromUrl)(b),renderedSearch:c,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:a.focusAndScrollRef,cache:d,tree:e,nextUrl:f,previousNextUrl:null,debugInfo:null}}function z(a,b,c,d,e){let f=b,g=null,h=null;if(null!==c)for(let{segmentPath:a,tree:b,seedData:e,head:i}of c){let c=function a(b,c,d,e,f,g,h){let i;if(h===f.length)return{tree:d,data:e};let j=f[h],k=b[1],l=null!==c?c[1]:null,m={},n={};for(let b in k){let c=k[b],i=null!==l?l[b]??null:null;if(b===j){let j=a(c,i,d,e,f,g,h+2);m[b]=j.tree,n[b]=j.data}else m[b]=c,n[b]=i}if(i=[b[0],m],2 in b){let a=b[2];null!=a&&(i[2]=[a[0],g])}return 3 in b&&(i[3]=b[3]),4 in b&&(i[4]=b[4]),{tree:i,data:[null,n,null,!0,null]}}(f,g,b,e,a,d,0);f=c.tree,g=c.data,h=i}let i=f,k={metadataVaryPath:null};return{routeTree:(0,j.convertRootFlightRouterStateToRouteTree)(i,d,k),metadataVaryPath:k.metadataVaryPath,data:g,renderedSearch:d,head:h,dynamicStaleAt:(0,q.computeDynamicStaleAt)(a,e)}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},23053,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DYNAMIC_STALETIME_MS:function(){return i},STATIC_STALETIME_MS:function(){return j},navigateReducer:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(37472),g=a.r(99032),h=a.r(57051),i=1e3*Number("0"),j=(0,g.getStaleTimeMs)(Number("300"));function k(a,b){let{url:c,isExternalUrl:d,navigateType:e,scrollBehavior:g}=b;if(d||document.getElementById("__next-page-redirect"))return(0,f.completeHardNavigation)(a,c,e);let i=new URL(a.canonicalUrl,location.origin),j=a.renderedSearch;return(0,f.navigate)(a,c,i,j,a.cache,a.tree,a.nextUrl,h.FreshnessPolicy.Default,g,e)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},36085,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={UnknownDynamicStaleTime:function(){return h},computeDynamicStaleAt:function(){return i},invalidateBfCache:function(){return j},readFromBFCache:function(){return n},readFromBFCacheDuringRegularNavigation:function(){return o},updateBFCacheEntryStaleAt:function(){return m},writeHeadToBFCache:function(){return l},writeToBFCache:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(23053),g=a.r(51561),h=-1;function i(a,b){return b!==h?a+1e3*b:a+f.DYNAMIC_STALETIME_MS}function j(){}function k(a,b,c,d,e,f,g){}function l(a,b,c,d,e){k(a,b,c,d,null,null,e)}function m(a,b){}function n(a){return null}function o(a,b){return null}(0,g.createCacheMap)(),("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20873,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0});var e={createFetch:function(){return y},createFromNextReadableStream:function(){return z},decodeStaticStage:function(){return x},fetchServerResponse:function(){return u},processFetch:function(){return v},resolveStaticStageData:function(){return w}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(38783);a.r(88644);let h=a.r(37909),i=a.r(20611),j=a.r(1722),k=a.r(22129),l=a.r(25744),m=a.r(23187),n=a.r(68063),o=a.r(16438),p=a.r(72006);a.r(99032);let q=a.r(36085),r=g.createFromReadableStream,s=g.createFromFetch;function t(a){return(0,m.urlToUrlWithoutFlightMarker)(new URL(a,location.origin)).toString()}async function u(a,b){let{flightRouterState:c,nextUrl:d}=b,e={[h.RSC_HEADER]:"1",[h.NEXT_ROUTER_STATE_TREE_HEADER]:(0,k.prepareFlightRouterStateForRequest)(c,b.isHmrRefresh)};d&&(e[h.NEXT_URL]=d);try{let b=await y(a,e,"auto",!0),c=(0,m.urlToUrlWithoutFlightMarker)(new URL(b.url)),d=b.redirected?c:a,f=b.headers.get("content-type")||"",g=!!b.headers.get("vary")?.includes(h.NEXT_URL),i=!!b.headers.get(h.NEXT_DID_POSTPONE_HEADER);if(!f.startsWith(h.RSC_CONTENT_TYPE_HEADER)||!b.ok||!b.body)return a.hash&&(c.hash=a.hash),t(c.toString());let j=b.flightResponsePromise;null===j&&(j=z(b.body,e,{allowPartialStream:i}));let[l,n]=await Promise.all([j,b.cacheData]);if((b.headers.get(p.NEXT_NAV_DEPLOYMENT_ID_HEADER)??l.b)!==(0,o.getNavigationBuildId)())return t(b.url);let r=(0,k.normalizeFlightData)(l.f);if("string"==typeof r)return t(r);let s=null!==n?await w(n,l,e):null;return{flightData:r,canonicalUrl:d,renderedSearch:l.q,couldBeIntercepted:g,supportsPerSegmentPrefetching:l.S,postponed:i,dynamicStaleTime:l.d??q.UnknownDynamicStaleTime,staticStageData:s,runtimePrefetchStream:l.p??null,responseHeaders:b.headers,debugInfo:j._debugInfo??null}}catch(b){return console.error(`Failed to fetch RSC payload for ${a}. Falling back to browser navigation.`,b),a.toString()}}async function v(a){return{response:a,cacheData:null}}async function w(a,b,c){let{isResponsePartial:d,responseBodyClone:e}=a;if(e){if(!d)return e.cancel(),{response:b,isResponsePartial:!1};if(void 0!==b.l)return{response:await x(e,b.l,c),isResponsePartial:!0};e.cancel()}return null}async function x(a,b,c){var d,e;let f,g;return z((d=a,e=await b,f=d.getReader(),g=e,new ReadableStream({async pull(a){if(g<=0){f.cancel(),a.close();return}let{done:b,value:c}=await f.read();b?a.close():c.byteLength<=g?(a.enqueue(c),g-=c.byteLength):(a.enqueue(c.subarray(0,g)),g=0,f.cancel(),a.close())},cancel(){f.cancel()}})),c,{allowPartialStream:!0})}async function y(a,b,c,e,f){var g,k;let m=(0,n.getDeploymentId)();m&&(b["x-deployment-id"]=m);let o=new URL(a);await (0,l.setCacheBustingSearchParam)(o,b);let p=fetch(o,{credentials:"same-origin",headers:b,priority:c||void 0,signal:f}).then(v),q=p.then(({response:a})=>a),r=e?(g=q,k=b,s(g,{callServer:i.callServer,findSourceMapURL:j.findSourceMapURL,debugChannel:d&&d(k)})):null,t=await q,u=t.redirected,w=new URL(t.url,o);return w.searchParams.delete(h.NEXT_RSC_UNION_QUERY),{url:w.href,redirected:u,ok:t.ok,headers:t.headers,body:t.body,status:t.status,flightResponsePromise:r,cacheData:p.then(({cacheData:a})=>a)}}function z(a,b,c){return r(a,{callServer:i.callServer,findSourceMapURL:j.findSourceMapURL,debugChannel:d&&d(b),unstable_allowPartialStream:c?.allowPartialStream})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},54427,(a,b,c)=>{"use strict";function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},99032,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={EntryStatus:function(){return C},attemptToFulfillDynamicSegmentFromBFCache:function(){return aa},attemptToUpgradeSegmentFromBFCache:function(){return ab},canNewFetchStrategyProvideMoreContent:function(){return aw},convertReusedFlightRouterStateToRouteTree:function(){return al},convertRootFlightRouterStateToRouteTree:function(){return ak},convertRouteTreeToFlightRouterState:function(){return function a(b){let c={};if(null!==b.slots)for(let d in b.slots)c[d]=a(b.slots[d]);return[b.segment,c,null,null]}},createDetachedSegmentCacheEntry:function(){return $},createMetadataRouteTree:function(){return ad},deprecated_requestOptimisticRouteCacheEntry:function(){return U},fetchInlinedSegmentsOnCacheMiss:function(){return ap},fetchRouteOnCacheMiss:function(){return an},fetchSegmentOnCacheMiss:function(){return ao},fetchSegmentPrefetchesUsingDynamicRequest:function(){return aq},fulfillRouteCacheEntry:function(){return ae},getCurrentRouteCacheVersion:function(){return J},getCurrentSegmentCacheVersion:function(){return K},getStaleAt:function(){return az},getStaleTimeMs:function(){return B},invalidateEntirePrefetchCache:function(){return L},invalidateRouteCacheEntries:function(){return M},invalidateSegmentCacheEntries:function(){return N},markRouteEntryAsDynamicRewrite:function(){return ag},overwriteRevalidatingSegmentCacheEntry:function(){return Y},pingInvalidationListeners:function(){return O},processRuntimePrefetchStream:function(){return aB},readOrCreateRevalidatingSegmentEntry:function(){return X},readOrCreateRouteCacheEntry:function(){return T},readOrCreateSegmentCacheEntry:function(){return W},readRouteCacheEntry:function(){return P},readSegmentCacheEntry:function(){return Q},stripIsPartialByte:function(){return aC},upgradeToPendingSegment:function(){return _},upsertSegmentEntry:function(){return Z},waitForSegmentCacheEntry:function(){return R},writeDynamicRenderResponseIntoCache:function(){return as},writeRouteIntoCache:function(){return af},writeStaticStageResponseIntoCache:function(){return aA}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(21341),h=a.r(37909),i=a.r(20873),j=a.r(42297),k=a.r(91442),l=a.r(74685),m=a.r(92702),n=a.r(23187),o=a.r(51561),p=a.r(58216),q=a.r(22129),r=a.r(23053),s=a.r(16441),t=a.r(39118),u=a.r(10846),v=a.r(54427),w=a.r(36085),x=a.r(52052),y=a.r(37472),z=a.r(16438),A=a.r(72006);function B(a){return 1e3*Math.max(a,30)}var C=((d={})[d.Empty=0]="Empty",d[d.Pending=1]="Pending",d[d.Fulfilled=2]="Fulfilled",d[d.Rejected=3]="Rejected",d);let D=["",{},null,"metadata-only"],E=(0,o.createCacheMap)(),F=(0,o.createCacheMap)(),G=null,H=0,I=0;function J(){return H}function K(){return I}function L(a,b){H++,I++,(0,s.pingVisibleLinks)(a,b),O(a,b)}function M(a,b){H++,(0,s.pingVisibleLinks)(a,b),O(a,b)}function N(a,b){I++,(0,s.pingVisibleLinks)(a,b),O(a,b)}function O(a,b){if(null!==G){let c=G;for(let d of(G=null,c))(0,j.isPrefetchTaskDirty)(d,a,b)&&function(a){let b=a.onInvalidate;if(null!==b){a.onInvalidate=null;try{b()}catch(a){"function"==typeof reportError?reportError(a):console.error(a)}}}(d)}}function P(a,b){let c=(0,k.getRouteVaryPath)(b.pathname,b.search,b.nextUrl),d=(0,o.getFromCacheMap)(a,H,E,c,!1);return null!==d?d:null}function Q(a,b){return(0,o.getFromCacheMap)(a,I,F,b,!1)}function R(a){let b=a.promise;return null===b&&(b=a.promise=(0,v.createPromiseWithResolvers)()),b.promise}function S(){return{canonicalUrl:null,status:0,blockedTasks:null,tree:null,metadata:null,couldBeIntercepted:!0,supportsPerSegmentPrefetching:!1,renderedSearch:null,ref:null,size:0,staleAt:1/0,version:H}}function T(a,b,c){null!==b.onInvalidate&&(null===G?G=new Set([b]):G.add(b));let d=P(a,c);if(null!==d)return d;let e=S(),f=(0,k.getRouteVaryPath)(c.pathname,c.search,c.nextUrl);return(0,o.setInCacheMap)(E,f,e,!1),e}function U(a,b,c){let d=b.search;if(""===d)return null;let e=new URL(b);e.search="";let f=P(a,(0,m.createCacheKey)(e.href,c));if(null===f||2!==f.status)return null;let g=new URL(f.canonicalUrl,b.origin),h=""!==g.search?g.search:d,i=""!==f.renderedSearch?f.renderedSearch:d,j=new URL(f.canonicalUrl,location.origin);return j.search=h,{canonicalUrl:(0,l.createHrefFromUrl)(j),status:2,blockedTasks:null,tree:V(f.tree,i),metadata:V(f.metadata,i),couldBeIntercepted:f.couldBeIntercepted,supportsPerSegmentPrefetching:f.supportsPerSegmentPrefetching,hasDynamicRewrite:f.hasDynamicRewrite,renderedSearch:i,ref:null,size:0,staleAt:f.staleAt,version:f.version}}function V(a,b){let c=null,d=a.slots;if(null!==d)for(let a in c={},d){let e=d[a];c[a]=V(e,b)}return a.isPage?{requestKey:a.requestKey,segment:a.segment,refreshState:a.refreshState,varyPath:(0,k.clonePageVaryPathWithNewSearchParams)(a.varyPath,b),isPage:!0,slots:c,prefetchHints:a.prefetchHints}:{requestKey:a.requestKey,segment:a.segment,refreshState:a.refreshState,varyPath:a.varyPath,isPage:!1,slots:c,prefetchHints:a.prefetchHints}}function W(a,b,c){let d=Q(a,c.varyPath);if(null!==d)return d;let e=(0,k.getSegmentVaryPathForRequest)(b,c),f=$(a);return(0,o.setInCacheMap)(F,e,f,!1),f}function X(a,b,c){var d;let e=(d=c.varyPath,(0,o.getFromCacheMap)(a,I,F,d,!0));if(null!==e)return e;let f=(0,k.getSegmentVaryPathForRequest)(b,c),g=$(a);return(0,o.setInCacheMap)(F,f,g,!0),g}function Y(a,b,c){let d=(0,k.getSegmentVaryPathForRequest)(b,c),e=$(a);return(0,o.setInCacheMap)(F,d,e,!0),e}function Z(a,b,c){if((0,o.isValueExpired)(a,I,c))return null;let d=Q(a,b);if(null!==d){var e;if(c.fetchStrategy!==d.fetchStrategy&&(e=d.fetchStrategy,!(ec?null:ah(_(b,u.FetchStrategy.Full),e.rsc,c,!1)}return null}function ab(a,b){let c=b.varyPath,d=(0,w.readFromBFCache)(c);if(null!==d){let c=d.navigatedAt+r.STATIC_STALETIME_MS;if(a>c)return null;let e=ah(_($(a),u.FetchStrategy.Full),d.rsc,c,!1),f=Z(a,(0,k.getSegmentVaryPathForRequest)(u.FetchStrategy.Full,b),e);if(null!==f&&2===f.status)return f}return null}function ac(a){let b=a.blockedTasks;if(null!==b){for(let a of b)(0,j.pingPrefetchTask)(a);a.blockedTasks=null}}function ad(a){return{requestKey:p.HEAD_REQUEST_KEY,segment:p.HEAD_REQUEST_KEY,refreshState:null,varyPath:a,isPage:!0,slots:null,prefetchHints:0}}function ae(a,b,c,d,e,f,g){let h=(0,k.getRenderedSearchFromVaryPath)(d)??"";return b.status=2,b.tree=c,b.metadata=ad(d),b.staleAt=a+r.STATIC_STALETIME_MS,b.couldBeIntercepted=e,b.canonicalUrl=f,b.renderedSearch=h,b.supportsPerSegmentPrefetching=g,b.hasDynamicRewrite=!1,ac(b),b}function af(a,b,c,d,e,f,g,h){let i=ae(a,S(),d,e,f,g,h),j=i.renderedSearch,l=(0,k.getFulfilledRouteVaryPath)(b,j,c,f);return(0,o.setInCacheMap)(E,l,i,!1),i}function ag(a){a.hasDynamicRewrite=!0}function ah(a,b,c,d){return a.status=2,a.rsc=b,a.staleAt=c,a.isPartial=d,null!==a.promise&&(a.promise.resolve(a),a.promise=null),a}function ai(a,b){a.status=3,a.staleAt=b,ac(a)}function aj(a,b){a.status=3,a.staleAt=b,null!==a.promise&&(a.promise.resolve(null),a.promise=null)}function ak(a,b,c){return am(a,p.ROOT_SEGMENT_REQUEST_KEY,null,b,c)}function al(a,b,c,d,e){let f=a.isPage?(0,k.getPartialPageVaryPath)(a.varyPath):(0,k.getPartialLayoutVaryPath)(a.varyPath),g=c[0],h=a.requestKey,i=(0,p.createSegmentRequestKeyPart)(g);return am(c,(0,p.appendSegmentRequestKeyPart)(h,b,i),f,d,e)}function am(a,b,c,d,e){let f,g,h,i,j=a[0],l=a[2]??null,m=null!==l?{canonicalUrl:l[0],renderedSearch:l[1]}:null,n=null!==m?m.renderedSearch:d;if(Array.isArray(j)){h=!1;let a=j[1],d=j[0];g=(0,k.appendLayoutVaryPath)(c,a,d),i=(0,k.finalizeLayoutVaryPath)(b,g),f=j}else g=c,b.endsWith(t.PAGE_SEGMENT_KEY)?(h=!0,f=t.PAGE_SEGMENT_KEY,i=(0,k.finalizePageVaryPath)(b,n,g),null===e.metadataVaryPath&&(e.metadataVaryPath=(0,k.finalizeMetadataVaryPath)(b,n,g))):(h=!1,f=j,i=(0,k.finalizeLayoutVaryPath)(b,g));let o=null,q=a[1];for(let a in q){let c=q[a],d=c[0],f=(0,p.createSegmentRequestKeyPart)(d),h=am(c,(0,p.appendSegmentRequestKeyPart)(b,a,f),g,n,e);null===o?o={[a]:h}:o[a]=h}return{requestKey:b,segment:f,refreshState:m,varyPath:i,isPage:h,slots:o,prefetchHints:a[4]??0}}async function an(a,b){let c=b.pathname,d=b.search,e=b.nextUrl,f={[h.RSC_HEADER]:"1",[h.NEXT_ROUTER_PREFETCH_HEADER]:"1",[h.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:"/_tree"};null!==e&&(f[h.NEXT_URL]=e),ax(f);try{let b,j,m=new URL(c+d,location.origin);if(b=await au(m,f),j=null!==b&&b.redirected?new URL(b.url):m,!b||!b.ok||204===b.status||!b.body)return ai(a,Date.now()+1e4),null;let r=(0,l.createHrefFromUrl)(j),s=b.headers.get("vary"),B=null!==s&&s.includes(h.NEXT_URL),C=(0,v.createPromiseWithResolvers)(),D="2"===b.headers.get(h.NEXT_DID_POSTPONE_HEADER);if(D){let d,g,{stream:h,size:j}=await av(b.body);C.resolve(),(0,o.setSizeInCacheMap)(a,j);let l=await (0,i.createFromNextReadableStream)(h,f,{allowPartialStream:!0});if((b.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??l.buildId)!==(0,z.getNavigationBuildId)())return ai(a,Date.now()+1e4),null;let m=(0,n.getRenderedPathname)(b),q=(0,n.getRenderedSearch)(b),s={metadataVaryPath:null},u=(d=m.split("/").filter(a=>""!==a),g=p.ROOT_SEGMENT_REQUEST_KEY,function a(b,c,d,e,f,g,h,i){let j,l,m=null,o=b.slots;if(null!==o)for(let b in j=!1,l=(0,k.finalizeLayoutVaryPath)(e,d),m={},o){let c,j,l,q=o[b],r=q.name,s=q.param;if(null!==s){let a=(0,n.parseDynamicParamFromURLPart)(s.type,f,g),b=null!==s.key?s.key:(0,n.getCacheKeyForDynamicParam)(a,"");l=(0,k.appendLayoutVaryPath)(d,b,r),j=[r,b,s.type,s.siblings],c=!0}else l=d,j=r,c=(0,n.doesStaticSegmentAppearInURL)(r);let t=c?g+1:g,u=(0,p.createSegmentRequestKeyPart)(j),v=(0,p.appendSegmentRequestKeyPart)(e,b,u);m[b]=a(q,j,l,v,f,t,h,i)}else e.endsWith(t.PAGE_SEGMENT_KEY)?(j=!0,l=(0,k.finalizePageVaryPath)(e,h,d),null===i.metadataVaryPath&&(i.metadataVaryPath=(0,k.finalizeMetadataVaryPath)(e,h,d))):(j=!1,l=(0,k.finalizeLayoutVaryPath)(e,d));return{requestKey:e,segment:c,refreshState:null,varyPath:l,isPage:j,slots:m,prefetchHints:b.prefetchHints}}(l.tree,g,null,p.ROOT_SEGMENT_REQUEST_KEY,d,0,q,s)),v=s.metadataVaryPath;if(null===v)return ai(a,Date.now()+1e4),null;(0,x.discoverKnownRoute)(Date.now(),c,e,a,u,v,B,r,D,!1)}else{let{stream:d,size:j}=await av(b.body);C.resolve(),(0,o.setSizeInCacheMap)(a,j);let k=await (0,i.createFromNextReadableStream)(d,f,{allowPartialStream:!0});if((b.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??k.b)!==(0,z.getNavigationBuildId)())return ai(a,Date.now()+1e4),null;let l=k.h,m=null!==l?(0,g.readVaryParams)(l):null;!function(a,b,c,d,e,f,g,i,j,k,l){let m=(0,n.getRenderedSearch)(c),o=(0,q.normalizeFlightData)(d.f);if("string"==typeof o||1!==o.length)return ai(e,a+1e4);let p=o[0];if(!p.isRootRender)return ai(e,a+1e4);let r=p.tree,s="1"===c.headers.get(h.NEXT_DID_POSTPONE_HEADER),t={metadataVaryPath:null},u=ak(r,m,t),v=t.metadataVaryPath;if(null===v)return ai(e,a+1e4);(0,x.discoverKnownRoute)(a,k,l,e,u,v,f,g,i,!1);let z=(0,y.convertServerPatchToFullTree)(a,r,o,m,w.UnknownDynamicStaleTime);as(a,b,o,c.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??d.b,s,j,ay(a,c),z,null)}(Date.now(),u.FetchStrategy.LoadingBoundary,b,k,a,B,r,D,m,c,e)}if(!B){let b=(0,k.getFulfilledRouteVaryPath)(c,d,e,B);(0,o.setInCacheMap)(E,b,a,!1)}return{value:null,closed:C.promise}}catch(b){return ai(a,Date.now()+1e4),null}}async function ao(a,b,c,d){let e=new URL(a.canonicalUrl,location.origin),f=c.nextUrl,g=d.requestKey,j=g===p.ROOT_SEGMENT_REQUEST_KEY?"/_index":g,l={[h.RSC_HEADER]:"1",[h.NEXT_ROUTER_PREFETCH_HEADER]:"1",[h.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:j};null!==f&&(l[h.NEXT_URL]=f),ax(l);try{let a=await au(e,l);if(!a||!a.ok||204===a.status||"2"!==a.headers.get(h.NEXT_DID_POSTPONE_HEADER)||!a.body)return aj(b,Date.now()+1e4),null;let c=(0,v.createPromiseWithResolvers)(),{stream:f,size:g}=await av(a.body);c.resolve(),(0,o.setSizeInCacheMap)(b,g);let j=await (0,i.createFromNextReadableStream)(f,l,{allowPartialStream:!0});if((a.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??j.buildId)!==(0,z.getNavigationBuildId)())return aj(b,Date.now()+1e4),null;let m=Date.now(),n=m+B(j.staleTime),p=ah(b,j.rsc,n,j.isPartial);j.varyParams;let q=(0,k.getSegmentVaryPathForRequest)(b.fetchStrategy,d);return Z(m,q,p),{value:p,closed:c.promise}}catch(a){return aj(b,Date.now()+1e4),null}}async function ap(a,b,c,d){let e=new URL(a.canonicalUrl,location.origin),f=b.nextUrl,g={[h.RSC_HEADER]:"1",[h.NEXT_ROUTER_PREFETCH_HEADER]:"1",[h.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:"/"+t.PAGE_SEGMENT_KEY};null!==f&&(g[h.NEXT_URL]=f),ax(g);try{let b=await au(e,g);if(!b||!b.ok||204===b.status||"2"!==b.headers.get(h.NEXT_DID_POSTPONE_HEADER)||!b.body)return ar(d,Date.now()+1e4),null;let f=(0,v.createPromiseWithResolvers)(),{stream:j}=await av(b.body);f.resolve();let k=await (0,i.createFromNextReadableStream)(j,g,{allowPartialStream:!0});if((b.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??k.tree.segment.buildId)!==(0,z.getNavigationBuildId)())return ar(d,Date.now()+1e4),null;let l=Date.now();!function a(b,c,d,e,f){let g=e.segment,h=b+B(g.staleTime),i=f.get(d.requestKey);if(void 0!==i)ah(i,g.rsc,h,g.isPartial);else{let a=W(b,u.FetchStrategy.PPR,d);0===a.status&&ah(_(a,u.FetchStrategy.PPR),g.rsc,h,g.isPartial)}if(null!==d.slots&&null!==e.slots)for(let g in d.slots){let h=d.slots[g],i=e.slots[g];void 0!==i&&a(b,c,h,i,f)}}(l,a,c,k.tree,d);let m=l+B(k.head.staleTime),n=a.metadata.requestKey,o=d.get(n);if(void 0!==o)ah(o,k.head.rsc,m,k.head.isPartial);else{let b=W(l,u.FetchStrategy.PPR,a.metadata);0===b.status&&ah(_(b,u.FetchStrategy.PPR),k.head.rsc,m,k.head.isPartial)}return ar(d,Date.now()+1e4),{value:null,closed:f.promise}}catch(a){return ar(d,Date.now()+1e4),null}}async function aq(a,b,c,d,e){let f=a.key,j=new URL(b.canonicalUrl,location.origin),k=f.nextUrl;1===e.size&&e.has(b.metadata.requestKey)&&(d=D);let l={[h.RSC_HEADER]:"1",[h.NEXT_ROUTER_STATE_TREE_HEADER]:(0,q.prepareFlightRouterStateForRequest)(d)};switch(null!==k&&(l[h.NEXT_URL]=k),c){case u.FetchStrategy.Full:break;case u.FetchStrategy.PPRRuntime:l[h.NEXT_ROUTER_PREFETCH_HEADER]="2";break;case u.FetchStrategy.LoadingBoundary:l[h.NEXT_ROUTER_PREFETCH_HEADER]="1"}try{let a,f=await au(j,l);if(!f||!f.ok||!f.body)return ar(e,Date.now()+1e4),null;let h=(0,n.getRenderedSearch)(f);if(h!==b.renderedSearch)return ar(e,Date.now()+1e4),null;let k=(0,v.createPromiseWithResolvers)(),s=null,t=null;if(c===u.FetchStrategy.Full){var m,p,r;let b,c;m=f.body,p=k.resolve,r=function(a){if(null===s)return;let b=a/s.length;for(let a of s)(0,o.setSizeInCacheMap)(a,b)},b=0,c=m.getReader(),a=new ReadableStream({async pull(a){for(;;){let{done:d,value:e}=await c.read();if(!d){a.enqueue(e),r(b+=e.byteLength);continue}a.close(),p();return}}})}else{let{stream:b,size:c}=await av(f.body);k.resolve(),a=b,t=c}let[x,z]=await Promise.all([(0,i.createFromNextReadableStream)(a,l,{allowPartialStream:!0}),f.cacheData]),B=x.h,C=null!==B?(0,g.readVaryParams)(B):null,D=Date.now(),E=await az(D,x.s,f),F=c===u.FetchStrategy.PPRRuntime&&(z?.isResponsePartial??!1),G=f.headers.get(A.NEXT_NAV_DEPLOYMENT_ID_HEADER)??x.b,H=(0,q.normalizeFlightData)(x.f);if("string"==typeof H)return ar(e,Date.now()+1e4),null;let I=(0,y.convertServerPatchToFullTree)(D,d,H,h,w.UnknownDynamicStaleTime);if(s=as(D,c,H,G,F,C,E,I,e),null!==t&&null!==s&&s.length>0){let a=t/s.length;for(let b of s)(0,o.setSizeInCacheMap)(b,a)}return{value:null,closed:k.promise}}catch(a){return ar(e,Date.now()+1e4),null}}function ar(a,b){let c=[];for(let d of a.values())1===d.status?aj(d,b):2===d.status&&c.push(d);return c}function as(a,b,c,d,e,f,h,i,j){if(d&&d!==(0,z.getNavigationBuildId)())return null!==j&&ar(j,a+1e4),null;let k=i.routeTree,l=null!==i.metadataVaryPath?ad(i.metadataVaryPath):null;for(let d of c){let c=d.seedData;if(null!==c){let f=d.segmentPath,i=k;for(let b=0;b1){b=new Uint8Array(e);let a=0;for(let c of d)b.set(c,a),a+=c.byteLength}else b=new Uint8Array(0);return{stream:new ReadableStream({start(a){a.enqueue(b),a.close()}}),size:e}}function aw(a,b){return aa.close()}),isPartial:!1};let e=d[0],f=35===e||126===e,g=f?d.byteLength>1?d.subarray(1):null:d;return{isPartial:!!f&&126===e,stream:new ReadableStream({start(a){g&&a.enqueue(g)},async pull(a){let c=await b.read();c.done?a.close():a.enqueue(c.value)}})}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},42297,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={cancelPrefetchTask:function(){return v},isPrefetchTaskDirty:function(){return x},pingPrefetchScheduler:function(){return z},pingPrefetchTask:function(){return D},reschedulePrefetchTask:function(){return w},schedulePrefetchTask:function(){return u},startRevalidationCooldown:function(){return t}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(76e3),g=a.r(30641),h=a.r(99032),i=a.r(92702),j=a.r(10846),k=a.r(39118),l=a.r(54645),m="function"==typeof queueMicrotask?queueMicrotask:a=>Promise.resolve().then(a).catch(a=>setTimeout(()=>{throw a})),n=[],o=0,p=0,q=!1,r=null,s=null;function t(){null!==s&&clearTimeout(s),s=setTimeout(()=>{s=null,z()},300)}function u(a,b,c,d,e,f){let g={key:a,treeAtTimeOfPrefetch:b,routeCacheVersion:(0,h.getCurrentRouteCacheVersion)(),segmentCacheVersion:(0,h.getCurrentSegmentCacheVersion)(),priority:d,phase:1,hasBackgroundWork:!1,spawnedRuntimePrefetches:null,fetchStrategy:c,sortId:p++,isCanceled:!1,onInvalidate:e,_heapIndex:-1};return y(g),N(n,g),z(),g}function v(a){a.isCanceled=!0,function(a,b){let c=b._heapIndex;if(-1!==c&&(b._heapIndex=-1,0!==a.length)){let d=a.pop();d!==b&&(a[c]=d,d._heapIndex=c,S(a,d,c))}}(n,a)}function w(a,b,c,d){a.isCanceled=!1,a.phase=1,a.sortId=p++,a.priority=a===r?j.PrefetchPriority.Intent:d,a.treeAtTimeOfPrefetch=b,a.fetchStrategy=c,y(a),-1!==a._heapIndex?Q(n,a):N(n,a),z()}function x(a,b,c){return a.routeCacheVersion!==(0,h.getCurrentRouteCacheVersion)()||a.segmentCacheVersion!==(0,h.getCurrentSegmentCacheVersion)()||a.treeAtTimeOfPrefetch!==c||a.key.nextUrl!==b}function y(a){a.priority===j.PrefetchPriority.Intent&&a!==r&&(null!==r&&r.priority!==j.PrefetchPriority.Background&&(r.priority=j.PrefetchPriority.Default,Q(n,r)),r=a)}function z(){q||(q=!0,m(E))}function A(a){return null===s&&(a.priority===j.PrefetchPriority.Intent?o<12:o<4)}function B(a){return o++,a.then(a=>null===a?(C(),null):(a.closed.then(C),a.value))}function C(){o--,z()}function D(a){a.isCanceled||-1!==a._heapIndex||(N(n,a),z())}function E(){q=!1;let a=Date.now(),b=O(n);for(;null!==b&&A(b);){b.routeCacheVersion=(0,h.getCurrentRouteCacheVersion)(),b.segmentCacheVersion=(0,h.getCurrentSegmentCacheVersion)();let c=function(a,b){let c=b.key,d=(0,h.readOrCreateRouteCacheEntry)(a,b,c),e=function(a,b,c){switch(c.status){case h.EntryStatus.Empty:B((0,h.fetchRouteOnCacheMiss)(c,b.key)),c.staleAt=a+6e4,c.status=h.EntryStatus.Pending;case h.EntryStatus.Pending:{let a=c.blockedTasks;return null===a?c.blockedTasks=new Set([b]):a.add(b),1}case h.EntryStatus.Rejected:break;case h.EntryStatus.Fulfilled:{let i;if(0!==b.phase)return 2;if(!A(b))return 0;let k=c.tree;switch(i=k.prefetchHints&f.PrefetchHint.SubtreeHasInstant?j.FetchStrategy.PPR:b.fetchStrategy===j.FetchStrategy.PPR?c.supportsPerSegmentPrefetching?j.FetchStrategy.PPR:j.FetchStrategy.LoadingBoundary:b.fetchStrategy){case j.FetchStrategy.PPR:{var d,e,g;if(I(d=a,e=b,g=c,(0,h.readOrCreateSegmentCacheEntry)(d,j.FetchStrategy.PPR,g.metadata),e.key,g.metadata),0===function a(b,c,d,e,g){let i=(0,h.readOrCreateSegmentCacheEntry)(b,c.fetchStrategy,g);I(b,c,d,i,c.key,g);let j=e[1],k=g.slots;if(null!==k)for(let e in k){if(!A(c))return 0;let g=k[e],i=g.segment,l=j[e],m=l?.[0];if(0===(void 0!==m&&L(d,i,m)?a(b,c,d,l,g):function a(b,c,d,e){if(e.prefetchHints&f.PrefetchHint.HasRuntimePrefetch)return null===c.spawnedRuntimePrefetches?c.spawnedRuntimePrefetches=new Set([e.requestKey]):c.spawnedRuntimePrefetches.add(e.requestKey),2;let g=(0,h.readOrCreateSegmentCacheEntry)(b,c.fetchStrategy,e);if(I(b,c,d,g,c.key,e),null!==e.slots){if(!A(c))return 0;for(let f in e.slots)if(0===a(b,c,d,e.slots[f]))return 0}return 2}(b,c,d,g)))return 0}return 2}(a,b,c,b.treeAtTimeOfPrefetch,k))return 0;let i=b.spawnedRuntimePrefetches;if(null!==i){let d=new Map;G(a,b,c,d,j.FetchStrategy.PPRRuntime);let e=function a(b,c,d,e,f,g){if(f.has(e.requestKey))return H(b,c,d,e,!1,g,j.FetchStrategy.PPRRuntime);let h={},i=e.slots;if(null!==i)for(let e in i){let j=i[e];h[e]=a(b,c,d,j,f,g)}return[e.segment,h,null,null]}(a,b,c,k,i,d);d.size>0&&B((0,h.fetchSegmentPrefetchesUsingDynamicRequest)(b,c,j.FetchStrategy.PPRRuntime,e,d))}return 2}case j.FetchStrategy.Full:case j.FetchStrategy.PPRRuntime:case j.FetchStrategy.LoadingBoundary:{let d=new Map;G(a,b,c,d,i);let e=function a(b,c,d,e,g,i,k){let l=e[1],m=g.slots,n={};if(null!==m)for(let e in m){let g=m[e],o=g.segment,p=l[e],q=p?.[0];if(void 0!==q&&L(d,o,q)){let f=a(b,c,d,p,g,i,k);n[e]=f}else switch(k){case j.FetchStrategy.LoadingBoundary:{let a=(g.prefetchHints&(f.PrefetchHint.SegmentHasLoadingBoundary|f.PrefetchHint.SubtreeHasLoadingBoundary))!=0?function a(b,c,d,e,g,i){let k=null===g?"inside-shared-layout":null,l=(0,h.readOrCreateSegmentCacheEntry)(b,c.fetchStrategy,e);switch(l.status){case h.EntryStatus.Empty:i.set(e.requestKey,(0,h.upgradeToPendingSegment)(l,j.FetchStrategy.LoadingBoundary)),"refetch"!==g&&(k=g="refetch");break;case h.EntryStatus.Fulfilled:if((e.prefetchHints&f.PrefetchHint.SegmentHasLoadingBoundary)!=0)return(0,h.convertRouteTreeToFlightRouterState)(e);case h.EntryStatus.Pending:case h.EntryStatus.Rejected:}let m={};if(null!==e.slots)for(let f in e.slots){let h=e.slots[f];m[f]=a(b,c,d,h,g,i)}return[e.segment,m,null,k]}(b,c,d,g,null,i):(0,h.convertRouteTreeToFlightRouterState)(g);n[e]=a;break}case j.FetchStrategy.PPRRuntime:{let a=H(b,c,d,g,!1,i,k);n[e]=a;break}case j.FetchStrategy.Full:{let a=H(b,c,d,g,!1,i,k);n[e]=a}}}return[g.segment,n,null,null]}(a,b,c,b.treeAtTimeOfPrefetch,k,d,i);return d.size>0&&B((0,h.fetchSegmentPrefetchesUsingDynamicRequest)(b,c,i,e,d)),2}}}}return 2}(a,b,d);if(0!==e&&""!==c.search){let d=new URL(c.pathname,location.origin),e=(0,i.createCacheKey)(d.href,c.nextUrl),f=(0,h.readOrCreateRouteCacheEntry)(a,b,e);switch(f.status){case h.EntryStatus.Empty:F(b)&&(f.status=h.EntryStatus.Pending,B((0,h.fetchRouteOnCacheMiss)(f,e)));case h.EntryStatus.Pending:case h.EntryStatus.Fulfilled:case h.EntryStatus.Rejected:}}return e}(a,b),d=b.hasBackgroundWork;switch(b.hasBackgroundWork=!1,b.spawnedRuntimePrefetches=null,c){case 0:return;case 1:P(n),b=O(n);continue;case 2:1===b.phase?(b.phase=0,Q(n,b)):d?(b.priority=j.PrefetchPriority.Background,Q(n,b)):P(n),b=O(n);continue}}null===b&&0===o&&(0,l.cleanup)()}function F(a){return a.priority===j.PrefetchPriority.Background||(a.hasBackgroundWork=!0,!1)}function G(a,b,c,d,e){H(a,b,c,c.metadata,!1,d,e===j.FetchStrategy.LoadingBoundary?j.FetchStrategy.Full:e)}function H(a,b,c,d,e,f,g){let i=(0,h.readOrCreateSegmentCacheEntry)(a,g,d),k=null;switch(i.status){case h.EntryStatus.Empty:if(g===j.FetchStrategy.Full&&null!==(0,h.attemptToFulfillDynamicSegmentFromBFCache)(a,i,d))break;k=(0,h.upgradeToPendingSegment)(i,g);break;case h.EntryStatus.Fulfilled:if(i.isPartial&&(0,h.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,g)){if(g===j.FetchStrategy.Full&&null!==(0,h.attemptToUpgradeSegmentFromBFCache)(a,d))break;k=K(a,d,g)}break;case h.EntryStatus.Pending:case h.EntryStatus.Rejected:(0,h.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,g)&&(k=K(a,d,g))}let l={};if(null!==d.slots)for(let h in d.slots){let i=d.slots[h];l[h]=H(a,b,c,i,e||null!==k,f,g)}null!==k&&f.set(d.requestKey,k);let m=e||null===k?null:"refetch";return[d.segment,l,null,m]}function I(a,b,c,d,e,f){switch(d.status){case h.EntryStatus.Empty:B((0,h.fetchSegmentOnCacheMiss)(c,(0,h.upgradeToPendingSegment)(d,j.FetchStrategy.PPR),e,f));break;case h.EntryStatus.Pending:switch(d.fetchStrategy){case j.FetchStrategy.PPR:case j.FetchStrategy.PPRRuntime:case j.FetchStrategy.Full:break;case j.FetchStrategy.LoadingBoundary:F(b)&&J(a,c,e,f);break;default:d.fetchStrategy}break;case h.EntryStatus.Rejected:switch(d.fetchStrategy){case j.FetchStrategy.PPR:case j.FetchStrategy.PPRRuntime:case j.FetchStrategy.Full:break;case j.FetchStrategy.LoadingBoundary:J(a,c,e,f);break;default:d.fetchStrategy}case h.EntryStatus.Fulfilled:}}function J(a,b,c,d){let e=(0,h.readOrCreateRevalidatingSegmentEntry)(a,j.FetchStrategy.PPR,d);switch(e.status){case h.EntryStatus.Empty:B((0,h.fetchSegmentOnCacheMiss)(b,(0,h.upgradeToPendingSegment)(e,j.FetchStrategy.PPR),c,d));case h.EntryStatus.Pending:case h.EntryStatus.Fulfilled:case h.EntryStatus.Rejected:}}function K(a,b,c){let d=(0,h.readOrCreateRevalidatingSegmentEntry)(a,c,b);if(d.status===h.EntryStatus.Empty)return(0,h.upgradeToPendingSegment)(d,c);if((0,h.canNewFetchStrategyProvideMoreContent)(d.fetchStrategy,c)){let d=(0,h.overwriteRevalidatingSegmentCacheEntry)(a,c,b);return(0,h.upgradeToPendingSegment)(d,c)}switch(d.status){case h.EntryStatus.Pending:case h.EntryStatus.Fulfilled:case h.EntryStatus.Rejected:default:return null}}function L(a,b,c){return c===k.PAGE_SEGMENT_KEY?b===(0,k.addSearchParamsIfPageSegment)(k.PAGE_SEGMENT_KEY,Object.fromEntries(new URLSearchParams(a.renderedSearch))):(0,g.matchSegment)(c,b)}function M(a,b){let c=b.priority-a.priority;if(0!==c)return c;let d=b.phase-a.phase;return 0!==d?d:b.sortId-a.sortId}function N(a,b){let c=a.length;a.push(b),b._heapIndex=c,R(a,b,c)}function O(a){return 0===a.length?null:a[0]}function P(a){if(0===a.length)return null;let b=a[0];b._heapIndex=-1;let c=a.pop();return c!==b&&(a[0]=c,c._heapIndex=0,S(a,c,0)),b}function Q(a,b){let c=b._heapIndex;-1!==c&&(0===c?S(a,b,0):M(a[c-1>>>1],b)>0?R(a,b,c):S(a,b,c))}function R(a,b,c){let d=c;for(;d>0;){let c=d-1>>>1,e=a[c];if(!(M(e,b)>0))return;a[c]=b,b._heapIndex=c,a[d]=e,e._heapIndex=d,d=c}}function S(a,b,c){let d=c,e=a.length,f=e>>>1;for(;dM(f,b))gM(h,f)?(a[d]=h,h._heapIndex=d,a[g]=b,b._heapIndex=g,d=g):(a[d]=f,f._heapIndex=d,a[c]=b,b._heapIndex=c,d=c);else{if(!(gM(h,b)))return;a[d]=h,h._heapIndex=d,a[g]=b,b._heapIndex=g,d=g}}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},16441,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={IDLE_LINK_STATUS:function(){return l},PENDING_LINK_STATUS:function(){return k},getLinkForCurrentNavigation:function(){return o},mountFormInstance:function(){return t},mountLinkInstance:function(){return s},onLinkVisibilityChanged:function(){return v},onNavigationIntent:function(){return w},pingVisibleLinks:function(){return y},setLinkForCurrentNavigation:function(){return m},unmountLinkForCurrentNavigation:function(){return n},unmountPrefetchableInstance:function(){return u}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(10846),g=a.r(92702),h=a.r(42297),i=a.r(72131),j=null,k={pending:!0},l={pending:!1};function m(a){(0,i.startTransition)(()=>{j?.setOptimisticLinkStatus(l),a?.setOptimisticLinkStatus(k),j=a})}function n(a){j===a&&(j=null)}function o(){return j}let p="function"==typeof WeakMap?new WeakMap:new Map,q=new Set,r="function"==typeof IntersectionObserver?new IntersectionObserver(function(a){for(let b of a){let a=b.intersectionRatio>0;v(b.target,a)}},{rootMargin:"200px"}):null;function s(a,b,c,d,e,f){return{router:c,fetchStrategy:d,isVisible:!1,prefetchTask:null,prefetchHref:null,setOptimisticLinkStatus:f}}function t(a,b,c,d){}function u(a){let b=p.get(a);if(void 0!==b){p.delete(a),q.delete(b);let c=b.prefetchTask;null!==c&&(0,h.cancelPrefetchTask)(c)}null!==r&&r.unobserve(a)}function v(a,b){let c=p.get(a);void 0!==c&&(c.isVisible=b,b?q.add(c):q.delete(c),x(c,f.PrefetchPriority.Default))}function w(a,b){let c=p.get(a);void 0!==c&&void 0!==c&&x(c,f.PrefetchPriority.Intent)}function x(a,b){}function y(a,b){for(let c of q){let d=c.prefetchTask;if(null!==d&&!(0,h.isPrefetchTaskDirty)(d,a,b))continue;null!==d&&(0,h.cancelPrefetchTask)(d);let e=(0,g.createCacheKey)(c.prefetchHref,a);c.prefetchTask=(0,h.schedulePrefetchTask)(e,b,c.fetchStrategy,f.PrefetchPriority.Default,null)}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},11679,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"pathHasPrefix",{enumerable:!0,get:function(){return e}});let d=a.r(8868);function e(a,b){if("string"!=typeof a)return!1;let{pathname:c}=(0,d.parsePath)(a);return c===b||c.startsWith(b+"/")}},78897,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"hasBasePath",{enumerable:!0,get:function(){return e}});let d=a.r(11679);function e(a){return(0,d.pathHasPrefix)(a,"")}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},11762,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isLocalURL",{enumerable:!0,get:function(){return f}});let d=a.r(46272),e=a.r(78897);function f(a){if(!(0,d.isAbsoluteUrl)(a))return!0;try{let b=(0,d.getLocationOrigin)(),c=new URL(a,b);return c.origin===b&&(0,e.hasBasePath)(c.pathname)}catch(a){return!1}}},9833,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"errorOnce",{enumerable:!0,get:function(){return d}});let d=a=>{}},38246,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return p},useLinkStatus:function(){return r}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058),g=a.r(87924),h=f._(a.r(72131)),i=a.r(43087),j=a.r(9270),k=a.r(8591),l=a.r(46272),m=a.r(38243);a.r(92434),a.r(88347);let n=a.r(16441);a.r(11762);let o=a.r(10846);function p(a){var b,c;let d,e,f,[p,r]=(0,h.useOptimistic)(n.IDLE_LINK_STATUS),s=(0,h.useRef)(null),{href:t,as:u,children:v,prefetch:w=null,passHref:x,replace:y,shallow:z,scroll:A,onClick:B,onMouseEnter:C,onTouchStart:D,legacyBehavior:E=!1,onNavigate:F,transitionTypes:G,ref:H,unstable_dynamicOnHover:I,...J}=a;d=v,E&&("string"==typeof d||"number"==typeof d)&&(d=(0,g.jsx)("a",{children:d}));let K=h.default.useContext(j.AppRouterContext),L=!1!==w,M=!1!==w?null===(c=w)||"auto"===c?o.FetchStrategy.PPR:o.FetchStrategy.Full:o.FetchStrategy.PPR,N="string"==typeof(b=u||t)?b:(0,i.formatUrl)(b);if(E){if(d?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});e=h.default.Children.only(d)}let O=E?e&&"object"==typeof e&&e.ref:H,P=h.default.useCallback(a=>(null!==K&&(s.current=(0,n.mountLinkInstance)(a,N,K,M,L,r)),()=>{s.current&&((0,n.unmountLinkForCurrentNavigation)(s.current),s.current=null),(0,n.unmountPrefetchableInstance)(a)}),[L,N,K,M,r]),Q={ref:(0,k.useMergedRef)(P,O),onClick(a){E||"function"!=typeof B||B(a),E&&e.props&&"function"==typeof e.props.onClick&&e.props.onClick(a),K&&a.defaultPrevented},onMouseEnter(a){E||"function"!=typeof C||C(a),E&&e.props&&"function"==typeof e.props.onMouseEnter&&e.props.onMouseEnter(a),K&&L&&(0,n.onNavigationIntent)(a.currentTarget,!0===I)},onTouchStart:function(a){E||"function"!=typeof D||D(a),E&&e.props&&"function"==typeof e.props.onTouchStart&&e.props.onTouchStart(a),K&&L&&(0,n.onNavigationIntent)(a.currentTarget,!0===I)}};return(0,l.isAbsoluteUrl)(N)?Q.href=N:E&&!x&&("a"!==e.type||"href"in e.props)||(Q.href=(0,m.addBasePath)(N)),f=E?h.default.cloneElement(e,Q):(0,g.jsx)("a",{...J,...Q,children:d}),(0,g.jsx)(q.Provider,{value:p,children:f})}a.r(9833);let q=(0,h.createContext)(n.IDLE_LINK_STATUS),r=()=>(0,h.useContext)(q);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}]; - -//# sourceMappingURL=node_modules_0oplp32._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_0oplp32._.js.map b/.next/server/chunks/ssr/node_modules_0oplp32._.js.map deleted file mode 100644 index 8431858..0000000 --- a/.next/server/chunks/ssr/node_modules_0oplp32._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../node_modules/next/src/shared/lib/router/utils/querystring.ts","../../../../node_modules/next/src/shared/lib/router/utils/format-url.ts","../../../../node_modules/next/src/client/use-merged-ref.ts","../../../../node_modules/next/src/shared/lib/utils.ts","../../../../node_modules/next/src/shared/lib/router/utils/parse-path.ts","../../../../node_modules/next/src/shared/lib/router/utils/add-path-prefix.ts","../../../../node_modules/next/src/shared/lib/router/utils/remove-trailing-slash.ts","../../../../node_modules/next/src/client/normalize-trailing-slash.ts","../../../../node_modules/next/src/client/add-base-path.ts","../../../../node_modules/next/src/shared/lib/utils/warn-once.ts","../../../../node_modules/next/src/client/components/router-reducer/router-reducer-types.ts","../../../../node_modules/next/src/client/components/segment-cache/types.ts","../../../../node_modules/next/src/client/components/segment-cache/cache-key.ts","../../../../node_modules/next/src/shared/lib/app-router-types.ts","../../../../node_modules/next/src/client/components/match-segments.ts","../../../../node_modules/next/src/shared/lib/segment-cache/vary-params-decoding.ts","../../../../node_modules/next/src/client/components/app-router-headers.ts","../../../../node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/next/src/shared/lib/is-thenable.ts","../../../../node_modules/next/src/client/components/use-action-queue.ts","../../../../node_modules/next/src/client/app-call-server.ts","../../../../node_modules/next/src/client/app-find-source-map-url.ts","../../../../node_modules/next/src/shared/lib/segment.ts","../../../../node_modules/next/src/shared/lib/segment-cache/segment-value-encoding.ts","../../../../node_modules/next/src/client/route-params.ts","../../../../node_modules/next/src/client/components/router-reducer/create-href-from-url.ts","../../../../node_modules/next/src/client/flight-data-helpers.ts","../../../../node_modules/next/src/shared/lib/hash.ts","../../../../node_modules/next/src/shared/lib/router/utils/cache-busting-search-param.ts","../../../../node_modules/next/src/client/components/router-reducer/set-cache-busting-search-param.ts","../../../../node_modules/next/src/client/navigation-build-id.ts","../../../../node_modules/next/src/lib/constants.ts","../../../../node_modules/next/src/client/components/router-reducer/is-navigating-to-new-root-layout.ts","../../../../node_modules/next/src/client/components/router-reducer/reducers/committed-state.ts","../../../../node_modules/next/src/client/components/segment-cache/lru.ts","../../../../node_modules/next/src/client/components/segment-cache/cache-map.ts","../../../../node_modules/next/src/client/components/segment-cache/vary-path.ts","../../../../node_modules/next/src/client/components/segment-cache/optimistic-routes.ts","../../../../node_modules/next/src/client/components/router-reducer/ppr-navigations.ts","../../../../node_modules/next/src/shared/lib/page-path/ensure-leading-slash.ts","../../../../node_modules/next/src/shared/lib/router/utils/app-paths.ts","../../../../node_modules/next/src/shared/lib/router/utils/interception-routes.ts","../../../../node_modules/next/src/client/components/router-reducer/compute-changed-path.ts","../../../../node_modules/next/src/client/lib/javascript-url.ts","../../../../node_modules/next/src/client/components/segment-cache/navigation-testing-lock.ts","../../../../node_modules/next/src/client/components/segment-cache/navigation.ts","../../../../node_modules/next/src/client/components/router-reducer/reducers/navigate-reducer.ts","../../../../node_modules/next/src/client/components/segment-cache/bfcache.ts","../../../../node_modules/next/src/client/components/router-reducer/fetch-server-response.ts","../../../../node_modules/next/src/shared/lib/promise-with-resolvers.ts","../../../../node_modules/next/src/client/components/segment-cache/cache.ts","../../../../node_modules/next/src/client/components/segment-cache/scheduler.ts","../../../../node_modules/next/src/client/components/links.ts","../../../../node_modules/next/src/shared/lib/router/utils/path-has-prefix.ts","../../../../node_modules/next/src/client/has-base-path.ts","../../../../node_modules/next/src/shared/lib/router/utils/is-local-url.ts","../../../../node_modules/next/src/shared/lib/utils/error-once.ts","../../../../node_modules/next/src/client/app-dir/link.tsx"],"sourcesContent":["\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","import type { ParsedUrlQuery } from 'querystring'\n\nexport function searchParamsToUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n const query: ParsedUrlQuery = {}\n for (const [key, value] of searchParams.entries()) {\n const existing = query[key]\n if (typeof existing === 'undefined') {\n query[key] = value\n } else if (Array.isArray(existing)) {\n existing.push(value)\n } else {\n query[key] = [existing, value]\n }\n }\n return query\n}\n\nfunction stringifyUrlQueryParam(param: unknown): string {\n if (typeof param === 'string') {\n return param\n }\n\n if (\n (typeof param === 'number' && !isNaN(param)) ||\n typeof param === 'boolean'\n ) {\n return String(param)\n } else {\n return ''\n }\n}\n\nexport function urlQueryToSearchParams(query: ParsedUrlQuery): URLSearchParams {\n const searchParams = new URLSearchParams()\n for (const [key, value] of Object.entries(query)) {\n if (Array.isArray(value)) {\n for (const item of value) {\n searchParams.append(key, stringifyUrlQueryParam(item))\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value))\n }\n }\n return searchParams\n}\n\nexport function assign(\n target: URLSearchParams,\n ...searchParamsList: URLSearchParams[]\n): URLSearchParams {\n for (const searchParams of searchParamsList) {\n for (const key of searchParams.keys()) {\n target.delete(key)\n }\n\n for (const [key, value] of searchParams.entries()) {\n target.append(key, value)\n }\n }\n\n return target\n}\n","// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nimport type { UrlObject } from 'url'\nimport type { ParsedUrlQuery } from 'querystring'\nimport * as querystring from './querystring'\n\nconst slashedProtocols = /https?|ftp|gopher|file/\n\nexport function formatUrl(urlObj: UrlObject) {\n let { auth, hostname } = urlObj\n let protocol = urlObj.protocol || ''\n let pathname = urlObj.pathname || ''\n let hash = urlObj.hash || ''\n let query = urlObj.query || ''\n let host: string | false = false\n\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''\n\n if (urlObj.host) {\n host = auth + urlObj.host\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname)\n if (urlObj.port) {\n host += ':' + urlObj.port\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query as ParsedUrlQuery))\n }\n\n let search = urlObj.search || (query && `?${query}`) || ''\n\n if (protocol && !protocol.endsWith(':')) protocol += ':'\n\n if (\n urlObj.slashes ||\n ((!protocol || slashedProtocols.test(protocol)) && host !== false)\n ) {\n host = '//' + (host || '')\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname\n } else if (!host) {\n host = ''\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash\n if (search && search[0] !== '?') search = '?' + search\n\n pathname = pathname.replace(/[?#]/g, encodeURIComponent)\n search = search.replace('#', '%23')\n\n return `${protocol}${host}${pathname}${search}${hash}`\n}\n\nexport const urlObjectKeys = [\n 'auth',\n 'hash',\n 'host',\n 'hostname',\n 'href',\n 'path',\n 'pathname',\n 'port',\n 'protocol',\n 'query',\n 'search',\n 'slashes',\n]\n\nexport function formatWithValidation(url: UrlObject): string {\n if (process.env.NODE_ENV === 'development') {\n if (url !== null && typeof url === 'object') {\n Object.keys(url).forEach((key) => {\n if (!urlObjectKeys.includes(key)) {\n console.warn(\n `Unknown key passed via urlObject into url.format: ${key}`\n )\n }\n })\n }\n }\n\n return formatUrl(url)\n}\n","import { useCallback, useRef, type Ref } from 'react'\n\n// This is a compatibility hook to support React 18 and 19 refs.\n// In 19, a cleanup function from refs may be returned.\n// In 18, returning a cleanup function creates a warning.\n// Since we take userspace refs, we don't know ahead of time if a cleanup function will be returned.\n// This implements cleanup functions with the old behavior in 18.\n// We know refs are always called alternating with `null` and then `T`.\n// So a call with `null` means we need to call the previous cleanup functions.\nexport function useMergedRef(\n refA: Ref,\n refB: Ref\n): Ref {\n const cleanupA = useRef<(() => void) | null>(null)\n const cleanupB = useRef<(() => void) | null>(null)\n\n // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.\n // (this happens often if the user doesn't pass a ref to Link/Form/Image)\n // But this can cause us to leak a cleanup-ref into user code (previously via ``),\n // and the user might pass that ref into ref-merging library that doesn't support cleanup refs\n // (because it hasn't been updated for React 19)\n // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.\n // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.\n return useCallback(\n (current: TElement | null): void => {\n if (current === null) {\n const cleanupFnA = cleanupA.current\n if (cleanupFnA) {\n cleanupA.current = null\n cleanupFnA()\n }\n const cleanupFnB = cleanupB.current\n if (cleanupFnB) {\n cleanupB.current = null\n cleanupFnB()\n }\n } else {\n if (refA) {\n cleanupA.current = applyRef(refA, current)\n }\n if (refB) {\n cleanupB.current = applyRef(refB, current)\n }\n }\n },\n [refA, refB]\n )\n}\n\nfunction applyRef(\n refA: NonNullable>,\n current: TElement\n) {\n if (typeof refA === 'function') {\n const cleanup = refA(current)\n if (typeof cleanup === 'function') {\n return cleanup\n } else {\n return () => refA(null)\n }\n } else {\n refA.current = current\n return () => {\n refA.current = null\n }\n }\n}\n","import type { HtmlProps } from './html-context.shared-runtime'\nimport type { ComponentType, JSX } from 'react'\nimport type { DomainLocale } from '../../server/config'\nimport type { Env } from '@next/env'\nimport type { IncomingMessage, ServerResponse } from 'http'\nimport type { NextRouter } from './router/router'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { PreviewData } from '../../types'\nimport type { COMPILER_NAMES } from './constants'\nimport type fs from 'fs'\n\nexport type NextComponentType<\n Context extends BaseContext = NextPageContext,\n InitialProps = {},\n Props = {},\n> = ComponentType & {\n /**\n * Used for initial page load data population. Data returned from `getInitialProps` is serialized when server rendered.\n * Make sure to return plain `Object` without using `Date`, `Map`, `Set`.\n * @param context Context of `page`\n */\n getInitialProps?(context: Context): InitialProps | Promise\n}\n\nexport type DocumentType = NextComponentType<\n DocumentContext,\n DocumentInitialProps,\n DocumentProps\n>\n\nexport type AppType

= NextComponentType<\n AppContextType,\n P,\n AppPropsType\n>\n\nexport type AppTreeType = ComponentType<\n AppInitialProps & { [name: string]: any }\n>\n\n/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */\nexport const WEB_VITALS = ['CLS', 'FCP', 'FID', 'INP', 'LCP', 'TTFB'] as const\nexport type NextWebVitalsMetric = {\n id: string\n startTime: number\n value: number\n attribution?: { [key: string]: unknown }\n} & (\n | {\n label: 'web-vital'\n name: (typeof WEB_VITALS)[number]\n }\n | {\n label: 'custom'\n name:\n | 'Next.js-hydration'\n | 'Next.js-route-change-to-render'\n | 'Next.js-render'\n }\n)\n\nexport type Enhancer = (Component: C) => C\n\nexport type ComponentsEnhancer =\n | {\n enhanceApp?: Enhancer\n enhanceComponent?: Enhancer\n }\n | Enhancer\n\nexport type RenderPageResult = {\n html: string\n head?: Array\n}\n\nexport type RenderPage = (\n options?: ComponentsEnhancer\n) => DocumentInitialProps | Promise\n\nexport type BaseContext = {\n res?: ServerResponse\n [k: string]: any\n}\n\nexport type NEXT_DATA = {\n props: Record\n page: string\n query: ParsedUrlQuery\n buildId: string\n assetPrefix?: string\n nextExport?: boolean\n autoExport?: boolean\n isFallback?: boolean\n isExperimentalCompile?: boolean\n dynamicIds?: (string | number)[]\n err?: Error & {\n statusCode?: number\n source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer\n }\n gsp?: boolean\n gssp?: boolean\n customServer?: boolean\n gip?: boolean\n appGip?: boolean\n locale?: string\n locales?: readonly string[]\n defaultLocale?: string\n domainLocales?: readonly DomainLocale[]\n scriptLoader?: any[]\n isPreview?: boolean\n notFoundSrcPage?: string\n}\n\n/**\n * `Next` context\n */\nexport interface NextPageContext {\n /**\n * Error object if encountered during rendering\n */\n err?: (Error & { statusCode?: number }) | null\n /**\n * `HTTP` request object.\n */\n req?: IncomingMessage\n /**\n * `HTTP` response object.\n */\n res?: ServerResponse\n /**\n * Path section of `URL`.\n */\n pathname: string\n /**\n * Query string section of `URL` parsed as an object.\n */\n query: ParsedUrlQuery\n /**\n * `String` of the actual path including query.\n */\n asPath?: string\n /**\n * The currently active locale\n */\n locale?: string\n /**\n * All configured locales\n */\n locales?: readonly string[]\n /**\n * The configured default locale\n */\n defaultLocale?: string\n /**\n * `Component` the tree of the App to use if needing to render separately\n */\n AppTree: AppTreeType\n}\n\nexport type AppContextType = {\n Component: NextComponentType\n AppTree: AppTreeType\n ctx: NextPageContext\n router: Router\n}\n\nexport type AppInitialProps = {\n pageProps: PageProps\n}\n\nexport type AppPropsType<\n Router extends NextRouter = NextRouter,\n PageProps = {},\n> = AppInitialProps & {\n Component: NextComponentType\n router: Router\n __N_SSG?: boolean\n __N_SSP?: boolean\n}\n\nexport type DocumentContext = NextPageContext & {\n renderPage: RenderPage\n defaultGetInitialProps(\n ctx: DocumentContext,\n options?: { nonce?: string }\n ): Promise\n}\n\nexport type DocumentInitialProps = RenderPageResult & {\n styles?: React.ReactElement[] | Iterable | JSX.Element\n}\n\nexport type DocumentProps = DocumentInitialProps & HtmlProps\n\n/**\n * Next `API` route request\n */\nexport interface NextApiRequest extends IncomingMessage {\n /**\n * Object of `query` values from url\n */\n query: Partial<{\n [key: string]: string | string[]\n }>\n /**\n * Object of `cookies` from header\n */\n cookies: Partial<{\n [key: string]: string\n }>\n\n body: any\n\n env: Env\n\n draftMode?: boolean\n\n preview?: boolean\n /**\n * Preview data set on the request, if any\n * */\n previewData?: PreviewData\n}\n\n/**\n * Send body of response\n */\ntype Send = (body: T) => void\n\n/**\n * Next `API` route response\n */\nexport type NextApiResponse = ServerResponse & {\n /**\n * Send data `any` data in response\n */\n send: Send\n /**\n * Send data `json` data in response\n */\n json: Send\n status: (statusCode: number) => NextApiResponse\n redirect(url: string): NextApiResponse\n redirect(status: number, url: string): NextApiResponse\n\n /**\n * Set draft mode\n */\n setDraftMode: (options: { enable: boolean }) => NextApiResponse\n\n /**\n * Set preview data for Next.js' prerender mode\n */\n setPreviewData: (\n data: object | string,\n options?: {\n /**\n * Specifies the number (in seconds) for the preview session to last for.\n * The given number will be converted to an integer by rounding down.\n * By default, no maximum age is set and the preview session finishes\n * when the client shuts down (browser is closed).\n */\n maxAge?: number\n /**\n * Specifies the path for the preview session to work under. By default,\n * the path is considered the \"default path\", i.e., any pages under \"/\".\n */\n path?: string\n }\n ) => NextApiResponse\n\n /**\n * Clear preview data for Next.js' prerender mode\n */\n clearPreviewData: (options?: { path?: string }) => NextApiResponse\n\n /**\n * Revalidate a specific page and regenerate it using On-Demand Incremental\n * Static Regeneration.\n * The path should be an actual path, not a rewritten path. E.g. for\n * \"/blog/[slug]\" this should be \"/blog/post-1\".\n * @link https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation-with-revalidatepath\n */\n revalidate: (\n urlPath: string,\n opts?: {\n unstable_onlyGenerated?: boolean\n }\n ) => Promise\n}\n\n/**\n * Next `API` route handler\n */\nexport type NextApiHandler = (\n req: NextApiRequest,\n res: NextApiResponse\n) => unknown | Promise\n\n/**\n * Utils\n */\nexport function execOnce ReturnType>(\n fn: T\n): T {\n let used = false\n let result: ReturnType\n\n return ((...args: any[]) => {\n if (!used) {\n used = true\n result = fn(...args)\n }\n return result\n }) as T\n}\n\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/\nexport const isAbsoluteUrl = (url: string) => ABSOLUTE_URL_REGEX.test(url)\n\nexport function getLocationOrigin() {\n const { protocol, hostname, port } = window.location\n return `${protocol}//${hostname}${port ? ':' + port : ''}`\n}\n\nexport function getURL() {\n const { href } = window.location\n const origin = getLocationOrigin()\n return href.substring(origin.length)\n}\n\nexport function getDisplayName

(Component: ComponentType

) {\n return typeof Component === 'string'\n ? Component\n : Component.displayName || Component.name || 'Unknown'\n}\n\nexport function isResSent(res: ServerResponse) {\n return res.finished || res.headersSent\n}\n\nexport function normalizeRepeatedSlashes(url: string) {\n const urlParts = url.split('?')\n const urlNoQuery = urlParts[0]\n\n return (\n urlNoQuery\n // first we replace any non-encoded backslashes with forward\n // then normalize repeated forward slashes\n .replace(/\\\\/g, '/')\n .replace(/\\/\\/+/g, '/') +\n (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '')\n )\n}\n\nexport async function loadGetInitialProps<\n C extends BaseContext,\n IP = {},\n P = {},\n>(App: NextComponentType, ctx: C): Promise {\n if (process.env.NODE_ENV !== 'production') {\n if (App.prototype?.getInitialProps) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`\n throw new Error(message)\n }\n }\n // when called from _app `ctx` is nested in `ctx`\n const res = ctx.res || (ctx.ctx && ctx.ctx.res)\n\n if (!App.getInitialProps) {\n if (ctx.ctx && ctx.Component) {\n // @ts-ignore pageProps default\n return {\n pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx),\n }\n }\n return {} as IP\n }\n\n const props = await App.getInitialProps(ctx)\n\n if (res && isResSent(res)) {\n return props\n }\n\n if (!props) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`\n throw new Error(message)\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(\n `${getDisplayName(\n App\n )} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`\n )\n }\n }\n\n return props\n}\n\nexport const SP = typeof performance !== 'undefined'\nexport const ST =\n SP &&\n (['mark', 'measure', 'getEntriesByName'] as const).every(\n (method) => typeof performance[method] === 'function'\n )\n\nexport class DecodeError extends Error {}\nexport class NormalizeError extends Error {}\nexport class PageNotFoundError extends Error {\n code: string\n\n constructor(page: string) {\n super()\n this.code = 'ENOENT'\n this.name = 'PageNotFoundError'\n this.message = `Cannot find module for page: ${page}`\n }\n}\n\nexport class MissingStaticPage extends Error {\n constructor(page: string, message: string) {\n super()\n this.message = `Failed to load static file for page: ${page} ${message}`\n }\n}\n\nexport class MiddlewareNotFoundError extends Error {\n code: string\n constructor() {\n super()\n this.code = 'ENOENT'\n this.message = `Cannot find the middleware module`\n }\n}\n\nexport interface CacheFs {\n existsSync: typeof fs.existsSync\n readFile: typeof fs.promises.readFile\n readFileSync: typeof fs.readFileSync\n writeFile(f: string, d: any): Promise\n mkdir(dir: string): Promise\n stat(f: string): Promise<{ mtime: Date }>\n}\n\nexport function stringifyError(error: Error) {\n return JSON.stringify({ message: error.message, stack: error.stack })\n}\n","/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */\nexport function parsePath(path: string) {\n const hashIndex = path.indexOf('#')\n const queryIndex = path.indexOf('?')\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex)\n\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery\n ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined)\n : '',\n hash: hashIndex > -1 ? path.slice(hashIndex) : '',\n }\n }\n\n return { pathname: path, query: '', hash: '' }\n}\n","import { parsePath } from './parse-path'\n\n/**\n * Adds the provided prefix to the given path. It first ensures that the path\n * is indeed starting with a slash.\n */\nexport function addPathPrefix(path: string, prefix?: string) {\n if (!path.startsWith('/') || !prefix) {\n return path\n }\n\n const { pathname, query, hash } = parsePath(path)\n return `${prefix}${pathname}${query}${hash}`\n}\n","/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */\nexport function removeTrailingSlash(route: string) {\n return route.replace(/\\/$/, '') || '/'\n}\n","import { removeTrailingSlash } from '../shared/lib/router/utils/remove-trailing-slash'\nimport { parsePath } from '../shared/lib/router/utils/parse-path'\n\n/**\n * Normalizes the trailing slash of a path according to the `trailingSlash` option\n * in `next.config.js`.\n */\nexport const normalizePathTrailingSlash = (path: string) => {\n if (!path.startsWith('/') || process.env.__NEXT_MANUAL_TRAILING_SLASH) {\n return path\n }\n\n const { pathname, query, hash } = parsePath(path)\n if (process.env.__NEXT_TRAILING_SLASH) {\n if (/\\.[^/]+\\/?$/.test(pathname)) {\n return `${removeTrailingSlash(pathname)}${query}${hash}`\n } else if (pathname.endsWith('/')) {\n return `${pathname}${query}${hash}`\n } else {\n return `${pathname}/${query}${hash}`\n }\n }\n\n return `${removeTrailingSlash(pathname)}${query}${hash}`\n}\n","import { addPathPrefix } from '../shared/lib/router/utils/add-path-prefix'\nimport { normalizePathTrailingSlash } from './normalize-trailing-slash'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function addBasePath(path: string, required?: boolean): string {\n return normalizePathTrailingSlash(\n process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required\n ? path\n : addPathPrefix(path, basePath)\n )\n}\n","let warnOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set()\n warnOnce = (msg: string) => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\nexport { warnOnce }\n","import type { CacheNode, ScrollRef } from '../../../shared/lib/app-router-types'\nimport type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport type { NavigationSeed } from '../segment-cache/navigation'\nimport type { FetchServerResponseResult } from './fetch-server-response'\n\nexport const ACTION_REFRESH = 'refresh'\nexport const ACTION_NAVIGATE = 'navigate'\nexport const ACTION_RESTORE = 'restore'\nexport const ACTION_SERVER_PATCH = 'server-patch'\nexport const ACTION_HMR_REFRESH = 'hmr-refresh'\nexport const ACTION_SERVER_ACTION = 'server-action'\n\nexport type RouterChangeByServerResponse = ({\n navigatedAt,\n previousTree,\n serverResponse,\n}: {\n navigatedAt: number\n previousTree: FlightRouterState\n serverResponse: FetchServerResponseResult\n}) => void\n\n/**\n * Refresh triggers a refresh of the full page data.\n * - fetches the Flight data and fills rsc at the root of the cache.\n * - The router state is updated at the root.\n */\nexport interface RefreshAction {\n type: typeof ACTION_REFRESH\n /**\n * Bypass invalidating the segment cache. Used by the Instant Navigation\n * Testing API to preserve prefetched data when refreshing after an MPA\n * navigation. Not exposed in production builds by default.\n */\n bypassCacheInvalidation?: boolean\n}\n\nexport interface HmrRefreshAction {\n type: typeof ACTION_HMR_REFRESH\n}\n\nexport type ServerActionDispatcher = (\n args: Omit<\n ServerActionAction,\n 'type' | 'mutable' | 'navigate' | 'changeByServerResponse' | 'cache'\n >\n) => void\n\nexport interface ServerActionAction {\n type: typeof ACTION_SERVER_ACTION\n actionId: string\n actionArgs: any[]\n resolve: (value: any) => void\n reject: (reason?: any) => void\n didRevalidate?: boolean\n}\n\n/**\n * Navigate triggers a navigation to the provided url. It supports two types: `push` and `replace`.\n *\n * `navigateType`:\n * - `push` - pushes a new history entry in the browser history\n * - `replace` - replaces the current history entry in the browser history\n *\n * Navigate has multiple cache heuristics:\n * - page was prefetched\n * - Apply router state tree from prefetch\n * - Apply Flight data from prefetch to the cache\n * - If Flight data is a string, it's a redirect and the state is updated to trigger a redirect\n * - Check if hard navigation is needed\n * - Hard navigation happens when a dynamic parameter below the common layout changed\n * - When hard navigation is needed the cache is invalidated below the flightSegmentPath\n * - The missing cache nodes of the page will be fetched in layout-router and trigger the SERVER_PATCH action\n * - If hard navigation is not needed\n * - The cache is reused\n * - If any cache nodes are missing they'll be fetched in layout-router and trigger the SERVER_PATCH action\n * - page was not prefetched\n * - The navigate was called from `next/router` (`router.push()` / `router.replace()`) / `next/link` without prefetched data available (e.g. the prefetch didn't come back from the server before clicking the link)\n * - Flight data is fetched in the reducer (suspends the reducer)\n * - Router state tree is created based on Flight data\n * - Cache is filled based on the Flight data\n *\n * Above steps explain 3 cases:\n * - `soft` - Reuses the existing cache and fetches missing nodes in layout-router.\n * - `hard` - Creates a new cache where cache nodes are removed below the common layout and fetches missing nodes in layout-router.\n * - `optimistic` (explicit no prefetch) - Creates a new cache and kicks off the data fetch in the reducer. The data fetch is awaited in the layout-router.\n */\nexport interface NavigateAction {\n type: typeof ACTION_NAVIGATE\n url: URL\n isExternalUrl: boolean\n locationSearch: Location['search']\n navigateType: 'push' | 'replace'\n scrollBehavior: ScrollBehavior\n}\n\n/**\n * Restore applies the provided router state.\n * - Used for `popstate` (back/forward navigation) where a known router state has to be applied.\n * - Also used when syncing the router state with `pushState`/`replaceState` calls.\n * - Router state is applied as-is from the history state, if available.\n * - If the history state does not contain the router state, the existing router state is used.\n * - If any cache node is missing it will be fetched in layout-router during rendering and the server-patch case.\n * - If existing cache nodes match these are used.\n */\nexport interface RestoreAction {\n type: typeof ACTION_RESTORE\n url: URL\n historyState: AppHistoryState | undefined\n}\n\nexport type AppHistoryState = {\n tree: FlightRouterState\n renderedSearch: string\n}\n\n/**\n * Server-patch applies the provided Flight data to the cache and router tree.\n */\nexport interface ServerPatchAction {\n type: typeof ACTION_SERVER_PATCH\n previousTree: FlightRouterState\n url: URL\n nextUrl: string | null\n seed: NavigationSeed | null\n mpa: boolean\n navigateType: 'push' | 'replace'\n}\n\n/**\n * PrefetchKind defines the type of prefetching that should be done.\n * - `auto` - if the page is dynamic, prefetch the page data partially, if static prefetch the page data fully.\n * - `full` - prefetch the page data fully.\n */\n\nexport enum PrefetchKind {\n AUTO = 'auto',\n FULL = 'full',\n}\n\n/**\n * Prefetch adds the provided FlightData to the prefetch cache\n * - Creates the router state tree based on the patch in FlightData\n * - Adds the FlightData to the prefetch cache\n * - In ACTION_NAVIGATE the prefetch cache is checked and the router state tree and FlightData are applied.\n */\n\nexport interface PushRef {\n /**\n * If the app-router should push a new history entry in app-router's useEffect()\n */\n pendingPush: boolean\n /**\n * Multi-page navigation through location.href.\n */\n mpaNavigation: boolean\n /**\n * Skip applying the router state to the browser history state.\n */\n preserveCustomHistoryState: boolean\n}\n\n/**\n * Controls the scroll behavior for a navigation.\n */\nexport const enum ScrollBehavior {\n /** Use per-node ScrollRef to decide whether to scroll. */\n Default = 0,\n /** Suppress scroll entirely (e.g. scroll={false} on Link or router.push). */\n NoScroll = 1,\n}\n\nexport type FocusAndScrollRef = {\n /**\n * The scroll ref from the most recent navigation. Set to whatever was\n * accumulated during tree construction (or null if nothing was\n * accumulated). On the next navigation, if new scroll targets are\n * created, the previous scrollRef is invalidated by setting\n * `current = false`.\n */\n scrollRef: ScrollRef | null\n /**\n * When true, the scroll handler uses `focusAndScrollRef.scrollRef`\n * for every segment regardless of per-node state. Used for hash-only\n * navigations where every segment should be treated as a scroll\n * target. When false, the handler checks `cacheNode.scrollRef`\n * instead (per-node), so only segments that actually navigated scroll.\n */\n forceScroll: boolean\n /**\n * The hash fragment that should be scrolled to.\n */\n hashFragment: string | null\n /**\n * If only the URLs hash fragment changed\n */\n onlyHashChange: boolean\n}\n\n/**\n * Handles keeping the state of app-router.\n */\nexport type AppRouterState = {\n /**\n * The router state, this is written into the history state in app-router using replaceState/pushState.\n * - Has to be serializable as it is written into the history state.\n * - Holds which segments and parallel routes are shown on the screen.\n */\n tree: FlightRouterState\n /**\n * The cache holds React nodes for every segment that is shown on screen as well as previously shown segments.\n * It also holds in-progress data requests.\n */\n cache: CacheNode\n /**\n * Decides if the update should create a new history entry and if the navigation has to trigger a browser navigation.\n */\n pushRef: PushRef\n /**\n * Decides if the update should apply scroll and focus management.\n */\n focusAndScrollRef: FocusAndScrollRef\n /**\n * The canonical url that is pushed/replaced.\n * - This is the url you see in the browser.\n */\n canonicalUrl: string\n\n /**\n * The search query observed by the server during rendering. This may be\n * different from the canonical URL's search query if the server performed\n * a rewrite. Even though a client component won't observe this (unless it\n * were passed from a Server component), the client router needs to know this\n * so it can properly cache segment data; it'ss part of a page segment's\n * cache key.\n */\n renderedSearch: string\n\n /**\n * The underlying \"url\" representing the UI state, which is used for intercepting routes.\n */\n nextUrl: string | null\n\n /**\n * The previous next-url that was used previous to a dynamic navigation.\n */\n previousNextUrl: string | null\n\n debugInfo: Array | null\n}\n\nexport type ReadonlyReducerState = Readonly\nexport type ReducerState =\n | (Promise & { _debugInfo?: Array })\n | AppRouterState\nexport type ReducerActions = Readonly<\n | RefreshAction\n | NavigateAction\n | RestoreAction\n | ServerPatchAction\n | HmrRefreshAction\n | ServerActionAction\n>\n","/**\n * Shared types and constants for the Segment Cache.\n */\n\nexport const enum NavigationResultTag {\n MPA,\n Success,\n NoOp,\n Async,\n}\n\n/**\n * The priority of the prefetch task. Higher numbers are higher priority.\n */\nexport const enum PrefetchPriority {\n /**\n * Assigned to the most recently hovered/touched link. Special network\n * bandwidth is reserved for this task only. There's only ever one Intent-\n * priority task at a time; when a new Intent task is scheduled, the previous\n * one is bumped down to Default.\n */\n Intent = 2,\n /**\n * The default priority for prefetch tasks.\n */\n Default = 1,\n /**\n * Assigned to tasks when they spawn non-blocking background work, like\n * revalidating a partially cached entry to see if more data is available.\n */\n Background = 0,\n}\n\nexport const enum FetchStrategy {\n // Deliberately ordered so we can easily compare two segments\n // and determine if one segment is \"more specific\" than another\n // (i.e. if it's likely that it contains more data)\n LoadingBoundary = 0,\n PPR = 1,\n PPRRuntime = 2,\n Full = 3,\n}\n\n/**\n * A subset of fetch strategies used for prefetch tasks.\n * A prefetch task can't know if it should use `PPR` or `LoadingBoundary`\n * until we complete the initial tree prefetch request, so we use `PPR` to signal both cases\n * and adjust it based on the route when actually fetching.\n * */\nexport type PrefetchTaskFetchStrategy =\n | FetchStrategy.PPR\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full\n","// TypeScript trick to simulate opaque types, like in Flow.\ntype Opaque = T & { __brand: K }\n\n// Only functions in this module should be allowed to create CacheKeys.\nexport type NormalizedPathname = Opaque<'NormalizedPathname', string>\nexport type NormalizedSearch = Opaque<'NormalizedSearch', string>\nexport type NormalizedNextUrl = Opaque<'NormalizedNextUrl', string>\n\nexport type RouteCacheKey = Opaque<\n 'RouteCacheKey',\n {\n pathname: NormalizedPathname\n search: NormalizedSearch\n nextUrl: NormalizedNextUrl | null\n\n // TODO: Eventually the dynamic params will be added here, too.\n }\n>\n\nexport function createCacheKey(\n originalHref: string,\n nextUrl: string | null\n): RouteCacheKey {\n const originalUrl = new URL(originalHref)\n const cacheKey = {\n pathname: originalUrl.pathname as NormalizedPathname,\n search: originalUrl.search as NormalizedSearch,\n nextUrl: nextUrl as NormalizedNextUrl | null,\n } as RouteCacheKey\n return cacheKey\n}\n","/**\n * App Router types - Client-safe types for the Next.js App Router\n *\n * This file contains type definitions that can be safely imported\n * by both client-side and server-side code without circular dependencies.\n */\n\nimport type React from 'react'\n\nexport type LoadingModuleData =\n | [React.JSX.Element, React.ReactNode, React.ReactNode]\n | null\n\nimport type { VaryParamsThenable } from './segment-cache/vary-params-decoding'\n\n/** viewport metadata node */\nexport type HeadData = React.ReactNode\n\n/**\n * Cache node used in app-router / layout-router.\n */\n\nexport type CacheNode = {\n /**\n * When rsc is not null, it represents the RSC data for the\n * corresponding segment.\n *\n * `null` is a valid React Node but because segment data is always a\n * component, we can use `null` to represent empty. When it is\n * null, it represents missing data, and rendering should suspend.\n */\n rsc: React.ReactNode\n\n /**\n * Represents a static version of the segment that can be shown immediately,\n * and may or may not contain dynamic holes. It's prefetched before a\n * navigation occurs.\n *\n * During rendering, we will choose whether to render `rsc` or `prefetchRsc`\n * with `useDeferredValue`. As with the `rsc` field, a value of `null` means\n * no value was provided. In this case, the LayoutRouter will go straight to\n * rendering the `rsc` value; if that one is also missing, it will suspend and\n * trigger a lazy fetch.\n */\n prefetchRsc: React.ReactNode\n\n prefetchHead: HeadData | null\n\n head: HeadData\n\n slots: Record | null\n\n /**\n * A shared mutable ref that tracks whether this segment should be scrolled\n * to. All new segments created during a single navigation share the same\n * ref. When any segment's scroll handler fires, it sets `current` to\n * `false` so no other segment scrolls for the same navigation.\n *\n * `null` means this segment is not a scroll target (e.g., a reused shared\n * layout segment).\n */\n scrollRef: ScrollRef | null\n}\n\n/**\n * A mutable ref shared across all new segments created during a single\n * navigation. Used to ensure that only one segment scrolls per navigation.\n */\nexport type ScrollRef = { current: boolean }\n\nexport type DynamicParamTypes =\n | 'catchall'\n | 'catchall-intercepted-(..)(..)'\n | 'catchall-intercepted-(.)'\n | 'catchall-intercepted-(..)'\n | 'catchall-intercepted-(...)'\n | 'optional-catchall'\n | 'dynamic'\n | 'dynamic-intercepted-(..)(..)'\n | 'dynamic-intercepted-(.)'\n | 'dynamic-intercepted-(..)'\n | 'dynamic-intercepted-(...)'\n\nexport type DynamicParamTypesShort =\n | 'c'\n | 'ci(..)(..)'\n | 'ci(.)'\n | 'ci(..)'\n | 'ci(...)'\n | 'oc'\n | 'd'\n | 'di(..)(..)'\n | 'di(.)'\n | 'di(..)'\n | 'di(...)'\n\n// The tuple form of a segment, used for dynamic route params\nexport type DynamicSegmentTuple = [\n // Param name\n paramName: string,\n // Param cache key (almost the same as the value, but arrays are\n // concatenated into strings)\n // TODO: We should change this to just be the value. Currently we convert\n // it back to a value when passing to useParams. It only needs to be\n // a string when converted to a a cache key, but that doesn't mean we\n // need to store it as that representation.\n paramCacheKey: string,\n // Dynamic param type\n dynamicParamType: DynamicParamTypesShort,\n // Static sibling segments at the same URL level. Used by the client\n // router to determine if a prefetch can be reused when navigating to\n // a static sibling of a dynamic route. For example, if the route is\n // /products/[id] and there's also /products/sale, then staticSiblings\n // would be ['sale']. null means the siblings are unknown (e.g. in\n // webpack dev mode).\n staticSiblings: readonly string[] | null,\n]\n\nexport type Segment = string | DynamicSegmentTuple\n\n/**\n * Router state\n */\nexport type FlightRouterState = [\n segment: Segment,\n parallelRoutes: { [parallelRouterKey: string]: FlightRouterState },\n refreshState?: CompressedRefreshState | null,\n /**\n * - \"refetch\" is used during a request to inform the server where rendering\n * should start from.\n *\n * - \"inside-shared-layout\" is used during a prefetch request to inform the\n * server that even if the segment matches, it should be treated as if it's\n * within the \"new\" part of a navigation — inside the shared layout. If\n * the segment doesn't match, then it has no effect, since it would be\n * treated as new regardless. If it does match, though, the server does not\n * need to render it, because the client already has it.\n *\n * - \"metadata-only\" instructs the server to skip rendering the segments and\n * only send the head data.\n *\n * A bit confusing, but that's because it has only one extremely narrow use\n * case — during a non-PPR prefetch, the server uses it to find the first\n * loading boundary beneath a shared layout.\n *\n * TODO: We should rethink the protocol for dynamic requests. It might not\n * make sense for the client to send a FlightRouterState, since this type is\n * overloaded with concerns.\n */\n refresh?: 'refetch' | 'inside-shared-layout' | 'metadata-only' | null,\n /**\n * Bitmask of PrefetchHint flags. Encodes route structure metadata:\n * root layout, loading boundaries, instant configs, and runtime prefetch\n * hints. Only set when non-zero.\n */\n prefetchHints?: number,\n]\n\n/**\n * When rendering a parallel route, some of the parallel paths may not match\n * the current URL. In that case, the Next client has to render something,\n * so it will render whichever was the last route to match that slot. We use\n * this type to track when this has happened. It's a tuple of the original\n * URL that was used to fetch the segment, and the (possibly rewritten) search\n * query that was rendered by the server. The URL is needed when performing\n * a refresh of the segment, and the search query is needed for looking up\n * matching entries in the segment cache.\n */\nexport type CompressedRefreshState = [url: string, renderedSearch: string]\n\nexport const enum PrefetchHint {\n // This segment has a runtime prefetch enabled (via unstable_instant with\n // prefetch: 'runtime'). Per-segment only, does not propagate to ancestors.\n HasRuntimePrefetch = 0b00001,\n // This segment or one of its descendants has an instant config defined\n // (any truthy unstable_instant, regardless of prefetch mode). Propagates\n // upward so the root segment reflects the entire subtree.\n SubtreeHasInstant = 0b00010,\n // This segment itself has a loading.tsx boundary.\n SegmentHasLoadingBoundary = 0b00100,\n // A descendant segment (but not this one) has a loading.tsx boundary.\n // Propagates upward so the root reflects the entire subtree.\n SubtreeHasLoadingBoundary = 0b01000,\n // This segment is the root layout of the application.\n IsRootLayout = 0b10000,\n // This segment's response includes its parent's data inlined into it.\n // Set at build time by the segment size measurement pass.\n ParentInlinedIntoSelf = 0b100000,\n // This segment's data is inlined into one of its children — don't fetch\n // it separately. Set at build time by the segment size measurement pass.\n InlinedIntoChild = 0b1000000,\n // On a __PAGE__: this page's response includes the head (metadata/viewport)\n // at the end of its SegmentPrefetch[] array.\n HeadInlinedIntoSelf = 0b10000000,\n // On the root hint node: the head was NOT inlined into any page — fetch\n // it separately. Absence of this bit means the head is bundled into a page.\n HeadOutlined = 0b100000000,\n}\n\n/**\n * Individual Flight response path\n */\nexport type FlightSegmentPath =\n // Uses `any` as repeating pattern can't be typed.\n | any[]\n // Looks somewhat like this\n | [\n segment: Segment,\n parallelRouterKey: string,\n segment: Segment,\n parallelRouterKey: string,\n segment: Segment,\n parallelRouterKey: string,\n ]\n\n/**\n * Represents a tree of segments and the Flight data (i.e. React nodes) that\n * correspond to each one. The tree is isomorphic to the FlightRouterState;\n * however in the future we want to be able to fetch arbitrary partial segments\n * without having to fetch all its children. So this response format will\n * likely change.\n */\nexport type CacheNodeSeedData = [\n node: React.ReactNode | null,\n parallelRoutes: {\n [parallelRouterKey: string]: CacheNodeSeedData | null\n },\n // TODO: This field is no longer used. Remove it.\n loading: null,\n isPartial: boolean,\n /**\n * A thenable that resolves to the set of route params this segment accessed\n * during server rendering. Used by the client router to determine cache key\n * specificity - segments that only access certain params can be reused across\n * navigations where unaccessed params change.\n *\n * - null thenable: tracking was not enabled for this render (e.g., not a\n * prerender). Treat conservatively - assume all params vary.\n * - Thenable resolves to empty Set: segment accesses no params (e.g., client\n * components, or server components that don't read params). Can be shared\n * across all param values.\n * - Thenable resolves to non-empty Set: segment depends on those params.\n * Can only reuse when those specific params match.\n */\n varyParams: VaryParamsThenable | null,\n]\n\nexport type FlightDataSegment = [\n /* segment of the rendered slice: */ Segment,\n /* treePatch */ FlightRouterState,\n /* cacheNodeSeedData */ CacheNodeSeedData | null, // Can be null during prefetch if there's no loading component\n /* head: viewport */ HeadData,\n /* isHeadPartial */ boolean,\n]\n\nexport type FlightDataPath =\n // Uses `any` as repeating pattern can't be typed.\n | any[]\n // Looks somewhat like this\n | [\n // Holds full path to the segment.\n ...FlightSegmentPath[],\n ...FlightDataSegment,\n ]\n\n/**\n * The Flight response data\n */\nexport type FlightData = Array | string\n\n/**\n * Per-route prefetch hints computed at build time. Mirrors the shape of the\n * loader tree so hints can be traversed in parallel during router state\n * creation. Each node stores a bitmask of PrefetchHint flags\n * (ParentInlinedIntoSelf, InlinedIntoChild) computed by the segment size\n * measurement pass.\n *\n * Persisted to prefetch-hints.json as Record (keyed\n * by route pattern) and loaded at server startup.\n */\nexport type PrefetchHints = {\n /** Bitmask of PrefetchHint flags for this segment. */\n hints: number\n /** Child hint nodes, keyed by parallel route key. */\n slots: Record | null\n}\n\nexport type ActionResult = Promise\n\nexport type InitialRSCPayload = {\n /** buildId, can be empty if the x-nextjs-build-id header is set */\n b?: string\n /** initialCanonicalUrlParts */\n c: string[]\n /** initialRenderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n /** initialFlightData */\n f: FlightDataPath[]\n /** missingSlots */\n m: Set | undefined\n /** GlobalError */\n G: [React.ComponentType, React.ReactNode | undefined]\n /** supportsPerSegmentPrefetching */\n S: boolean\n /**\n * headVaryParams - vary params for the head (metadata) of the response.\n */\n h: VaryParamsThenable | null\n /** staleTime in seconds - Only present when Cache Components is enabled. */\n s?: AsyncIterable\n /** staticStageByteLength - Resolves when the static stage ends. */\n l?: Promise\n /** runtimePrefetchStream — Embedded runtime prefetch Flight stream. */\n p?: ReadableStream\n /**\n * dynamicStaleTime — Per-page BFCache stale time in seconds, from\n * `unstable_dynamicStaleTime`. Only included for dynamic renders. Controls\n * how long the client router cache retains dynamic navigation data. This is\n * distinct from the `s` field, which controls segment cache (prefetch)\n * staleness.\n */\n d?: number\n}\n\n// Response from `createFromFetch` for normal rendering\nexport type NavigationFlightResponse = {\n /** buildId, can be empty if the x-nextjs-build-id header is set */\n b?: string\n /** flightData */\n f: FlightData\n /** supportsPerSegmentPrefetching */\n S: boolean\n /** renderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n /** staleTime - Only present in dynamic runtime prefetch responses. */\n s?: AsyncIterable\n /** staticStageByteLength - Resolves when the static stage ends. */\n l?: Promise\n /** headVaryParams */\n h: VaryParamsThenable | null\n /** runtimePrefetchStream — Embedded runtime prefetch Flight stream. */\n p?: ReadableStream\n /**\n * dynamicStaleTime — Per-page BFCache stale time in seconds, from\n * `unstable_dynamicStaleTime`. Only included for dynamic renders. Controls\n * how long the client router cache retains dynamic navigation data. This is\n * distinct from the `s` field, which controls segment cache (prefetch)\n * staleness.\n */\n d?: number\n}\n\n// Response from `createFromFetch` for server actions. Action's flight data can be null\nexport type ActionFlightResponse = {\n /** actionResult */\n a: ActionResult\n /** buildId, can be empty if the x-nextjs-build-id header is set */\n b?: string\n /** flightData */\n f: FlightData\n /** renderedSearch */\n q: string\n /** couldBeIntercepted */\n i: boolean\n}\n\nexport type RSCPayload =\n | InitialRSCPayload\n | NavigationFlightResponse\n | ActionFlightResponse\n","import type { Segment } from '../../shared/lib/app-router-types'\n\nexport const matchSegment = (\n existingSegment: Segment,\n segment: Segment\n): boolean => {\n // segment is either Array or string\n if (typeof existingSegment === 'string') {\n if (typeof segment === 'string') {\n // Common case: segment is just a string\n return existingSegment === segment\n }\n return false\n }\n\n if (typeof segment === 'string') {\n return false\n }\n return existingSegment[0] === segment[0] && existingSegment[1] === segment[1]\n}\n","/**\n * Vary Params Decoding\n *\n * This module is shared between server and client.\n */\n\nexport type VaryParams = Set\n\ntype FulfilledVaryParamsThenable = {\n status: 'fulfilled'\n value: VaryParams\n} & PromiseLike\n\ntype PendingVaryParamsThenable = {\n // 'resolved_model' is an internal React Flight state: the underlying model\n // data has arrived but the thenable hasn't been \"unwrapped\" yet. Calling\n // .then() triggers Flight to synchronously transition to 'fulfilled'.\n status: 'pending' | 'resolved_model'\n value: unknown\n} & PromiseLike\n\nexport type VaryParamsThenable =\n | FulfilledVaryParamsThenable\n | PendingVaryParamsThenable\n\n/**\n * Synchronously reads vary params from a thenable.\n *\n * By the time this is called (client-side or in collectSegmentData), the\n * thenable should already be fulfilled because the Flight stream has been\n * fully received. We check the status synchronously to avoid unnecessary\n * microtasks.\n *\n * Returns null if the thenable is still pending (which shouldn't happen in\n * normal operation - it indicates the server failed to track vary params).\n */\nexport function readVaryParams(\n thenable: VaryParamsThenable\n): VaryParams | null {\n // Attach a no-op listener to force Flight to synchronously resolve the\n // thenable. When a thenable arrives from the Flight stream, it may be in an\n // intermediate 'resolved_model' state (data received but not unwrapped).\n // Calling .then() triggers Flight to transition it to 'fulfilled', making\n // the value available synchronously. React uses this same optimization\n // internally to avoid unnecessary microtasks.\n thenable.then(noop)\n // If the thenable is still not 'fulfilled' after calling .then(), the server\n // failed to resolve it before the stream ended. Treat as unknown.\n if (thenable.status !== 'fulfilled') {\n return null\n }\n return thenable.value\n}\n\nconst noop = () => {}\n","export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\n// Header for the Instant Navigation Testing API. In development and testing\n// builds, static pre-renders normally don't happen. This header tells the\n// server to perform a static pre-render anyway, allowing tests to assert on\n// the prefetched UI. Not exposed in production builds by default.\nexport const NEXT_INSTANT_PREFETCH_HEADER =\n 'next-instant-navigation-testing-prefetch' as const\n\n// Cookie for the Instant Navigation Testing API. Used for MPA navigations\n// (page reload, full page load) where we can't set request headers. When set,\n// the server renders only the static shell. Not exposed in production builds\n// by default.\nexport const NEXT_INSTANT_TEST_COOKIE =\n 'next-instant-navigation-testing' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","/**\n * Check to see if a value is Thenable.\n *\n * @param promise the maybe-thenable value\n * @returns true if the value is thenable\n */\nexport function isThenable(\n promise: Promise | T\n): promise is Promise {\n return (\n promise !== null &&\n typeof promise === 'object' &&\n 'then' in promise &&\n typeof promise.then === 'function'\n )\n}\n","import type { Dispatch } from 'react'\nimport React, { use, useMemo, useOptimistic } from 'react'\nimport { isThenable } from '../../shared/lib/is-thenable'\nimport type { AppRouterActionQueue } from './app-router-instance'\nimport {\n ACTION_REFRESH,\n type AppRouterState,\n type ReducerActions,\n type ReducerState,\n} from './router-reducer/router-reducer-types'\n\n// The app router state lives outside of React, so we can import the dispatch\n// method directly wherever we need it, rather than passing it around via props\n// or context.\nlet dispatch: Dispatch | null = null\n\n/**\n * Called when the instant navigation test lock is released. If the router\n * is initialized, dispatches a soft refresh to fetch dynamic data. If not\n * (e.g. the lock was released before hydration finished), falls back to a\n * hard reload.\n */\nexport function refreshOnInstantNavigationUnlock() {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n if (dispatch !== null) {\n dispatch({ type: ACTION_REFRESH, bypassCacheInvalidation: true })\n } else {\n window.location.reload()\n }\n }\n}\n\nexport function dispatchAppRouterAction(action: ReducerActions) {\n if (dispatch === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n dispatch(action)\n}\n\n// Optimistic state setter for experimental_gesturePush. Only should be used\n// during a gesture transition.\nlet setGestureRouterState: ((state: ReducerState) => void) | null = null\n\nexport function dispatchGestureState(state: ReducerState) {\n if (setGestureRouterState === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n setGestureRouterState(state)\n}\n\nconst __DEV__ = process.env.NODE_ENV !== 'production'\nconst promisesWithDebugInfo: WeakMap<\n Promise,\n Promise & { _debugInfo?: Array }\n> = __DEV__ ? new WeakMap() : (null as any)\n\nexport function useActionQueue(\n actionQueue: AppRouterActionQueue\n): AppRouterState {\n const [canonicalState, setState] = React.useState(\n actionQueue.state\n )\n\n // Wrap the canonical state in useOptimistic to support\n // experimental_gesturePush. During a gesture transition, this returns a fork\n // of the router state that represents the eventual target if/when the gesture\n // completes. Otherwise it returns the canonical state.\n const [state, setGesture] = useOptimistic(canonicalState)\n if (typeof window !== 'undefined') {\n setGestureRouterState = setGesture\n }\n\n // Because of a known issue that requires to decode Flight streams inside the\n // render phase, we have to be a bit clever and assign the dispatch method to\n // a module-level variable upon initialization. The useState hook in this\n // module only exists to synchronize state that lives outside of React.\n // Ideally, what we'd do instead is pass the state as a prop to root.render;\n // this is conceptually how we're modeling the app router state, despite the\n // weird implementation details.\n let nextDispatch: Dispatch\n\n if (process.env.NODE_ENV !== 'production') {\n const { useAppDevRenderingIndicator } =\n require('../../next-devtools/userspace/use-app-dev-rendering-indicator') as typeof import('../../next-devtools/userspace/use-app-dev-rendering-indicator')\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const appDevRenderingIndicator = useAppDevRenderingIndicator()\n\n nextDispatch = (action: ReducerActions) => {\n appDevRenderingIndicator(() => {\n actionQueue.dispatch(action, setState)\n })\n }\n } else {\n nextDispatch = (action: ReducerActions) =>\n actionQueue.dispatch(action, setState)\n }\n\n if (typeof window !== 'undefined') {\n dispatch = nextDispatch\n }\n\n // When navigating to a non-prefetched route, then App Router state will be\n // blocked until the server responds. We need to transfer the `_debugInfo`\n // from the underlying Flight response onto the top-level promise that is\n // passed to React (via `use`) so that the latency is accurately represented\n // in the React DevTools.\n const stateWithDebugInfo = useMemo(() => {\n if (!__DEV__) {\n return state\n }\n\n if (isThenable(state)) {\n // useMemo can't be used to cache a Promise since the memoized value is thrown\n // away when we suspend. So we use a WeakMap to cache the Promise with debug info.\n let promiseWithDebugInfo = promisesWithDebugInfo.get(state)\n if (promiseWithDebugInfo === undefined) {\n const debugInfo: Array = []\n promiseWithDebugInfo = Promise.resolve(state).then((asyncState) => {\n if (asyncState.debugInfo !== null) {\n debugInfo.push(...asyncState.debugInfo)\n }\n return asyncState\n }) as Promise & { _debugInfo?: Array }\n promiseWithDebugInfo._debugInfo = debugInfo\n\n promisesWithDebugInfo.set(state, promiseWithDebugInfo)\n }\n\n return promiseWithDebugInfo\n }\n return state\n }, [state])\n\n return isThenable(stateWithDebugInfo)\n ? use(stateWithDebugInfo)\n : stateWithDebugInfo\n}\n","import { startTransition } from 'react'\nimport { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types'\nimport { dispatchAppRouterAction } from './components/use-action-queue'\n\nexport async function callServer(actionId: string, actionArgs: any[]) {\n return new Promise((resolve, reject) => {\n startTransition(() => {\n dispatchAppRouterAction({\n type: ACTION_SERVER_ACTION,\n actionId,\n actionArgs,\n resolve,\n reject,\n })\n })\n })\n}\n","const basePath = process.env.__NEXT_ROUTER_BASEPATH || ''\nconst pathname = `${basePath}/__nextjs_source-map`\n\nexport const findSourceMapURL =\n // Source maps are only served by the dev server.\n process.env.__NEXT_DEV_SERVER\n ? function findSourceMapURL(filename: string): string | null {\n if (filename === '') {\n return null\n }\n\n if (\n filename.startsWith(document.location.origin) &&\n filename.includes('/_next/static')\n ) {\n // This is a request for a client chunk. This can only happen when\n // using Turbopack. In this case, since we control how those source\n // maps are generated, we can safely assume that the sourceMappingURL\n // is relative to the filename, with an added `.map` extension. The\n // browser can just request this file, and it gets served through the\n // normal dev server, without the need to route this through\n // the `/__nextjs_source-map` dev middleware.\n return `${filename}.map`\n }\n\n const url = new URL(pathname, document.location.origin)\n url.searchParams.set('filename', filename)\n\n return url.href\n }\n : undefined\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","import { PAGE_SEGMENT_KEY } from '../segment'\nimport type { Segment as FlightRouterStateSegment } from '../app-router-types'\n\n// TypeScript trick to simulate opaque types, like in Flow.\ntype Opaque = T & { __brand: K }\n\nexport type SegmentRequestKeyPart = Opaque<'SegmentRequestKeyPart', string>\nexport type SegmentRequestKey = Opaque<'SegmentRequestKey', string>\n\nexport const ROOT_SEGMENT_REQUEST_KEY = '' as SegmentRequestKey\n\nexport const HEAD_REQUEST_KEY = '/_head' as SegmentRequestKey\n\nexport function createSegmentRequestKeyPart(\n segment: FlightRouterStateSegment\n): SegmentRequestKeyPart {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY as SegmentRequestKeyPart\n }\n const safeName =\n // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found'\n ? '_not-found'\n : encodeToFilesystemAndURLSafeString(segment)\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName as SegmentRequestKeyPart\n }\n\n const name = segment[0]\n const paramType = segment[2]\n const safeName = encodeToFilesystemAndURLSafeString(name)\n\n const encodedName = '$' + paramType + '$' + safeName\n return encodedName as SegmentRequestKeyPart\n}\n\nexport function appendSegmentRequestKeyPart(\n parentRequestKey: SegmentRequestKey,\n parallelRouteKey: string,\n childRequestKeyPart: SegmentRequestKeyPart\n): SegmentRequestKey {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey =\n parallelRouteKey === 'children'\n ? childRequestKeyPart\n : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`\n return (parentRequestKey + '/' + slotKey) as SegmentRequestKey\n}\n\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/\n\nfunction encodeToFilesystemAndURLSafeString(value: string) {\n if (simpleParamValueRegex.test(value)) {\n return value\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value)\n .replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n return '!' + base64url\n}\n\nexport function convertSegmentPathToStaticExportFilename(\n segmentPath: string\n): string {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`\n}\n","import type { DynamicParamTypesShort } from '../shared/lib/app-router-types'\nimport {\n addSearchParamsIfPageSegment,\n DEFAULT_SEGMENT_KEY,\n PAGE_SEGMENT_KEY,\n} from '../shared/lib/segment'\nimport { ROOT_SEGMENT_REQUEST_KEY } from '../shared/lib/segment-cache/segment-value-encoding'\nimport {\n NEXT_REWRITTEN_PATH_HEADER,\n NEXT_REWRITTEN_QUERY_HEADER,\n NEXT_RSC_UNION_QUERY,\n} from './components/app-router-headers'\nimport type {\n NormalizedPathname,\n NormalizedSearch,\n} from './components/segment-cache/cache-key'\nimport type { RSCResponse } from './components/router-reducer/fetch-server-response'\nimport type { ParsedUrlQuery } from 'querystring'\n\nexport type RouteParamValue = string | Array | null\n\nexport function getRenderedSearch(\n response: RSCResponse | Response\n): NormalizedSearch {\n // If the server performed a rewrite, the search params used to render the\n // page will be different from the params in the request URL. In this case,\n // the response will include a header that gives the rewritten search query.\n const rewrittenQuery = response.headers.get(NEXT_REWRITTEN_QUERY_HEADER)\n if (rewrittenQuery !== null) {\n return (\n rewrittenQuery === '' ? '' : '?' + rewrittenQuery\n ) as NormalizedSearch\n }\n // If the header is not present, there was no rewrite, so we use the search\n // query of the response URL.\n return urlToUrlWithoutFlightMarker(new URL(response.url))\n .search as NormalizedSearch\n}\n\nexport function getRenderedPathname(\n response: RSCResponse | Response\n): NormalizedPathname {\n // If the server performed a rewrite, the pathname used to render the\n // page will be different from the pathname in the request URL. In this case,\n // the response will include a header that gives the rewritten pathname.\n const rewrittenPath = response.headers.get(NEXT_REWRITTEN_PATH_HEADER)\n return (rewrittenPath ??\n urlToUrlWithoutFlightMarker(new URL(response.url))\n .pathname) as NormalizedPathname\n}\n\n// Pathname parts come from `URL.pathname.split('/')`, so they are already\n// in the encoded form the URL parser produces. The server-side equivalent\n// (`get-dynamic-param.ts`) starts from a decoded param value and applies\n// `encodeURIComponent` once. The two encodings are not the same — for\n// example, the URL parser leaves `,` and `:` untouched while\n// `encodeURIComponent` percent-encodes them. To produce the same canonical\n// form on the client (and avoid double-encoding `%xx` sequences such as\n// `%2F` → `%252F`), we decode the URL part first and re-encode it.\nfunction canonicalizeURLPart(part: string): string {\n try {\n return encodeURIComponent(decodeURIComponent(part))\n } catch {\n // `decodeURIComponent` throws on malformed sequences. Fall back to the\n // already-encoded form rather than failing the navigation.\n return part\n }\n}\n\nexport function parseDynamicParamFromURLPart(\n paramType: DynamicParamTypesShort,\n pathnameParts: Array,\n partIndex: number\n): RouteParamValue {\n // This needs to match the behavior in get-dynamic-param.ts.\n switch (paramType) {\n // Catchalls\n case 'c': {\n // Catchalls receive all the remaining URL parts. If there are no\n // remaining pathname parts, return an empty array.\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s) => canonicalizeURLPart(s))\n : []\n }\n // Catchall intercepted\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)': {\n const prefix = paramType.length - 2\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s, i) => {\n if (i === 0) {\n return canonicalizeURLPart(s.slice(prefix))\n }\n\n return canonicalizeURLPart(s)\n })\n : []\n }\n // Optional catchalls\n case 'oc': {\n // Optional catchalls receive all the remaining URL parts, unless this is\n // the end of the pathname, in which case they return null.\n return partIndex < pathnameParts.length\n ? pathnameParts.slice(partIndex).map((s) => canonicalizeURLPart(s))\n : null\n }\n // Dynamic\n case 'd': {\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return ''\n }\n return canonicalizeURLPart(pathnameParts[partIndex])\n }\n // Dynamic intercepted\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)': {\n const prefix = paramType.length - 2\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return ''\n }\n\n return canonicalizeURLPart(pathnameParts[partIndex].slice(prefix))\n }\n default:\n paramType satisfies never\n return ''\n }\n}\n\nexport function doesStaticSegmentAppearInURL(segment: string): boolean {\n // This is not a parameterized segment; however, we need to determine\n // whether or not this segment appears in the URL. For example, this route\n // groups do not appear in the URL, so they should be skipped. Any other\n // special cases must be handled here.\n // TODO: Consider encoding this directly into the router tree instead of\n // inferring it on the client based on the segment type. Something like\n // a `doesAppearInURL` flag in FlightRouterState.\n if (\n segment === ROOT_SEGMENT_REQUEST_KEY ||\n // For some reason, the loader tree sometimes includes extra __PAGE__\n // \"layouts\" when part of a parallel route. But it's not a leaf node.\n // Otherwise, we wouldn't need this special case because pages are\n // always leaf nodes.\n // TODO: Investigate why the loader produces these fake page segments.\n segment.startsWith(PAGE_SEGMENT_KEY) ||\n // Route groups.\n (segment[0] === '(' && segment.endsWith(')')) ||\n segment === DEFAULT_SEGMENT_KEY ||\n segment === '/_not-found'\n ) {\n return false\n } else {\n // All other segment types appear in the URL\n return true\n }\n}\n\nexport function getCacheKeyForDynamicParam(\n paramValue: RouteParamValue,\n renderedSearch: NormalizedSearch\n): string {\n // This needs to match the logic in get-dynamic-param.ts, until we're able to\n // unify the various implementations so that these are always computed on\n // the client.\n if (typeof paramValue === 'string') {\n // TODO: Refactor or remove this helper function to accept a string rather\n // than the whole segment type. Also we can probably just append the\n // search string instead of turning it into JSON.\n const pageSegmentWithSearchParams = addSearchParamsIfPageSegment(\n paramValue,\n Object.fromEntries(new URLSearchParams(renderedSearch))\n ) as string\n return pageSegmentWithSearchParams\n } else if (paramValue === null) {\n return ''\n } else {\n return paramValue.join('/')\n }\n}\n\nexport function urlToUrlWithoutFlightMarker(url: URL): URL {\n const urlWithoutFlightParameters = new URL(url)\n urlWithoutFlightParameters.searchParams.delete(NEXT_RSC_UNION_QUERY)\n if (process.env.NODE_ENV === 'production') {\n if (\n process.env.__NEXT_CONFIG_OUTPUT === 'export' &&\n urlWithoutFlightParameters.pathname.endsWith('.txt')\n ) {\n const { pathname } = urlWithoutFlightParameters\n const length = pathname.endsWith('/index.txt') ? 10 : 4\n // Slice off `/index.txt` or `.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = pathname.slice(0, -length)\n }\n }\n return urlWithoutFlightParameters\n}\n\nexport function getParamValueFromCacheKey(\n paramCacheKey: string,\n paramType: DynamicParamTypesShort\n) {\n // Turn the cache key string sent by the server (as part of FlightRouterState)\n // into a value that can be passed to `useParams` and client components.\n const isCatchAll = paramType === 'c' || paramType === 'oc'\n if (isCatchAll) {\n // Catch-all param keys are a concatenation of the path segments.\n // See equivalent logic in `getSelectedParams`.\n // TODO: We should just pass the array directly, rather than concatenate\n // it to a string and then split it back to an array. It needs to be an\n // array in some places, like when passing a key React, but we can convert\n // it at runtime in those places.\n return paramCacheKey.split('/')\n }\n return paramCacheKey\n}\n\nexport function urlSearchParamsToParsedUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n // Converts a URLSearchParams object to the same type used by the server when\n // creating search params props, i.e. the type returned by Node's\n // \"querystring\" module.\n const result: ParsedUrlQuery = {}\n for (const [key, value] of searchParams.entries()) {\n if (result[key] === undefined) {\n result[key] = value\n } else if (Array.isArray(result[key])) {\n result[key].push(value)\n } else {\n result[key] = [result[key], value]\n }\n }\n return result\n}\n","export function createHrefFromUrl(\n url: Pick,\n includeHash: boolean = true\n): string {\n return url.pathname + url.search + (includeHash ? url.hash : '')\n}\n","import type {\n CacheNodeSeedData,\n FlightData,\n FlightDataPath,\n FlightRouterState,\n FlightSegmentPath,\n Segment,\n HeadData,\n InitialRSCPayload,\n} from '../shared/lib/app-router-types'\nimport { PAGE_SEGMENT_KEY } from '../shared/lib/segment'\nimport type { NormalizedSearch } from './components/segment-cache/cache-key'\nimport {\n getCacheKeyForDynamicParam,\n parseDynamicParamFromURLPart,\n doesStaticSegmentAppearInURL,\n getRenderedPathname,\n getRenderedSearch,\n} from './route-params'\nimport { createHrefFromUrl } from './components/router-reducer/create-href-from-url'\n\nexport type NormalizedFlightData = {\n /**\n * The full `FlightSegmentPath` inclusive of the final `Segment`\n */\n segmentPath: FlightSegmentPath\n /**\n * The `FlightSegmentPath` exclusive of the final `Segment`\n */\n pathToSegment: FlightSegmentPath\n segment: Segment\n tree: FlightRouterState\n seedData: CacheNodeSeedData | null\n head: HeadData\n isHeadPartial: boolean\n isRootRender: boolean\n}\n\n// TODO: We should only have to export `normalizeFlightData`, however because the initial flight data\n// that gets passed to `createInitialRouterState` doesn't conform to the `FlightDataPath` type (it's missing the root segment)\n// we're currently exporting it so we can use it directly. This should be fixed as part of the unification of\n// the different ways we express `FlightSegmentPath`.\nexport function getFlightDataPartsFromPath(\n flightDataPath: FlightDataPath\n): NormalizedFlightData {\n // Pick the last 4 items from the `FlightDataPath` to get the [tree, seedData, viewport, isHeadPartial].\n const flightDataPathLength = 4\n // tree, seedData, and head are *always* the last three items in the `FlightDataPath`.\n const [tree, seedData, head, isHeadPartial] =\n flightDataPath.slice(-flightDataPathLength)\n // The `FlightSegmentPath` is everything except the last three items. For a root render, it won't be present.\n const segmentPath = flightDataPath.slice(0, -flightDataPathLength)\n\n return {\n // TODO: Unify these two segment path helpers. We are inconsistently pushing an empty segment (\"\")\n // to the start of the segment path in some places which makes it hard to use solely the segment path.\n // Look for \"// TODO-APP: remove ''\" in the codebase.\n pathToSegment: segmentPath.slice(0, -1),\n segmentPath,\n // if the `FlightDataPath` corresponds with the root, there'll be no segment path,\n // in which case we default to ''.\n segment: segmentPath[segmentPath.length - 1] ?? '',\n tree,\n seedData,\n head,\n isHeadPartial,\n isRootRender: flightDataPath.length === flightDataPathLength,\n }\n}\n\nexport function createInitialRSCPayloadFromFallbackPrerender(\n response: Response,\n fallbackInitialRSCPayload: InitialRSCPayload\n): InitialRSCPayload {\n // This is a static fallback page. In order to hydrate the page, we need to\n // parse the client params from the URL, but to account for the possibility\n // that the page was rewritten, we need to check the response headers\n // for x-nextjs-rewritten-path or x-nextjs-rewritten-query headers. Since\n // we can't access the headers of the initial document response, the client\n // performs a fetch request to the current location. Since it's possible that\n // the fetch request will be dynamically rewritten to a different path than\n // the initial document, this fetch request delivers _all_ the hydration data\n // for the page; it was not inlined into the document, like it normally\n // would be.\n //\n // TODO: Consider treating the case where fetch is rewritten to a different\n // path from the document as a special deopt case. We should optimistically\n // assume this won't happen, inline the data into the document, and perform\n // a minimal request (like a HEAD or range request) to verify that the\n // response matches. Tricky to get right because we need to account for\n // all the different deployment environments we support, like output:\n // \"export\" mode, where we currently don't assume that custom response\n // headers are present.\n\n // Patch the Flight data sent by the server with the correct params parsed\n // from the URL + response object.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n const canonicalUrl = createHrefFromUrl(new URL(location.href))\n const originalFlightDataPath = fallbackInitialRSCPayload.f[0]\n const originalFlightRouterState = originalFlightDataPath[0]\n const payload: InitialRSCPayload = {\n c: canonicalUrl.split('/'),\n q: renderedSearch,\n i: fallbackInitialRSCPayload.i,\n f: [\n [\n fillInFallbackFlightRouterState(\n originalFlightRouterState,\n renderedPathname,\n renderedSearch as NormalizedSearch\n ),\n originalFlightDataPath[1],\n originalFlightDataPath[2],\n originalFlightDataPath[2],\n ],\n ],\n m: fallbackInitialRSCPayload.m,\n G: fallbackInitialRSCPayload.G,\n S: fallbackInitialRSCPayload.S,\n h: fallbackInitialRSCPayload.h,\n }\n if (fallbackInitialRSCPayload.b) {\n payload.b = fallbackInitialRSCPayload.b\n }\n return payload\n}\n\nfunction fillInFallbackFlightRouterState(\n flightRouterState: FlightRouterState,\n renderedPathname: string,\n renderedSearch: NormalizedSearch\n): FlightRouterState {\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n return fillInFallbackFlightRouterStateImpl(\n flightRouterState,\n renderedSearch,\n pathnameParts,\n index\n )\n}\n\nfunction fillInFallbackFlightRouterStateImpl(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n pathnameParts: Array,\n pathnamePartsIndex: number\n): FlightRouterState {\n const originalSegment = flightRouterState[0]\n let newSegment: Segment\n let doesAppearInURL: boolean\n if (typeof originalSegment === 'string') {\n newSegment = originalSegment\n doesAppearInURL = doesStaticSegmentAppearInURL(originalSegment)\n } else {\n const paramName = originalSegment[0]\n const paramType = originalSegment[2]\n const staticSiblings = originalSegment[3]\n const paramValue = parseDynamicParamFromURLPart(\n paramType,\n pathnameParts,\n pathnamePartsIndex\n )\n const cacheKey = getCacheKeyForDynamicParam(paramValue, renderedSearch)\n newSegment = [paramName, cacheKey, paramType, staticSiblings]\n doesAppearInURL = true\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = doesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const children = flightRouterState[1]\n const newChildren: { [key: string]: FlightRouterState } = {}\n for (let key in children) {\n const childFlightRouterState = children[key]\n newChildren[key] = fillInFallbackFlightRouterStateImpl(\n childFlightRouterState,\n renderedSearch,\n pathnameParts,\n childPathnamePartsIndex\n )\n }\n\n const newState: FlightRouterState = [\n newSegment,\n newChildren,\n null,\n flightRouterState[3],\n flightRouterState[4],\n ]\n return newState\n}\n\nexport function getNextFlightSegmentPath(\n flightSegmentPath: FlightSegmentPath\n): FlightSegmentPath {\n // Since `FlightSegmentPath` is a repeated tuple of `Segment` and `ParallelRouteKey`, we slice off two items\n // to get the next segment path.\n return flightSegmentPath.slice(2)\n}\n\nexport function normalizeFlightData(\n flightData: FlightData\n): NormalizedFlightData[] | string {\n // FlightData can be a string when the server didn't respond with a proper flight response,\n // or when a redirect happens, to signal to the client that it needs to perform an MPA navigation.\n if (typeof flightData === 'string') {\n return flightData\n }\n\n return flightData.map((flightDataPath) =>\n getFlightDataPartsFromPath(flightDataPath)\n )\n}\n\n/**\n * This function is used to prepare the flight router state for the request.\n * It removes markers that are not needed by the server, and are purely used\n * for stashing state on the client.\n * @param flightRouterState - The flight router state to prepare.\n * @param isHmrRefresh - Whether this is an HMR refresh request.\n * @returns The prepared flight router state.\n */\nexport function prepareFlightRouterStateForRequest(\n flightRouterState: FlightRouterState,\n isHmrRefresh?: boolean\n): string {\n // HMR requests need the complete, unmodified state for proper functionality\n if (isHmrRefresh) {\n return encodeURIComponent(JSON.stringify(flightRouterState))\n }\n\n return encodeURIComponent(\n JSON.stringify(stripClientOnlyDataFromFlightRouterState(flightRouterState))\n )\n}\n\n/**\n * Recursively strips client-only data from FlightRouterState while preserving\n * server-needed information for proper rendering decisions.\n */\nfunction stripClientOnlyDataFromFlightRouterState(\n flightRouterState: FlightRouterState\n): FlightRouterState {\n const [\n segment,\n parallelRoutes,\n _refreshState, // Intentionally unused - URLs are client-only\n refreshMarker,\n prefetchHints,\n ] = flightRouterState\n\n // Strip client-only data from the segment\n const cleanedSegment = stripClientOnlyDataFromSegment(segment)\n\n // Recursively process parallel routes\n const cleanedParallelRoutes: { [key: string]: FlightRouterState } = {}\n for (const [key, childState] of Object.entries(parallelRoutes)) {\n cleanedParallelRoutes[key] =\n stripClientOnlyDataFromFlightRouterState(childState)\n }\n\n const result: FlightRouterState = [cleanedSegment, cleanedParallelRoutes]\n if (refreshMarker) {\n result[2] = null // null slightly more compact than undefined\n result[3] = refreshMarker\n }\n\n // Append optional fields if present\n if (prefetchHints !== undefined) {\n result[4] = prefetchHints\n }\n\n // Everything else is used only by the client and is not needed for requests.\n return result\n}\n\n/**\n * Strips client-only data from segments:\n * - Search parameters from __PAGE__ segments\n * - staticSiblings from dynamic segment tuples (only needed for client-side\n * prefetch reuse decisions)\n */\nfunction stripClientOnlyDataFromSegment(segment: Segment): Segment {\n if (typeof segment === 'string') {\n // Strip search params from __PAGE__ segments\n if (segment.startsWith(PAGE_SEGMENT_KEY + '?')) {\n return PAGE_SEGMENT_KEY\n }\n return segment\n }\n // Dynamic segment tuple: [paramName, paramCacheKey, paramType, staticSiblings]\n // Strip staticSiblings (4th element) since server doesn't need it\n const [paramName, paramCacheKey, paramType] = segment\n return [paramName, paramCacheKey, paramType, null]\n}\n","// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str: string) {\n let hash = 5381\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i)\n hash = ((hash << 5) + hash + char) & 0xffffffff\n }\n return hash >>> 0\n}\n\nexport function hexHash(str: string) {\n return djb2Hash(str).toString(36).slice(0, 5)\n}\n","import { hexHash } from '../../hash'\n\nconst CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES = 12\nconst textEncoder = new TextEncoder()\n\nfunction encodeCacheBustingSearchParam(bytes: Uint8Array): string {\n let binary = ''\n for (let i = 0; i < bytes.length; i++) {\n binary += String.fromCharCode(bytes[i])\n }\n\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '')\n}\n\nfunction normalizeCacheBustingInput(\n value: string | string[] | undefined\n): string {\n if (value === undefined) {\n return '0'\n }\n return Array.isArray(value) ? value.join(',') : value\n}\n\nfunction createCacheBustingSearchParamInput(\n prefetchHeader: '1' | '2' | '0' | undefined,\n segmentPrefetchHeader: string | string[] | undefined,\n stateTreeHeader: string | string[] | undefined,\n nextUrlHeader: string | string[] | undefined\n): string | null {\n if (\n (prefetchHeader === undefined || prefetchHeader === '0') &&\n segmentPrefetchHeader === undefined &&\n stateTreeHeader === undefined &&\n nextUrlHeader === undefined\n ) {\n return null\n }\n\n return [\n prefetchHeader ?? '0',\n normalizeCacheBustingInput(segmentPrefetchHeader),\n normalizeCacheBustingInput(stateTreeHeader),\n normalizeCacheBustingInput(nextUrlHeader),\n ].join(',')\n}\n\nasync function computeCacheBustingSearchParamFromInput(\n input: string\n): Promise {\n // Truncate SHA-256 to 96 bits to keep `_rsc` compact\n const digest = await globalThis.crypto.subtle.digest(\n 'SHA-256',\n textEncoder.encode(input)\n )\n return encodeCacheBustingSearchParam(\n new Uint8Array(digest).subarray(0, CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES)\n )\n}\n\nexport async function computeCacheBustingSearchParam(\n prefetchHeader: '1' | '2' | '0' | undefined,\n segmentPrefetchHeader: string | string[] | undefined,\n stateTreeHeader: string | string[] | undefined,\n nextUrlHeader: string | string[] | undefined\n): Promise {\n const input = createCacheBustingSearchParamInput(\n prefetchHeader,\n segmentPrefetchHeader,\n stateTreeHeader,\n nextUrlHeader\n )\n if (input === null) {\n return ''\n }\n\n return computeCacheBustingSearchParamFromInput(input)\n}\n\nexport function computeLegacyCacheBustingSearchParam(\n prefetchHeader: '1' | '2' | '0' | undefined,\n segmentPrefetchHeader: string | string[] | undefined,\n stateTreeHeader: string | string[] | undefined,\n nextUrlHeader: string | string[] | undefined\n): string {\n const input = createCacheBustingSearchParamInput(\n prefetchHeader,\n segmentPrefetchHeader,\n stateTreeHeader,\n nextUrlHeader\n )\n if (input === null) {\n return ''\n }\n\n return hexHash(input)\n}\n","'use client'\n\nimport {\n computeCacheBustingSearchParam,\n computeLegacyCacheBustingSearchParam,\n} from '../../../shared/lib/router/utils/cache-busting-search-param'\nimport {\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n NEXT_RSC_UNION_QUERY,\n} from '../app-router-headers'\nimport type { RequestHeaders } from './fetch-server-response'\n\nasync function computeClientCacheBustingSearchParam(\n headers: RequestHeaders\n): Promise {\n if (typeof globalThis.crypto?.subtle?.digest === 'function') {\n return computeCacheBustingSearchParam(\n headers[NEXT_ROUTER_PREFETCH_HEADER],\n headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],\n headers[NEXT_ROUTER_STATE_TREE_HEADER],\n headers[NEXT_URL]\n )\n }\n\n return computeLegacyCacheBustingSearchParam(\n headers[NEXT_ROUTER_PREFETCH_HEADER],\n headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],\n headers[NEXT_ROUTER_STATE_TREE_HEADER],\n headers[NEXT_URL]\n )\n}\n\n/**\n * Mutates the provided URL by adding a cache-busting search parameter for CDNs that don't\n * support custom headers. This helps avoid caching conflicts by making each request unique.\n *\n * Rather than relying on the Vary header which some CDNs ignore, we append a search param\n * to create a unique URL that forces a fresh request.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * Note: This function mutates the input URL directly and resolves once the\n * cache-busting value has been computed and applied.\n *\n * TODO: Since we need to use a search param anyway, we could simplify by removing the custom\n * headers approach entirely and just use search params.\n */\nexport const setCacheBustingSearchParam = async (\n url: URL,\n headers: RequestHeaders\n): Promise => {\n const uniqueCacheKey = await computeClientCacheBustingSearchParam(headers)\n setCacheBustingSearchParamWithHash(url, uniqueCacheKey)\n}\n\n/**\n * Sets a cache-busting search parameter on a URL using a provided hash value.\n *\n * This function performs the same logic as `setCacheBustingSearchParam` but accepts\n * a pre-computed hash instead of computing it from headers.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * hash: \"abc123\"\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * If the hash is empty, we will set `_rsc` search param without a value.\n * Like this: https://example.com/path?query=1&_rsc\n *\n * Note: This function mutates the input URL directly and does not return anything.\n */\nexport const setCacheBustingSearchParamWithHash = (\n url: URL,\n hash: string\n): void => {\n /**\n * Note that we intentionally do not use `url.searchParams.set` here:\n *\n * const url = new URL('https://example.com/search?q=custom%20spacing');\n * url.searchParams.set('_rsc', 'abc123');\n * console.log(url.toString()); // Outputs: https://example.com/search?q=custom+spacing&_rsc=abc123\n * ^ <--- this is causing confusion\n * This is in fact intended based on https://url.spec.whatwg.org/#interface-urlsearchparams, but\n * we want to preserve the %20 as %20 if that's what the user passed in, hence the custom\n * logic below.\n */\n const existingSearch = url.search\n const rawQuery = existingSearch.startsWith('?')\n ? existingSearch.slice(1)\n : existingSearch\n\n // Always remove any existing cache busting param and add a fresh one to ensure\n // we have the correct value based on current request headers\n const pairs = rawQuery\n .split('&')\n .filter((pair) => pair && !pair.startsWith(`${NEXT_RSC_UNION_QUERY}=`))\n\n if (hash.length > 0) {\n pairs.push(`${NEXT_RSC_UNION_QUERY}=${hash}`)\n } else {\n pairs.push(`${NEXT_RSC_UNION_QUERY}`)\n }\n url.search = pairs.length ? `?${pairs.join('&')}` : ''\n}\n","// This gets assigned as a side-effect during app initialization. Because it\n// represents the build used to create the JS bundle, it should never change\n// after being set, so we store it in a global variable.\n//\n// When performing RSC requests, if the incoming data has a different build ID,\n// we perform an MPA navigation/refresh to load the updated build and ensure\n// that the client and server in sync.\n//\n// Starts as an empty string. In practice, because setNavigationBuildId is called during initialization\n// before hydration starts, this will always get reassigned to the actual ID before it's ever needed\n// by a navigation. If for some reasons it didn't, due to a bug or race condition, then on\n// navigation the build comparision would fail and trigger an MPA navigation.\n//\n// Note that this can also be initialized with the deployment id instead (if available). So it's not\n// the same as \"the build id\", but we are running out of alternative names for \"build id or\n// deployment id\".\nlet globalBuildId: string = ''\n\nexport function setNavigationBuildId(buildId: string) {\n globalBuildId = buildId\n}\n\nexport function getNavigationBuildId(): string {\n return globalBuildId\n}\n","import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n 'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n 'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\nexport const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\nexport const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_'\n\n// in seconds\nexport const CACHE_ONE_YEAR_SECONDS = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n 'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n 'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n 'The `unstable_revalidate` property is available for general use.\\n' +\n 'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */\n shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */\n reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */\n serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */\n actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */\n apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */\n apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */\n middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */\n instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */\n edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */\n appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */\n pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */\n pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */\n pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge,\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n","import type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport { PrefetchHint } from '../../../shared/lib/app-router-types'\nimport type { RouteTree } from '../segment-cache/cache'\n\nexport function isNavigatingToNewRootLayout(\n currentTree: FlightRouterState,\n nextTree: RouteTree\n): boolean {\n // Compare segments\n const currentTreeSegment = currentTree[0]\n const nextTreeSegment = nextTree.segment\n\n // If any segment is different before we find the root layout, the root layout has changed.\n // E.g. /same/(group1)/layout.js -> /same/(group2)/layout.js\n // First segment is 'same' for both, keep looking. (group1) changed to (group2) before the root layout was found, it must have changed.\n if (Array.isArray(currentTreeSegment) && Array.isArray(nextTreeSegment)) {\n // Compare dynamic param name and type but ignore the value, different values would not affect the current root layout\n // /[name] - /slug1 and /slug2, both values (slug1 & slug2) still has the same layout /[name]/layout.js\n if (\n currentTreeSegment[0] !== nextTreeSegment[0] ||\n currentTreeSegment[2] !== nextTreeSegment[2]\n ) {\n return true\n }\n } else if (currentTreeSegment !== nextTreeSegment) {\n return true\n }\n\n // Current tree root layout found\n const currentIsRootLayout =\n ((currentTree[4] ?? 0) & PrefetchHint.IsRootLayout) !== 0\n const nextIsRootLayout =\n (nextTree.prefetchHints & PrefetchHint.IsRootLayout) !== 0\n if (currentIsRootLayout) {\n // If the next tree doesn't have the root layout flag, it must have changed.\n return !nextIsRootLayout\n }\n // Current tree didn't have its root layout here, must have changed.\n if (nextIsRootLayout) {\n return true\n }\n\n const slots = nextTree.slots\n const currentTreeChildren = currentTree[1]\n if (slots !== null) {\n for (const slot in slots) {\n const nextTreeChild = slots[slot]\n const currentTreeChild = currentTreeChildren[slot]\n if (\n currentTreeChild === undefined ||\n isNavigatingToNewRootLayout(currentTreeChild, nextTreeChild)\n ) {\n return true\n }\n }\n }\n return false\n}\n","import type { FlightRouterState } from '../../../../shared/lib/app-router-types'\n\n// The tree from the last state that was committed to the browser history\n// (i.e., the last state for which HistoryUpdater's useInsertionEffect ran).\n// This lets the server-patch reducer distinguish between retrying a\n// navigation that already pushed a history entry vs one whose transition\n// suspended and never committed.\n//\n// Currently only used by the server-patch retry logic, but this module is a\n// stepping stone toward a broader refactor of the navigation queue. The\n// existing AppRouter action queue will eventually be replaced by a more\n// reactive model that explicitly tracks pending vs committed navigation\n// state. This file will likely evolve into (or be subsumed by) that new\n// implementation.\nlet lastCommittedTree: FlightRouterState | null = null\n\nexport function getLastCommittedTree(): FlightRouterState | null {\n return lastCommittedTree\n}\n\nexport function setLastCommittedTree(tree: FlightRouterState): void {\n lastCommittedTree = tree\n}\n","import { deleteMapEntry } from './cache-map'\nimport type { UnknownMapEntry } from './cache-map'\nimport { pingPrefetchScheduler } from './scheduler'\n\n// We use an LRU for memory management. We must update this whenever we add or\n// remove a new cache entry, or when an entry changes size.\n\nlet head: UnknownMapEntry | null = null\nlet lruSize: number = 0\n\n// TODO: I chose the max size somewhat arbitrarily. Consider setting this based\n// on navigator.deviceMemory, or some other heuristic. We should make this\n// customizable via the Next.js config, too.\nconst maxLruSize = 50 * 1024 * 1024 // 50 MB\n\nexport function lruPut(node: UnknownMapEntry) {\n if (head === node) {\n // Already at the head\n return\n }\n const prev = node.prev\n const next = node.next\n if (next === null || prev === null) {\n // This is an insertion\n lruSize += node.size\n // Whenever we add an entry, we need to check if we've exceeded the\n // max size. We don't evict entries immediately; they're evicted later in\n // an asynchronous task.\n ensureCleanupIsScheduled()\n } else {\n // This is a move. Remove from its current position.\n prev.next = next\n next.prev = prev\n }\n\n // Move to the front of the list\n if (head === null) {\n // This is the first entry\n node.prev = node\n node.next = node\n } else {\n // Add to the front of the list\n const tail = head.prev\n node.prev = tail\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n tail.next = node\n }\n node.next = head\n head.prev = node\n }\n head = node\n}\n\nexport function updateLruSize(node: UnknownMapEntry, newNodeSize: number) {\n // This is a separate function from `put` so that we can resize the entry\n // regardless of whether it's currently being tracked by the LRU.\n const prevNodeSize = node.size\n node.size = newNodeSize\n if (node.next === null) {\n // This entry is not currently being tracked by the LRU.\n return\n }\n // Update the total LRU size\n lruSize = lruSize - prevNodeSize + newNodeSize\n ensureCleanupIsScheduled()\n}\n\nexport function deleteFromLru(deleted: UnknownMapEntry) {\n const next = deleted.next\n const prev = deleted.prev\n if (next !== null && prev !== null) {\n lruSize -= deleted.size\n\n deleted.next = null\n deleted.prev = null\n\n // Remove from the list\n if (head === deleted) {\n // Update the head\n if (next === head) {\n // This was the last entry\n head = null\n } else {\n head = next\n prev.next = next\n next.prev = prev\n }\n } else {\n prev.next = next\n next.prev = prev\n }\n } else {\n // Already deleted\n }\n}\n\nfunction ensureCleanupIsScheduled() {\n if (lruSize <= maxLruSize) {\n return\n }\n\n // To schedule cleanup, ping the prefetch scheduler. At the end of its work\n // loop, once there are no queued tasks and no in-progress requests, it will\n // call cleanup().\n pingPrefetchScheduler()\n}\n\nexport function cleanup() {\n if (lruSize <= maxLruSize) {\n return\n }\n\n // Evict entries until we're at 90% capacity. We can assume this won't\n // infinite loop because even if `maxLruSize` were 0, eventually\n // `deleteFromLru` sets `head` to `null` when we run out entries.\n const ninetyPercentMax = maxLruSize * 0.9\n while (lruSize > ninetyPercentMax && head !== null) {\n const tail = head.prev\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n // Delete the entry from the map. In turn, this will remove it from\n // the LRU.\n deleteMapEntry(tail)\n }\n }\n}\n","import type { VaryPath } from './vary-path'\nimport { lruPut, updateLruSize, deleteFromLru } from './lru'\n\n/**\n * A specialized data type for storing multi-key cache entries.\n *\n * The basic structure is a map whose keys are tuples, called the keypath.\n * When querying the cache, keypaths are compared per-element.\n *\n * Example:\n * set(map, ['https://localhost', 'foo/bar/baz'], 'yay');\n * get(map, ['https://localhost', 'foo/bar/baz']) -> 'yay'\n *\n * NOTE: Array syntax is used in these examples for illustration purposes, but\n * in reality the paths are lists.\n * \n * The parts of the keypath represent the different inputs that contribute\n * to the entry value. To illustrate, if you were to use this data type to store\n * HTTP responses, the keypath would include the URL and everything listed by\n * the Vary header.\n * \n * See vary-path.ts for more details.\n *\n * The order of elements in a keypath must be consistent between lookups to\n * be considered the same, but besides that, the order of the keys is not\n * semantically meaningful.\n *\n * Keypaths may include a special kind of key called Fallback. When an entry is\n * stored with Fallback as part of its keypath, it means that the entry does not\n * vary by that key. When querying the cache, if an exact match is not found for\n * a keypath, the cache will check for a Fallback match instead. Each element of\n * the keypath may have a Fallback, so retrieval is an O(n ^ 2) operation, but\n * it's expected that keypaths are relatively short.\n *\n * Example:\n * set(cacheMap, ['store', 'product', 1], PRODUCT_PAGE_1);\n * set(cacheMap, ['store', 'product', Fallback], GENERIC_PRODUCT_PAGE);\n *\n * // Exact match\n * get(cacheMap, ['store', 'product', 1]) -> PRODUCT_PAGE_1\n *\n * // Fallback match\n * get(cacheMap, ['store', 'product', 2]) -> GENERIC_PRODUCT_PAGE\n *\n * Because we have the Fallback mechanism, we can impose a constraint that\n * regular JS maps do not have: a value cannot be stored at multiple keypaths\n * simultaneously. These cases should be expressed with Fallback keys instead.\n *\n * Additionally, because values only exist at a single keypath at a time, we\n * can optimize successive lookups by caching the internal map entry on the\n * value itself, using the `ref` field. This is especially useful because it\n * lets us skip the O(n ^ 2) lookup that occurs when Fallback entries\n * are present.\n *\n\n * How to decide if stuff belongs in here, or in cache.ts?\n * -------------------------------------------------------\n * \n * Anything to do with retrival, lifetimes, or eviction needs to go in this\n * module because it affects the fallback algorithm. For example, when\n * performing a lookup, if an entry is stale, it needs to be treated as\n * semantically equivalent to if the entry was not present at all.\n * \n * If there's logic that's not related to the fallback algorithm, though, we\n * should prefer to put it in cache.ts.\n */\n\n// The protocol that values must implement. In practice, the only two types that\n// we ever actually deal with in this module are RouteCacheEntry and\n// SegmentCacheEntry; this is just to keep track of the coupling so we don't\n// leak concerns between the modules unnecessarily.\nexport interface MapValue {\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Represents a node in the cache map and LRU.\n * MapEntry structurally satisfies this interface for any V extends MapValue.\n *\n * The LRU can contain entries of different value types\n * (e.g., both RouteCacheEntry and SegmentCacheEntry). This interface captures\n * the common structure needed for cache map and LRU operations without\n * requiring knowledge of the specific value type.\n */\nexport interface MapEntry {\n // Cache map structure fields\n parent: MapEntry | null\n key: unknown\n map: Map> | null\n value: V | null\n\n // LRU linked list fields\n prev: MapEntry | null\n next: MapEntry | null\n size: number\n}\n\n/**\n * A looser type for MapEntry\n * This allows the LRU to work with entries of different\n * value types while still providing type safety.\n *\n * The `map` field lets Map> be assignable to this\n * type since we're only reading from the map, not inserting into it.\n */\nexport type UnknownMapEntry = {\n parent: UnknownMapEntry | null\n key: unknown\n map: Pick, 'get' | 'delete' | 'size'> | null\n value: MapValue | null\n\n prev: UnknownMapEntry | null\n next: UnknownMapEntry | null\n size: number\n}\n\n// The CacheMap type is just the root entry of the map.\nexport type CacheMap = MapEntry\n\nexport type FallbackType = { __brand: 'Fallback' }\nexport const Fallback = {} as FallbackType\n\n// This is a special internal key that is used for \"revalidation\" entries. It's\n// an implementation detail that shouldn't leak outside of this module.\nconst Revalidation = {}\n\nexport function createCacheMap(): CacheMap {\n const cacheMap: MapEntry = {\n parent: null,\n key: null,\n value: null,\n map: null,\n\n // LRU-related fields\n prev: null,\n next: null,\n size: 0,\n }\n return cacheMap\n}\n\nfunction getOrInitialize(\n cacheMap: CacheMap,\n keys: VaryPath,\n isRevalidation: boolean\n): MapEntry {\n // Go through each level of keys until we find the entry that matches, or\n // create a new entry if one doesn't exist.\n //\n // This function will only return entries that match the keypath _exactly_.\n // Unlike getWithFallback, it will not access fallback entries unless it's\n // explicitly part of the keypath.\n let entry = cacheMap\n let remainingKeys: VaryPath | null = keys\n let key: unknown | null = null\n while (true) {\n const previousKey = key\n if (remainingKeys !== null) {\n key = remainingKeys.value\n remainingKeys = remainingKeys.parent\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath. The \"normal\" entry is its parent.\n\n // However, if the parent entry is currently empty, we don't need to store\n // this as a revalidation entry. Just insert the revalidation into the\n // normal slot.\n if (entry.value === null) {\n return entry\n }\n\n // Otheriwse, create a child entry.\n key = Revalidation\n } else {\n // There are no more keys. This is the terminal entry.\n break\n }\n\n let map = entry.map\n if (map !== null) {\n const existingEntry = map.get(key)\n if (existingEntry !== undefined) {\n // Found a match. Keep going.\n entry = existingEntry\n continue\n }\n } else {\n map = new Map()\n entry.map = map\n }\n // No entry exists yet at this level. Create a new one.\n const newEntry: MapEntry = {\n parent: entry,\n key,\n value: null,\n map: null,\n\n // LRU-related fields\n prev: null,\n next: null,\n size: 0,\n }\n map.set(key, newEntry)\n entry = newEntry\n }\n\n return entry\n}\n\nexport function getFromCacheMap(\n now: number,\n currentCacheVersion: number,\n rootEntry: CacheMap,\n keys: VaryPath,\n isRevalidation: boolean\n): V | null {\n const entry = getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n rootEntry,\n keys,\n isRevalidation,\n 0\n )\n if (entry === null || entry.value === null) {\n return null\n }\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry)\n return entry.value\n}\n\nexport function isValueExpired(\n now: number,\n currentCacheVersion: number,\n value: MapValue\n): boolean {\n return value.staleAt <= now || value.version < currentCacheVersion\n}\n\nfunction lazilyEvictIfNeeded(\n now: number,\n currentCacheVersion: number,\n entry: MapEntry\n) {\n // We have a matching entry, but before we can return it, we need to check if\n // it's still fresh. Otherwise it should be treated the same as a cache miss.\n\n if (entry.value === null) {\n // This entry has no value, so there's nothing to evict.\n return entry\n }\n\n const value = entry.value\n if (isValueExpired(now, currentCacheVersion, value)) {\n // The value expired. Lazily evict it from the cache, and return null. This\n // is conceptually the same as a cache miss.\n deleteMapEntry(entry)\n return null\n }\n\n // The matched entry has not expired. Return it.\n return entry\n}\n\nfunction getEntryWithFallbackImpl(\n now: number,\n currentCacheVersion: number,\n entry: MapEntry,\n keys: VaryPath | null,\n isRevalidation: boolean,\n previousKey: unknown | null\n): MapEntry | null {\n // This is similar to getExactEntry, but if an exact match is not found for\n // a key, it will return the fallback entry instead. This is recursive at\n // every level, e.g. an entry with keypath [a, Fallback, c, Fallback] is\n // valid match for [a, b, c, d].\n //\n // It will return the most specific match available.\n let key\n let remainingKeys: VaryPath | null\n if (keys !== null) {\n key = keys.value\n remainingKeys = keys.parent\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath.\n key = Revalidation\n remainingKeys = null\n } else {\n // There are no more keys. This is the terminal entry.\n\n // TODO: When performing a lookup during a navigation, as opposed to a\n // prefetch, we may want to skip entries that are Pending if there's also\n // a Fulfilled fallback entry. Tricky to say, though, since if it's\n // already pending, it's likely to stream in soon. Maybe we could do this\n // just on slow connections and offline mode.\n\n return lazilyEvictIfNeeded(now, currentCacheVersion, entry)\n }\n const map = entry.map\n if (map !== null) {\n const existingEntry = map.get(key)\n if (existingEntry !== undefined) {\n // Found an exact match for this key. Keep searching.\n const result = getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n existingEntry,\n remainingKeys,\n isRevalidation,\n key\n )\n if (result !== null) {\n return result\n }\n }\n // No match found for this key. Check if there's a fallback.\n const fallbackEntry = map.get(Fallback)\n if (fallbackEntry !== undefined) {\n // Found a fallback for this key. Keep searching.\n return getEntryWithFallbackImpl(\n now,\n currentCacheVersion,\n fallbackEntry,\n remainingKeys,\n isRevalidation,\n key\n )\n }\n }\n return null\n}\n\nexport function setInCacheMap(\n cacheMap: CacheMap,\n keys: VaryPath,\n value: V,\n isRevalidation: boolean\n): void {\n // Add a value to the map at the given keypath. If the value is already\n // part of the map, it's removed from its previous keypath. (NOTE: This is\n // unlike a regular JS map, but the behavior is intentional.)\n const entry = getOrInitialize(cacheMap, keys, isRevalidation)\n setMapEntryValue(entry, value)\n\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry)\n updateLruSize(entry, value.size)\n}\n\nfunction setMapEntryValue(entry: UnknownMapEntry, value: MapValue): void {\n if (entry.value !== null) {\n // There's already a value at the given keypath. Disconnect the old value\n // from the map. We're not calling `deleteMapEntry` here because the\n // entry itself is still in the map. We just want to overwrite its value.\n dropRef(entry.value)\n entry.value = null\n }\n\n // This value may already be in the map at a different keypath.\n // Grab a reference before we overwrite it.\n const oldEntry = value.ref\n\n entry.value = value\n value.ref = entry\n\n updateLruSize(entry, value.size)\n\n if (oldEntry !== null && oldEntry !== entry && oldEntry.value === value) {\n // This value is already in the map at a different keypath in the map.\n // Values only exist at a single keypath at a time. Remove it from the\n // previous keypath.\n //\n // Note that only the internal map entry is garbage collected; we don't\n // call `dropRef` here because it's still in the map, just\n // at a new keypath (the one we just set, above).\n deleteMapEntry(oldEntry)\n }\n}\n\nexport function deleteFromCacheMap(value: MapValue): void {\n const entry = value.ref\n if (entry === null) {\n // This value is not a member of any map.\n return\n }\n\n dropRef(value)\n deleteMapEntry(entry)\n}\n\nfunction dropRef(value: MapValue): void {\n // Drop the value from the map by setting its `ref` backpointer to\n // null. This is a separate operation from `deleteMapEntry` because when\n // re-keying a value we need to be able to delete the old, internal map\n // entry without garbage collecting the value itself.\n value.ref = null\n}\n\nexport function deleteMapEntry(entry: UnknownMapEntry): void {\n // Delete the entry from the cache.\n entry.value = null\n\n deleteFromLru(entry)\n\n // Check if we can garbage collect the entry.\n const map = entry.map\n if (map === null) {\n // Since this entry has no value, and also no child entries, we can\n // garbage collect it. Remove it from its parent, and keep garbage\n // collecting the parents until we reach a non-empty entry.\n let parent = entry.parent\n let key = entry.key\n while (parent !== null) {\n const parentMap = parent.map\n if (parentMap !== null) {\n parentMap.delete(key)\n if (parentMap.size === 0) {\n // We just removed the last entry in the parent map.\n parent.map = null\n if (parent.value === null) {\n // The parent node has no child entries, nor does it have a value\n // on itself. It can be garbage collected. Keep going.\n key = parent.key\n parent = parent.parent\n continue\n }\n }\n }\n // The parent is not empty. Stop garbage collecting.\n break\n }\n } else {\n // Check if there's a revalidating entry. If so, promote it to a\n // \"normal\" entry, since the normal one was just deleted.\n const revalidatingEntry = map.get(Revalidation)\n if (revalidatingEntry !== undefined && revalidatingEntry.value !== null) {\n setMapEntryValue(entry, revalidatingEntry.value)\n }\n }\n}\n\nexport function setSizeInCacheMap(\n value: V,\n size: number\n): void {\n const entry = value.ref\n if (entry === null) {\n // This value is not a member of any map.\n return\n }\n // Except during initialization (when the size is set to 0), this is the only\n // place the `size` field should be updated, to ensure it's in sync with the\n // the LRU.\n value.size = size\n updateLruSize(entry, size)\n}\n","import { FetchStrategy } from './types'\nimport type {\n NormalizedPathname,\n NormalizedSearch,\n NormalizedNextUrl,\n} from './cache-key'\nimport type { RouteTree } from './cache'\nimport { Fallback, type FallbackType } from './cache-map'\nimport { HEAD_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding'\n\ntype Opaque = T & { __brand: K }\n\n/**\n * A linked-list of all the params (or other param-like) inputs that a cache\n * entry may vary by. This is used by the CacheMap module to reuse cache entries\n * across different param values. If a param has a value of Fallback, it means\n * the cache entry is reusable for all possible values of that param. See\n * cache-map.ts for details.\n *\n * A segment's vary path is a pure function of a segment's position in a\n * particular route tree and the (post-rewrite) URL that is being queried. More\n * concretely, successive queries of the cache for the same segment always use\n * the same vary path.\n *\n * A route's vary path is simpler: it's comprised of the pathname, search\n * string, and Next-URL header.\n */\nexport type VaryPath = {\n /**\n * Identifies which param this vary path node corresponds to. Used by\n * getFulfilledSegmentVaryPath to determine which params to replace with\n * Fallback based on the varyParams set from the server.\n *\n * - For path params: the param name (e.g., 'slug')\n * - For search params: '?'\n * - For non-param nodes (request keys, etc.): null\n */\n id: string | null\n value: string | null | FallbackType\n parent: VaryPath | null\n}\n\n// Because it's so important for vary paths to line up across cache accesses,\n// we use opaque type aliases to ensure these are only created within\n// this module.\n\n// requestKey -> searchParams -> nextUrl\nexport type RouteVaryPath = Opaque<\n {\n id: null\n value: NormalizedPathname\n parent: {\n id: '?'\n value: NormalizedSearch\n parent: {\n id: null\n value: NormalizedNextUrl | null | FallbackType\n parent: null\n }\n }\n },\n 'RouteVaryPath'\n>\n\n// requestKey -> pathParams\nexport type LayoutVaryPath = Opaque<\n {\n id: null\n value: string\n parent: PartialSegmentVaryPath | null\n },\n 'LayoutVaryPath'\n>\n\n// requestKey -> searchParams -> pathParams\nexport type PageVaryPath = Opaque<\n {\n id: null\n value: string\n parent: {\n id: '?'\n value: NormalizedSearch | FallbackType\n parent: PartialSegmentVaryPath | null\n }\n },\n 'PageVaryPath'\n>\n\nexport type SegmentVaryPath = LayoutVaryPath | PageVaryPath\n\n// Intermediate type used when building a vary path during a recursive traversal\n// of the route tree.\nexport type PartialSegmentVaryPath = Opaque\n\nexport function getRouteVaryPath(\n pathname: NormalizedPathname,\n search: NormalizedSearch,\n nextUrl: NormalizedNextUrl | null\n): RouteVaryPath {\n // requestKey -> searchParams -> nextUrl\n const varyPath: VaryPath = {\n id: null,\n value: pathname,\n parent: {\n id: '?',\n value: search,\n parent: {\n id: null,\n value: nextUrl,\n parent: null,\n },\n },\n }\n return varyPath as RouteVaryPath\n}\n\nexport function getFulfilledRouteVaryPath(\n pathname: NormalizedPathname,\n search: NormalizedSearch,\n nextUrl: NormalizedNextUrl | null,\n couldBeIntercepted: boolean\n): RouteVaryPath {\n // This is called when a route's data is fulfilled. The cache entry will be\n // re-keyed based on which inputs the response varies by.\n // requestKey -> searchParams -> nextUrl\n const varyPath: VaryPath = {\n id: null,\n value: pathname,\n parent: {\n id: '?',\n value: search,\n parent: {\n id: null,\n value: couldBeIntercepted ? nextUrl : Fallback,\n parent: null,\n },\n },\n }\n return varyPath as RouteVaryPath\n}\n\nexport function appendLayoutVaryPath(\n parentPath: PartialSegmentVaryPath | null,\n cacheKey: string,\n paramName: string\n): PartialSegmentVaryPath {\n const varyPathPart: VaryPath = {\n id: paramName,\n value: cacheKey,\n parent: parentPath,\n }\n return varyPathPart as PartialSegmentVaryPath\n}\n\nexport function finalizeLayoutVaryPath(\n requestKey: string,\n varyPath: PartialSegmentVaryPath | null\n): LayoutVaryPath {\n const layoutVaryPath: VaryPath = {\n id: null,\n value: requestKey,\n parent: varyPath,\n }\n return layoutVaryPath as LayoutVaryPath\n}\n\nexport function getPartialLayoutVaryPath(\n finalizedVaryPath: LayoutVaryPath\n): PartialSegmentVaryPath | null {\n // This is the inverse of finalizeLayoutVaryPath.\n return finalizedVaryPath.parent\n}\n\nexport function finalizePageVaryPath(\n requestKey: string,\n renderedSearch: NormalizedSearch,\n varyPath: PartialSegmentVaryPath | null\n): PageVaryPath {\n // Unlike layouts, a page segment's vary path also includes the search string.\n // requestKey -> searchParams -> pathParams\n const pageVaryPath: VaryPath = {\n id: null,\n value: requestKey,\n parent: {\n id: '?',\n value: renderedSearch,\n parent: varyPath,\n },\n }\n return pageVaryPath as PageVaryPath\n}\n\nexport function getPartialPageVaryPath(\n finalizedVaryPath: PageVaryPath\n): PartialSegmentVaryPath | null {\n // This is the inverse of finalizePageVaryPath.\n return finalizedVaryPath.parent.parent\n}\n\nexport function finalizeMetadataVaryPath(\n pageRequestKey: string,\n renderedSearch: NormalizedSearch,\n varyPath: PartialSegmentVaryPath | null\n): PageVaryPath {\n // The metadata \"segment\" is not a real segment because it doesn't exist in\n // the normal structure of the route tree, but in terms of caching, it\n // behaves like a page segment because it varies by all the same params as\n // a page.\n //\n // To keep the protocol for querying the server simple, the request key for\n // the metadata does not include any path information. It's unnecessary from\n // the server's perspective, because unlike page segments, there's only one\n // metadata response per URL, i.e. there's no need to distinguish multiple\n // parallel pages.\n //\n // However, this means the metadata request key is insufficient for\n // caching the the metadata in the client cache, because on the client we\n // use the request key to distinguish the metadata entry from all other\n // page's metadata entries.\n //\n // So instead we create a simulated request key based on the page segment.\n // Conceptually this is equivalent to the request key the server would have\n // assigned the metadata segment if it treated it as part of the actual\n // route structure.\n\n // If there are multiple parallel pages, we use whichever is the first one.\n // This is fine because the only difference between request keys for\n // different parallel pages are things like route groups and parallel\n // route slots. As long as it's always the same one, it doesn't matter.\n const pageVaryPath: VaryPath = {\n id: null,\n // Append the actual metadata request key to the page request key. Note\n // that we're not using a separate vary path part; it's unnecessary because\n // these are not conceptually separate inputs.\n value: pageRequestKey + HEAD_REQUEST_KEY,\n parent: {\n id: '?',\n value: renderedSearch,\n parent: varyPath,\n },\n }\n return pageVaryPath as PageVaryPath\n}\n\nexport function getSegmentVaryPathForRequest(\n fetchStrategy: FetchStrategy,\n tree: RouteTree\n): SegmentVaryPath {\n // This is used for storing pending requests in the cache. We want to choose\n // the most generic vary path based on the strategy used to fetch it, i.e.\n // static/PPR versus runtime prefetching, so that it can be reused as much\n // as possible.\n //\n // We may be able to re-key the response to something even more generic once\n // we receive it — for example, if the server tells us that the response\n // doesn't vary on a particular param — but even before we send the request,\n // we know some params are reusable based on the fetch strategy alone. For\n // example, a static prefetch will never vary on search params.\n //\n // The original vary path with all the params filled in is stored on the\n // route tree object. We will clone this one to create a new vary path\n // where certain params are replaced with Fallback.\n //\n // This result of this function is not stored anywhere. It's only used to\n // access the cache a single time.\n //\n // TODO: Rather than create a new list object just to access the cache, the\n // plan is to add the concept of a \"vary mask\". This will represent all the\n // params that can be treated as Fallback. (Or perhaps the inverse.)\n const originalVaryPath = tree.varyPath\n\n // Only page segments (and the special \"metadata\" segment, which is treated\n // like a page segment for the purposes of caching) may contain search\n // params. There's no reason to include them in the vary path otherwise.\n if (tree.isPage) {\n // Only a runtime prefetch will include search params in the vary path.\n // Static prefetches never include search params, so they can be reused\n // across all possible search param values.\n const doesVaryOnSearchParams =\n fetchStrategy === FetchStrategy.Full ||\n fetchStrategy === FetchStrategy.PPRRuntime\n\n if (!doesVaryOnSearchParams) {\n // The response from the the server will not vary on search params. Clone\n // the end of the original vary path to replace the search params\n // with Fallback.\n //\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with Fallback\n const searchParamsVaryPath = (originalVaryPath as PageVaryPath).parent\n const pathParamsVaryPath = searchParamsVaryPath.parent\n const patchedVaryPath: VaryPath = {\n id: null,\n value: originalVaryPath.value,\n parent: {\n id: '?',\n value: Fallback,\n parent: pathParamsVaryPath,\n },\n }\n return patchedVaryPath as SegmentVaryPath\n }\n }\n\n // The request does vary on search params. We don't need to modify anything.\n return originalVaryPath as SegmentVaryPath\n}\n\nexport function clonePageVaryPathWithNewSearchParams(\n originalVaryPath: PageVaryPath,\n newSearch: NormalizedSearch\n): PageVaryPath {\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with newSearch\n const searchParamsVaryPath = originalVaryPath.parent\n const clonedVaryPath: VaryPath = {\n id: null,\n value: originalVaryPath.value,\n parent: {\n id: '?',\n value: newSearch,\n parent: searchParamsVaryPath.parent,\n },\n }\n return clonedVaryPath as PageVaryPath\n}\n\nexport function getRenderedSearchFromVaryPath(\n varyPath: PageVaryPath\n): NormalizedSearch | null {\n const searchParams = varyPath.parent.value\n return typeof searchParams === 'string'\n ? (searchParams as NormalizedSearch)\n : null\n}\n\nexport function getFulfilledSegmentVaryPath(\n original: VaryPath,\n varyParams: Set\n): SegmentVaryPath {\n // Re-keys a segment's vary path based on which params the segment actually\n // depends on. Params that are NOT in the varyParams set are replaced with\n // Fallback, allowing the cache entry to be reused across different values of\n // those params.\n\n // This is called when a segment is fulfilled with data from the server. The\n // varyParams set comes from the server and indicates which params were\n // accessed during rendering.\n const clone: VaryPath = {\n id: original.id,\n // If the id is null, this node is not a param (e.g., it's a request key).\n // If the id is in the varyParams set, keep the original value.\n // Otherwise, replace with Fallback to make it reusable.\n value:\n original.id === null || varyParams.has(original.id)\n ? original.value\n : Fallback,\n parent:\n original.parent === null\n ? null\n : getFulfilledSegmentVaryPath(original.parent, varyParams),\n }\n return clone as SegmentVaryPath\n}\n","/**\n * Optimistic Routing (Known Routes)\n *\n * This module enables the client to predict route structure for URLs that\n * haven't been prefetched yet, based on previously learned route patterns.\n * When successful, this allows skipping the route tree prefetch request\n * entirely.\n *\n * The core idea is that many URLs map to the same route structure. For example,\n * /blog/post-1 and /blog/post-2 both resolve to /blog/[slug]. Once we've\n * prefetched one, we can predict the structure of the other.\n *\n * However, we can't always make this prediction. Static siblings (like\n * /blog/featured alongside /blog/[slug]) have different route structures.\n * When we learn a dynamic route, we also learn its static siblings so we\n * know when NOT to apply the prediction.\n *\n * Main entry points:\n *\n * 1. discoverKnownRoute: Called after receiving a route tree from the server.\n * Traverses the route tree, compares URL parts to segments, and populates\n * the known route tree if they match. Routes are always inserted into the\n * cache.\n *\n * 2. matchKnownRoute: Called when looking up a route with no cache entry.\n * Matches the candidate URL against learned patterns. Returns a synthetic\n * cache entry if successful, or null to fall back to server resolution.\n *\n * Rewrite detection happens during traversal: if a URL path part doesn't match\n * the corresponding route segment, we stop populating the known route tree\n * (since the mapping is incorrect) but still insert the route into the cache.\n *\n * The known route tree is append-only with no eviction. Route patterns are\n * derived from the filesystem, so they don't become stale within a session.\n * Cache invalidation on deploy clears everything anyway.\n *\n * Current limitations (deopt to server resolution):\n * - Rewrites: Detected during traversal (tree not populated, but route cached)\n * - Intercepted routes: The route tree varies by referrer (Next-Url header),\n * so we can't predict the correct structure from the URL alone. Patterns are\n * still stored during discovery (so the trie stays populated for non-\n * intercepted siblings), but matching bails out when the pattern is marked\n * as interceptable.\n */\n\nimport type { DynamicParamTypesShort } from '../../../shared/lib/app-router-types'\nimport type { RouteTree, FulfilledRouteCacheEntry } from './cache'\nimport {\n EntryStatus,\n writeRouteIntoCache,\n fulfillRouteCacheEntry,\n type PendingRouteCacheEntry,\n createMetadataRouteTree,\n} from './cache'\nimport { doesStaticSegmentAppearInURL } from '../../route-params'\nimport type { NormalizedPathname, NormalizedSearch } from './cache-key'\nimport {\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n finalizeMetadataVaryPath,\n type PartialSegmentVaryPath,\n type PageVaryPath,\n} from './vary-path'\n\n/**\n * The known route tree is analogous to a route table. A different routing\n * implementation might use regexes or URLPattern; ours uses a trie indexed\n * by URL path segments.\n *\n * Each node (KnownRoutePart) represents a position in the URL and can have:\n * - staticChildren: Map of literal segments to child nodes\n * - dynamicChild: A single dynamic segment node ([slug], [...params], etc.)\n * - pattern: A cache entry template for routes that terminate here\n *\n * This tree only contains segments that correspond to actual filesystem routes.\n * Route groups like (marketing) and parallel routes like @modal are not\n * included since they don't appear in URLs. Similarly, if a URL is rewritten\n * to a different filesystem path, the original URL segments don't appear here\n * — only the resolved filesystem route structure is stored.\n *\n * Example tree after learning /blog/[slug], /blog/featured, and /about:\n *\n * ├── about\n * └── blog\n * ├── featured\n * └── [slug]\n *\n * When matching /blog/hello:\n * 1. \"blog\" matches static child\n * 2. \"hello\" doesn't match \"featured\", falls through to [slug]\n * 3. Returns [slug]'s pattern with resolved param { slug: \"hello\" }\n */\ntype KnownRoutePartBase = {\n // Known static paths at this level. The null vs Map distinction is\n // semantically meaningful:\n // - null: Static siblings are UNKNOWN at this level (e.g., webpack dev mode\n // where routes are compiled on-demand). If there's a dynamicChild, we\n // can't safely match it because the URL might be an unknown static sibling.\n // - Map (even if empty): Static siblings are KNOWN. We can safely match a\n // dynamicChild if the URL doesn't match any entry in the Map.\n staticChildren: Map | null\n\n // The cache entry that serves as a pattern for this route.\n // When a URL matches, we clone this and substitute param values.\n // null means we know this path exists (from static siblings) but haven't\n // learned its structure yet.\n pattern: FulfilledRouteCacheEntry | null\n\n // TODO: For prefix rewrite support. When true, this part may not appear in\n // the candidate URL because it was injected by a rewrite.\n // mayBeSkippedInURL: boolean\n}\n\n// The dynamic child fields are structured as a union so that narrowing on\n// dynamicChild also narrows dynamicChildParamName and dynamicChildParamType.\ntype KnownRoutePartWithoutDynamicChild = KnownRoutePartBase & {\n dynamicChild: null\n dynamicChildParamName: null\n dynamicChildParamType: null\n}\n\ntype KnownRoutePartWithDynamicChild = KnownRoutePartBase & {\n dynamicChild: KnownRoutePart\n dynamicChildParamName: string\n dynamicChildParamType: DynamicParamTypesShort\n}\n\ntype KnownRoutePart =\n | KnownRoutePartWithoutDynamicChild\n | KnownRoutePartWithDynamicChild\n\n/**\n * Param values extracted during URL matching. Used to reify the template.\n * - string for regular dynamic [param]\n * - string[] for catch-all [...param] and optional catch-all [[...param]]\n */\ntype ResolvedParams = Map\n\nfunction createEmptyPart(): KnownRoutePart {\n return {\n staticChildren: null,\n dynamicChild: null,\n dynamicChildParamName: null,\n dynamicChildParamType: null,\n pattern: null,\n }\n}\n\n// The root of the known route tree.\nlet knownRouteTreeRoot: KnownRoutePart = createEmptyPart()\n\n/**\n * Learns a route pattern from a server response and inserts it into the cache.\n *\n * Called after receiving a route tree from the server (initial load, navigation,\n * or prefetch). Traverses the route tree, compares URL parts to segments, and\n * populates the known route tree if they match. Routes are always inserted into\n * the cache regardless of whether the URL matches the route structure.\n *\n * When pendingEntry is provided, it's fulfilled and used. When null, an entry\n * is created and inserted into the route cache map.\n *\n * When hasDynamicRewrite is true, the route entry is marked as having a\n * dynamic rewrite, which prevents it from being used as a template for future\n * predictions. This is set when we detect a mismatch between what we predicted\n * and what the server returned.\n *\n * Returns the fulfilled route cache entry.\n */\nexport function discoverKnownRoute(\n now: number,\n pathname: string,\n nextUrl: string | null,\n pendingEntry: PendingRouteCacheEntry | null,\n routeTree: RouteTree,\n metadataVaryPath: PageVaryPath,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n supportsPerSegmentPrefetching: boolean,\n hasDynamicRewrite: boolean\n): FulfilledRouteCacheEntry {\n const tree = routeTree\n\n const pathnameParts = pathname.split('/').filter((p) => p !== '')\n const firstPart = pathnameParts.length > 0 ? pathnameParts[0] : null\n const remainingParts = pathnameParts.length > 0 ? pathnameParts.slice(1) : []\n\n if (pendingEntry !== null) {\n // Fulfill the pending entry first\n const fulfilledEntry = fulfillRouteCacheEntry(\n now,\n pendingEntry,\n tree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching\n )\n if (hasDynamicRewrite) {\n fulfilledEntry.hasDynamicRewrite = true\n }\n // Populate the known route tree (handles rewrite detection internally).\n // The entry is already in the cache; this just stores it as a pattern\n // if the URL matches the route structure.\n discoverKnownRoutePart(\n knownRouteTreeRoot,\n tree,\n firstPart,\n remainingParts,\n fulfilledEntry,\n now,\n pathname,\n nextUrl,\n tree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching,\n hasDynamicRewrite\n )\n return fulfilledEntry\n }\n\n // No pending entry - discoverKnownRoutePart will create one and insert it\n // into the cache, or return an existing pattern if one exists.\n return discoverKnownRoutePart(\n knownRouteTreeRoot,\n tree,\n firstPart,\n remainingParts,\n null,\n now,\n pathname,\n nextUrl,\n tree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching,\n hasDynamicRewrite\n )\n}\n\n/**\n * Gets or creates the dynamic child node for a KnownRoutePart.\n * A node can have at most one dynamic child (you can't have both [slug] and\n * [id] at the same route level), so we either return existing or create new.\n */\nfunction discoverDynamicChild(\n part: KnownRoutePart,\n paramName: string,\n paramType: DynamicParamTypesShort\n): KnownRoutePart {\n if (part.dynamicChild !== null) {\n return part.dynamicChild\n }\n const newChild = createEmptyPart()\n // Type assertion needed because we're converting from \"without\" to \"with\"\n // dynamic child variant.\n const mutablePart = part as unknown as KnownRoutePartWithDynamicChild\n mutablePart.dynamicChild = newChild\n mutablePart.dynamicChildParamName = paramName\n mutablePart.dynamicChildParamType = paramType\n return newChild\n}\n\n/**\n * Recursive workhorse for discoverKnownRoute.\n *\n * Walks the route tree and URL parts in parallel, building out the known\n * route tree as it goes. At each step:\n * 1. Determines if the current segment appears in the URL (dynamic/static)\n * 2. Validates URL matches route structure (detects rewrites)\n * 3. Creates/updates the corresponding KnownRoutePart node\n * 4. Records static siblings for future matching\n * 5. Recurses into child slots (parallel routes)\n *\n * If a URL/route mismatch is detected (rewrite), we stop building the known\n * route tree but still cache the route entry for direct lookup.\n */\nfunction discoverKnownRoutePart(\n parentKnownRoutePart: KnownRoutePart,\n routeTree: RouteTree,\n urlPart: string | null,\n remainingParts: string[],\n existingEntry: FulfilledRouteCacheEntry | null,\n // These are passed through unchanged for entry creation at the leaf\n now: number,\n pathname: string,\n nextUrl: string | null,\n fullTree: RouteTree,\n metadataVaryPath: PageVaryPath,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n supportsPerSegmentPrefetching: boolean,\n hasDynamicRewrite: boolean\n): FulfilledRouteCacheEntry {\n const segment = routeTree.segment\n\n let segmentAppearsInURL: boolean\n let paramName: string | null = null\n let paramType: DynamicParamTypesShort | null = null\n let staticSiblings: readonly string[] | null = null\n\n if (typeof segment === 'string') {\n segmentAppearsInURL = doesStaticSegmentAppearInURL(segment)\n } else {\n // Dynamic segment tuple: [paramName, paramCacheKey, paramType, staticSiblings]\n paramName = segment[0]\n paramType = segment[2]\n staticSiblings = segment[3]\n segmentAppearsInURL = true\n }\n\n let knownRoutePart: KnownRoutePart = parentKnownRoutePart\n let nextUrlPart: string | null = urlPart\n let nextRemainingParts: string[] = remainingParts\n\n if (segmentAppearsInURL) {\n // Check for mismatch: if this is a static segment, the URL part must match\n if (paramName === null && urlPart !== segment) {\n // URL doesn't match route structure (likely a rewrite).\n // Don't populate the known route tree, just write the route into the\n // cache and return immediately.\n if (existingEntry !== null) {\n return existingEntry\n }\n return writeRouteIntoCache(\n now,\n pathname as NormalizedPathname,\n nextUrl,\n fullTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching\n )\n }\n\n // URL matches route structure. Build the known route tree.\n if (paramName !== null && paramType !== null) {\n // Dynamic segment\n knownRoutePart = discoverDynamicChild(\n parentKnownRoutePart,\n paramName,\n paramType\n )\n\n // Record static siblings as placeholder parts.\n // IMPORTANT: We use the null vs Map distinction to track whether\n // siblings are known at this level:\n // - staticChildren: null = siblings unknown (can't safely match dynamic)\n // - staticChildren: Map = siblings known (even if empty)\n // This matters in dev mode where webpack may not know all siblings yet.\n if (staticSiblings !== null) {\n // Siblings are known - ensure we have a Map (even if empty)\n if (parentKnownRoutePart.staticChildren === null) {\n parentKnownRoutePart.staticChildren = new Map()\n }\n for (const sibling of staticSiblings) {\n if (!parentKnownRoutePart.staticChildren.has(sibling)) {\n parentKnownRoutePart.staticChildren.set(sibling, createEmptyPart())\n }\n }\n }\n } else {\n // Static segment\n if (parentKnownRoutePart.staticChildren === null) {\n parentKnownRoutePart.staticChildren = new Map()\n }\n let existingChild = parentKnownRoutePart.staticChildren.get(urlPart!)\n if (existingChild === undefined) {\n existingChild = createEmptyPart()\n parentKnownRoutePart.staticChildren.set(urlPart!, existingChild)\n }\n knownRoutePart = existingChild\n }\n\n // Advance to next URL part\n nextUrlPart = remainingParts.length > 0 ? remainingParts[0] : null\n nextRemainingParts =\n remainingParts.length > 0 ? remainingParts.slice(1) : []\n }\n // else: Transparent segment (route group, __PAGE__, etc.)\n // Stay at the same known route part, don't advance URL parts\n\n // Recurse into child routes. A route tree can have multiple parallel routes\n // (e.g., @modal alongside children). Each parallel route is a separate\n // branch, but they all share the same URL - we just need to traverse all\n // branches to build out the known route tree.\n const slots = routeTree.slots\n let resultFromChildren: FulfilledRouteCacheEntry | null = null\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childRouteTree = slots[parallelRouteKey]\n // Skip branches with refreshState set - these were reused from a\n // different route (e.g., a \"default\" parallel slot) and don't represent\n // the actual route structure for this URL.\n if (childRouteTree.refreshState !== null) {\n continue\n }\n const result = discoverKnownRoutePart(\n knownRoutePart,\n childRouteTree,\n nextUrlPart,\n nextRemainingParts,\n existingEntry,\n now,\n pathname,\n nextUrl,\n fullTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching,\n hasDynamicRewrite\n )\n // All parallel route branches share the same URL, so they should all\n // reach compatible leaf nodes. We capture any result.\n resultFromChildren = result\n }\n if (resultFromChildren !== null) {\n return resultFromChildren\n }\n // Defensive fallback: no children returned a result. This shouldn't happen\n // for valid route trees, but handle it gracefully.\n if (existingEntry !== null) {\n return existingEntry\n }\n return writeRouteIntoCache(\n now,\n pathname as NormalizedPathname,\n nextUrl,\n fullTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching\n )\n }\n\n // Reached a page node. Create/get the route cache entry and store as a\n // pattern. First, check if there's already a pattern for this route.\n if (knownRoutePart.pattern !== null) {\n // If this route has a dynamic rewrite, mark the existing pattern.\n if (hasDynamicRewrite) {\n knownRoutePart.pattern.hasDynamicRewrite = true\n }\n return knownRoutePart.pattern\n }\n\n // Get or create the entry\n let entry: FulfilledRouteCacheEntry\n if (existingEntry !== null) {\n // Already have a fulfilled entry, use it directly. It's already in the\n // route cache map.\n entry = existingEntry\n } else {\n // Create the entry and insert it into the route cache map.\n entry = writeRouteIntoCache(\n now,\n pathname as NormalizedPathname,\n nextUrl,\n fullTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching\n )\n }\n\n if (hasDynamicRewrite) {\n entry.hasDynamicRewrite = true\n }\n\n // Store as pattern\n knownRoutePart.pattern = entry\n return entry\n}\n\n/**\n * Attempts to match a URL against learned route patterns.\n *\n * Returns a synthetic FulfilledRouteCacheEntry if the URL matches a known\n * pattern, or null if no match is found (fall back to server resolution).\n */\nexport function matchKnownRoute(\n pathname: string,\n search: NormalizedSearch\n): FulfilledRouteCacheEntry | null {\n const pathnameParts = pathname.split('/').filter((p) => p !== '')\n const resolvedParams: ResolvedParams = new Map()\n const match = matchKnownRoutePart(\n knownRouteTreeRoot,\n pathnameParts,\n 0,\n resolvedParams\n )\n\n if (match === null) {\n return null\n }\n\n const matchedPart = match.part\n const pattern = match.pattern\n\n // If the pattern could be intercepted, we can't safely use it for prediction.\n // Interception routes resolve to different route trees depending on the\n // referrer (the Next-Url header), which means the same URL can map to\n // different page components depending on where the navigation originated.\n // Since the known route tree only stores a single pattern per URL shape, we\n // can't distinguish between the intercepted and non-intercepted cases, so we\n // bail out to server resolution.\n //\n // TODO: We could store interception behavior in the known route tree itself\n // (e.g., which segments use interception markers and what they resolve to).\n // With enough information embedded in the trie, we could match interception\n // routes entirely on the client without a server round-trip.\n if (pattern.couldBeIntercepted) {\n return null\n }\n\n // \"Reify\" the pattern: clone the template tree with concrete param values.\n // This substitutes resolved params (e.g., slug: \"hello\") into dynamic\n // segments and recomputes vary paths for correct segment cache keying.\n const acc: ReifyAccumulator = { metadataVaryPath: null }\n const reifiedTree = reifyRouteTree(\n pattern.tree,\n resolvedParams,\n search,\n null, // Start with null partial vary path at the root\n acc\n )\n\n // The metadata tree is a flat page node without the intermediate layout\n // structure. Clone it with the updated metadata vary path collected during\n // the main tree traversal.\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n // This shouldn't be reachable for a valid route tree.\n return null\n }\n const reifiedMetadata = createMetadataRouteTree(metadataVaryPath)\n\n // Create a synthetic (predicted) entry and store it as the new pattern.\n //\n // Why replace the pattern? We intentionally update the pattern with this\n // synthetic entry so that if our prediction was wrong (server returns a\n // different pathname due to dynamic rewrite), the entry gets marked with\n // hasDynamicRewrite. Future predictions for this route will see the flag\n // and bail out to server resolution instead of making the same mistake.\n const syntheticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: pathname + search,\n status: EntryStatus.Fulfilled,\n blockedTasks: null,\n tree: reifiedTree,\n metadata: reifiedMetadata,\n couldBeIntercepted: pattern.couldBeIntercepted,\n supportsPerSegmentPrefetching: pattern.supportsPerSegmentPrefetching,\n hasDynamicRewrite: false,\n renderedSearch: search,\n ref: null,\n size: pattern.size,\n staleAt: pattern.staleAt,\n version: pattern.version,\n }\n\n matchedPart.pattern = syntheticEntry\n\n return syntheticEntry\n}\n\n/**\n * Result of a successful match: the matched tree node and its pattern.\n * We return both because the caller needs to update the pattern after\n * creating a synthetic entry (for dynamic rewrite detection).\n */\ntype KnownRouteMatch = {\n part: KnownRoutePart\n pattern: FulfilledRouteCacheEntry\n} | null\n\n/**\n * Recursively matches a URL against the known route tree.\n *\n * Matching priority (most specific first):\n * 1. Static children - exact path segment match\n * 2. Dynamic child - [param], [...param], [[...param]]\n * 3. Direct pattern - when no more URL parts remain\n *\n * Collects resolved param values in resolvedParams as it traverses.\n * Returns null if no match found (caller should fall back to server).\n */\nfunction matchKnownRoutePart(\n part: KnownRoutePart,\n pathnameParts: string[],\n partIndex: number,\n resolvedParams: ResolvedParams\n): KnownRouteMatch {\n const urlPart =\n partIndex < pathnameParts.length ? pathnameParts[partIndex] : null\n\n // If staticChildren is null, we don't know what static routes exist at this\n // level. This happens in webpack dev mode where routes are compiled\n // on-demand. We can't safely match a dynamicChild because the URL part might\n // be a static sibling we haven't discovered yet. Example: We know\n // /blog/[slug] exists, but haven't compiled /blog/featured. A request for\n // /blog/featured would incorrectly match /blog/[slug].\n if (part.staticChildren === null) {\n // The only safe match is a direct pattern when no URL parts remain.\n if (urlPart === null) {\n const pattern = part.pattern\n if (pattern !== null && !pattern.hasDynamicRewrite) {\n return { part, pattern }\n }\n }\n return null\n }\n\n // Static children take priority over dynamic. This ensures /blog/featured\n // matches its own route rather than /blog/[slug].\n if (urlPart !== null) {\n const staticChild = part.staticChildren.get(urlPart)\n if (staticChild !== undefined) {\n // Check if this is an \"unknown\" placeholder part. These are created when\n // we learn about static siblings (from the route tree's staticSiblings\n // field) but haven't prefetched them yet. We know the path exists but\n // don't know its structure, so we can't predict it.\n if (\n staticChild.pattern === null &&\n staticChild.dynamicChild === null &&\n staticChild.staticChildren === null\n ) {\n // Bail out - server must resolve this route.\n return null\n }\n const match = matchKnownRoutePart(\n staticChild,\n pathnameParts,\n partIndex + 1,\n resolvedParams\n )\n if (match !== null) {\n return match\n }\n // Static child is a real node (not a placeholder) but its subtree\n // didn't match the remaining URL parts. This means the route exists\n // in the static subtree but hasn't been fully discovered yet. Do not\n // fall through to try the dynamic child — the static match is\n // authoritative. Bail out to server resolution.\n return null\n }\n }\n\n // Try dynamic child\n if (part.dynamicChild !== null) {\n const dynamicPart = part.dynamicChild\n const paramName = part.dynamicChildParamName\n const paramType = part.dynamicChildParamType\n const dynamicPattern = dynamicPart.pattern\n\n switch (paramType) {\n case 'c':\n // Required catch-all [...param]: consumes 1+ URL parts\n if (\n dynamicPattern !== null &&\n !dynamicPattern.hasDynamicRewrite &&\n urlPart !== null\n ) {\n resolvedParams.set(paramName, pathnameParts.slice(partIndex))\n return { part: dynamicPart, pattern: dynamicPattern }\n }\n break\n case 'oc':\n // Optional catch-all [[...param]]: consumes 0+ URL parts\n if (dynamicPattern !== null && !dynamicPattern.hasDynamicRewrite) {\n if (urlPart !== null) {\n resolvedParams.set(paramName, pathnameParts.slice(partIndex))\n return { part: dynamicPart, pattern: dynamicPattern }\n }\n // urlPart is null - can match with zero parts, but a direct pattern\n // (e.g., page.tsx alongside [[...param]]) takes precedence.\n if (part.pattern === null || part.pattern.hasDynamicRewrite) {\n resolvedParams.set(paramName, [])\n return { part: dynamicPart, pattern: dynamicPattern }\n }\n }\n break\n case 'd':\n // Regular dynamic [param]: consumes exactly 1 URL part.\n // Unlike catch-all which terminates here, regular dynamic must\n // continue recursing to find the leaf pattern.\n if (urlPart !== null) {\n resolvedParams.set(paramName, urlPart)\n return matchKnownRoutePart(\n dynamicPart,\n pathnameParts,\n partIndex + 1,\n resolvedParams\n )\n }\n break\n // Intercepted routes use relative path markers like (.), (..), (...)\n // Their behavior depends on navigation context (soft vs hard nav),\n // so we can't predict them client-side. Defer to server.\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)':\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)':\n return null\n default:\n paramType satisfies never\n }\n }\n\n // No children matched. If we've consumed all URL parts, check for a direct\n // pattern at this node (the route terminates here).\n if (urlPart === null) {\n const pattern = part.pattern\n if (pattern !== null && !pattern.hasDynamicRewrite) {\n return { part, pattern }\n }\n }\n\n return null\n}\n\n/**\n * Accumulator for collecting data during reifyRouteTree traversal.\n * metadataVaryPath is collected from the first page node encountered\n * (parallel routes may have multiple pages, but metadata uses the first).\n */\ntype ReifyAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\n/**\n * \"Reify\" means to make concrete - we take an abstract pattern (the template\n * route tree) and produce a concrete instance with actual param values.\n *\n * This function clones a RouteTree, substituting dynamic segment values from\n * resolvedParams and computing new vary paths. The vary path encodes param\n * values so segment cache entries can be correctly keyed.\n *\n * Example: Pattern for /blog/[slug] with resolvedParams { slug: \"hello\" }\n * produces a tree where segment [slug] has cacheKey \"hello\".\n */\nfunction reifyRouteTree(\n pattern: RouteTree,\n resolvedParams: ResolvedParams,\n search: NormalizedSearch,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n acc: ReifyAccumulator\n): RouteTree {\n const originalSegment = pattern.segment\n\n let newSegment = originalSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n\n if (typeof originalSegment !== 'string') {\n // Dynamic segment: compute new cache key and append to partial vary path\n const paramName = originalSegment[0]\n const paramType = originalSegment[2]\n const staticSiblings = originalSegment[3]\n const newValue = resolvedParams.get(paramName)\n if (newValue !== undefined) {\n const newCacheKey = Array.isArray(newValue)\n ? newValue.join('/')\n : newValue\n newSegment = [paramName, newCacheKey, paramType, staticSiblings]\n partialVaryPath = appendLayoutVaryPath(\n parentPartialVaryPath,\n newCacheKey,\n paramName\n )\n } else {\n // Param not found in resolvedParams - keep original and inherit partial\n // TODO: This should never happen. Bail out with null.\n partialVaryPath = parentPartialVaryPath\n }\n } else {\n // Static segment: inherit partial vary path from parent\n partialVaryPath = parentPartialVaryPath\n }\n\n // Recurse into children with the (possibly updated) partial vary path\n let newSlots: Record | null = null\n if (pattern.slots !== null) {\n newSlots = {}\n for (const key in pattern.slots) {\n newSlots[key] = reifyRouteTree(\n pattern.slots[key],\n resolvedParams,\n search,\n partialVaryPath,\n acc\n )\n }\n }\n\n if (pattern.isPage) {\n // Page segment: finalize with search params\n const newVaryPath = finalizePageVaryPath(\n pattern.requestKey,\n search,\n partialVaryPath\n )\n // Collect metadata vary path (first page wins, same as original algorithm)\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n pattern.requestKey,\n search,\n partialVaryPath\n )\n }\n return {\n requestKey: pattern.requestKey,\n segment: newSegment,\n refreshState: pattern.refreshState,\n slots: newSlots,\n\n prefetchHints: pattern.prefetchHints,\n isPage: true,\n varyPath: newVaryPath,\n }\n } else {\n // Layout segment: finalize without search params\n const newVaryPath = finalizeLayoutVaryPath(\n pattern.requestKey,\n partialVaryPath\n )\n return {\n requestKey: pattern.requestKey,\n segment: newSegment,\n refreshState: pattern.refreshState,\n slots: newSlots,\n\n prefetchHints: pattern.prefetchHints,\n isPage: false,\n varyPath: newVaryPath,\n }\n }\n}\n\n/**\n * Resets the known route tree. Called during development when routes may\n * change due to hot reloading.\n */\nexport function resetKnownRoutes(): void {\n knownRouteTreeRoot = createEmptyPart()\n}\n","import type {\n CacheNodeSeedData,\n FlightRouterState,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type { HeadData, ScrollRef } from '../../../shared/lib/app-router-types'\nimport { PrefetchHint } from '../../../shared/lib/app-router-types'\nimport {\n PAGE_SEGMENT_KEY,\n DEFAULT_SEGMENT_KEY,\n NOT_FOUND_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport { matchSegment } from '../match-segments'\nimport { createHrefFromUrl } from './create-href-from-url'\nimport { fetchServerResponse } from './fetch-server-response'\nimport { dispatchAppRouterAction } from '../use-action-queue'\nimport {\n ACTION_SERVER_PATCH,\n type ServerPatchAction,\n} from './router-reducer-types'\nimport { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout'\nimport { getLastCommittedTree } from './reducers/committed-state'\nimport {\n convertServerPatchToFullTree,\n type NavigationSeed,\n} from '../segment-cache/navigation'\nimport {\n type RouteTree,\n type RefreshState,\n type FulfilledRouteCacheEntry,\n convertReusedFlightRouterStateToRouteTree,\n readSegmentCacheEntry,\n waitForSegmentCacheEntry,\n markRouteEntryAsDynamicRewrite,\n invalidateRouteCacheEntries,\n getStaleAt,\n writeStaticStageResponseIntoCache,\n processRuntimePrefetchStream,\n writeDynamicRenderResponseIntoCache,\n EntryStatus,\n} from '../segment-cache/cache'\nimport { FetchStrategy } from '../segment-cache/types'\nimport { discoverKnownRoute } from '../segment-cache/optimistic-routes'\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants'\nimport type { NormalizedSearch } from '../segment-cache/cache-key'\nimport {\n getRenderedSearchFromVaryPath,\n type PageVaryPath,\n} from '../segment-cache/vary-path'\nimport {\n readFromBFCache,\n readFromBFCacheDuringRegularNavigation,\n writeToBFCache,\n writeHeadToBFCache,\n updateBFCacheEntryStaleAt,\n computeDynamicStaleAt,\n} from '../segment-cache/bfcache'\n\n// This is yet another tree type that is used to track pending promises that\n// need to be fulfilled once the dynamic data is received. The terminal nodes of\n// this tree represent the new Cache Node trees that were created during this\n// request. We can't use the Cache Node tree or Route State tree directly\n// because those include reused nodes, too. This tree is discarded as soon as\n// the navigation response is received.\nexport type NavigationTask = {\n status: NavigationTaskStatus\n // The router state that corresponds to the tree that this Task represents.\n route: FlightRouterState\n // The CacheNode that corresponds to the tree that this Task represents.\n node: CacheNode\n // The tree sent to the server during the dynamic request. If all the segments\n // are static, then this will be null, and no server request is required.\n // Otherwise, this is the same as `route`, except with the `refetch` marker\n // set on the top-most segment that needs to be fetched.\n dynamicRequestTree: FlightRouterState | null\n // The URL that should be used to fetch the dynamic data. This is only set\n // when the segment cannot be refetched from the current route, because it's\n // part of a \"default\" parallel slot that was reused during a navigation.\n refreshState: RefreshState | null\n children: Map | null\n}\n\nexport const enum FreshnessPolicy {\n Default,\n Hydration,\n HistoryTraversal,\n RefreshAll,\n HMRRefresh,\n Gesture,\n}\n\nconst enum NavigationTaskStatus {\n Pending,\n Fulfilled,\n Rejected,\n}\n\n/**\n * When a NavigationTask finishes, there may or may not be data still missing,\n * necessitating a retry.\n */\nconst enum NavigationTaskExitStatus {\n /**\n * No additional navigation is required.\n */\n Done = 0,\n /**\n * Some data failed to load, presumably due to a route tree mismatch. Perform\n * a soft retry to reload the entire tree.\n */\n SoftRetry = 1,\n /**\n * Some data failed to load in an unrecoverable way, e.g. in an inactive\n * parallel route. Fall back to a hard (MPA-style) retry.\n */\n HardRetry = 2,\n}\n\nexport type NavigationRequestAccumulation = {\n separateRefreshUrls: Set | null\n /**\n * Set when a navigation creates new leaf segments that should be\n * scrolled to. Stays null when no new segments are created (e.g.\n * during a refresh where the route structure didn't change).\n */\n scrollRef: ScrollRef | null\n}\n\nconst noop = () => {}\n\nexport function createInitialCacheNodeForHydration(\n navigatedAt: number,\n initialTree: RouteTree,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData,\n seedDynamicStaleAt: number\n): NavigationTask {\n // Create the initial cache node tree, using the data embedded into the\n // HTML document.\n const accumulation: NavigationRequestAccumulation = {\n separateRefreshUrls: null,\n scrollRef: null,\n }\n const task = createCacheNodeOnNavigation(\n navigatedAt,\n initialTree,\n null,\n FreshnessPolicy.Hydration,\n seedData,\n seedHead,\n seedDynamicStaleAt,\n false,\n accumulation\n )\n return task\n}\n\n// Creates a new Cache Node tree (i.e. copy-on-write) that represents the\n// optimistic result of a navigation, using both the current Cache Node tree and\n// data that was prefetched prior to navigation.\n//\n// At the moment we call this function, we haven't yet received the navigation\n// response from the server. It could send back something completely different\n// from the tree that was prefetched — due to rewrites, default routes, parallel\n// routes, etc.\n//\n// But in most cases, it will return the same tree that we prefetched, just with\n// the dynamic holes filled in. So we optimistically assume this will happen,\n// and accept that the real result could be arbitrarily different.\n//\n// We'll reuse anything that was already in the previous tree, since that's what\n// the server does.\n//\n// New segments (ones that don't appear in the old tree) are assigned an\n// unresolved promise. The data for these promises will be fulfilled later, when\n// the navigation response is received.\n//\n// The tree can be rendered immediately after it is created (that's why this is\n// a synchronous function). Any new trees that do not have prefetch data will\n// suspend during rendering, until the dynamic data streams in.\n//\n// Returns a Task object, which contains both the updated Cache Node and a path\n// to the pending subtrees that need to be resolved by the navigation response.\n//\n// A return value of `null` means there were no changes, and the previous tree\n// can be reused without initiating a server request.\nexport function startPPRNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldRenderedSearch: string,\n oldCacheNode: CacheNode | null,\n oldRouterState: FlightRouterState,\n newRouteTree: RouteTree,\n newMetadataVaryPath: PageVaryPath | null,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n seedDynamicStaleAt: number,\n isSamePageNavigation: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n const didFindRootLayout = false\n const parentNeedsDynamicRequest = false\n const parentRefreshState = null\n const oldRootRefreshState: RefreshState = {\n canonicalUrl: createHrefFromUrl(oldUrl),\n renderedSearch: oldRenderedSearch as NormalizedSearch,\n }\n return updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNode !== null ? oldCacheNode : undefined,\n oldRouterState,\n newRouteTree,\n newMetadataVaryPath,\n freshness,\n didFindRootLayout,\n seedData,\n seedHead,\n seedDynamicStaleAt,\n isSamePageNavigation,\n parentNeedsDynamicRequest,\n oldRootRefreshState,\n parentRefreshState,\n accumulation\n )\n}\n\nfunction updateCacheNodeOnNavigation(\n navigatedAt: number,\n oldUrl: URL,\n oldCacheNode: CacheNode | void,\n oldRouterState: FlightRouterState,\n newRouteTree: RouteTree,\n newMetadataVaryPath: PageVaryPath | null,\n freshness: FreshnessPolicy,\n didFindRootLayout: boolean,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n seedDynamicStaleAt: number,\n isSamePageNavigation: boolean,\n parentNeedsDynamicRequest: boolean,\n oldRootRefreshState: RefreshState,\n parentRefreshState: RefreshState | null,\n accumulation: NavigationRequestAccumulation\n): NavigationTask | null {\n // Check if this segment matches the one in the previous route.\n const oldSegment = oldRouterState[0]\n const newSegment = createSegmentFromRouteTree(newRouteTree)\n if (!matchSegment(newSegment, oldSegment)) {\n // This segment does not match the previous route. We're now entering the\n // new part of the target route. Switch to the \"create\" path.\n if (\n // Check if the route tree changed before we reached a layout. (The\n // highest-level layout in a route tree is referred to as the \"root\"\n // layout.) This could mean that we're navigating between two different\n // root layouts. When this happens, we perform a full-page (MPA-style)\n // navigation.\n //\n // However, the algorithm for deciding where to start rendering a route\n // (i.e. the one performed in order to reach this function) is stricter\n // than the one used to detect a change in the root layout. So just\n // because we're re-rendering a segment outside of the root layout does\n // not mean we should trigger a full-page navigation.\n //\n // Specifically, we handle dynamic parameters differently: two segments\n // are considered the same even if their parameter values are different.\n //\n // Refer to isNavigatingToNewRootLayout for details.\n //\n // Note that we only have to perform this extra traversal if we didn't\n // already discover a root layout in the part of the tree that is\n // unchanged. We also only need to compare the subtree that is not\n // shared. In the common case, this branch is skipped completely.\n (!didFindRootLayout &&\n isNavigatingToNewRootLayout(oldRouterState, newRouteTree)) ||\n // The global Not Found route (app/global-not-found.tsx) is a special\n // case, because it acts like a root layout, but in the router tree, it\n // is rendered in the same position as app/layout.tsx.\n //\n // Any navigation to the global Not Found route should trigger a\n // full-page navigation.\n //\n // TODO: We should probably model this by changing the key of the root\n // segment when this happens. Then the root layout check would work\n // as expected, without a special case.\n newSegment === NOT_FOUND_SEGMENT_KEY\n ) {\n return null\n }\n return createCacheNodeOnNavigation(\n navigatedAt,\n newRouteTree,\n newMetadataVaryPath,\n freshness,\n seedData,\n seedHead,\n seedDynamicStaleAt,\n parentNeedsDynamicRequest,\n accumulation\n )\n }\n\n const newSlots = newRouteTree.slots\n const oldRouterStateChildren = oldRouterState[1]\n const seedDataChildren = seedData !== null ? seedData[1] : null\n\n // We're currently traversing the part of the tree that was also part of\n // the previous route. If we discover a root layout, then we don't need to\n // trigger an MPA navigation.\n const childDidFindRootLayout =\n didFindRootLayout ||\n (newRouteTree.prefetchHints & PrefetchHint.IsRootLayout) !== 0\n\n let shouldRefreshDynamicData: boolean = false\n switch (freshness) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n case FreshnessPolicy.Hydration:\n case FreshnessPolicy.Gesture:\n shouldRefreshDynamicData = false\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n shouldRefreshDynamicData = true\n break\n default:\n freshness satisfies never\n break\n }\n\n // TODO: We're not consistent about how we do this check. Some places\n // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to\n // check if there any any children, which is why I'm doing it here. We\n // should probably encode an empty children set as `null` though. Either\n // way, we should update all the checks to be consistent.\n const isLeafSegment = newSlots === null\n\n // Get the data for this segment. Since it was part of the previous route,\n // usually we just clone the data from the old CacheNode. However, during a\n // refresh or a revalidation, there won't be any existing CacheNode. So we\n // may need to consult the prefetch cache, like we would for a new segment.\n let newCacheNode: CacheNode\n let needsDynamicRequest: boolean\n if (\n oldCacheNode !== undefined &&\n !shouldRefreshDynamicData &&\n // During a same-page navigation, we always refetch the page segments\n !(isLeafSegment && isSamePageNavigation)\n ) {\n // Reuse the existing CacheNode\n const dropPrefetchRsc = false\n newCacheNode = reuseSharedCacheNode(dropPrefetchRsc, oldCacheNode)\n needsDynamicRequest = false\n } else {\n // If this is part of a refresh, ignore the existing CacheNode and create a\n // new one.\n const seedRsc = seedData !== null ? seedData[0] : null\n const result = createCacheNodeForSegment(\n navigatedAt,\n newRouteTree,\n seedRsc,\n newMetadataVaryPath,\n seedHead,\n freshness,\n seedDynamicStaleAt\n )\n newCacheNode = result.cacheNode\n needsDynamicRequest = result.needsDynamicRequest\n\n // Carry forward the old node's scrollRef. This preserves scroll\n // intent when a prior navigation's cache node is replaced by a\n // refresh before the scroll handler has had a chance to fire —\n // e.g. when router.push() and router.refresh() are called in the\n // same startTransition batch.\n if (oldCacheNode !== undefined) {\n newCacheNode.scrollRef = oldCacheNode.scrollRef\n }\n }\n\n // During a refresh navigation, there's a special case that happens when\n // entering a \"default\" slot. The default slot may not be part of the\n // current route; it may have been reused from an older route. If so,\n // we need to fetch its data from the old route's URL rather than current\n // route's URL. Keep track of this as we traverse the tree.\n const maybeRefreshState = newRouteTree.refreshState\n const refreshState =\n maybeRefreshState !== undefined && maybeRefreshState !== null\n ? // This segment is not present in the current route. Track its\n // refresh URL as we continue traversing the tree.\n maybeRefreshState\n : // Inherit the refresh URL from the parent.\n parentRefreshState\n\n // If this segment itself needs to fetch new data from the server, then by\n // definition it is being refreshed. Track its refresh URL so we know which\n // URL to request the data from.\n if (needsDynamicRequest && refreshState !== null) {\n accumulateRefreshUrl(accumulation, refreshState)\n }\n\n // As we diff the trees, we may sometimes modify (copy-on-write, not mutate)\n // the Route Tree that was returned by the server — for example, in the case\n // of default parallel routes, we preserve the currently active segment. To\n // avoid mutating the original tree, we clone the router state children along\n // the return path.\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n // Most navigations require a request to fetch additional data from the\n // server, either because the data was not already prefetched, or because the\n // target route contains dynamic data that cannot be prefetched.\n //\n // However, if the target route is fully static, and it's already completely\n // loaded into the segment cache, then we can skip the server request.\n //\n // This starts off as `false`, and is set to `true` if any of the child\n // routes requires a dynamic request.\n let childNeedsDynamicRequest = false\n // As we traverse the children, we'll construct a FlightRouterState that can\n // be sent to the server to request the dynamic data. If it turns out that\n // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false\n // at the end), then this will be discarded.\n // TODO: We can probably optimize the format of this data structure to only\n // include paths that are dynamic. Instead of reusing the\n // FlightRouterState type.\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n let newCacheNodeSlots: Record | null = null\n if (newSlots !== null) {\n const oldCacheNodeSlots =\n oldCacheNode !== undefined ? oldCacheNode.slots : null\n\n newCacheNode.slots = newCacheNodeSlots = {}\n taskChildren = new Map()\n for (let parallelRouteKey in newSlots) {\n let newRouteTreeChild: RouteTree = newSlots[parallelRouteKey]\n const oldRouterStateChild: FlightRouterState | void =\n oldRouterStateChildren[parallelRouteKey]\n if (oldRouterStateChild === undefined) {\n // This should never happen, but if it does, it suggests a malformed\n // server response. Trigger a full-page navigation.\n return null\n }\n\n let seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n\n const oldSegmentChild = oldRouterStateChild[0]\n let newSegmentChild = createSegmentFromRouteTree(newRouteTreeChild)\n let seedHeadChild = seedHead\n if (\n // Skip this branch during a history traversal. We restore the tree that\n // was stashed in the history entry as-is.\n freshness !== FreshnessPolicy.HistoryTraversal &&\n newSegmentChild === DEFAULT_SEGMENT_KEY &&\n oldSegmentChild !== DEFAULT_SEGMENT_KEY\n ) {\n // This is a \"default\" segment. These are never sent by the server during\n // a soft navigation; instead, the client reuses whatever segment was\n // already active in that slot on the previous route.\n newRouteTreeChild = reuseActiveSegmentInDefaultSlot(\n newRouteTree,\n parallelRouteKey,\n oldRootRefreshState,\n oldRouterStateChild\n )\n newSegmentChild = createSegmentFromRouteTree(newRouteTreeChild)\n\n // Since we're switching to a different route tree, these are no\n // longer valid, because they correspond to the outer tree.\n seedDataChild = null\n seedHeadChild = null\n }\n\n const oldCacheNodeChild =\n oldCacheNodeSlots !== null\n ? oldCacheNodeSlots[parallelRouteKey]\n : undefined\n\n const taskChild = updateCacheNodeOnNavigation(\n navigatedAt,\n oldUrl,\n oldCacheNodeChild,\n oldRouterStateChild,\n newRouteTreeChild,\n newMetadataVaryPath,\n freshness,\n childDidFindRootLayout,\n seedDataChild ?? null,\n seedHeadChild,\n seedDynamicStaleAt,\n isSamePageNavigation,\n parentNeedsDynamicRequest || needsDynamicRequest,\n oldRootRefreshState,\n refreshState,\n accumulation\n )\n\n if (taskChild === null) {\n // One of the child tasks discovered a change to the root layout.\n // Immediately unwind from this recursive traversal. This will trigger a\n // full-page navigation.\n return null\n }\n\n // Recursively propagate up the child tasks.\n taskChildren.set(parallelRouteKey, taskChild)\n newCacheNodeSlots[parallelRouteKey] = taskChild.node\n\n // The child tree's route state may be different from the prefetched\n // route sent by the server. We need to clone it as we traverse back up\n // the tree.\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n // Something in the child tree is dynamic.\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n }\n\n const newFlightRouterState: FlightRouterState = [\n createSegmentFromRouteTree(newRouteTree),\n patchedRouterStateChildren,\n refreshState !== null\n ? [refreshState.canonicalUrl, refreshState.renderedSearch]\n : null,\n null,\n newRouteTree.prefetchHints,\n ]\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: newFlightRouterState,\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newFlightRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n refreshState,\n children: taskChildren,\n }\n}\n\n/**\n * Assigns a ScrollRef to a new leaf CacheNode so the scroll handler\n * knows to scroll to it after navigation. All leaves in the same\n * navigation share the same ScrollRef — the first segment to scroll\n * consumes it, preventing others from also scrolling.\n *\n * This is only called inside `createCacheNodeOnNavigation`, which only\n * runs when segments diverge from the previous route. So for a refresh\n * where the route structure stays the same, segments match, the update\n * path is taken, and this function is never called — no scroll ref is\n * assigned. A scroll ref is only assigned when the route actually\n * changed (e.g. a redirect, or a dynamic condition on the server that\n * produces a different route).\n *\n * Skipped during hydration (initial render should not scroll) and\n * history traversal (scroll restoration is handled separately).\n */\nfunction accumulateScrollRef(\n freshness: FreshnessPolicy,\n cacheNode: CacheNode,\n accumulation: NavigationRequestAccumulation\n): void {\n switch (freshness) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.Gesture:\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n if (accumulation.scrollRef === null) {\n accumulation.scrollRef = { current: true }\n }\n cacheNode.scrollRef = accumulation.scrollRef\n break\n case FreshnessPolicy.Hydration:\n // Initial render — no scroll.\n break\n case FreshnessPolicy.HistoryTraversal:\n // Back/forward — scroll restoration is handled separately.\n break\n default:\n freshness satisfies never\n break\n }\n}\n\nfunction createCacheNodeOnNavigation(\n navigatedAt: number,\n newRouteTree: RouteTree,\n newMetadataVaryPath: PageVaryPath | null,\n freshness: FreshnessPolicy,\n seedData: CacheNodeSeedData | null,\n seedHead: HeadData | null,\n seedDynamicStaleAt: number,\n parentNeedsDynamicRequest: boolean,\n accumulation: NavigationRequestAccumulation\n): NavigationTask {\n // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this\n // path once we reach the part of the tree that was not in the previous route.\n // We don't need to diff against the old tree, we just need to create a new\n // one. We also don't need to worry about any refresh-related logic.\n //\n // For the most part, this is a subset of updateCacheNodeOnNavigation, so any\n // change that happens in this function likely needs to be applied to that\n // one, too. However there are some places where the behavior intentionally\n // diverges, which is why we keep them separate.\n\n const newSegment = createSegmentFromRouteTree(newRouteTree)\n\n const newSlots = newRouteTree.slots\n const seedDataChildren = seedData !== null ? seedData[1] : null\n\n const seedRsc = seedData !== null ? seedData[0] : null\n const result = createCacheNodeForSegment(\n navigatedAt,\n newRouteTree,\n seedRsc,\n newMetadataVaryPath,\n seedHead,\n freshness,\n seedDynamicStaleAt\n )\n const newCacheNode = result.cacheNode\n const needsDynamicRequest = result.needsDynamicRequest\n\n const isLeafSegment = newSlots === null\n if (isLeafSegment) {\n accumulateScrollRef(freshness, newCacheNode, accumulation)\n }\n\n let patchedRouterStateChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n let taskChildren = null\n\n let childNeedsDynamicRequest = false\n let dynamicRequestTreeChildren: {\n [parallelRouteKey: string]: FlightRouterState\n } = {}\n\n let newCacheNodeSlots: Record | null = null\n if (newSlots !== null) {\n newCacheNode.slots = newCacheNodeSlots = {}\n taskChildren = new Map()\n for (let parallelRouteKey in newSlots) {\n const newRouteTreeChild: RouteTree = newSlots[parallelRouteKey]\n const seedDataChild: CacheNodeSeedData | void | null =\n seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null\n\n const taskChild = createCacheNodeOnNavigation(\n navigatedAt,\n newRouteTreeChild,\n newMetadataVaryPath,\n freshness,\n seedDataChild ?? null,\n seedHead,\n seedDynamicStaleAt,\n parentNeedsDynamicRequest || needsDynamicRequest,\n accumulation\n )\n\n taskChildren.set(parallelRouteKey, taskChild)\n newCacheNodeSlots[parallelRouteKey] = taskChild.node\n\n const taskChildRoute = taskChild.route\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute\n\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree\n if (dynamicRequestTreeChild !== null) {\n childNeedsDynamicRequest = true\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute\n }\n }\n }\n\n const newFlightRouterState: FlightRouterState = [\n newSegment,\n patchedRouterStateChildren,\n null,\n null,\n newRouteTree.prefetchHints,\n ]\n\n return {\n status: needsDynamicRequest\n ? NavigationTaskStatus.Pending\n : NavigationTaskStatus.Fulfilled,\n route: newFlightRouterState,\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(\n newFlightRouterState,\n dynamicRequestTreeChildren,\n needsDynamicRequest,\n childNeedsDynamicRequest,\n parentNeedsDynamicRequest\n ),\n // This route is not part of the current tree, so there's no reason to\n // track the refresh URL.\n refreshState: null,\n children: taskChildren,\n }\n}\n\nfunction createSegmentFromRouteTree(newRouteTree: RouteTree): Segment {\n if (newRouteTree.isPage) {\n // In a dynamic server response, the server embeds the search params into\n // the segment key, but in a static one it's omitted. The client handles\n // this inconsistency by adding the search params back right at the end.\n //\n // TODO: The only thing this is used for is to create a cache key for\n // ChildSegmentMap. But we already track the `renderedSearch` everywhere as\n // part of the varyPath. The plan is get rid of ChildSegmentMap and\n // store the page data in a CacheMap using the varyPath, like we do\n // for prefetches. Then we can remove it from the segment key.\n //\n // As an incremental step, we can grab the search params from the varyPath.\n const renderedSearch = getRenderedSearchFromVaryPath(newRouteTree.varyPath)\n if (renderedSearch === null) {\n return PAGE_SEGMENT_KEY\n }\n // This is based on equivalent logic in addSearchParamsIfPageSegment, used\n // on the server.\n const stringifiedQuery = JSON.stringify(\n Object.fromEntries(new URLSearchParams(renderedSearch))\n )\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n return newRouteTree.segment\n}\n\nfunction patchRouterStateWithNewChildren(\n baseRouterState: FlightRouterState,\n newChildren: { [parallelRouteKey: string]: FlightRouterState }\n): FlightRouterState {\n const clone: FlightRouterState = [baseRouterState[0], newChildren]\n // Based on equivalent logic in apply-router-state-patch-to-tree, but should\n // confirm whether we need to copy all of these fields. Not sure the server\n // ever sends, e.g. the refetch marker.\n if (2 in baseRouterState) {\n clone[2] = baseRouterState[2]\n }\n if (3 in baseRouterState) {\n clone[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clone[4] = baseRouterState[4]\n }\n return clone\n}\n\nfunction createDynamicRequestTree(\n newRouterState: FlightRouterState,\n dynamicRequestTreeChildren: Record,\n needsDynamicRequest: boolean,\n childNeedsDynamicRequest: boolean,\n parentNeedsDynamicRequest: boolean\n): FlightRouterState | null {\n // Create a FlightRouterState that instructs the server how to render the\n // requested segment.\n //\n // Or, if neither this segment nor any of the children require a new data,\n // then we return `null` to skip the request.\n let dynamicRequestTree: FlightRouterState | null = null\n if (needsDynamicRequest) {\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n // The \"refetch\" marker is set on the top-most segment that requires new\n // data. We can omit it if a parent was already marked.\n if (!parentNeedsDynamicRequest) {\n dynamicRequestTree[3] = 'refetch'\n }\n } else if (childNeedsDynamicRequest) {\n // This segment does not request new data, but at least one of its\n // children does.\n dynamicRequestTree = patchRouterStateWithNewChildren(\n newRouterState,\n dynamicRequestTreeChildren\n )\n } else {\n dynamicRequestTree = null\n }\n return dynamicRequestTree\n}\n\nfunction accumulateRefreshUrl(\n accumulation: NavigationRequestAccumulation,\n refreshState: RefreshState\n) {\n // This is a refresh navigation, and we're inside a \"default\" slot that's\n // not part of the current route; it was reused from an older route. In\n // order to get fresh data for this reused route, we need to issue a\n // separate request using the old route's URL.\n //\n // Track these extra URLs in the accumulated result. Later, we'll construct\n // an appropriate request for each unique URL in the final set. The reason\n // we don't do it immediately here is so we can deduplicate multiple\n // instances of the same URL into a single request. See\n // listenForDynamicRequest for more details.\n const refreshUrl = refreshState.canonicalUrl\n const separateRefreshUrls = accumulation.separateRefreshUrls\n if (separateRefreshUrls === null) {\n accumulation.separateRefreshUrls = new Set([refreshUrl])\n } else {\n separateRefreshUrls.add(refreshUrl)\n }\n}\n\nfunction reuseActiveSegmentInDefaultSlot(\n parentRouteTree: RouteTree,\n parallelRouteKey: string,\n oldRootRefreshState: RefreshState,\n oldRouterState: FlightRouterState\n): RouteTree {\n // This is a \"default\" segment. These are never sent by the server during a\n // soft navigation; instead, the client reuses whatever segment was already\n // active in that slot on the previous route. This means if we later need to\n // refresh the segment, it will have to be refetched from the previous route's\n // URL. We store it in the Flight Router State.\n\n let reusedUrl: string\n let reusedRenderedSearch: NormalizedSearch\n const oldRefreshState = oldRouterState[2]\n if (oldRefreshState !== undefined && oldRefreshState !== null) {\n // This segment was already reused from an even older route. Keep its\n // existing URL and refresh state.\n reusedUrl = oldRefreshState[0]\n reusedRenderedSearch = oldRefreshState[1] as NormalizedSearch\n } else {\n // Since this route didn't already have a refresh state, it must have been\n // reachable from the root of the old route. So we use the refresh state\n // that represents the old route.\n reusedUrl = oldRootRefreshState.canonicalUrl\n reusedRenderedSearch = oldRootRefreshState.renderedSearch\n }\n\n const acc = { metadataVaryPath: null }\n const reusedRouteTree = convertReusedFlightRouterStateToRouteTree(\n parentRouteTree,\n parallelRouteKey,\n oldRouterState,\n reusedRenderedSearch,\n acc\n )\n reusedRouteTree.refreshState = {\n canonicalUrl: reusedUrl,\n renderedSearch: reusedRenderedSearch,\n }\n return reusedRouteTree\n}\n\nfunction reuseSharedCacheNode(\n dropPrefetchRsc: boolean,\n existingCacheNode: CacheNode\n): CacheNode {\n // Clone the CacheNode that was already present in the previous tree.\n // Carry forward the scrollRef so scroll intent from a prior navigation\n // survives tree rebuilds (e.g. push + refresh in the same batch).\n return createCacheNode(\n existingCacheNode.rsc,\n dropPrefetchRsc ? null : existingCacheNode.prefetchRsc,\n existingCacheNode.head,\n dropPrefetchRsc ? null : existingCacheNode.prefetchHead,\n existingCacheNode.scrollRef\n )\n}\n\nfunction createCacheNodeForSegment(\n now: number,\n tree: RouteTree,\n seedRsc: React.ReactNode | null,\n metadataVaryPath: PageVaryPath | null,\n seedHead: HeadData | null,\n freshness: FreshnessPolicy,\n dynamicStaleAt: number\n): { cacheNode: CacheNode; needsDynamicRequest: boolean } {\n // Construct a new CacheNode using data from the BFCache, the client's\n // Segment Cache, or seeded from a server response.\n //\n // If there's a cache miss, or if we only have a partial hit, we'll render\n // the partial state immediately, and spawn a request to the server to fill\n // in the missing data.\n //\n // If the segment is fully cached on the client already, we can omit this\n // segment from the server request.\n //\n // If we already have a dynamic data response associated with this navigation,\n // as in the case of a Server Action-initiated redirect or refresh, we may\n // also be able to use that data without spawning a new request. (This is\n // referred to as the \"seed\" data.)\n\n const isPage = tree.isPage\n\n // During certain kinds of navigations, we may be able to render from\n // the BFCache.\n switch (freshness) {\n case FreshnessPolicy.Default: {\n // Check BFCache during regular navigations. The entry's staleAt\n // determines whether it's still fresh. This is used when\n // staleTimes.dynamic is configured globally or when a page exports\n // unstable_dynamicStaleTime for per-page control.\n const bfcacheEntry = readFromBFCacheDuringRegularNavigation(\n now,\n tree.varyPath\n )\n if (bfcacheEntry !== null) {\n return {\n cacheNode: createCacheNode(\n bfcacheEntry.rsc,\n bfcacheEntry.prefetchRsc,\n bfcacheEntry.head,\n bfcacheEntry.prefetchHead\n ),\n needsDynamicRequest: false,\n }\n }\n break\n }\n case FreshnessPolicy.Hydration: {\n // This is not related to the BFCache but it is a special case.\n //\n // We should never spawn network requests during hydration. We must treat\n // the initial payload as authoritative, because the initial page load is\n // used as a last-ditch mechanism for recovering the app.\n //\n // This is also an important safety check because if this leaks into the\n // server rendering path (which theoretically it never should because the\n // server payload should be consistent), the server would hang because these\n // promises would never resolve.\n //\n // TODO: There is an existing case where the global \"not found\" boundary\n // triggers this path. But it does render correctly despite that. That's an\n // unusual render path so it's not surprising, but we should look into\n // modeling it in a more consistent way. See also the /_notFound special\n // case in updateCacheNodeOnNavigation.\n const rsc = seedRsc\n const prefetchRsc = null\n const head = isPage ? seedHead : null\n const prefetchHead = null\n writeToBFCache(\n now,\n tree.varyPath,\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n dynamicStaleAt\n )\n if (isPage && metadataVaryPath !== null) {\n writeHeadToBFCache(\n now,\n metadataVaryPath,\n head,\n prefetchHead,\n dynamicStaleAt\n )\n }\n return {\n cacheNode: createCacheNode(rsc, prefetchRsc, head, prefetchHead),\n needsDynamicRequest: false,\n }\n }\n case FreshnessPolicy.HistoryTraversal:\n const bfcacheEntry = readFromBFCache(tree.varyPath)\n if (bfcacheEntry !== null) {\n // Only show prefetched data if the dynamic data is still pending. This\n // avoids a flash back to the prefetch state in a case where it's highly\n // likely to have already streamed in.\n //\n // Tehnically, what we're actually checking is whether the dynamic\n // network response was received. But since it's a streaming response,\n // this does not mean that all the dynamic data has fully streamed in.\n // It just means that _some_ of the dynamic data was received. But as a\n // heuristic, we assume that the rest dynamic data will stream in\n // quickly, so it's still better to skip the prefetch state.\n const oldRsc = bfcacheEntry.rsc\n const oldRscDidResolve =\n !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending'\n const dropPrefetchRsc = oldRscDidResolve\n return {\n cacheNode: createCacheNode(\n bfcacheEntry.rsc,\n dropPrefetchRsc ? null : bfcacheEntry.prefetchRsc,\n bfcacheEntry.head,\n dropPrefetchRsc ? null : bfcacheEntry.prefetchHead\n ),\n needsDynamicRequest: false,\n }\n }\n break\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n case FreshnessPolicy.Gesture:\n // Don't consult the BFCache.\n break\n default:\n freshness satisfies never\n break\n }\n\n let cachedRsc: React.ReactNode | null = null\n let isCachedRscPartial: boolean = true\n\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (segmentEntry !== null) {\n switch (segmentEntry.status) {\n case EntryStatus.Fulfilled: {\n // Happy path: a cache hit\n cachedRsc = segmentEntry.rsc\n isCachedRscPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry)\n cachedRsc = promiseForFulfilledEntry.then((entry) =>\n entry !== null ? entry.rsc : null\n )\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isCachedRscPartial = segmentEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected: {\n break\n }\n default: {\n segmentEntry satisfies never\n break\n }\n }\n }\n\n // Now combine the cached data with the seed data to determine what we can\n // render immediately, versus what needs to stream in later.\n\n // A partial state to show immediately while we wait for the final data to\n // arrive. If `rsc` is already a complete value (not partial), or if we\n // don't have any useful partial state, this will be `null`.\n let prefetchRsc: React.ReactNode | null\n // The final, resolved segment data. If the data is missing, this will be a\n // promise that resolves to the eventual data. A resolved value of `null`\n // means the data failed to load; the LayoutRouter will suspend indefinitely\n // until the router updates again (refer to finishNavigationTask).\n let rsc: React.ReactNode | null\n let doesSegmentNeedDynamicRequest: boolean\n\n if (seedRsc !== null) {\n // We already have a dynamic server response for this segment.\n if (isCachedRscPartial) {\n // The seed data may still be streaming in, so it's worth showing the\n // partial cached state in the meantime.\n prefetchRsc = cachedRsc\n rsc = seedRsc\n } else {\n // We already have a completely cached segment. Ignore the seed data,\n // which may still be streaming in. This shouldn't happen in the normal\n // case because the client will inform the server which segments are\n // already fully cached, and the server will skip rendering them.\n prefetchRsc = null\n rsc = cachedRsc\n }\n doesSegmentNeedDynamicRequest = false\n } else {\n if (isCachedRscPartial) {\n // The cached data contains dynamic holes, or it's missing entirely. We'll\n // show the partial state immediately (if available), and stream in the\n // final data.\n //\n // Create a pending promise that we can later write to when the\n // data arrives from the server.\n prefetchRsc = cachedRsc\n rsc = createDeferredRsc()\n } else {\n // The data is fully cached.\n prefetchRsc = null\n rsc = cachedRsc\n }\n doesSegmentNeedDynamicRequest = isCachedRscPartial\n }\n\n // If this is a page segment, we need to do the same for the head. This\n // follows analogous logic to the segment data above.\n // TODO: We don't need to store the head on the page segment's CacheNode; we\n // can lift it to the main state object. Then we can also delete\n // findHeadCache.\n\n let prefetchHead: HeadData | null = null\n let head: React.ReactNode | null = null\n let doesHeadNeedDynamicRequest: boolean = isPage\n\n if (isPage) {\n let cachedHead: HeadData | null = null\n let isCachedHeadPartial: boolean = true\n if (metadataVaryPath !== null) {\n const metadataEntry = readSegmentCacheEntry(now, metadataVaryPath)\n if (metadataEntry !== null) {\n switch (metadataEntry.status) {\n case EntryStatus.Fulfilled: {\n cachedHead = metadataEntry.rsc\n isCachedHeadPartial = metadataEntry.isPartial\n break\n }\n case EntryStatus.Pending: {\n cachedHead = waitForSegmentCacheEntry(metadataEntry).then(\n (entry) => (entry !== null ? entry.rsc : null)\n )\n isCachedHeadPartial = metadataEntry.isPartial\n break\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected: {\n break\n }\n default: {\n metadataEntry satisfies never\n break\n }\n }\n }\n }\n\n if (process.env.__NEXT_OPTIMISTIC_ROUTING && isCachedHeadPartial) {\n // TODO: When optimistic routing is enabled, don't block on waiting for\n // the viewport to resolve. This is a temporary workaround until Vary\n // Params are tracked when rendering the metadata. We'll fix it before\n // this feature is stable. However, it's not a critical issue because 1)\n // it will stream in eventually anyway 2) metadata is wrapped in an\n // internal Suspense boundary, so is always non-blocking; this only\n // affects the viewport node, which is meant to blocking, however... 3)\n // before Segment Cache landed this wasn't always the case, anyway, so\n // it's unlikely that many people are relying on this behavior. Still,\n // will be fixed before stable. It's the very next step in the sequence of\n // work on this project.\n //\n // This line of code works because the App Router treats `null` as\n // \"no renderable head available\", rather than an empty head. React treats\n // an empty string as empty.\n cachedHead = ''\n }\n\n if (seedHead !== null) {\n if (isCachedHeadPartial) {\n prefetchHead = cachedHead\n head = seedHead\n } else {\n prefetchHead = null\n head = cachedHead\n }\n doesHeadNeedDynamicRequest = false\n } else {\n if (isCachedHeadPartial) {\n prefetchHead = cachedHead\n head = createDeferredRsc()\n } else {\n prefetchHead = null\n head = cachedHead\n }\n doesHeadNeedDynamicRequest = isCachedHeadPartial\n }\n }\n\n // Now that we're creating a new segment, write its data to the BFCache. A\n // subsequent back/forward navigation will reuse this same data, until or\n // unless it's cleared by a refresh/revalidation.\n //\n // Skip BFCache writes for optimistic navigations since they are transient\n // and will be replaced by the canonical navigation.\n if (freshness !== FreshnessPolicy.Gesture) {\n writeToBFCache(\n now,\n tree.varyPath,\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n dynamicStaleAt\n )\n if (isPage && metadataVaryPath !== null) {\n writeHeadToBFCache(\n now,\n metadataVaryPath,\n head,\n prefetchHead,\n dynamicStaleAt\n )\n }\n }\n\n return {\n cacheNode: createCacheNode(rsc, prefetchRsc, head, prefetchHead),\n // TODO: We should store this field on the CacheNode itself. I think we can\n // probably unify NavigationTask, CacheNode, and DeferredRsc into a\n // single type. Or at least CacheNode and DeferredRsc.\n needsDynamicRequest:\n doesSegmentNeedDynamicRequest || doesHeadNeedDynamicRequest,\n }\n}\n\nfunction createCacheNode(\n rsc: React.ReactNode | null,\n prefetchRsc: React.ReactNode | null,\n head: React.ReactNode | null,\n prefetchHead: HeadData | null,\n scrollRef: ScrollRef | null = null\n): CacheNode {\n return {\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n slots: null,\n scrollRef,\n }\n}\n\n// Represents whether the previuos navigation resulted in a route tree mismatch.\n// A mismatch results in a refresh of the page. If there are two successive\n// mismatches, we will fall back to an MPA navigation, to prevent a retry loop.\nlet previousNavigationDidMismatch = false\n\n// Writes a dynamic server response into the tree created by\n// updateCacheNodeOnNavigation. All pending promises that were spawned by the\n// navigation will be resolved, either with dynamic data from the server, or\n// `null` to indicate that the data is missing.\n//\n// A `null` value will trigger a lazy fetch during render, which will then patch\n// up the tree using the same mechanism as the non-PPR implementation\n// (serverPatchReducer).\n//\n// Usually, the server will respond with exactly the subset of data that we're\n// waiting for — everything below the nearest shared layout. But technically,\n// the server can return anything it wants.\n//\n// This does _not_ create a new tree; it modifies the existing one in place.\n// Which means it must follow the Suspense rules of cache safety.\nexport function spawnDynamicRequests(\n task: NavigationTask,\n primaryUrl: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n accumulation: NavigationRequestAccumulation,\n // The route cache entry used for this navigation, if it came from route\n // prediction. Passed through so it can be marked as having a dynamic rewrite\n // if the server returns a different pathname than expected (indicating\n // dynamic rewrite behavior that varies by param value).\n routeCacheEntry: FulfilledRouteCacheEntry | null,\n // The original navigation's push/replace intent. Threaded through to the\n // server-patch retry logic so it can inherit the intent if the original\n // transition hasn't committed yet.\n navigateType: 'push' | 'replace'\n): void {\n const dynamicRequestTree = task.dynamicRequestTree\n if (dynamicRequestTree === null) {\n // This navigation was fully cached. There are no dynamic requests to spawn.\n previousNavigationDidMismatch = false\n return\n }\n\n // This is intentionally not an async function to discourage the caller from\n // awaiting the result. Any subsequent async operations spawned by this\n // function should result in a separate navigation task, rather than\n // block the original one.\n //\n // In this function we spawn (but do not await) all the network requests that\n // block the navigation, and collect the promises. The next function,\n // `finishNavigationTask`, can await the promises in any order without\n // accidentally introducing a network waterfall.\n const primaryRequestPromise = fetchMissingDynamicData(\n task,\n dynamicRequestTree,\n primaryUrl,\n nextUrl,\n freshnessPolicy,\n routeCacheEntry\n )\n\n const separateRefreshUrls = accumulation.separateRefreshUrls\n let refreshRequestPromises: Array<\n ReturnType\n > | null = null\n if (separateRefreshUrls !== null) {\n // There are multiple URLs that we need to request the data from. This\n // happens when a \"default\" parallel route slot is present in the tree, and\n // its data cannot be fetched from the current route. We need to split the\n // combined dynamic request tree into separate requests per URL.\n\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n\n // Construct a request tree for each additional refresh URL. This will\n // prune away everything except the parts of the tree that match the\n // given refresh URL.\n refreshRequestPromises = []\n const canonicalUrl = createHrefFromUrl(primaryUrl)\n for (const refreshUrl of separateRefreshUrls) {\n if (refreshUrl === canonicalUrl) {\n // We already initiated a request for the this URL, above. Skip it.\n // TODO: This only happens because the main URL is not tracked as\n // part of the separateRefreshURLs set. There's probably a better way\n // to structure this so this case doesn't happen.\n continue\n }\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl)\n const scopedDynamicRequestTree = dynamicRequestTree\n if (scopedDynamicRequestTree !== null) {\n refreshRequestPromises.push(\n fetchMissingDynamicData(\n task,\n scopedDynamicRequestTree,\n new URL(refreshUrl, location.origin),\n // TODO: Just noticed that this should actually the Next-Url at the\n // time the refresh URL was set, not the current Next-Url. Need to\n // start tracking this alongside the refresh URL. In the meantime,\n // if a refresh fails due to a mismatch, it will trigger a\n // hard refresh.\n nextUrl,\n freshnessPolicy,\n routeCacheEntry\n )\n )\n }\n }\n }\n\n // Further async operations are moved into this separate function to\n // discourage sequential network requests.\n const voidPromise = finishNavigationTask(\n task,\n nextUrl,\n primaryRequestPromise,\n refreshRequestPromises,\n routeCacheEntry,\n navigateType\n )\n // `finishNavigationTask` is responsible for error handling, so we can attach\n // noop callbacks to this promise.\n voidPromise.then(noop, noop)\n}\n\nasync function finishNavigationTask(\n task: NavigationTask,\n nextUrl: string | null,\n primaryRequestPromise: ReturnType,\n refreshRequestPromises: Array<\n ReturnType\n > | null,\n routeCacheEntry: FulfilledRouteCacheEntry | null,\n navigateType: 'push' | 'replace'\n): Promise {\n // Wait for all the requests to finish, or for the first one to fail.\n let exitStatus = await waitForRequestsToFinish(\n primaryRequestPromise,\n refreshRequestPromises\n )\n\n // Once the all the requests have finished, check the tree for any remaining\n // pending tasks. If anything is still pending, it means the server response\n // does not match the client, and we must refresh to get back to a consistent\n // state. We can skip this step if we already detected a mismatch during the\n // first phase; it doesn't matter in that case because we're going to refresh\n // the whole tree regardless.\n if (exitStatus === NavigationTaskExitStatus.Done) {\n exitStatus = abortRemainingPendingTasks(task, null, null)\n }\n\n switch (exitStatus) {\n case NavigationTaskExitStatus.Done: {\n // The task has completely finished. There's no missing data. Exit.\n previousNavigationDidMismatch = false\n return\n }\n case NavigationTaskExitStatus.SoftRetry: {\n // Some data failed to finish loading. Trigger a soft retry.\n // TODO: As an extra precaution against soft retry loops, consider\n // tracking whether a navigation was itself triggered by a retry. If two\n // happen in a row, fall back to a hard retry.\n const isHardRetry = false\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route,\n routeCacheEntry,\n navigateType\n )\n return\n }\n case NavigationTaskExitStatus.HardRetry: {\n // Some data failed to finish loading in a non-recoverable way, such as a\n // network error. Trigger an MPA navigation.\n //\n // Hard navigating/refreshing is how we prevent an infinite retry loop\n // caused by a network error — when the network fails, we fall back to the\n // browser behavior for offline navigations. In the future, Next.js may\n // introduce its own custom handling of offline navigations, but that\n // doesn't exist yet.\n const isHardRetry = true\n const primaryRequestResult = await primaryRequestPromise\n dispatchRetryDueToTreeMismatch(\n isHardRetry,\n primaryRequestResult.url,\n nextUrl,\n primaryRequestResult.seed,\n task.route,\n routeCacheEntry,\n navigateType\n )\n return\n }\n default: {\n return exitStatus satisfies never\n }\n }\n}\n\nfunction waitForRequestsToFinish(\n primaryRequestPromise: ReturnType,\n refreshRequestPromises: Array<\n ReturnType\n > | null\n) {\n // Custom async combinator logic. This could be replaced by Promise.any but\n // we don't assume that's available.\n //\n // Each promise resolves once the server responsds and the data is written\n // into the CacheNode tree. Resolve the combined promise once all the\n // requests finish.\n //\n // Or, resolve as soon as one of the requests fails, without waiting for the\n // others to finish.\n return new Promise((resolve) => {\n const onFulfill = (result: { exitStatus: NavigationTaskExitStatus }) => {\n if (result.exitStatus === NavigationTaskExitStatus.Done) {\n remainingCount--\n if (remainingCount === 0) {\n // All the requests finished successfully.\n resolve(NavigationTaskExitStatus.Done)\n }\n } else {\n // One of the requests failed. Exit with a failing status.\n // NOTE: It's possible for one of the requests to fail with SoftRetry\n // and a later one to fail with HardRetry. In this case, we choose to\n // retry immediately, rather than delay the retry until all the requests\n // finish. If it fails again, we will hard retry on the next\n // attempt, anyway.\n resolve(result.exitStatus)\n }\n }\n // onReject shouldn't ever be called because fetchMissingDynamicData's\n // entire body is wrapped in a try/catch. This is just defensive.\n const onReject = () => resolve(NavigationTaskExitStatus.HardRetry)\n\n // Attach the listeners to the promises.\n let remainingCount = 1\n primaryRequestPromise.then(onFulfill, onReject)\n if (refreshRequestPromises !== null) {\n remainingCount += refreshRequestPromises.length\n refreshRequestPromises.forEach((refreshRequestPromise) =>\n refreshRequestPromise.then(onFulfill, onReject)\n )\n }\n })\n}\n\nfunction dispatchRetryDueToTreeMismatch(\n isHardRetry: boolean,\n retryUrl: URL,\n retryNextUrl: string | null,\n seed: NavigationSeed | null,\n baseTree: FlightRouterState,\n // The route cache entry used for this navigation, if it came from route\n // prediction. If the navigation results in a mismatch, we mark it as having\n // a dynamic rewrite so future predictions bail out.\n routeCacheEntry: FulfilledRouteCacheEntry | null,\n // The original navigation's push/replace intent.\n originalNavigateType: 'push' | 'replace'\n) {\n // If the navigation used a route prediction, mark it as having a dynamic\n // rewrite since it resulted in a mismatch.\n if (routeCacheEntry !== null) {\n markRouteEntryAsDynamicRewrite(routeCacheEntry)\n } else if (seed !== null) {\n // Even without a direct reference to the route cache entry, we can still\n // mark the route as having a dynamic rewrite by traversing the known route\n // tree. This handles cases where the navigation didn't originate from a\n // route prediction, but still needs to mark the pattern.\n const metadataVaryPath = seed.metadataVaryPath\n if (metadataVaryPath !== null) {\n const now = Date.now()\n discoverKnownRoute(\n now,\n retryUrl.pathname,\n retryNextUrl,\n null,\n seed.routeTree,\n metadataVaryPath,\n false, // couldBeIntercepted - doesn't matter, we're just marking hasDynamicRewrite\n createHrefFromUrl(retryUrl),\n false, // supportsPerSegmentPrefetching - doesn't matter, we're just marking hasDynamicRewrite\n true // hasDynamicRewrite\n )\n }\n }\n\n // Invalidate all route cache entries. Other entries may have been derived\n // from the template before we knew it had a dynamic rewrite. This also\n // triggers re-prefetching of visible links.\n invalidateRouteCacheEntries(retryNextUrl, baseTree)\n\n // If this is the second time in a row that a navigation resulted in a\n // mismatch, fall back to a hard (MPA) refresh.\n isHardRetry = isHardRetry || previousNavigationDidMismatch\n previousNavigationDidMismatch = true\n\n // If the original navigation hasn't committed to the browser history yet\n // (the transition suspended before React committed), inherit its push/replace\n // intent. Otherwise, the pushState already ran, so use 'replace' to avoid\n // creating a duplicate history entry.\n //\n // This works because React entangles the retry's state update with the\n // original pending transition — they commit together as a single batch,\n // so the navigate type from the retry is what HistoryUpdater ultimately sees.\n //\n // TODO: Ideally this check would happen right before we schedule the React\n // update (i.e., closer to where the action is dispatched into the queue),\n // not here where the action is constructed. But the current action queue\n // doesn't provide a natural place for that. Revisit when we refactor the\n // action queue into a more reactive navigation model.\n const lastCommitted = getLastCommittedTree()\n const retryNavigateType: 'push' | 'replace' =\n lastCommitted !== null && baseTree !== lastCommitted\n ? originalNavigateType\n : 'replace'\n\n const retryAction: ServerPatchAction = {\n type: ACTION_SERVER_PATCH,\n previousTree: baseTree,\n url: retryUrl,\n nextUrl: retryNextUrl,\n seed,\n mpa: isHardRetry,\n navigateType: retryNavigateType,\n }\n dispatchAppRouterAction(retryAction)\n}\n\nasync function fetchMissingDynamicData(\n task: NavigationTask,\n dynamicRequestTree: FlightRouterState,\n url: URL,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n routeCacheEntry: FulfilledRouteCacheEntry | null\n): Promise<{\n exitStatus: NavigationTaskExitStatus\n url: URL\n seed: NavigationSeed | null\n}> {\n try {\n const result = await fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n isHmrRefresh: freshnessPolicy === FreshnessPolicy.HMRRefresh,\n })\n if (typeof result === 'string') {\n // fetchServerResponse will return an href to indicate that the SPA\n // navigation failed. For example, if the server triggered a hard\n // redirect, or the fetch request errored. Initiate an MPA navigation\n // to the given href.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: new URL(result, location.origin),\n seed: null,\n }\n }\n const now = Date.now()\n\n const seed = convertServerPatchToFullTree(\n now,\n task.route,\n result.flightData,\n result.renderedSearch,\n result.dynamicStaleTime\n )\n\n // If the navigation lock is active, wait for it to be released before\n // writing the dynamic data. This allows tests to assert on the prefetched\n // UI state.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n await waitForNavigationLock()\n }\n\n if (routeCacheEntry !== null && result.staticStageData !== null) {\n const { response: staticStageResponse, isResponsePartial } =\n result.staticStageData\n\n getStaleAt(now, staticStageResponse.s)\n .then((staleAt) => {\n const buildId =\n result.responseHeaders.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n staticStageResponse.b\n\n writeStaticStageResponseIntoCache(\n now,\n staticStageResponse.f,\n buildId,\n staticStageResponse.h,\n staleAt,\n dynamicRequestTree,\n result.renderedSearch,\n isResponsePartial\n )\n })\n .catch(() => {\n // The static stage processing failed. Not fatal — the navigation\n // completed normally, we just won't write into the cache.\n })\n }\n\n if (routeCacheEntry !== null && result.runtimePrefetchStream !== null) {\n processRuntimePrefetchStream(\n now,\n result.runtimePrefetchStream,\n dynamicRequestTree,\n result.renderedSearch\n )\n .then((processed) => {\n if (processed !== null) {\n writeDynamicRenderResponseIntoCache(\n now,\n FetchStrategy.PPRRuntime,\n processed.flightDatas,\n processed.buildId,\n processed.isResponsePartial,\n processed.headVaryParams,\n processed.staleAt,\n processed.navigationSeed,\n null\n )\n }\n })\n .catch(() => {\n // The runtime prefetch cache write failed. Not fatal — the\n // navigation completed normally, we just won't cache runtime data.\n })\n }\n\n // result.dynamicStaleTime is in seconds (from the server's `d` field).\n // Convert to an absolute timestamp using the centralized helper.\n const dynamicStaleAt = computeDynamicStaleAt(now, result.dynamicStaleTime)\n\n const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(\n task,\n seed.routeTree,\n seed.data,\n seed.head,\n dynamicStaleAt,\n result.debugInfo\n )\n\n return {\n exitStatus: didReceiveUnknownParallelRoute\n ? NavigationTaskExitStatus.SoftRetry\n : NavigationTaskExitStatus.Done,\n url: new URL(result.canonicalUrl, location.origin),\n seed,\n }\n } catch {\n // This shouldn't happen because fetchServerResponse's entire body is\n // wrapped in a try/catch. If it does, though, it implies the server failed\n // to respond with any tree at all. So we must fall back to a hard retry.\n return {\n exitStatus: NavigationTaskExitStatus.HardRetry,\n url: url,\n seed: null,\n }\n }\n}\n\nfunction writeDynamicDataIntoNavigationTask(\n task: NavigationTask,\n serverRouteTree: RouteTree,\n dynamicData: CacheNodeSeedData | null,\n dynamicHead: HeadData,\n dynamicStaleAt: number,\n debugInfo: Array | null\n): boolean {\n if (task.status === NavigationTaskStatus.Pending && dynamicData !== null) {\n task.status = NavigationTaskStatus.Fulfilled\n finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo)\n\n // Update the BFCache entry's staleAt for this segment with the value\n // from the dynamic response. This applies the per-page\n // unstable_dynamicStaleTime if set, or the default DYNAMIC_STALETIME_MS.\n // We only update segments that received dynamic data — static segments\n // are unaffected.\n updateBFCacheEntryStaleAt(serverRouteTree.varyPath, dynamicStaleAt)\n }\n\n const taskChildren = task.children\n const serverChildren = serverRouteTree.slots\n const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null\n\n // Detect whether the server sends a parallel route slot that the client\n // doesn't know about.\n let didReceiveUnknownParallelRoute = false\n\n if (taskChildren !== null) {\n if (serverChildren !== null) {\n for (const parallelRouteKey in serverChildren) {\n const serverRouteTreeChild: RouteTree = serverChildren[parallelRouteKey]\n const dynamicDataChild: CacheNodeSeedData | null | void =\n dynamicDataChildren !== null\n ? dynamicDataChildren[parallelRouteKey]\n : null\n\n const taskChild = taskChildren.get(parallelRouteKey)\n if (taskChild === undefined) {\n // The server sent a child segment that the client doesn't know about.\n //\n // When we receive an unknown parallel route, we must consider it a\n // mismatch. This is unlike the case where the segment itself\n // mismatches, because multiple routes can be active simultaneously.\n // But a given layout should never have a mismatching set of\n // child slots.\n //\n // Theoretically, this should only happen in development during an HMR\n // refresh, because the set of parallel routes for a layout does not\n // change over the lifetime of a build/deployment. In production, we\n // should have already mismatched on either the build id or the segment\n // path. But as an extra precaution, we validate in prod, too.\n didReceiveUnknownParallelRoute = true\n } else {\n const taskSegment = taskChild.route[0]\n const serverSegment = createSegmentFromRouteTree(serverRouteTreeChild)\n if (\n matchSegment(serverSegment, taskSegment) &&\n dynamicDataChild !== null &&\n dynamicDataChild !== undefined\n ) {\n // Found a match for this task. Keep traversing down the task tree.\n const childDidReceiveUnknownParallelRoute =\n writeDynamicDataIntoNavigationTask(\n taskChild,\n serverRouteTreeChild,\n dynamicDataChild,\n dynamicHead,\n dynamicStaleAt,\n debugInfo\n )\n if (childDidReceiveUnknownParallelRoute) {\n didReceiveUnknownParallelRoute = true\n }\n }\n }\n }\n } else {\n if (serverChildren !== null) {\n // The server sent a child segment that the client doesn't know about.\n didReceiveUnknownParallelRoute = true\n }\n }\n }\n\n return didReceiveUnknownParallelRoute\n}\n\nfunction finishPendingCacheNode(\n cacheNode: CacheNode,\n dynamicData: CacheNodeSeedData,\n dynamicHead: HeadData,\n debugInfo: Array | null\n): void {\n // Writes a dynamic response into an existing Cache Node tree. This does _not_\n // create a new tree, it updates the existing tree in-place. So it must follow\n // the Suspense rules of cache safety — it can resolve pending promises, but\n // it cannot overwrite existing data. It can add segments to the tree (because\n // a missing segment will cause the layout router to suspend).\n // but it cannot delete them.\n //\n // We must resolve every promise in the tree, or else it will suspend\n // indefinitely. If we did not receive data for a segment, we will resolve its\n // data promise to `null` to trigger a lazy fetch during render.\n\n // Use the dynamic data from the server to fulfill the deferred RSC promise\n // on the Cache Node.\n const rsc = cacheNode.rsc\n const dynamicSegmentData = dynamicData[0]\n\n if (dynamicSegmentData === null) {\n // This is an empty CacheNode; this particular server request did not\n // render this segment. There may be a separate pending request that will,\n // though, so we won't abort the task until all pending requests finish.\n return\n }\n\n if (rsc === null) {\n // This is a lazy cache node. We can overwrite it. This is only safe\n // because we know that the LayoutRouter suspends if `rsc` is `null`.\n cacheNode.rsc = dynamicSegmentData\n } else if (isDeferredRsc(rsc)) {\n // This is a deferred RSC promise. We can fulfill it with the data we just\n // received from the server. If it was already resolved by a different\n // navigation, then this does nothing because we can't overwrite data.\n rsc.resolve(dynamicSegmentData, debugInfo)\n } else {\n // This is not a deferred RSC promise, nor is it empty, so it must have\n // been populated by a different navigation. We must not overwrite it.\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved with the dynamic head from\n // the server.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(dynamicHead, debugInfo)\n }\n}\n\nfunction abortRemainingPendingTasks(\n task: NavigationTask,\n error: any,\n debugInfo: Array | null\n): NavigationTaskExitStatus {\n let exitStatus\n if (task.status === NavigationTaskStatus.Pending) {\n // The data for this segment is still missing.\n task.status = NavigationTaskStatus.Rejected\n abortPendingCacheNode(task.node, error, debugInfo)\n\n // If the server failed to fulfill the data for this segment, it implies\n // that the route tree received from the server mismatched the tree that\n // was previously prefetched.\n //\n // In an app with fully static routes and no proxy-driven redirects or\n // rewrites, this should never happen, because the route for a URL would\n // always be the same across multiple requests. So, this implies that some\n // runtime routing condition changed, likely in a proxy, without being\n // pushed to the client.\n //\n // When this happens, we treat this the same as a refresh(). The entire\n // tree will be re-rendered from the root.\n if (task.refreshState === null) {\n // Trigger a \"soft\" refresh. Essentially the same as calling `refresh()`\n // in a Server Action.\n exitStatus = NavigationTaskExitStatus.SoftRetry\n } else {\n // The mismatch was discovered inside an inactive parallel route. This\n // implies the inactive parallel route is no longer reachable at the URL\n // that originally rendered it. Fall back to an MPA refresh.\n // TODO: An alternative could be to trigger a soft refresh but to _not_\n // re-use the inactive parallel routes this time. Similar to what would\n // happen if were to do a hard refrehs, but without the HTML page.\n exitStatus = NavigationTaskExitStatus.HardRetry\n }\n } else {\n // This segment finished. (An error here is treated as Done because they are\n // surfaced to the application during render.)\n exitStatus = NavigationTaskExitStatus.Done\n }\n\n const taskChildren = task.children\n if (taskChildren !== null) {\n for (const [, taskChild] of taskChildren) {\n const childExitStatus = abortRemainingPendingTasks(\n taskChild,\n error,\n debugInfo\n )\n // Propagate the exit status up the tree. The statuses are ordered by\n // their precedence.\n if (childExitStatus > exitStatus) {\n exitStatus = childExitStatus\n }\n }\n }\n\n return exitStatus\n}\n\nfunction abortPendingCacheNode(\n cacheNode: CacheNode,\n error: any,\n debugInfo: Array | null\n): void {\n const rsc = cacheNode.rsc\n if (isDeferredRsc(rsc)) {\n if (error === null) {\n // This will trigger a lazy fetch during render.\n rsc.resolve(null, debugInfo)\n } else {\n // This will trigger an error during rendering.\n rsc.reject(error, debugInfo)\n }\n }\n\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved. If an error was provided, we\n // will not resolve it with an error, since this is rendered at the root of\n // the app. We want the segment to error, not the entire app.\n const head = cacheNode.head\n if (isDeferredRsc(head)) {\n head.resolve(null, debugInfo)\n }\n}\n\nconst DEFERRED = Symbol()\n\ntype PendingDeferredRsc = Promise & {\n status: 'pending'\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype FulfilledDeferredRsc = Promise & {\n status: 'fulfilled'\n value: T\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype RejectedDeferredRsc = Promise & {\n status: 'rejected'\n reason: any\n resolve: (value: T, debugInfo: Array | null) => void\n reject: (error: any, debugInfo: Array | null) => void\n tag: Symbol\n _debugInfo: Array\n}\n\ntype DeferredRsc =\n | PendingDeferredRsc\n | FulfilledDeferredRsc\n | RejectedDeferredRsc\n\n// This type exists to distinguish a DeferredRsc from a Flight promise. It's a\n// compromise to avoid adding an extra field on every Cache Node, which would be\n// awkward because the pre-PPR parts of codebase would need to account for it,\n// too. We can remove it once type Cache Node type is more settled.\nexport function isDeferredRsc(value: any): value is DeferredRsc {\n return value && typeof value === 'object' && value.tag === DEFERRED\n}\n\nfunction createDeferredRsc<\n T extends React.ReactNode = React.ReactNode,\n>(): PendingDeferredRsc {\n // Create an unresolved promise that represents data derived from a Flight\n // response. The promise will be resolved later as soon as we start receiving\n // data from the server, i.e. as soon as the Flight client decodes and returns\n // the top-level response object.\n\n // The `_debugInfo` field contains profiling information. Promises that are\n // created by Flight already have this info added by React; for any derived\n // promise created by the router, we need to transfer the Flight debug info\n // onto the derived promise.\n //\n // The debug info represents the latency between the start of the navigation\n // and the start of rendering. (It does not represent the time it takes for\n // whole stream to finish.)\n const debugInfo: Array = []\n\n let resolve: any\n let reject: any\n const pendingRsc = new Promise((res, rej) => {\n resolve = res\n reject = rej\n }) as PendingDeferredRsc\n pendingRsc.status = 'pending'\n pendingRsc.resolve = (value: T, responseDebugInfo: Array | null) => {\n if (pendingRsc.status === 'pending') {\n const fulfilledRsc: FulfilledDeferredRsc = pendingRsc as any\n fulfilledRsc.status = 'fulfilled'\n fulfilledRsc.value = value\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n resolve(value)\n }\n }\n pendingRsc.reject = (error: any, responseDebugInfo: Array | null) => {\n if (pendingRsc.status === 'pending') {\n const rejectedRsc: RejectedDeferredRsc = pendingRsc as any\n rejectedRsc.status = 'rejected'\n rejectedRsc.reason = error\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo)\n }\n reject(error)\n }\n }\n pendingRsc.tag = DEFERRED\n pendingRsc._debugInfo = debugInfo\n\n return pendingRsc\n}\n\n/**\n * Helper for the Instant Navigation Testing API. Waits for the navigation lock\n * to be released before returning. The network request has already completed by\n * the time this is called, so this only delays writing the dynamic data.\n *\n * Not exposed in production builds by default.\n */\nasync function waitForNavigationLock(): Promise {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { waitForNavigationLockIfActive } =\n require('../segment-cache/navigation-testing-lock') as typeof import('../segment-cache/navigation-testing-lock')\n await waitForNavigationLockIfActive()\n }\n}\n","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */\nexport function ensureLeadingSlash(path: string) {\n return path.startsWith('/') ? path : `/${path}`\n}\n","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash'\nimport { isGroupSegment } from '../../segment'\n\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */\nexport function normalizeAppPath(route: string) {\n return ensureLeadingSlash(\n route.split('/').reduce((pathname, segment, index, segments) => {\n // Empty segments are ignored.\n if (!segment) {\n return pathname\n }\n\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname\n }\n\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname\n }\n\n // The last segment (if it's a leaf) should be ignored.\n if (\n (segment === 'page' || segment === 'route') &&\n index === segments.length - 1\n ) {\n return pathname\n }\n\n return `${pathname}/${segment}`\n }, '')\n )\n}\n\n/**\n * Comparator for sorting app paths so that parallel slot paths (containing\n * `/@`) come before the children/root page path. This ensures the last item\n * is always the children page, which is what `renderPageComponent` reads via\n * `appPaths[appPaths.length - 1]`.\n *\n * Without this, route group prefixes like `(group)` (char code 0x28) sort\n * before `@` (0x40), causing the children page to sort first instead of last\n * and leading to a manifest mismatch / 404 in webpack dev mode.\n */\nexport function compareAppPaths(a: string, b: string): number {\n const aHasSlot = a.includes('/@')\n const bHasSlot = b.includes('/@')\n if (aHasSlot && !bHasSlot) return -1\n if (!aHasSlot && bHasSlot) return 1\n return a.localeCompare(b)\n}\n\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */\nexport function normalizeRscURL(url: string) {\n return url.replace(\n /\\.rsc($|\\?)/,\n // $1 ensures `?` is preserved\n '$1'\n )\n}\n","import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n // TODO-APP: add more serious validation\n return (\n path\n .split('/')\n .find((segment) =>\n INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n ) !== undefined\n )\n}\n\ntype InterceptionRouteInformation = {\n /**\n * The intercepting route. This is the route that is being intercepted or the\n * route that the user was coming from. This is matched by the Next-Url\n * header.\n */\n interceptingRoute: string\n\n /**\n * The intercepted route. This is the route that is being intercepted or the\n * route that the user is going to. This is matched by the request pathname.\n */\n interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n path: string\n): InterceptionRouteInformation {\n let interceptingRoute: string | undefined\n let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n let interceptedRoute: string | undefined\n\n for (const segment of path.split('/')) {\n marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n if (marker) {\n ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n break\n }\n }\n\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw new Error(\n `Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`\n )\n }\n\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n switch (marker) {\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute\n }\n break\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n )\n }\n interceptedRoute = interceptingRoute\n .split('/')\n .slice(0, -1)\n .concat(interceptedRoute)\n .join('/')\n break\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute\n break\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n const splitInterceptingRoute = interceptingRoute.split('/')\n if (splitInterceptingRoute.length <= 2) {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n )\n }\n\n interceptedRoute = splitInterceptingRoute\n .slice(0, -2)\n .concat(interceptedRoute)\n .join('/')\n break\n default:\n throw new Error('Invariant: unexpected marker')\n }\n\n return { interceptingRoute, interceptedRoute }\n}\n","import type {\n FlightRouterState,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport { INTERCEPTION_ROUTE_MARKERS } from '../../../shared/lib/router/utils/interception-routes'\nimport type { Params } from '../../../server/request/params'\nimport {\n isGroupSegment,\n DEFAULT_SEGMENT_KEY,\n PAGE_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport { matchSegment } from '../match-segments'\n\nconst removeLeadingSlash = (segment: string): string => {\n return segment[0] === '/' ? segment.slice(1) : segment\n}\n\nconst segmentToPathname = (segment: Segment): string => {\n if (typeof segment === 'string') {\n // 'children' is not a valid path -- it's technically a parallel route that corresponds with the current segment's page\n // if we don't skip it, then the computed pathname might be something like `/children` which doesn't make sense.\n if (segment === 'children') return ''\n\n return segment\n }\n\n return segment[1]\n}\n\nconst segmentToSourcePagePathname = (segment: Segment): string => {\n if (typeof segment === 'string') {\n if (segment === 'children') return ''\n if (segment.startsWith(PAGE_SEGMENT_KEY)) return 'page'\n return segment\n }\n\n const [paramName, , dynamicParamType] = segment\n\n switch (dynamicParamType) {\n case 'c':\n return `[...${paramName}]`\n case 'ci(..)(..)':\n return `(..)(..)[...${paramName}]`\n case 'ci(.)':\n return `(.)[...${paramName}]`\n case 'ci(..)':\n return `(..)[...${paramName}]`\n case 'ci(...)':\n return `(...)[...${paramName}]`\n case 'oc':\n return `[[...${paramName}]]`\n case 'd':\n return `[${paramName}]`\n case 'di(..)(..)':\n return `(..)(..)[${paramName}]`\n case 'di(.)':\n return `(.)[${paramName}]`\n case 'di(..)':\n return `(..)[${paramName}]`\n case 'di(...)':\n return `(...)[${paramName}]`\n default:\n dynamicParamType satisfies never\n return `[${paramName}]`\n }\n}\n\nfunction normalizeSegments(segments: string[]): string {\n return (\n segments.reduce((acc, segment) => {\n segment = removeLeadingSlash(segment)\n if (segment === '' || isGroupSegment(segment)) {\n return acc\n }\n\n return `${acc}/${segment}`\n }, '') || '/'\n )\n}\n\nexport function extractPathFromFlightRouterState(\n flightRouterState: FlightRouterState\n): string | undefined {\n const segment = Array.isArray(flightRouterState[0])\n ? flightRouterState[0][1]\n : flightRouterState[0]\n\n if (\n segment === DEFAULT_SEGMENT_KEY ||\n INTERCEPTION_ROUTE_MARKERS.some((m) => segment.startsWith(m))\n )\n return undefined\n\n if (segment.startsWith(PAGE_SEGMENT_KEY)) return ''\n\n const segments = [segmentToPathname(segment)]\n const parallelRoutes = flightRouterState[1] ?? {}\n\n const childrenPath = parallelRoutes.children\n ? extractPathFromFlightRouterState(parallelRoutes.children)\n : undefined\n\n if (childrenPath !== undefined) {\n segments.push(childrenPath)\n } else {\n for (const [key, value] of Object.entries(parallelRoutes)) {\n if (key === 'children') continue\n\n const childPath = extractPathFromFlightRouterState(value)\n\n if (childPath !== undefined) {\n segments.push(childPath)\n }\n }\n }\n\n return normalizeSegments(segments)\n}\n\nfunction extractSourcePageSegmentsFromFlightRouterState(\n flightRouterState: FlightRouterState\n): string[] | undefined {\n const segment = segmentToSourcePagePathname(flightRouterState[0])\n\n if (segment === DEFAULT_SEGMENT_KEY) {\n return undefined\n }\n\n if (segment === 'page') {\n return [segment]\n }\n\n const parallelRoutes = flightRouterState[1] ?? {}\n\n const childrenPath = parallelRoutes.children\n ? extractSourcePageSegmentsFromFlightRouterState(parallelRoutes.children)\n : undefined\n\n if (childrenPath !== undefined) {\n return segment === ''\n ? childrenPath\n : [removeLeadingSlash(segment), ...childrenPath]\n }\n\n for (const [key, value] of Object.entries(parallelRoutes)) {\n if (key === 'children') continue\n\n const childPath = extractSourcePageSegmentsFromFlightRouterState(value)\n\n if (childPath !== undefined) {\n return segment === ''\n ? childPath\n : [removeLeadingSlash(segment), ...childPath]\n }\n }\n\n return undefined\n}\n\nexport function extractSourcePageFromFlightRouterState(\n flightRouterState: FlightRouterState\n): string | undefined {\n const sourcePageSegments =\n extractSourcePageSegmentsFromFlightRouterState(flightRouterState)\n\n return sourcePageSegments ? `/${sourcePageSegments.join('/')}` : undefined\n}\n\nfunction computeChangedPathImpl(\n treeA: FlightRouterState,\n treeB: FlightRouterState\n): string | null {\n const [segmentA, parallelRoutesA] = treeA\n const [segmentB, parallelRoutesB] = treeB\n\n const normalizedSegmentA = segmentToPathname(segmentA)\n const normalizedSegmentB = segmentToPathname(segmentB)\n\n if (\n INTERCEPTION_ROUTE_MARKERS.some(\n (m) =>\n normalizedSegmentA.startsWith(m) || normalizedSegmentB.startsWith(m)\n )\n ) {\n return ''\n }\n\n if (!matchSegment(segmentA, segmentB)) {\n // once we find where the tree changed, we compute the rest of the path by traversing the tree\n return extractPathFromFlightRouterState(treeB) ?? ''\n }\n\n for (const parallelRouterKey in parallelRoutesA) {\n if (parallelRoutesB[parallelRouterKey]) {\n const changedPath = computeChangedPathImpl(\n parallelRoutesA[parallelRouterKey],\n parallelRoutesB[parallelRouterKey]\n )\n if (changedPath !== null) {\n return `${segmentToPathname(segmentB)}/${changedPath}`\n }\n }\n }\n\n return null\n}\n\nexport function computeChangedPath(\n treeA: FlightRouterState,\n treeB: FlightRouterState\n): string | null {\n const changedPath = computeChangedPathImpl(treeA, treeB)\n\n if (changedPath == null || changedPath === '/') {\n return changedPath\n }\n\n // lightweight normalization to remove route groups\n return normalizeSegments(changedPath.split('/'))\n}\n\n/**\n * Recursively extracts dynamic parameters from FlightRouterState.\n */\nexport function getSelectedParams(\n currentTree: FlightRouterState,\n params: Params = {}\n): Params {\n const parallelRoutes = currentTree[1]\n\n for (const parallelRoute of Object.values(parallelRoutes)) {\n const segment = parallelRoute[0]\n const isDynamicParameter = Array.isArray(segment)\n const segmentValue = isDynamicParameter ? segment[1] : segment\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) continue\n\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll =\n isDynamicParameter && (segment[2] === 'c' || segment[2] === 'oc')\n\n if (isCatchAll) {\n params[segment[0]] = segment[1].split('/')\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1]\n }\n\n params = getSelectedParams(parallelRoute, params)\n }\n\n return params\n}\n","// Adapted from React's sanitizeURL function found here: https://github.com/facebook/react/blob/b565373afd0cc1988497e1107106e851e8cfb261/packages/react-dom-bindings/src/shared/sanitizeURL.js\n\n// A javascript: URL can contain leading C0 control or \\u0020 SPACE,\n// and any newline or tab are filtered out as if they're not part of the URL.\n// https://url.spec.whatwg.org/#url-parsing\n// Tab or newline are defined as \\r\\n\\t:\n// https://infra.spec.whatwg.org/#ascii-tab-or-newline\n// A C0 control is a code point in the range \\u0000 NULL to \\u001F\n// INFORMATION SEPARATOR ONE, inclusive:\n// https://infra.spec.whatwg.org/#c0-control-or-space\n\nconst isJavaScriptProtocol =\n // eslint-disable-next-line no-control-regex\n /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i\n\nexport function isJavaScriptURLString(url: string): boolean {\n return isJavaScriptProtocol.test('' + (url as unknown as string))\n}\n","/**\n * Navigation lock for the Instant Navigation Testing API.\n *\n * Manages the in-memory lock (a promise) that gates dynamic data writes\n * during instant navigation captures, and owns all cookie state\n * transitions (pending → captured-MPA, pending → captured-SPA).\n *\n * External actors (Playwright, devtools) set [0] to start a lock scope\n * and delete the cookie to end one. Next.js writes captured values.\n * The CookieStore handler distinguishes them by value: pending = external,\n * captured = self-write (ignored).\n */\n\nimport type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport { NEXT_INSTANT_TEST_COOKIE } from '../app-router-headers'\nimport { refreshOnInstantNavigationUnlock } from '../use-action-queue'\n\ntype InstantNavCookieState = 'pending' | 'mpa' | 'spa'\n\ntype InstantCookie =\n // pending (waiting to capture)\n | [captured: 0, id: string]\n // captured MPA page load\n | [captured: 1, id: string, state: null]\n // captured SPA navigation (from/to route trees)\n | [\n captured: 1,\n id: string,\n state: { from: FlightRouterState; to: FlightRouterState | null },\n ]\n\nfunction parseCookieValue(raw: string): InstantNavCookieState {\n try {\n const parsed = JSON.parse(raw)\n if (Array.isArray(parsed) && parsed.length >= 3) {\n const rawState = parsed[2]\n return rawState === null ? 'mpa' : 'spa'\n }\n } catch {}\n return 'pending'\n}\n\nfunction writeCookieValue(value: InstantCookie): void {\n if (typeof cookieStore === 'undefined') {\n return\n }\n // Read the existing cookie to preserve its attributes (domain, path),\n // then write back with the new value. This updates the same cookie\n // entry that the external actor created, regardless of how it was\n // scoped.\n cookieStore.get(NEXT_INSTANT_TEST_COOKIE).then((existing: any) => {\n if (existing) {\n const options: any = {\n name: NEXT_INSTANT_TEST_COOKIE,\n value: JSON.stringify(value),\n path: existing.path ?? '/',\n }\n if (existing.domain) {\n options.domain = existing.domain\n }\n cookieStore.set(options)\n }\n })\n}\n\ntype NavigationLockState = {\n promise: Promise\n resolve: () => void\n}\n\nlet lockState: NavigationLockState | null = null\n\nfunction acquireLock(): void {\n if (lockState !== null) {\n return\n }\n let resolve: () => void\n const promise = new Promise((r) => {\n resolve = r\n })\n lockState = { promise, resolve: resolve! }\n}\n\nfunction releaseLock(): void {\n if (lockState !== null) {\n lockState.resolve()\n lockState = null\n }\n}\n\n/**\n * Sets up the cookie-based lock. Handles the initial page load state and\n * registers a CookieStore listener for runtime changes.\n *\n * Called once during page initialization from app-globals.ts.\n */\nexport function startListeningForInstantNavigationCookie(): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // If the server served a static shell, this is an MPA page load\n // while the lock is held. Transition to captured-MPA and acquire.\n if (self.__next_instant_test) {\n if (typeof cookieStore !== 'undefined') {\n // If the cookie was already cleared during the MPA page\n // transition, reload to get the full dynamic page.\n cookieStore.get(NEXT_INSTANT_TEST_COOKIE).then((cookie: any) => {\n if (!cookie) {\n window.location.reload()\n }\n })\n }\n\n writeCookieValue([1, `c${Math.random()}`, null])\n acquireLock()\n }\n\n if (typeof cookieStore === 'undefined') {\n return\n }\n\n cookieStore.addEventListener('change', (event: CookieChangeEvent) => {\n for (const cookie of event.changed) {\n if (cookie.name === NEXT_INSTANT_TEST_COOKIE) {\n const state = parseCookieValue(cookie.value ?? '')\n\n if (state !== 'pending') {\n // Captured value — our own transition. Ignore.\n return\n }\n\n // Pending value — external actor starting a new lock scope.\n if (lockState !== null) {\n releaseLock()\n }\n acquireLock()\n return\n }\n }\n\n for (const cookie of event.deleted) {\n if (cookie.name === NEXT_INSTANT_TEST_COOKIE) {\n releaseLock()\n refreshOnInstantNavigationUnlock()\n return\n }\n }\n })\n }\n}\n\n/**\n * Transitions the cookie from pending to captured-SPA. Called when a\n * client-side navigation is captured by the lock.\n *\n * @param fromTree - The flight router state of the from-route\n * @param toTree - The flight router state of the to-route (null if not yet known)\n */\nexport function transitionToCapturedSPA(\n fromTree: FlightRouterState,\n toTree: FlightRouterState | null\n): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n writeCookieValue([1, `c${Math.random()}`, { from: fromTree, to: toTree }])\n }\n}\n\n/**\n * Updates the captured-SPA cookie with the resolved route trees.\n * Called after the prefetch resolves and the target route tree is known.\n */\nexport function updateCapturedSPAToTree(\n fromTree: FlightRouterState,\n toTree: FlightRouterState\n): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n writeCookieValue([1, `c${Math.random()}`, { from: fromTree, to: toTree }])\n }\n}\n\n/**\n * Returns true if the navigation lock is currently active.\n */\nexport function isNavigationLocked(): boolean {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n return lockState !== null\n }\n return false\n}\n\n/**\n * Waits for the navigation lock to be released, if it's currently held.\n * No-op if the lock is not acquired.\n */\nexport async function waitForNavigationLockIfActive(): Promise {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n if (lockState !== null) {\n await lockState.promise\n }\n }\n}\n","import type {\n CacheNodeSeedData,\n FlightRouterState,\n FlightSegmentPath,\n ScrollRef,\n} from '../../../shared/lib/app-router-types'\nimport type { CacheNode } from '../../../shared/lib/app-router-types'\nimport type { HeadData } from '../../../shared/lib/app-router-types'\nimport type { NormalizedFlightData } from '../../flight-data-helpers'\nimport { fetchServerResponse } from '../router-reducer/fetch-server-response'\nimport {\n startPPRNavigation,\n spawnDynamicRequests,\n FreshnessPolicy,\n type NavigationRequestAccumulation,\n} from '../router-reducer/ppr-navigations'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants'\nimport {\n EntryStatus,\n readRouteCacheEntry,\n deprecated_requestOptimisticRouteCacheEntry,\n convertRootFlightRouterStateToRouteTree,\n getStaleAt,\n writeStaticStageResponseIntoCache,\n processRuntimePrefetchStream,\n writeDynamicRenderResponseIntoCache,\n type RouteTree,\n type FulfilledRouteCacheEntry,\n} from './cache'\nimport { discoverKnownRoute } from './optimistic-routes'\nimport { createCacheKey, type NormalizedSearch } from './cache-key'\nimport { schedulePrefetchTask } from './scheduler'\nimport { PrefetchPriority, FetchStrategy } from './types'\nimport { getLinkForCurrentNavigation } from '../links'\nimport type { PageVaryPath } from './vary-path'\nimport type { AppRouterState } from '../router-reducer/router-reducer-types'\nimport { ScrollBehavior } from '../router-reducer/router-reducer-types'\nimport { computeChangedPath } from '../router-reducer/compute-changed-path'\nimport { isJavaScriptURLString } from '../../lib/javascript-url'\nimport { UnknownDynamicStaleTime, computeDynamicStaleAt } from './bfcache'\n\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */\nexport function navigate(\n state: AppRouterState,\n url: URL,\n currentUrl: URL,\n currentRenderedSearch: string,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace'\n): AppRouterState | Promise {\n // Instant Navigation Testing API: when the lock is active, ensure a\n // prefetch task has been initiated before proceeding with the navigation.\n // This guarantees that segment data requests are at least pending, even\n // for routes that already have a cached route tree. Without this, the\n // static shell might be incomplete because some segments were never\n // requested.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { isNavigationLocked } =\n require('./navigation-testing-lock') as typeof import('./navigation-testing-lock')\n if (isNavigationLocked()) {\n return ensurePrefetchThenNavigate(\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n nextUrl,\n freshnessPolicy,\n scrollBehavior,\n navigateType\n )\n }\n }\n\n return navigateImpl(\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n nextUrl,\n freshnessPolicy,\n scrollBehavior,\n navigateType\n )\n}\n\nfunction navigateImpl(\n state: AppRouterState,\n url: URL,\n currentUrl: URL,\n currentRenderedSearch: string,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace'\n): AppRouterState | Promise {\n const now = Date.now()\n const href = url.href\n\n const cacheKey = createCacheKey(href, nextUrl)\n const route = readRouteCacheEntry(now, cacheKey)\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n return navigateUsingPrefetchedRouteTree(\n now,\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n scrollBehavior,\n navigateType,\n route\n )\n }\n\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree using the deprecated search-params\n // based matching. This is only used when the new optimisticRouting flag is\n // disabled.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (!process.env.__NEXT_OPTIMISTIC_ROUTING) {\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = deprecated_requestOptimisticRouteCacheEntry(\n now,\n url,\n nextUrl\n )\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n return navigateUsingPrefetchedRouteTree(\n now,\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n scrollBehavior,\n navigateType,\n optimisticRoute\n )\n }\n }\n }\n\n // There's no matching prefetch for this route in the cache. We must lazily\n // fetch it from the server before we can perform the navigation.\n //\n // TODO: If this is a gesture navigation, instead of performing a\n // dynamic request, we should do a runtime prefetch.\n return navigateToUnknownRoute(\n now,\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n nextUrl,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n scrollBehavior,\n navigateType\n ).catch(() => {\n // If the navigation fails, return the current state\n return state\n })\n}\n\nexport function navigateToKnownRoute(\n now: number,\n state: AppRouterState,\n url: URL,\n canonicalUrl: string,\n navigationSeed: NavigationSeed,\n currentUrl: URL,\n currentRenderedSearch: string,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n nextUrl: string | null,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace',\n debugInfo: Array | null,\n // The route cache entry used for this navigation, if it came from route\n // prediction. Passed through so it can be marked as having a dynamic rewrite\n // if the server returns a different pathname (indicating dynamic rewrite\n // behavior).\n //\n // When null, the navigation did not use route prediction - either because\n // the route was already fully cached, or it's a navigation that doesn't\n // involve prediction (refresh, history traversal, server action, etc.).\n // In these cases, if a mismatch occurs, we still mark the route as having a\n // dynamic rewrite by traversing the known route tree (see\n // dispatchRetryDueToTreeMismatch).\n routeCacheEntry: FulfilledRouteCacheEntry | null\n): AppRouterState {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation: NavigationRequestAccumulation = {\n separateRefreshUrls: null,\n scrollRef: null,\n }\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = url.href === currentUrl.href\n const task = startPPRNavigation(\n now,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n navigationSeed.routeTree,\n navigationSeed.metadataVaryPath,\n freshnessPolicy,\n navigationSeed.data,\n navigationSeed.head,\n navigationSeed.dynamicStaleAt,\n isSamePageNavigation,\n accumulation\n )\n if (task !== null) {\n if (freshnessPolicy !== FreshnessPolicy.Gesture) {\n spawnDynamicRequests(\n task,\n url,\n nextUrl,\n freshnessPolicy,\n accumulation,\n routeCacheEntry,\n navigateType\n )\n }\n return completeSoftNavigation(\n state,\n url,\n nextUrl,\n task.route,\n task.node,\n navigationSeed.renderedSearch,\n canonicalUrl,\n navigateType,\n scrollBehavior,\n accumulation.scrollRef,\n debugInfo\n )\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return completeHardNavigation(state, url, navigateType)\n}\n\nfunction navigateUsingPrefetchedRouteTree(\n now: number,\n state: AppRouterState,\n url: URL,\n currentUrl: URL,\n currentRenderedSearch: string,\n nextUrl: string | null,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace',\n route: FulfilledRouteCacheEntry\n): AppRouterState {\n const routeTree = route.tree\n const canonicalUrl = route.canonicalUrl + url.hash\n const renderedSearch = route.renderedSearch\n const prefetchSeed: NavigationSeed = {\n renderedSearch,\n routeTree,\n metadataVaryPath: route.metadata.varyPath as any,\n data: null,\n head: null,\n dynamicStaleAt: computeDynamicStaleAt(now, UnknownDynamicStaleTime),\n }\n return navigateToKnownRoute(\n now,\n state,\n url,\n canonicalUrl,\n prefetchSeed,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n scrollBehavior,\n navigateType,\n null,\n route\n )\n}\n\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute: FlightRouterState = [\n '',\n {},\n null,\n 'refetch',\n]\n\nasync function navigateToUnknownRoute(\n now: number,\n state: AppRouterState,\n url: URL,\n currentUrl: URL,\n currentRenderedSearch: string,\n nextUrl: string | null,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n freshnessPolicy: FreshnessPolicy,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace'\n): Promise {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n\n let dynamicRequestTree: FlightRouterState\n switch (freshnessPolicy) {\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n case FreshnessPolicy.Gesture:\n dynamicRequestTree = currentFlightRouterState\n break\n case FreshnessPolicy.Hydration: // <- shouldn't happen during client nav\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute\n break\n default:\n freshnessPolicy satisfies never\n dynamicRequestTree = currentFlightRouterState\n break\n }\n\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n })\n const result = await promiseForDynamicServerResponse\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const redirectUrl = new URL(result, location.origin)\n return completeHardNavigation(state, redirectUrl, navigateType)\n }\n\n const {\n flightData,\n canonicalUrl,\n renderedSearch,\n couldBeIntercepted,\n supportsPerSegmentPrefetching,\n dynamicStaleTime,\n staticStageData,\n runtimePrefetchStream,\n responseHeaders,\n debugInfo,\n } = result\n\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(\n now,\n currentFlightRouterState,\n flightData,\n renderedSearch,\n dynamicStaleTime\n )\n\n // Learn the route pattern so we can predict it for future navigations.\n // hasDynamicRewrite is false because this is a fresh navigation to an\n // unknown route - any rewrite detection happens during the traversal inside\n // discoverKnownRoute. The hasDynamicRewrite param is only set to true when\n // retrying after a tree mismatch (see dispatchRetryDueToTreeMismatch).\n const metadataVaryPath = navigationSeed.metadataVaryPath\n if (metadataVaryPath !== null) {\n discoverKnownRoute(\n now,\n url.pathname,\n nextUrl,\n null, // No pending entry\n navigationSeed.routeTree,\n metadataVaryPath,\n couldBeIntercepted,\n createHrefFromUrl(canonicalUrl),\n supportsPerSegmentPrefetching,\n false // hasDynamicRewrite - not a retry, rewrite detection happens during traversal\n )\n\n if (staticStageData !== null) {\n const { response: staticStageResponse, isResponsePartial } =\n staticStageData\n\n // Write the static stage of the response into the segment cache so that\n // subsequent navigations can serve cached static segments instantly.\n getStaleAt(now, staticStageResponse.s)\n .then((staleAt) => {\n const buildId =\n responseHeaders.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n staticStageResponse.b\n\n writeStaticStageResponseIntoCache(\n now,\n staticStageResponse.f,\n buildId,\n staticStageResponse.h,\n staleAt,\n currentFlightRouterState,\n renderedSearch,\n isResponsePartial\n )\n })\n .catch(() => {\n // The static stage processing failed. Not fatal — the navigation\n // completed normally, we just won't write into the cache.\n })\n }\n\n if (runtimePrefetchStream !== null) {\n processRuntimePrefetchStream(\n now,\n runtimePrefetchStream,\n currentFlightRouterState,\n renderedSearch\n )\n .then((processed) => {\n if (processed !== null) {\n writeDynamicRenderResponseIntoCache(\n now,\n FetchStrategy.PPRRuntime,\n processed.flightDatas,\n processed.buildId,\n processed.isResponsePartial,\n processed.headVaryParams,\n processed.staleAt,\n processed.navigationSeed,\n null\n )\n }\n })\n .catch(() => {\n // The runtime prefetch cache write failed. Not fatal — the\n // navigation completed normally, we just won't cache runtime data.\n })\n }\n }\n\n return navigateToKnownRoute(\n now,\n state,\n url,\n createHrefFromUrl(canonicalUrl),\n navigationSeed,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n freshnessPolicy,\n nextUrl,\n scrollBehavior,\n navigateType,\n debugInfo,\n // Unknown route navigations don't use route prediction - the route tree\n // came directly from the server. If a mismatch occurs during dynamic data\n // fetch, the retry handler will traverse the known route tree to mark the\n // entry as having a dynamic rewrite.\n null\n )\n}\n\nexport function completeHardNavigation(\n state: AppRouterState,\n url: URL,\n navigateType: 'push' | 'replace'\n): AppRouterState {\n if (isJavaScriptURLString(url.href)) {\n console.error(\n 'Next.js has blocked a javascript: URL as a security precaution.'\n )\n return state\n }\n const newState: AppRouterState = {\n canonicalUrl:\n url.origin === location.origin ? createHrefFromUrl(url) : url.href,\n pushRef: {\n pendingPush: navigateType === 'push',\n mpaNavigation: true,\n preserveCustomHistoryState: false,\n },\n // TODO: None of the rest of these values are consistent with the incoming\n // navigation. We rely on the fact that AppRouter will suspend and trigger\n // a hard navigation before it accesses any of these values. But instead\n // we should trigger the hard navigation and blocking any subsequent\n // router updates without updating React.\n renderedSearch: state.renderedSearch,\n focusAndScrollRef: state.focusAndScrollRef,\n cache: state.cache,\n tree: state.tree,\n nextUrl: state.nextUrl,\n previousNextUrl: state.previousNextUrl,\n debugInfo: null,\n }\n return newState\n}\n\nexport function completeSoftNavigation(\n oldState: AppRouterState,\n url: URL,\n referringNextUrl: string | null,\n tree: FlightRouterState,\n cache: CacheNode,\n renderedSearch: string,\n canonicalUrl: string,\n navigateType: 'push' | 'replace',\n scrollBehavior: ScrollBehavior,\n scrollRef: ScrollRef | null,\n collectedDebugInfo: Array | null\n) {\n // The \"Next-Url\" is a special representation of the URL that Next.js\n // uses to implement interception routes.\n // TODO: Get rid of this extra traversal by computing this during the\n // same traversal that computes the tree itself. We should also figure out\n // what is the minimum information needed for the server to correctly\n // intercept the route.\n const changedPath = computeChangedPath(oldState.tree, tree)\n const nextUrlForNewRoute = changedPath ? changedPath : oldState.nextUrl\n\n // This value is stored on the state as `previousNextUrl`; the naming is\n // confusing. What it represents is the \"Next-Url\" header that was used to\n // fetch the incoming route. It's essentially the refererer URL, but in a\n // Next.js specific format. During refreshes, this is sent back to the server\n // instead of the current route's \"Next-Url\" so that the same interception\n // logic is applied as during the original navigation.\n const previousNextUrl = referringNextUrl\n\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(oldState.canonicalUrl, url)\n const onlyHashChange =\n // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname &&\n url.search === oldUrl.search &&\n url.hash !== oldUrl.hash\n\n // Determine whether and how the page should scroll after this\n // navigation.\n //\n // By default, we scroll to the segments that were navigated to — i.e.\n // segments in the new part of the route, as opposed to shared segments\n // that were already part of the previous route. All newly navigated\n // segments share a single ScrollRef. When they mount, the first one\n // to mount initiates the scroll. They share a ref so that only one\n // scroll happens per navigation.\n //\n // If a subsequent navigation produces new segments, those supersede\n // any pending scroll from the previous navigation by invalidating its\n // ScrollRef. If a navigation doesn't produce any new segments (e.g.\n // a refresh where the route structure didn't change), any pending\n // scrolls from previous navigations are unaffected.\n //\n // The branches below handle special cases layered on top of this\n // default model.\n let activeScrollRef: ScrollRef | null\n let forceScroll: boolean\n if (scrollBehavior === ScrollBehavior.NoScroll) {\n // The user explicitly opted out of scrolling (e.g. scroll={false}\n // on a Link or router.push).\n //\n // If this navigation created new scroll targets (scrollRef !== null),\n // neutralize them. If it didn't, any prior scroll targets carried\n // forward on the cache nodes via reuseSharedCacheNode remain active.\n if (scrollRef !== null) {\n scrollRef.current = false\n }\n activeScrollRef = oldState.focusAndScrollRef.scrollRef\n forceScroll = false\n } else if (onlyHashChange) {\n // Hash-only navigations should scroll regardless of per-node state.\n // Create a fresh ref so the first segment to scroll consumes it.\n //\n // Invalidate any scroll ref from a prior navigation that hasn't\n // been consumed yet.\n const oldScrollRef = oldState.focusAndScrollRef.scrollRef\n if (oldScrollRef !== null) {\n oldScrollRef.current = false\n }\n // Also invalidate any per-node refs that were accumulated during\n // this navigation's tree construction — the hash-only ref\n // supersedes them.\n if (scrollRef !== null) {\n scrollRef.current = false\n }\n activeScrollRef = { current: true }\n forceScroll = true\n } else {\n // Default case. Use the accumulated scrollRef (may be null if no\n // new segments were created). The handler checks per-node refs, so\n // unchanged parallel route slots won't scroll.\n activeScrollRef = scrollRef\n\n // If this navigation created new scroll targets, invalidate any\n // pending scroll from a previous navigation.\n if (scrollRef !== null) {\n const oldScrollRef = oldState.focusAndScrollRef.scrollRef\n if (oldScrollRef !== null) {\n oldScrollRef.current = false\n }\n }\n forceScroll = false\n }\n\n const newState: AppRouterState = {\n canonicalUrl,\n renderedSearch,\n pushRef: {\n pendingPush: navigateType === 'push',\n mpaNavigation: false,\n preserveCustomHistoryState: false,\n },\n focusAndScrollRef: {\n scrollRef: activeScrollRef,\n forceScroll,\n onlyHashChange,\n hashFragment:\n // Remove leading # and decode hash to make non-latin hashes work.\n //\n // Empty hash should trigger default behavior of scrolling layout into\n // view. #top is handled in layout-router.\n //\n // Refer to `ScrollAndFocusHandler` for details on how this is used.\n scrollBehavior !== ScrollBehavior.NoScroll && url.hash !== ''\n ? decodeURIComponent(url.hash.slice(1))\n : oldState.focusAndScrollRef.hashFragment,\n },\n cache,\n tree,\n nextUrl: nextUrlForNewRoute,\n previousNextUrl,\n debugInfo: collectedDebugInfo,\n }\n return newState\n}\n\nexport function completeTraverseNavigation(\n state: AppRouterState,\n url: URL,\n renderedSearch: string,\n cache: CacheNode,\n tree: FlightRouterState,\n nextUrl: string | null\n) {\n return {\n // Set canonical url\n canonicalUrl: createHrefFromUrl(url),\n renderedSearch,\n pushRef: {\n pendingPush: false,\n mpaNavigation: false,\n // Ensures that the custom history state that was set is preserved when applying this update.\n preserveCustomHistoryState: true,\n },\n focusAndScrollRef: state.focusAndScrollRef,\n cache,\n // Restore provided tree\n tree,\n nextUrl,\n // TODO: We need to restore previousNextUrl, too, which represents the\n // Next-Url that was used to fetch the data. Anywhere we fetch using the\n // canonical URL, there should be a corresponding Next-Url.\n previousNextUrl: null,\n debugInfo: null,\n }\n}\n\n// TODO: The rest of this file is related to converting the server response into\n// the data structures used by the client. Probably should move to a\n// separate module.\n\nexport type NavigationSeed = {\n renderedSearch: string\n routeTree: RouteTree\n metadataVaryPath: PageVaryPath | null\n data: CacheNodeSeedData | null\n head: HeadData | null\n dynamicStaleAt: number\n}\n\nexport function convertServerPatchToFullTree(\n now: number,\n currentTree: FlightRouterState,\n flightData: Array | null,\n renderedSearch: string,\n dynamicStaleTimeSeconds: number\n): NavigationSeed {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n\n let baseTree: FlightRouterState = currentTree\n let baseData: CacheNodeSeedData | null = null\n let head: HeadData | null = null\n if (flightData !== null) {\n for (const {\n segmentPath,\n tree: treePatch,\n seedData: dataPatch,\n head: headPatch,\n } of flightData) {\n const result = convertServerPatchToFullTreeImpl(\n baseTree,\n baseData,\n treePatch,\n dataPatch,\n segmentPath,\n renderedSearch,\n 0\n )\n baseTree = result.tree\n baseData = result.data\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch\n }\n }\n\n const finalFlightRouterState = baseTree\n\n // Convert the final FlightRouterState into a RouteTree type.\n //\n // TODO: Eventually, FlightRouterState will evolve to being a transport format\n // only. The RouteTree type will become the main type used for dealing with\n // routes on the client, and we'll store it in the state directly.\n const acc = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n finalFlightRouterState,\n renderedSearch as NormalizedSearch,\n acc\n )\n\n return {\n routeTree,\n metadataVaryPath: acc.metadataVaryPath,\n data: baseData,\n renderedSearch,\n head,\n dynamicStaleAt: computeDynamicStaleAt(now, dynamicStaleTimeSeconds),\n }\n}\n\nfunction convertServerPatchToFullTreeImpl(\n baseRouterState: FlightRouterState,\n baseData: CacheNodeSeedData | null,\n treePatch: FlightRouterState,\n dataPatch: CacheNodeSeedData | null,\n segmentPath: FlightSegmentPath,\n renderedSearch: string,\n index: number\n): { tree: FlightRouterState; data: CacheNodeSeedData | null } {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch,\n }\n }\n\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey: string = segmentPath[index]\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n\n const baseTreeChildren = baseRouterState[1]\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null\n const newTreeChildren: Record = {}\n const newSeedDataChildren: Record = {}\n for (const parallelRouteKey in baseTreeChildren) {\n const childBaseRouterState = baseTreeChildren[parallelRouteKey]\n const childBaseSeedData =\n baseSeedDataChildren !== null\n ? (baseSeedDataChildren[parallelRouteKey] ?? null)\n : null\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(\n childBaseRouterState,\n childBaseSeedData,\n treePatch,\n dataPatch,\n segmentPath,\n renderedSearch,\n // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2\n )\n\n newTreeChildren[parallelRouteKey] = result.tree\n newSeedDataChildren[parallelRouteKey] = result.data\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData\n }\n }\n\n let clonedTree: FlightRouterState\n let clonedSeedData: CacheNodeSeedData\n // Clone all the fields except the children.\n\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [baseRouterState[0], newTreeChildren]\n if (2 in baseRouterState) {\n const compressedRefreshState = baseRouterState[2]\n if (\n compressedRefreshState !== undefined &&\n compressedRefreshState !== null\n ) {\n // Since this part of the tree was patched with new data, any parent\n // refresh states should be updated to reflect the new rendered search\n // value. (The refresh state acts like a \"context provider\".) All pages\n // within the same server response share the same renderedSearch value,\n // but the same RouteTree could be composed from multiple different\n // routes, and multiple responses.\n clonedTree[2] = [compressedRefreshState[0], renderedSearch]\n }\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3]\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4]\n }\n\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n null,\n ]\n\n return {\n tree: clonedTree,\n data: clonedSeedData,\n }\n}\n\n/**\n * Instant Navigation Testing API: ensures a prefetch task has been initiated\n * and completed before proceeding with the navigation. This guarantees that\n * segment data requests are at least pending, even for routes whose route\n * tree is already cached.\n *\n * After the prefetch completes, delegates to the normal navigation flow.\n */\nasync function ensurePrefetchThenNavigate(\n state: AppRouterState,\n url: URL,\n currentUrl: URL,\n currentRenderedSearch: string,\n currentCacheNode: CacheNode | null,\n currentFlightRouterState: FlightRouterState,\n nextUrl: string | null,\n freshnessPolicy: FreshnessPolicy,\n scrollBehavior: ScrollBehavior,\n navigateType: 'push' | 'replace'\n): Promise {\n const link = getLinkForCurrentNavigation()\n const fetchStrategy = link !== null ? link.fetchStrategy : FetchStrategy.PPR\n\n // Transition the cookie to captured-SPA immediately, before waiting\n // for the prefetch. This ensures the devtools panel can update its UI\n // right away, even if the prefetch takes time (e.g. dev compilation).\n // The \"to\" tree starts as null and is filled in after the prefetch\n // resolves and the navigation produces a new router state.\n const { transitionToCapturedSPA, updateCapturedSPAToTree } =\n require('./navigation-testing-lock') as typeof import('./navigation-testing-lock')\n transitionToCapturedSPA(currentFlightRouterState, null)\n\n const cacheKey = createCacheKey(url.href, nextUrl)\n\n await new Promise((resolve) => {\n schedulePrefetchTask(\n cacheKey,\n currentFlightRouterState,\n fetchStrategy,\n PrefetchPriority.Default,\n null, // onInvalidate\n resolve // _onComplete callback\n )\n })\n\n // Prefetch is complete. Proceed with the normal navigation flow, which\n // will now find the route in the cache.\n const result = await navigateImpl(\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n currentCacheNode,\n currentFlightRouterState,\n nextUrl,\n freshnessPolicy,\n scrollBehavior,\n navigateType\n )\n\n // Update the cookie with the resolved \"to\" tree so the devtools\n // panel can display both routes immediately.\n updateCapturedSPAToTree(currentFlightRouterState, result.tree)\n\n return result\n}\n","import type {\n NavigateAction,\n ReadonlyReducerState,\n ReducerState,\n} from '../router-reducer-types'\n\nimport {\n completeHardNavigation,\n navigate as navigateUsingSegmentCache,\n} from '../../segment-cache/navigation'\nimport { getStaleTimeMs } from '../../segment-cache/cache'\nimport { FreshnessPolicy } from '../ppr-navigations'\n\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS =\n Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000\n\nexport const STATIC_STALETIME_MS = getStaleTimeMs(\n Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME)\n)\n\nexport function navigateReducer(\n state: ReadonlyReducerState,\n action: NavigateAction\n): ReducerState {\n const { url, isExternalUrl, navigateType, scrollBehavior } = action\n\n if (isExternalUrl) {\n return completeHardNavigation(state, url, navigateType)\n }\n\n // Handles case where `` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return completeHardNavigation(state, url, navigateType)\n }\n\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin)\n const currentRenderedSearch = state.renderedSearch\n return navigateUsingSegmentCache(\n state,\n url,\n currentUrl,\n currentRenderedSearch,\n state.cache,\n state.tree,\n state.nextUrl,\n FreshnessPolicy.Default,\n scrollBehavior,\n navigateType\n )\n}\n","import { DYNAMIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport type { SegmentVaryPath } from './vary-path'\n\n/**\n * Sentinel value indicating that no per-page dynamic stale time was provided.\n * When this is the dynamicStaleTime, the default DYNAMIC_STALETIME_MS is used.\n */\nexport const UnknownDynamicStaleTime = -1\n\n/**\n * Converts a dynamic stale time (in seconds, as sent by the server in the `d`\n * field of the Flight response) to an absolute staleAt timestamp. When the\n * value is unknown, falls back to the global DYNAMIC_STALETIME_MS.\n */\nexport function computeDynamicStaleAt(\n now: number,\n dynamicStaleTimeSeconds: number\n): number {\n return dynamicStaleTimeSeconds !== UnknownDynamicStaleTime\n ? now + dynamicStaleTimeSeconds * 1000\n : now + DYNAMIC_STALETIME_MS\n}\nimport {\n setInCacheMap,\n getFromCacheMap,\n type UnknownMapEntry,\n type CacheMap,\n createCacheMap,\n} from './cache-map'\n\nexport type BFCacheEntry = {\n rsc: React.ReactNode | null\n prefetchRsc: React.ReactNode | null\n head: React.ReactNode | null\n prefetchHead: React.ReactNode | null\n\n ref: UnknownMapEntry | null\n size: number\n // The time at which this data was received. Used to compute the stale time\n // for dynamic prefetches (which use STATIC_STALETIME_MS instead of\n // DYNAMIC_STALETIME_MS). Stored explicitly because staleAt may be\n // overridden by a per-page unstable_dynamicStaleTime, which would break\n // any reverse calculation from staleAt.\n navigatedAt: number\n staleAt: number\n version: number\n}\n\nconst bfcacheMap: CacheMap = createCacheMap()\n\nlet currentBfCacheVersion = 0\n\nexport function invalidateBfCache(): void {\n if (typeof window === 'undefined') {\n return\n }\n currentBfCacheVersion++\n}\n\nexport function writeToBFCache(\n now: number,\n varyPath: SegmentVaryPath,\n rsc: React.ReactNode,\n prefetchRsc: React.ReactNode,\n head: React.ReactNode,\n prefetchHead: React.ReactNode,\n dynamicStaleAt: number\n): void {\n if (typeof window === 'undefined') {\n return\n }\n\n const entry: BFCacheEntry = {\n rsc,\n prefetchRsc,\n\n // TODO: These fields will be removed from both BFCacheEntry and\n // SegmentCacheEntry. The head has its own separate cache entry.\n head,\n prefetchHead,\n\n ref: null,\n // TODO: This is just a heuristic. Getting the actual size of the segment\n // isn't feasible because it's part of a larger streaming response. The\n // LRU will still evict it, we just won't have a fully accurate total\n // LRU size. However, we'll probably remove the size tracking from the LRU\n // entirely and use memory pressure events instead.\n size: 100,\n\n navigatedAt: now,\n\n // A back/forward navigation will disregard the stale time. This field is\n // only relevant when staleTimes.dynamic is enabled or unstable_dynamicStaleTime\n // is exported by a page.\n staleAt: dynamicStaleAt,\n version: currentBfCacheVersion,\n }\n const isRevalidation = false\n setInCacheMap(bfcacheMap, varyPath, entry, isRevalidation)\n}\n\nexport function writeHeadToBFCache(\n now: number,\n varyPath: SegmentVaryPath,\n head: React.ReactNode,\n prefetchHead: React.ReactNode,\n dynamicStaleAt: number\n): void {\n // Read the special \"segment\" that represents the head data.\n writeToBFCache(now, varyPath, head, prefetchHead, null, null, dynamicStaleAt)\n}\n\n/**\n * Update the staleAt of an existing BFCache entry. Used after a dynamic\n * response arrives with a per-page stale time from `unstable_dynamicStaleTime`.\n * The per-page value is authoritative — it overrides whatever staleAt was set\n * by the default DYNAMIC_STALETIME_MS.\n */\nexport function updateBFCacheEntryStaleAt(\n varyPath: SegmentVaryPath,\n newStaleAt: number\n): void {\n if (typeof window === 'undefined') {\n return\n }\n const isRevalidation = false\n // Read with staleness bypass (-1) so we can update even stale entries\n const entry = getFromCacheMap(\n -1,\n currentBfCacheVersion,\n bfcacheMap,\n varyPath,\n isRevalidation\n )\n if (entry !== null) {\n entry.staleAt = newStaleAt\n }\n}\n\nexport function readFromBFCache(\n varyPath: SegmentVaryPath\n): BFCacheEntry | null {\n if (typeof window === 'undefined') {\n return null\n }\n const isRevalidation = false\n return getFromCacheMap(\n // During a back/forward navigation, it doesn't matter how stale the data\n // might be. Pass -1 instead of the actual current time to bypass\n // staleness checks.\n -1,\n currentBfCacheVersion,\n bfcacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function readFromBFCacheDuringRegularNavigation(\n now: number,\n varyPath: SegmentVaryPath\n): BFCacheEntry | null {\n if (typeof window === 'undefined') {\n return null\n }\n const isRevalidation = false\n return getFromCacheMap(\n now,\n currentBfCacheVersion,\n bfcacheMap,\n varyPath,\n isRevalidation\n )\n}\n","'use client'\n\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport {\n createFromReadableStream as createFromReadableStreamBrowser,\n createFromFetch as createFromFetchBrowser,\n} from 'react-server-dom-webpack/client'\n\nimport { InvariantError } from '../../../shared/lib/invariant-error'\nimport type {\n FlightRouterState,\n InitialRSCPayload,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\n\nimport {\n type NEXT_ROUTER_PREFETCH_HEADER,\n type NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n type NEXT_INSTANT_PREFETCH_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_RSC_UNION_QUERY,\n NEXT_URL,\n RSC_HEADER,\n RSC_CONTENT_TYPE_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_DID_POSTPONE_HEADER,\n NEXT_HTML_REQUEST_ID_HEADER,\n NEXT_REQUEST_ID_HEADER,\n} from '../app-router-headers'\nimport { callServer } from '../../app-call-server'\nimport { findSourceMapURL } from '../../app-find-source-map-url'\nimport {\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n type NormalizedFlightData,\n} from '../../flight-data-helpers'\nimport { setCacheBustingSearchParam } from './set-cache-busting-search-param'\nimport { urlToUrlWithoutFlightMarker } from '../../route-params'\nimport type { NormalizedSearch } from '../segment-cache/cache-key'\nimport { getDeploymentId } from '../../../shared/lib/deployment-id'\nimport { getNavigationBuildId } from '../../navigation-build-id'\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants'\nimport { stripIsPartialByte } from '../segment-cache/cache'\nimport { UnknownDynamicStaleTime } from '../segment-cache/bfcache'\n\nconst createFromReadableStream =\n createFromReadableStreamBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromReadableStream']\nconst createFromFetch =\n createFromFetchBrowser as (typeof import('react-server-dom-webpack/client.browser'))['createFromFetch']\n\nlet createDebugChannel:\n | typeof import('../../dev/debug-channel').createDebugChannel\n | undefined\n\nif (process.env.__NEXT_DEV_SERVER && process.env.__NEXT_REACT_DEBUG_CHANNEL) {\n createDebugChannel = (\n require('../../dev/debug-channel') as typeof import('../../dev/debug-channel')\n ).createDebugChannel\n}\n\nexport interface FetchServerResponseOptions {\n readonly flightRouterState: FlightRouterState\n readonly nextUrl: string | null\n readonly isHmrRefresh?: boolean\n}\n\nexport type StaticStageData<\n T extends\n | NavigationFlightResponse\n | InitialRSCPayload = NavigationFlightResponse,\n> = {\n readonly response: T\n readonly isResponsePartial: boolean\n}\n\ntype SpaFetchServerResponseResult = {\n flightData: NormalizedFlightData[]\n canonicalUrl: URL\n renderedSearch: NormalizedSearch\n couldBeIntercepted: boolean\n supportsPerSegmentPrefetching: boolean\n postponed: boolean\n dynamicStaleTime: number\n staticStageData: StaticStageData | null\n runtimePrefetchStream: ReadableStream | null\n responseHeaders: Headers\n debugInfo: Array | null\n}\n\ntype MpaFetchServerResponseResult = string\n\nexport type FetchServerResponseResult =\n | MpaFetchServerResponseResult\n | SpaFetchServerResponseResult\n\nexport type RequestHeaders = {\n [RSC_HEADER]?: '1'\n [NEXT_ROUTER_STATE_TREE_HEADER]?: string\n [NEXT_URL]?: string\n [NEXT_ROUTER_PREFETCH_HEADER]?: '1' | '2'\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]?: string\n 'x-deployment-id'?: string\n [NEXT_HMR_REFRESH_HEADER]?: '1'\n // A header that is only added in test mode to assert on fetch priority\n 'Next-Test-Fetch-Priority'?: RequestInit['priority']\n [NEXT_HTML_REQUEST_ID_HEADER]?: string // dev-only\n [NEXT_REQUEST_ID_HEADER]?: string // dev-only\n [NEXT_INSTANT_PREFETCH_HEADER]?: '1' // testing API only\n}\n\nfunction doMpaNavigation(url: string): FetchServerResponseResult {\n return urlToUrlWithoutFlightMarker(new URL(url, location.origin)).toString()\n}\n\nlet isPageUnloading = false\n\nif (typeof window !== 'undefined') {\n // Track when the page is unloading, e.g. due to reloading the page or\n // performing hard navigations. This allows us to suppress error logging when\n // the browser cancels in-flight requests during page unload.\n window.addEventListener('pagehide', () => {\n isPageUnloading = true\n })\n\n // Reset the flag on pageshow, e.g. when navigating back and the JavaScript\n // execution context is restored by the browser.\n window.addEventListener('pageshow', () => {\n isPageUnloading = false\n })\n}\n\n/**\n * Fetch the flight data for the provided url. Takes in the current router state\n * to decide what to render server-side.\n */\nexport async function fetchServerResponse(\n url: URL,\n options: FetchServerResponseOptions\n): Promise {\n const { flightRouterState, nextUrl } = options\n\n const headers: RequestHeaders = {\n // Enable flight response\n [RSC_HEADER]: '1',\n // Provide the current router state\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(\n flightRouterState,\n options.isHmrRefresh\n ),\n }\n\n if (process.env.NODE_ENV === 'development' && options.isHmrRefresh) {\n headers[NEXT_HMR_REFRESH_HEADER] = '1'\n }\n\n if (nextUrl) {\n headers[NEXT_URL] = nextUrl\n }\n\n // In static export mode, we need to modify the URL to request the .txt file,\n // but we should preserve the original URL for the canonical URL and error handling.\n const originalUrl = url\n\n try {\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n // In \"output: export\" mode, we can't rely on headers to distinguish\n // between HTML and RSC requests. Instead, we append an extra prefix\n // to the request.\n url = new URL(url)\n if (url.pathname.endsWith('/')) {\n url.pathname += 'index.txt'\n } else {\n url.pathname += '.txt'\n }\n }\n }\n\n // Typically, during a navigation, we decode the response using Flight's\n // `createFromFetch` API, which accepts a `fetch` promise.\n // TODO: Remove this check once the old PPR flag is removed\n const isLegacyPPR =\n process.env.__NEXT_PPR && !process.env.__NEXT_CACHE_COMPONENTS\n const shouldImmediatelyDecode = !isLegacyPPR\n const res = await createFetch(\n url,\n headers,\n 'auto',\n shouldImmediatelyDecode\n )\n\n const responseUrl = urlToUrlWithoutFlightMarker(new URL(res.url))\n const canonicalUrl = res.redirected ? responseUrl : originalUrl\n\n const contentType = res.headers.get('content-type') || ''\n const interception = !!res.headers.get('vary')?.includes(NEXT_URL)\n const postponed = !!res.headers.get(NEXT_DID_POSTPONE_HEADER)\n let isFlightResponse = contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n if (!isFlightResponse) {\n isFlightResponse = contentType.startsWith('text/plain')\n }\n }\n }\n\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also handle it like a mpa navigation\n if (!isFlightResponse || !res.ok || !res.body) {\n // in case the original URL came with a hash, preserve it before redirecting to the new URL\n if (url.hash) {\n responseUrl.hash = url.hash\n }\n\n return doMpaNavigation(responseUrl.toString())\n }\n\n // We may navigate to a page that requires a different Webpack runtime.\n // In prod, every page will have the same Webpack runtime.\n // In dev, the Webpack runtime is minimal for each page.\n // We need to ensure the Webpack runtime is updated before executing client-side JS of the new page.\n // TODO: This needs to happen in the Flight Client.\n // Or Webpack needs to include the runtime update in the Flight response as\n // a blocking script.\n if (process.env.NODE_ENV !== 'production' && !process.env.TURBOPACK) {\n await (\n require('../../dev/hot-reloader/app/hot-reloader-app') as typeof import('../../dev/hot-reloader/app/hot-reloader-app')\n ).waitForWebpackRuntimeHotUpdate()\n }\n\n let flightResponsePromise = res.flightResponsePromise\n if (flightResponsePromise === null) {\n // Typically, `createFetch` would have already started decoding the\n // Flight response. If it hasn't, though, we need to decode it now.\n // TODO: This should only be reachable if legacy PPR is enabled (i.e. PPR\n // without Cache Components). Remove this branch once legacy PPR\n // is deleted.\n flightResponsePromise =\n createFromNextReadableStream(\n res.body,\n headers,\n { allowPartialStream: postponed }\n )\n }\n\n const [flightResponse, cacheData] = await Promise.all([\n flightResponsePromise,\n res.cacheData,\n ])\n\n if (\n (res.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? flightResponse.b) !==\n getNavigationBuildId()\n ) {\n // The server build does not match the client build.\n return doMpaNavigation(res.url)\n }\n\n const normalizedFlightData = normalizeFlightData(flightResponse.f)\n if (typeof normalizedFlightData === 'string') {\n return doMpaNavigation(normalizedFlightData)\n }\n\n const staticStageData =\n cacheData !== null\n ? await resolveStaticStageData(cacheData, flightResponse, headers)\n : null\n\n return {\n flightData: normalizedFlightData,\n canonicalUrl: canonicalUrl,\n // TODO: We should be able to read this from the rewrite header, not the\n // Flight response. Theoretically they should always agree, but there are\n // currently some cases where it's incorrect for interception routes. We\n // can always trust the value in the response body. However, per-segment\n // prefetch responses don't embed the value in the body; they rely on the\n // header alone. So we need to investigate why the header is sometimes\n // wrong for interception routes.\n renderedSearch: flightResponse.q as NormalizedSearch,\n couldBeIntercepted: interception,\n supportsPerSegmentPrefetching: flightResponse.S,\n postponed,\n // The dynamicStaleTime is only present in the response body when\n // a page exports unstable_dynamicStaleTime and this is a dynamic render.\n // When absent (UnknownDynamicStaleTime), the client falls back to the\n // global DYNAMIC_STALETIME_MS. The value is in seconds.\n dynamicStaleTime: flightResponse.d ?? UnknownDynamicStaleTime,\n staticStageData,\n runtimePrefetchStream: flightResponse.p ?? null,\n responseHeaders: res.headers,\n debugInfo: flightResponsePromise._debugInfo ?? null,\n }\n } catch (err) {\n if (!isPageUnloading) {\n console.error(\n `Failed to fetch RSC payload for ${originalUrl}. Falling back to browser navigation.`,\n err\n )\n }\n\n // If fetch fails handle it like a mpa navigation\n // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response.\n // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction.\n return originalUrl.toString()\n }\n}\n\n// This is a subset of the standard Response type. We use a custom type for\n// this so we can limit which details about the response leak into the rest of\n// the codebase. For example, there's some custom logic for manually following\n// redirects, so \"redirected\" in this type could be a composite of multiple\n// browser fetch calls; however, this fact should not leak to the caller.\nexport type RSCResponse = {\n ok: boolean\n redirected: boolean\n headers: Headers\n body: ReadableStream | null\n status: number\n url: string\n flightResponsePromise: (Promise & { _debugInfo?: Array }) | null\n cacheData: Promise\n}\n\ntype FetchResponseCacheData = {\n isResponsePartial: boolean\n responseBodyClone?: ReadableStream\n}\n\n/**\n * Strips the leading isPartial byte from an RSC navigation response and\n * clones the body for segment cache extraction.\n *\n * When cache components is enabled, the server prepends a single byte:\n * '~' (0x7e) for partial, '#' (0x23) for complete. This must be stripped\n * before Flight decoding because it's not valid RSC data. The body is\n * cloned before Flight can consume it so the clone is available for later use.\n *\n * When cache components is disabled, returns the original response with\n * cacheData: null.\n */\nexport async function processFetch(response: Response): Promise<{\n response: Response\n cacheData: FetchResponseCacheData | null\n}> {\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n if (!response.body) {\n throw new InvariantError(\n 'Expected RSC navigation response to have a body'\n )\n }\n\n const { stream, isPartial } = await stripIsPartialByte(response.body)\n\n let responseStream: ReadableStream\n let cacheData: FetchResponseCacheData\n\n if (process.env.__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS) {\n const [stream1, stream2] = stream.tee()\n responseStream = stream1\n cacheData = { isResponsePartial: isPartial, responseBodyClone: stream2 }\n } else {\n responseStream = stream\n cacheData = { isResponsePartial: isPartial }\n }\n\n const strippedResponse = new Response(responseStream, {\n headers: response.headers,\n status: response.status,\n statusText: response.statusText,\n })\n\n // The Response constructor doesn't preserve `url` or `redirected` from\n // the original. We need both: `url` for React DevTools and `redirected`\n // for the redirect replay logic below.\n Object.defineProperty(strippedResponse, 'url', { value: response.url })\n Object.defineProperty(strippedResponse, 'redirected', {\n value: response.redirected,\n })\n\n return { response: strippedResponse, cacheData }\n }\n\n return { response, cacheData: null }\n}\n\n/**\n * Resolves the static stage response from the raw `processFetch` outputs and\n * the decoded flight response, for writing into the segment cache.\n *\n * - Fully static: use the decoded flight response as-is, no truncation needed.\n * - Not fully static + `l` field: truncate the body clone at the static stage\n * byte boundary and decode.\n * - Otherwise: no cache-worthy data.\n */\nexport async function resolveStaticStageData<\n T extends NavigationFlightResponse | InitialRSCPayload,\n>(\n cacheData: FetchResponseCacheData,\n flightResponse: T,\n headers: RequestHeaders | undefined\n): Promise | null> {\n const { isResponsePartial, responseBodyClone } = cacheData\n\n if (responseBodyClone) {\n if (!isResponsePartial) {\n // Fully static — cache the entire decoded response as-is.\n responseBodyClone.cancel()\n\n return { response: flightResponse, isResponsePartial: false }\n }\n\n if (flightResponse.l !== undefined) {\n // Partially static — truncate the body clone at the byte boundary and\n // decode it.\n const response = await decodeStaticStage(\n responseBodyClone,\n flightResponse.l,\n headers\n )\n\n return { response, isResponsePartial: true }\n }\n\n // No caching — cancel the unused clone.\n responseBodyClone.cancel()\n }\n\n return null\n}\n\n/**\n * Truncates a Flight stream clone at the given byte boundary and decodes the\n * static stage prefix. Used by both the navigation path and the initial HTML\n * hydration path.\n */\nexport async function decodeStaticStage(\n responseBodyClone: ReadableStream,\n staticStageByteLengthPromise: Promise,\n headers: RequestHeaders | undefined\n): Promise {\n const staticStageByteLength = await staticStageByteLengthPromise\n\n const truncatedStream = truncateStream(\n responseBodyClone,\n staticStageByteLength\n )\n\n return createFromNextReadableStream(truncatedStream, headers, {\n allowPartialStream: true,\n })\n}\n\nexport async function createFetch(\n url: URL,\n headers: RequestHeaders,\n fetchPriority: 'auto' | 'high' | 'low' | null,\n shouldImmediatelyDecode: boolean,\n signal?: AbortSignal\n): Promise> {\n // TODO: In output: \"export\" mode, the headers do nothing. Omit them (and the\n // cache busting search param) from the request so they're\n // maximally cacheable.\n\n if (process.env.__NEXT_TEST_MODE && fetchPriority !== null) {\n headers['Next-Test-Fetch-Priority'] = fetchPriority\n }\n\n const deploymentId = getDeploymentId()\n if (deploymentId) {\n headers['x-deployment-id'] = deploymentId\n }\n\n if (process.env.__NEXT_DEV_SERVER) {\n if (self.__next_r) {\n headers[NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r\n }\n\n // Create a new request ID for the server action request. The server uses\n // this to tag debug information sent via WebSocket to the client, which\n // then routes those chunks to the debug channel associated with this ID.\n headers[NEXT_REQUEST_ID_HEADER] = crypto\n .getRandomValues(new Uint32Array(1))[0]\n .toString(16)\n }\n\n const fetchOptions: RequestInit = {\n // Backwards compat for older browsers. `same-origin` is the default in modern browsers.\n credentials: 'same-origin',\n headers,\n priority: fetchPriority || undefined,\n signal,\n }\n // `fetchUrl` is slightly different from `url` because we add a cache-busting\n // search param to it. This should not leak outside of this function, so we\n // track them separately.\n let fetchUrl = new URL(url)\n await setCacheBustingSearchParam(fetchUrl, headers)\n let processed = fetch(fetchUrl, fetchOptions).then(processFetch)\n let fetchPromise = processed.then(({ response }) => response)\n\n // Immediately pass the fetch promise to the Flight client so that the debug\n // info includes the latency from the client to the server. The internal timer\n // in React starts as soon as `createFromFetch` is called.\n //\n // The only case where we don't do this is during a prefetch, because a\n // top-level prefetch response never blocks a navigation; if it hasn't already\n // been written into the cache by the time the navigation happens, the router\n // will go straight to a dynamic request.\n let flightResponsePromise = shouldImmediatelyDecode\n ? createFromNextFetch(fetchPromise, headers)\n : null\n let browserResponse = await fetchPromise\n\n // If the server responds with a redirect (e.g. 307), and the redirected\n // location does not contain the cache busting search param set in the\n // original request, the response is likely invalid — when following the\n // redirect, the browser forwards the request headers, but since the cache\n // busting search param is missing, the server will reject the request due to\n // a mismatch.\n //\n // Ideally, we would be able to intercept the redirect response and perform it\n // manually, instead of letting the browser automatically follow it, but this\n // is not allowed by the fetch API.\n //\n // So instead, we must \"replay\" the redirect by fetching the new location\n // again, but this time we'll append the cache busting search param to prevent\n // a mismatch.\n //\n // TODO: We can optimize Next.js's built-in middleware APIs by returning a\n // custom status code, to prevent the browser from automatically following it.\n //\n // This does not affect Server Action-based redirects; those are encoded\n // differently, as part of the Flight body. It only affects redirects that\n // occur in a middleware or a third-party proxy.\n\n let redirected = browserResponse.redirected\n if (process.env.__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS) {\n // This is to prevent a redirect loop. Same limit used by Chrome.\n const MAX_REDIRECTS = 20\n for (let n = 0; n < MAX_REDIRECTS; n++) {\n if (!browserResponse.redirected) {\n // The server did not perform a redirect.\n break\n }\n const responseUrl = new URL(browserResponse.url, fetchUrl)\n if (responseUrl.origin !== fetchUrl.origin) {\n // The server redirected to an external URL. The rest of the logic below\n // is not relevant, because it only applies to internal redirects.\n break\n }\n if (\n responseUrl.searchParams.get(NEXT_RSC_UNION_QUERY) ===\n fetchUrl.searchParams.get(NEXT_RSC_UNION_QUERY)\n ) {\n // The redirected URL already includes the cache busting search param.\n // This was probably intentional. Regardless, there's no reason to\n // issue another request to this URL because it already has the param\n // value that we would have added below.\n break\n }\n // The RSC request was redirected. Assume the response is invalid.\n //\n // Append the cache busting search param to the redirected URL and\n // fetch again.\n // TODO: We should abort the previous request.\n fetchUrl = new URL(responseUrl)\n await setCacheBustingSearchParam(fetchUrl, headers)\n processed = fetch(fetchUrl, fetchOptions).then(processFetch)\n fetchPromise = processed.then(({ response }) => response)\n flightResponsePromise = shouldImmediatelyDecode\n ? createFromNextFetch(fetchPromise, headers)\n : null\n browserResponse = await fetchPromise\n // We just performed a manual redirect, so this is now true.\n redirected = true\n }\n }\n\n // Remove the cache busting search param from the response URL, to prevent it\n // from leaking outside of this function.\n const responseUrl = new URL(browserResponse.url, fetchUrl)\n responseUrl.searchParams.delete(NEXT_RSC_UNION_QUERY)\n\n const rscResponse: RSCResponse = {\n url: responseUrl.href,\n\n // This is true if any redirects occurred, either automatically by the\n // browser, or manually by us. So it's different from\n // `browserResponse.redirected`, which only tells us whether the browser\n // followed a redirect, and only for the last response in the chain.\n redirected,\n\n // These can be copied from the last browser response we received. We\n // intentionally only expose the subset of fields that are actually used\n // elsewhere in the codebase.\n ok: browserResponse.ok,\n headers: browserResponse.headers,\n body: browserResponse.body,\n status: browserResponse.status,\n\n // This is the exact promise returned by `createFromFetch`. It contains\n // debug information that we need to transfer to any derived promises that\n // are later rendered by React.\n flightResponsePromise: flightResponsePromise,\n\n cacheData: processed.then(({ cacheData }) => cacheData),\n }\n\n return rscResponse\n}\n\nexport function createFromNextReadableStream(\n flightStream: ReadableStream,\n requestHeaders: RequestHeaders | undefined,\n options?: { allowPartialStream?: boolean }\n): Promise {\n return createFromReadableStream(flightStream, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders),\n unstable_allowPartialStream: options?.allowPartialStream,\n })\n}\n\nfunction createFromNextFetch(\n promiseForResponse: Promise,\n requestHeaders: RequestHeaders\n): Promise & { _debugInfo?: Array } {\n return createFromFetch(promiseForResponse, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders),\n })\n}\n\nfunction truncateStream(\n stream: ReadableStream,\n byteLength: number\n): ReadableStream {\n const reader = stream.getReader()\n let remaining = byteLength\n\n return new ReadableStream({\n async pull(controller) {\n if (remaining <= 0) {\n reader.cancel()\n controller.close()\n return\n }\n\n const { done, value } = await reader.read()\n\n if (done) {\n controller.close()\n return\n }\n\n if (value.byteLength <= remaining) {\n controller.enqueue(value)\n remaining -= value.byteLength\n } else {\n controller.enqueue(value.subarray(0, remaining))\n remaining = 0\n reader.cancel()\n controller.close()\n }\n },\n cancel() {\n reader.cancel()\n },\n })\n}\n","export function createPromiseWithResolvers(): PromiseWithResolvers {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason: any) => void\n const promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n","import type {\n TreePrefetch,\n RootTreePrefetch,\n SegmentPrefetch,\n InlinedPrefetchResponse,\n InlinedSegmentPrefetch,\n} from '../../../server/app-render/collect-segment-data'\nimport type {\n CacheNodeSeedData,\n FlightData,\n Segment as FlightRouterStateSegment,\n} from '../../../shared/lib/app-router-types'\nimport {\n readVaryParams,\n type VaryParams,\n type VaryParamsThenable,\n} from '../../../shared/lib/segment-cache/vary-params-decoding'\nimport {\n NEXT_DID_POSTPONE_HEADER,\n NEXT_INSTANT_PREFETCH_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n NEXT_ROUTER_STALE_TIME_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_URL,\n RSC_CONTENT_TYPE_HEADER,\n RSC_HEADER,\n} from '../app-router-headers'\nimport {\n createFetch,\n createFromNextReadableStream,\n type RSCResponse,\n type RequestHeaders,\n} from '../router-reducer/fetch-server-response'\nimport {\n pingPrefetchTask,\n isPrefetchTaskDirty,\n type PrefetchTask,\n type PrefetchSubtaskResult,\n} from './scheduler'\nimport {\n type RouteVaryPath,\n type SegmentVaryPath,\n type PartialSegmentVaryPath,\n getRouteVaryPath,\n getFulfilledRouteVaryPath,\n getFulfilledSegmentVaryPath,\n getSegmentVaryPathForRequest,\n appendLayoutVaryPath,\n finalizeLayoutVaryPath,\n finalizePageVaryPath,\n clonePageVaryPathWithNewSearchParams,\n type PageVaryPath,\n type LayoutVaryPath,\n finalizeMetadataVaryPath,\n getPartialPageVaryPath,\n getPartialLayoutVaryPath,\n getRenderedSearchFromVaryPath,\n} from './vary-path'\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url'\nimport type {\n NormalizedPathname,\n NormalizedSearch,\n NormalizedNextUrl,\n RouteCacheKey,\n} from './cache-key'\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key'\nimport {\n doesStaticSegmentAppearInURL,\n getCacheKeyForDynamicParam,\n getRenderedPathname,\n getRenderedSearch,\n parseDynamicParamFromURLPart,\n} from '../../route-params'\nimport {\n createCacheMap,\n getFromCacheMap,\n setInCacheMap,\n setSizeInCacheMap,\n deleteFromCacheMap,\n isValueExpired,\n type CacheMap,\n type UnknownMapEntry,\n} from './cache-map'\nimport {\n appendSegmentRequestKeyPart,\n convertSegmentPathToStaticExportFilename,\n createSegmentRequestKeyPart,\n HEAD_REQUEST_KEY,\n ROOT_SEGMENT_REQUEST_KEY,\n type SegmentRequestKey,\n} from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport type {\n FlightRouterState,\n NavigationFlightResponse,\n} from '../../../shared/lib/app-router-types'\nimport {\n type NormalizedFlightData,\n normalizeFlightData,\n prepareFlightRouterStateForRequest,\n} from '../../flight-data-helpers'\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer'\nimport { pingVisibleLinks } from '../links'\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment'\nimport { FetchStrategy } from './types'\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers'\nimport { readFromBFCache, UnknownDynamicStaleTime } from './bfcache'\nimport { discoverKnownRoute, matchKnownRoute } from './optimistic-routes'\nimport { convertServerPatchToFullTree, type NavigationSeed } from './navigation'\nimport { getNavigationBuildId } from '../../navigation-build-id'\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants'\n\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */\nexport function getStaleTimeMs(staleTimeSeconds: number): number {\n return Math.max(staleTimeSeconds, 30) * 1000\n}\n\n// A note on async/await when working in the prefetch cache:\n//\n// Most async operations in the prefetch cache should *not* use async/await,\n// Instead, spawn a subtask that writes the results to a cache entry, and attach\n// a \"ping\" listener to notify the prefetch queue to try again.\n//\n// The reason is we need to be able to access the segment cache and traverse its\n// data structures synchronously. For example, if there's a synchronous update\n// we can take an immediate snapshot of the cache to produce something we can\n// render. Limiting the use of async/await also makes it easier to avoid race\n// conditions, which is especially important because is cache is mutable.\n//\n// Another reason is that while we're performing async work, it's possible for\n// existing entries to become stale, or for Link prefetches to be removed from\n// the queue. For optimal scheduling, we need to be able to \"cancel\" subtasks\n// that are no longer needed. So, when a segment is received from the server, we\n// restart from the root of the tree that's being prefetched, to confirm all the\n// parent segments are still cached. If the segment is no longer reachable from\n// the root, then it's effectively canceled. This is similar to the design of\n// Rust Futures, or React Suspense.\n\ntype RouteTreeShared = {\n requestKey: SegmentRequestKey\n // TODO: Remove the `segment` field, now that it can be reconstructed\n // from `param`.\n segment: FlightRouterStateSegment\n refreshState: RefreshState | null\n slots: null | {\n [parallelRouteKey: string]: RouteTree\n }\n // Bitmask of PrefetchHint flags. Encodes route structure metadata:\n // root layout, loading boundaries, instant configs, and runtime prefetch\n // hints.\n prefetchHints: number\n}\n\nexport type RefreshState = {\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n}\n\ntype LayoutRouteTree = RouteTreeShared & {\n isPage: false\n varyPath: LayoutVaryPath\n}\n\ntype PageRouteTree = RouteTreeShared & {\n isPage: true\n varyPath: PageVaryPath\n}\n\nexport type RouteTree = LayoutRouteTree | PageRouteTree\n\ntype RouteCacheEntryShared = {\n // This is false only if we're certain the route cannot be intercepted. It's\n // true in all other cases, including on initialization when we haven't yet\n // received a response from the server.\n couldBeIntercepted: boolean\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */\nexport const enum EntryStatus {\n Empty = 0,\n Pending = 1,\n Fulfilled = 2,\n Rejected = 3,\n}\n\nexport type PendingRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Empty | EntryStatus.Pending\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n supportsPerSegmentPrefetching: false\n}\n\ntype RejectedRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Rejected\n blockedTasks: Set | null\n canonicalUrl: null\n renderedSearch: null\n tree: null\n metadata: null\n supportsPerSegmentPrefetching: boolean\n}\n\nexport type FulfilledRouteCacheEntry = RouteCacheEntryShared & {\n status: EntryStatus.Fulfilled\n blockedTasks: null\n canonicalUrl: string\n renderedSearch: NormalizedSearch\n tree: RouteTree\n metadata: RouteTree\n supportsPerSegmentPrefetching: boolean\n // When true, this entry should not be used as a template for route\n // prediction. Set when we discover that the URL was rewritten by middleware\n // to a different route structure (e.g., /foo was rewritten to /bar). Since\n // rewrite behavior can vary by param value, we can't safely predict the\n // route structure for other URLs matching this pattern.\n hasDynamicRewrite: boolean\n}\n\nexport type RouteCacheEntry =\n | PendingRouteCacheEntry\n | FulfilledRouteCacheEntry\n | RejectedRouteCacheEntry\n\ntype SegmentCacheEntryShared = {\n fetchStrategy: FetchStrategy\n\n // Map-related fields.\n ref: UnknownMapEntry | null\n size: number\n staleAt: number\n version: number\n}\n\nexport type EmptySegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Empty\n rsc: null\n isPartial: true\n promise: null\n}\n\nexport type PendingSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Pending\n rsc: null\n isPartial: boolean\n promise: null | PromiseWithResolvers\n}\n\ntype RejectedSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Rejected\n rsc: null\n isPartial: true\n promise: null\n}\n\nexport type FulfilledSegmentCacheEntry = SegmentCacheEntryShared & {\n status: EntryStatus.Fulfilled\n rsc: React.ReactNode | null\n isPartial: boolean\n promise: null\n}\n\nexport type SegmentCacheEntry =\n | EmptySegmentCacheEntry\n | PendingSegmentCacheEntry\n | RejectedSegmentCacheEntry\n | FulfilledSegmentCacheEntry\n\nexport type NonEmptySegmentCacheEntry = Exclude<\n SegmentCacheEntry,\n EmptySegmentCacheEntry\n>\n\nconst isOutputExportMode =\n process.env.NODE_ENV === 'production' &&\n process.env.__NEXT_CONFIG_OUTPUT === 'export'\n\nconst MetadataOnlyRequestTree: FlightRouterState = [\n '',\n {},\n null,\n 'metadata-only',\n]\n\nlet routeCacheMap: CacheMap = createCacheMap()\nlet segmentCacheMap: CacheMap = createCacheMap()\n\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners: Set | null = null\n\n// Incrementing counters used to track cache invalidations. Route and segment\n// caches have separate versions so they can be invalidated independently.\n// Invalidation does not eagerly evict anything from the cache; entries are\n// lazily evicted when read.\nlet currentRouteCacheVersion = 0\nlet currentSegmentCacheVersion = 0\n\nexport function getCurrentRouteCacheVersion(): number {\n return currentRouteCacheVersion\n}\n\nexport function getCurrentSegmentCacheVersion(): number {\n return currentSegmentCacheVersion\n}\n\n/**\n * Invalidates all prefetch cache entries (both route and segment caches).\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */\nexport function invalidateEntirePrefetchCache(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n currentRouteCacheVersion++\n currentSegmentCacheVersion++\n\n pingVisibleLinks(nextUrl, tree)\n pingInvalidationListeners(nextUrl, tree)\n}\n\n/**\n * Invalidates all route cache entries. Route entries contain the tree structure\n * (which segments exist at a given URL) but not the segment data itself.\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */\nexport function invalidateRouteCacheEntries(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n currentRouteCacheVersion++\n\n pingVisibleLinks(nextUrl, tree)\n pingInvalidationListeners(nextUrl, tree)\n}\n\n/**\n * Invalidates all segment cache entries. Segment entries contain the actual\n * RSC data for each segment.\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */\nexport function invalidateSegmentCacheEntries(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n currentSegmentCacheVersion++\n\n pingVisibleLinks(nextUrl, tree)\n pingInvalidationListeners(nextUrl, tree)\n}\n\nfunction attachInvalidationListener(task: PrefetchTask): void {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([task])\n } else {\n invalidationListeners.add(task)\n }\n }\n}\n\nfunction notifyInvalidationListener(task: PrefetchTask): void {\n const onInvalidate = task.onInvalidate\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null\n\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate()\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error)\n } else {\n console.error(error)\n }\n }\n }\n}\n\nexport function pingInvalidationListeners(\n nextUrl: string | null,\n tree: FlightRouterState\n): void {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners\n invalidationListeners = null\n for (const task of tasks) {\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task)\n }\n }\n }\n}\n\nexport function readRouteCacheEntry(\n now: number,\n key: RouteCacheKey\n): RouteCacheEntry | null {\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n const existingEntry = getFromCacheMap(\n now,\n getCurrentRouteCacheVersion(),\n routeCacheMap,\n varyPath,\n isRevalidation\n )\n if (existingEntry !== null) {\n return existingEntry\n }\n\n // No cache hit. Attempt to construct from template using the new\n // optimistic routing mechanism (pattern-based matching).\n if (process.env.__NEXT_OPTIMISTIC_ROUTING) {\n return matchKnownRoute(key.pathname, key.search)\n }\n\n return null\n}\n\nexport function readSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = false\n return getFromCacheMap(\n now,\n getCurrentSegmentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nfunction readRevalidatingSegmentCacheEntry(\n now: number,\n varyPath: SegmentVaryPath\n): SegmentCacheEntry | null {\n const isRevalidation = true\n return getFromCacheMap(\n now,\n getCurrentSegmentCacheVersion(),\n segmentCacheMap,\n varyPath,\n isRevalidation\n )\n}\n\nexport function waitForSegmentCacheEntry(\n pendingEntry: PendingSegmentCacheEntry\n): Promise {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise =\n createPromiseWithResolvers()\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise\n}\n\nfunction createDetachedRouteCacheEntry(): PendingRouteCacheEntry {\n return {\n canonicalUrl: null,\n status: EntryStatus.Empty,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n supportsPerSegmentPrefetching: false,\n renderedSearch: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentRouteCacheVersion(),\n }\n}\n\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateRouteCacheEntry(\n now: number,\n task: PrefetchTask,\n key: RouteCacheKey\n): RouteCacheEntry {\n attachInvalidationListener(task)\n\n const existingEntry = readRouteCacheEntry(now, key)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry = createDetachedRouteCacheEntry()\n const varyPath: RouteVaryPath = getRouteVaryPath(\n key.pathname,\n key.search,\n key.nextUrl\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation)\n return pendingEntry\n}\n\n// TODO: This function predates the new optimisticRouting feature and will be\n// removed once optimisticRouting is stable. The new mechanism (matchKnownRoute)\n// handles search param variations more robustly as part of the general route\n// prediction system. This fallback remains for when optimisticRouting is\n// disabled (staticChildren is null).\nexport function deprecated_requestOptimisticRouteCacheEntry(\n now: number,\n requestedUrl: URL,\n nextUrl: string | null\n): FulfilledRouteCacheEntry | null {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search as NormalizedSearch\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null\n }\n const urlWithoutSearchParams = new URL(requestedUrl)\n urlWithoutSearchParams.search = ''\n const routeWithNoSearchParams = readRouteCacheEntry(\n now,\n createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl)\n )\n\n if (\n routeWithNoSearchParams === null ||\n routeWithNoSearchParams.status !== EntryStatus.Fulfilled\n ) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null\n }\n\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(\n routeWithNoSearchParams.canonicalUrl,\n requestedUrl.origin\n )\n const optimisticCanonicalSearch =\n canonicalUrlForRouteWithNoSearchParams.search !== ''\n ? // Base route was redirected. Reuse the same redirected search string.\n canonicalUrlForRouteWithNoSearchParams.search\n : requestedSearch\n\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch =\n routeWithNoSearchParams.renderedSearch !== ''\n ? // Base route was rewritten. Reuse the same rewritten search string.\n routeWithNoSearchParams.renderedSearch\n : requestedSearch\n\n const optimisticUrl = new URL(\n routeWithNoSearchParams.canonicalUrl,\n location.origin\n )\n optimisticUrl.search = optimisticCanonicalSearch\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl)\n\n const optimisticRouteTree = deprecated_createOptimisticRouteTree(\n routeWithNoSearchParams.tree,\n optimisticRenderedSearch\n )\n const optimisticMetadataTree = deprecated_createOptimisticRouteTree(\n routeWithNoSearchParams.metadata,\n optimisticRenderedSearch\n )\n\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry: FulfilledRouteCacheEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n\n status: EntryStatus.Fulfilled,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n supportsPerSegmentPrefetching:\n routeWithNoSearchParams.supportsPerSegmentPrefetching,\n hasDynamicRewrite: routeWithNoSearchParams.hasDynamicRewrite,\n\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version,\n }\n\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry\n}\n\nfunction deprecated_createOptimisticRouteTree(\n tree: RouteTree,\n newRenderedSearch: NormalizedSearch\n): RouteTree {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n\n let clonedSlots: Record | null = null\n const originalSlots = tree.slots\n if (originalSlots !== null) {\n clonedSlots = {}\n for (const parallelRouteKey in originalSlots) {\n const childTree = originalSlots[parallelRouteKey]\n clonedSlots[parallelRouteKey] = deprecated_createOptimisticRouteTree(\n childTree,\n newRenderedSearch\n )\n }\n }\n\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n refreshState: tree.refreshState,\n varyPath: clonePageVaryPathWithNewSearchParams(\n tree.varyPath,\n newRenderedSearch\n ),\n isPage: true,\n slots: clonedSlots,\n\n prefetchHints: tree.prefetchHints,\n }\n }\n\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n refreshState: tree.refreshState,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n prefetchHints: tree.prefetchHints,\n }\n}\n\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */\nexport function readOrCreateSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n tree: RouteTree\n): SegmentCacheEntry {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache. The stale time is set to a\n // default value; the actual stale time will be set when the entry is\n // fulfilled with data from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(now)\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function readOrCreateRevalidatingSegmentEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n tree: RouteTree\n): SegmentCacheEntry {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath)\n if (existingEntry !== null) {\n return existingEntry\n }\n // Create a pending entry and add it to the cache. The stale time is set to a\n // default value; the actual stale time will be set when the entry is\n // fulfilled with data from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(now)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function overwriteRevalidatingSegmentCacheEntry(\n now: number,\n fetchStrategy: FetchStrategy,\n tree: RouteTree\n) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value. The stale time is set to a default value;\n // the actual stale time will be set when the entry is fulfilled with data\n // from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree)\n const pendingEntry = createDetachedSegmentCacheEntry(now)\n const isRevalidation = true\n setInCacheMap(\n segmentCacheMap,\n varyPathForRequest,\n pendingEntry,\n isRevalidation\n )\n return pendingEntry\n}\n\nexport function upsertSegmentEntry(\n now: number,\n varyPath: SegmentVaryPath,\n candidateEntry: SegmentCacheEntry\n): SegmentCacheEntry | null {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n\n if (isValueExpired(now, getCurrentSegmentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null\n }\n\n const existingEntry = readSegmentCacheEntry(now, varyPath)\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (\n // We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n (candidateEntry.fetchStrategy !== existingEntry.fetchStrategy &&\n !canNewFetchStrategyProvideMoreContent(\n existingEntry.fetchStrategy,\n candidateEntry.fetchStrategy\n )) ||\n // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n (!existingEntry.isPartial && candidateEntry.isPartial)\n ) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry: RejectedSegmentCacheEntry = candidateEntry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.rsc = null\n return null\n }\n\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry)\n }\n\n const isRevalidation = false\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation)\n return candidateEntry\n}\n\nexport function createDetachedSegmentCacheEntry(\n now: number\n): EmptySegmentCacheEntry {\n // Default stale time for pending segment cache entries. The actual stale time\n // is set when the entry is fulfilled with data from the server response.\n const staleAt = now + 30 * 1000\n const emptyEntry: EmptySegmentCacheEntry = {\n status: EntryStatus.Empty,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n isPartial: true,\n promise: null,\n\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0,\n }\n return emptyEntry\n}\n\nexport function upgradeToPendingSegment(\n emptyEntry: EmptySegmentCacheEntry,\n fetchStrategy: FetchStrategy\n): PendingSegmentCacheEntry {\n const pendingEntry: PendingSegmentCacheEntry = emptyEntry as any\n pendingEntry.status = EntryStatus.Pending\n pendingEntry.fetchStrategy = fetchStrategy\n\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false\n }\n\n // Set the version here, since this is right before the request is initiated.\n // The next time the segment cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentSegmentCacheVersion()\n return pendingEntry\n}\n\nexport function attemptToFulfillDynamicSegmentFromBFCache(\n now: number,\n segment: EmptySegmentCacheEntry,\n tree: RouteTree\n): FulfilledSegmentCacheEntry | null {\n // Attempts to fulfill an empty segment cache entry using data from the\n // bfcache. This is only valid during a Full prefetch (i.e. one that includes\n // dynamic data), because the bfcache stores data from navigations which\n // always include dynamic data.\n\n // We always use the canonical vary path when checking the bfcache. This is\n // the same operation we'd use to access the cache during a\n // regular navigation.\n const varyPath = tree.varyPath\n\n // Read from the BFCache without expiring it (pass -1). We check freshness\n // ourselves using navigatedAt, because the BFCache's staleAt may have been\n // overridden by a per-page unstable_dynamicStaleTime and can't be used to\n // derive the original request time.\n const bfcacheEntry = readFromBFCache(varyPath)\n if (bfcacheEntry !== null) {\n // The stale time for dynamic prefetches (default: 5 mins) is different\n // from the stale time for regular navigations (default: 0 secs). Use\n // navigatedAt to compute the correct expiry for prefetch purposes.\n const dynamicPrefetchStaleAt =\n bfcacheEntry.navigatedAt + STATIC_STALETIME_MS\n if (now > dynamicPrefetchStaleAt) {\n return null\n }\n\n const pendingSegment = upgradeToPendingSegment(segment, FetchStrategy.Full)\n const isPartial = false\n return fulfillSegmentCacheEntry(\n pendingSegment,\n bfcacheEntry.rsc,\n dynamicPrefetchStaleAt,\n isPartial\n )\n }\n return null\n}\n\n/**\n * Attempts to replace an existing segment cache entry with data from the\n * bfcache. Unlike `attemptToFulfillDynamicSegmentFromBFCache` (which fills an\n * empty entry), this creates a new entry and upserts it, so it works even when\n * the segment is already fulfilled.\n */\nexport function attemptToUpgradeSegmentFromBFCache(\n now: number,\n tree: RouteTree\n): FulfilledSegmentCacheEntry | null {\n const varyPath = tree.varyPath\n const bfcacheEntry = readFromBFCache(varyPath)\n if (bfcacheEntry !== null) {\n const dynamicPrefetchStaleAt =\n bfcacheEntry.navigatedAt + STATIC_STALETIME_MS\n if (now > dynamicPrefetchStaleAt) {\n return null\n }\n const pendingSegment = upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(now),\n FetchStrategy.Full\n )\n const isPartial = false\n const newEntry = fulfillSegmentCacheEntry(\n pendingSegment,\n bfcacheEntry.rsc,\n dynamicPrefetchStaleAt,\n isPartial\n )\n const segmentVaryPath = getSegmentVaryPathForRequest(\n FetchStrategy.Full,\n tree\n )\n const upserted = upsertSegmentEntry(now, segmentVaryPath, newEntry)\n if (upserted !== null && upserted.status === EntryStatus.Fulfilled) {\n return upserted\n }\n }\n return null\n}\n\nfunction pingBlockedTasks(entry: {\n blockedTasks: Set | null\n}): void {\n const blockedTasks = entry.blockedTasks\n if (blockedTasks !== null) {\n for (const task of blockedTasks) {\n pingPrefetchTask(task)\n }\n entry.blockedTasks = null\n }\n}\n\nexport function createMetadataRouteTree(\n metadataVaryPath: PageVaryPath\n): RouteTree {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata: RouteTree = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n refreshState: null,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n prefetchHints: 0,\n }\n return metadata\n}\n\nexport function fulfillRouteCacheEntry(\n now: number,\n entry: PendingRouteCacheEntry,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n supportsPerSegmentPrefetching: boolean\n): FulfilledRouteCacheEntry {\n // Get the rendered search from the vary path\n const renderedSearch =\n getRenderedSearchFromVaryPath(metadataVaryPath) ?? ('' as NormalizedSearch)\n const fulfilledEntry: FulfilledRouteCacheEntry = entry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.tree = tree\n fulfilledEntry.metadata = createMetadataRouteTree(metadataVaryPath)\n // Route structure is essentially static — it only changes on deploy.\n // Always use the static stale time.\n // NOTE: An exception is rewrites/redirects in middleware or proxy, which can\n // change routes dynamically. We have other strategies for handling those.\n fulfilledEntry.staleAt = now + STATIC_STALETIME_MS\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted\n fulfilledEntry.canonicalUrl = canonicalUrl\n fulfilledEntry.renderedSearch = renderedSearch\n fulfilledEntry.supportsPerSegmentPrefetching = supportsPerSegmentPrefetching\n fulfilledEntry.hasDynamicRewrite = false\n pingBlockedTasks(entry)\n return fulfilledEntry\n}\n\nexport function writeRouteIntoCache(\n now: number,\n pathname: NormalizedPathname,\n nextUrl: string | null,\n tree: RouteTree,\n metadataVaryPath: PageVaryPath,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n supportsPerSegmentPrefetching: boolean\n): FulfilledRouteCacheEntry {\n const pendingEntry = createDetachedRouteCacheEntry()\n const fulfilledEntry = fulfillRouteCacheEntry(\n now,\n pendingEntry,\n tree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n supportsPerSegmentPrefetching\n )\n const renderedSearch = fulfilledEntry.renderedSearch\n const varyPath = getFulfilledRouteVaryPath(\n pathname,\n renderedSearch,\n nextUrl as NormalizedNextUrl | null,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, varyPath, fulfilledEntry, isRevalidation)\n return fulfilledEntry\n}\n\n/**\n * Marks a route cache entry as having a dynamic rewrite. Called when we\n * discover that a route pattern has dynamic rewrite behavior - i.e., we used\n * an optimistic route tree for prediction, but the server responded with a\n * different rendered pathname.\n *\n * Once marked, attempts to use this entry as a template for prediction will\n * bail out to server resolution.\n */\nexport function markRouteEntryAsDynamicRewrite(\n entry: FulfilledRouteCacheEntry\n): void {\n entry.hasDynamicRewrite = true\n // Note: The caller is responsible for also calling invalidateRouteCacheEntries\n // to invalidate other entries that may have been derived from this template\n // before we knew it had a dynamic rewrite.\n}\n\nfunction fulfillSegmentCacheEntry(\n segmentCacheEntry: PendingSegmentCacheEntry,\n rsc: React.ReactNode,\n staleAt: number,\n isPartial: boolean\n): FulfilledSegmentCacheEntry {\n const fulfilledEntry: FulfilledSegmentCacheEntry = segmentCacheEntry as any\n fulfilledEntry.status = EntryStatus.Fulfilled\n fulfilledEntry.rsc = rsc\n fulfilledEntry.staleAt = staleAt\n fulfilledEntry.isPartial = isPartial\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry)\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null\n }\n return fulfilledEntry\n}\n\nfunction rejectRouteCacheEntry(\n entry: PendingRouteCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedRouteCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n pingBlockedTasks(entry)\n}\n\nfunction rejectSegmentCacheEntry(\n entry: PendingSegmentCacheEntry,\n staleAt: number\n): void {\n const rejectedEntry: RejectedSegmentCacheEntry = entry as any\n rejectedEntry.status = EntryStatus.Rejected\n rejectedEntry.staleAt = staleAt\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null)\n entry.promise = null\n }\n}\n\ntype RouteTreeAccumulator = {\n metadataVaryPath: PageVaryPath | null\n}\n\nfunction convertRootTreePrefetchToRouteTree(\n rootTree: RootTreePrefetch,\n renderedPathname: string,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p) => p !== '')\n const index = 0\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY\n return convertTreePrefetchToRouteTree(\n rootTree.tree,\n rootSegment,\n null,\n ROOT_SEGMENT_REQUEST_KEY,\n pathnameParts,\n index,\n renderedSearch,\n acc\n )\n}\n\nfunction convertTreePrefetchToRouteTree(\n prefetch: TreePrefetch,\n segment: FlightRouterStateSegment,\n partialVaryPath: PartialSegmentVaryPath | null,\n requestKey: SegmentRequestKey,\n pathnameParts: Array,\n pathnamePartsIndex: number,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n const prefetchSlots = prefetch.slots\n if (prefetchSlots !== null) {\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n\n slots = {}\n for (let parallelRouteKey in prefetchSlots) {\n const childPrefetch = prefetchSlots[parallelRouteKey]\n const childSegmentName = childPrefetch.name\n const childParam = childPrefetch.param\n\n let childDoesAppearInURL: boolean\n let childSegment: FlightRouterStateSegment\n let childPartialVaryPath: PartialSegmentVaryPath | null\n if (childParam !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(\n childParam.type,\n pathnameParts,\n pathnamePartsIndex\n )\n\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey =\n // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childParam.key !== null\n ? childParam.key\n : // If no param key was sent, use the value parsed on the client.\n getCacheKeyForDynamicParam(\n childParamValue,\n '' as NormalizedSearch\n )\n\n childPartialVaryPath = appendLayoutVaryPath(\n partialVaryPath,\n childParamKey,\n childSegmentName\n )\n childSegment = [\n childSegmentName,\n childParamKey,\n childParam.type,\n childParam.siblings,\n ]\n childDoesAppearInURL = true\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath\n childSegment = childSegmentName\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childSegmentName)\n }\n\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL\n ? pathnamePartsIndex + 1\n : pathnamePartsIndex\n\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(\n childPrefetch,\n childSegment,\n childPartialVaryPath,\n childRequestKey,\n pathnameParts,\n childPathnamePartsIndex,\n renderedSearch,\n acc\n )\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n return {\n requestKey,\n segment,\n refreshState: null,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n varyPath: varyPath as any,\n isPage: isPage as boolean as any,\n slots,\n prefetchHints: prefetch.prefetchHints,\n }\n}\n\nexport function convertRootFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n ROOT_SEGMENT_REQUEST_KEY,\n null,\n renderedSearch,\n acc\n )\n}\n\nexport function convertReusedFlightRouterStateToRouteTree(\n parentRouteTree: RouteTree,\n parallelRouteKey: string,\n flightRouterState: FlightRouterState,\n renderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n) {\n // Create a RouteTree for a FlightRouterState that was reused from an older\n // route. This happens during a navigation when a parallel route slot does not\n // match the target route; we reuse whatever slot was already active.\n\n // Unlike a FlightRouterState, the RouteTree type contains backreferences to\n // the parent segments. Append the vary path to the parent's vary path.\n const parentPartialVaryPath = parentRouteTree.isPage\n ? getPartialPageVaryPath(parentRouteTree.varyPath)\n : getPartialLayoutVaryPath(parentRouteTree.varyPath)\n const segment = flightRouterState[0]\n // And the request key.\n const parentRequestKey = parentRouteTree.requestKey\n const requestKeyPart = createSegmentRequestKeyPart(segment)\n const requestKey = appendSegmentRequestKeyPart(\n parentRequestKey,\n parallelRouteKey,\n requestKeyPart\n )\n return convertFlightRouterStateToRouteTree(\n flightRouterState,\n requestKey,\n parentPartialVaryPath,\n renderedSearch,\n acc\n )\n}\n\nfunction convertFlightRouterStateToRouteTree(\n flightRouterState: FlightRouterState,\n requestKey: SegmentRequestKey,\n parentPartialVaryPath: PartialSegmentVaryPath | null,\n parentRenderedSearch: NormalizedSearch,\n acc: RouteTreeAccumulator\n): RouteTree {\n const originalSegment = flightRouterState[0]\n\n // If the FlightRouterState has a refresh state, then this segment is part of\n // an inactive parallel route. It has a different rendered search query than\n // the outer parent route. In order to construct the inactive route correctly,\n // we must restore the query that was originally used to render it.\n const compressedRefreshState = flightRouterState[2] ?? null\n const refreshState =\n compressedRefreshState !== null\n ? {\n canonicalUrl: compressedRefreshState[0] as string,\n renderedSearch: compressedRefreshState[1] as NormalizedSearch,\n }\n : null\n const renderedSearch =\n refreshState !== null ? refreshState.renderedSearch : parentRenderedSearch\n\n let segment: FlightRouterStateSegment\n let partialVaryPath: PartialSegmentVaryPath | null\n let isPage: boolean\n let varyPath: SegmentVaryPath\n if (Array.isArray(originalSegment)) {\n isPage = false\n const paramCacheKey = originalSegment[1]\n const paramName = originalSegment[0]\n partialVaryPath = appendLayoutVaryPath(\n parentPartialVaryPath,\n paramCacheKey,\n paramName\n )\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n segment = originalSegment\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true\n\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY\n varyPath = finalizePageVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(\n requestKey,\n renderedSearch,\n partialVaryPath\n )\n }\n } else {\n // This is a layout segment.\n isPage = false\n segment = originalSegment\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath)\n }\n }\n\n let slots: { [parallelRouteKey: string]: RouteTree } | null = null\n\n const parallelRoutes = flightRouterState[1]\n for (let parallelRouteKey in parallelRoutes) {\n const childRouterState = parallelRoutes[parallelRouteKey]\n const childSegment = childRouterState[0]\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment)\n const childRequestKey = appendSegmentRequestKeyPart(\n requestKey,\n parallelRouteKey,\n childRequestKeyPart\n )\n const childTree = convertFlightRouterStateToRouteTree(\n childRouterState,\n childRequestKey,\n partialVaryPath,\n renderedSearch,\n acc\n )\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree,\n }\n } else {\n slots[parallelRouteKey] = childTree\n }\n }\n\n return {\n requestKey,\n segment,\n refreshState,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n varyPath: varyPath as any,\n isPage: isPage as boolean as any,\n slots,\n prefetchHints: flightRouterState[4] ?? 0,\n }\n}\n\nexport function convertRouteTreeToFlightRouterState(\n routeTree: RouteTree\n): FlightRouterState {\n const parallelRoutes: Record = {}\n if (routeTree.slots !== null) {\n for (const parallelRouteKey in routeTree.slots) {\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(\n routeTree.slots[parallelRouteKey]\n )\n }\n }\n const flightRouterState: FlightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null,\n ]\n return flightRouterState\n}\n\nexport async function fetchRouteOnCacheMiss(\n entry: PendingRouteCacheEntry,\n key: RouteCacheKey\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname\n const search = key.search\n const nextUrl = key.nextUrl\n const segmentPath = '/_tree' as SegmentRequestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n // Tell the server to perform a static pre-render for the Instant Navigation\n // Testing API. Static pre-renders don't normally happen during development.\n addInstantPrefetchHeaderIfLocked(headers)\n\n try {\n const url = new URL(pathname + search, location.origin)\n let response\n let urlAfterRedirects\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD',\n })\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n urlAfterRedirects = headResponse.redirected\n ? new URL(headResponse.url)\n : url\n\n response = await fetchPrefetchResponse(\n addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath),\n headers\n )\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers)\n urlAfterRedirects =\n response !== null && response.redirected ? new URL(response.url) : url\n }\n\n if (\n !response ||\n !response.ok ||\n // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects)\n\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary')\n const couldBeIntercepted =\n varyHeader !== null && varyHeader.includes(NEXT_URL)\n\n // TODO: The `closed` promise was originally used to track when a streaming\n // network connection closes, so the scheduler could limit concurrent\n // connections. Now that prefetch responses are buffered, `closed` is\n // resolved immediately after buffering — before the outer function even\n // returns. This mechanism is only still meaningful for dynamic (Full)\n // prefetches, which use incremental streaming. Consider removing the\n // `closed` plumbing for buffered prefetch paths.\n const closed = createPromiseWithResolvers()\n\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' ||\n // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode\n\n if (routeIsPPREnabled) {\n const { stream: prefetchStream, size: responseSize } =\n await createNonTaskyPrefetchResponseStream(response.body)\n closed.resolve()\n setSizeInCacheMap(entry, responseSize)\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers,\n { allowPartialStream: true }\n )\n\n if (\n (response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n serverData.buildId) !== getNavigationBuildId()\n ) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response)\n const renderedSearch = getRenderedSearch(response)\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootTreePrefetchToRouteTree(\n serverData,\n renderedPathname,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n discoverKnownRoute(\n Date.now(),\n pathname,\n nextUrl,\n entry,\n routeTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled,\n false // hasDynamicRewrite\n )\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const { stream: prefetchStream, size: responseSize } =\n await createNonTaskyPrefetchResponseStream(response.body)\n closed.resolve()\n setSizeInCacheMap(entry, responseSize)\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers,\n { allowPartialStream: true }\n )\n\n if (\n (response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n serverData.b) !== getNavigationBuildId()\n ) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n\n // Read head vary params synchronously. Individual segments carry their\n // own thenables in CacheNodeSeedData.\n const headVaryParamsThenable = serverData.h\n const headVaryParams =\n headVaryParamsThenable !== null\n ? readVaryParams(headVaryParamsThenable)\n : null\n writeDynamicTreeResponseIntoCache(\n Date.now(),\n // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary,\n response as RSCResponse,\n serverData,\n entry,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled,\n headVaryParams,\n pathname,\n nextUrl\n )\n }\n\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath: RouteVaryPath = getFulfilledRouteVaryPath(\n pathname,\n search,\n nextUrl,\n couldBeIntercepted\n )\n const isRevalidation = false\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation)\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000)\n return null\n }\n}\n\nexport async function fetchSegmentOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n segmentCacheEntry: PendingSegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): Promise | null> {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const requestKey = tree.requestKey\n const normalizedRequestKey =\n requestKey === ROOT_SEGMENT_REQUEST_KEY\n ? // The root segment is a special case. To simplify the server-side\n // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n ('/_index' as SegmentRequestKey)\n : requestKey\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n // Tell the server to perform a static pre-render for the Instant Navigation\n // Testing API. Static pre-renders don't normally happen during development.\n addInstantPrefetchHeaderIfLocked(headers)\n\n const requestUrl = isOutputExportMode\n ? // In output: \"export\" mode, we need to add the segment path to the URL.\n addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey)\n : url\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode) ||\n !response.body\n ) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n\n // See TODO in fetchRouteOnCacheMiss about removing `closed` for\n // buffered prefetch paths.\n const closed = createPromiseWithResolvers()\n\n const { stream: prefetchStream, size: responseSize } =\n await createNonTaskyPrefetchResponseStream(response.body)\n closed.resolve()\n setSizeInCacheMap(segmentCacheEntry, responseSize)\n const serverData = await createFromNextReadableStream(\n prefetchStream,\n headers,\n { allowPartialStream: true }\n )\n if (\n (response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n serverData.buildId) !== getNavigationBuildId()\n ) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n const now = Date.now()\n const staleAt = now + getStaleTimeMs(serverData.staleTime)\n const fulfilledEntry = fulfillSegmentCacheEntry(\n segmentCacheEntry,\n serverData.rsc,\n staleAt,\n serverData.isPartial\n )\n\n // If the server tells us which params the segment varies by, we can re-key\n // the entry to a more generic vary path. This allows the entry to be reused\n // across different param values for params that the segment doesn't\n // actually depend on.\n const varyParams = serverData.varyParams\n const fulfilledVaryPath =\n process.env.__NEXT_VARY_PARAMS && varyParams !== null\n ? getFulfilledSegmentVaryPath(tree.varyPath, varyParams)\n : getSegmentVaryPathForRequest(segmentCacheEntry.fetchStrategy, tree)\n // Re-key and upsert the entry at the fulfilled vary path. This ensures\n // the entry is stored at the most generic path possible based on which\n // params the segment actually depends on.\n upsertSegmentEntry(now, fulfilledVaryPath, fulfilledEntry)\n\n return {\n value: fulfilledEntry,\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise,\n }\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000)\n return null\n }\n}\n\n// TODO: The inlined prefetch flow below is temporary. Eventually, inlining\n// will be the default behavior controlled by a size heuristic rather than a\n// boolean flag. At that point, the per-segment and inlined fetch paths will\n// merge, and these separate functions will be removed.\n//\n// The call site in the scheduler is guarded by\n// process.env.__NEXT_PREFETCH_INLINING, so these functions are\n// dead-code-eliminated from the client bundle when the feature is disabled.\n\nexport async function fetchInlinedSegmentsOnCacheMiss(\n route: FulfilledRouteCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree,\n spawnedEntries: Map\n): Promise | null> {\n // When prefetch inlining is enabled, all segment data for a route is bundled\n // into a single /_inlined response instead of individual per-segment\n // requests. This function fetches that response and walks the tree to fill\n // all segment cache entries at once.\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = routeKey.nextUrl\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: '/' + PAGE_SEGMENT_KEY,\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n addInstantPrefetchHeaderIfLocked(headers)\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (\n !response ||\n !response.ok ||\n response.status === 204 ||\n (response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' &&\n !isOutputExportMode) ||\n !response.body\n ) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // See TODO in fetchRouteOnCacheMiss about removing `closed` for\n // buffered prefetch paths.\n const closed = createPromiseWithResolvers()\n\n const { stream: prefetchStream } =\n await createNonTaskyPrefetchResponseStream(response.body)\n closed.resolve()\n const serverData =\n await createFromNextReadableStream(\n prefetchStream,\n headers,\n { allowPartialStream: true }\n )\n\n if (\n (response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ??\n serverData.tree.segment.buildId) !== getNavigationBuildId()\n ) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const now = Date.now()\n\n // Walk the inlined tree in parallel with the RouteTree and fill\n // segment cache entries.\n fillInlinedSegmentEntries(now, route, tree, serverData.tree, spawnedEntries)\n\n // Fill the head entry.\n const headStaleAt = now + getStaleTimeMs(serverData.head.staleTime)\n const headKey = route.metadata.requestKey\n const ownedHeadEntry = spawnedEntries.get(headKey)\n if (ownedHeadEntry !== undefined) {\n fulfillSegmentCacheEntry(\n ownedHeadEntry,\n serverData.head.rsc,\n headStaleAt,\n serverData.head.isPartial\n )\n } else {\n // The head was already cached. Try to upsert if the entry is empty.\n const existingEntry = readOrCreateSegmentCacheEntry(\n now,\n FetchStrategy.PPR,\n route.metadata\n )\n if (existingEntry.status === EntryStatus.Empty) {\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(existingEntry, FetchStrategy.PPR),\n serverData.head.rsc,\n headStaleAt,\n serverData.head.isPartial\n )\n }\n }\n\n // Reject any remaining entries that were not fulfilled by the response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction fillInlinedSegmentEntries(\n now: number,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n inlinedNode: InlinedSegmentPrefetch,\n spawnedEntries: Map\n): void {\n // Check if the spawned entries map has an entry for this segment's key.\n const segment = inlinedNode.segment\n const staleAt = now + getStaleTimeMs(segment.staleTime)\n const ownedEntry = spawnedEntries.get(tree.requestKey)\n if (ownedEntry !== undefined) {\n // We own this entry. Fulfill it directly.\n fulfillSegmentCacheEntry(\n ownedEntry,\n segment.rsc,\n staleAt,\n segment.isPartial\n )\n } else {\n // Not owned by us — this is extra data from the inlined response for a\n // segment that was already cached. Try to upsert if the entry is empty.\n const existingEntry = readOrCreateSegmentCacheEntry(\n now,\n FetchStrategy.PPR,\n tree\n )\n if (existingEntry.status === EntryStatus.Empty) {\n fulfillSegmentCacheEntry(\n upgradeToPendingSegment(existingEntry, FetchStrategy.PPR),\n segment.rsc,\n staleAt,\n segment.isPartial\n )\n }\n }\n\n // Recurse into children.\n if (tree.slots !== null && inlinedNode.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n const childInlinedNode = inlinedNode.slots[parallelRouteKey]\n if (childInlinedNode !== undefined) {\n fillInlinedSegmentEntries(\n now,\n route,\n childTree,\n childInlinedNode,\n spawnedEntries\n )\n }\n }\n }\n}\n\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n dynamicRequestTree: FlightRouterState,\n spawnedEntries: Map\n): Promise | null> {\n const key = task.key\n const url = new URL(route.canonicalUrl, location.origin)\n const nextUrl = key.nextUrl\n\n if (\n spawnedEntries.size === 1 &&\n spawnedEntries.has(route.metadata.requestKey)\n ) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree\n }\n\n const headers: RequestHeaders = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]:\n prepareFlightRouterStateForRequest(dynamicRequestTree),\n }\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl\n }\n switch (fetchStrategy) {\n case FetchStrategy.Full: {\n // We omit the prefetch header from a full prefetch because it's essentially\n // just a navigation request that happens ahead of time — it should include\n // all the same data in the response.\n break\n }\n case FetchStrategy.PPRRuntime: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2'\n break\n }\n case FetchStrategy.LoadingBoundary: {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1'\n break\n }\n default: {\n fetchStrategy satisfies never\n }\n }\n\n try {\n const response = await fetchPrefetchResponse(url, headers)\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n const renderedSearch = getRenderedSearch(response)\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n\n // Track when the network connection closes. Only meaningful for Full\n // (dynamic) prefetches which use incremental streaming. For buffered\n // paths, this is resolved immediately — see TODO in fetchRouteOnCacheMiss.\n const closed = createPromiseWithResolvers()\n\n let fulfilledEntries: Array | null = null\n let prefetchStream: ReadableStream\n let bufferedResponseSize: number | null = null\n if (fetchStrategy === FetchStrategy.Full) {\n // Full prefetches are dynamic responses stored in the prefetch cache.\n // They don't carry vary params or other cache metadata, so there's no\n // need to buffer them. Use the incremental version to allow data to be\n // processed as it arrives.\n prefetchStream = createIncrementalPrefetchResponseStream(\n response.body,\n closed.resolve,\n function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assigning each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n )\n } else {\n const { stream, size } = await createNonTaskyPrefetchResponseStream(\n response.body\n )\n closed.resolve()\n prefetchStream = stream\n bufferedResponseSize = size\n }\n\n const [serverData, cacheData] = await Promise.all([\n createFromNextReadableStream(\n prefetchStream,\n headers,\n { allowPartialStream: true }\n ),\n response.cacheData,\n ])\n\n // Read head vary params synchronously. Individual segments carry their\n // own thenables in CacheNodeSeedData.\n const headVaryParamsThenable = serverData.h\n const headVaryParams =\n headVaryParamsThenable !== null\n ? readVaryParams(headVaryParamsThenable)\n : null\n\n const now = Date.now()\n const staleAt = await getStaleAt(now, serverData.s, response)\n // PPRRuntime prefetches are partial when the server marks the response\n // as '~' (Partial). Full/LoadingBoundary prefetches are always complete.\n const isResponsePartial =\n fetchStrategy === FetchStrategy.PPRRuntime &&\n (cacheData?.isResponsePartial ?? false)\n\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n const buildId =\n response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n const navigationSeed = convertServerPatchToFullTree(\n now,\n dynamicRequestTree,\n flightDatas,\n renderedSearch,\n // Not needed for prefetch responses; pass unknown to use the default.\n UnknownDynamicStaleTime\n )\n fulfilledEntries = writeDynamicRenderResponseIntoCache(\n now,\n fetchStrategy,\n flightDatas,\n buildId,\n isResponsePartial,\n headVaryParams,\n staleAt,\n navigationSeed,\n spawnedEntries\n )\n\n // For buffered responses, update LRU sizes now that we know which\n // entries were fulfilled.\n if (\n bufferedResponseSize !== null &&\n fulfilledEntries !== null &&\n fulfilledEntries.length > 0\n ) {\n const averageSize = bufferedResponseSize / fulfilledEntries.length\n for (const entry of fulfilledEntries) {\n setSizeInCacheMap(entry, averageSize)\n }\n }\n\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return { value: null, closed: closed.promise }\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000)\n return null\n }\n}\n\nfunction writeDynamicTreeResponseIntoCache(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n response: RSCResponse,\n serverData: NavigationFlightResponse,\n entry: PendingRouteCacheEntry,\n couldBeIntercepted: boolean,\n canonicalUrl: string,\n routeIsPPREnabled: boolean,\n headVaryParams: VaryParams | null,\n originalPathname: string,\n nextUrl: string | null\n): void {\n const renderedSearch = getRenderedSearch(response)\n\n const normalizedFlightDataResult = normalizeFlightData(serverData.f)\n if (\n // A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' ||\n normalizedFlightDataResult.length !== 1\n ) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n const flightData = normalizedFlightDataResult[0]\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n const flightRouterState = flightData.tree\n // If the response was postponed, segments may contain dynamic holes.\n // The head has its own partiality flag (flightDataEntry.isHeadPartial)\n // which is handled separately in writeDynamicRenderResponseIntoCache.\n const isResponsePartial =\n response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1'\n\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc: RouteTreeAccumulator = { metadataVaryPath: null }\n const routeTree = convertRootFlightRouterStateToRouteTree(\n flightRouterState,\n renderedSearch,\n acc\n )\n const metadataVaryPath = acc.metadataVaryPath\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000)\n return\n }\n\n discoverKnownRoute(\n now,\n originalPathname,\n nextUrl,\n entry,\n routeTree,\n metadataVaryPath,\n couldBeIntercepted,\n canonicalUrl,\n routeIsPPREnabled,\n false // hasDynamicRewrite\n )\n\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n // TODO: This is a leftover branch from before Client Segment Cache was\n // enabled everywhere. Tree prefetches should never include segment data. We\n // can delete it. Leaving for a subsequent PR.\n const navigationSeed = convertServerPatchToFullTree(\n now,\n flightRouterState,\n normalizedFlightDataResult,\n renderedSearch,\n UnknownDynamicStaleTime\n )\n const buildId =\n response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b\n writeDynamicRenderResponseIntoCache(\n now,\n fetchStrategy,\n normalizedFlightDataResult,\n buildId,\n isResponsePartial,\n headVaryParams,\n getStaleAtFromHeader(now, response),\n navigationSeed,\n null\n )\n}\n\nfunction rejectSegmentEntriesIfStillPending(\n entries: Map,\n staleAt: number\n): Array {\n const fulfilledEntries = []\n for (const entry of entries.values()) {\n if (entry.status === EntryStatus.Pending) {\n rejectSegmentCacheEntry(entry, staleAt)\n } else if (entry.status === EntryStatus.Fulfilled) {\n fulfilledEntries.push(entry)\n }\n }\n return fulfilledEntries\n}\n\nexport function writeDynamicRenderResponseIntoCache(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPR\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n flightDatas: NormalizedFlightData[],\n buildId: string | undefined,\n isResponsePartial: boolean,\n headVaryParams: VaryParams | null,\n staleAt: number,\n navigationSeed: NavigationSeed,\n spawnedEntries: Map | null\n): Array | null {\n if (buildId && buildId !== getNavigationBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n\n const routeTree = navigationSeed.routeTree\n const metadataTree =\n navigationSeed.metadataVaryPath !== null\n ? createMetadataRouteTree(navigationSeed.metadataVaryPath)\n : null\n\n for (const flightDataEntry of flightDatas) {\n const seedData = flightDataEntry.seedData\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightDataEntry.segmentPath\n let tree = routeTree\n for (let i = 0; i < segmentPath.length; i += 2) {\n const parallelRouteKey: string = segmentPath[i]\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey]\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000)\n }\n return null\n }\n }\n\n writeSeedDataIntoCache(\n now,\n fetchStrategy,\n tree,\n staleAt,\n seedData,\n isResponsePartial,\n spawnedEntries\n )\n }\n\n const head = flightDataEntry.head\n if (head !== null && metadataTree !== null) {\n // When Cache Components is enabled, the server conservatively marks\n // the head as partial during static generation (isPossiblyPartialHead\n // in app-render.tsx), even for fully static pages where the head is\n // actually complete. When the response is non-partial, we override\n // this since the server confirmed no dynamic content exists.\n //\n // Without Cache Components, the server always sends the correct\n // isHeadPartial value, so no override is needed.\n const isHeadPartial =\n !isResponsePartial && process.env.__NEXT_CACHE_COMPONENTS\n ? false\n : flightDataEntry.isHeadPartial\n\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n head,\n isHeadPartial,\n staleAt,\n // For head entries, use the head-specific vary params passed as\n // parameter.\n headVaryParams,\n metadataTree,\n spawnedEntries\n )\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(\n spawnedEntries,\n now + 10 * 1000\n )\n return fulfilledEntries\n }\n return null\n}\n\nfunction writeSeedDataIntoCache(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPR\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n tree: RouteTree,\n staleAt: number,\n seedData: CacheNodeSeedData,\n isResponsePartial: boolean,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0]\n const isPartial = rsc === null || isResponsePartial\n const varyParamsThenable = seedData[4]\n // Each segment carries its own vary params thenable in the seed data. The\n // thenable resolves to the set of params the segment accessed during render.\n // A null thenable means tracking was not enabled (not a prerender).\n const varyParams =\n varyParamsThenable !== null ? readVaryParams(varyParamsThenable) : null\n fulfillEntrySpawnedByRuntimePrefetch(\n now,\n fetchStrategy,\n rsc,\n isPartial,\n staleAt,\n varyParams,\n tree,\n entriesOwnedByCurrentTask\n )\n\n // Recursively write the child data into the cache.\n const slots = tree.slots\n if (slots !== null) {\n const seedDataChildren = seedData[1]\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n const childSeedData: CacheNodeSeedData | null | void =\n seedDataChildren[parallelRouteKey]\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(\n now,\n fetchStrategy,\n childTree,\n staleAt,\n childSeedData,\n isResponsePartial,\n entriesOwnedByCurrentTask\n )\n }\n }\n }\n}\n\nfunction fulfillEntrySpawnedByRuntimePrefetch(\n now: number,\n fetchStrategy:\n | FetchStrategy.LoadingBoundary\n | FetchStrategy.PPR\n | FetchStrategy.PPRRuntime\n | FetchStrategy.Full,\n rsc: React.ReactNode,\n isPartial: boolean,\n staleAt: number,\n segmentVaryParams: Set | null,\n tree: RouteTree,\n entriesOwnedByCurrentTask: Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n > | null\n) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry =\n entriesOwnedByCurrentTask !== null\n ? entriesOwnedByCurrentTask.get(tree.requestKey)\n : undefined\n if (ownedEntry !== undefined) {\n const fulfilledEntry = fulfillSegmentCacheEntry(\n ownedEntry,\n rsc,\n staleAt,\n isPartial\n )\n // Re-key the entry based on which params the segment actually depends on.\n if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {\n const fulfilledVaryPath = getFulfilledSegmentVaryPath(\n tree.varyPath,\n segmentVaryParams\n )\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n fulfilledVaryPath,\n fulfilledEntry,\n isRevalidation\n )\n }\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(\n now,\n fetchStrategy,\n tree\n )\n if (possiblyNewEntry.status === EntryStatus.Empty) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry\n const fulfilledEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(newEntry, fetchStrategy),\n rsc,\n staleAt,\n isPartial\n )\n // Re-key the entry based on which params the segment actually depends on.\n if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {\n const fulfilledVaryPath = getFulfilledSegmentVaryPath(\n tree.varyPath,\n segmentVaryParams\n )\n const isRevalidation = false\n setInCacheMap(\n segmentCacheMap,\n fulfilledVaryPath,\n fulfilledEntry,\n isRevalidation\n )\n }\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(\n upgradeToPendingSegment(\n createDetachedSegmentCacheEntry(now),\n fetchStrategy\n ),\n rsc,\n staleAt,\n isPartial\n )\n // Use the fulfilled vary path if available, otherwise fall back to\n // the request vary path.\n const varyPath =\n process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null\n ? getFulfilledSegmentVaryPath(tree.varyPath, segmentVaryParams)\n : getSegmentVaryPathForRequest(fetchStrategy, tree)\n upsertSegmentEntry(now, varyPath, newEntry)\n }\n }\n}\n\nasync function fetchPrefetchResponse(\n url: URL,\n headers: RequestHeaders\n): Promise | null> {\n const fetchPriority = 'low'\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createNonTaskyPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false\n const response = await createFetch(\n url,\n headers,\n fetchPriority,\n shouldImmediatelyDecode\n )\n if (!response.ok) {\n return null\n }\n\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type')\n const isFlightResponse =\n contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER)\n if (!isFlightResponse) {\n return null\n }\n }\n return response\n}\n\nasync function createNonTaskyPrefetchResponseStream(\n body: ReadableStream\n): Promise<{ stream: ReadableStream; size: number }> {\n // Buffer the entire response before passing it to the Flight client. This\n // ensures that when Flight processes the stream, all model data is available\n // synchronously. This is important for readVaryParams, which synchronously\n // checks the thenable status — if data arrived in multiple network chunks,\n // the thenables might not yet be fulfilled.\n //\n // TODO: There are too many intermediate stream transformations in the\n // prefetch response pipeline (e.g. stripIsPartialByte, this function).\n // These could all be consolidated into a single transformation. Refactor\n // once the cached navigations experiment lands.\n //\n // Read the entire response from the network.\n const reader = body.getReader()\n const chunks: Uint8Array[] = []\n let size = 0\n while (true) {\n const { done, value } = await reader.read()\n if (done) break\n chunks.push(value)\n size += value.byteLength\n }\n // Concatenate into a single chunk so that Flight's processBinaryChunk\n // processes all rows synchronously in one call. Multiple chunks would not\n // be sufficient: even though reader.read() resolves as a microtask for\n // already-enqueued data, the `await` continuation from\n // createFromReadableStream can interleave between chunks. If the root\n // model row isn't the first row (e.g. outlined values come first), the\n // PromiseResolveThenableJob from `await` can cause the root to initialize\n // eagerly, scheduling the continuation before remaining chunks (including\n // promise value rows) are processed. A single chunk avoids this.\n let buffer: Uint8Array\n if (chunks.length === 1) {\n buffer = chunks[0]\n } else if (chunks.length > 1) {\n buffer = new Uint8Array(size)\n let offset = 0\n for (const chunk of chunks) {\n buffer.set(chunk, offset)\n offset += chunk.byteLength\n }\n } else {\n buffer = new Uint8Array(0)\n }\n const stream = new ReadableStream({\n start(controller) {\n controller.enqueue(buffer)\n controller.close()\n },\n })\n return { stream, size }\n}\n\n/**\n * Creates a streaming (non-buffered) prefetch response stream for dynamic/Full\n * prefetches. These are essentially dynamic responses that get stored in the\n * prefetch cache — they don't carry vary params or other cache metadata that\n * requires synchronous thenable resolution, so there's no need to buffer them.\n * They should continue to stream so consumers can process data as it arrives.\n */\nfunction createIncrementalPrefetchResponseStream(\n originalFlightStream: ReadableStream,\n onStreamClose: () => void,\n onResponseSizeUpdate: (size: number) => void\n): ReadableStream {\n // While processing the original stream, we incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0\n const reader = originalFlightStream.getReader()\n return new ReadableStream({\n async pull(controller) {\n while (true) {\n const { done, value } = await reader.read()\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value)\n\n // Incrementally update the size of the cache entry in the LRU.\n totalByteLength += value.byteLength\n onResponseSizeUpdate(totalByteLength)\n continue\n }\n controller.close()\n onStreamClose()\n return\n }\n },\n })\n}\n\nfunction addSegmentPathToUrlInOutputExportMode(\n url: URL,\n segmentPath: SegmentRequestKey\n): URL {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url)\n const routeDir = staticUrl.pathname.endsWith('/')\n ? staticUrl.pathname.slice(0, -1)\n : staticUrl.pathname\n const staticExportFilename =\n convertSegmentPathToStaticExportFilename(segmentPath)\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`\n return staticUrl\n }\n return url\n}\n\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */\nexport function canNewFetchStrategyProvideMoreContent(\n currentStrategy: FetchStrategy,\n newStrategy: FetchStrategy\n): boolean {\n return currentStrategy < newStrategy\n}\n\n/**\n * Adds the instant prefetch header if the navigation lock is active.\n * Uses a lazy require to ensure dead code elimination.\n */\nfunction addInstantPrefetchHeaderIfLocked(\n headers: Record\n): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { isNavigationLocked } =\n require('./navigation-testing-lock') as typeof import('./navigation-testing-lock')\n if (isNavigationLocked()) {\n headers[NEXT_INSTANT_PREFETCH_HEADER] = '1'\n }\n }\n}\n\nfunction getStaleAtFromHeader(\n now: number,\n response: RSCResponse\n): number {\n const staleTimeSeconds = parseInt(\n response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '',\n 10\n )\n\n const staleTimeMs = !isNaN(staleTimeSeconds)\n ? getStaleTimeMs(staleTimeSeconds)\n : STATIC_STALETIME_MS\n\n return now + staleTimeMs\n}\n\n/**\n * Reads the stale time from an async iterable or a response header and\n * returns a staleAt timestamp.\n *\n * TODO: Buffer the response and then read the iterable values\n * synchronously, similar to readVaryParams. This would avoid the need to\n * make this async, and we could also use it in\n * writeDynamicTreeResponseIntoCache. This will also be needed when React\n * starts leaving async iterables hanging when the outer RSC stream is\n * aborted e.g. due to sync I/O (with unstable_allowPartialStream).\n */\nexport async function getStaleAt(\n now: number,\n staleTimeIterable: AsyncIterable | undefined,\n response?: RSCResponse\n): Promise {\n if (staleTimeIterable !== undefined) {\n // Iterate the async iterable and take the last yielded value. The server\n // yields updated staleTime values during the render; the last one is the\n // final staleTime.\n let staleTimeSeconds: number | undefined\n for await (const value of staleTimeIterable) {\n staleTimeSeconds = value\n }\n\n if (staleTimeSeconds !== undefined) {\n const staleTimeMs = isNaN(staleTimeSeconds)\n ? STATIC_STALETIME_MS\n : getStaleTimeMs(staleTimeSeconds)\n\n return now + staleTimeMs\n }\n }\n\n if (response !== undefined) {\n return getStaleAtFromHeader(now, response)\n }\n\n return now + STATIC_STALETIME_MS\n}\n\n/**\n * Writes the static stage of a navigation response into the segment cache.\n * When `isResponsePartial` is false, segments are written as non-partial with\n * `FetchStrategy.Full` so no dynamic follow-up is needed. Default segments\n * are skipped (by `writeSeedDataIntoCache`) to avoid caching fallback content\n * that would block refreshes from overwriting with dynamic data.\n */\nexport function writeStaticStageResponseIntoCache(\n now: number,\n flightData: FlightData,\n buildId: string | undefined,\n headVaryParamsThenable: VaryParamsThenable | null,\n staleAt: number,\n baseTree: FlightRouterState,\n renderedSearch: string,\n isResponsePartial: boolean\n): void {\n const fetchStrategy = isResponsePartial\n ? FetchStrategy.PPR\n : FetchStrategy.Full\n\n const headVaryParams =\n headVaryParamsThenable !== null\n ? readVaryParams(headVaryParamsThenable)\n : null\n\n const flightDatas = normalizeFlightData(flightData)\n if (typeof flightDatas === 'string') {\n return\n }\n const navigationSeed = convertServerPatchToFullTree(\n now,\n baseTree,\n flightDatas,\n renderedSearch,\n UnknownDynamicStaleTime\n )\n writeDynamicRenderResponseIntoCache(\n now,\n fetchStrategy,\n flightDatas,\n buildId,\n isResponsePartial,\n headVaryParams,\n staleAt,\n navigationSeed,\n null // spawnedEntries — no pre-created entries; will create or upsert\n )\n}\n\n/**\n * Decodes an embedded runtime prefetch Flight stream, normalizes the flight\n * data, and derives a `NavigationSeed` from the base tree.\n *\n * Returns `null` if the response triggers an MPA navigation.\n */\nexport async function processRuntimePrefetchStream(\n now: number,\n runtimePrefetchStream: ReadableStream,\n baseTree: FlightRouterState,\n renderedSearch: string\n): Promise<{\n flightDatas: NormalizedFlightData[]\n navigationSeed: NavigationSeed\n buildId: string | undefined\n isResponsePartial: boolean\n headVaryParams: VaryParams | null\n staleAt: number\n} | null> {\n const { stream, isPartial } = await stripIsPartialByte(runtimePrefetchStream)\n\n const serverData =\n await createFromNextReadableStream(\n stream,\n undefined,\n { allowPartialStream: true }\n )\n\n const headVaryParamsThenable = serverData.h\n const headVaryParams =\n headVaryParamsThenable !== null\n ? readVaryParams(headVaryParamsThenable)\n : null\n\n const staleAt = await getStaleAt(now, serverData.s)\n\n const flightDatas = normalizeFlightData(serverData.f)\n if (typeof flightDatas === 'string') {\n return null\n }\n const navigationSeed = convertServerPatchToFullTree(\n now,\n baseTree,\n flightDatas,\n renderedSearch,\n UnknownDynamicStaleTime\n )\n\n return {\n flightDatas,\n navigationSeed,\n buildId: serverData.b,\n isResponsePartial: isPartial,\n headVaryParams,\n staleAt,\n }\n}\n\n/**\n * Strips the leading isPartial byte from an RSC response stream.\n *\n * The server prepends a single byte: '~' (0x7e) for partial, '#' (0x23) for\n * complete. These bytes cannot appear as the first byte of a valid RSC Flight\n * response (Flight rows start with a hex digit or ':').\n *\n * If the first byte is not a recognized marker, the stream is returned intact\n * and `isPartial` is determined by the cachedNavigations experimental flag.\n */\nexport async function stripIsPartialByte(\n stream: ReadableStream\n): Promise<{ stream: ReadableStream; isPartial: boolean }> {\n // When there is no recognized marker byte, the fallback depends on whether\n // Cached Navigations is enabled. When enabled, dynamic navigation responses\n // don't have a marker but may contain dynamic holes, so they are treated as\n // partial. When disabled, unmarked responses are treated as non-partial.\n const defaultIsPartial = !!process.env.__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS\n\n const reader = stream.getReader()\n const { done, value } = await reader.read()\n\n if (done || !value || value.byteLength === 0) {\n return {\n stream: new ReadableStream({ start: (c) => c.close() }),\n isPartial: defaultIsPartial,\n }\n }\n\n const firstByte = value[0]\n const hasMarker = firstByte === 0x23 || firstByte === 0x7e\n const isPartial = hasMarker ? firstByte === 0x7e : defaultIsPartial\n\n const remainder = hasMarker\n ? value.byteLength > 1\n ? value.subarray(1)\n : null\n : value\n\n return {\n isPartial,\n stream: new ReadableStream({\n start(controller) {\n if (remainder) {\n controller.enqueue(remainder)\n }\n },\n async pull(controller) {\n const result = await reader.read()\n if (result.done) {\n controller.close()\n } else {\n controller.enqueue(result.value)\n }\n },\n }),\n }\n}\n","import type {\n FlightRouterState,\n Segment as FlightRouterStateSegment,\n Segment,\n} from '../../../shared/lib/app-router-types'\nimport { PrefetchHint } from '../../../shared/lib/app-router-types'\nimport { matchSegment } from '../match-segments'\nimport {\n readOrCreateRouteCacheEntry,\n readOrCreateSegmentCacheEntry,\n fetchRouteOnCacheMiss,\n fetchSegmentOnCacheMiss,\n fetchInlinedSegmentsOnCacheMiss,\n EntryStatus,\n type FulfilledRouteCacheEntry,\n type RouteCacheEntry,\n type SegmentCacheEntry,\n type RouteTree,\n fetchSegmentPrefetchesUsingDynamicRequest,\n type PendingSegmentCacheEntry,\n convertRouteTreeToFlightRouterState,\n readOrCreateRevalidatingSegmentEntry,\n upgradeToPendingSegment,\n overwriteRevalidatingSegmentCacheEntry,\n canNewFetchStrategyProvideMoreContent,\n attemptToFulfillDynamicSegmentFromBFCache,\n attemptToUpgradeSegmentFromBFCache,\n} from './cache'\nimport type { RouteCacheKey } from './cache-key'\nimport { createCacheKey } from './cache-key'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './types'\nimport {\n getCurrentRouteCacheVersion,\n getCurrentSegmentCacheVersion,\n} from './cache'\nimport {\n addSearchParamsIfPageSegment,\n PAGE_SEGMENT_KEY,\n} from '../../../shared/lib/segment'\nimport type { SegmentRequestKey } from '../../../shared/lib/segment-cache/segment-value-encoding'\nimport { cleanup } from './lru'\n\nconst scheduleMicrotask =\n typeof queueMicrotask === 'function'\n ? queueMicrotask\n : (fn: () => unknown) =>\n Promise.resolve()\n .then(fn)\n .catch((error) =>\n setTimeout(() => {\n throw error\n })\n )\n\nexport type PrefetchTask = {\n key: RouteCacheKey\n\n /**\n * The FlightRouterState at the time the task was initiated. This is needed\n * when falling back to the non-PPR behavior, which only prefetches up to\n * the first loading boundary.\n */\n treeAtTimeOfPrefetch: FlightRouterState\n\n /**\n * The cache versions at the time the task was initiated. Used to determine\n * if the cache was invalidated since the task was initiated. Route and\n * segment caches have separate versions so they can be invalidated\n * independently.\n */\n routeCacheVersion: number\n segmentCacheVersion: number\n\n /**\n * Whether to prefetch dynamic data, in addition to static data. This is\n * used by ``.\n *\n * Note that a task with `FetchStrategy.PPR` might need to use\n * `FetchStrategy.LoadingBoundary` instead if we find out that a route\n * does not support PPR after doing the initial route prefetch.\n */\n fetchStrategy: PrefetchTaskFetchStrategy\n\n /**\n * sortId is an incrementing counter\n *\n * Newer prefetches are prioritized over older ones, so that as new links\n * enter the viewport, they are not starved by older links that are no\n * longer relevant. In the future, we can add additional prioritization\n * heuristics, like removing prefetches once a link leaves the viewport.\n *\n * The sortId is assigned when the prefetch is initiated, and reassigned if\n * the same task is prefetched again (effectively bumping it to the top of\n * the queue).\n *\n * TODO: We can add additional fields here to indicate what kind of prefetch\n * it is. For example, was it initiated by a link? Or was it an imperative\n * call? If it was initiated by a link, we can remove it from the queue when\n * the link leaves the viewport, but if it was an imperative call, then we\n * should keep it in the queue until it's fulfilled.\n *\n * We can also add priority levels. For example, hovering over a link could\n * increase the priority of its prefetch.\n */\n sortId: number\n\n /**\n * The priority of the task. Like sortId, this affects the task's position in\n * the queue, so it must never be updated without resifting the heap.\n */\n priority: PrefetchPriority\n\n /**\n * The phase of the task. Tasks are split into multiple phases so that their\n * priority can be adjusted based on what kind of work they're doing.\n * Concretely, prefetching the route tree is higher priority than prefetching\n * segment data.\n */\n phase: PrefetchPhase\n\n /**\n * These fields are temporary state for tracking the currently running task.\n * They are reset after each iteration of the task queue.\n */\n hasBackgroundWork: boolean\n spawnedRuntimePrefetches: Set | null\n\n /**\n * True if the prefetch was cancelled.\n */\n isCanceled: boolean\n\n /**\n * The callback passed to `router.prefetch`, if given.\n */\n onInvalidate: null | (() => void)\n\n /**\n * The index of the task in the heap's backing array. Used to efficiently\n * change the priority of a task by re-sifting it, which requires knowing\n * where it is in the array. This is only used internally by the heap\n * algorithm. The naive alternative is indexOf every time a task is queued,\n * which has O(n) complexity.\n *\n * We also use this field to check whether a task is currently in the queue.\n */\n _heapIndex: number\n\n /**\n * Called when the prefetch task finishes (either completed or canceled).\n * Used by the Instant Navigation Testing API to await prefetch completion.\n * Not exposed in production builds by default.\n *\n * Note: \"Complete\" means the scheduler has no more work to do for this task\n * — all network requests have been spawned. It does not mean all data has\n * been retrieved; responses may still be in flight.\n */\n _onComplete?: () => void\n}\n\nconst enum PrefetchTaskExitStatus {\n /**\n * The task yielded because there are too many requests in progress.\n */\n InProgress,\n\n /**\n * The task is blocked. It needs more data before it can proceed.\n *\n * Currently the only reason this happens is we're still waiting to receive a\n * route tree from the server, because we can't start prefetching the segments\n * until we know what to prefetch.\n */\n Blocked,\n\n /**\n * There's nothing left to prefetch.\n */\n Done,\n}\n\n/**\n * Prefetch tasks are processed in two phases: first the route tree is fetched,\n * then the segments. We use this to priortize tasks that have not yet fetched\n * the route tree.\n */\nconst enum PrefetchPhase {\n RouteTree = 1,\n Segments = 0,\n}\n\nexport type PrefetchSubtaskResult = {\n /**\n * A promise that resolves when the network connection is closed.\n */\n closed: Promise\n value: T\n}\n\nconst taskHeap: Array = []\n\nlet inProgressRequests = 0\n\nlet sortIdCounter = 0\nlet didScheduleMicrotask = false\n\n// The most recently hovered (or touched, etc) link, i.e. the most recent task\n// scheduled at Intent priority. There's only ever a single task at Intent\n// priority at a time. We reserve special network bandwidth for this task only.\nlet mostRecentlyHoveredLink: PrefetchTask | null = null\n\n// CDN cache propagation delay after revalidation (in milliseconds)\nconst REVALIDATION_COOLDOWN_MS = 300\n\n// Timeout handle for the revalidation cooldown. When non-null, prefetch\n// requests are blocked to allow CDN cache propagation.\nlet revalidationCooldownTimeoutHandle: ReturnType | null =\n null\n\n/**\n * Called by the cache when revalidation occurs. Starts a cooldown period\n * during which prefetch requests are blocked to allow CDN cache propagation.\n */\nexport function startRevalidationCooldown(): void {\n // Clear any existing timeout in case multiple revalidations happen\n // in quick succession.\n if (revalidationCooldownTimeoutHandle !== null) {\n clearTimeout(revalidationCooldownTimeoutHandle)\n }\n\n // Schedule the cooldown to expire after the delay.\n revalidationCooldownTimeoutHandle = setTimeout(() => {\n revalidationCooldownTimeoutHandle = null\n // Retry the prefetch queue now that the cooldown has expired.\n pingPrefetchScheduler()\n }, REVALIDATION_COOLDOWN_MS)\n}\n\nexport type IncludeDynamicData = null | 'full' | 'dynamic'\n\n/**\n * Initiates a prefetch task for the given URL. If a prefetch for the same URL\n * is already in progress, this will bump it to the top of the queue.\n *\n * This is not a user-facing function. By the time this is called, the href is\n * expected to be validated and normalized.\n *\n * @param key The RouteCacheKey to prefetch.\n * @param treeAtTimeOfPrefetch The app's current FlightRouterState\n * @param fetchStrategy Whether to prefetch dynamic data, in addition to\n * static data. This is used by ``.\n * @param _onComplete Called when the prefetch task finishes. Testing API only.\n */\nexport function schedulePrefetchTask(\n key: RouteCacheKey,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority,\n onInvalidate: null | (() => void),\n _onComplete?: () => void\n): PrefetchTask {\n // Spawn a new prefetch task\n const task: PrefetchTask = {\n key,\n treeAtTimeOfPrefetch,\n routeCacheVersion: getCurrentRouteCacheVersion(),\n segmentCacheVersion: getCurrentSegmentCacheVersion(),\n priority,\n phase: PrefetchPhase.RouteTree,\n hasBackgroundWork: false,\n spawnedRuntimePrefetches: null,\n fetchStrategy,\n sortId: sortIdCounter++,\n isCanceled: false,\n onInvalidate,\n _heapIndex: -1,\n }\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n task._onComplete = _onComplete\n }\n\n trackMostRecentlyHoveredLink(task)\n\n heapPush(taskHeap, task)\n\n // Schedule an async task to process the queue.\n //\n // The main reason we process the queue in an async task is for batching.\n // It's common for a single JS task/event to trigger multiple prefetches.\n // By deferring to a microtask, we only process the queue once per JS task.\n // If they have different priorities, it also ensures they are processed in\n // the optimal order.\n pingPrefetchScheduler()\n\n return task\n}\n\nexport function cancelPrefetchTask(task: PrefetchTask): void {\n // Remove the prefetch task from the queue. If the task already completed,\n // then this is a no-op.\n //\n // We must also explicitly mark the task as canceled so that a blocked task\n // does not get added back to the queue when it's pinged by the network.\n task.isCanceled = true\n heapDelete(taskHeap, task)\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // Call completion callback. In practice this shouldn't be reached for\n // test-initiated prefetches since cancellation is only used by the Link\n // component when elements scroll out of viewport.\n const onComplete = task._onComplete\n task._onComplete = undefined\n onComplete?.()\n }\n}\n\nexport function reschedulePrefetchTask(\n task: PrefetchTask,\n treeAtTimeOfPrefetch: FlightRouterState,\n fetchStrategy: PrefetchTaskFetchStrategy,\n priority: PrefetchPriority\n): void {\n // Bump the prefetch task to the top of the queue, as if it were a fresh\n // task. This is essentially the same as canceling the task and scheduling\n // a new one, except it reuses the original object.\n //\n // The primary use case is to increase the priority of a Link-initated\n // prefetch on hover.\n //\n // Note: _onComplete is not reset here because it's preserved on the same\n // task object. When the rescheduled task completes, the original callback\n // will still be invoked.\n\n // Un-cancel the task, in case it was previously canceled.\n task.isCanceled = false\n task.phase = PrefetchPhase.RouteTree\n\n // Assign a new sort ID to move it ahead of all other tasks at the same\n // priority level. (Higher sort IDs are processed first.)\n task.sortId = sortIdCounter++\n task.priority =\n // If this task is the most recently hovered link, maintain its\n // Intent priority, even if the rescheduled priority is lower.\n task === mostRecentlyHoveredLink ? PrefetchPriority.Intent : priority\n\n task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch\n task.fetchStrategy = fetchStrategy\n\n trackMostRecentlyHoveredLink(task)\n\n if (task._heapIndex !== -1) {\n // The task is already in the queue.\n heapResift(taskHeap, task)\n } else {\n heapPush(taskHeap, task)\n }\n pingPrefetchScheduler()\n}\n\nexport function isPrefetchTaskDirty(\n task: PrefetchTask,\n nextUrl: string | null,\n tree: FlightRouterState\n): boolean {\n // This is used to quickly bail out of a prefetch task if the result is\n // guaranteed to not have changed since the task was initiated. This is\n // strictly an optimization — theoretically, if it always returned true, no\n // behavior should change because a full prefetch task will effectively\n // perform the same checks.\n return (\n task.routeCacheVersion !== getCurrentRouteCacheVersion() ||\n task.segmentCacheVersion !== getCurrentSegmentCacheVersion() ||\n task.treeAtTimeOfPrefetch !== tree ||\n task.key.nextUrl !== nextUrl\n )\n}\n\nfunction trackMostRecentlyHoveredLink(task: PrefetchTask) {\n // Track the mostly recently hovered link, i.e. the most recently scheduled\n // task at Intent priority. There must only be one such task at a time.\n if (\n task.priority === PrefetchPriority.Intent &&\n task !== mostRecentlyHoveredLink\n ) {\n if (mostRecentlyHoveredLink !== null) {\n // Bump the previously hovered link's priority down to Default.\n if (mostRecentlyHoveredLink.priority !== PrefetchPriority.Background) {\n mostRecentlyHoveredLink.priority = PrefetchPriority.Default\n heapResift(taskHeap, mostRecentlyHoveredLink)\n }\n }\n mostRecentlyHoveredLink = task\n }\n}\n\nexport function pingPrefetchScheduler() {\n if (didScheduleMicrotask) {\n // Already scheduled a task to process the queue\n return\n }\n didScheduleMicrotask = true\n scheduleMicrotask(processQueueInMicrotask)\n}\n\n/**\n * Checks if we've exceeded the maximum number of concurrent prefetch requests,\n * to avoid saturating the browser's internal network queue. This is a\n * cooperative limit — prefetch tasks should check this before issuing\n * new requests.\n *\n * Also checks if we're within the revalidation cooldown window, during which\n * prefetch requests are delayed to allow CDN cache propagation.\n */\nfunction hasNetworkBandwidth(task: PrefetchTask): boolean {\n // Check if we're within the revalidation cooldown window\n if (revalidationCooldownTimeoutHandle !== null) {\n // We're within the cooldown window. Return false to prevent prefetching.\n // When the cooldown expires, the timeout will call ensureWorkIsScheduled()\n // to retry the queue.\n return false\n }\n\n // TODO: Also check if there's an in-progress navigation. We should never\n // add prefetch requests to the network queue if an actual navigation is\n // taking place, to ensure there's sufficient bandwidth for render-blocking\n // data and resources.\n\n // TODO: Consider reserving some amount of bandwidth for static prefetches.\n\n if (task.priority === PrefetchPriority.Intent) {\n // The most recently hovered link is allowed to exceed the default limit.\n //\n // The goal is to always have enough bandwidth to start a new prefetch\n // request when hovering over a link.\n //\n // However, because we don't abort in-progress requests, it's still possible\n // we'll run out of bandwidth. When links are hovered in quick succession,\n // there could be multiple hover requests running simultaneously.\n return inProgressRequests < 12\n }\n\n // The default limit is lower than the limit for a hovered link.\n return inProgressRequests < 4\n}\n\nfunction spawnPrefetchSubtask(\n prefetchSubtask: Promise | null>\n): Promise {\n // When the scheduler spawns an async task, we don't await its result.\n // Instead, the async task writes its result directly into the cache, then\n // pings the scheduler to continue.\n //\n // We process server responses streamingly, so the prefetch subtask will\n // likely resolve before we're finished receiving all the data. The subtask\n // result includes a promise that resolves once the network connection is\n // closed. The scheduler uses this to control network bandwidth by tracking\n // and limiting the number of concurrent requests.\n inProgressRequests++\n return prefetchSubtask.then((result) => {\n if (result === null) {\n // The prefetch task errored before it could start processing the\n // network stream. Assume the connection is closed.\n onPrefetchConnectionClosed()\n return null\n }\n // Wait for the connection to close before freeing up more bandwidth.\n result.closed.then(onPrefetchConnectionClosed)\n return result.value\n })\n}\n\nfunction onPrefetchConnectionClosed(): void {\n inProgressRequests--\n\n // Notify the scheduler that we have more bandwidth, and can continue\n // processing tasks.\n pingPrefetchScheduler()\n}\n\n/**\n * Notify the scheduler that we've received new data for an in-progress\n * prefetch. The corresponding task will be added back to the queue (unless the\n * task has been canceled in the meantime).\n */\nexport function pingPrefetchTask(task: PrefetchTask) {\n // \"Ping\" a prefetch that's already in progress to notify it of new data.\n if (\n // Check if prefetch was canceled.\n task.isCanceled ||\n // Check if prefetch is already queued.\n task._heapIndex !== -1\n ) {\n return\n }\n // Add the task back to the queue.\n heapPush(taskHeap, task)\n pingPrefetchScheduler()\n}\n\nfunction processQueueInMicrotask() {\n didScheduleMicrotask = false\n\n // We aim to minimize how often we read the current time. Since nearly all\n // functions in the prefetch scheduler are synchronous, we can read the time\n // once and pass it as an argument wherever it's needed.\n const now = Date.now()\n\n // Process the task queue until we run out of network bandwidth.\n let task = heapPeek(taskHeap)\n while (task !== null && hasNetworkBandwidth(task)) {\n task.routeCacheVersion = getCurrentRouteCacheVersion()\n task.segmentCacheVersion = getCurrentSegmentCacheVersion()\n\n const exitStatus = pingRoute(now, task)\n\n // These fields are only valid for a single attempt. Reset them after each\n // iteration of the task queue.\n const hasBackgroundWork = task.hasBackgroundWork\n task.hasBackgroundWork = false\n task.spawnedRuntimePrefetches = null\n\n switch (exitStatus) {\n case PrefetchTaskExitStatus.InProgress:\n // The task yielded because there are too many requests in progress.\n // Stop processing tasks until we have more bandwidth.\n return\n case PrefetchTaskExitStatus.Blocked:\n // The task is blocked. It needs more data before it can proceed.\n // Keep the task out of the queue until the server responds.\n heapPop(taskHeap)\n // Continue to the next task\n task = heapPeek(taskHeap)\n continue\n case PrefetchTaskExitStatus.Done:\n if (task.phase === PrefetchPhase.RouteTree) {\n // Finished prefetching the route tree. Proceed to prefetching\n // the segments.\n task.phase = PrefetchPhase.Segments\n heapResift(taskHeap, task)\n } else if (hasBackgroundWork) {\n // The task spawned additional background work. Reschedule the task\n // at background priority.\n task.priority = PrefetchPriority.Background\n heapResift(taskHeap, task)\n } else {\n // The prefetch is complete. Continue to the next task.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // Notify the Instant Navigation Testing API that the prefetch has\n // completed, so it can proceed with navigation.\n const onComplete = task._onComplete\n task._onComplete = undefined\n onComplete?.()\n }\n heapPop(taskHeap)\n }\n task = heapPeek(taskHeap)\n continue\n default:\n exitStatus satisfies never\n }\n }\n\n // Run LRU cleanup only when the scheduler is fully idle: no queued tasks and\n // no in-progress requests. At that point, all active prefetch tasks have\n // finished reading from the cache (moving recently used entries to the front\n // of the list), so only genuinely stale data gets evicted.\n if (task === null && inProgressRequests === 0) {\n cleanup()\n }\n}\n\n/**\n * Check this during a prefetch task to determine if background work can be\n * performed. If so, it evaluates to `true`. Otherwise, it returns `false`,\n * while also scheduling a background task to run later. Usage:\n *\n * @example\n * if (background(task)) {\n * // Perform background-pri work\n * }\n */\nfunction background(task: PrefetchTask): boolean {\n if (task.priority === PrefetchPriority.Background) {\n return true\n }\n task.hasBackgroundWork = true\n return false\n}\n\nfunction pingRoute(now: number, task: PrefetchTask): PrefetchTaskExitStatus {\n const key = task.key\n const route = readOrCreateRouteCacheEntry(now, task, key)\n const exitStatus = pingRootRouteTree(now, task, route)\n\n if (exitStatus !== PrefetchTaskExitStatus.InProgress && key.search !== '') {\n // If the URL has a non-empty search string, also prefetch the pathname\n // without the search string. We use the searchless route tree as a base for\n // optimistic routing; see requestOptimisticRouteCacheEntry for details.\n //\n // Note that we don't need to prefetch any of the segment data. Just the\n // route tree.\n //\n // TODO: This is a temporary solution; the plan is to replace this by adding\n // a wildcard lookup method to the TupleMap implementation. This is\n // non-trivial to implement because it needs to account for things like\n // fallback route entries, hence this temporary workaround.\n const url = new URL(key.pathname, location.origin)\n const keyWithoutSearch = createCacheKey(url.href, key.nextUrl)\n const routeWithoutSearch = readOrCreateRouteCacheEntry(\n now,\n task,\n keyWithoutSearch\n )\n switch (routeWithoutSearch.status) {\n case EntryStatus.Empty: {\n if (background(task)) {\n routeWithoutSearch.status = EntryStatus.Pending\n spawnPrefetchSubtask(\n fetchRouteOnCacheMiss(routeWithoutSearch, keyWithoutSearch)\n )\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected: {\n // Either the route tree is already cached, or there's already a\n // request in progress. Since we don't need to fetch any segment data\n // for this route, there's nothing left to do.\n break\n }\n default:\n routeWithoutSearch satisfies never\n }\n }\n\n return exitStatus\n}\n\nfunction pingRootRouteTree(\n now: number,\n task: PrefetchTask,\n route: RouteCacheEntry\n): PrefetchTaskExitStatus {\n switch (route.status) {\n case EntryStatus.Empty: {\n // Route is not yet cached, and there's no request already in progress.\n // Spawn a task to request the route, load it into the cache, and ping\n // the task to continue.\n\n // TODO: There are multiple strategies in the API for prefetching\n // a route. Currently we've only implemented the main one: per-segment,\n // static-data only.\n //\n // There's also ``\n // which prefetch both static *and* dynamic data.\n // Similarly, we need to fallback to the old, per-page\n // behavior if PPR is disabled for a route (via the incremental opt-in).\n //\n // Those cases will be handled here.\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(route, task.key))\n\n // If the request takes longer than a minute, a subsequent request should\n // retry instead of waiting for this one. When the response is received,\n // this value will be replaced by a new value based on the stale time sent\n // from the server.\n // TODO: We should probably also manually abort the fetch task, to reclaim\n // server bandwidth.\n route.staleAt = now + 60 * 1000\n\n // Upgrade to Pending so we know there's already a request in progress\n route.status = EntryStatus.Pending\n\n // Intentional fallthrough to the Pending branch\n }\n case EntryStatus.Pending: {\n // Still pending. We can't start prefetching the segments until the route\n // tree has loaded. Add the task to the set of blocked tasks so that it\n // is notified when the route tree is ready.\n const blockedTasks = route.blockedTasks\n if (blockedTasks === null) {\n route.blockedTasks = new Set([task])\n } else {\n blockedTasks.add(task)\n }\n return PrefetchTaskExitStatus.Blocked\n }\n case EntryStatus.Rejected: {\n // Route tree failed to load. Treat as a 404.\n return PrefetchTaskExitStatus.Done\n }\n case EntryStatus.Fulfilled: {\n if (task.phase !== PrefetchPhase.Segments) {\n // Do not prefetch segment data until we've entered the segment phase.\n return PrefetchTaskExitStatus.Done\n }\n // Recursively fill in the segment tree.\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const tree = route.tree\n\n // A task's fetch strategy gets set to `PPR` for any \"auto\" prefetch.\n // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead.\n // We don't need to do this for runtime prefetches, because those are only available in\n // `cacheComponents`, where every route is PPR.\n let fetchStrategy: FetchStrategy\n if (tree.prefetchHints & PrefetchHint.SubtreeHasInstant) {\n // If `instant` is defined anywhere on the target route, ignore the\n // fetch strategy and switch to unified strategy used by Cache\n // Components (called `PPR` for now, will likely be renamed).\n //\n // In practice, this just means that a \"full\" prefetch () has no effect. You're meant to use Runtime\n // Prefetching instead — that's the new pattern that replaces\n // prefetch={true}.\n //\n // The reason we check for `instant` rather than the `cacheComponents`\n // flag is to support incremental adoption. `prefetch={true}` will\n // continue to work until you opt into `instant`.\n fetchStrategy = FetchStrategy.PPR\n } else if (task.fetchStrategy === FetchStrategy.PPR) {\n fetchStrategy = route.supportsPerSegmentPrefetching\n ? FetchStrategy.PPR\n : FetchStrategy.LoadingBoundary\n } else {\n fetchStrategy = task.fetchStrategy\n }\n\n switch (fetchStrategy) {\n case FetchStrategy.PPR: {\n // For Cache Components pages, each segment may be prefetched\n // statically or using a runtime request, based on various\n // configurations and heuristics. We'll do this in two passes: first\n // traverse the tree and perform all the static prefetches.\n //\n // Then, if there are any segments that need a runtime request,\n // do another pass to perform a runtime prefetch.\n pingStaticHead(now, task, route)\n const exitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree\n )\n if (exitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches\n if (spawnedRuntimePrefetches !== null) {\n // During the first pass, we discovered segments that require a\n // runtime prefetch. Do a second pass to construct a request tree.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(\n now,\n task,\n route,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n const requestTree = pingRuntimePrefetches(\n now,\n task,\n route,\n tree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n // Perform a dynamic prefetch request and populate the cache with\n // the result.\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n FetchStrategy.PPRRuntime,\n requestTree,\n spawnedEntries\n )\n )\n }\n }\n\n return PrefetchTaskExitStatus.Done\n }\n case FetchStrategy.Full:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.LoadingBoundary: {\n // Prefetch multiple segments using a single dynamic request.\n // TODO: We can consolidate this branch with previous one by modeling\n // it as if the first segment in the new tree has runtime prefetching\n // enabled. Will do this as a follow-up refactor. Might want to remove\n // the special metatdata case below first. In the meantime, it's not\n // really that much duplication, just would be nice to remove one of\n // these codepaths.\n const spawnedEntries = new Map<\n SegmentRequestKey,\n PendingSegmentCacheEntry\n >()\n pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy)\n const dynamicRequestTree = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n task.treeAtTimeOfPrefetch,\n tree,\n spawnedEntries,\n fetchStrategy\n )\n let needsDynamicRequest = spawnedEntries.size > 0\n if (needsDynamicRequest) {\n spawnPrefetchSubtask(\n fetchSegmentPrefetchesUsingDynamicRequest(\n task,\n route,\n fetchStrategy,\n dynamicRequestTree,\n spawnedEntries\n )\n )\n }\n return PrefetchTaskExitStatus.Done\n }\n default:\n fetchStrategy satisfies never\n }\n break\n }\n default: {\n route satisfies never\n }\n }\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingStaticHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry\n): void {\n // The Head data for a page (metadata, viewport) is not really a route\n // segment, in the sense that it doesn't appear in the route tree. But we\n // store it in the cache as if it were, using a special key.\n pingStaticSegmentData(\n now,\n task,\n route,\n readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, route.metadata),\n task.key,\n route.metadata\n )\n}\n\nfunction pingRuntimeHead(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n spawnedEntries: Map,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): void {\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n route.metadata,\n false,\n spawnedEntries,\n // When prefetching the head, there's no difference between Full\n // and LoadingBoundary\n fetchStrategy === FetchStrategy.LoadingBoundary\n ? FetchStrategy.Full\n : fetchStrategy\n )\n}\n\n// TODO: Rename dynamic -> runtime throughout this module\n\nfunction pingSharedPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree\n): PrefetchTaskExitStatus {\n // When Cache Components is enabled (or PPR, or a fully static route when PPR\n // is disabled; those cases are treated equivalently to Cache Components), we\n // start by prefetching each segment individually. Once we reach the \"new\"\n // part of the tree — the part that doesn't exist on the current page — we\n // may choose to switch to a runtime prefetch instead, based on the\n // information sent by the server in the route tree.\n //\n // The traversal starts in the \"shared\" part of the tree. Once we reach the\n // \"new\" part of the tree, we switch to a different traversal,\n // pingNewPartOfCacheComponentsTree.\n\n // Prefetch this segment's static data.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n task.fetchStrategy,\n newTree\n )\n pingStaticSegmentData(now, task, route, segment, task.key, newTree)\n\n // Recursively ping the children.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n let childExitStatus\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // We're still in the \"shared\" part of the tree.\n childExitStatus = pingSharedPartOfCacheComponentsTree(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild\n )\n } else {\n // We've entered the \"new\" part of the tree. Switch\n // traversal functions.\n childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n newTreeChild\n )\n }\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n\n return PrefetchTaskExitStatus.Done\n}\n\nfunction pingNewPartOfCacheComponentsTree(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree\n): PrefetchTaskExitStatus.InProgress | PrefetchTaskExitStatus.Done {\n // We're now prefetching in the \"new\" part of the tree, the part that doesn't\n // exist on the current page. (In other words, we're deeper than the\n // shared layouts.) Segments in here default to being prefetched statically.\n // However, if the server instructs us to, we may switch to a runtime\n // prefetch instead. Traverse the tree and check at each segment.\n if (tree.prefetchHints & PrefetchHint.HasRuntimePrefetch) {\n // This route has a runtime prefetch response. Since we're below the shared\n // layout, everything from this point should be prefetched using a single,\n // combined runtime request, rather than using per-segment static requests.\n // This is true even if some of the child segments are known to be fully\n // static — once we've decided to perform a runtime prefetch, we might as\n // well respond with the static segments in the same roundtrip. (That's how\n // regular navigations work, too.) We'll still skip over segments that are\n // already cached, though.\n //\n // It's the server's responsibility to set a reasonable value of\n // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the\n // server may send a value of `false` even if the user opts in, if it\n // determines during build that the route is always fully static. There are\n // more optimizations we can do once we implement fallback param\n // tracking, too.\n //\n // Use the task object to collect the segments that need a runtime prefetch.\n // This will signal to the outer task queue that a second traversal is\n // required to construct a request tree.\n if (task.spawnedRuntimePrefetches === null) {\n task.spawnedRuntimePrefetches = new Set([tree.requestKey])\n } else {\n task.spawnedRuntimePrefetches.add(tree.requestKey)\n }\n // Then exit the traversal without prefetching anything further.\n return PrefetchTaskExitStatus.Done\n }\n\n // This segment should not be runtime prefetched. Prefetch its static data.\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, tree)\n pingStaticSegmentData(now, task, route, segment, task.key, tree)\n if (tree.slots !== null) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return PrefetchTaskExitStatus.InProgress\n }\n // Recursively ping the children.\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n const childExitStatus = pingNewPartOfCacheComponentsTree(\n now,\n task,\n route,\n childTree\n )\n if (childExitStatus === PrefetchTaskExitStatus.InProgress) {\n // Child yielded without finishing.\n return PrefetchTaskExitStatus.InProgress\n }\n }\n }\n // This segment and all its children have finished prefetching.\n return PrefetchTaskExitStatus.Done\n}\n\nfunction diffRouteTreeAgainstCurrent(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n oldTree: FlightRouterState,\n newTree: RouteTree,\n spawnedEntries: Map,\n fetchStrategy:\n | FetchStrategy.Full\n | FetchStrategy.PPRRuntime\n | FetchStrategy.LoadingBoundary\n): FlightRouterState {\n // This is a single recursive traversal that does multiple things:\n // - Finds the parts of the target route (newTree) that are not part of\n // of the current page (oldTree) by diffing them, using the same algorithm\n // as a real navigation.\n // - Constructs a request tree (FlightRouterState) that describes which\n // segments need to be prefetched and which ones are already cached.\n // - Creates a set of pending cache entries for the segments that need to\n // be prefetched, so that a subsequent prefetch task does not request the\n // same segments again.\n const oldTreeChildren = oldTree[1]\n const newTreeChildren = newTree.slots\n let requestTreeChildren: Record = {}\n if (newTreeChildren !== null) {\n for (const parallelRouteKey in newTreeChildren) {\n const newTreeChild = newTreeChildren[parallelRouteKey]\n const newTreeChildSegment = newTreeChild.segment\n const oldTreeChild: FlightRouterState | void =\n oldTreeChildren[parallelRouteKey]\n const oldTreeChildSegment: FlightRouterStateSegment | void =\n oldTreeChild?.[0]\n if (\n oldTreeChildSegment !== undefined &&\n doesCurrentSegmentMatchCachedSegment(\n route,\n newTreeChildSegment,\n oldTreeChildSegment\n )\n ) {\n // This segment is already part of the current route. Keep traversing.\n const requestTreeChild = diffRouteTreeAgainstCurrent(\n now,\n task,\n route,\n oldTreeChild,\n newTreeChild,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n } else {\n // This segment is not part of the current route. We're entering a\n // part of the tree that we need to prefetch (unless everything is\n // already cached).\n switch (fetchStrategy) {\n case FetchStrategy.LoadingBoundary: {\n // When PPR is disabled, we can't prefetch per segment. We must\n // fallback to the old prefetch behavior and send a dynamic request.\n // Only routes that include a loading boundary can be prefetched in\n // this way.\n //\n // This is simlar to a \"full\" prefetch, but we're much more\n // conservative about which segments to include in the request.\n //\n // The server will only render up to the first loading boundary\n // inside new part of the tree. If there's no loading boundary\n // anywhere in the tree, the server will never return any data, so\n // we can skip the request.\n const subtreeHasLoadingBoundary =\n (newTreeChild.prefetchHints &\n (PrefetchHint.SegmentHasLoadingBoundary |\n PrefetchHint.SubtreeHasLoadingBoundary)) !==\n 0\n const requestTreeChild = subtreeHasLoadingBoundary\n ? pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n newTreeChild,\n null,\n spawnedEntries\n )\n : // There's no loading boundary within this tree. Bail out.\n convertRouteTreeToFlightRouterState(newTreeChild)\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.PPRRuntime: {\n // This is a runtime prefetch. Fetch all cacheable data in the tree,\n // not just the static PPR shell.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n case FetchStrategy.Full: {\n // This is a \"full\" prefetch. Fetch all the data in the tree, both\n // static and dynamic. We issue roughly the same request that we\n // would during a real navigation. The goal is that once the\n // navigation occurs, the router should not have to fetch any\n // additional data.\n //\n // Although the response will include dynamic data, opting into a\n // Full prefetch — via — implicitly\n // instructs the cache to treat the response as \"static\", or non-\n // dynamic, since the whole point is to cache it for\n // future navigations.\n //\n // Construct a tree (currently a FlightRouterState) that represents\n // which segments need to be prefetched and which ones are already\n // cached. If the tree is empty, then we can exit. Otherwise, we'll\n // send the request tree to the server and use the response to\n // populate the segment cache.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n newTreeChild,\n false,\n spawnedEntries,\n fetchStrategy\n )\n requestTreeChildren[parallelRouteKey] = requestTreeChild\n break\n }\n default:\n fetchStrategy satisfies never\n }\n }\n }\n }\n const requestTree: FlightRouterState = [\n newTree.segment,\n requestTreeChildren,\n null,\n null,\n ]\n return requestTree\n}\n\nfunction pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n refetchMarkerContext: 'refetch' | 'inside-shared-layout' | null,\n spawnedEntries: Map\n): FlightRouterState {\n // This function is similar to pingRouteTreeAndIncludeDynamicData, except the\n // server is only going to return a minimal loading state — it will stop\n // rendering at the first loading boundary. Whereas a Full prefetch is\n // intentionally aggressive and tries to pretfetch all the data that will be\n // needed for a navigation, a LoadingBoundary prefetch is much more\n // conservative. For example, it will omit from the request tree any segment\n // that is already cached, regardles of whether it's partial or full. By\n // contrast, a Full prefetch will refetch partial segments.\n\n // \"inside-shared-layout\" tells the server where to start looking for a\n // loading boundary.\n let refetchMarker: 'refetch' | 'inside-shared-layout' | null =\n refetchMarkerContext === null ? 'inside-shared-layout' : null\n\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, tree)\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached. Add a refetch marker so the server knows\n // to start rendering here.\n // TODO: Instead of a \"refetch\" marker, we could just omit this subtree's\n // FlightRouterState from the request tree. I think this would probably\n // already work even without any updates to the server. For consistency,\n // though, I'll send the full tree and we'll look into this later as part\n // of a larger redesign of the request protocol.\n\n // Add the pending cache entry to the result map.\n spawnedEntries.set(\n tree.requestKey,\n upgradeToPendingSegment(\n segment,\n // Set the fetch strategy to LoadingBoundary to indicate that the server\n // might not include it in the pending response. If another route is able\n // to issue a per-segment request, we'll do that in the background.\n FetchStrategy.LoadingBoundary\n )\n )\n if (refetchMarkerContext !== 'refetch') {\n refetchMarker = refetchMarkerContext = 'refetch'\n } else {\n // There's already a parent with a refetch marker, so we don't need\n // to add another one.\n }\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n const segmentHasLoadingBoundary =\n (tree.prefetchHints & PrefetchHint.SegmentHasLoadingBoundary) !== 0\n if (segmentHasLoadingBoundary) {\n // This segment has a loading boundary, which means the server won't\n // render its children. So there's nothing left to prefetch along this\n // path. We can bail out.\n return convertRouteTreeToFlightRouterState(tree)\n }\n // NOTE: If the cached segment were fetched using PPR, then it might be\n // partial. We could get a more complete version of the segment by\n // including it in this non-PPR request.\n //\n // We're intentionally choosing not to, though, because it's generally\n // better to avoid doing a full prefetch whenever possible.\n break\n }\n case EntryStatus.Pending: {\n // There's another prefetch currently in progress. Don't add the refetch\n // marker yet, so the server knows it can skip rendering this segment.\n break\n }\n case EntryStatus.Rejected: {\n // The segment failed to load. We shouldn't issue another request until\n // the stale time has elapsed.\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingPPRDisabledRouteTreeUpToLoadingBoundary(\n now,\n task,\n route,\n childTree,\n refetchMarkerContext,\n spawnedEntries\n )\n }\n }\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n ]\n return requestTree\n}\n\nfunction pingRouteTreeAndIncludeDynamicData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n isInsideRefetchingParent: boolean,\n spawnedEntries: Map,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): FlightRouterState {\n // The tree we're constructing is the same shape as the tree we're navigating\n // to. But even though this is a \"new\" tree, some of the individual segments\n // may be cached as a result of other route prefetches.\n //\n // So we need to find the first uncached segment along each path add an\n // explicit \"refetch\" marker so the server knows where to start rendering.\n // Once the server starts rendering along a path, it keeps rendering the\n // entire subtree.\n const segment = readOrCreateSegmentCacheEntry(\n now,\n // Note that `fetchStrategy` might be different from `task.fetchStrategy`,\n // and we have to use the former here.\n // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to\n // always use runtime prefetching (via `export const prefetch`), and those should check for\n // entries that include search params.\n fetchStrategy,\n tree\n )\n\n let spawnedSegment: PendingSegmentCacheEntry | null = null\n\n switch (segment.status) {\n case EntryStatus.Empty: {\n // This segment is not cached.\n if (fetchStrategy === FetchStrategy.Full) {\n // Check if there's a matching entry in the bfcache. If so, fulfill the\n // segment using the bfcache entry instead of issuing a new request.\n const fulfilled = attemptToFulfillDynamicSegmentFromBFCache(\n now,\n segment,\n tree\n )\n if (fulfilled !== null) {\n break\n }\n }\n // Include it in the request.\n spawnedSegment = upgradeToPendingSegment(segment, fetchStrategy)\n break\n }\n case EntryStatus.Fulfilled: {\n // The segment is already cached.\n if (\n segment.isPartial &&\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The cached segment contains dynamic holes, and was prefetched using a\n // less specific strategy than the current one. This means we're in one\n // of these cases:\n // - we have a static prefetch, and we're doing a runtime prefetch\n // - we have a static or runtime prefetch, and we're doing a Full\n // prefetch (or a navigation).\n // In either case, we need to include it in the request to get a more\n // specific (or full) version. However, if there's a non-stale bfcache\n // entry from a previous navigation, prefer that over making a new\n // request.\n if (fetchStrategy === FetchStrategy.Full) {\n const fulfilled = attemptToUpgradeSegmentFromBFCache(now, tree)\n if (fulfilled !== null) {\n break\n }\n }\n spawnedSegment = pingFullSegmentRevalidation(now, tree, fetchStrategy)\n }\n break\n }\n case EntryStatus.Pending:\n case EntryStatus.Rejected: {\n // There's either another prefetch currently in progress, or the previous\n // attempt failed. If the new strategy can provide more content, fetch it again.\n if (\n canNewFetchStrategyProvideMoreContent(\n segment.fetchStrategy,\n fetchStrategy\n )\n ) {\n spawnedSegment = pingFullSegmentRevalidation(now, tree, fetchStrategy)\n }\n break\n }\n default:\n segment satisfies never\n }\n const requestTreeChildren: Record = {}\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n const childTree = tree.slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] =\n pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n childTree,\n isInsideRefetchingParent || spawnedSegment !== null,\n spawnedEntries,\n fetchStrategy\n )\n }\n }\n\n if (spawnedSegment !== null) {\n // Add the pending entry to the result map.\n spawnedEntries.set(tree.requestKey, spawnedSegment)\n }\n\n // Don't bother to add a refetch marker if one is already present in a parent.\n const refetchMarker =\n !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null\n\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker,\n ]\n return requestTree\n}\n\nfunction pingRuntimePrefetches(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n tree: RouteTree,\n spawnedRuntimePrefetches: Set,\n spawnedEntries: Map\n): FlightRouterState {\n // Construct a request tree (FlightRouterState) for a runtime prefetch. If\n // a segment is part of the runtime prefetch, the tree is constructed by\n // diffing against what's already in the prefetch cache. Otherwise, we send\n // a regular FlightRouterState with no special markers.\n //\n // See pingRouteTreeAndIncludeDynamicData for details.\n if (spawnedRuntimePrefetches.has(tree.requestKey)) {\n // This segment needs a runtime prefetch.\n return pingRouteTreeAndIncludeDynamicData(\n now,\n task,\n route,\n tree,\n false,\n spawnedEntries,\n FetchStrategy.PPRRuntime\n )\n }\n let requestTreeChildren: Record = {}\n const slots = tree.slots\n if (slots !== null) {\n for (const parallelRouteKey in slots) {\n const childTree = slots[parallelRouteKey]\n requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(\n now,\n task,\n route,\n childTree,\n spawnedRuntimePrefetches,\n spawnedEntries\n )\n }\n }\n\n // This segment is not part of the runtime prefetch. Clone the base tree.\n const requestTree: FlightRouterState = [\n tree.segment,\n requestTreeChildren,\n null,\n null,\n ]\n return requestTree\n}\n\nfunction pingStaticSegmentData(\n now: number,\n task: PrefetchTask,\n route: FulfilledRouteCacheEntry,\n segment: SegmentCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n switch (segment.status) {\n case EntryStatus.Empty:\n if (process.env.__NEXT_PREFETCH_INLINING) {\n // All segment data for this route is bundled into a single\n // /_inlined response. Walk the full route tree to collect all\n // Empty segments, upgrade them to Pending, and spawn one\n // bundled request. Subsequent calls for other segments in the\n // same tree will see them as Pending and skip.\n const inlinedEntries = collectInlinedEntries(now, route)\n if (inlinedEntries.size > 0) {\n spawnPrefetchSubtask(\n fetchInlinedSegmentsOnCacheMiss(\n route,\n routeKey,\n route.tree,\n inlinedEntries\n )\n )\n }\n break\n }\n // Upgrade to Pending so we know there's already a request in progress\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(segment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n )\n break\n case EntryStatus.Pending: {\n // There's already a request in progress. Depending on what kind of\n // request it is, we may want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // There's already a request in progress. Don't do anything.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a pending request, but because it's using the old\n // prefetching strategy, we can't be sure if it will be fulfilled by\n // the response — it might be inside the loading boundary. Perform\n // a revalidation, but because it's speculative, wait to do it at\n // background priority.\n if (background(task)) {\n // TODO: Instead of speculatively revalidating, consider including\n // `hasLoading` in the route tree prefetch response.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n }\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Rejected: {\n // The existing entry in the cache was rejected. Depending on how it\n // was originally fetched, we may or may not want to revalidate it.\n switch (segment.fetchStrategy) {\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n // The previous attempt to fetch this entry failed. Don't attempt to\n // fetch it again until the entry expires.\n break\n case FetchStrategy.LoadingBoundary:\n // There's a rejected entry, but it was fetched using the loading\n // boundary strategy. So the reason it wasn't returned by the server\n // might just be because it was inside a loading boundary. Or because\n // there was a dynamic rewrite. Revalidate it using the per-\n // segment strategy.\n //\n // Because a rejected segment will definitely prevent the segment (and\n // all of its children) from rendering, we perform this revalidation\n // immediately instead of deferring it to a background task.\n pingPPRSegmentRevalidation(now, route, routeKey, tree)\n break\n default:\n segment.fetchStrategy satisfies never\n }\n break\n }\n case EntryStatus.Fulfilled:\n // Segment is already cached. There's nothing left to prefetch.\n break\n default:\n segment satisfies never\n }\n\n // Segments do not have dependent tasks, so once the prefetch is initiated,\n // there's nothing else for us to do (except write the server data into the\n // entry, which is handled by `fetchSegmentOnCacheMiss`).\n}\n\n/**\n * Walks the RouteTree (including the head metadata) and collects any segments\n * that are still Empty into a Map, upgrading them to Pending. These entries\n * will be fulfilled by the inlined prefetch response.\n */\nfunction collectInlinedEntries(\n now: number,\n route: FulfilledRouteCacheEntry\n): Map {\n const entries = new Map()\n collectInlinedEntriesImpl(now, route.tree, entries)\n // Also collect the head/metadata entry.\n const headEntry = readOrCreateSegmentCacheEntry(\n now,\n FetchStrategy.PPR,\n route.metadata\n )\n if (headEntry.status === EntryStatus.Empty) {\n entries.set(\n route.metadata.requestKey,\n upgradeToPendingSegment(headEntry, FetchStrategy.PPR)\n )\n }\n return entries\n}\n\nfunction collectInlinedEntriesImpl(\n now: number,\n tree: RouteTree,\n entries: Map\n): void {\n const entry = readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, tree)\n if (entry.status === EntryStatus.Empty) {\n entries.set(\n tree.requestKey,\n upgradeToPendingSegment(entry, FetchStrategy.PPR)\n )\n }\n if (tree.slots !== null) {\n for (const parallelRouteKey in tree.slots) {\n collectInlinedEntriesImpl(now, tree.slots[parallelRouteKey], entries)\n }\n }\n}\n\nfunction pingPPRSegmentRevalidation(\n now: number,\n route: FulfilledRouteCacheEntry,\n routeKey: RouteCacheKey,\n tree: RouteTree\n): void {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n FetchStrategy.PPR,\n tree\n )\n switch (revalidatingSegment.status) {\n case EntryStatus.Empty:\n // Spawn a prefetch request. The fetch function handles upserting\n // the entry at the correct fulfilled vary path upon completion.\n spawnPrefetchSubtask(\n fetchSegmentOnCacheMiss(\n route,\n upgradeToPendingSegment(revalidatingSegment, FetchStrategy.PPR),\n routeKey,\n tree\n )\n )\n break\n case EntryStatus.Pending:\n // There's already a revalidation in progress.\n break\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n break\n default:\n revalidatingSegment satisfies never\n }\n}\n\nfunction pingFullSegmentRevalidation(\n now: number,\n tree: RouteTree,\n fetchStrategy: FetchStrategy.Full | FetchStrategy.PPRRuntime\n): PendingSegmentCacheEntry | null {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(\n now,\n fetchStrategy,\n tree\n )\n if (revalidatingSegment.status === EntryStatus.Empty) {\n // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the\n // segments that we need. So we don't initiate a request here directly. By\n // returning a pending entry from this function, it signals to the caller\n // that this segment should be included in the request that's sent to\n // the server.\n const pendingSegment = upgradeToPendingSegment(\n revalidatingSegment,\n fetchStrategy\n )\n // The upsert is handled by fulfillEntrySpawnedByRuntimePrefetch\n // when the dynamic prefetch response is written into the cache.\n return pendingSegment\n } else {\n // There's already a revalidation in progress.\n const nonEmptyRevalidatingSegment = revalidatingSegment\n if (\n canNewFetchStrategyProvideMoreContent(\n nonEmptyRevalidatingSegment.fetchStrategy,\n fetchStrategy\n )\n ) {\n // The existing revalidation was fetched using a less specific strategy.\n // Reset it and start a new revalidation.\n const emptySegment = overwriteRevalidatingSegmentCacheEntry(\n now,\n fetchStrategy,\n tree\n )\n const pendingSegment = upgradeToPendingSegment(\n emptySegment,\n fetchStrategy\n )\n // The upsert is handled by fulfillEntrySpawnedByRuntimePrefetch\n // when the dynamic prefetch response is written into the cache.\n return pendingSegment\n }\n switch (nonEmptyRevalidatingSegment.status) {\n case EntryStatus.Pending:\n // There's already an in-progress prefetch that includes this segment.\n return null\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n return null\n default:\n nonEmptyRevalidatingSegment satisfies never\n return null\n }\n }\n}\n\nfunction doesCurrentSegmentMatchCachedSegment(\n route: FulfilledRouteCacheEntry,\n currentSegment: Segment,\n cachedSegment: Segment\n): boolean {\n if (cachedSegment === PAGE_SEGMENT_KEY) {\n // In the FlightRouterState stored by the router, the page segment has the\n // rendered search params appended to the name of the segment. In the\n // prefetch cache, however, this is stored separately. So, when comparing\n // the router's current FlightRouterState to the cached FlightRouterState,\n // we need to make sure we compare both parts of the segment.\n // TODO: This is not modeled clearly. We use the same type,\n // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache\n // _and_ the server response format, when conceptually those are three\n // different things and treated in different ways. We should encode more of\n // this information into the type design so mistakes are less likely.\n return (\n currentSegment ===\n addSearchParamsIfPageSegment(\n PAGE_SEGMENT_KEY,\n Object.fromEntries(new URLSearchParams(route.renderedSearch))\n )\n )\n }\n // Non-page segments are compared using the same function as the server\n return matchSegment(cachedSegment, currentSegment)\n}\n\n// -----------------------------------------------------------------------------\n// The remainder of the module is a MinHeap implementation. Try not to put any\n// logic below here unless it's related to the heap algorithm. We can extract\n// this to a separate module if/when we need multiple kinds of heaps.\n// -----------------------------------------------------------------------------\n\nfunction compareQueuePriority(a: PrefetchTask, b: PrefetchTask) {\n // Since the queue is a MinHeap, this should return a positive number if b is\n // higher priority than a, and a negative number if a is higher priority\n // than b.\n\n // `priority` is an integer, where higher numbers are higher priority.\n const priorityDiff = b.priority - a.priority\n if (priorityDiff !== 0) {\n return priorityDiff\n }\n\n // If the priority is the same, check which phase the prefetch is in — is it\n // prefetching the route tree, or the segments? Route trees are prioritized.\n const phaseDiff = b.phase - a.phase\n if (phaseDiff !== 0) {\n return phaseDiff\n }\n\n // Finally, check the insertion order. `sortId` is an incrementing counter\n // assigned to prefetches. We want to process the newest prefetches first.\n return b.sortId - a.sortId\n}\n\nfunction heapPush(heap: Array, node: PrefetchTask): void {\n const index = heap.length\n heap.push(node)\n node._heapIndex = index\n heapSiftUp(heap, node, index)\n}\n\nfunction heapPeek(heap: Array): PrefetchTask | null {\n return heap.length === 0 ? null : heap[0]\n}\n\nfunction heapPop(heap: Array): PrefetchTask | null {\n if (heap.length === 0) {\n return null\n }\n const first = heap[0]\n first._heapIndex = -1\n const last = heap.pop() as PrefetchTask\n if (last !== first) {\n heap[0] = last\n last._heapIndex = 0\n heapSiftDown(heap, last, 0)\n }\n return first\n}\n\nfunction heapDelete(heap: Array, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n node._heapIndex = -1\n if (heap.length !== 0) {\n const last = heap.pop() as PrefetchTask\n if (last !== node) {\n heap[index] = last\n last._heapIndex = index\n heapSiftDown(heap, last, index)\n }\n }\n }\n}\n\nfunction heapResift(heap: Array, node: PrefetchTask): void {\n const index = node._heapIndex\n if (index !== -1) {\n if (index === 0) {\n heapSiftDown(heap, node, 0)\n } else {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Sift up.\n heapSiftUp(heap, node, index)\n } else {\n // The parent is smaller (or equal). Sift down.\n heapSiftDown(heap, node, index)\n }\n }\n }\n}\n\nfunction heapSiftUp(\n heap: Array,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n while (index > 0) {\n const parentIndex = (index - 1) >>> 1\n const parent = heap[parentIndex]\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Swap positions.\n heap[parentIndex] = node\n node._heapIndex = parentIndex\n heap[index] = parent\n parent._heapIndex = index\n\n index = parentIndex\n } else {\n // The parent is smaller. Exit.\n return\n }\n }\n}\n\nfunction heapSiftDown(\n heap: Array,\n node: PrefetchTask,\n i: number\n): void {\n let index = i\n const length = heap.length\n const halfLength = length >>> 1\n while (index < halfLength) {\n const leftIndex = (index + 1) * 2 - 1\n const left = heap[leftIndex]\n const rightIndex = leftIndex + 1\n const right = heap[rightIndex]\n\n // If the left or right node is smaller, swap with the smaller of those.\n if (compareQueuePriority(left, node) < 0) {\n if (rightIndex < length && compareQueuePriority(right, left) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n heap[index] = left\n left._heapIndex = index\n heap[leftIndex] = node\n node._heapIndex = leftIndex\n\n index = leftIndex\n }\n } else if (rightIndex < length && compareQueuePriority(right, node) < 0) {\n heap[index] = right\n right._heapIndex = index\n heap[rightIndex] = node\n node._heapIndex = rightIndex\n\n index = rightIndex\n } else {\n // Neither child is smaller. Exit.\n return\n }\n }\n}\n","import type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n PrefetchPriority,\n} from './segment-cache/types'\nimport { createCacheKey } from './segment-cache/cache-key'\nimport {\n type PrefetchTask,\n schedulePrefetchTask as scheduleSegmentPrefetchTask,\n cancelPrefetchTask,\n reschedulePrefetchTask,\n isPrefetchTaskDirty,\n} from './segment-cache/scheduler'\nimport { startTransition } from 'react'\n\ntype LinkElement = HTMLAnchorElement | SVGAElement\n\ntype Element = LinkElement | HTMLFormElement\n\n// Properties that are shared between Link and Form instances. We use the same\n// shape for both to prevent a polymorphic de-opt in the VM.\ntype LinkOrFormInstanceShared = {\n router: AppRouterInstance\n fetchStrategy: PrefetchTaskFetchStrategy\n\n isVisible: boolean\n\n // The most recently initiated prefetch task. It may or may not have\n // already completed. The same prefetch task object can be reused across\n // multiple prefetches of the same link.\n prefetchTask: PrefetchTask | null\n}\n\nexport type FormInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: null\n}\n\ntype PrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: string\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype NonPrefetchableLinkInstance = LinkOrFormInstanceShared & {\n prefetchHref: null\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n}\n\ntype PrefetchableInstance = PrefetchableLinkInstance | FormInstance\n\nexport type LinkInstance =\n | PrefetchableLinkInstance\n | NonPrefetchableLinkInstance\n\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation: LinkInstance | null = null\n\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = { pending: true }\n\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = { pending: false }\n\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link: LinkInstance | null) {\n startTransition(() => {\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS)\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS)\n linkForMostRecentNavigation = link\n })\n}\n\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link: LinkInstance) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null\n }\n}\n\n/**\n * Returns the link instance that initiated the most recent navigation.\n * Returns null if the navigation was not initiated by a link click.\n *\n * Used by the Instant Navigation Testing API in dev mode to match the\n * fetch strategy of the link during cache-miss navigations.\n */\nexport function getLinkForCurrentNavigation(): LinkInstance | null {\n return linkForMostRecentNavigation\n}\n\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable:\n | WeakMap\n | Map =\n typeof WeakMap === 'function' ? new WeakMap() : new Map()\n\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible: Set = new Set()\n\n// A single IntersectionObserver instance shared by all components.\nconst observer: IntersectionObserver | null =\n typeof IntersectionObserver === 'function'\n ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px',\n })\n : null\n\nfunction observeVisibility(element: Element, instance: PrefetchableInstance) {\n const existingInstance = prefetchable.get(element)\n if (existingInstance !== undefined) {\n // This shouldn't happen because each component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element)\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance)\n if (observer !== null) {\n observer.observe(element)\n }\n}\n\nfunction coercePrefetchableUrl(href: string): URL | null {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } =\n require('./app-router-utils') as typeof import('./app-router-utils')\n\n try {\n return createPrefetchURL(href)\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn =\n typeof reportError === 'function' ? reportError : console.error\n reportErrorFn(\n `Cannot prefetch '${href}' because it cannot be converted to a URL.`\n )\n return null\n }\n } else {\n return null\n }\n}\n\nexport function mountLinkInstance(\n element: LinkElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy,\n prefetchEnabled: boolean,\n setOptimisticLinkStatus: (status: { pending: boolean }) => void\n): LinkInstance {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL !== null) {\n const instance: PrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus,\n }\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance)\n return instance\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance: NonPrefetchableLinkInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus,\n }\n return instance\n}\n\nexport function mountFormInstance(\n element: HTMLFormElement,\n href: string,\n router: AppRouterInstance,\n fetchStrategy: PrefetchTaskFetchStrategy\n): void {\n const prefetchURL = coercePrefetchableUrl(href)\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return\n }\n const instance: FormInstance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null,\n }\n observeVisibility(element, instance)\n}\n\nexport function unmountPrefetchableInstance(element: Element) {\n const instance = prefetchable.get(element)\n if (instance !== undefined) {\n prefetchable.delete(element)\n prefetchableAndVisible.delete(instance)\n const prefetchTask = instance.prefetchTask\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask)\n }\n }\n if (observer !== null) {\n observer.unobserve(element)\n }\n}\n\nfunction handleIntersect(entries: Array) {\n for (const entry of entries) {\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0\n onLinkVisibilityChanged(entry.target as HTMLAnchorElement, isVisible)\n }\n}\n\nexport function onLinkVisibilityChanged(element: Element, isVisible: boolean) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return\n }\n\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n\n instance.isVisible = isVisible\n if (isVisible) {\n prefetchableAndVisible.add(instance)\n } else {\n prefetchableAndVisible.delete(instance)\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default)\n}\n\nexport function onNavigationIntent(\n element: HTMLAnchorElement | SVGAElement,\n unstable_upgradeToDynamicPrefetch: boolean\n) {\n const instance = prefetchable.get(element)\n if (instance === undefined) {\n return\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (\n process.env.__NEXT_DYNAMIC_ON_HOVER &&\n unstable_upgradeToDynamicPrefetch\n ) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent)\n }\n}\n\nfunction rescheduleLinkPrefetch(\n instance: PrefetchableInstance,\n priority: PrefetchPriority.Default | PrefetchPriority.Intent\n) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask\n\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask)\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return\n }\n\n const { getCurrentAppRouterState } =\n require('./app-router-instance') as typeof import('./app-router-instance')\n\n const appRouterState = getCurrentAppRouterState()\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority,\n null\n )\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(\n existingPrefetchTask,\n treeAtTimeOfPrefetch,\n instance.fetchStrategy,\n priority\n )\n }\n }\n }\n}\n\nexport function pingVisibleLinks(\n nextUrl: string | null,\n tree: FlightRouterState\n) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible) {\n const task = instance.prefetchTask\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n // The cache has not been invalidated, and none of the inputs have\n // changed. Bail out.\n continue\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task)\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl)\n instance.prefetchTask = scheduleSegmentPrefetchTask(\n cacheKey,\n tree,\n instance.fetchStrategy,\n PrefetchPriority.Default,\n null\n )\n }\n}\n","import { parsePath } from './parse-path'\n\n/**\n * Checks if a given path starts with a given prefix. It ensures it matches\n * exactly without containing extra chars. e.g. prefix /docs should replace\n * for /docs, /docs/, /docs/a but not /docsss\n * @param path The path to check.\n * @param prefix The prefix to check against.\n */\nexport function pathHasPrefix(path: string, prefix: string) {\n if (typeof path !== 'string') {\n return false\n }\n\n const { pathname } = parsePath(path)\n return pathname === prefix || pathname.startsWith(prefix + '/')\n}\n","import { pathHasPrefix } from '../shared/lib/router/utils/path-has-prefix'\n\nconst basePath = (process.env.__NEXT_ROUTER_BASEPATH as string) || ''\n\nexport function hasBasePath(path: string): boolean {\n return pathHasPrefix(path, basePath)\n}\n","import { isAbsoluteUrl, getLocationOrigin } from '../../utils'\nimport { hasBasePath } from '../../../../client/has-base-path'\n\n/**\n * Detects whether a given url is routable by the Next.js router (browser only).\n */\nexport function isLocalURL(url: string): boolean {\n // prevent a hydration mismatch on href for url with anchor refs\n if (!isAbsoluteUrl(url)) return true\n try {\n // absolute urls can be local if they are on the same origin\n const locationOrigin = getLocationOrigin()\n const resolved = new URL(url, locationOrigin)\n return resolved.origin === locationOrigin && hasBasePath(resolved.pathname)\n } catch (_) {\n return false\n }\n}\n","let errorOnce = (_: string) => {}\nif (process.env.NODE_ENV !== 'production') {\n const errors = new Set()\n errorOnce = (msg: string) => {\n if (!errors.has(msg)) {\n console.error(msg)\n }\n errors.add(msg)\n }\n}\n\nexport { errorOnce }\n","'use client'\n\nimport React, { createContext, useContext, useOptimistic, useRef } from 'react'\nimport type { UrlObject } from 'url'\nimport { formatUrl } from '../../shared/lib/router/utils/format-url'\nimport { AppRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { useMergedRef } from '../use-merged-ref'\nimport { isAbsoluteUrl } from '../../shared/lib/utils'\nimport { addBasePath } from '../add-base-path'\nimport { warnOnce } from '../../shared/lib/utils/warn-once'\nimport { ScrollBehavior } from '../components/router-reducer/router-reducer-types'\nimport type { PENDING_LINK_STATUS } from '../components/links'\nimport {\n IDLE_LINK_STATUS,\n mountLinkInstance,\n onNavigationIntent,\n unmountLinkForCurrentNavigation,\n unmountPrefetchableInstance,\n type LinkInstance,\n} from '../components/links'\nimport { isLocalURL } from '../../shared/lib/router/utils/is-local-url'\nimport {\n FetchStrategy,\n type PrefetchTaskFetchStrategy,\n} from '../components/segment-cache/types'\nimport { errorOnce } from '../../shared/lib/utils/error-once'\n\ntype Url = string | UrlObject\ntype RequiredKeys = {\n [K in keyof T]-?: {} extends Pick ? never : K\n}[keyof T]\ntype OptionalKeys = {\n [K in keyof T]-?: {} extends Pick ? K : never\n}[keyof T]\n\ntype OnNavigateEventHandler = (event: { preventDefault: () => void }) => void\n\ntype InternalLinkProps = {\n /**\n * **Required**. The path or URL to navigate to. It can also be an object (similar to `URL`).\n *\n * @example\n * ```tsx\n * // Navigate to /dashboard:\n * Dashboard\n *\n * // Navigate to /about?name=test:\n * \n * About\n * \n * ```\n *\n * @remarks\n * - For external URLs, use a fully qualified URL such as `https://...`.\n * - In the App Router, dynamic routes must not include bracketed segments in `href`.\n */\n href: Url\n\n /**\n * @deprecated v10.0.0: `href` props pointing to a dynamic route are\n * automatically resolved and no longer require the `as` prop.\n */\n as?: Url\n\n /**\n * Replace the current `history` state instead of adding a new URL into the stack.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * About (replaces the history state)\n * \n * ```\n */\n replace?: boolean\n\n /**\n * Whether to override the default scroll behavior. If `true`, Next.js attempts to maintain\n * the scroll position if the newly navigated page is still visible. If not, it scrolls to the top.\n *\n * If `false`, Next.js will not modify the scroll behavior at all.\n *\n * @defaultValue `true`\n *\n * @example\n * ```tsx\n * \n * No auto scroll\n * \n * ```\n */\n scroll?: boolean\n\n /**\n * Update the path of the current page without rerunning data fetching methods\n * like `getStaticProps`, `getServerSideProps`, or `getInitialProps`.\n *\n * @remarks\n * `shallow` only applies to the Pages Router. For the App Router, see the\n * [following documentation](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#using-the-native-history-api).\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Shallow navigation\n * \n * ```\n */\n shallow?: boolean\n\n /**\n * Forces `Link` to pass its `href` to the child component. Useful if the child is a custom\n * component that wraps an `` tag, or if you're using certain styling libraries.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n passHref?: boolean\n\n /**\n * Prefetch the page in the background.\n * Any `` that is in the viewport (initially or through scroll) will be prefetched.\n * Prefetch can be disabled by passing `prefetch={false}`.\n *\n * @remarks\n * Prefetching is only enabled in production.\n *\n * - In the **App Router**:\n * - `\"auto\"`, `null`, `undefined` (default): Prefetch behavior depends on static vs dynamic routes:\n * - Static routes: fully prefetched\n * - Dynamic routes: partial prefetch to the nearest segment with a `loading.js`\n * - `true`: Always prefetch the full route and data.\n * - `false`: Disable prefetching on both viewport and hover.\n * - In the **Pages Router**:\n * - `true` (default): Prefetches the route and data in the background on viewport or hover.\n * - `false`: Prefetch only on hover, not on viewport.\n *\n * @defaultValue `true` (Pages Router) or `null` (App Router)\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n prefetch?: boolean | 'auto' | null\n\n /**\n * (unstable) Switch to a full prefetch on hover. Effectively the same as\n * updating the prefetch prop to `true` in a mouse event.\n */\n unstable_dynamicOnHover?: boolean\n\n /**\n * The active locale is automatically prepended in the Pages Router. `locale` allows for providing\n * a different locale, or can be set to `false` to opt out of automatic locale behavior.\n *\n * @remarks\n * Note: locale only applies in the Pages Router and is ignored in the App Router.\n *\n * @example\n * ```tsx\n * // Use the 'fr' locale:\n * \n * About (French)\n * \n *\n * // Disable locale prefix:\n * \n * About (no locale prefix)\n * \n * ```\n */\n locale?: string | false\n\n /**\n * Enable legacy link behavior.\n *\n * @deprecated This will be removed in a future version\n * @defaultValue `false`\n * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7\n */\n legacyBehavior?: boolean\n\n /**\n * Optional event handler for when the mouse pointer is moved onto the ``.\n */\n onMouseEnter?: React.MouseEventHandler\n\n /**\n * Optional event handler for when the `` is touched.\n */\n onTouchStart?: React.TouchEventHandler\n\n /**\n * Optional event handler for when the `` is clicked.\n */\n onClick?: React.MouseEventHandler\n\n /**\n * Optional event handler for when the `` is navigated.\n */\n onNavigate?: OnNavigateEventHandler\n\n /**\n * Transition types to apply when navigating. These types are passed to\n * [`React.addTransitionType`](https://react.dev/reference/react/addTransitionType)\n * inside the navigation transition, enabling\n * [``](https://react.dev/reference/react/ViewTransition) components\n * to apply different animations based on the type of navigation.\n *\n * @example\n * ```tsx\n * About\n * ```\n */\n transitionTypes?: string[]\n}\n\n// TODO-APP: Include the full set of Anchor props\n// adding this to the publicly exported type currently breaks existing apps\n\n// `RouteInferType` is a stub here to avoid breaking `typedRoutes` when the type\n// isn't generated yet. It will be replaced when type generation runs.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type LinkProps = InternalLinkProps\ntype LinkPropsRequired = RequiredKeys\ntype LinkPropsOptional = OptionalKeys>\n\nfunction isModifiedEvent(event: React.MouseEvent): boolean {\n const eventTarget = event.currentTarget as HTMLAnchorElement | SVGAElement\n const target = eventTarget.getAttribute('target')\n return (\n (target && target !== '_self') ||\n event.metaKey ||\n event.ctrlKey ||\n event.shiftKey ||\n event.altKey || // triggers resource download\n (event.nativeEvent && event.nativeEvent.which === 2)\n )\n}\n\nfunction linkClicked(\n e: React.MouseEvent,\n href: string,\n linkInstanceRef: React.RefObject,\n replace?: boolean,\n scroll?: boolean,\n onNavigate?: OnNavigateEventHandler,\n transitionTypes?: string[]\n): void {\n if (typeof window !== 'undefined') {\n const { nodeName } = e.currentTarget\n\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A'\n if (\n (isAnchorNodeName && isModifiedEvent(e)) ||\n e.currentTarget.hasAttribute('download')\n ) {\n // ignore click for browser’s default behavior\n return\n }\n\n if (!isLocalURL(href)) {\n if (replace) {\n // browser default behavior does not replace the history state\n // so we need to do it manually\n e.preventDefault()\n location.replace(href)\n }\n\n // ignore click for browser’s default behavior\n return\n }\n\n e.preventDefault()\n\n if (onNavigate) {\n let isDefaultPrevented = false\n\n onNavigate({\n preventDefault: () => {\n isDefaultPrevented = true\n },\n })\n\n if (isDefaultPrevented) {\n return\n }\n }\n\n const { dispatchNavigateAction } =\n require('../components/app-router-instance') as typeof import('../components/app-router-instance')\n\n React.startTransition(() => {\n dispatchNavigateAction(\n href,\n replace ? 'replace' : 'push',\n scroll === false ? ScrollBehavior.NoScroll : ScrollBehavior.Default,\n linkInstanceRef.current,\n transitionTypes\n )\n })\n }\n}\n\nfunction formatStringOrUrl(urlObjOrString: UrlObject | string): string {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString\n }\n\n return formatUrl(urlObjOrString)\n}\n\n/**\n * A React component that extends the HTML `` element to provide\n * [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)\n * and client-side navigation. This is the primary way to navigate between routes in Next.js.\n *\n * @remarks\n * - Prefetching is only enabled in production.\n *\n * @see https://nextjs.org/docs/app/api-reference/components/link\n */\nexport default function LinkComponent(\n props: LinkProps & {\n children: React.ReactNode\n ref: React.Ref\n }\n) {\n const [linkStatus, setOptimisticLinkStatus] = useOptimistic(IDLE_LINK_STATUS)\n\n let children: React.ReactNode\n\n const linkInstanceRef = useRef(null)\n\n const {\n href: hrefProp,\n as: asProp,\n children: childrenProp,\n prefetch: prefetchProp = null,\n passHref,\n replace,\n shallow,\n scroll,\n onClick,\n onMouseEnter: onMouseEnterProp,\n onTouchStart: onTouchStartProp,\n legacyBehavior = false,\n onNavigate,\n transitionTypes,\n ref: forwardedRef,\n unstable_dynamicOnHover,\n ...restProps\n } = props\n\n children = childrenProp\n\n if (\n legacyBehavior &&\n (typeof children === 'string' || typeof children === 'number')\n ) {\n children = {children}\n }\n\n const router = React.useContext(AppRouterContext)\n\n const prefetchEnabled = prefetchProp !== false\n\n const fetchStrategy =\n prefetchProp !== false\n ? getFetchStrategyFromPrefetchProp(prefetchProp)\n : // TODO: it makes no sense to assign a fetchStrategy when prefetching is disabled.\n FetchStrategy.PPR\n\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args: {\n key: string\n expected: string\n actual: string\n }) {\n return new Error(\n `Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`\\`, but got \\`${args.actual}\\` instead.` +\n (typeof window !== 'undefined'\n ? \"\\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n\n // TypeScript trick for type-guarding:\n const requiredPropsGuard: Record = {\n href: true,\n } as const\n const requiredProps: LinkPropsRequired[] = Object.keys(\n requiredPropsGuard\n ) as LinkPropsRequired[]\n requiredProps.forEach((key: LinkPropsRequired) => {\n if (key === 'href') {\n if (\n props[key] == null ||\n (typeof props[key] !== 'string' && typeof props[key] !== 'object')\n ) {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key],\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n\n // TypeScript trick for type-guarding:\n const optionalPropsGuard: Record = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n unstable_dynamicOnHover: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true,\n onNavigate: true,\n transitionTypes: true,\n } as const\n const optionalProps: LinkPropsOptional[] = Object.keys(\n optionalPropsGuard\n ) as LinkPropsOptional[]\n optionalProps.forEach((key: LinkPropsOptional) => {\n const valType = typeof props[key]\n\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType,\n })\n }\n } else if (\n key === 'onClick' ||\n key === 'onMouseEnter' ||\n key === 'onTouchStart' ||\n key === 'onNavigate'\n ) {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType,\n })\n }\n } else if (\n key === 'replace' ||\n key === 'scroll' ||\n key === 'shallow' ||\n key === 'passHref' ||\n key === 'legacyBehavior' ||\n key === 'unstable_dynamicOnHover'\n ) {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType,\n })\n }\n } else if (key === 'prefetch') {\n if (\n props[key] != null &&\n valType !== 'boolean' &&\n props[key] !== 'auto'\n ) {\n throw createPropError({\n key,\n expected: '`boolean | \"auto\"`',\n actual: valType,\n })\n }\n } else if (key === 'transitionTypes') {\n if (props[key] != null && !Array.isArray(props[key])) {\n throw createPropError({\n key,\n expected: '`string[]`',\n actual: valType,\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n const _: never = key\n }\n })\n }\n\n const resolvedHref = asProp || hrefProp\n const formattedHref = formatStringOrUrl(resolvedHref)\n\n if (process.env.NODE_ENV !== 'production') {\n if (props.locale) {\n warnOnce(\n 'The `locale` prop is not supported in `next/link` while using the `app` router. Read more about app router internalization: https://nextjs.org/docs/app/building-your-application/routing/internationalization'\n )\n }\n if (!asProp) {\n let href: string | undefined\n if (typeof resolvedHref === 'string') {\n href = resolvedHref\n } else if (\n typeof resolvedHref === 'object' &&\n typeof resolvedHref.pathname === 'string'\n ) {\n href = resolvedHref.pathname\n }\n\n if (href) {\n const hasDynamicSegment = href\n .split('/')\n .some((segment) => segment.startsWith('[') && segment.endsWith(']'))\n\n if (hasDynamicSegment) {\n throw new Error(\n `Dynamic href \\`${href}\\` found in while using the \\`/app\\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`\n )\n }\n }\n }\n }\n\n // This will return the first child, if multiple are provided it will throw an error\n let child: any\n if (legacyBehavior) {\n if ((children as any)?.$$typeof === Symbol.for('react.lazy')) {\n throw new Error(\n `\\`\\` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's \\`\\` tag.`\n )\n }\n\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(\n `\"onClick\" was passed to with \\`href\\` of \\`${formattedHref}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`\n )\n }\n if (onMouseEnterProp) {\n console.warn(\n `\"onMouseEnter\" was passed to with \\`href\\` of \\`${formattedHref}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`\n )\n }\n try {\n child = React.Children.only(children)\n } catch (err) {\n if (!children) {\n throw new Error(\n `No children were passed to with \\`href\\` of \\`${formattedHref}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`\n )\n }\n throw new Error(\n `Multiple children were passed to with \\`href\\` of \\`${formattedHref}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` +\n (typeof window !== 'undefined'\n ? \" \\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n } else {\n child = React.Children.only(children)\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if ((children as any)?.type === 'a') {\n throw new Error(\n 'Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'\n )\n }\n }\n }\n\n const childRef: any = legacyBehavior\n ? child && typeof child === 'object' && child.ref\n : forwardedRef\n\n // Use a callback ref to attach an IntersectionObserver to the anchor tag on\n // mount. In the future we will also use this to keep track of all the\n // currently mounted instances, e.g. so we can re-prefetch them after\n // a revalidation or refresh.\n const observeLinkVisibilityOnMount = React.useCallback(\n (element: HTMLAnchorElement | SVGAElement) => {\n if (router !== null) {\n linkInstanceRef.current = mountLinkInstance(\n element,\n formattedHref,\n router,\n fetchStrategy,\n prefetchEnabled,\n setOptimisticLinkStatus\n )\n }\n\n return () => {\n if (linkInstanceRef.current) {\n unmountLinkForCurrentNavigation(linkInstanceRef.current)\n linkInstanceRef.current = null\n }\n unmountPrefetchableInstance(element)\n }\n },\n [\n prefetchEnabled,\n formattedHref,\n router,\n fetchStrategy,\n setOptimisticLinkStatus,\n ]\n )\n\n const mergedRef = useMergedRef(observeLinkVisibilityOnMount, childRef)\n\n const childProps: {\n onTouchStart?: React.TouchEventHandler\n onMouseEnter: React.MouseEventHandler\n onClick: React.MouseEventHandler\n href?: string\n ref?: any\n } = {\n ref: mergedRef,\n onClick(e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(\n `Component rendered inside next/link has to pass click event to \"onClick\" prop.`\n )\n }\n }\n\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onClick === 'function'\n ) {\n child.props.onClick(e)\n }\n\n if (!router) {\n return\n }\n if (e.defaultPrevented) {\n return\n }\n linkClicked(\n e,\n formattedHref,\n linkInstanceRef,\n replace,\n scroll,\n onNavigate,\n transitionTypes\n )\n },\n onMouseEnter(e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onMouseEnter === 'function'\n ) {\n child.props.onMouseEnter(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled || process.env.NODE_ENV === 'development') {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START\n ? undefined\n : function onTouchStart(e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onTouchStart === 'function'\n ) {\n child.props.onTouchStart(e)\n }\n\n if (!router) {\n return\n }\n if (!prefetchEnabled) {\n return\n }\n\n const upgradeToDynamicPrefetch = unstable_dynamicOnHover === true\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement,\n upgradeToDynamicPrefetch\n )\n },\n }\n\n // If the url is absolute, we can bypass the logic to prepend the basePath.\n if (isAbsoluteUrl(formattedHref)) {\n childProps.href = formattedHref\n } else if (\n !legacyBehavior ||\n passHref ||\n (child.type === 'a' && !('href' in child.props))\n ) {\n childProps.href = addBasePath(formattedHref)\n }\n\n let link: React.ReactNode\n\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n errorOnce(\n '`legacyBehavior` is deprecated and will be removed in a future ' +\n 'release. A codemod is available to upgrade your components:\\n\\n' +\n 'npx @next/codemod@latest new-link .\\n\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components'\n )\n }\n link = React.cloneElement(child, childProps)\n } else {\n link = (\n \n {children}\n \n )\n }\n\n return (\n \n {link}\n \n )\n}\n\nconst LinkStatusContext = createContext<\n typeof PENDING_LINK_STATUS | typeof IDLE_LINK_STATUS\n>(IDLE_LINK_STATUS)\n\nexport const useLinkStatus = () => {\n return useContext(LinkStatusContext)\n}\n\nfunction getFetchStrategyFromPrefetchProp(\n prefetchProp: Exclude\n): PrefetchTaskFetchStrategy {\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n if (prefetchProp === true) {\n return FetchStrategy.Full\n }\n\n // `null` or `\"auto\"`: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport.\n // This will also include invalid prop values that don't match the types specified here.\n // (although those should've been filtered out by prop validation in dev)\n prefetchProp satisfies null | 'auto'\n return FetchStrategy.PPR\n } else {\n return prefetchProp === null || prefetchProp === 'auto'\n ? // We default to PPR, and we'll discover whether or not the route supports it with the initial prefetch.\n FetchStrategy.PPR\n : // In the old implementation without runtime prefetches, `prefetch={true}` forces all dynamic data to be prefetched.\n // To preserve backwards-compatibility, anything other than `false`, `null`, or `\"auto\"` results in a full prefetch.\n // (although invalid values should've been filtered out by prop validation in dev)\n FetchStrategy.Full\n }\n}\n"],"names":["_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interop_require_wildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","exports","_","assign","searchParamsToUrlQuery","urlQueryToSearchParams","searchParams","query","value","entries","existing","Array","isArray","push","stringifyUrlQueryParam","param","isNaN","String","URLSearchParams","item","append","target","searchParamsList","keys","delete","formatUrl","formatWithValidation","urlObjectKeys","slashedProtocols","urlObj","auth","hostname","protocol","pathname","hash","host","encodeURIComponent","replace","indexOf","port","querystring","search","endsWith","slashes","test","url","process","env","NODE_ENV","forEach","includes","console","warn","useMergedRef","refA","refB","cleanupA","useRef","cleanupB","useCallback","current","cleanupFnA","cleanupFnB","applyRef","cleanup","DecodeError","MiddlewareNotFoundError","MissingStaticPage","NormalizeError","PageNotFoundError","SP","ST","WEB_VITALS","execOnce","getDisplayName","getLocationOrigin","getURL","isAbsoluteUrl","isResSent","loadGetInitialProps","normalizeRepeatedSlashes","stringifyError","fn","used","result","args","ABSOLUTE_URL_REGEX","window","location","href","origin","substring","length","Component","displayName","name","res","finished","headersSent","urlParts","split","urlNoQuery","slice","join","App","ctx","getInitialProps","message","Error","pageProps","props","performance","every","method","constructor","page","code","error","JSON","stringify","stack","parsePath","path","hashIndex","queryIndex","hasQuery","undefined","addPathPrefix","prefix","startsWith","removeTrailingSlash","route","normalizePathTrailingSlash","__NEXT_MANUAL_TRAILING_SLASH","__NEXT_TRAILING_SLASH","addBasePath","basePath","__NEXT_ROUTER_BASEPATH","required","__NEXT_MANUAL_CLIENT_BASE_PATH","warnOnce","warnings","Set","msg","add","ACTION_HMR_REFRESH","ACTION_NAVIGATE","ACTION_REFRESH","ACTION_RESTORE","ACTION_SERVER_ACTION","ACTION_SERVER_PATCH","PrefetchKind","ScrollBehavior","FetchStrategy","NavigationResultTag","PrefetchPriority","createCacheKey","originalHref","nextUrl","originalUrl","URL","cacheKey","PrefetchHint","matchSegment","existingSegment","segment","readVaryParams","thenable","then","noop","status","ACTION_HEADER","FLIGHT_HEADERS","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_ACTION_REVALIDATED_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_HMR_REFRESH_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_INSTANT_PREFETCH_HEADER","NEXT_INSTANT_TEST_COOKIE","NEXT_IS_PRERENDER_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_REWRITTEN_PATH_HEADER","NEXT_REWRITTEN_QUERY_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_RSC_UNION_QUERY","NEXT_URL","RSC_CONTENT_TYPE_HEADER","RSC_HEADER","InvariantError","options","isThenable","promise","dispatchAppRouterAction","dispatchGestureState","refreshOnInstantNavigationUnlock","useActionQueue","dispatch","__NEXT_EXPOSE_TESTING_API","type","bypassCacheInvalidation","reload","action","setGestureRouterState","state","__DEV__","promisesWithDebugInfo","actionQueue","canonicalState","setState","React","useState","setGesture","useOptimistic","nextDispatch","useAppDevRenderingIndicator","require","appDevRenderingIndicator","stateWithDebugInfo","useMemo","promiseWithDebugInfo","debugInfo","Promise","resolve","asyncState","_debugInfo","use","callServer","actionId","actionArgs","reject","startTransition","findSourceMapURL","__NEXT_DEV_SERVER","filename","document","DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","isPageSegment","stringifiedQuery","segments","parallelRouteKey","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","values","segmentValue","HEAD_REQUEST_KEY","ROOT_SEGMENT_REQUEST_KEY","appendSegmentRequestKeyPart","convertSegmentPathToStaticExportFilename","createSegmentRequestKeyPart","safeName","encodeToFilesystemAndURLSafeString","paramType","encodedName","parentRequestKey","childRequestKeyPart","slotKey","simpleParamValueRegex","base64url","btoa","doesStaticSegmentAppearInURL","getCacheKeyForDynamicParam","getParamValueFromCacheKey","getRenderedPathname","getRenderedSearch","parseDynamicParamFromURLPart","urlSearchParamsToParsedUrlQuery","urlToUrlWithoutFlightMarker","response","rewrittenQuery","headers","rewrittenPath","canonicalizeURLPart","part","decodeURIComponent","pathnameParts","partIndex","map","s","i","paramValue","renderedSearch","pageSegmentWithSearchParams","fromEntries","urlWithoutFlightParameters","__NEXT_CONFIG_OUTPUT","paramCacheKey","isCatchAll","createHrefFromUrl","includeHash","createInitialRSCPayloadFromFallbackPrerender","getFlightDataPartsFromPath","getNextFlightSegmentPath","normalizeFlightData","prepareFlightRouterStateForRequest","flightDataPath","flightDataPathLength","seedData","head","isHeadPartial","pathToSegment","isRootRender","fallbackInitialRSCPayload","renderedPathname","canonicalUrl","originalFlightDataPath","f","originalFlightRouterState","payload","c","q","fillInFallbackFlightRouterState","m","G","S","h","b","flightRouterState","filter","p","index","fillInFallbackFlightRouterStateImpl","pathnamePartsIndex","originalSegment","newSegment","doesAppearInURL","paramName","staticSiblings","childPathnamePartsIndex","newChildren","childFlightRouterState","newState","flightSegmentPath","flightData","isHmrRefresh","stripClientOnlyDataFromFlightRouterState","_refreshState","refreshMarker","prefetchHints","cleanedSegment","stripClientOnlyDataFromSegment","cleanedParallelRoutes","childState","djb2Hash","hexHash","str","char","charCodeAt","toString","computeCacheBustingSearchParam","computeLegacyCacheBustingSearchParam","CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES","textEncoder","TextEncoder","encodeCacheBustingSearchParam","bytes","binary","fromCharCode","normalizeCacheBustingInput","createCacheBustingSearchParamInput","prefetchHeader","segmentPrefetchHeader","stateTreeHeader","nextUrlHeader","computeCacheBustingSearchParamFromInput","input","digest","globalThis","crypto","subtle","encode","Uint8Array","subarray","setCacheBustingSearchParam","setCacheBustingSearchParamWithHash","computeClientCacheBustingSearchParam","uniqueCacheKey","existingSearch","rawQuery","pairs","pair","getNavigationBuildId","setNavigationBuildId","globalBuildId","buildId","ACTION_SUFFIX","APP_DIR_ALIAS","CACHE_ONE_YEAR_SECONDS","DOT_NEXT_ALIAS","ESLINT_DEFAULT_DIRS","GSP_NO_RETURNED_VALUE","GSSP_COMPONENT_MEMBER_ERROR","GSSP_NO_RETURNED_VALUE","HTML_CONTENT_TYPE_HEADER","INFINITE_CACHE","INSTRUMENTATION_HOOK_FILENAME","JSON_CONTENT_TYPE_HEADER","MATCHED_PATH_HEADER","MIDDLEWARE_FILENAME","MIDDLEWARE_LOCATION_REGEXP","NEXT_BODY_SUFFIX","NEXT_CACHE_IMPLICIT_TAG_ID","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","NEXT_CACHE_ROOT_PARAM_TAG_ID","NEXT_CACHE_SOFT_TAG_MAX_LENGTH","NEXT_CACHE_TAGS_HEADER","NEXT_CACHE_TAG_MAX_ITEMS","NEXT_CACHE_TAG_MAX_LENGTH","NEXT_DATA_SUFFIX","NEXT_INTERCEPTION_MARKER_PREFIX","NEXT_META_SUFFIX","NEXT_NAV_DEPLOYMENT_ID_HEADER","NEXT_QUERY_PARAM_PREFIX","NEXT_RESUME_HEADER","NEXT_RESUME_STATE_LENGTH_HEADER","NON_STANDARD_NODE_ENV","PAGES_DIR_ALIAS","PRERENDER_REVALIDATE_HEADER","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","PROXY_FILENAME","PROXY_LOCATION_REGEXP","PUBLIC_DIR_MIDDLEWARE_CONFLICT","ROOT_DIR_ALIAS","RSC_ACTION_CLIENT_WRAPPER_ALIAS","RSC_ACTION_ENCRYPTION_ALIAS","RSC_ACTION_PROXY_ALIAS","RSC_ACTION_VALIDATE_ALIAS","RSC_CACHE_WRAPPER_ALIAS","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS","RSC_MOD_REF_PROXY_ALIAS","RSC_SEGMENTS_DIR_SUFFIX","RSC_SEGMENT_SUFFIX","RSC_SUFFIX","SERVER_PROPS_EXPORT_ERROR","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","SERVER_RUNTIME","SSG_FALLBACK_EXPORT_ERROR","SSG_GET_INITIAL_PROPS_CONFLICT","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","TEXT_PLAIN_CONTENT_TYPE_HEADER","UNSTABLE_REVALIDATE_RENAME_ERROR","WEBPACK_LAYERS","WEBPACK_RESOURCE_QUERIES","WEB_SOCKET_MAX_RECONNECTIONS","edge","experimentalEdge","nodejs","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","edgeSSREntry","metadata","metadataRoute","metadataImageMeta","isNavigatingToNewRootLayout","currentTree","nextTree","currentTreeSegment","nextTreeSegment","currentIsRootLayout","IsRootLayout","nextIsRootLayout","slots","currentTreeChildren","slot","nextTreeChild","currentTreeChild","getLastCommittedTree","setLastCommittedTree","lastCommittedTree","deleteFromLru","lruPut","updateLruSize","lruSize","maxLruSize","prev","next","size","ensureCleanupIsScheduled","tail","newNodeSize","prevNodeSize","deleted","pingPrefetchScheduler","ninetyPercentMax","deleteMapEntry","Fallback","createCacheMap","deleteFromCacheMap","getFromCacheMap","isValueExpired","setInCacheMap","setSizeInCacheMap","Revalidation","cacheMap","parent","getOrInitialize","isRevalidation","entry","remainingKeys","previousKey","existingEntry","Map","newEntry","now","currentCacheVersion","rootEntry","getEntryWithFallbackImpl","staleAt","version","lazilyEvictIfNeeded","fallbackEntry","setMapEntryValue","dropRef","oldEntry","ref","parentMap","revalidatingEntry","appendLayoutVaryPath","clonePageVaryPathWithNewSearchParams","finalizeLayoutVaryPath","finalizeMetadataVaryPath","finalizePageVaryPath","getFulfilledRouteVaryPath","getFulfilledSegmentVaryPath","getPartialLayoutVaryPath","getPartialPageVaryPath","getRenderedSearchFromVaryPath","getRouteVaryPath","getSegmentVaryPathForRequest","varyPath","id","couldBeIntercepted","parentPath","varyPathPart","requestKey","layoutVaryPath","finalizedVaryPath","pageVaryPath","pageRequestKey","fetchStrategy","originalVaryPath","isPage","doesVaryOnSearchParams","Full","PPRRuntime","searchParamsVaryPath","pathParamsVaryPath","patchedVaryPath","newSearch","clonedVaryPath","original","varyParams","clone","discoverKnownRoute","matchKnownRoute","resetKnownRoutes","createEmptyPart","staticChildren","dynamicChild","dynamicChildParamName","dynamicChildParamType","pattern","knownRouteTreeRoot","pendingEntry","routeTree","metadataVaryPath","supportsPerSegmentPrefetching","hasDynamicRewrite","firstPart","remainingParts","fulfilledEntry","fulfillRouteCacheEntry","discoverKnownRoutePart","discoverDynamicChild","newChild","mutablePart","parentKnownRoutePart","urlPart","fullTree","segmentAppearsInURL","knownRoutePart","nextUrlPart","nextRemainingParts","writeRouteIntoCache","sibling","existingChild","resultFromChildren","childRouteTree","refreshState","resolvedParams","match","matchKnownRoutePart","matchedPart","acc","reifiedTree","reifyRouteTree","reifiedMetadata","createMetadataRouteTree","syntheticEntry","EntryStatus","Fulfilled","blockedTasks","staticChild","dynamicPart","dynamicPattern","parentPartialVaryPath","partialVaryPath","newValue","newCacheKey","newSlots","newVaryPath","FreshnessPolicy","createInitialCacheNodeForHydration","isDeferredRsc","spawnDynamicRequests","startPPRNavigation","navigatedAt","initialTree","seedHead","seedDynamicStaleAt","accumulation","separateRefreshUrls","scrollRef","task","createCacheNodeOnNavigation","oldUrl","oldRenderedSearch","oldCacheNode","oldRouterState","newRouteTree","newMetadataVaryPath","freshness","isSamePageNavigation","didFindRootLayout","parentNeedsDynamicRequest","parentRefreshState","oldRootRefreshState","updateCacheNodeOnNavigation","oldSegment","createSegmentFromRouteTree","oldRouterStateChildren","seedDataChildren","childDidFindRootLayout","shouldRefreshDynamicData","isLeafSegment","newCacheNode","needsDynamicRequest","dropPrefetchRsc","reuseSharedCacheNode","seedRsc","createCacheNodeForSegment","cacheNode","maybeRefreshState","accumulateRefreshUrl","patchedRouterStateChildren","taskChildren","childNeedsDynamicRequest","dynamicRequestTreeChildren","newCacheNodeSlots","oldCacheNodeSlots","newRouteTreeChild","oldRouterStateChild","seedDataChild","oldSegmentChild","newSegmentChild","seedHeadChild","reuseActiveSegmentInDefaultSlot","oldCacheNodeChild","taskChild","taskChildRoute","dynamicRequestTreeChild","dynamicRequestTree","newFlightRouterState","createDynamicRequestTree","accumulateScrollRef","patchRouterStateWithNewChildren","baseRouterState","newRouterState","refreshUrl","parentRouteTree","reusedUrl","reusedRenderedSearch","oldRefreshState","reusedRouteTree","convertReusedFlightRouterStateToRouteTree","existingCacheNode","createCacheNode","rsc","prefetchRsc","prefetchHead","dynamicStaleAt","bfcacheEntry","readFromBFCacheDuringRegularNavigation","writeToBFCache","writeHeadToBFCache","readFromBFCache","oldRsc","oldRscDidResolve","cachedRsc","isCachedRscPartial","segmentEntry","readSegmentCacheEntry","isPartial","Pending","promiseForFulfilledEntry","waitForSegmentCacheEntry","Empty","Rejected","doesSegmentNeedDynamicRequest","createDeferredRsc","doesHeadNeedDynamicRequest","cachedHead","isCachedHeadPartial","metadataEntry","__NEXT_OPTIMISTIC_ROUTING","previousNavigationDidMismatch","primaryUrl","freshnessPolicy","routeCacheEntry","navigateType","primaryRequestPromise","fetchMissingDynamicData","refreshRequestPromises","scopedDynamicRequestTree","voidPromise","finishNavigationTask","exitStatus","waitForRequestsToFinish","abortRemainingPendingTasks","isHardRetry","primaryRequestResult","dispatchRetryDueToTreeMismatch","seed","onFulfill","remainingCount","onReject","refreshRequestPromise","retryUrl","retryNextUrl","baseTree","originalNavigateType","markRouteEntryAsDynamicRewrite","Date","invalidateRouteCacheEntries","lastCommitted","retryNavigateType","retryAction","previousTree","mpa","fetchServerResponse","convertServerPatchToFullTree","dynamicStaleTime","waitForNavigationLock","staticStageData","staticStageResponse","isResponsePartial","getStaleAt","responseHeaders","writeStaticStageResponseIntoCache","catch","runtimePrefetchStream","processRuntimePrefetchStream","processed","writeDynamicRenderResponseIntoCache","flightDatas","headVaryParams","navigationSeed","computeDynamicStaleAt","didReceiveUnknownParallelRoute","writeDynamicDataIntoNavigationTask","data","serverRouteTree","dynamicData","dynamicHead","finishPendingCacheNode","updateBFCacheEntryStaleAt","serverChildren","dynamicDataChildren","serverRouteTreeChild","dynamicDataChild","taskSegment","serverSegment","childDidReceiveUnknownParallelRoute","dynamicSegmentData","abortPendingCacheNode","childExitStatus","DEFERRED","Symbol","tag","pendingRsc","rej","responseDebugInfo","fulfilledRsc","apply","rejectedRsc","reason","waitForNavigationLockIfActive","ensureLeadingSlash","compareAppPaths","normalizeAppPath","normalizeRscURL","reduce","a","aHasSlot","bHasSlot","localeCompare","INTERCEPTION_ROUTE_MARKERS","extractInterceptionRouteInformation","isInterceptionRouteAppPath","find","interceptingRoute","marker","interceptedRoute","concat","splitInterceptingRoute","computeChangedPath","extractPathFromFlightRouterState","extractSourcePageFromFlightRouterState","getSelectedParams","removeLeadingSlash","segmentToPathname","segmentToSourcePagePathname","dynamicParamType","normalizeSegments","some","childrenPath","childPath","extractSourcePageSegmentsFromFlightRouterState","sourcePageSegments","computeChangedPathImpl","treeA","treeB","segmentA","parallelRoutesA","segmentB","parallelRoutesB","normalizedSegmentA","normalizedSegmentB","parallelRouterKey","changedPath","params","parallelRoute","isDynamicParameter","isJavaScriptURLString","isJavaScriptProtocol","isNavigationLocked","startListeningForInstantNavigationCookie","transitionToCapturedSPA","updateCapturedSPAToTree","parseCookieValue","raw","parsed","parse","rawState","writeCookieValue","cookieStore","domain","lockState","acquireLock","r","releaseLock","self","__next_instant_test","cookie","Math","random","addEventListener","event","changed","fromTree","toTree","from","to","completeHardNavigation","completeSoftNavigation","completeTraverseNavigation","navigate","navigateToKnownRoute","currentUrl","currentRenderedSearch","currentCacheNode","currentFlightRouterState","scrollBehavior","ensurePrefetchThenNavigate","navigateImpl","readRouteCacheEntry","navigateUsingPrefetchedRouteTree","optimisticRoute","deprecated_requestOptimisticRouteCacheEntry","navigateToUnknownRoute","Gesture","prefetchSeed","UnknownDynamicStaleTime","DynamicRequestTreeForEntireRoute","Default","HistoryTraversal","Hydration","RefreshAll","HMRRefresh","promiseForDynamicServerResponse","redirectUrl","pushRef","pendingPush","mpaNavigation","preserveCustomHistoryState","focusAndScrollRef","previousNextUrl","oldState","referringNextUrl","collectedDebugInfo","nextUrlForNewRoute","onlyHashChange","activeScrollRef","forceScroll","NoScroll","oldScrollRef","hashFragment","dynamicStaleTimeSeconds","baseData","treePatch","dataPatch","headPatch","convertServerPatchToFullTreeImpl","finalFlightRouterState","convertRootFlightRouterStateToRouteTree","updatedParallelRouteKey","baseTreeChildren","baseSeedDataChildren","newTreeChildren","newSeedDataChildren","childBaseRouterState","childBaseSeedData","clonedTree","clonedSeedData","compressedRefreshState","isEmptySeedDataPartial","link","getLinkForCurrentNavigation","PPR","schedulePrefetchTask","DYNAMIC_STALETIME_MS","STATIC_STALETIME_MS","navigateReducer","Number","__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME","getStaleTimeMs","__NEXT_CLIENT_ROUTER_STATIC_STALETIME","isExternalUrl","getElementById","navigateUsingSegmentCache","invalidateBfCache","bfcacheMap","currentBfCacheVersion","newStaleAt","createFetch","createFromNextReadableStream","decodeStaticStage","processFetch","resolveStaticStageData","createFromReadableStream","createFromReadableStreamBrowser","createFromFetch","createFromFetchBrowser","createDebugChannel","__NEXT_REACT_DEBUG_CHANNEL","doMpaNavigation","isPageUnloading","isLegacyPPR","__NEXT_PPR","__NEXT_CACHE_COMPONENTS","shouldImmediatelyDecode","responseUrl","redirected","contentType","interception","postponed","isFlightResponse","ok","body","TURBOPACK","waitForWebpackRuntimeHotUpdate","flightResponsePromise","allowPartialStream","flightResponse","cacheData","all","normalizedFlightData","d","err","stream","stripIsPartialByte","responseStream","__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS","stream1","stream2","tee","responseBodyClone","strippedResponse","Response","statusText","cancel","l","staticStageByteLengthPromise","staticStageByteLength","truncatedStream","truncateStream","fetchPriority","signal","__NEXT_TEST_MODE","deploymentId","getDeploymentId","__next_r","getRandomValues","Uint32Array","fetchOptions","credentials","priority","fetchUrl","fetch","fetchPromise","createFromNextFetch","browserResponse","__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS","MAX_REDIRECTS","n","rscResponse","flightStream","requestHeaders","debugChannel","unstable_allowPartialStream","promiseForResponse","byteLength","reader","getReader","remaining","ReadableStream","pull","controller","close","done","read","enqueue","createPromiseWithResolvers","attemptToFulfillDynamicSegmentFromBFCache","attemptToUpgradeSegmentFromBFCache","canNewFetchStrategyProvideMoreContent","convertRouteTreeToFlightRouterState","createDetachedSegmentCacheEntry","fetchInlinedSegmentsOnCacheMiss","fetchRouteOnCacheMiss","fetchSegmentOnCacheMiss","fetchSegmentPrefetchesUsingDynamicRequest","getCurrentRouteCacheVersion","getCurrentSegmentCacheVersion","invalidateEntirePrefetchCache","invalidateSegmentCacheEntries","overwriteRevalidatingSegmentCacheEntry","pingInvalidationListeners","readOrCreateRevalidatingSegmentEntry","readOrCreateRouteCacheEntry","readOrCreateSegmentCacheEntry","upgradeToPendingSegment","upsertSegmentEntry","staleTimeSeconds","max","isOutputExportMode","MetadataOnlyRequestTree","routeCacheMap","segmentCacheMap","invalidationListeners","currentRouteCacheVersion","currentSegmentCacheVersion","pingVisibleLinks","attachInvalidationListener","onInvalidate","notifyInvalidationListener","reportError","tasks","isPrefetchTaskDirty","readRevalidatingSegmentCacheEntry","promiseWithResolvers","createDetachedRouteCacheEntry","Infinity","requestedUrl","requestedSearch","urlWithoutSearchParams","routeWithNoSearchParams","createPrefetchRequestKey","canonicalUrlForRouteWithNoSearchParams","optimisticCanonicalSearch","optimisticRenderedSearch","optimisticUrl","optimisticCanonicalUrl","optimisticRouteTree","deprecated_createOptimisticRouteTree","optimisticMetadataTree","optimisticEntry","newRenderedSearch","clonedSlots","originalSlots","childTree","varyPathForRequest","candidateEntry","rejectedEntry","emptyEntry","dynamicPrefetchStaleAt","pendingSegment","fulfillSegmentCacheEntry","segmentVaryPath","upserted","pingBlockedTasks","pingPrefetchTask","segmentCacheEntry","rejectRouteCacheEntry","rejectSegmentCacheEntry","convertRootTreePrefetchToRouteTree","rootTree","rootSegment","convertTreePrefetchToRouteTree","prefetch","prefetchSlots","childPrefetch","childSegmentName","childParam","childDoesAppearInURL","childSegment","childPartialVaryPath","childParamValue","childParamKey","siblings","childRequestKey","convertFlightRouterStateToRouteTree","requestKeyPart","parentRenderedSearch","childRouterState","addInstantPrefetchHeaderIfLocked","urlAfterRedirects","headResponse","fetchPrefetchResponse","addSegmentPathToUrlInOutputExportMode","varyHeader","closed","routeIsPPREnabled","prefetchStream","responseSize","createNonTaskyPrefetchResponseStream","serverData","headVaryParamsThenable","writeDynamicTreeResponseIntoCache","LoadingBoundary","fulfilledVaryPath","routeKey","normalizedRequestKey","requestUrl","staleTime","__NEXT_VARY_PARAMS","spawnedEntries","rejectSegmentEntriesIfStillPending","fillInlinedSegmentEntries","headStaleAt","headKey","ownedHeadEntry","inlinedNode","ownedEntry","childInlinedNode","fulfilledEntries","bufferedResponseSize","createIncrementalPrefetchResponseStream","onResponseSizeUpdate","totalBytesReceivedSoFar","averageSize","originalPathname","normalizedFlightDataResult","getStaleAtFromHeader","metadataTree","flightDataEntry","writeSeedDataIntoCache","fulfillEntrySpawnedByRuntimePrefetch","entriesOwnedByCurrentTask","varyParamsThenable","childSeedData","segmentVaryParams","possiblyNewEntry","chunks","buffer","offset","chunk","start","originalFlightStream","onStreamClose","totalByteLength","staticUrl","routeDir","staticExportFilename","currentStrategy","newStrategy","parseInt","staleTimeMs","staleTimeIterable","defaultIsPartial","firstByte","hasMarker","remainder","cancelPrefetchTask","reschedulePrefetchTask","startRevalidationCooldown","scheduleMicrotask","queueMicrotask","setTimeout","taskHeap","inProgressRequests","sortIdCounter","didScheduleMicrotask","mostRecentlyHoveredLink","REVALIDATION_COOLDOWN_MS","revalidationCooldownTimeoutHandle","clearTimeout","treeAtTimeOfPrefetch","_onComplete","routeCacheVersion","segmentCacheVersion","phase","hasBackgroundWork","spawnedRuntimePrefetches","sortId","isCanceled","_heapIndex","trackMostRecentlyHoveredLink","heapPush","heapDelete","onComplete","Intent","heapResift","Background","processQueueInMicrotask","hasNetworkBandwidth","spawnPrefetchSubtask","prefetchSubtask","onPrefetchConnectionClosed","heapPeek","pingRoute","heapPop","background","pingRootRouteTree","keyWithoutSearch","routeWithoutSearch","SubtreeHasInstant","pingStaticHead","pingSharedPartOfCacheComponentsTree","pingRuntimeHead","requestTree","pingRuntimePrefetches","diffRouteTreeAgainstCurrent","pingStaticSegmentData","pingRouteTreeAndIncludeDynamicData","oldTree","newTree","oldTreeChildren","newTreeChild","newTreeChildSegment","oldTreeChild","oldTreeChildSegment","doesCurrentSegmentMatchCachedSegment","pingNewPartOfCacheComponentsTree","HasRuntimePrefetch","requestTreeChildren","requestTreeChild","subtreeHasLoadingBoundary","SegmentHasLoadingBoundary","SubtreeHasLoadingBoundary","pingPPRDisabledRouteTreeUpToLoadingBoundary","refetchMarkerContext","refetchMarker","segmentHasLoadingBoundary","isInsideRefetchingParent","spawnedSegment","fulfilled","pingFullSegmentRevalidation","__NEXT_PREFETCH_INLINING","inlinedEntries","collectInlinedEntries","pingPPRSegmentRevalidation","collectInlinedEntriesImpl","headEntry","revalidatingSegment","nonEmptyRevalidatingSegment","emptySegment","currentSegment","cachedSegment","compareQueuePriority","priorityDiff","phaseDiff","heap","heapSiftUp","last","pop","heapSiftDown","parentIndex","halfLength","leftIndex","left","rightIndex","right","IDLE_LINK_STATUS","PENDING_LINK_STATUS","mountFormInstance","mountLinkInstance","onLinkVisibilityChanged","onNavigationIntent","setLinkForCurrentNavigation","unmountLinkForCurrentNavigation","unmountPrefetchableInstance","linkForMostRecentNavigation","pending","setOptimisticLinkStatus","prefetchable","prefetchableAndVisible","observer","IntersectionObserver","handleIntersect","rootMargin","observeVisibility","element","instance","existingInstance","observe","coercePrefetchableUrl","createPrefetchURL","reportErrorFn","router","prefetchEnabled","prefetchURL","isVisible","prefetchTask","prefetchHref","unobserve","intersectionRatio","rescheduleLinkPrefetch","unstable_upgradeToDynamicPrefetch","__NEXT_DYNAMIC_ON_HOVER","existingPrefetchTask","getCurrentAppRouterState","appRouterState","scheduleSegmentPrefetchTask","pathHasPrefix","hasBasePath","isLocalURL","locationOrigin","resolved","errorOnce","errors","LinkComponent","useLinkStatus","isModifiedEvent","eventTarget","currentTarget","getAttribute","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","linkClicked","e","linkInstanceRef","scroll","onNavigate","transitionTypes","nodeName","isAnchorNodeName","toUpperCase","hasAttribute","preventDefault","isDefaultPrevented","dispatchNavigateAction","formatStringOrUrl","urlObjOrString","linkStatus","hrefProp","as","asProp","childrenProp","prefetchProp","passHref","shallow","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","forwardedRef","unstable_dynamicOnHover","restProps","useContext","AppRouterContext","getFetchStrategyFromPrefetchProp","createPropError","expected","actual","requiredPropsGuard","requiredProps","optionalPropsGuard","optionalProps","valType","resolvedHref","formattedHref","locale","hasDynamicSegment","child","$$typeof","for","Children","only","childRef","observeLinkVisibilityOnMount","mergedRef","childProps","defaultPrevented","upgradeToDynamicPrefetch","__NEXT_LINK_NO_TOUCH_START","cloneElement","LinkStatusContext","Provider","createContext"],"mappings":"6CAEA,SAASA,EAAyBC,CAAW,EACzC,GAAuB,YAAnB,OAA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AAWv1C,IAAI,CAAG8C,CAAAA,EAAAA,EAAAA,WAAAA,AAAW,EAAC8xC,EAAAA,EAc9Bvd,EATEuc,EASK/rC,EAAAA,CAAPwvB,MAAY,CAACse,IATK,AASlBte,QAAyB,CAAC0d,EAAOQ,GAG/B,CAAA,EAAA,EAAA,GAAA,EAACxmB,IAAAA,CAAG,GAAGglB,CAAS,CAAG,GAAGwB,CAAU,UAC7B7qC,IAML,CAAA,EAAA,EAAA,GAAA,EAACkrC,EAAkBC,QAAQ,CAAA,CAAC96C,MAAOg4C,WAChC1b,GAGP,GAzuB0B,CAAA,CAAA,IAAA,EA2uB1B,IAAMue,EAAoBE,CAAAA,EAAAA,EAAAA,aAAAA,AAAa,AAAjCF,EAEJxH,EAAAA,OAFIwH,SAEY,EAELvE,EAAgB,IACpB2C,CAAAA,EAAAA,EAAAA,UAAAA,AAAU,EAAC4B","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js b/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js deleted file mode 100644 index ad4b605..0000000 --- a/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[26304,a=>{"use strict";function b(a){if(void 0===a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function c(a,b){a.prototype=Object.create(b.prototype),a.prototype.constructor=a,a.__proto__=b}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},G={duration:.5,overwrite:!1,delay:0},H=2*Math.PI,I=H/4,J=0,K=Math.sqrt,L=Math.cos,M=Math.sin,N=function(a){return"string"==typeof a},O=function(a){return"function"==typeof a},P=function(a){return"number"==typeof a},Q=function(a){return void 0===a},R=function(a){return"object"==typeof a},S=function(a){return!1!==a},T=function(){return!1},U=function(a){return O(a)||N(a)},V="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},W=Array.isArray,X=/random\([^)]+\)/g,Y=/,\s*/g,Z=/(?:-?\.?\d|\.)+/gi,$=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,aa=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ab=/[+-]=-?[.\d]+/,ac=/[^,'"\[\]\s]+/gi,ad=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ae={},af={},ag=function(a,b){return console.warn("Invalid property",a,"set to",b,"Missing plugin? gsap.registerPlugin()")},ah=function(a,b){return!b&&console.warn(a)},ai=function(a,b){return a&&(ae[a]=b)&&af&&(af[a]=b)||ae},aj=function(){return 0},ak={suppressEvents:!0,isStart:!0,kill:!1},al={suppressEvents:!0,kill:!1},am={suppressEvents:!0},an={},ao=[],ap={},aq={},ar={},as=30,at=[],au="",av=function(a){var b,c,d=a[0];if(R(d)||O(d)||(a=[a]),!(b=(d._gsap||{}).harness)){for(c=at.length;c--&&!at[c].targetTest(d););b=at[c]}for(c=a.length;c--;)a[c]&&(a[c]._gsap||(a[c]._gsap=new bQ(a[c],b)))||a.splice(c,1);return a},aw=function(a){return a._gsap||av(bf(a))[0]._gsap},ax=function(a,b,c){return(c=a[b])&&O(c)?a[b]():Q(c)&&a.getAttribute&&a.getAttribute(b)||c},ay=function(a,b){return(a=a.split(",")).forEach(b)||a},az=function(a){return Math.round(1e5*a)/1e5||0},aA=function(a){return Math.round(1e7*a)/1e7||0},aB=function(a,b){var c=b.charAt(0),d=parseFloat(b.substr(2));return a=parseFloat(a),"+"===c?a+d:"-"===c?a-d:"*"===c?a*d:a/d},aC=function(a,b){for(var c=b.length,d=0;0>a.indexOf(b[d])&&++df;)g=g._prev;return g?(b._next=g._next,g._next=b):(b._next=a[c],a[c]=b),b._next?b._next._prev=b:a[d]=b,b._prev=g,b.parent=b._dp=a,b},aP=function(a,b,c,d){void 0===c&&(c="_first"),void 0===d&&(d="_last");var e=b._prev,f=b._next;e?e._next=f:a[c]===b&&(a[c]=f),f?f._prev=e:a[d]===b&&(a[d]=e),b._next=b._prev=b.parent=null},aQ=function(a,b){a.parent&&(!b||a.parent.autoRemoveChildren)&&a.parent.remove&&a.parent.remove(a),a._act=0},aR=function(a,b){if(a&&(!b||b._end>a._dur||b._start<0))for(var c=a;c;)c._dirty=1,c=c.parent;return a},aS=function(a){for(var b=a.parent;b&&b.parent;)b._dirty=1,b.totalDuration(),b=b.parent;return a},aT=function(a,b,c,d){return a._startAt&&(v?a._startAt.revert(al):a.vars.immediateRender&&!a.vars.autoRevert||a._startAt.render(b,!0,d))},aU=function(a){return a._repeat?aV(a._tTime,a=a.duration()+a._rDelay)*a:0},aV=function(a,b){var c=Math.floor(a=aA(a/b));return a&&c===a?c-1:c},aW=function(a,b){return(a-b._start)*b._ts+(b._ts>=0?0:b._dirty?b.totalDuration():b._tDur)},aX=function(a){return a._end=aA(a._start+(a._tDur/Math.abs(a._ts||a._rts||1e-8)||0))},aY=function(a,b){var c=a._dp;return c&&c.smoothChildTiming&&a._ts&&(a._start=aA(c._time-(a._ts>0?b/a._ts:-(((a._dirty?a.totalDuration():a._tDur)-b)/a._ts))),aX(a),c._dirty||aR(c,a)),a},aZ=function(a,b){var c;if((b._time||!b._dur&&b._initted||b._start1e-8)&&b.render(c,!0)),aR(a,b)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur=0&&c.totalTime(c._tTime),c=c._dp;a._zTime=-1e-8}},a$=function(a,b,c,d){return b.parent&&aQ(b),b._start=aA((P(c)?c:c||a!==x?a8(a,c,b):a._time)+b._delay),b._end=aA(b._start+(b.totalDuration()/Math.abs(b.timeScale())||0)),aO(a,b,"_first","_last",a._sort?"_start":0),a2(b)||(a._recent=b),d||aZ(a,b),a._ts<0&&aY(a,a._tTime),a},a_=function(a,b){return(ae.ScrollTrigger||ag("scrollTrigger",b))&&ae.ScrollTrigger.create(b,a)},a0=function(a,b,c,d,e){return(b1(a,b,e),a._initted)?!c&&a._pt&&!v&&(a._dur&&!1!==a.vars.lazy||!a._dur&&a.vars.lazy)&&C!==bC.frame?(ao.push(a),a._lazy=[e,d],1):void 0:1},a1=function a(b){var c=b.parent;return c&&c._ts&&c._initted&&!c._lock&&(0>c.rawTime()||a(c))},a2=function(a){var b=a.data;return"isFromStart"===b||"isStart"===b},a3=function(a,b,c,d){var e,f,g,h=a.ratio,i=b<0||!b&&(!a._start&&a1(a)&&!(!a._initted&&a2(a))||(a._ts<0||a._dp._ts<0)&&!a2(a))?0:1,j=a._rDelay,k=0;if(j&&a._repeat&&(f=aV(k=bb(0,a._tDur,b),j),a._yoyo&&1&f&&(i=1-i),f!==aV(a._tTime,j)&&(h=1-i,a.vars.repeatRefresh&&a._initted&&a.invalidate())),i!==h||v||d||1e-8===a._zTime||!b&&a._zTime){if(!a._initted&&a0(a,b,d,c,k))return;for(g=a._zTime,a._zTime=b||1e-8*!!c,c||(c=b&&!g),a.ratio=i,a._from&&(i=1-i),a._time=0,a._tTime=k,e=a._pt;e;)e.r(i,e.d),e=e._next;b<0&&aT(a,b,c,!0),a._onUpdate&&!c&&bq(a,"onUpdate"),k&&a._repeat&&!c&&a.parent&&bq(a,"onRepeat"),(b>=a._tDur||b<0)&&a.ratio===i&&(i&&aQ(a,1),c||v||(bq(a,i?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=b)},a4=function(a,b,c){var d;if(c>b)for(d=a._first;d&&d._start<=c;){if("isPause"===d.data&&d._start>b)return d;d=d._next}else for(d=a._last;d&&d._start>=c;){if("isPause"===d.data&&d._start0&&!d&&aY(a,a._tTime=a._tDur*g),a.parent&&aX(a),c||aR(a.parent,a),a},a6=function(a){return a instanceof bS?aR(a):a5(a,a._dur)},a7={_start:0,endTime:aj,totalDuration:aj},a8=function a(b,c,d){var e,f,g,h=b.labels,i=b._recent||a7,j=b.duration()>=1e8?i.endTime(!1):b._dur;return N(c)&&(isNaN(c)||c in h)?(f=c.charAt(0),g="%"===c.substr(-1),e=c.indexOf("="),"<"===f||">"===f)?(e>=0&&(c=c.replace(/=/,"")),("<"===f?i._start:i.endTime(i._repeat>=0))+(parseFloat(c.substr(1))||0)*(g?(e<0?i:d).totalDuration()/100:1)):e<0?(c in h||(h[c]=j),h[c]):(f=parseFloat(c.charAt(e-1)+c.substr(e+1)),g&&d&&(f=f/100*(W(d)?d[0]:d).totalDuration()),e>1?a(b,c.substr(0,e-1),d)+f:j+f):null==c?j:+c},a9=function(a,b,c){var d,e,f=P(b[1]),g=(f?2:1)+(a<2?0:1),h=b[g];if(f&&(h.duration=b[1]),h.parent=c,a){for(d=h,e=c;e&&!("immediateRender"in d);)d=e.vars.defaults||{},e=S(e.vars.inherit)&&e.parent;h.immediateRender=S(d.immediateRender),a<2?h.runBackwards=1:h.startAt=b[g-1]}return new b8(b[0],h,b[g+1])},ba=function(a,b){return a||0===a?b(a):b},bb=function(a,b,c){return cb?b:c},bc=function(a,b){return N(a)&&(b=ad.exec(a))?b[1]:""},bd=[].slice,be=function(a,b){return a&&R(a)&&"length"in a&&(!b&&!a.length||a.length-1 in a&&R(a[0]))&&!a.nodeType&&a!==y},bf=function(a,b,c){var d;return w&&!b&&w.selector?w.selector(a):N(a)&&!c&&(z||!bD())?bd.call((b||A).querySelectorAll(a),0):W(a)?(void 0===d&&(d=[]),a.forEach(function(a){var b;return N(a)&&!c||be(a,1)?(b=d).push.apply(b,bf(a)):d.push(a)})||d):be(a)?bd.call(a,0):a?[a]:[]},bg=function(a){return a=bf(a)[0]||ah("Invalid scope")||{},function(b){var c=a.current||a.nativeElement||a;return bf(b,c.querySelectorAll?c:c===a?ah("Invalid scope")||A.createElement("div"):a)}},bh=function(a){return a.sort(function(){return .5-Math.random()})},bi=function(a){if(O(a))return a;var b=R(a)?a:{each:a},c=bL(b.ease),d=b.from||0,e=parseFloat(b.base)||0,f={},g=d>0&&d<1,h=isNaN(d)||g,i=b.axis,j=d,k=d;return N(d)?j=k=({center:.5,edges:.5,end:1})[d]||0:!g&&h&&(j=d[0],k=d[1]),function(a,g,l){var m,n,o,p,q,r,s,t,u,v=(l||b).length,w=f[v];if(!w){if(!(u="auto"===b.grid?0:(b.grid||[1,1e8])[1])){for(s=-1e8;s<(s=l[u++].getBoundingClientRect().left)&&us&&(s=q),qv?v-1:i?"y"===i?v/u:u:Math.max(u,v/u))||0)*("edges"===d?-1:1),w.b=v<0?e-v:e,w.u=bc(b.amount||b.each)||0,c=c&&v<0?bK(c):c}return v=(w[a]-w.min)/w.max||0,aA(w.b+(c?c(v):v)*w.v)+w.u}},bj=function(a){var b=Math.pow(10,((a+"").split(".")[1]||"").length);return function(c){var d=aA(Math.round(parseFloat(c)/a)*a*b);return(d-d%1)/b+(P(c)?0:bc(c))}},bk=function(a,b){var c,d,e=W(a);return!e&&R(a)&&(c=e=a.radius||1e8,a.values?(d=!P((a=bf(a.values))[0]))&&(c*=c):a=bj(a.increment)),ba(b,e?O(a)?function(b){return Math.abs((d=a(b))-b)<=c?d:b}:function(b){for(var e,f,g=parseFloat(d?b.x:b),h=parseFloat(d?b.y:0),i=1e8,j=0,k=a.length;k--;)(e=d?(e=a[k].x-g)*e+(f=a[k].y-h)*f:Math.abs(a[k]-g))(e=Math.abs(e))&&(f=d,h=e);return f},bq=function(a,b,c){var d,e,f,g=a.vars,h=g[b],i=w,j=a._ctx;if(h)return d=g[b+"Params"],e=g.callbackScope||a,c&&ao.length&&aD(),j&&(w=j),f=d?h.apply(e,d):h.call(e),w=i,f},br=function(a){return aQ(a),a.scrollTrigger&&a.scrollTrigger.kill(!!v),1>a.progress()&&bq(a,"onInterrupt"),a},bs=[],bt=function(a){if(a)if(a=!a.name&&a.default||a,T()||a.headless){var b=a.name,c=O(a),d=b&&!c&&a.init?function(){this._props=[]}:a,e={init:aj,render:ch,add:b$,kill:cj,modifier:ci,rawVars:0},f={targetTest:0,get:0,getSetter:cd,aliases:{},register:0};if(bD(),a!==d){if(aq[b])return;aI(d,aI(aL(a,e),f)),aJ(d.prototype,aJ(e,aL(a,f))),aq[d.prop=b]=d,a.targetTest&&(at.push(d),an[b]=1),b=("css"===b?"CSS":b.charAt(0).toUpperCase()+b.substr(1))+"Plugin"}ai(b,d),a.register&&a.register(cA,d,cm)}else bs.push(a)},bu={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},bv=function(a,b,c){return(6*(a+=a<0?1:a>1?-1:0)<1?b+(c-b)*a*6:a<.5?c:3*a<2?b+(c-b)*(2/3-a)*6:b)*255+.5|0},bw=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n=a?P(a)?[a>>16,a>>8&255,255&a]:0:bu.black;if(!n){if(","===a.substr(-1)&&(a=a.substr(0,a.length-1)),bu[a])n=bu[a];else if("#"===a.charAt(0)){if(a.length<6&&(d=a.charAt(1),a="#"+d+d+(e=a.charAt(2))+e+(f=a.charAt(3))+f+(5===a.length?a.charAt(4)+a.charAt(4):"")),9===a.length)return[(n=parseInt(a.substr(1,6),16))>>16,n>>8&255,255&n,parseInt(a.substr(7),16)/255];n=[(a=parseInt(a.substr(1),16))>>16,a>>8&255,255&a]}else if("hsl"===a.substr(0,3))if(n=m=a.match(Z),b){if(~a.indexOf("="))return n=a.match($),c&&n.length<4&&(n[3]=1),n}else g=n[0]%360/360,h=n[1]/100,e=(i=n[2]/100)<=.5?i*(h+1):i+h-i*h,d=2*i-e,n.length>3&&(n[3]*=1),n[0]=bv(g+1/3,d,e),n[1]=bv(g,d,e),n[2]=bv(g-1/3,d,e);else n=a.match(Z)||bu.transparent;n=n.map(Number)}return b&&!m&&(d=n[0]/255,i=((j=Math.max(d,e=n[1]/255,f=n[2]/255))+(k=Math.min(d,e,f)))/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=(j===d?(e-f)/l+6*(em||t<0)&&(o+=t-n),p+=t,((c=(e=p-o)-r)>0||u)&&(h=++i.frame,j=e-1e3*i.time,i.time=e/=1e3,r+=c+(c>=q?4:q-c),d=1),u||(f=g(a)),d)for(k=0;ktypeof requestAnimationFrame&&requestAnimationFrame,f&&i.sleep(),g=h||function(a){return setTimeout(a,r-1e3*i.time+1|0)},E=1,t(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(f),E=0,g=aj},lagSmoothing:function(a,b){n=Math.min(b||33,m=a||1/0)},fps:function(a){q=1e3/(a||240),r=1e3*i.time+q},add:function(a,b,c){var d=b?function(b,c,e,f){a(b,c,e,f),i.remove(d)}:a;return i.remove(a),s[c?"unshift":"push"](d),bD(),d},remove:function(a,b){~(b=s.indexOf(a))&&s.splice(b,1)&&k>=b&&k--},_listeners:s}),bD=function(){return!E&&bC.wake()},bE={},bF=/^[\d.\-M][\d.\-,\s]/,bG=/["']/g,bH=function(a){for(var b,c,d,e={},f=a.substr(1,a.length-3).split(":"),g=f[0],h=1,i=f.length;h1&&c.config?c.config.apply(null,~a.indexOf("{")?[bH(b[1])]:bI(a).split(",").map(aG)):bE._CE&&bF.test(a)?bE._CE("",a):c},bK=function(a){return function(b){return 1-a(1-b)}},bL=function(a,b){return a&&(O(a)?a:bE[a]||bJ(a))||b},bM=function(a,b,c,d){void 0===c&&(c=function(a){return 1-b(1-a)}),void 0===d&&(d=function(a){return a<.5?b(2*a)/2:1-b((1-a)*2)/2});var e,f={easeIn:b,easeOut:c,easeInOut:d};return ay(a,function(a){for(var b in bE[a]=ae[a]=f,bE[e=a.toLowerCase()]=c,f)bE[e+("easeIn"===b?".in":"easeOut"===b?".out":".inOut")]=bE[a+"."+b]=f[b]}),f},bN=function(a){return function(b){return b<.5?(1-a(1-2*b))/2:.5+a((b-.5)*2)/2}},bO=function a(b,c,d){var e=c>=1?c:1,f=(d||(b?.3:.45))/(c<1?c:1),g=f/H*(Math.asin(1/e)||0),h=function(a){return 1===a?1:e*Math.pow(2,-10*a)*M((a-g)*f)+1},i="out"===b?h:"in"===b?function(a){return 1-h(1-a)}:bN(h);return f=H/f,i.config=function(c,d){return a(b,c,d)},i},bP=function a(b,c){void 0===c&&(c=1.70158);var d=function(a){return a?--a*a*((c+1)*a+c)+1:0},e="out"===b?d:"in"===b?function(a){return 1-d(1-a)}:bN(d);return e.config=function(c){return a(b,c)},e};ay("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,b){var c=b<5?b+1:b;bM(a+",Power"+(c-1),b?function(a){return Math.pow(a,c)}:function(a){return a},function(a){return 1-Math.pow(1-a,c)},function(a){return a<.5?Math.pow(2*a,c)/2:1-Math.pow((1-a)*2,c)/2})}),bE.Linear.easeNone=bE.none=bE.Linear.easeIn,bM("Elastic",bO("in"),bO("out"),bO()),bU=2*(bT=1/2.75),bV=2.5*bT,bM("Bounce",function(a){return 1-bW(1-a)},bW=function(a){return a0?a+(a+this._rDelay)*this._repeat:a):this.totalDuration()&&this._dur},b.totalDuration=function(a){return arguments.length?(this._dirty=0,a5(this,this._repeat<0?a:(a-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},b.totalTime=function(a,b){if(bD(),!arguments.length)return this._tTime;var c=this._dp;if(c&&c.smoothChildTiming&&this._ts){for(aY(this,a),!c._dp||c.parent||aZ(c,this);c&&c.parent;)c.parent._time!==c._start+(c._ts>=0?c._tTime/c._ts:-((c.totalDuration()-c._tTime)/c._ts))&&c.totalTime(c._tTime,!0),c=c.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&a0||!this._tDur&&!a)&&a$(this._dp,this,this._start-this._delay)}return(this._tTime!==a||!this._dur&&!b||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&a||!a&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=a),aF(this,a,b)),this},b.time=function(a,b){return arguments.length?this.totalTime(Math.min(this.totalDuration(),a+aU(this))%(this._dur+this._rDelay)||(a?this._dur:0),b):this._time},b.totalProgress=function(a,b){return arguments.length?this.totalTime(this.totalDuration()*a,b):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},b.progress=function(a,b){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-a:a)+aU(this),b):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},b.iteration=function(a,b){var c=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(a-1)*c,b):this._repeat?aV(this._tTime,c)+1:1},b.timeScale=function(a,b){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===a)return this;var c=this.parent&&this._ts?aW(this.parent._time,this):this._tTime;return this._rts=+a||0,this._ts=this._ps||-1e-8===a?0:this._rts,this.totalTime(bb(-Math.abs(this._delay),this.totalDuration(),c),!1!==b),aX(this),aS(this)},b.paused=function(a){return arguments.length?(this._ps!==a&&(this._ps=a,a?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(bD(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},b.startTime=function(a){if(arguments.length){this._start=aA(a);var b=this.parent||this._dp;return b&&(b._sort||!this.parent)&&a$(b,this,this._start-this._delay),this}return this._start},b.endTime=function(a){return this._start+(S(a)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},b.rawTime=function(a){var b=this.parent||this._dp;return b?a&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?aW(b.rawTime(a),this):this._tTime:this._tTime},b.revert=function(a){void 0===a&&(a=am);var b=v;return v=a,aE(this)&&(this.timeline&&this.timeline.revert(a),this.totalTime(-.01,a.suppressEvents)),"nested"!==this.data&&!1!==a.kill&&this.kill(),v=b,this},b.globalTime=function(a){for(var b=this,c=arguments.length?a:b.rawTime();b;)c=b._start+c/(Math.abs(b._ts)||1),b=b._dp;return!this.parent&&this._sat?this._sat.globalTime(a):c},b.repeat=function(a){return arguments.length?(this._repeat=a===1/0?-2:a,a6(this)):-2===this._repeat?1/0:this._repeat},b.repeatDelay=function(a){if(arguments.length){var b=this._time;return this._rDelay=a,a6(this),b?this.time(b):this}return this._rDelay},b.yoyo=function(a){return arguments.length?(this._yoyo=a,this):this._yoyo},b.seek=function(a,b){return this.totalTime(a8(this,a),S(b))},b.restart=function(a,b){return this.play().totalTime(a?-this._delay:0,S(b)),this._dur||(this._zTime=-1e-8),this},b.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},b.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},b.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},b.resume=function(){return this.paused(!1)},b.reversed=function(a){return arguments.length?(!!a!==this.reversed()&&this.timeScale(-this._rts||(a?-1e-8:0)),this):this._rts<0},b.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},b.isActive=function(){var a,b=this.parent||this._dp,c=this._start;return!!(!b||this._ts&&this._initted&&b.isActive()&&(a=b.rawTime(!0))>=c&&a1?(b?(d[a]=b,c&&(d[a+"Params"]=c),"onUpdate"===a&&(this._onUpdate=b)):delete d[a],this):d[a]},b.then=function(a){var b=this,c=b._prom;return new Promise(function(d){var e=O(a)?a:aH,f=function(){var a=b.then;b.then=null,c&&c(),O(e)&&(e=e(b))&&(e.then||e===b)&&(b.then=a),d(e),b.then=a};b._initted&&1===b.totalProgress()&&b._ts>=0||!b._tTime&&b._ts<0?f():b._prom=f})},b.kill=function(){br(this)},a}();aI(bR.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var bS=function(a){function d(c,d){var e;return void 0===c&&(c={}),(e=a.call(this,c)||this).labels={},e.smoothChildTiming=!!c.smoothChildTiming,e.autoRemoveChildren=!!c.autoRemoveChildren,e._sort=S(c.sortChildren),x&&a$(c.parent||x,b(e),d),c.reversed&&e.reverse(),c.paused&&e.paused(!0),c.scrollTrigger&&a_(b(e),c.scrollTrigger),e}c(d,a);var e=d.prototype;return e.to=function(a,b,c){return a9(0,arguments,this),this},e.from=function(a,b,c){return a9(1,arguments,this),this},e.fromTo=function(a,b,c,d){return a9(2,arguments,this),this},e.set=function(a,b,c){return b.duration=0,b.parent=this,aM(b).repeatDelay||(b.repeat=0),b.immediateRender=!!b.immediateRender,new b8(a,b,a8(this,c),1),this},e.call=function(a,b,c){return a$(this,b8.delayedCall(0,a,b),c)},e.staggerTo=function(a,b,c,d,e,f,g){return c.duration=b,c.stagger=c.stagger||d,c.onComplete=f,c.onCompleteParams=g,c.parent=this,new b8(a,c,a8(this,e)),this},e.staggerFrom=function(a,b,c,d,e,f,g){return c.runBackwards=1,aM(c).immediateRender=S(c.immediateRender),this.staggerTo(a,b,c,d,e,f,g)},e.staggerFromTo=function(a,b,c,d,e,f,g,h){return d.startAt=c,aM(d).immediateRender=S(d.immediateRender),this.staggerTo(a,b,d,e,f,g,h)},e.render=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p=this._time,q=this._dirty?this.totalDuration():this._tDur,r=this._dur,s=a<=0?0:aA(a),t=this._zTime<0!=a<0&&(this._initted||!r);if(this!==x&&s>q&&a>=0&&(s=q),s!==this._tTime||c||t){if(p!==this._time&&r&&(s+=this._time-p,a+=this._time-p),d=s,l=this._start,i=!(k=this._ts),t&&(r||(p=this._zTime),(a||!b)&&(this._zTime=a)),this._repeat){if(n=this._yoyo,h=r+this._rDelay,this._repeat<-1&&a<0)return this.totalTime(100*h+a,b,c);if(d=aA(s%h),s===q?(g=this._repeat,d=r):((g=~~(m=aA(s/h)))&&g===m&&(d=r,g--),d>r&&(d=r)),m=aV(this._tTime,h),!p&&this._tTime&&m!==g&&this._tTime-m*h-this._dur<=0&&(m=g),n&&1&g&&(d=r-d,o=1),g!==m&&!this._lock){var u=n&&1&m,w=u===(n&&1&g);if(g=p&&a>=0)for(e=this._first;e;){if(f=e._next,(e._act||d>=e._start)&&e._ts&&j!==e){if(e.parent!==this)return this.render(a,b,c);if(e.render(e._ts>0?(d-e._start)*e._ts:(e._dirty?e.totalDuration():e._tDur)+(d-e._start)*e._ts,b,c),d!==this._time||!this._ts&&!i){j=0,f&&(s+=this._zTime=-1e-8);break}}e=f}else{e=this._last;for(var y=a<0?a:d;e;){if(f=e._prev,(e._act||y<=e._end)&&e._ts&&j!==e){if(e.parent!==this)return this.render(a,b,c);if(e.render(e._ts>0?(y-e._start)*e._ts:(e._dirty?e.totalDuration():e._tDur)+(y-e._start)*e._ts,b,c||v&&aE(e)),d!==this._time||!this._ts&&!i){j=0,f&&(s+=this._zTime=y?-1e-8:1e-8);break}}e=f}}if(j&&!b&&(this.pause(),j.render(d>=p?0:-1e-8)._zTime=d>=p?1:-1,this._ts))return this._start=l,aX(this),this.render(a,b,c);this._onUpdate&&!b&&bq(this,"onUpdate",!0),(s===q&&this._tTime>=this.totalDuration()||!s&&p)&&(l===this._start||Math.abs(k)!==Math.abs(this._ts))&&!this._lock&&((a||!r)&&(s===q&&this._ts>0||!s&&this._ts<0)&&aQ(this,1),b||a<0&&!p||!s&&!p&&q||(bq(this,s===q&&a>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(s0)&&this._prom()))}return this},e.add=function(a,b){var c=this;if(P(b)||(b=a8(this,b,a)),!(a instanceof bR)){if(W(a))return a.forEach(function(a){return c.add(a,b)}),this;if(N(a))return this.addLabel(a,b);if(!O(a))return this;a=b8.delayedCall(0,a)}return this!==a?a$(this,a,b):this},e.getChildren=function(a,b,c,d){void 0===a&&(a=!0),void 0===b&&(b=!0),void 0===c&&(c=!0),void 0===d&&(d=-1e8);for(var e=[],f=this._first;f;)f._start>=d&&(f instanceof b8?b&&e.push(f):(c&&e.push(f),a&&e.push.apply(e,f.getChildren(!0,b,c)))),f=f._next;return e},e.getById=function(a){for(var b=this.getChildren(1,1,1),c=b.length;c--;)if(b[c].vars.id===a)return b[c]},e.remove=function(a){return N(a)?this.removeLabel(a):O(a)?this.killTweensOf(a):(a.parent===this&&aP(this,a),a===this._recent&&(this._recent=this._last),aR(this))},e.totalTime=function(b,c){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=aA(bC.time-(this._ts>0?b/this._ts:-((this.totalDuration()-b)/this._ts)))),a.prototype.totalTime.call(this,b,c),this._forcing=0,this):this._tTime},e.addLabel=function(a,b){return this.labels[a]=a8(this,b),this},e.removeLabel=function(a){return delete this.labels[a],this},e.addPause=function(a,b,c){var d=b8.delayedCall(0,b||aj,c);return d.data="isPause",this._hasPause=1,a$(this,d,a8(this,a))},e.removePause=function(a){var b=this._first;for(a=a8(this,a);b;)b._start===a&&"isPause"===b.data&&aQ(b),b=b._next},e.killTweensOf=function(a,b,c){for(var d=this.getTweensOf(a,c),e=d.length;e--;)bX!==d[e]&&d[e].kill(a,b);return this},e.getTweensOf=function(a,b){for(var c,d=[],e=bf(a),f=this._first,g=P(b);f;)f instanceof b8?aC(f._targets,e)&&(g?(!bX||f._initted&&f._ts)&&f.globalTime(0)<=b&&f.globalTime(f.totalDuration())>b:!b||f.isActive())&&d.push(f):(c=f.getTweensOf(e,b)).length&&d.push.apply(d,c),f=f._next;return d},e.tweenTo=function(a,b){b=b||{};var c,d=this,e=a8(d,a),f=b,g=f.startAt,h=f.onStart,i=f.onStartParams,j=f.immediateRender,k=b8.to(d,aI({ease:b.ease||"none",lazy:!1,immediateRender:!1,time:e,overwrite:"auto",duration:b.duration||Math.abs((e-(g&&"time"in g?g.time:d._time))/d.timeScale())||1e-8,onStart:function(){if(d.pause(),!c){var a=b.duration||Math.abs((e-(g&&"time"in g?g.time:d._time))/d.timeScale());k._dur!==a&&a5(k,a,0,1).render(k._time,!0,!0),c=1}h&&h.apply(k,i||[])}},b));return j?k.render(0):k},e.tweenFromTo=function(a,b,c){return this.tweenTo(b,aI({startAt:{time:a8(this,a)}},c))},e.recent=function(){return this._recent},e.nextLabel=function(a){return void 0===a&&(a=this._time),bp(this,a8(this,a))},e.previousLabel=function(a){return void 0===a&&(a=this._time),bp(this,a8(this,a),1)},e.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.previousLabel(this._time+1e-8)},e.shiftChildren=function(a,b,c){void 0===c&&(c=0);var d,e=this._first,f=this.labels;for(a=aA(a);e;)e._start>=c&&(e._start+=a,e._end+=a),e=e._next;if(b)for(d in f)f[d]>=c&&(f[d]+=a);return aR(this)},e.invalidate=function(b){var c=this._first;for(this._lock=0;c;)c.invalidate(b),c=c._next;return a.prototype.invalidate.call(this,b)},e.clear=function(a){void 0===a&&(a=!0);for(var b,c=this._first;c;)b=c._next,this.remove(c),c=b;return this._dp&&(this._time=this._tTime=this._pTime=0),a&&(this.labels={}),aR(this)},e.totalDuration=function(a){var b,c,d,e=0,f=this._last,g=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-a:a));if(this._dirty){for(d=this.parent;f;)b=f._prev,f._dirty&&f.totalDuration(),(c=f._start)>g&&this._sort&&f._ts&&!this._lock?(this._lock=1,a$(this,f,c-f._delay,1)._lock=0):g=c,c<0&&f._ts&&(e-=c,(!d&&!this._dp||d&&d.smoothChildTiming)&&(this._start+=aA(c/this._ts),this._time-=c,this._tTime-=c),this.shiftChildren(-c,!1,-Infinity),g=0),f._end>e&&f._ts&&(e=f._end),f=b;a5(this,this===x&&this._time>e?this._time:e,1,1),this._dirty=0}return this._tDur},d.updateRoot=function(a){if(x._ts&&(aF(x,aW(a,x)),C=bC.frame),bC.frame>=as){as+=F.autoSleep||120;var b=x._first;if((!b||!b._ts)&&F.autoSleep&&bC._listeners.length<2){for(;b&&!b._ts;)b=b._next;b||bC.sleep()}}},d}(bR);aI(bS.prototype,{_lock:0,_hasPause:0,_forcing:0});var bT,bU,bV,bW,bX,bY,bZ=function(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p=new cm(this._pt,a,b,0,1,cg,null,e),q=0,r=0;for(p.b=c,p.e=d,c+="",d+="",(n=~d.indexOf("random("))&&(d=bn(d)),f&&(f(o=[c,d],a,b),c=o[0],d=o[1]),i=c.match(aa)||[];h=aa.exec(d);)k=h[0],l=d.substring(q,h.index),j?j=(j+1)%5:"rgba("===l.substr(-5)&&(j=1),k!==i[r++]&&(m=parseFloat(i[r-1])||0,p._pt={_next:p._pt,p:l||1===r?l:",",s:m,c:"="===k.charAt(1)?aB(m,k)-m:parseFloat(k)-m,m:j&&j<4?Math.round:0},q=aa.lastIndex);return p.c=q")}),g.duration();else{for(k in i={},w)"ease"===k||"easeEach"===k||b4(k,w[k],i,w.easeEach);for(k in i)for(h=0,D=i[k].sort(function(a,b){return a.t-b.t}),H=0;hm-1e-8&&!o?m:a<1e-8?0:a;if(n){if(p!==this._tTime||!a||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(d=p,k=this.timeline,this._repeat){if(g=n+this._rDelay,this._repeat<-1&&o)return this.totalTime(100*g+a,b,c);if(d=aA(p%g),p===m?(f=this._repeat,d=n):(f=~~(h=aA(p/g)))&&f===h?(d=n,f--):d>n&&(d=n),(i=this._yoyo&&1&f)&&(d=n-d),h=aV(this._tTime,g),d===l&&!c&&this._initted&&f===h)return this._tTime=p,this;f!==h&&this.vars.repeatRefresh&&!i&&!this._lock&&d!==g&&this._initted&&(this._lock=c=1,this.render(aA(g*f),!0).invalidate()._lock=0)}if(!this._initted){if(a0(this,o?a:d,c,b,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&f!==h))return this;if(n!==this._dur)return this.render(a,b,c)}if(this._rEase){var q=d0||!p&&this._ts<0)&&aQ(this,1),!b&&!(o&&!l)&&(p||l||i)&&(bq(this,p===m?"onComplete":"onReverseComplete",!0),this._prom&&!(p0)&&this._prom()))}}else a3(this,a,b,c);return this},e.targets=function(){return this._targets},e.invalidate=function(b){return b&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(b),a.prototype.invalidate.call(this,b)},e.resetTo=function(a,b,c,d,e){E||bC.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||b1(this,f),b2(this,a,b,c,d,this._ease(f/this._dur),f,e))?this.resetTo(a,b,c,d,1):(aY(this,0),this.parent||aO(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(a,b){if(void 0===b&&(b="all"),!a&&(!b||"all"===b))return this._lazy=this._pt=0,this.parent?br(this):this.scrollTrigger&&this.scrollTrigger.kill(!!v),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(a,b,bX&&!0!==bX.vars.overwrite)._first||br(this),this.parent&&c!==this.timeline.totalDuration()&&a5(this,this._dur*this.timeline._tDur/c,0,1),this}var d,e,f,g,h,i,j,k=this._targets,l=a?bf(a):k,m=this._ptLookup,n=this._pt;if((!b||"all"===b)&&aN(k,l))return"all"===b&&(this._pt=0),br(this);for(d=this._op=this._op||[],"all"!==b&&(N(b)&&(h={},ay(b,function(a){return h[a]=1}),b=h),b=b3(k,b)),j=k.length;j--;)if(~l.indexOf(k[j]))for(h in e=m[j],"all"===b?(d[j]=b,g=e,f={}):(f=d[j]=d[j]||{},g=b),g)(i=e&&e[h])&&("kill"in i.d&&!0!==i.d.kill(h)||aP(this,i,"_pt"),delete e[h]),"all"!==f&&(f[h]=1);return this._initted&&!this._pt&&n&&br(this),this},d.to=function(a,b){return new d(a,b,arguments[2])},d.from=function(a,b){return a9(1,arguments)},d.delayedCall=function(a,b,c,e){return new d(b,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:a,onComplete:b,onReverseComplete:b,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:e})},d.fromTo=function(a,b,c){return a9(2,arguments)},d.set=function(a,b){return b.duration=0,b.repeatDelay||(b.repeat=0),new d(a,b)},d.killTweensOf=function(a,b,c){return x.killTweensOf(a,b,c)},d}(bR);aI(b8.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ay("staggerTo,staggerFrom,staggerFromTo",function(a){b8[a]=function(){var b=new bS,c=bd.call(arguments,0);return c.splice("staggerFromTo"===a?5:4,0,0),b[a].apply(b,c)}});var b9=function(a,b,c){return a[b]=c},ca=function(a,b,c){return a[b](c)},cb=function(a,b,c,d){return a[b](d.fp,c)},cc=function(a,b,c){return a.setAttribute(b,c)},cd=function(a,b){return O(a[b])?ca:Q(a[b])&&a.setAttribute?cc:b9},ce=function(a,b){return b.set(b.t,b.p,Math.round((b.s+b.c*a)*1e6)/1e6,b)},cf=function(a,b){return b.set(b.t,b.p,!!(b.s+b.c*a),b)},cg=function(a,b){var c=b._pt,d="";if(!a&&b.b)d=b.b;else if(1===a&&b.e)d=b.e;else{for(;c;)d=c.p+(c.m?c.m(c.s+c.c*a):Math.round((c.s+c.c*a)*1e4)/1e4)+d,c=c._next;d+=b.c}b.set(b.t,b.p,d,b)},ch=function(a,b){for(var c=b._pt;c;)c.r(a,c.d),c=c._next},ci=function(a,b,c,d){for(var e,f=this._pt;f;)e=f._next,f.p===d&&f.modifier(a,b,c),f=e},cj=function(a){for(var b,c,d=this._pt;d;)c=d._next,(d.p!==a||d.op)&&d.op!==a?d.dep||(b=1):aP(this,d,"_pt"),d=c;return!b},ck=function(a,b,c,d){d.mSet(a,b,d.m.call(d.tween,c,d.mt),d)},cl=function(a){for(var b,c,d,e,f=a._pt;f;){for(b=f._next,c=d;c&&c.pr>f.pr;)c=c._next;(f._prev=c?c._prev:e)?f._prev._next=f:d=f,(f._next=c)?c._prev=f:e=f,f=b}a._pt=d},cm=function(){function a(a,b,c,d,e,f,g,h,i){this.t=b,this.s=d,this.c=e,this.p=c,this.r=f||ce,this.d=g||this,this.set=h||b9,this.pr=i||0,this._next=a,a&&(a._prev=this)}return a.prototype.modifier=function(a,b,c){this.mSet=this.mSet||this.set,this.set=ck,this.m=a,this.mt=c,this.tween=b},a}();ay(au+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(a){return an[a]=1}),ae.TweenMax=ae.TweenLite=b8,ae.TimelineLite=ae.TimelineMax=bS,x=new bS({sortChildren:!1,defaults:G,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),F.stringFilter=bB;var cn=[],co={},cp=[],cq=0,cr=0,cs=function(a){return(co[a]||cp).map(function(a){return a()})},ct=function(){var a=Date.now(),b=[];a-cq>2&&(cs("matchMediaInit"),cn.forEach(function(a){var c,d,e,f,g=a.queries,h=a.conditions;for(d in g)(c=y.matchMedia(g[d]).matches)&&(e=1),c!==h[d]&&(h[d]=c,f=1);f&&(a.revert(),e&&b.push(a))}),cs("matchMediaRevert"),b.forEach(function(a){return a.onMatch(a,function(b){return a.add(null,b)})}),cq=a,cs("matchMedia"))},cu=function(){function a(a,b){this.selector=b&&bg(b),this.data=[],this._r=[],this.isReverted=!1,this.id=cr++,a&&this.add(a)}var b=a.prototype;return b.add=function(a,b,c){O(a)&&(c=b,b=a,a=O);var d=this,e=function(){var a,e=w,f=d.selector;return e&&e!==d&&e.data.push(d),c&&(d.selector=bg(c)),w=d,a=b.apply(d,arguments),O(a)&&d._r.push(a),w=e,d.selector=f,d.isReverted=!1,a};return d.last=e,a===O?e(d,function(a){return d.add(null,a)}):a?d[a]=e:e},b.ignore=function(a){var b=w;w=null,a(this),w=b},b.getTweens=function(){var b=[];return this.data.forEach(function(c){return c instanceof a?b.push.apply(b,c.getTweens()):c instanceof b8&&!(c.parent&&"nested"===c.parent.data)&&b.push(c)}),b},b.clear=function(){this._r.length=this.data.length=0},b.kill=function(a,b){var c=this;if(a){for(var d,e=c.getTweens(),f=c.data.length;f--;)"isFlip"===(d=c.data[f]).data&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(a){return e.splice(e.indexOf(a),1)}));for(e.map(function(a){return{g:a._dur||a._delay||a._sat&&!a._sat.vars.immediateRender?a.globalTime(0):-1/0,t:a}}).sort(function(a,b){return b.g-a.g||-1/0}).forEach(function(b){return b.t.revert(a)}),f=c.data.length;f--;)(d=c.data[f])instanceof bS?"nested"!==d.data&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):d instanceof b8||!d.revert||d.revert(a);c._r.forEach(function(b){return b(a,c)}),c.isReverted=!0}else this.data.forEach(function(a){return a.kill&&a.kill()});if(this.clear(),b)for(var g=cn.length;g--;)cn[g].id===this.id&&cn.splice(g,1)},b.revert=function(a){this.kill(a||{})},a}(),cv=function(){function a(a){this.contexts=[],this.scope=a,w&&w.data.push(this)}var b=a.prototype;return b.add=function(a,b,c){R(a)||(a={matches:a});var d,e,f,g=new cu(0,c||this.scope),h=g.conditions={};for(e in w&&!g.selector&&(g.selector=w.selector),this.contexts.push(g),b=g.add("onMatch",b),g.queries=a,a)"all"===e?f=1:(d=y.matchMedia(a[e]))&&(0>cn.indexOf(g)&&cn.push(g),(h[e]=d.matches)&&(f=1),d.addListener?d.addListener(ct):d.addEventListener("change",ct));return f&&b(g,function(a){return g.add(null,a)}),this},b.revert=function(a){this.kill(a||{})},b.kill=function(a){this.contexts.forEach(function(b){return b.kill(a,!0)})},a}(),cw={registerPlugin:function(){for(var a=arguments.length,b=Array(a),c=0;c1){var d=a.map(function(a){return cA.quickSetter(a,b,c)}),e=d.length;return function(a){for(var b=e;b--;)d[b](a)}}a=a[0]||{};var f=aq[b],g=aw(a),h=g.harness&&(g.harness.aliases||{})[b]||b,i=f?function(b){var d=new f;D._pt=0,d.init(a,c?b+c:b,D,0,[a]),d.render(1,d),D._pt&&ch(1,D)}:g.set(a,h);return f?i:function(b){return i(a,h,c?b+c:b,g,1)}},quickTo:function(a,b,c){var d,e=cA.to(a,aI(((d={})[b]="+=0.1",d.paused=!0,d.stagger=0,d),c||{})),f=function(a,c,d){return e.resetTo(b,a,c,d)};return f.tween=e,f},isTweening:function(a){return x.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=bL(a.ease,G.ease)),aK(G,a||{})},config:function(a){return aK(F,a||{})},registerEffect:function(a){var b=a.name,c=a.effect,d=a.plugins,e=a.defaults,f=a.extendTimeline;(d||"").split(",").forEach(function(a){return a&&!aq[a]&&!ae[a]&&ah(b+" effect requires "+a+" plugin.")}),ar[b]=function(a,b,d){return c(bf(a),aI(b||{},e),d)},f&&(bS.prototype[b]=function(a,c,d){return this.add(ar[b](a,R(c)?c:(d=c)&&{},this),d)})},registerEase:function(a,b){bE[a]=bL(b)},parseEase:function(a,b){return arguments.length?bL(a,b):bE},getById:function(a){return x.getById(a)},exportRoot:function(a,b){void 0===a&&(a={});var c,d,e=new bS(a);for(e.smoothChildTiming=S(a.smoothChildTiming),x.remove(e),e._dp=0,e._time=e._tTime=x._time,c=x._first;c;)d=c._next,(b||!(!c._dur&&c instanceof b8&&c.vars.onComplete===c._targets[0]))&&a$(e,c,c._start-c._delay),c=d;return a$(x,e,0),e},context:function(a,b){return a?new cu(a,b):w},matchMedia:function(a){return new cv(a)},matchMediaRefresh:function(){return cn.forEach(function(a){var b,c,d=a.conditions;for(c in d)d[c]&&(d[c]=!1,b=1);b&&a.revert()})||ct()},addEventListener:function(a,b){var c=co[a]||(co[a]=[]);~c.indexOf(b)||c.push(b)},removeEventListener:function(a,b){var c=co[a],d=c&&c.indexOf(b);d>=0&&c.splice(d,1)},utils:{wrap:function a(b,c,d){var e=c-b;return W(b)?bm(b,a(0,b.length),c):ba(d,function(a){return(e+(a-b)%e)%e+b})},wrapYoyo:function a(b,c,d){var e=c-b,f=2*e;return W(b)?bm(b,a(0,b.length-1),c):ba(d,function(a){return a=(f+(a-b)%f)%f||0,b+(a>e?f-a:a)})},distribute:bi,random:bl,snap:bk,normalize:function(a,b,c){return bo(a,b,0,1,c)},getUnit:bc,clamp:function(a,b,c){return ba(c,function(c){return bb(a,b,c)})},splitColor:bw,toArray:bf,selector:bg,mapRange:bo,pipe:function(){for(var a=arguments.length,b=Array(a),c=0;c=0)return;g.svg&&(this.svgo=e.getAttribute("data-svg-origin"),this.props.push(c2,c,"")),b=c1}(f||c)&&this.props.push(b,c,f[b])},c4=function(a){a.translate&&(a.removeProperty("translate"),a.removeProperty("scale"),a.removeProperty("rotate"))},c5=function(){var a,b,c=this.props,d=this.target,e=d.style,f=d._gsap;for(a=0;a=0?c9[e]:"")+a},db=function(){},dc=function(a){var b,c=a.ownerSVGElement,d=c7("svg",c&&c.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),e=a.cloneNode(!0);e.style.display="block",d.appendChild(e),cC.appendChild(d);try{b=e.getBBox()}catch(a){}return d.removeChild(e),cC.removeChild(d),b},dd=function(a,b){for(var c=b.length;c--;)if(a.hasAttribute(b[c]))return a.getAttribute(b[c])},de=function(a){var b,c;try{b=a.getBBox()}catch(d){b=dc(a),c=1}return b&&(b.width||b.height)||c||(b=dc(a)),!b||b.width||b.x||b.y?b:{x:+dd(a,["x","cx","x1"])||0,y:+dd(a,["y","cy","y1"])||0,width:0,height:0}},df=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&de(a))},dg=function(a,b){if(b){var c,d=a.style;b in cI&&b!==c2&&(b=c1),d.removeProperty?(("ms"===(c=b.substr(0,2))||"webkit"===b.substr(0,6))&&(b="-"+b),d.removeProperty("--"===c?b:b.replace(cM,"-$1").toLowerCase())):d.removeAttribute(b)}},dh=function(a,b,c,d,e,f){var g=new cm(a._pt,b,c,0,1,f?cW:cV);return a._pt=g,g.b=d,g.e=e,a._props.push(c),g},di={deg:1,rad:1,turn:1},dj={grid:1,flex:1},dk=function a(b,c,d,e){var f,g,h,i,j=parseFloat(d)||0,k=(d+"").trim().substr((j+"").length)||"px",l=cE.style,m=cN.test(c),n="svg"===b.tagName.toLowerCase(),o=(n?"client":"offset")+(m?"Width":"Height"),p="px"===e,q="%"===e;if(e===k||!j||di[e]||di[k])return j;if("px"===k||p||(j=a(b,c,d,"px")),i=b.getCTM&&df(b),(q||"%"===k)&&(cI[c]||~c.indexOf("adius")))return f=i?b.getBBox()[m?"width":"height"]:b[o],az(q?j/f*100:j/100*f);if(l[m?"width":"height"]=100+(p?k:e),g="rem"!==e&&~c.indexOf("adius")||"em"===e&&b.appendChild&&!n?b:b.parentNode,i&&(g=(b.ownerSVGElement||{}).parentNode),g&&g!==cB&&g.appendChild||(g=cB.body),(h=g._gsap)&&q&&h.width&&m&&h.time===bC.time&&!h.uncache)return az(j/h.width*100);if(q&&("height"===c||"width"===c)){var r=b.style[c];b.style[c]=100+e,f=b[o],r?b.style[c]=r:dg(b,c)}else(q||"%"===k)&&!dj[c8(g,"display")]&&(l.position=c8(b,"position")),g===b&&(l.position="static"),g.appendChild(cE),f=cE[o],g.removeChild(cE),l.position="absolute";return m&&q&&((h=aw(g)).time=bC.time,h.width=g[o]),az(p?f*j/100:f&&j?100/f*j:0)},dl=function(a,b,c,d){var e;return cD||db(),b in cP&&"transform"!==b&&~(b=cP[b]).indexOf(",")&&(b=b.split(",")[0]),cI[b]&&"transform"!==b?(e=dy(a,d),e="transformOrigin"!==b?e[b]:e.svg?e.origin:dz(c8(a,c2))+" "+e.zOrigin+"px"):(!(e=a.style[b])||"auto"===e||d||~(e+"").indexOf("calc("))&&(e=dr[b]&&dr[b](a,b,c)||c8(a,b)||ax(a,b)||+("opacity"===b)),c&&!~(e+"").trim().indexOf(" ")?dk(a,b,e,c)+c:e},dm=function(a,b,c,d){if(!c||"none"===c){var e=da(b,a,1),f=e&&c8(a,e,1);f&&f!==c?(b=e,c=f):"borderColor"===b&&(c=c8(a,"borderTopColor"))}var g,h,i,j,k,l,m,n,o,p,q,r=new cm(this._pt,a.style,b,0,1,cg),s=0,t=0;if(r.b=c,r.e=d,c+="","var(--"===(d+="").substring(0,6)&&(d=c8(a,d.substring(4,d.indexOf(")")))),"auto"===d&&(l=a.style[b],a.style[b]=d,d=c8(a,b)||d,l?a.style[b]=l:dg(a,b)),bB(g=[c,d]),c=g[0],d=g[1],i=c.match(_)||[],(d.match(_)||[]).length){for(;h=_.exec(d);)m=h[0],o=d.substring(s,h.index),k?k=(k+1)%5:("rgba("===o.substr(-5)||"hsla("===o.substr(-5))&&(k=1),m!==(l=i[t++]||"")&&(j=parseFloat(l)||0,q=l.substr((j+"").length),"="===m.charAt(1)&&(m=aB(j,m)+q),n=parseFloat(m),p=m.substr((n+"").length),s=_.lastIndex-p.length,p||(p=p||F.units[b]||q,s===d.length&&(d+=p,r.e+=p)),q!==p&&(j=dk(a,b,l,p)||0),r._pt={_next:r._pt,p:o||1===t?o:",",s:j,c:n-j,m:k&&k<4||"zIndex"===b?Math.round:0});r.c=s-1;)cI[c=h[e]]&&(d=1,c="transformOrigin"===c?c2:c1),dg(f,c);d&&(dg(f,c1),i&&(i.svg&&f.removeAttribute("transform"),g.scale=g.rotate=g.translate="none",dy(f,1),i.uncache=1,c4(g)))}},dr={clearProps:function(a,b,c,d,e){if("isFromStart"!==e.data){var f=a._pt=new cm(a._pt,b,c,0,0,dq);return f.u=d,f.pr=-10,f.tween=e,a._props.push(c),1}}},ds=[1,0,0,1,0,0],dt={},du=function(a){return"matrix(1, 0, 0, 1, 0, 0)"===a||"none"===a||!a},dv=function(a){var b=c8(a,c1);return du(b)?ds:b.substr(7).match($).map(az)},dw=function(a,b){var c,d,e,f,g=a._gsap||aw(a),h=a.style,i=dv(a);return g.svg&&a.getAttribute("transform")?"1,0,0,1,0,0"===(i=[(e=a.transform.baseVal.consolidate().matrix).a,e.b,e.c,e.d,e.e,e.f]).join(",")?ds:i:(i!==ds||a.offsetParent||a===cC||g.svg||(e=h.display,h.display="block",(c=a.parentNode)&&(a.offsetParent||a.getBoundingClientRect().width)||(f=1,d=a.nextElementSibling,cC.appendChild(a)),i=dv(a),e?h.display=e:dg(a,"display"),f&&(d?c.insertBefore(a,d):c?c.appendChild(a):cC.removeChild(a))),b&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},dx=function(a,b,c,d,e,f){var g,h,i,j,k=a._gsap,l=e||dw(a,!0),m=k.xOrigin||0,n=k.yOrigin||0,o=k.xOffset||0,p=k.yOffset||0,q=l[0],r=l[1],s=l[2],t=l[3],u=l[4],v=l[5],w=b.split(" "),x=parseFloat(w[0])||0,y=parseFloat(w[1])||0;c?l!==ds&&(h=q*t-r*s)&&(i=t/h*x+-s/h*y+(s*v-t*u)/h,j=-r/h*x+q/h*y-(q*v-r*u)/h,x=i,y=j):(x=(g=de(a)).x+(~w[0].indexOf("%")?x/100*g.width:x),y=g.y+(~(w[1]||w[0]).indexOf("%")?y/100*g.height:y)),d||!1!==d&&k.smooth?(k.xOffset=o+((u=x-m)*q+(v=y-n)*s)-u,k.yOffset=p+(u*r+v*t)-v):k.xOffset=k.yOffset=0,k.xOrigin=x,k.yOrigin=y,k.smooth=!!d,k.origin=b,k.originIsAbsolute=!!c,a.style[c2]="0px 0px",f&&(dh(f,k,"xOrigin",m,x),dh(f,k,"yOrigin",n,y),dh(f,k,"xOffset",o,k.xOffset),dh(f,k,"yOffset",p,k.yOffset)),a.setAttribute("data-svg-origin",x+" "+y)},dy=function(a,b){var c=a._gsap||new bQ(a);if("x"in c&&!b&&!c.uncache)return c;var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,G,H,I,J,K=a.style,L=c.scaleX<0,M=getComputedStyle(a),N=c8(a,c2)||"0";return d=e=f=i=j=k=l=m=n=0,g=h=1,c.svg=!!(a.getCTM&&df(a)),M.translate&&(("none"!==M.translate||"none"!==M.scale||"none"!==M.rotate)&&(K[c1]=("none"!==M.translate?"translate3d("+(M.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==M.rotate?"rotate("+M.rotate+") ":"")+("none"!==M.scale?"scale("+M.scale.split(" ").join(",")+") ":"")+("none"!==M[c1]?M[c1]:"")),K.scale=K.rotate=K.translate="none"),q=dw(a,c.svg),c.svg&&(c.uncache?(B=a.getBBox(),N=c.xOrigin-B.x+"px "+(c.yOrigin-B.y)+"px",A=""):A=!b&&a.getAttribute("data-svg-origin"),dx(a,A||N,!!A||c.originIsAbsolute,!1!==c.smooth,q)),o=c.xOrigin||0,p=c.yOrigin||0,q!==ds&&(u=q[0],v=q[1],w=q[2],x=q[3],d=y=q[4],e=z=q[5],6===q.length?(g=Math.sqrt(u*u+v*v),h=Math.sqrt(x*x+w*w),i=u||v?cL(v,u)*cJ:0,(l=w||x?cL(w,x)*cJ+i:0)&&(h*=Math.abs(Math.cos(l*cK))),c.svg&&(d-=o-(o*u+p*w),e-=p-(o*v+p*x))):(J=q[6],H=q[7],D=q[8],E=q[9],G=q[10],I=q[11],d=q[12],e=q[13],f=q[14],j=(r=cL(J,G))*cJ,r&&(A=y*(s=Math.cos(-r))+D*(t=Math.sin(-r)),B=z*s+E*t,C=J*s+G*t,D=-(y*t)+D*s,E=-(z*t)+E*s,G=-(J*t)+G*s,I=-(H*t)+I*s,y=A,z=B,J=C),k=(r=cL(-w,G))*cJ,r&&(A=u*(s=Math.cos(-r))-D*(t=Math.sin(-r)),B=v*s-E*t,C=w*s-G*t,I=x*t+I*s,u=A,v=B,w=C),i=(r=cL(v,u))*cJ,r&&(A=u*(s=Math.cos(r))+v*(t=Math.sin(r)),B=y*s+z*t,v=v*s-u*t,z=z*s-y*t,u=A,y=B),j&&Math.abs(j)+Math.abs(i)>359.9&&(j=i=0,k=180-k),g=az(Math.sqrt(u*u+v*v+w*w)),h=az(Math.sqrt(z*z+J*J)),l=Math.abs(r=cL(y,z))>2e-4?r*cJ:0,n=I?1/(I<0?-I:I):0),c.svg&&(A=a.getAttribute("transform"),c.forceCSS=a.setAttribute("transform","")||!du(c8(a,c1)),A&&a.setAttribute("transform",A))),Math.abs(l)>90&&270>Math.abs(l)&&(L?(g*=-1,l+=i<=0?180:-180,i+=i<=0?180:-180):(h*=-1,l+=l<=0?180:-180)),b=b||c.uncache,c.x=d-((c.xPercent=d&&(!b&&c.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-d)?-50:0)))?a.offsetWidth*c.xPercent/100:0)+"px",c.y=e-((c.yPercent=e&&(!b&&c.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-e)?-50:0)))?a.offsetHeight*c.yPercent/100:0)+"px",c.z=f+"px",c.scaleX=az(g),c.scaleY=az(h),c.rotation=az(i)+"deg",c.rotationX=az(j)+"deg",c.rotationY=az(k)+"deg",c.skewX=l+"deg",c.skewY=m+"deg",c.transformPerspective=n+"px",(c.zOrigin=parseFloat(N.split(" ")[2])||!b&&c.zOrigin||0)&&(K[c2]=dz(N)),c.xOffset=c.yOffset=0,c.force3D=F.force3D,c.renderTransform=c.svg?dE:cH?dD:dB,c.uncache=0,c},dz=function(a){return(a=a.split(" "))[0]+" "+a[1]},dA=function(a,b,c){var d=bc(b);return az(parseFloat(b)+parseFloat(dk(a,"x",c+"px",d)))+d},dB=function(a,b){b.z="0px",b.rotationY=b.rotationX="0deg",b.force3D=0,dD(a,b)},dC="0deg",dD=function(a,b){var c=b||this,d=c.xPercent,e=c.yPercent,f=c.x,g=c.y,h=c.z,i=c.rotation,j=c.rotationY,k=c.rotationX,l=c.skewX,m=c.skewY,n=c.scaleX,o=c.scaleY,p=c.transformPerspective,q=c.force3D,r=c.target,s=c.zOrigin,t="",u="auto"===q&&a&&1!==a||!0===q;if(s&&(k!==dC||j!==dC)){var v,w=parseFloat(j)*cK,x=Math.sin(w),y=Math.cos(w);f=dA(r,f,-(x*(v=Math.cos(w=parseFloat(k)*cK))*s)),g=dA(r,g,-(-Math.sin(w)*s)),h=dA(r,h,-(y*v*s)+s)}"0px"!==p&&(t+="perspective("+p+") "),(d||e)&&(t+="translate("+d+"%, "+e+"%) "),(u||"0px"!==f||"0px"!==g||"0px"!==h)&&(t+="0px"!==h||u?"translate3d("+f+", "+g+", "+h+") ":"translate("+f+", "+g+") "),i!==dC&&(t+="rotate("+i+") "),j!==dC&&(t+="rotateY("+j+") "),k!==dC&&(t+="rotateX("+k+") "),(l!==dC||m!==dC)&&(t+="skew("+l+", "+m+") "),(1!==n||1!==o)&&(t+="scale("+n+", "+o+") "),r.style[c1]=t||"translate(0, 0)"},dE=function(a,b){var c,d,e,f,g,h=b||this,i=h.xPercent,j=h.yPercent,k=h.x,l=h.y,m=h.rotation,n=h.skewX,o=h.skewY,p=h.scaleX,q=h.scaleY,r=h.target,s=h.xOrigin,t=h.yOrigin,u=h.xOffset,v=h.yOffset,w=h.forceCSS,x=parseFloat(k),y=parseFloat(l);m=parseFloat(m),n=parseFloat(n),(o=parseFloat(o))&&(n+=o=parseFloat(o),m+=o),m||n?(m*=cK,n*=cK,c=Math.cos(m)*p,d=Math.sin(m)*p,e=-(Math.sin(m-n)*q),f=Math.cos(m-n)*q,n&&(o*=cK,e*=g=Math.sqrt(1+(g=Math.tan(n-o))*g),f*=g,o&&(c*=g=Math.sqrt(1+(g=Math.tan(o))*g),d*=g)),c=az(c),d=az(d),e=az(e),f=az(f)):(c=p,f=q,d=e=0),(x&&!~(k+"").indexOf("px")||y&&!~(l+"").indexOf("px"))&&(x=dk(r,"x",k,"px"),y=dk(r,"y",l,"px")),(s||t||u||v)&&(x=az(x+s-(s*c+t*e)+u),y=az(y+t-(s*d+t*f)+v)),(i||j)&&(x=az(x+i/100*(g=r.getBBox()).width),y=az(y+j/100*g.height)),g="matrix("+c+","+d+","+e+","+f+","+x+","+y+")",r.setAttribute("transform",g),w&&(r.style[c1]=g)},dF=function(a,b,c,d,e){var f,g,h=N(e),i=parseFloat(e)*(h&&~e.indexOf("rad")?cJ:1)-d,j=d+i+"deg";return h&&("short"===(f=e.split("_")[1])&&(i%=360)!=i%180&&(i+=i<0?360:-360),"cw"===f&&i<0?i=(i+36e9)%360-360*~~(i/360):"ccw"===f&&i>0&&(i=(i-36e9)%360-360*~~(i/360))),a._pt=g=new cm(a._pt,b,c,d,i,cR),g.e=j,g.u="deg",a._props.push(c),g},dG=function(a,b){for(var c in b)a[c]=b[c];return a},dH=function(a,b,c){var d,e,f,g,h,i,j,k=dG({},c._gsap),l=c.style;for(e in k.svg?(f=c.getAttribute("transform"),c.setAttribute("transform",""),l[c1]=b,d=dy(c,1),dg(c,c1),c.setAttribute("transform",f)):(f=getComputedStyle(c)[c1],l[c1]=b,d=dy(c,1),l[c1]=f),cI)(f=k[e])!==(g=d[e])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(e)&&(h=bc(f)!==(j=bc(g))?dk(c,e,f,j):parseFloat(f),i=parseFloat(g),a._pt=new cm(a._pt,d,e,h,i-h,cQ),a._pt.u=j||0,a._props.push(e));dG(d,k)};ay("padding,margin,Width,Radius",function(a,b){var c="Right",d="Bottom",e="Left",f=(b<3?["Top",c,d,e]:["Top"+e,"Top"+c,d+c,d+e]).map(function(c){return b<2?a+c:"border"+c+a});dr[b>1?"border"+a:a]=function(a,b,c,d,e){var g,h;if(arguments.length<4)return 5===(h=(g=f.map(function(b){return dl(a,b,c)})).join(" ")).split(g[0]).length?g[0]:h;g=(d+"").split(" "),h={},f.forEach(function(a,b){return h[a]=g[b]=g[b]||g[(b-1)/2|0]}),a.init(b,h,e)}});var dI={name:"css",register:db,targetTest:function(a){return a.style&&a.nodeType},init:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=this._props,x=a.style,y=c.vars.startAt;for(l in cD||db(),this.styles=this.styles||c6(a),u=this.styles.props,this.tween=c,b)if("autoRound"!==l&&(g=b[l],!(aq[l]&&b0(l,b,c,d,a,e)))){if(j=typeof g,k=dr[l],"function"===j&&(j=typeof(g=g.call(c,d,a,e))),"string"===j&&~g.indexOf("random(")&&(g=bn(g)),k)k(this,a,l,g,c)&&(t=1);else if("--"===l.substr(0,2))f=(getComputedStyle(a).getPropertyValue(l)+"").trim(),g+="",bz.lastIndex=0,!bz.test(f)&&(m=bc(f),(n=bc(g))?m!==n&&(f=dk(a,l,f,n)+n):m&&(g+=m)),this.add(x,"setProperty",f,g,d,e,0,0,l),w.push(l),u.push(l,0,x[l]);else if("undefined"!==j){if(y&&l in y?(N(f="function"==typeof y[l]?y[l].call(c,d,a,e):y[l])&&~f.indexOf("random(")&&(f=bn(f)),bc(f+"")||"auto"===f||(f+=F.units[l]||bc(dl(a,l))||""),"="===(f+"").charAt(1)&&(f=dl(a,l))):f=dl(a,l),i=parseFloat(f),(o="string"===j&&"="===g.charAt(1)&&g.substr(0,2))&&(g=g.substr(2)),h=parseFloat(g),l in cP&&("autoAlpha"===l&&(1===i&&"hidden"===dl(a,"visibility")&&h&&(i=0),u.push("visibility",0,x.visibility),dh(this,x,"visibility",i?"inherit":"hidden",h?"inherit":"hidden",!h)),"scale"!==l&&"transform"!==l&&~(l=cP[l]).indexOf(",")&&(l=l.split(",")[0])),p=l in cI){if(this.styles.save(l),v=g,"string"===j&&"var(--"===g.substring(0,6)){if("calc("===(g=c8(a,g.substring(4,g.indexOf(")")))).substring(0,5)){var z=a.style.perspective;a.style.perspective=g,g=c8(a,"perspective"),z?a.style.perspective=z:dg(a,"perspective")}h=parseFloat(g)}if(q||((r=a._gsap).renderTransform&&!b.parseTransform||dy(a,b.parseTransform),s=!1!==b.smoothOrigin&&r.smooth,(q=this._pt=new cm(this._pt,x,c1,0,1,r.renderTransform,r,0,-1)).dep=1),"scale"===l)this._pt=new cm(this._pt,r,"scaleY",r.scaleY,(o?aB(r.scaleY,o+h):h)-r.scaleY||0,cQ),this._pt.u=0,w.push("scaleY",l),l+="X";else if("transformOrigin"===l){u.push(c2,0,x[c2]),g=dp(g),r.svg?dx(a,g,0,s,0,this):((n=parseFloat(g.split(" ")[2])||0)!==r.zOrigin&&dh(this,r,"zOrigin",r.zOrigin,n),dh(this,x,l,dz(f),dz(g)));continue}else if("svgOrigin"===l){dx(a,g,1,s,0,this);continue}else if(l in dt){dF(this,r,l,i,o?aB(i,o+g):g);continue}else if("smoothOrigin"===l){dh(this,r,"smooth",r.smooth,g);continue}else if("force3D"===l){r[l]=g;continue}else if("transform"===l){dH(this,g,a);continue}}else l in x||(l=da(l)||l);if(p||(h||0===h)&&(i||0===i)&&!cO.test(g)&&l in x)m=(f+"").substr((i+"").length),h||(h=0),n=bc(g)||(l in F.units?F.units[l]:m),m!==n&&(i=dk(a,l,f,n)),this._pt=new cm(this._pt,p?r:x,l,i,(o?aB(i,o+h):h)-i,!p&&("px"===n||"zIndex"===l)&&!1!==b.autoRound?cU:cQ),this._pt.u=n||0,p&&v!==g?(this._pt.b=f,this._pt.e=v,this._pt.r=cT):m!==n&&"%"!==n&&(this._pt.b=f,this._pt.r=cS);else if(l in x)dm.call(this,a,l,f,o?o+g:g);else if(l in a)this.add(a,l,f||a[l],o?o+g:g,d,e);else if("parseTransform"!==l){ag(l,g);continue}p||(l in x?u.push(l,0,x[l]):"function"==typeof a[l]?u.push(l,2,a[l]()):u.push(l,1,f||a[l])),w.push(l)}}t&&cl(this)},render:function(a,b){if(b.tween._time||!cG())for(var c=b._pt;c;)c.r(a,c.d),c=c._next;else b.styles.revert()},get:dl,aliases:cP,getSetter:function(a,b,c){var d=cP[b];return d&&0>d.indexOf(",")&&(b=d),b in cI&&b!==c2&&(a._gsap.x||dl(a,"x"))?c&&cF===c?"scale"===b?c$:cZ:(cF=c||{},"scale"===b?c_:c0):a.style&&!Q(a.style[b])?cX:~b.indexOf("-")?cY:cd(a,b)},core:{_removeProperty:dg,_getMatrix:dw}};cA.utils.checkPrefix=da,cA.core.getStyleSaver=c6,e=ay("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(d="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(a){cI[a]=1}),ay(d,function(a){F.units[a]="deg",dt[a]=1}),cP[e[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+d,ay("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(a){var b=a.split(":");cP[b[1]]=e[b[0]]}),ay("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){F.units[a]="px"}),cA.registerPlugin(dI);var dJ=cA.registerPlugin(dI)||cA;dJ.core.Tween,a.s(["default",0,dJ],26304)},81783,a=>{"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n,o=function(){return b||!1},p=1,q=[],r=[],s=[],t=Date.now,u=function(a,b){return b},v=function(){var a=j.core,b=a.bridge||{},c=a._scrollers,d=a._proxies;c.push.apply(c,r),d.push.apply(d,s),r=c,s=d,u=function(a,c){return b[a](c)}},w=function(a,b){return~s.indexOf(a)&&s[s.indexOf(a)+1][b]},x=function(a){return!!~k.indexOf(a)},y=function(a,b,c,d,e){return a.addEventListener(b,c,{passive:!1!==d,capture:!!e})},z=function(a,b,c,d){return a.removeEventListener(b,c,!!d)},A="scrollLeft",B="scrollTop",C=function(){return l&&l.isPressed||r.cache++},D=function(a,b){var c=function c(e){if(e||0===e){p&&(d.history.scrollRestoration="manual");var f=l&&l.isPressed;a(e=c.v=Math.round(e)||(l&&l.iOS?1:0)),c.cacheID=r.cache,f&&u("ss",e)}else(b||r.cache!==c.cacheID||u("ref"))&&(c.cacheID=r.cache,c.v=a());return c.v+c.offset};return c.offset=0,a&&c},E={s:A,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:D(function(a){return arguments.length?d.scrollTo(a,F.sc()):d.pageXOffset||e[A]||f[A]||g[A]||0})},F={s:B,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:E,sc:D(function(a){return arguments.length?d.scrollTo(E.sc(),a):d.pageYOffset||e[B]||f[B]||g[B]||0})},G=function(a,c){return(c&&c._ctx&&c._ctx.selector||b.utils.toArray)(a)[0]||("string"==typeof a&&!1!==b.config().nullTargetWarn?console.warn("Element not found:",a):null)},H=function(a,b){for(var c=b.length;c--;)if(b[c]===a||b[c].contains(a))return!0;return!1},I=function(a,c){var d=c.s,g=c.sc;x(a)&&(a=e.scrollingElement||f);var h=r.indexOf(a),i=g===F.sc?1:2;~h||(h=r.push(a)-1),r[h+i]||y(a,"scroll",C);var j=r[h+i],k=j||(r[h+i]=D(w(a,d),!0)||(x(a)?g:D(function(b){return arguments.length?a[d]=b:a[d]})));return k.target=a,j||(k.smooth="smooth"===b.getProperty(a,"scrollBehavior")),k},J=function(a,b,c){var d=a,e=a,f=t(),g=f,h=b||50,i=Math.max(500,3*h),j=function(a,b){var i=t();b||i-f>h?(e=d,d=a,g=f,f=i):c?d+=a:d=e+(a-e)/(i-g)*(f-g)};return{update:j,reset:function(){e=d=c?0:d,g=f=0},getVelocity:function(a){var b=g,h=e,k=t();return(a||0===a)&&a!==d&&j(a),f===g||k-g>i?0:(d+(c?h:-h))/((c?k:f)-b)*1e3}}},K=function(a,b){return b&&!a._gsapAllow&&!1!==a.cancelable&&a.preventDefault(),a.changedTouches?a.changedTouches[0]:a},L=function(a){var b=Math.max.apply(Math,a),c=Math.min.apply(Math,a);return Math.abs(b)>=Math.abs(c)?b:c},M=function(){(j=b.core.globals().ScrollTrigger)&&j.core&&v()},N=function(a){return b=a||o(),!c&&b&&"u">typeof document&&document.body&&(d=window,f=(e=document).documentElement,g=e.body,k=[d,e,f,g],b.utils.clamp,n=b.core.context||function(){},i="onpointerenter"in g?"pointer":"mouse",h=O.isTouch=d.matchMedia&&d.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in d||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),m=O.eventTypes=("ontouchstart"in f?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in f)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return p=0},500),c=1),j||M(),c};E.op=F,r.cache=0;var O=function(){var a;function k(a){this.init(a)}return k.prototype.init=function(a){c||N(b)||console.warn("Please gsap.registerPlugin(Observer)"),j||M();var k=a.tolerance,o=a.dragMinimum,p=a.type,r=a.target,s=a.lineHeight,u=a.debounce,v=a.preventDefault,w=a.onStop,A=a.onStopDelay,B=a.ignore,D=a.wheelSpeed,O=a.event,P=a.onDragStart,Q=a.onDragEnd,R=a.onDrag,S=a.onPress,T=a.onRelease,U=a.onRight,V=a.onLeft,W=a.onUp,X=a.onDown,Y=a.onChangeX,Z=a.onChangeY,$=a.onChange,_=a.onToggleX,aa=a.onToggleY,ab=a.onHover,ac=a.onHoverEnd,ad=a.onMove,ae=a.ignoreCheck,af=a.isNormalizer,ag=a.onGestureStart,ah=a.onGestureEnd,ai=a.onWheel,aj=a.onEnable,ak=a.onDisable,al=a.onClick,am=a.scrollSpeed,an=a.capture,ao=a.allowClicks,ap=a.lockAxis,aq=a.onLockAxis;this.target=r=G(r)||f,this.vars=a,B&&(B=b.utils.toArray(B)),k=k||1e-9,o=o||0,D=D||1,am=am||1,p=p||"wheel,touch,pointer",u=!1!==u,s||(s=parseFloat(d.getComputedStyle(g).lineHeight)||22);var ar,as,at,au,av,aw,ax,ay=this,az=0,aA=0,aB=a.passive||!v&&!1!==a.passive,aC=I(r,E),aD=I(r,F),aE=aC(),aF=aD(),aG=~p.indexOf("touch")&&!~p.indexOf("pointer")&&"pointerdown"===m[0],aH=x(r),aI=r.ownerDocument||e,aJ=[0,0,0],aK=[0,0,0],aL=0,aM=function(){return aL=t()},aN=function(a,b){return(ay.event=a)&&B&&H(a.target,B)||b&&aG&&"touch"!==a.pointerType||ae&&ae(a,b)},aO=function(){var a=ay.deltaX=L(aJ),b=ay.deltaY=L(aK),c=Math.abs(a)>=k,d=Math.abs(b)>=k;$&&(c||d)&&$(ay,a,b,aJ,aK),c&&(U&&ay.deltaX>0&&U(ay),V&&ay.deltaX<0&&V(ay),Y&&Y(ay),_&&ay.deltaX<0!=az<0&&_(ay),az=ay.deltaX,aJ[0]=aJ[1]=aJ[2]=0),d&&(X&&ay.deltaY>0&&X(ay),W&&ay.deltaY<0&&W(ay),Z&&Z(ay),aa&&ay.deltaY<0!=aA<0&&aa(ay),aA=ay.deltaY,aK[0]=aK[1]=aK[2]=0),(au||at)&&(ad&&ad(ay),at&&(P&&1===at&&P(ay),R&&R(ay),at=0),au=!1),aw&&(aw=!1,1)&&aq&&aq(ay),av&&(ai(ay),av=!1),ar=0},aP=function(a,b,c){aJ[c]+=a,aK[c]+=b,ay._vx.update(a),ay._vy.update(b),u?ar||(ar=requestAnimationFrame(aO)):aO()},aQ=function(a,b){ap&&!ax&&(ay.axis=ax=Math.abs(a)>Math.abs(b)?"x":"y",aw=!0),"y"!==ax&&(aJ[2]+=a,ay._vx.update(a,!0)),"x"!==ax&&(aK[2]+=b,ay._vy.update(b,!0)),u?ar||(ar=requestAnimationFrame(aO)):aO()},aR=function(a){if(!aN(a,1)){var b=(a=K(a,v)).clientX,c=a.clientY,d=b-ay.x,e=c-ay.y,f=ay.isDragging;ay.x=b,ay.y=c,(f||(d||e)&&(Math.abs(ay.startX-b)>=o||Math.abs(ay.startY-c)>=o))&&(at||(at=f?2:1),f||(ay.isDragging=!0),aQ(d,e))}},aS=ay.onPress=function(a){aN(a,1)||a&&a.button||(ay.axis=ax=null,as.pause(),ay.isPressed=!0,a=K(a),az=aA=0,ay.startX=ay.x=a.clientX,ay.startY=ay.y=a.clientY,ay._vx.reset(),ay._vy.reset(),y(af?r:aI,m[1],aR,aB,!0),ay.deltaX=ay.deltaY=0,S&&S(ay))},aT=ay.onRelease=function(a){if(!aN(a,1)){z(af?r:aI,m[1],aR,!0);var c=!isNaN(ay.y-ay.startY),e=ay.isDragging,f=e&&(Math.abs(ay.x-ay.startX)>3||Math.abs(ay.y-ay.startY)>3),g=K(a);!f&&c&&(ay._vx.reset(),ay._vy.reset(),v&&ao&&b.delayedCall(.08,function(){if(t()-aL>300&&!a.defaultPrevented){if(a.target.click)a.target.click();else if(aI.createEvent){var b=aI.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,d,1,g.screenX,g.screenY,g.clientX,g.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(b)}}})),ay.isDragging=ay.isGesturing=ay.isPressed=!1,w&&e&&!af&&as.restart(!0),at&&aO(),Q&&e&&Q(ay),T&&T(ay,f)}},aU=function(a){return a.touches&&a.touches.length>1&&(ay.isGesturing=!0)&&ag(a,ay.isDragging)},aV=function(){return ay.isGesturing=!1,ah(ay)},aW=function(a){if(!aN(a)){var b=aC(),c=aD();aP((b-aE)*am,(c-aF)*am,1),aE=b,aF=c,w&&as.restart(!0)}},aX=function(a){if(!aN(a)){a=K(a,v),ai&&(av=!0);var b=(1===a.deltaMode?s:2===a.deltaMode?d.innerHeight:1)*D;aP(a.deltaX*b,a.deltaY*b,0),w&&!af&&as.restart(!0)}},aY=function(a){if(!aN(a)){var b=a.clientX,c=a.clientY,d=b-ay.x,e=c-ay.y;ay.x=b,ay.y=c,au=!0,w&&as.restart(!0),(d||e)&&aQ(d,e)}},aZ=function(a){ay.event=a,ab(ay)},a$=function(a){ay.event=a,ac(ay)},a_=function(a){return aN(a)||K(a,v)&&al(ay)};as=ay._dc=b.delayedCall(A||.25,function(){ay._vx.reset(),ay._vy.reset(),as.pause(),w&&w(ay)}).pause(),ay.deltaX=ay.deltaY=0,ay._vx=J(0,50,!0),ay._vy=J(0,50,!0),ay.scrollX=aC,ay.scrollY=aD,ay.isDragging=ay.isGesturing=ay.isPressed=!1,n(this),ay.enable=function(a){return!ay.isEnabled&&(y(aH?aI:r,"scroll",C),p.indexOf("scroll")>=0&&y(aH?aI:r,"scroll",aW,aB,an),p.indexOf("wheel")>=0&&y(r,"wheel",aX,aB,an),(p.indexOf("touch")>=0&&h||p.indexOf("pointer")>=0)&&(y(r,m[0],aS,aB,an),y(aI,m[2],aT),y(aI,m[3],aT),ao&&y(r,"click",aM,!0,!0),al&&y(r,"click",a_),ag&&y(aI,"gesturestart",aU),ah&&y(aI,"gestureend",aV),ab&&y(r,i+"enter",aZ),ac&&y(r,i+"leave",a$),ad&&y(r,i+"move",aY)),ay.isEnabled=!0,ay.isDragging=ay.isGesturing=ay.isPressed=au=at=!1,ay._vx.reset(),ay._vy.reset(),aE=aC(),aF=aD(),a&&a.type&&aS(a),aj&&aj(ay)),ay},ay.disable=function(){ay.isEnabled&&(q.filter(function(a){return a!==ay&&x(a.target)}).length||z(aH?aI:r,"scroll",C),ay.isPressed&&(ay._vx.reset(),ay._vy.reset(),z(af?r:aI,m[1],aR,!0)),z(aH?aI:r,"scroll",aW,an),z(r,"wheel",aX,an),z(r,m[0],aS,an),z(aI,m[2],aT),z(aI,m[3],aT),z(r,"click",aM,!0),z(r,"click",a_),z(aI,"gesturestart",aU),z(aI,"gestureend",aV),z(r,i+"enter",aZ),z(r,i+"leave",a$),z(r,i+"move",aY),ay.isEnabled=ay.isPressed=ay.isDragging=!1,ak&&ak(ay))},ay.kill=ay.revert=function(){ay.disable();var a=q.indexOf(ay);a>=0&&q.splice(a,1),l===ay&&(l=0)},q.push(ay),af&&x(r)&&(l=ay),ay.enable(O)},a=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(a,b){for(var c=0;c-1);return c["_"+b+"Clamp"]=d,d?a.substr(6,a.length-7):a},aF=function(a,b){return b&&(!aS(a)||"clamp("!==a.substr(0,6))?"clamp("+a+")":a},aG=function(){return aa=1},aH=function(){return aa=0},aI=function(a){return a},aJ=function(a){return Math.round(1e5*a)/1e5||0},aK=function(){return!1},aL=function(){return P||aK()&&(P=window.gsap)&&P.registerPlugin&&P},aM=function(a){return!!~V.indexOf(a)},aN=function(a){return("Height"===a?ar:R["inner"+a])||T["client"+a]||U["client"+a]},aO=function(a){return w(a,"getBoundingClientRect")||(aM(a)?function(){return bV.width=R.innerWidth,bV.height=ar,bV}:function(){return bc(a)})},aP=function(a,b,c){var d=c.d,e=c.d2,f=c.a;return(f=w(a,"getBoundingClientRect"))?function(){return f()[d]}:function(){return(b?aN(e):a["client"+e])||0}},aQ=function(a,b){var c=b.s,d=b.d2,e=b.d,f=b.a;return Math.max(0,(f=w(a,c="scroll"+d))?f()-aO(a)()[e]:aM(a)?(T[c]||U[c])-aN(d):a[c]-a["offset"+d])},aR=function(a,b){for(var c=0;c0){for(a-=e,f=0;f=a)return c[f];return c[f-1]}for(f=c.length,a+=e;f--;)if(c[f]<=a)return c[f];return c[0]}:function(c,d,e){void 0===e&&(e=.001);var f=b(c);return!d||Math.abs(f-c)c&&(d*=b/100),a=a.substr(0,c-1)),a=d+(a in bm?bm[a]*b:~a.indexOf("%")?parseFloat(a)*b/100:parseFloat(a)||0)}return a},bo=function(a,b,c,d,e,f,g,h){var i=e.startColor,j=e.endColor,k=e.fontSize,l=e.indent,m=e.fontWeight,n=S.createElement("div"),o=aM(c)||"fixed"===w(c,"pinType"),p=-1!==a.indexOf("scroller"),q=o?U:"IFRAME"===c.tagName?c.contentDocument.body:c,r=-1!==a.indexOf("start"),s=r?i:j,t="border-color:"+s+";font-size:"+k+";color:"+s+";font-weight:"+m+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return t+="position:"+((p||h)&&o?"fixed;":"absolute;"),(p||h||!o)&&(t+=(d===F?a$:a_)+":"+(f+parseFloat(l))+"px;"),g&&(t+="box-sizing:border-box;text-align:left;width:"+g.offsetWidth+"px;"),n._isStart=r,n.setAttribute("class","gsap-marker-"+a+(b?" marker-"+b:"")),n.style.cssText=t,n.innerText=b||0===b?a+"-"+b:a,q.children[0]?q.insertBefore(n,q.children[0]):q.appendChild(n),n._offset=n["offset"+d.op.d2],bp(n,0,d,r),n},bp=function(a,b,c,d){var e={display:"block"},f=c[d?"os2":"p2"],g=c[d?"p2":"os2"];a._isFlipped=d,e[c.a+"Percent"]=d?-100:0,e[c.a]=d?"1px":0,e["border"+f+a7]=1,e["border"+g+a7]=0,e[c.p]=b+"px",P.set(a,e)},bq=[],br={},bs=function(){return aA()-aC>34&&(av||(av=requestAnimationFrame(bM)))},bt=function(){aj&&aj.isPressed&&!(aj.startX>U.clientWidth)||(r.cache++,aj?av||(av=requestAnimationFrame(bM)):bM(),aC||bz("scrollStart"),aC=aA())},bu=function(){am=R.innerWidth,al=R.innerHeight},bv=function(a){r.cache++,(!0===a||!_&&!ai&&!S.fullscreenElement&&!S.webkitFullscreenElement&&(!ak||am!==R.innerWidth||Math.abs(R.innerHeight-al)>.25*R.innerHeight))&&W.restart(!0)},bw={},bx=[],by=function a(){return bi(b0,"scrollEnd",a)||bJ(!0)},bz=function(a){return bw[a]&&bw[a].map(function(a){return a()})||bx},bA=[],bB=function(a){for(var b=0;bb,d=a._startClamp&&a.start>=b;(c||d)&&a.setPositions(d?b-1:a.start,c?Math.max(d?b:a.start+1,b):a.end,!0)}),bI(!1),at=0,c.forEach(function(a){return a&&a.render&&a.render(-1)}),r.forEach(function(a){aT(a)&&(a.smooth&&requestAnimationFrame(function(){return a.target.style.scrollBehavior="smooth"}),a.rec&&a(a.rec))}),bE(ap,1),W.pause(),bF++,aw=2,bM(2),bq.forEach(function(a){return aT(a.vars.onRefresh)&&a.vars.onRefresh(a)}),aw=b0.isRefreshing=!1,bz("refresh")},bK=0,bL=1,bM=function(a){if(2===a||!aw&&!as){b0.isUpdating=!0,ay&&ay.update(0);var b=bq.length,c=aA(),d=c-aB>=50,e=b&&bq[0].scroll();if(bL=bK>e?-1:1,aw||(bK=e),d&&(aC&&!aa&&c-aC>200&&(aC=0,bz("scrollEnd")),Z=aB,aB=c),bL<0){for(ac=b;ac-- >0;)bq[ac]&&bq[ac].update(0,d);bL=1}else for(ac=0;ac20),c-=c-u}if(n&&(h[n]=a||-.001,a<0&&(a=0)),f){var x=a+c,y=f._isStart;o="scroll"+d.d2,bp(f,x,d,y&&x>20||!y&&(k?Math.max(U[o],T[o]):f.parentNode[o])<=x+1),k&&(i=bc(g),k&&(f.style[d.op.p]=i[d.op.p]-d.op.m-f._offset+"px"))}return m&&q&&(o=bc(q),m.seek(l),p=bc(q),m._caScrollDist=o[d.p]-p[d.p],a=a/m._caScrollDist*l),m&&m.seek(r),m?a:Math.round(a)},bX=/(webkit|moz|length|cssText|inset)/i,bY=function(a,b,c,d){if(a.parentNode!==b){var e,f,g=a.style;if(b===U){for(e in a._stOrig=g.cssText,f=a9(a))+e||bX.test(e)||!f[e]||"string"!=typeof g[e]||"0"===e||(g[e]=f[e]);g.top=c,g.left=d}else g.cssText=a._stOrig;P.core.getCache(a).uncache=1,b.appendChild(a)}},bZ=function(a,b,c){var d=b,e=d;return function(b){var f=Math.round(a());return f!==d&&f!==e&&Math.abs(f-d)>3&&Math.abs(f-e)>3&&(b=f,c&&c()),e=d,d=Math.round(b)}},b$=function(a,b,c){var d={};d[b.p]="+="+c,P.set(a,d)},b_=function(a,b){var c=I(a,b),d="_scroll"+b.p2,e=function b(e,f,g,h,i){var j=b.tween,k=f.onComplete,l={};g=g||c();var m=bZ(c,g,function(){j.kill(),b.tween=0});return i=h&&i||0,h=h||e-g,j&&j.kill(),f[d]=e,f.inherit=!1,f.modifiers=l,l[d]=function(){return m(g+h*j.ratio+i*j.ratio*j.ratio)},f.onUpdate=function(){r.cache++,b.tween&&bM()},f.onComplete=function(){b.tween=0,k&&k.call(j)},j=b.tween=P.to(a,f)};return a[d]=c,c.wheelHandler=function(){return e.tween&&e.tween.kill()&&(e.tween=0)},bh(a,"wheel",c.wheelHandler),b0.isTouch&&bh(a,"touchmove",c.wheelHandler),e},b0=function(){function a(b,c){Q||a.register(P)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ao(this),this.init(b,c)}return a.prototype.init=function(b,c){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!aD){this.update=this.refresh=this.kill=aI;return}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,t,u,v,x,y,z,A,B,C,D,H,J,K,L,M,N,O,Q,V,W,$,ab,ad,ae,af,ai,aj,ak=b=bb(aS(b)||aU(b)||b.nodeType?{trigger:b}:b,bl),al=ak.onUpdate,am=ak.toggleClass,an=ak.id,ao=ak.onToggle,ap=ak.onRefresh,aq=ak.scrub,ar=ak.trigger,as=ak.pin,av=ak.pinSpacing,ax=ak.invalidateOnRefresh,aB=ak.anticipatePin,aG=ak.onScrubComplete,aH=ak.onSnapComplete,aK=ak.once,aL=ak.snap,aN=ak.pinReparent,aR=ak.pinSpacer,aZ=ak.containerAnimation,a$=ak.fastScrollEnd,a_=ak.preventOverlaps,bg=b.horizontal||b.containerAnimation&&!1!==b.horizontal?E:F,bj=!aq&&0!==aq,bm=G(b.scroller||R),bp=P.core.getCache(bm),bs=aM(bm),bu=("pinType"in b?b.pinType:w(bm,"pinType")||bs&&"fixed")==="fixed",bw=[b.onEnter,b.onLeave,b.onEnterBack,b.onLeaveBack],bx=bj&&b.toggleActions.split(" "),bz="markers"in b?b.markers:bl.markers,bA=bs?0:parseFloat(a9(bm)["border"+bg.p2+a7])||0,bB=this,bC=b.onRefreshInit&&function(){return b.onRefreshInit(bB)},bD=aP(bm,bs,bg),bE=!bs||~s.indexOf(bm)?aO(bm):function(){return bV},bF=0,bH=0,bI=0,bJ=I(bm,bg);if(bB._startClamp=bB._endClamp=!1,bB._dir=bg,aB*=45,bB.scroller=bm,bB.scroll=aZ?aZ.time.bind(aZ):bJ,i=bJ(),bB.vars=b,c=c||b.animation,"refreshPriority"in b&&(ag=1,-9999===b.refreshPriority&&(ay=bB)),bp.tweenScroll=bp.tweenScroll||{top:b_(bm,F),left:b_(bm,E)},bB.tweenTo=f=bp.tweenScroll[bg.p],bB.scrubDuration=function(a){($=aU(a)&&a)?W?W.duration(a):W=P.to(c,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:$,paused:!0,onComplete:function(){return aG&&aG(bB)}}):(W&&W.progress(1).kill(),W=0)},c&&(c.vars.lazy=!1,c._initted&&!bB.isReverted||!1!==c.vars.immediateRender&&!1!==b.immediateRender&&c.duration()&&c.render(0,!0,!0),bB.animation=c.pause(),c.scrollTrigger=bB,bB.scrubDuration(aq),Q=0,an||(an=c.vars.id)),aL&&((!aV(aL)||aL.push)&&(aL={snapTo:aL}),"scrollBehavior"in U.style&&P.set(bs?[U,T]:bm,{scrollBehavior:"auto"}),r.forEach(function(a){return aT(a)&&a.target===(bs?S.scrollingElement||T:bm)&&(a.smooth=!1)}),h=aT(aL.snapTo)?aL.snapTo:"labels"===aL.snapTo?(d=c,function(a){return P.utils.snap(be(d),a)}):"labelsDirectional"===aL.snapTo?(e=c,function(a,b){return bf(be(e))(a,b.direction)}):!1!==aL.directional?function(a,b){return bf(aL.snapTo)(a,aA()-bH<500?0:b.direction)}:P.utils.snap(aL.snapTo),ab=aV(ab=aL.duration||{min:.1,max:2})?Y(ab.min,ab.max):Y(ab,ab),ad=P.delayedCall(aL.delay||$/2||.1,function(){var a=bJ(),b=aA()-bH<500,d=f.tween;if((b||10>Math.abs(bB.getVelocity()))&&!d&&!aa&&bF!==a){var e,g,i=(a-k)/u,j=c&&!bj?c.totalProgress():i,m=b?0:(j-V)/(aA()-Z)*1e3||0,n=P.utils.clamp(-i,1-i,aY(m/2)*m/.185),o=i+(!1===aL.inertia?0:n),p=aL,q=p.onStart,r=p.onInterrupt,s=p.onComplete;if(aU(e=h(o,bB))||(e=o),g=Math.max(0,Math.round(k+e*u)),a<=l&&a>=k&&g!==a){if(d&&!d._initted&&d.data<=aY(g-a))return;!1===aL.inertia&&(n=e-i),f(g,{duration:ab(aY(.185*Math.max(aY(o-j),aY(e-j))/m/.05||0)),ease:aL.ease||"power3",data:aY(g-a),onInterrupt:function(){return ad.restart(!0)&&r&&aX(bB,r)},onComplete:function(){bB.update(),bF=bJ(),c&&!bj&&(W?W.resetTo("totalProgress",e,c._tTime/c._tDur):c.progress(e)),Q=V=c&&!bj?c.totalProgress():bB.progress,aH&&aH(bB),s&&aX(bB,s)}},a,n*u,g-a-n*u),q&&aX(bB,q,f.tween)}}else bB.isActive&&bF!==a&&ad.restart(!0)}).pause()),an&&(br[an]=bB),(aj=(ar=bB.trigger=G(ar||!0!==as&&as))&&ar._gsap&&ar._gsap.stRevert)&&(aj=aj(bB)),as=!0===as?ar:G(as),aS(am)&&(am={targets:ar,className:am}),as&&(!1===av||av===a6||(av=(!!av||!as.parentNode||!as.parentNode.style||"flex"!==a9(as.parentNode).display)&&a5),bB.pin=as,(g=P.core.getCache(as)).spacer?v=g.pinState:(aR&&((aR=G(aR))&&!aR.nodeType&&(aR=aR.current||aR.nativeElement),g.spacerIsNative=!!aR,aR&&(g.spacerState=bT(aR))),g.spacer=z=aR||S.createElement("div"),z.classList.add("pin-spacer"),an&&z.classList.add("pin-spacer-"+an),g.pinState=v=bT(as)),!1!==b.force3D&&P.set(as,{force3D:!0}),bB.spacer=z=g.spacer,J=(O=a9(as))[av+bg.os2],B=P.getProperty(as),C=P.quickSetter(as,bg.a,"px"),bQ(as,z,O),y=bT(as)),bz){q=aV(bz)?bb(bz,bk):bk,o=bo("scroller-start",an,bm,bg,q,0),p=bo("scroller-end",an,bm,bg,q,0,o),A=o["offset"+bg.op.d2];var bK=G(w(bm,"content")||bm);m=this.markerStart=bo("start",an,bK,bg,q,A,0,aZ),n=this.markerEnd=bo("end",an,bK,bg,q,A,0,aZ),aZ&&(ai=P.quickSetter([m,n],bg.a,"px")),bu||s.length&&!0===w(bm,"fixedMarkers")||(ba(bs?U:bm),P.set([o,p],{force3D:!0}),L=P.quickSetter(o,bg.a,"px"),N=P.quickSetter(p,bg.a,"px"))}if(aZ){var bM=aZ.vars.onUpdate,bN=aZ.vars.onUpdateParams;aZ.eventCallback("onUpdate",function(){bB.update(0,0,1),bM&&bM.apply(aZ,bN||[])})}if(bB.previous=function(){return bq[bq.indexOf(bB)-1]},bB.next=function(){return bq[bq.indexOf(bB)+1]},bB.revert=function(a,b){if(!b)return bB.kill(!0);var d=!1!==a||!bB.enabled,e=_;d!==bB.isReverted&&(d&&(ae=Math.max(bJ(),bB.scroll.rec||0),bI=bB.progress,af=c&&c.progress()),m&&[m,n,o,p].forEach(function(a){return a.style.display=d?"none":"block"}),d&&(_=bB,bB.update(d)),!as||aN&&bB.isActive||(d?bP(as,z,v):bQ(as,z,a9(as),K)),d||bB.update(d),_=e,bB.isReverted=d)},bB.refresh=function(d,e,g,h){if(!_&&bB.enabled||e){if(as&&d&&aC)return void bh(a,"scrollEnd",by);!aw&&bC&&bC(bB),_=bB,f.tween&&!g&&(f.tween.kill(),f.tween=0),W&&W.pause(),ax&&c&&(c.revert({kill:!1}).invalidate(),c.getChildren?c.getChildren(!0,!0,!1).forEach(function(a){return a.vars.immediateRender&&a.render(0,!0,!0)}):c.vars.immediateRender&&c.render(0,!0,!0)),bB.isReverted||bB.revert(!0,!0),bB._subPinOffset=!1;var q,r,s,w,A,C,J,L,N,O,Q,R,V,X=bD(),Y=bE(),Z=aZ?aZ.duration():aQ(bm,bg),$=u<=.01||!u,aa=0,ab=h||0,ac=aV(g)?g.end:b.end,ag=b.endTrigger||ar,ai=aV(g)?g.start:b.start||(0!==b.start&&ar?as?"0 0":"0 100%":0),aj=bB.pinnedContainer=b.pinnedContainer&&G(b.pinnedContainer,bB),ak=ar&&Math.max(0,bq.indexOf(bB))||0,al=ak;for(bz&&aV(g)&&(R=P.getProperty(o,bg.p),V=P.getProperty(p,bg.p));al-- >0;)(C=bq[al]).end||C.refresh(0,1)||(_=bB),(J=C.pin)&&(J===ar||J===as||J===aj)&&!C.isReverted&&(O||(O=[]),O.unshift(C),C.revert(!0,!0)),C!==bq[al]&&(ak--,al--);for(aT(ai)&&(ai=ai(bB)),k=bW(ai=aE(ai,"start",bB),ar,X,bg,bJ(),m,o,bB,Y,bA,bu,Z,aZ,bB._startClamp&&"_startClamp")||(as?-.001:0),aT(ac)&&(ac=ac(bB)),aS(ac)&&!ac.indexOf("+=")&&(~ac.indexOf(" ")?ac=(aS(ai)?ai.split(" ")[0]:"")+ac:(aa=bn(ac.substr(2),X),ac=aS(ai)?ai:(aZ?P.utils.mapRange(0,aZ.duration(),aZ.scrollTrigger.start,aZ.scrollTrigger.end,k):k)+aa,ag=ar)),ac=aE(ac,"end",bB),l=Math.max(k,bW(ac||(ag?"100% 0":Z),ag,X,bg,bJ()+aa,n,p,bB,Y,bA,bu,Z,aZ,bB._endClamp&&"_endClamp"))||-.001,aa=0,al=ak;al--;)(J=(C=bq[al]||{}).pin)&&C.start-C._pinPush<=k&&!aZ&&C.end>0&&(q=C.end-(bB._startClamp?Math.max(0,C.start):C.start),(J===ar&&C.start-C._pinPush=aQ(bm,bg)))q=a9(as),w=bg===F,s=bJ(),D=parseFloat(B(bg.a))+ab,!Z&&l>1&&(Q={style:Q=(bs?S.scrollingElement||T:bm).style,value:Q["overflow"+bg.a.toUpperCase()]},bs&&"scroll"!==a9(U)["overflow"+bg.a.toUpperCase()]&&(Q.style["overflow"+bg.a.toUpperCase()]="scroll")),bQ(as,z,q),y=bT(as),r=bc(as,!0),L=bu&&I(bm,w?E:F)(),av?((K=[av+bg.os2,u+ab+"px"]).t=z,(al=av===a5?bd(as,bg)+u+ab:0)&&(K.push(bg.d,al+"px"),"auto"!==z.style.flexBasis&&(z.style.flexBasis=al+"px")),bS(K),aj&&bq.forEach(function(a){a.pin===aj&&!1!==a.vars.pinSpacing&&(a._subPinOffset=!0)}),bu&&bJ(ae)):(al=bd(as,bg))&&"auto"!==z.style.flexBasis&&(z.style.flexBasis=al+"px"),bu&&((A={top:r.top+(w?s-k:L)+"px",left:r.left+(w?L:s-k)+"px",boxSizing:"border-box",position:"fixed"})[a0]=A["max"+a7]=Math.ceil(r.width)+"px",A[a1]=A["max"+a8]=Math.ceil(r.height)+"px",A[a6]=A[a6+"Top"]=A[a6+a2]=A[a6+a4]=A[a6+a3]="0",A[a5]=q[a5],A[a5+"Top"]=q[a5+"Top"],A[a5+a2]=q[a5+a2],A[a5+a4]=q[a5+a4],A[a5+a3]=q[a5+a3],x=bU(v,A,aN),aw&&bJ(0)),c?(N=c._initted,ah(1),c.render(c.duration(),!0,!0),H=B(bg.a)-D+u+ab,M=Math.abs(u-H)>1,bu&&M&&x.splice(x.length-2,2),c.render(0,!0,!0),N||c.invalidate(!0),c.parent||c.totalTime(c.totalTime()),ah(0)):H=u,Q&&(Q.value?Q.style["overflow"+bg.a.toUpperCase()]=Q.value:Q.style.removeProperty("overflow-"+bg.a));else if(ar&&bJ()&&!aZ)for(r=ar.parentNode;r&&r!==U;)r._pinOffset&&(k-=r._pinOffset,l-=r._pinOffset),r=r.parentNode;O&&O.forEach(function(a){return a.revert(!1,!0)}),bB.start=k,bB.end=l,i=j=aw?ae:bJ(),aZ||aw||(i0?bq.slice(0,b).reverse():bq.slice(b+1);return(aS(a)?c.filter(function(b){return b.vars.preventOverlaps===a}):c).filter(function(a){return bB.direction>0?a.end<=k:a.start>=l})},bB.update=function(a,b,d){if(!aZ||d||a){var e,g,h,m,n,p,q,r=!0===aw?ae:bB.scroll(),s=a?0:(r-k)/u,t=s<0?0:s>1?1:s||0,v=bB.progress;if(b&&(j=i,i=aZ?bJ():r,aL&&(V=Q,Q=c&&!bj?c.totalProgress():t)),aB&&as&&!_&&!az&&aC&&(!t&&kr+(r-j)/(aA()-Z)*aB&&(t=.9999)),t!==v&&bB.enabled){if(m=(n=(e=bB.isActive=!!t&&t<1)!=(!!v&&v<1))||!!t!=!!v,bB.direction=t>v?1:-1,bB.progress=t,m&&!_&&(g=t&&!v?0:1===t?1:1===v?2:3,bj&&(h=!n&&"none"!==bx[g+1]&&bx[g+1]||bx[g],q=c&&("complete"===h||"reset"===h||h in c))),a_&&(n||q)&&(q||aq||!c)&&(aT(a_)?a_(bB):bB.getTrailing(a_).forEach(function(a){return a.endAnimation()})),!bj&&(!W||_||az?c&&c.totalProgress(t,!!(_&&(bH||a))):(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo("totalProgress",t,c._tTime/c._tDur):(W.vars.totalProgress=t,W.invalidate().restart()))),as)if(a&&av&&(z.style[av+bg.os2]=J),bu){if(m){if(p=!a&&t>v&&l+1>r&&r+1>=aQ(bm,bg),aN)if(!a&&(e||p)){var w=bc(as,!0),A=r-k;bY(as,U,w.top+(bg===F?A:0)+"px",w.left+(bg===F?0:A)+"px")}else bY(as,z);bS(e||p?x:y),M&&t<1&&e||C(D+(1!==t||p?0:H))}}else C(aJ(D+H*t));!aL||f.tween||_||az||ad.restart(!0),am&&(n||aK&&t&&(t<1||!au))&&X(am.targets).forEach(function(a){return a.classList[e||aK?"add":"remove"](am.className)}),!al||bj||a||al(bB),m&&!_?(bj&&(q&&("complete"===h?c.pause().totalProgress(1):"reset"===h?c.restart(!0).pause():"restart"===h?c.restart(!0):c[h]()),al&&al(bB)),(n||!au)&&(ao&&n&&aX(bB,ao),bw[g]&&aX(bB,bw[g]),aK&&(1===t?bB.kill(!1,1):bw[g]=0),!n&&bw[g=1===t?1:3]&&aX(bB,bw[g])),a$&&!e&&Math.abs(bB.getVelocity())>(aU(a$)?a$:2500)&&(aW(bB.callbackAnimation),W?W.progress(1):aW(c,"reverse"===h?1:!t,1))):bj&&al&&!_&&al(bB)}if(N){var B=aZ?r/aZ.duration()*(aZ._caScrollDist||0):r;L(B+ +!!o._isFlipped),N(B)}ai&&ai(-r/aZ.duration()*(aZ._caScrollDist||0))}},bB.enable=function(b,c){bB.enabled||(bB.enabled=!0,bh(bm,"resize",bv),bs||bh(bm,"scroll",bt),bC&&bh(a,"refreshInit",bC),!1!==b&&(bB.progress=bI=0,i=j=bF=bJ()),!1!==c&&bB.refresh())},bB.getTween=function(a){return a&&f?f.tween:W},bB.setPositions=function(a,b,c,d){if(aZ){var e=aZ.scrollTrigger,f=aZ.duration(),g=e.end-e.start;a=e.start+g*a/f,b=e.start+g*b/f}bB.refresh(!1,!1,{start:aF(a,c&&!!bB._startClamp),end:aF(b,c&&!!bB._endClamp)},d),bB.update()},bB.adjustPinSpacing=function(a){if(K&&a){var b=K.indexOf(bg.d)+1;K[b]=parseFloat(K[b])+a+"px",K[1]=parseFloat(K[1])+a+"px",bS(K)}},bB.disable=function(b,c){if(!1!==b&&bB.revert(!0,!0),bB.enabled&&(bB.enabled=bB.isActive=!1,c||W&&W.pause(),ae=0,g&&(g.uncache=1),bC&&bi(a,"refreshInit",bC),ad&&(ad.pause(),f.tween&&f.tween.kill()&&(f.tween=0)),!bs)){for(var d=bq.length;d--;)if(bq[d].scroller===bm&&bq[d]!==bB)return;bi(bm,"resize",bv),bs||bi(bm,"scroll",bt)}},bB.kill=function(a,d){bB.disable(a,d),W&&!d&&W.kill(),an&&delete br[an];var e=bq.indexOf(bB);e>=0&&bq.splice(e,1),e===ac&&bL>0&&ac--,e=0,bq.forEach(function(a){return a.scroller===bB.scroller&&(e=1)}),e||aw||(bB.scroll.rec=0),c&&(c.scrollTrigger=null,a&&c.revert({kill:!1}),d||c.kill()),m&&[m,n,o,p].forEach(function(a){return a.parentNode&&a.parentNode.removeChild(a)}),ay===bB&&(ay=0),as&&(g&&(g.uncache=1),e=0,bq.forEach(function(a){return a.pin===as&&e++}),e||(g.spacer=0)),b.onKill&&b.onKill(bB)},bq.push(bB),bB.enable(!1,!1),aj&&aj(bB),c&&c.add&&!u){var bO=bB.update;bB.update=function(){bB.update=bO,r.cache++,k||l||bB.refresh()},P.delayedCall(.01,bB.update),u=.01,k=l=0}else bB.refresh();as&&bG()},a.register=function(b){return Q||(P=b||aL(),aK()&&window.document&&a.enable(),Q=aD),Q},a.defaults=function(a){if(a)for(var b in a)bl[b]=a[b];return bl},a.disable=function(a,b){aD=0,bq.forEach(function(c){return c[b?"kill":"disable"](a)}),bi(R,"wheel",bt),bi(S,"scroll",bt),clearInterval($),bi(S,"touchcancel",aI),bi(U,"touchstart",aI),bg(bi,S,"pointerdown,touchstart,mousedown",aG),bg(bi,S,"pointerup,touchend,mouseup",aH),W.kill(),aR(bi);for(var c=0;c0&&d.left+e0&&d.top+e=0&&bA.splice(b,5),bA.push(a,a.style.cssText,a.getBBox&&a.getAttribute("transform"),P.core.getCache(a),ao())}}):bA},b0.revert=function(a,b){return bD(!a,b)},b0.create=function(a,b){return new b0(a,b)},b0.refresh=function(a){return a?bv(!0):(Q||b0.register())&&bJ(!0)},b0.update=function(a){return++r.cache&&bM(2*(!0===a))},b0.clearScrollMemory=bE,b0.maxScroll=function(a,b){return aQ(a,b?E:F)},b0.getScrollFunc=function(a,b){return I(G(a),b?E:F)},b0.getById=function(a){return br[a]},b0.getAll=function(){return bq.filter(function(a){return"ScrollSmoother"!==a.vars.id})},b0.isScrolling=function(){return!!aC},b0.snapDirectional=bf,b0.addEventListener=function(a,b){var c=bw[a]||(bw[a]=[]);~c.indexOf(b)||c.push(b)},b0.removeEventListener=function(a,b){var c=bw[a],d=c&&c.indexOf(b);d>=0&&c.splice(d,1)},b0.batch=function(a,b){var c,d=[],e={},f=b.interval||.016,g=b.batchMax||1e9,h=function(a,b){var c=[],d=[],e=P.delayedCall(f,function(){b(c,d),c=[],d=[]}).pause();return function(a){c.length||e.restart(!0),c.push(a.trigger),d.push(a),g<=c.length&&e.progress(1)}};for(c in b)e[c]="on"===c.substr(0,2)&&aT(b[c])&&"onRefreshInit"!==c?h(c,b[c]):b[c];return aT(g)&&(g=g(),bh(b0,"refresh",function(){return g=b.batchMax()})),X(a).forEach(function(a){var b={};for(c in e)b[c]=e[c];b.trigger=a,d.push(b0.create(b))}),d};var b1,b2=function(a,b,c,d){return b>d?a(d):b<0&&a(0),c>d?(d-b)/(c-b):c<0?b/(b-c):1},b3=function a(b,c){!0===c?b.style.removeProperty("touch-action"):b.style.touchAction=!0===c?"auto":c?"pan-"+c+(O.isTouch?" pinch-zoom":""):"none",b===T&&a(U,c)},b4={auto:1,scroll:1},b5=function(a){var b,c=a.event,d=a.target,e=a.axis,f=(c.changedTouches?c.changedTouches[0]:c).target,g=f._gsap||P.core.getCache(f),h=aA();if(!g._isScrollT||h-g._isScrollT>2e3){for(;f&&f!==U&&(f.scrollHeight<=f.clientHeight&&f.scrollWidth<=f.clientWidth||!(b4[(b=a9(f)).overflowY]||b4[b.overflowX]));)f=f.parentNode;g._isScroll=f&&f!==d&&!aM(f)&&(b4[(b=a9(f)).overflowY]||b4[b.overflowX]),g._isScrollT=h}(g._isScroll||"x"===e)&&(c.stopPropagation(),c._gsapAllow=!0)},b6=function(a,b,c,d){return O.create({target:a,capture:!0,debounce:!1,lockAxis:!0,type:b,onWheel:d=d&&b5,onPress:d,onDrag:d,onScroll:d,onEnable:function(){return c&&bh(S,O.eventTypes[0],b8,!1,!0)},onDisable:function(){return bi(S,O.eventTypes[0],b8,!0)}})},b7=/(input|label|select|textarea)/i,b8=function(a){var b=b7.test(a.target.tagName);(b||b1)&&(a._gsapAllow=!0,b1=b)},b9=function(a){aV(a)||(a={}),a.preventDefault=a.isNormalizer=a.allowClicks=!0,a.type||(a.type="wheel,touch"),a.debounce=!!a.debounce,a.id=a.id||"normalizer";var b,c,d,e,f,g,h,i,j=a,k=j.normalizeScrollX,l=j.momentum,m=j.allowNestedScroll,n=j.onRelease,o=G(a.target)||T,p=P.core.globals().ScrollSmoother,q=p&&p.get(),s=an&&(a.content&&G(a.content)||q&&!1!==a.content&&!q.smooth()&&q.content()),t=I(o,F),u=I(o,E),v=1,w=(O.isTouch&&R.visualViewport?R.visualViewport.scale*R.visualViewport.width:R.outerWidth)/R.innerWidth,x=0,y=aT(l)?function(){return l(b)}:function(){return l||2.8},z=b6(o,a.type,!0,m),A=function(){return e=!1},B=aI,C=aI,D=function(){c=aQ(o,F),C=Y(+!!an,c),k&&(B=Y(0,aQ(o,E))),d=bF},H=function(){s._gsap.y=aJ(parseFloat(s._gsap.y)+t.offset)+"px",s.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(s._gsap.y)+", 0, 1)",t.offset=t.cacheID=0},J=function(){if(e){requestAnimationFrame(A);var a=aJ(b.deltaY/2),c=C(t.v-a);if(s&&c!==t.v+t.offset){t.offset=c-t.v;var d=aJ((parseFloat(s&&s._gsap.y)||0)-t.offset);s.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+d+", 0, 1)",s._gsap.y=d+"px",t.cacheID=r.cache,bM()}return!0}t.offset&&H(),e=!0},K=function(){D(),f.isActive()&&f.vars.scrollY>c&&(t()>c?f.progress(1)&&t(c):f.resetTo("scrollY",c))};return s&&P.set(s,{y:"+=0"}),a.ignoreCheck=function(a){return an&&"touchmove"===a.type&&J(a)||v>1.05&&"touchstart"!==a.type||b.isGesturing||a.touches&&a.touches.length>1},a.onPress=function(){e=!1;var a=v;v=aJ((R.visualViewport&&R.visualViewport.scale||1)/w),f.pause(),a!==v&&b3(o,v>1.01||!k&&"x"),g=u(),h=t(),D(),d=bF},a.onRelease=a.onGestureStart=function(a,b){if(t.offset&&H(),b){r.cache++;var d,e,g=y();k&&(e=(d=u())+-(.05*g*a.velocityX)/.227,g*=b2(u,d,e,aQ(o,E)),f.vars.scrollX=B(e)),e=(d=t())+-(.05*g*a.velocityY)/.227,g*=b2(t,d,e,aQ(o,F)),f.vars.scrollY=C(e),f.invalidate().duration(g).play(.01),(an&&f.vars.scrollY>=c||d>=c-1)&&P.to({},{onUpdate:K,duration:g})}else i.restart(!0);n&&n(a)},a.onWheel=function(){f._ts&&f.pause(),aA()-x>1e3&&(d=0,x=aA())},a.onChange=function(a,b,c,e,f){if(bF!==d&&D(),b&&k&&u(B(e[2]===b?g+(a.startX-a.x):u()+b-e[1])),c){t.offset&&H();var i=f[2]===c,j=i?h+a.startY-a.y:t()+c-f[1],l=C(j);i&&j!==l&&(h+=l-j),t(l)}(c||b)&&bM()},a.onEnable=function(){b3(o,!k&&"x"),b0.addEventListener("refresh",K),bh(R,"resize",K),t.smooth&&(t.target.style.scrollBehavior="auto",t.smooth=u.smooth=!1),z.enable()},a.onDisable=function(){b3(o,!0),bi(R,"resize",K),b0.removeEventListener("refresh",K),z.kill()},a.lockAxis=!1!==a.lockAxis,(b=new O(a)).iOS=an,an&&!t()&&t(1),an&&P.ticker.add(aI),i=b._dc,f=P.to(b,{ease:"power4",paused:!0,inherit:!1,scrollX:k?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:bZ(t,t(),function(){return f.pause()})},onUpdate:bM,onComplete:i.vars.onComplete}),b};b0.sort=function(a){if(aT(a))return bq.sort(a);var b=R.pageYOffset||0;return b0.getAll().forEach(function(a){return a._sortY=a.trigger?b+a.trigger.getBoundingClientRect().top:a.start+R.innerHeight}),bq.sort(a||function(a,b){return -1e6*(a.vars.refreshPriority||0)+(a.vars.containerAnimation?1e6:a._sortY)-((b.vars.containerAnimation?1e6:b._sortY)+-1e6*(b.vars.refreshPriority||0))})},b0.observe=function(a){return new O(a)},b0.normalizeScroll=function(a){if(void 0===a)return aj;if(!0===a&&aj)return aj.enable();if(!1===a){aj&&aj.kill(),aj=a;return}var b=a instanceof O?a:b9(a);return aj&&aj.target===b.target&&aj.kill(),aM(b.target)&&(aj=b),b},b0.core={_getVelocityProp:J,_inputObserver:b6,_scrollers:r,_proxies:s,bridge:{ss:function(){aC||bz("scrollStart"),aC=aA()},ref:function(){return _}}},aL()&&P.registerPlugin(b0),a.s(["ScrollTrigger",0,b0],81783)}]; - -//# sourceMappingURL=node_modules_gsap_0xy-.4m._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js.map b/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js.map deleted file mode 100644 index 339de55..0000000 --- a/.next/server/chunks/ssr/node_modules_gsap_0xy-.4m._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/gsap/gsap-core.js","../../../../node_modules/gsap/CSSPlugin.js","../../../../node_modules/gsap/index.js","../../../../node_modules/gsap/Observer.js","../../../../node_modules/gsap/ScrollTrigger.js"],"sourcesContent":["function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/*!\n * GSAP 3.15.0\n * https://gsap.com\n *\n * @license Copyright 2008-2026, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n\n/* eslint-disable */\nvar _config = {\n autoSleep: 120,\n force3D: \"auto\",\n nullTargetWarn: 1,\n units: {\n lineHeight: \"\"\n }\n},\n _defaults = {\n duration: .5,\n overwrite: false,\n delay: 0\n},\n _suppressOverwrites,\n _reverting,\n _context,\n _bigNum = 1e8,\n _tinyNum = 1 / _bigNum,\n _2PI = Math.PI * 2,\n _HALF_PI = _2PI / 4,\n _gsID = 0,\n _sqrt = Math.sqrt,\n _cos = Math.cos,\n _sin = Math.sin,\n _isString = function _isString(value) {\n return typeof value === \"string\";\n},\n _isFunction = function _isFunction(value) {\n return typeof value === \"function\";\n},\n _isNumber = function _isNumber(value) {\n return typeof value === \"number\";\n},\n _isUndefined = function _isUndefined(value) {\n return typeof value === \"undefined\";\n},\n _isObject = function _isObject(value) {\n return typeof value === \"object\";\n},\n _isNotFalse = function _isNotFalse(value) {\n return value !== false;\n},\n _windowExists = function _windowExists() {\n return typeof window !== \"undefined\";\n},\n _isFuncOrString = function _isFuncOrString(value) {\n return _isFunction(value) || _isString(value);\n},\n _isTypedArray = typeof ArrayBuffer === \"function\" && ArrayBuffer.isView || function () {},\n // note: IE10 has ArrayBuffer, but NOT ArrayBuffer.isView().\n_isArray = Array.isArray,\n _randomExp = /random\\([^)]+\\)/g,\n _commaDelimExp = /,\\s*/g,\n _strictNumExp = /(?:-?\\.?\\d|\\.)+/gi,\n //only numbers (including negatives and decimals) but NOT relative values.\n_numExp = /[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,\n //finds any numbers, including ones that start with += or -=, negative numbers, and ones in scientific notation like 1e-8.\n_numWithUnitExp = /[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,\n _complexStringNumExp = /[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,\n //duplicate so that while we're looping through matches from exec(), it doesn't contaminate the lastIndex of _numExp which we use to search for colors too.\n_relExp = /[+-]=-?[.\\d]+/,\n _delimitedValueExp = /[^,'\"\\[\\]\\s]+/gi,\n // previously /[#\\-+.]*\\b[a-z\\d\\-=+%.]+/gi but didn't catch special characters.\n_unitExp = /^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,\n _globalTimeline,\n _win,\n _coreInitted,\n _doc,\n _globals = {},\n _installScope = {},\n _coreReady,\n _install = function _install(scope) {\n return (_installScope = _merge(scope, _globals)) && gsap;\n},\n _missingPlugin = function _missingPlugin(property, value) {\n return console.warn(\"Invalid property\", property, \"set to\", value, \"Missing plugin? gsap.registerPlugin()\");\n},\n _warn = function _warn(message, suppress) {\n return !suppress && console.warn(message);\n},\n _addGlobal = function _addGlobal(name, obj) {\n return name && (_globals[name] = obj) && _installScope && (_installScope[name] = obj) || _globals;\n},\n _emptyFunc = function _emptyFunc() {\n return 0;\n},\n _startAtRevertConfig = {\n suppressEvents: true,\n isStart: true,\n kill: false\n},\n _revertConfigNoKill = {\n suppressEvents: true,\n kill: false\n},\n _revertConfig = {\n suppressEvents: true\n},\n _reservedProps = {},\n _lazyTweens = [],\n _lazyLookup = {},\n _lastRenderedFrame,\n _plugins = {},\n _effects = {},\n _nextGCFrame = 30,\n _harnessPlugins = [],\n _callbackNames = \"\",\n _harness = function _harness(targets) {\n var target = targets[0],\n harnessPlugin,\n i;\n _isObject(target) || _isFunction(target) || (targets = [targets]);\n\n if (!(harnessPlugin = (target._gsap || {}).harness)) {\n // find the first target with a harness. We assume targets passed into an animation will be of similar type, meaning the same kind of harness can be used for them all (performance optimization)\n i = _harnessPlugins.length;\n\n while (i-- && !_harnessPlugins[i].targetTest(target)) {}\n\n harnessPlugin = _harnessPlugins[i];\n }\n\n i = targets.length;\n\n while (i--) {\n targets[i] && (targets[i]._gsap || (targets[i]._gsap = new GSCache(targets[i], harnessPlugin))) || targets.splice(i, 1);\n }\n\n return targets;\n},\n _getCache = function _getCache(target) {\n return target._gsap || _harness(toArray(target))[0]._gsap;\n},\n _getProperty = function _getProperty(target, property, v) {\n return (v = target[property]) && _isFunction(v) ? target[property]() : _isUndefined(v) && target.getAttribute && target.getAttribute(property) || v;\n},\n _forEachName = function _forEachName(names, func) {\n return (names = names.split(\",\")).forEach(func) || names;\n},\n //split a comma-delimited list of names into an array, then run a forEach() function and return the split array (this is just a way to consolidate/shorten some code).\n_round = function _round(value) {\n return Math.round(value * 100000) / 100000 || 0;\n},\n _roundPrecise = function _roundPrecise(value) {\n return Math.round(value * 10000000) / 10000000 || 0;\n},\n // increased precision mostly for timing values.\n_parseRelative = function _parseRelative(start, value) {\n var operator = value.charAt(0),\n end = parseFloat(value.substr(2));\n start = parseFloat(start);\n return operator === \"+\" ? start + end : operator === \"-\" ? start - end : operator === \"*\" ? start * end : start / end;\n},\n _arrayContainsAny = function _arrayContainsAny(toSearch, toFind) {\n //searches one array to find matches for any of the items in the toFind array. As soon as one is found, it returns true. It does NOT return all the matches; it's simply a boolean search.\n var l = toFind.length,\n i = 0;\n\n for (; toSearch.indexOf(toFind[i]) < 0 && ++i < l;) {}\n\n return i < l;\n},\n _lazyRender = function _lazyRender() {\n var l = _lazyTweens.length,\n a = _lazyTweens.slice(0),\n i,\n tween;\n\n _lazyLookup = {};\n _lazyTweens.length = 0;\n\n for (i = 0; i < l; i++) {\n tween = a[i];\n tween && tween._lazy && (tween.render(tween._lazy[0], tween._lazy[1], true)._lazy = 0);\n }\n},\n _isRevertWorthy = function _isRevertWorthy(animation) {\n return !!(animation._initted || animation._startAt || animation.add);\n},\n _lazySafeRender = function _lazySafeRender(animation, time, suppressEvents, force) {\n _lazyTweens.length && !_reverting && _lazyRender();\n animation.render(time, suppressEvents, force || !!(_reverting && time < 0 && _isRevertWorthy(animation)));\n _lazyTweens.length && !_reverting && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render.\n},\n _numericIfPossible = function _numericIfPossible(value) {\n var n = parseFloat(value);\n return (n || n === 0) && (value + \"\").match(_delimitedValueExp).length < 2 ? n : _isString(value) ? value.trim() : value;\n},\n _passThrough = function _passThrough(p) {\n return p;\n},\n _setDefaults = function _setDefaults(obj, defaults) {\n for (var p in defaults) {\n p in obj || (obj[p] = defaults[p]);\n }\n\n return obj;\n},\n _setKeyframeDefaults = function _setKeyframeDefaults(excludeDuration) {\n return function (obj, defaults) {\n for (var p in defaults) {\n p in obj || p === \"duration\" && excludeDuration || p === \"ease\" || (obj[p] = defaults[p]);\n }\n };\n},\n _merge = function _merge(base, toMerge) {\n for (var p in toMerge) {\n base[p] = toMerge[p];\n }\n\n return base;\n},\n _mergeDeep = function _mergeDeep(base, toMerge) {\n for (var p in toMerge) {\n p !== \"__proto__\" && p !== \"constructor\" && p !== \"prototype\" && (base[p] = _isObject(toMerge[p]) ? _mergeDeep(base[p] || (base[p] = {}), toMerge[p]) : toMerge[p]);\n }\n\n return base;\n},\n _copyExcluding = function _copyExcluding(obj, excluding) {\n var copy = {},\n p;\n\n for (p in obj) {\n p in excluding || (copy[p] = obj[p]);\n }\n\n return copy;\n},\n _inheritDefaults = function _inheritDefaults(vars) {\n var parent = vars.parent || _globalTimeline,\n func = vars.keyframes ? _setKeyframeDefaults(_isArray(vars.keyframes)) : _setDefaults;\n\n if (_isNotFalse(vars.inherit)) {\n while (parent) {\n func(vars, parent.vars.defaults);\n parent = parent.parent || parent._dp;\n }\n }\n\n return vars;\n},\n _arraysMatch = function _arraysMatch(a1, a2) {\n var i = a1.length,\n match = i === a2.length;\n\n while (match && i-- && a1[i] === a2[i]) {}\n\n return i < 0;\n},\n _addLinkedListItem = function _addLinkedListItem(parent, child, firstProp, lastProp, sortBy) {\n if (firstProp === void 0) {\n firstProp = \"_first\";\n }\n\n if (lastProp === void 0) {\n lastProp = \"_last\";\n }\n\n var prev = parent[lastProp],\n t;\n\n if (sortBy) {\n t = child[sortBy];\n\n while (prev && prev[sortBy] > t) {\n prev = prev._prev;\n }\n }\n\n if (prev) {\n child._next = prev._next;\n prev._next = child;\n } else {\n child._next = parent[firstProp];\n parent[firstProp] = child;\n }\n\n if (child._next) {\n child._next._prev = child;\n } else {\n parent[lastProp] = child;\n }\n\n child._prev = prev;\n child.parent = child._dp = parent;\n return child;\n},\n _removeLinkedListItem = function _removeLinkedListItem(parent, child, firstProp, lastProp) {\n if (firstProp === void 0) {\n firstProp = \"_first\";\n }\n\n if (lastProp === void 0) {\n lastProp = \"_last\";\n }\n\n var prev = child._prev,\n next = child._next;\n\n if (prev) {\n prev._next = next;\n } else if (parent[firstProp] === child) {\n parent[firstProp] = next;\n }\n\n if (next) {\n next._prev = prev;\n } else if (parent[lastProp] === child) {\n parent[lastProp] = prev;\n }\n\n child._next = child._prev = child.parent = null; // don't delete the _dp just so we can revert if necessary. But parent should be null to indicate the item isn't in a linked list.\n},\n _removeFromParent = function _removeFromParent(child, onlyIfParentHasAutoRemove) {\n child.parent && (!onlyIfParentHasAutoRemove || child.parent.autoRemoveChildren) && child.parent.remove && child.parent.remove(child);\n child._act = 0;\n},\n _uncache = function _uncache(animation, child) {\n if (animation && (!child || child._end > animation._dur || child._start < 0)) {\n // performance optimization: if a child animation is passed in we should only uncache if that child EXTENDS the animation (its end time is beyond the end)\n var a = animation;\n\n while (a) {\n a._dirty = 1;\n a = a.parent;\n }\n }\n\n return animation;\n},\n _recacheAncestors = function _recacheAncestors(animation) {\n var parent = animation.parent;\n\n while (parent && parent.parent) {\n //sometimes we must force a re-sort of all children and update the duration/totalDuration of all ancestor timelines immediately in case, for example, in the middle of a render loop, one tween alters another tween's timeScale which shoves its startTime before 0, forcing the parent timeline to shift around and shiftChildren() which could affect that next tween's render (startTime). Doesn't matter for the root timeline though.\n parent._dirty = 1;\n parent.totalDuration();\n parent = parent.parent;\n }\n\n return animation;\n},\n _rewindStartAt = function _rewindStartAt(tween, totalTime, suppressEvents, force) {\n return tween._startAt && (_reverting ? tween._startAt.revert(_revertConfigNoKill) : tween.vars.immediateRender && !tween.vars.autoRevert || tween._startAt.render(totalTime, true, force));\n},\n _hasNoPausedAncestors = function _hasNoPausedAncestors(animation) {\n return !animation || animation._ts && _hasNoPausedAncestors(animation.parent);\n},\n _elapsedCycleDuration = function _elapsedCycleDuration(animation) {\n return animation._repeat ? _animationCycle(animation._tTime, animation = animation.duration() + animation._rDelay) * animation : 0;\n},\n // feed in the totalTime and cycleDuration and it'll return the cycle (iteration minus 1) and if the playhead is exactly at the very END, it will NOT bump up to the next cycle.\n_animationCycle = function _animationCycle(tTime, cycleDuration) {\n var whole = Math.floor(tTime = _roundPrecise(tTime / cycleDuration));\n return tTime && whole === tTime ? whole - 1 : whole;\n},\n _parentToChildTotalTime = function _parentToChildTotalTime(parentTime, child) {\n return (parentTime - child._start) * child._ts + (child._ts >= 0 ? 0 : child._dirty ? child.totalDuration() : child._tDur);\n},\n _setEnd = function _setEnd(animation) {\n return animation._end = _roundPrecise(animation._start + (animation._tDur / Math.abs(animation._ts || animation._rts || _tinyNum) || 0));\n},\n _alignPlayhead = function _alignPlayhead(animation, totalTime) {\n // adjusts the animation's _start and _end according to the provided totalTime (only if the parent's smoothChildTiming is true and the animation isn't paused). It doesn't do any rendering or forcing things back into parent timelines, etc. - that's what totalTime() is for.\n var parent = animation._dp;\n\n if (parent && parent.smoothChildTiming && animation._ts) {\n animation._start = _roundPrecise(parent._time - (animation._ts > 0 ? totalTime / animation._ts : ((animation._dirty ? animation.totalDuration() : animation._tDur) - totalTime) / -animation._ts));\n\n _setEnd(animation);\n\n parent._dirty || _uncache(parent, animation); //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here.\n }\n\n return animation;\n},\n\n/*\n_totalTimeToTime = (clampedTotalTime, duration, repeat, repeatDelay, yoyo) => {\n\tlet cycleDuration = duration + repeatDelay,\n\t\ttime = _round(clampedTotalTime % cycleDuration);\n\tif (time > duration) {\n\t\ttime = duration;\n\t}\n\treturn (yoyo && (~~(clampedTotalTime / cycleDuration) & 1)) ? duration - time : time;\n},\n*/\n_postAddChecks = function _postAddChecks(timeline, child) {\n var t;\n\n if (child._time || !child._dur && child._initted || child._start < timeline._time && (child._dur || !child.add)) {\n // in case, for example, the _start is moved on a tween that has already rendered, or if it's being inserted into a timeline BEFORE where the playhead is currently. Imagine it's at its end state, then the startTime is moved WAY later (after the end of this timeline), it should render at its beginning. Special case: if it's a timeline (has .add() method) and no duration, we can skip rendering because the user may be populating it AFTER adding it to a parent timeline (unconventional, but possible, and we wouldn't want it to get removed if the parent's autoRemoveChildren is true).\n t = _parentToChildTotalTime(timeline.rawTime(), child);\n\n if (!child._dur || _clamp(0, child.totalDuration(), t) - child._tTime > _tinyNum) {\n child.render(t, true);\n }\n } //if the timeline has already ended but the inserted tween/timeline extends the duration, we should enable this timeline again so that it renders properly. We should also align the playhead with the parent timeline's when appropriate.\n\n\n if (_uncache(timeline, child)._dp && timeline._initted && timeline._time >= timeline._dur && timeline._ts) {\n //in case any of the ancestors had completed but should now be enabled...\n if (timeline._dur < timeline.duration()) {\n t = timeline;\n\n while (t._dp) {\n t.rawTime() >= 0 && t.totalTime(t._tTime); //moves the timeline (shifts its startTime) if necessary, and also enables it. If it's currently zero, though, it may not be scheduled to render until later so there's no need to force it to align with the current playhead position. Only move to catch up with the playhead.\n\n t = t._dp;\n }\n }\n\n timeline._zTime = -_tinyNum; // helps ensure that the next render() will be forced (crossingStart = true in render()), even if the duration hasn't changed (we're adding a child which would need to get rendered). Definitely an edge case. Note: we MUST do this AFTER the loop above where the totalTime() might trigger a render() because this _addToTimeline() method gets called from the Animation constructor, BEFORE tweens even record their targets, etc. so we wouldn't want things to get triggered in the wrong order.\n }\n},\n _addToTimeline = function _addToTimeline(timeline, child, position, skipChecks) {\n child.parent && _removeFromParent(child);\n child._start = _roundPrecise((_isNumber(position) ? position : position || timeline !== _globalTimeline ? _parsePosition(timeline, position, child) : timeline._time) + child._delay);\n child._end = _roundPrecise(child._start + (child.totalDuration() / Math.abs(child.timeScale()) || 0));\n\n _addLinkedListItem(timeline, child, \"_first\", \"_last\", timeline._sort ? \"_start\" : 0);\n\n _isFromOrFromStart(child) || (timeline._recent = child);\n skipChecks || _postAddChecks(timeline, child);\n timeline._ts < 0 && _alignPlayhead(timeline, timeline._tTime); // if the timeline is reversed and the new child makes it longer, we may need to adjust the parent's _start (push it back)\n\n return timeline;\n},\n _scrollTrigger = function _scrollTrigger(animation, trigger) {\n return (_globals.ScrollTrigger || _missingPlugin(\"scrollTrigger\", trigger)) && _globals.ScrollTrigger.create(trigger, animation);\n},\n _attemptInitTween = function _attemptInitTween(tween, time, force, suppressEvents, tTime) {\n _initTween(tween, time, tTime);\n\n if (!tween._initted) {\n return 1;\n }\n\n if (!force && tween._pt && !_reverting && (tween._dur && tween.vars.lazy !== false || !tween._dur && tween.vars.lazy) && _lastRenderedFrame !== _ticker.frame) {\n _lazyTweens.push(tween);\n\n tween._lazy = [tTime, suppressEvents];\n return 1;\n }\n},\n _parentPlayheadIsBeforeStart = function _parentPlayheadIsBeforeStart(_ref) {\n var parent = _ref.parent;\n return parent && parent._ts && parent._initted && !parent._lock && (parent.rawTime() < 0 || _parentPlayheadIsBeforeStart(parent));\n},\n // check parent's _lock because when a timeline repeats/yoyos and does its artificial wrapping, we shouldn't force the ratio back to 0\n_isFromOrFromStart = function _isFromOrFromStart(_ref2) {\n var data = _ref2.data;\n return data === \"isFromStart\" || data === \"isStart\";\n},\n _renderZeroDurationTween = function _renderZeroDurationTween(tween, totalTime, suppressEvents, force) {\n var prevRatio = tween.ratio,\n ratio = totalTime < 0 || !totalTime && (!tween._start && _parentPlayheadIsBeforeStart(tween) && !(!tween._initted && _isFromOrFromStart(tween)) || (tween._ts < 0 || tween._dp._ts < 0) && !_isFromOrFromStart(tween)) ? 0 : 1,\n // if the tween or its parent is reversed and the totalTime is 0, we should go to a ratio of 0. Edge case: if a from() or fromTo() stagger tween is placed later in a timeline, the \"startAt\" zero-duration tween could initially render at a time when the parent timeline's playhead is technically BEFORE where this tween is, so make sure that any \"from\" and \"fromTo\" startAt tweens are rendered the first time at a ratio of 1.\n repeatDelay = tween._rDelay,\n tTime = 0,\n pt,\n iteration,\n prevIteration;\n\n if (repeatDelay && tween._repeat) {\n // in case there's a zero-duration tween that has a repeat with a repeatDelay\n tTime = _clamp(0, tween._tDur, totalTime);\n iteration = _animationCycle(tTime, repeatDelay);\n tween._yoyo && iteration & 1 && (ratio = 1 - ratio);\n\n if (iteration !== _animationCycle(tween._tTime, repeatDelay)) {\n // if iteration changed\n prevRatio = 1 - ratio;\n tween.vars.repeatRefresh && tween._initted && tween.invalidate();\n }\n }\n\n if (ratio !== prevRatio || _reverting || force || tween._zTime === _tinyNum || !totalTime && tween._zTime) {\n if (!tween._initted && _attemptInitTween(tween, totalTime, force, suppressEvents, tTime)) {\n // if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately.\n return;\n }\n\n prevIteration = tween._zTime;\n tween._zTime = totalTime || (suppressEvents ? _tinyNum : 0); // when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect.\n\n suppressEvents || (suppressEvents = totalTime && !prevIteration); // if it was rendered previously at exactly 0 (_zTime) and now the playhead is moving away, DON'T fire callbacks otherwise they'll seem like duplicates.\n\n tween.ratio = ratio;\n tween._from && (ratio = 1 - ratio);\n tween._time = 0;\n tween._tTime = tTime;\n pt = tween._pt;\n\n while (pt) {\n pt.r(ratio, pt.d);\n pt = pt._next;\n }\n\n totalTime < 0 && _rewindStartAt(tween, totalTime, suppressEvents, true);\n tween._onUpdate && !suppressEvents && _callback(tween, \"onUpdate\");\n tTime && tween._repeat && !suppressEvents && tween.parent && _callback(tween, \"onRepeat\");\n\n if ((totalTime >= tween._tDur || totalTime < 0) && tween.ratio === ratio) {\n ratio && _removeFromParent(tween, 1);\n\n if (!suppressEvents && !_reverting) {\n _callback(tween, ratio ? \"onComplete\" : \"onReverseComplete\", true);\n\n tween._prom && tween._prom();\n }\n }\n } else if (!tween._zTime) {\n tween._zTime = totalTime;\n }\n},\n _findNextPauseTween = function _findNextPauseTween(animation, prevTime, time) {\n var child;\n\n if (time > prevTime) {\n child = animation._first;\n\n while (child && child._start <= time) {\n if (child.data === \"isPause\" && child._start > prevTime) {\n return child;\n }\n\n child = child._next;\n }\n } else {\n child = animation._last;\n\n while (child && child._start >= time) {\n if (child.data === \"isPause\" && child._start < prevTime) {\n return child;\n }\n\n child = child._prev;\n }\n }\n},\n _setDuration = function _setDuration(animation, duration, skipUncache, leavePlayhead) {\n var repeat = animation._repeat,\n dur = _roundPrecise(duration) || 0,\n totalProgress = animation._tTime / animation._tDur;\n totalProgress && !leavePlayhead && (animation._time *= dur / animation._dur);\n animation._dur = dur;\n animation._tDur = !repeat ? dur : repeat < 0 ? 1e10 : _roundPrecise(dur * (repeat + 1) + animation._rDelay * repeat);\n totalProgress > 0 && !leavePlayhead && _alignPlayhead(animation, animation._tTime = animation._tDur * totalProgress);\n animation.parent && _setEnd(animation);\n skipUncache || _uncache(animation.parent, animation);\n return animation;\n},\n _onUpdateTotalDuration = function _onUpdateTotalDuration(animation) {\n return animation instanceof Timeline ? _uncache(animation) : _setDuration(animation, animation._dur);\n},\n _zeroPosition = {\n _start: 0,\n endTime: _emptyFunc,\n totalDuration: _emptyFunc\n},\n _parsePosition = function _parsePosition(animation, position, percentAnimation) {\n var labels = animation.labels,\n recent = animation._recent || _zeroPosition,\n clippedDuration = animation.duration() >= _bigNum ? recent.endTime(false) : animation._dur,\n //in case there's a child that infinitely repeats, users almost never intend for the insertion point of a new child to be based on a SUPER long value like that so we clip it and assume the most recently-added child's endTime should be used instead.\n i,\n offset,\n isPercent;\n\n if (_isString(position) && (isNaN(position) || position in labels)) {\n //if the string is a number like \"1\", check to see if there's a label with that name, otherwise interpret it as a number (absolute value).\n offset = position.charAt(0);\n isPercent = position.substr(-1) === \"%\";\n i = position.indexOf(\"=\");\n\n if (offset === \"<\" || offset === \">\") {\n i >= 0 && (position = position.replace(/=/, \"\"));\n return (offset === \"<\" ? recent._start : recent.endTime(recent._repeat >= 0)) + (parseFloat(position.substr(1)) || 0) * (isPercent ? (i < 0 ? recent : percentAnimation).totalDuration() / 100 : 1);\n }\n\n if (i < 0) {\n position in labels || (labels[position] = clippedDuration);\n return labels[position];\n }\n\n offset = parseFloat(position.charAt(i - 1) + position.substr(i + 1));\n\n if (isPercent && percentAnimation) {\n offset = offset / 100 * (_isArray(percentAnimation) ? percentAnimation[0] : percentAnimation).totalDuration();\n }\n\n return i > 1 ? _parsePosition(animation, position.substr(0, i - 1), percentAnimation) + offset : clippedDuration + offset;\n }\n\n return position == null ? clippedDuration : +position;\n},\n _createTweenType = function _createTweenType(type, params, timeline) {\n var isLegacy = _isNumber(params[1]),\n varsIndex = (isLegacy ? 2 : 1) + (type < 2 ? 0 : 1),\n vars = params[varsIndex],\n irVars,\n parent;\n\n isLegacy && (vars.duration = params[1]);\n vars.parent = timeline;\n\n if (type) {\n irVars = vars;\n parent = timeline;\n\n while (parent && !(\"immediateRender\" in irVars)) {\n // inheritance hasn't happened yet, but someone may have set a default in an ancestor timeline. We could do vars.immediateRender = _isNotFalse(_inheritDefaults(vars).immediateRender) but that'd exact a slight performance penalty because _inheritDefaults() also runs in the Tween constructor. We're paying a small kb price here to gain speed.\n irVars = parent.vars.defaults || {};\n parent = _isNotFalse(parent.vars.inherit) && parent.parent;\n }\n\n vars.immediateRender = _isNotFalse(irVars.immediateRender);\n type < 2 ? vars.runBackwards = 1 : vars.startAt = params[varsIndex - 1]; // \"from\" vars\n }\n\n return new Tween(params[0], vars, params[varsIndex + 1]);\n},\n _conditionalReturn = function _conditionalReturn(value, func) {\n return value || value === 0 ? func(value) : func;\n},\n _clamp = function _clamp(min, max, value) {\n return value < min ? min : value > max ? max : value;\n},\n getUnit = function getUnit(value, v) {\n return !_isString(value) || !(v = _unitExp.exec(value)) ? \"\" : v[1];\n},\n // note: protect against padded numbers as strings, like \"100.100\". That shouldn't return \"00\" as the unit. If it's numeric, return no unit.\nclamp = function clamp(min, max, value) {\n return _conditionalReturn(value, function (v) {\n return _clamp(min, max, v);\n });\n},\n _slice = [].slice,\n _isArrayLike = function _isArrayLike(value, nonEmpty) {\n return value && _isObject(value) && \"length\" in value && (!nonEmpty && !value.length || value.length - 1 in value && _isObject(value[0])) && !value.nodeType && value !== _win;\n},\n _flatten = function _flatten(ar, leaveStrings, accumulator) {\n if (accumulator === void 0) {\n accumulator = [];\n }\n\n return ar.forEach(function (value) {\n var _accumulator;\n\n return _isString(value) && !leaveStrings || _isArrayLike(value, 1) ? (_accumulator = accumulator).push.apply(_accumulator, toArray(value)) : accumulator.push(value);\n }) || accumulator;\n},\n // takes any value and returns an Array. If it's a string (and leaveStrings isn't true), it'll use document.querySelectorAll() and convert that to an array. It'll also accept iterables like jQuery objects.\ntoArray = function toArray(value, scope, leaveStrings) {\n return _context && !scope && _context.selector ? _context.selector(value) : _isString(value) && !leaveStrings && (_coreInitted || !_wake()) ? _slice.call((scope || _doc).querySelectorAll(value), 0) : _isArray(value) ? _flatten(value, leaveStrings) : _isArrayLike(value) ? _slice.call(value, 0) : value ? [value] : [];\n},\n selector = function selector(value) {\n value = toArray(value)[0] || _warn(\"Invalid scope\") || {};\n return function (v) {\n var el = value.current || value.nativeElement || value;\n return toArray(v, el.querySelectorAll ? el : el === value ? _warn(\"Invalid scope\") || _doc.createElement(\"div\") : value);\n };\n},\n shuffle = function shuffle(a) {\n return a.sort(function () {\n return .5 - Math.random();\n });\n},\n // alternative that's a bit faster and more reliably diverse but bigger: for (let j, v, i = a.length; i; j = (Math.random() * i) | 0, v = a[--i], a[i] = a[j], a[j] = v); return a;\n// for distributing values across an Array. Can accept a number, a function or (most commonly) an object which can contain the following properties: {base, amount, from, ease, grid, axis, length, each}. Returns a function that expects the following parameters: index, target, array.\ndistribute = function distribute(v) {\n if (_isFunction(v)) {\n return v;\n }\n\n var vars = _isObject(v) ? v : {\n each: v\n },\n //n:1 is just to indicate v was a number; we leverage that later to set v according to the length we get. If a number is passed in, we treat it like the old stagger value where 0.1, for example, would mean that things would be distributed with 0.1 between each element in the array rather than a total \"amount\" that's chunked out among them all.\n ease = _parseEase(vars.ease),\n from = vars.from || 0,\n base = parseFloat(vars.base) || 0,\n cache = {},\n isDecimal = from > 0 && from < 1,\n ratios = isNaN(from) || isDecimal,\n axis = vars.axis,\n ratioX = from,\n ratioY = from;\n\n if (_isString(from)) {\n ratioX = ratioY = {\n center: .5,\n edges: .5,\n end: 1\n }[from] || 0;\n } else if (!isDecimal && ratios) {\n ratioX = from[0];\n ratioY = from[1];\n }\n\n return function (i, target, a) {\n var l = (a || vars).length,\n distances = cache[l],\n originX,\n originY,\n x,\n y,\n d,\n j,\n max,\n min,\n wrapAt;\n\n if (!distances) {\n wrapAt = vars.grid === \"auto\" ? 0 : (vars.grid || [1, _bigNum])[1];\n\n if (!wrapAt) {\n max = -_bigNum;\n\n while (max < (max = a[wrapAt++].getBoundingClientRect().left) && wrapAt < l) {}\n\n wrapAt < l && wrapAt--;\n }\n\n distances = cache[l] = [];\n originX = ratios ? Math.min(wrapAt, l) * ratioX - .5 : from % wrapAt;\n originY = wrapAt === _bigNum ? 0 : ratios ? l * ratioY / wrapAt - .5 : from / wrapAt | 0;\n max = 0;\n min = _bigNum;\n\n for (j = 0; j < l; j++) {\n x = j % wrapAt - originX;\n y = originY - (j / wrapAt | 0);\n distances[j] = d = !axis ? _sqrt(x * x + y * y) : Math.abs(axis === \"y\" ? y : x);\n d > max && (max = d);\n d < min && (min = d);\n }\n\n from === \"random\" && shuffle(distances);\n distances.max = max - min;\n distances.min = min;\n distances.v = l = (parseFloat(vars.amount) || parseFloat(vars.each) * (wrapAt > l ? l - 1 : !axis ? Math.max(wrapAt, l / wrapAt) : axis === \"y\" ? l / wrapAt : wrapAt) || 0) * (from === \"edges\" ? -1 : 1);\n distances.b = l < 0 ? base - l : base;\n distances.u = getUnit(vars.amount || vars.each) || 0; //unit\n\n ease = ease && l < 0 ? _invertEase(ease) : ease;\n }\n\n l = (distances[i] - distances.min) / distances.max || 0;\n return _roundPrecise(distances.b + (ease ? ease(l) : l) * distances.v) + distances.u; //round in order to work around floating point errors\n };\n},\n _roundModifier = function _roundModifier(v) {\n //pass in 0.1 get a function that'll round to the nearest tenth, or 5 to round to the closest 5, or 0.001 to the closest 1000th, etc.\n var p = Math.pow(10, ((v + \"\").split(\".\")[1] || \"\").length); //to avoid floating point math errors (like 24 * 0.1 == 2.4000000000000004), we chop off at a specific number of decimal places (much faster than toFixed())\n\n return function (raw) {\n var n = _roundPrecise(Math.round(parseFloat(raw) / v) * v * p);\n\n return (n - n % 1) / p + (_isNumber(raw) ? 0 : getUnit(raw)); // n - n % 1 replaces Math.floor() in order to handle negative values properly. For example, Math.floor(-150.00000000000003) is 151!\n };\n},\n snap = function snap(snapTo, value) {\n var isArray = _isArray(snapTo),\n radius,\n is2D;\n\n if (!isArray && _isObject(snapTo)) {\n radius = isArray = snapTo.radius || _bigNum;\n\n if (snapTo.values) {\n snapTo = toArray(snapTo.values);\n\n if (is2D = !_isNumber(snapTo[0])) {\n radius *= radius; //performance optimization so we don't have to Math.sqrt() in the loop.\n }\n } else {\n snapTo = _roundModifier(snapTo.increment);\n }\n }\n\n return _conditionalReturn(value, !isArray ? _roundModifier(snapTo) : _isFunction(snapTo) ? function (raw) {\n is2D = snapTo(raw);\n return Math.abs(is2D - raw) <= radius ? is2D : raw;\n } : function (raw) {\n var x = parseFloat(is2D ? raw.x : raw),\n y = parseFloat(is2D ? raw.y : 0),\n min = _bigNum,\n closest = 0,\n i = snapTo.length,\n dx,\n dy;\n\n while (i--) {\n if (is2D) {\n dx = snapTo[i].x - x;\n dy = snapTo[i].y - y;\n dx = dx * dx + dy * dy;\n } else {\n dx = Math.abs(snapTo[i] - x);\n }\n\n if (dx < min) {\n min = dx;\n closest = i;\n }\n }\n\n closest = !radius || min <= radius ? snapTo[closest] : raw;\n return is2D || closest === raw || _isNumber(raw) ? closest : closest + getUnit(raw);\n });\n},\n random = function random(min, max, roundingIncrement, returnFunction) {\n return _conditionalReturn(_isArray(min) ? !max : roundingIncrement === true ? !!(roundingIncrement = 0) : !returnFunction, function () {\n return _isArray(min) ? min[~~(Math.random() * min.length)] : (roundingIncrement = roundingIncrement || 1e-5) && (returnFunction = roundingIncrement < 1 ? Math.pow(10, (roundingIncrement + \"\").length - 2) : 1) && Math.floor(Math.round((min - roundingIncrement / 2 + Math.random() * (max - min + roundingIncrement * .99)) / roundingIncrement) * roundingIncrement * returnFunction) / returnFunction;\n });\n},\n pipe = function pipe() {\n for (var _len = arguments.length, functions = new Array(_len), _key = 0; _key < _len; _key++) {\n functions[_key] = arguments[_key];\n }\n\n return function (value) {\n return functions.reduce(function (v, f) {\n return f(v);\n }, value);\n };\n},\n unitize = function unitize(func, unit) {\n return function (value) {\n return func(parseFloat(value)) + (unit || getUnit(value));\n };\n},\n normalize = function normalize(min, max, value) {\n return mapRange(min, max, 0, 1, value);\n},\n _wrapArray = function _wrapArray(a, wrapper, value) {\n return _conditionalReturn(value, function (index) {\n return a[~~wrapper(index)];\n });\n},\n wrap = function wrap(min, max, value) {\n // NOTE: wrap() CANNOT be an arrow function! A very odd compiling bug causes problems (unrelated to GSAP).\n var range = max - min;\n return _isArray(min) ? _wrapArray(min, wrap(0, min.length), max) : _conditionalReturn(value, function (value) {\n return (range + (value - min) % range) % range + min;\n });\n},\n wrapYoyo = function wrapYoyo(min, max, value) {\n var range = max - min,\n total = range * 2;\n return _isArray(min) ? _wrapArray(min, wrapYoyo(0, min.length - 1), max) : _conditionalReturn(value, function (value) {\n value = (total + (value - min) % total) % total || 0;\n return min + (value > range ? total - value : value);\n });\n},\n _replaceRandom = function _replaceRandom(s) {\n return s.replace(_randomExp, function (match) {\n //replaces all occurrences of random(...) in a string with the calculated random value. can be a range like random(-100, 100, 5) or an array like random([0, 100, 500])\n var arIndex = match.indexOf(\"[\") + 1,\n values = match.substring(arIndex || 7, arIndex ? match.indexOf(\"]\") : match.length - 1).split(_commaDelimExp);\n return random(arIndex ? values : +values[0], arIndex ? 0 : +values[1], +values[2] || 1e-5);\n });\n},\n mapRange = function mapRange(inMin, inMax, outMin, outMax, value) {\n var inRange = inMax - inMin,\n outRange = outMax - outMin;\n return _conditionalReturn(value, function (value) {\n return outMin + ((value - inMin) / inRange * outRange || 0);\n });\n},\n interpolate = function interpolate(start, end, progress, mutate) {\n var func = isNaN(start + end) ? 0 : function (p) {\n return (1 - p) * start + p * end;\n };\n\n if (!func) {\n var isString = _isString(start),\n master = {},\n p,\n i,\n interpolators,\n l,\n il;\n\n progress === true && (mutate = 1) && (progress = null);\n\n if (isString) {\n start = {\n p: start\n };\n end = {\n p: end\n };\n } else if (_isArray(start) && !_isArray(end)) {\n interpolators = [];\n l = start.length;\n il = l - 2;\n\n for (i = 1; i < l; i++) {\n interpolators.push(interpolate(start[i - 1], start[i])); //build the interpolators up front as a performance optimization so that when the function is called many times, it can just reuse them.\n }\n\n l--;\n\n func = function func(p) {\n p *= l;\n var i = Math.min(il, ~~p);\n return interpolators[i](p - i);\n };\n\n progress = end;\n } else if (!mutate) {\n start = _merge(_isArray(start) ? [] : {}, start);\n }\n\n if (!interpolators) {\n for (p in end) {\n _addPropTween.call(master, start, p, \"get\", end[p]);\n }\n\n func = function func(p) {\n return _renderPropTweens(p, master) || (isString ? start.p : start);\n };\n }\n }\n\n return _conditionalReturn(progress, func);\n},\n _getLabelInDirection = function _getLabelInDirection(timeline, fromTime, backward) {\n //used for nextLabel() and previousLabel()\n var labels = timeline.labels,\n min = _bigNum,\n p,\n distance,\n label;\n\n for (p in labels) {\n distance = labels[p] - fromTime;\n\n if (distance < 0 === !!backward && distance && min > (distance = Math.abs(distance))) {\n label = p;\n min = distance;\n }\n }\n\n return label;\n},\n _callback = function _callback(animation, type, executeLazyFirst) {\n var v = animation.vars,\n callback = v[type],\n prevContext = _context,\n context = animation._ctx,\n params,\n scope,\n result;\n\n if (!callback) {\n return;\n }\n\n params = v[type + \"Params\"];\n scope = v.callbackScope || animation;\n executeLazyFirst && _lazyTweens.length && _lazyRender(); //in case rendering caused any tweens to lazy-init, we should render them because typically when a timeline finishes, users expect things to have rendered fully. Imagine an onUpdate on a timeline that reports/checks tweened values.\n\n context && (_context = context);\n result = params ? callback.apply(scope, params) : callback.call(scope);\n _context = prevContext;\n return result;\n},\n _interrupt = function _interrupt(animation) {\n _removeFromParent(animation);\n\n animation.scrollTrigger && animation.scrollTrigger.kill(!!_reverting);\n animation.progress() < 1 && _callback(animation, \"onInterrupt\");\n return animation;\n},\n _quickTween,\n _registerPluginQueue = [],\n _createPlugin = function _createPlugin(config) {\n if (!config) return;\n config = !config.name && config[\"default\"] || config; // UMD packaging wraps things oddly, so for example MotionPathHelper becomes {MotionPathHelper:MotionPathHelper, default:MotionPathHelper}.\n\n if (_windowExists() || config.headless) {\n // edge case: some build tools may pass in a null/undefined value\n var name = config.name,\n isFunc = _isFunction(config),\n Plugin = name && !isFunc && config.init ? function () {\n this._props = [];\n } : config,\n //in case someone passes in an object that's not a plugin, like CustomEase\n instanceDefaults = {\n init: _emptyFunc,\n render: _renderPropTweens,\n add: _addPropTween,\n kill: _killPropTweensOf,\n modifier: _addPluginModifier,\n rawVars: 0\n },\n statics = {\n targetTest: 0,\n get: 0,\n getSetter: _getSetter,\n aliases: {},\n register: 0\n };\n\n _wake();\n\n if (config !== Plugin) {\n if (_plugins[name]) {\n return;\n }\n\n _setDefaults(Plugin, _setDefaults(_copyExcluding(config, instanceDefaults), statics)); //static methods\n\n\n _merge(Plugin.prototype, _merge(instanceDefaults, _copyExcluding(config, statics))); //instance methods\n\n\n _plugins[Plugin.prop = name] = Plugin;\n\n if (config.targetTest) {\n _harnessPlugins.push(Plugin);\n\n _reservedProps[name] = 1;\n }\n\n name = (name === \"css\" ? \"CSS\" : name.charAt(0).toUpperCase() + name.substr(1)) + \"Plugin\"; //for the global name. \"motionPath\" should become MotionPathPlugin\n }\n\n _addGlobal(name, Plugin);\n\n config.register && config.register(gsap, Plugin, PropTween);\n } else {\n _registerPluginQueue.push(config);\n }\n},\n\n/*\n * --------------------------------------------------------------------------------------\n * COLORS\n * --------------------------------------------------------------------------------------\n */\n_255 = 255,\n _colorLookup = {\n aqua: [0, _255, _255],\n lime: [0, _255, 0],\n silver: [192, 192, 192],\n black: [0, 0, 0],\n maroon: [128, 0, 0],\n teal: [0, 128, 128],\n blue: [0, 0, _255],\n navy: [0, 0, 128],\n white: [_255, _255, _255],\n olive: [128, 128, 0],\n yellow: [_255, _255, 0],\n orange: [_255, 165, 0],\n gray: [128, 128, 128],\n purple: [128, 0, 128],\n green: [0, 128, 0],\n red: [_255, 0, 0],\n pink: [_255, 192, 203],\n cyan: [0, _255, _255],\n transparent: [_255, _255, _255, 0]\n},\n // possible future idea to replace the hard-coded color name values - put this in the ticker.wake() where we set the _doc:\n// let ctx = _doc.createElement(\"canvas\").getContext(\"2d\");\n// _forEachName(\"aqua,lime,silver,black,maroon,teal,blue,navy,white,olive,yellow,orange,gray,purple,green,red,pink,cyan\", color => {ctx.fillStyle = color; _colorLookup[color] = splitColor(ctx.fillStyle)});\n_hue = function _hue(h, m1, m2) {\n h += h < 0 ? 1 : h > 1 ? -1 : 0;\n return (h * 6 < 1 ? m1 + (m2 - m1) * h * 6 : h < .5 ? m2 : h * 3 < 2 ? m1 + (m2 - m1) * (2 / 3 - h) * 6 : m1) * _255 + .5 | 0;\n},\n splitColor = function splitColor(v, toHSL, forceAlpha) {\n var a = !v ? _colorLookup.black : _isNumber(v) ? [v >> 16, v >> 8 & _255, v & _255] : 0,\n r,\n g,\n b,\n h,\n s,\n l,\n max,\n min,\n d,\n wasHSL;\n\n if (!a) {\n if (v.substr(-1) === \",\") {\n //sometimes a trailing comma is included and we should chop it off (typically from a comma-delimited list of values like a textShadow:\"2px 2px 2px blue, 5px 5px 5px rgb(255,0,0)\" - in this example \"blue,\" has a trailing comma. We could strip it out inside parseComplex() but we'd need to do it to the beginning and ending values plus it wouldn't provide protection from other potential scenarios like if the user passes in a similar value.\n v = v.substr(0, v.length - 1);\n }\n\n if (_colorLookup[v]) {\n a = _colorLookup[v];\n } else if (v.charAt(0) === \"#\") {\n if (v.length < 6) {\n //for shorthand like #9F0 or #9F0F (could have alpha)\n r = v.charAt(1);\n g = v.charAt(2);\n b = v.charAt(3);\n v = \"#\" + r + r + g + g + b + b + (v.length === 5 ? v.charAt(4) + v.charAt(4) : \"\");\n }\n\n if (v.length === 9) {\n // hex with alpha, like #fd5e53ff\n a = parseInt(v.substr(1, 6), 16);\n return [a >> 16, a >> 8 & _255, a & _255, parseInt(v.substr(7), 16) / 255];\n }\n\n v = parseInt(v.substr(1), 16);\n a = [v >> 16, v >> 8 & _255, v & _255];\n } else if (v.substr(0, 3) === \"hsl\") {\n a = wasHSL = v.match(_strictNumExp);\n\n if (!toHSL) {\n h = +a[0] % 360 / 360;\n s = +a[1] / 100;\n l = +a[2] / 100;\n g = l <= .5 ? l * (s + 1) : l + s - l * s;\n r = l * 2 - g;\n a.length > 3 && (a[3] *= 1); //cast as number\n\n a[0] = _hue(h + 1 / 3, r, g);\n a[1] = _hue(h, r, g);\n a[2] = _hue(h - 1 / 3, r, g);\n } else if (~v.indexOf(\"=\")) {\n //if relative values are found, just return the raw strings with the relative prefixes in place.\n a = v.match(_numExp);\n forceAlpha && a.length < 4 && (a[3] = 1);\n return a;\n }\n } else {\n a = v.match(_strictNumExp) || _colorLookup.transparent;\n }\n\n a = a.map(Number);\n }\n\n if (toHSL && !wasHSL) {\n r = a[0] / _255;\n g = a[1] / _255;\n b = a[2] / _255;\n max = Math.max(r, g, b);\n min = Math.min(r, g, b);\n l = (max + min) / 2;\n\n if (max === min) {\n h = s = 0;\n } else {\n d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n h = max === r ? (g - b) / d + (g < b ? 6 : 0) : max === g ? (b - r) / d + 2 : (r - g) / d + 4;\n h *= 60;\n }\n\n a[0] = ~~(h + .5);\n a[1] = ~~(s * 100 + .5);\n a[2] = ~~(l * 100 + .5);\n }\n\n forceAlpha && a.length < 4 && (a[3] = 1);\n return a;\n},\n _colorOrderData = function _colorOrderData(v) {\n // strips out the colors from the string, finds all the numeric slots (with units) and returns an array of those. The Array also has a \"c\" property which is an Array of the index values where the colors belong. This is to help work around issues where there's a mis-matched order of color/numeric data like drop-shadow(#f00 0px 1px 2px) and drop-shadow(0x 1px 2px #f00). This is basically a helper function used in _formatColors()\n var values = [],\n c = [],\n i = -1;\n v.split(_colorExp).forEach(function (v) {\n var a = v.match(_numWithUnitExp) || [];\n values.push.apply(values, a);\n c.push(i += a.length + 1);\n });\n values.c = c;\n return values;\n},\n _formatColors = function _formatColors(s, toHSL, orderMatchData) {\n var result = \"\",\n colors = (s + result).match(_colorExp),\n type = toHSL ? \"hsla(\" : \"rgba(\",\n i = 0,\n c,\n shell,\n d,\n l;\n\n if (!colors) {\n return s;\n }\n\n colors = colors.map(function (color) {\n return (color = splitColor(color, toHSL, 1)) && type + (toHSL ? color[0] + \",\" + color[1] + \"%,\" + color[2] + \"%,\" + color[3] : color.join(\",\")) + \")\";\n });\n\n if (orderMatchData) {\n d = _colorOrderData(s);\n c = orderMatchData.c;\n\n if (c.join(result) !== d.c.join(result)) {\n shell = s.replace(_colorExp, \"1\").split(_numWithUnitExp);\n l = shell.length - 1;\n\n for (; i < l; i++) {\n result += shell[i] + (~c.indexOf(i) ? colors.shift() || type + \"0,0,0,0)\" : (d.length ? d : colors.length ? colors : orderMatchData).shift());\n }\n }\n }\n\n if (!shell) {\n shell = s.split(_colorExp);\n l = shell.length - 1;\n\n for (; i < l; i++) {\n result += shell[i] + colors[i];\n }\n }\n\n return result + shell[l];\n},\n _colorExp = function () {\n var s = \"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\",\n //we'll dynamically build this Regular Expression to conserve file size. After building it, it will be able to find rgb(), rgba(), # (hexadecimal), and named color values like red, blue, purple, etc.,\n p;\n\n for (p in _colorLookup) {\n s += \"|\" + p + \"\\\\b\";\n }\n\n return new RegExp(s + \")\", \"gi\");\n}(),\n _hslExp = /hsl[a]?\\(/,\n _colorStringFilter = function _colorStringFilter(a) {\n var combined = a.join(\" \"),\n toHSL;\n _colorExp.lastIndex = 0;\n\n if (_colorExp.test(combined)) {\n toHSL = _hslExp.test(combined);\n a[1] = _formatColors(a[1], toHSL);\n a[0] = _formatColors(a[0], toHSL, _colorOrderData(a[1])); // make sure the order of numbers/colors match with the END value.\n\n return true;\n }\n},\n\n/*\n * --------------------------------------------------------------------------------------\n * TICKER\n * --------------------------------------------------------------------------------------\n */\n_tickerActive,\n _ticker = function () {\n var _getTime = Date.now,\n _lagThreshold = 500,\n _adjustedLag = 33,\n _startTime = _getTime(),\n _lastUpdate = _startTime,\n _gap = 1000 / 240,\n _nextTime = _gap,\n _listeners = [],\n _id,\n _req,\n _raf,\n _self,\n _delta,\n _i,\n _tick = function _tick(v) {\n var elapsed = _getTime() - _lastUpdate,\n manual = v === true,\n overlap,\n dispatch,\n time,\n frame;\n\n (elapsed > _lagThreshold || elapsed < 0) && (_startTime += elapsed - _adjustedLag);\n _lastUpdate += elapsed;\n time = _lastUpdate - _startTime;\n overlap = time - _nextTime;\n\n if (overlap > 0 || manual) {\n frame = ++_self.frame;\n _delta = time - _self.time * 1000;\n _self.time = time = time / 1000;\n _nextTime += overlap + (overlap >= _gap ? 4 : _gap - overlap);\n dispatch = 1;\n }\n\n manual || (_id = _req(_tick)); //make sure the request is made before we dispatch the \"tick\" event so that timing is maintained. Otherwise, if processing the \"tick\" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise.\n\n if (dispatch) {\n for (_i = 0; _i < _listeners.length; _i++) {\n // use _i and check _listeners.length instead of a variable because a listener could get removed during the loop, and if that happens to an element less than the current index, it'd throw things off in the loop.\n _listeners[_i](time, _delta, frame, v);\n }\n }\n };\n\n _self = {\n time: 0,\n frame: 0,\n tick: function tick() {\n _tick(true);\n },\n deltaRatio: function deltaRatio(fps) {\n return _delta / (1000 / (fps || 60));\n },\n wake: function wake() {\n if (_coreReady) {\n if (!_coreInitted && _windowExists()) {\n _win = _coreInitted = window;\n _doc = _win.document || {};\n _globals.gsap = gsap;\n (_win.gsapVersions || (_win.gsapVersions = [])).push(gsap.version);\n\n _install(_installScope || _win.GreenSockGlobals || !_win.gsap && _win || {});\n\n _registerPluginQueue.forEach(_createPlugin);\n }\n\n _raf = typeof requestAnimationFrame !== \"undefined\" && requestAnimationFrame;\n _id && _self.sleep();\n\n _req = _raf || function (f) {\n return setTimeout(f, _nextTime - _self.time * 1000 + 1 | 0);\n };\n\n _tickerActive = 1;\n\n _tick(2);\n }\n },\n sleep: function sleep() {\n (_raf ? cancelAnimationFrame : clearTimeout)(_id);\n _tickerActive = 0;\n _req = _emptyFunc;\n },\n lagSmoothing: function lagSmoothing(threshold, adjustedLag) {\n _lagThreshold = threshold || Infinity; // zero should be interpreted as basically unlimited\n\n _adjustedLag = Math.min(adjustedLag || 33, _lagThreshold);\n },\n fps: function fps(_fps) {\n _gap = 1000 / (_fps || 240);\n _nextTime = _self.time * 1000 + _gap;\n },\n add: function add(callback, once, prioritize) {\n var func = once ? function (t, d, f, v) {\n callback(t, d, f, v);\n\n _self.remove(func);\n } : callback;\n\n _self.remove(callback);\n\n _listeners[prioritize ? \"unshift\" : \"push\"](func);\n\n _wake();\n\n return func;\n },\n remove: function remove(callback, i) {\n ~(i = _listeners.indexOf(callback)) && _listeners.splice(i, 1) && _i >= i && _i--;\n },\n _listeners: _listeners\n };\n return _self;\n}(),\n _wake = function _wake() {\n return !_tickerActive && _ticker.wake();\n},\n //also ensures the core classes are initialized.\n\n/*\n* -------------------------------------------------\n* EASING\n* -------------------------------------------------\n*/\n_easeMap = {},\n _customEaseExp = /^[\\d.\\-M][\\d.\\-,\\s]/,\n _quotesExp = /[\"']/g,\n _parseObjectInString = function _parseObjectInString(value) {\n //takes a string like \"{wiggles:10, type:anticipate})\" and turns it into a real object. Notice it ends in \")\" and includes the {} wrappers. This is because we only use this function for parsing ease configs and prioritized optimization rather than reusability.\n var obj = {},\n split = value.substr(1, value.length - 3).split(\":\"),\n key = split[0],\n i = 1,\n l = split.length,\n index,\n val,\n parsedVal;\n\n for (; i < l; i++) {\n val = split[i];\n index = i !== l - 1 ? val.lastIndexOf(\",\") : val.length;\n parsedVal = val.substr(0, index);\n obj[key] = isNaN(parsedVal) ? parsedVal.replace(_quotesExp, \"\").trim() : +parsedVal;\n key = val.substr(index + 1).trim();\n }\n\n return obj;\n},\n _valueInParentheses = function _valueInParentheses(value) {\n var open = value.indexOf(\"(\") + 1,\n close = value.indexOf(\")\"),\n nested = value.indexOf(\"(\", open);\n return value.substring(open, ~nested && nested < close ? value.indexOf(\")\", close + 1) : close);\n},\n _configEaseFromString = function _configEaseFromString(name) {\n //name can be a string like \"elastic.out(1,0.5)\", and pass in _easeMap as obj and it'll parse it out and call the actual function like _easeMap.Elastic.easeOut.config(1,0.5). It will also parse custom ease strings as long as CustomEase is loaded and registered (internally as _easeMap._CE).\n var split = (name + \"\").split(\"(\"),\n ease = _easeMap[split[0]];\n return ease && split.length > 1 && ease.config ? ease.config.apply(null, ~name.indexOf(\"{\") ? [_parseObjectInString(split[1])] : _valueInParentheses(name).split(\",\").map(_numericIfPossible)) : _easeMap._CE && _customEaseExp.test(name) ? _easeMap._CE(\"\", name) : ease;\n},\n _invertEase = function _invertEase(ease) {\n return function (p) {\n return 1 - ease(1 - p);\n };\n},\n _parseEase = function _parseEase(ease, defaultEase) {\n return !ease ? defaultEase : (_isFunction(ease) ? ease : _easeMap[ease] || _configEaseFromString(ease)) || defaultEase;\n},\n _insertEase = function _insertEase(names, easeIn, easeOut, easeInOut) {\n if (easeOut === void 0) {\n easeOut = function easeOut(p) {\n return 1 - easeIn(1 - p);\n };\n }\n\n if (easeInOut === void 0) {\n easeInOut = function easeInOut(p) {\n return p < .5 ? easeIn(p * 2) / 2 : 1 - easeIn((1 - p) * 2) / 2;\n };\n }\n\n var ease = {\n easeIn: easeIn,\n easeOut: easeOut,\n easeInOut: easeInOut\n },\n lowercaseName;\n\n _forEachName(names, function (name) {\n _easeMap[name] = _globals[name] = ease;\n _easeMap[lowercaseName = name.toLowerCase()] = easeOut;\n\n for (var p in ease) {\n _easeMap[lowercaseName + (p === \"easeIn\" ? \".in\" : p === \"easeOut\" ? \".out\" : \".inOut\")] = _easeMap[name + \".\" + p] = ease[p];\n }\n });\n\n return ease;\n},\n _easeInOutFromOut = function _easeInOutFromOut(easeOut) {\n return function (p) {\n return p < .5 ? (1 - easeOut(1 - p * 2)) / 2 : .5 + easeOut((p - .5) * 2) / 2;\n };\n},\n _configElastic = function _configElastic(type, amplitude, period) {\n var p1 = amplitude >= 1 ? amplitude : 1,\n //note: if amplitude is < 1, we simply adjust the period for a more natural feel. Otherwise the math doesn't work right and the curve starts at 1.\n p2 = (period || (type ? .3 : .45)) / (amplitude < 1 ? amplitude : 1),\n p3 = p2 / _2PI * (Math.asin(1 / p1) || 0),\n easeOut = function easeOut(p) {\n return p === 1 ? 1 : p1 * Math.pow(2, -10 * p) * _sin((p - p3) * p2) + 1;\n },\n ease = type === \"out\" ? easeOut : type === \"in\" ? function (p) {\n return 1 - easeOut(1 - p);\n } : _easeInOutFromOut(easeOut);\n\n p2 = _2PI / p2; //precalculate to optimize\n\n ease.config = function (amplitude, period) {\n return _configElastic(type, amplitude, period);\n };\n\n return ease;\n},\n _configBack = function _configBack(type, overshoot) {\n if (overshoot === void 0) {\n overshoot = 1.70158;\n }\n\n var easeOut = function easeOut(p) {\n return p ? --p * p * ((overshoot + 1) * p + overshoot) + 1 : 0;\n },\n ease = type === \"out\" ? easeOut : type === \"in\" ? function (p) {\n return 1 - easeOut(1 - p);\n } : _easeInOutFromOut(easeOut);\n\n ease.config = function (overshoot) {\n return _configBack(type, overshoot);\n };\n\n return ease;\n}; // a cheaper (kb and cpu) but more mild way to get a parameterized weighted ease by feeding in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear.\n// _weightedEase = ratio => {\n// \tlet y = 0.5 + ratio / 2;\n// \treturn p => (2 * (1 - p) * p * y + p * p);\n// },\n// a stronger (but more expensive kb/cpu) parameterized weighted ease that lets you feed in a value between -1 (easeIn) and 1 (easeOut) where 0 is linear.\n// _weightedEaseStrong = ratio => {\n// \tratio = .5 + ratio / 2;\n// \tlet o = 1 / 3 * (ratio < .5 ? ratio : 1 - ratio),\n// \t\tb = ratio - o,\n// \t\tc = ratio + o;\n// \treturn p => p === 1 ? p : 3 * b * (1 - p) * (1 - p) * p + 3 * c * (1 - p) * p * p + p * p * p;\n// };\n\n\n_forEachName(\"Linear,Quad,Cubic,Quart,Quint,Strong\", function (name, i) {\n var power = i < 5 ? i + 1 : i;\n\n _insertEase(name + \",Power\" + (power - 1), i ? function (p) {\n return Math.pow(p, power);\n } : function (p) {\n return p;\n }, function (p) {\n return 1 - Math.pow(1 - p, power);\n }, function (p) {\n return p < .5 ? Math.pow(p * 2, power) / 2 : 1 - Math.pow((1 - p) * 2, power) / 2;\n });\n});\n\n_easeMap.Linear.easeNone = _easeMap.none = _easeMap.Linear.easeIn;\n\n_insertEase(\"Elastic\", _configElastic(\"in\"), _configElastic(\"out\"), _configElastic());\n\n(function (n, c) {\n var n1 = 1 / c,\n n2 = 2 * n1,\n n3 = 2.5 * n1,\n easeOut = function easeOut(p) {\n return p < n1 ? n * p * p : p < n2 ? n * Math.pow(p - 1.5 / c, 2) + .75 : p < n3 ? n * (p -= 2.25 / c) * p + .9375 : n * Math.pow(p - 2.625 / c, 2) + .984375;\n };\n\n _insertEase(\"Bounce\", function (p) {\n return 1 - easeOut(1 - p);\n }, easeOut);\n})(7.5625, 2.75);\n\n_insertEase(\"Expo\", function (p) {\n return Math.pow(2, 10 * (p - 1)) * p + p * p * p * p * p * p * (1 - p);\n}); // previously 2 ** (10 * (p - 1)) but that doesn't end up with the value quite at the right spot so we do a blended ease to ensure it lands where it should perfectly.\n\n\n_insertEase(\"Circ\", function (p) {\n return -(_sqrt(1 - p * p) - 1);\n});\n\n_insertEase(\"Sine\", function (p) {\n return p === 1 ? 1 : -_cos(p * _HALF_PI) + 1;\n});\n\n_insertEase(\"Back\", _configBack(\"in\"), _configBack(\"out\"), _configBack());\n\n_easeMap.SteppedEase = _easeMap.steps = _globals.SteppedEase = {\n config: function config(steps, immediateStart) {\n if (steps === void 0) {\n steps = 1;\n }\n\n var p1 = 1 / steps,\n p2 = steps + (immediateStart ? 0 : 1),\n p3 = immediateStart ? 1 : 0,\n max = 1 - _tinyNum;\n return function (p) {\n return ((p2 * _clamp(0, max, p) | 0) + p3) * p1;\n };\n }\n};\n_defaults.ease = _easeMap[\"quad.out\"];\n\n_forEachName(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\", function (name) {\n return _callbackNames += name + \",\" + name + \"Params,\";\n});\n/*\n * --------------------------------------------------------------------------------------\n * CACHE\n * --------------------------------------------------------------------------------------\n */\n\n\nexport var GSCache = function GSCache(target, harness) {\n this.id = _gsID++;\n target._gsap = this;\n this.target = target;\n this.harness = harness;\n this.get = harness ? harness.get : _getProperty;\n this.set = harness ? harness.getSetter : _getSetter;\n};\n/*\n * --------------------------------------------------------------------------------------\n * ANIMATION\n * --------------------------------------------------------------------------------------\n */\n\nexport var Animation = /*#__PURE__*/function () {\n function Animation(vars) {\n this.vars = vars;\n this._delay = +vars.delay || 0;\n\n if (this._repeat = vars.repeat === Infinity ? -2 : vars.repeat || 0) {\n // TODO: repeat: Infinity on a timeline's children must flag that timeline internally and affect its totalDuration, otherwise it'll stop in the negative direction when reaching the start.\n this._rDelay = vars.repeatDelay || 0;\n this._yoyo = !!vars.yoyo || !!vars.yoyoEase;\n }\n\n this._ts = 1;\n\n _setDuration(this, +vars.duration, 1, 1);\n\n this.data = vars.data;\n\n if (_context) {\n this._ctx = _context;\n\n _context.data.push(this);\n }\n\n _tickerActive || _ticker.wake();\n }\n\n var _proto = Animation.prototype;\n\n _proto.delay = function delay(value) {\n if (value || value === 0) {\n this.parent && this.parent.smoothChildTiming && this.startTime(this._start + value - this._delay);\n this._delay = value;\n return this;\n }\n\n return this._delay;\n };\n\n _proto.duration = function duration(value) {\n return arguments.length ? this.totalDuration(this._repeat > 0 ? value + (value + this._rDelay) * this._repeat : value) : this.totalDuration() && this._dur;\n };\n\n _proto.totalDuration = function totalDuration(value) {\n if (!arguments.length) {\n return this._tDur;\n }\n\n this._dirty = 0;\n return _setDuration(this, this._repeat < 0 ? value : (value - this._repeat * this._rDelay) / (this._repeat + 1));\n };\n\n _proto.totalTime = function totalTime(_totalTime, suppressEvents) {\n _wake();\n\n if (!arguments.length) {\n return this._tTime;\n }\n\n var parent = this._dp;\n\n if (parent && parent.smoothChildTiming && this._ts) {\n _alignPlayhead(this, _totalTime);\n\n !parent._dp || parent.parent || _postAddChecks(parent, this); // edge case: if this is a child of a timeline that already completed, for example, we must re-activate the parent.\n //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The start of that child would get pushed out, but one of the ancestors may have completed.\n\n while (parent && parent.parent) {\n if (parent.parent._time !== parent._start + (parent._ts >= 0 ? parent._tTime / parent._ts : (parent.totalDuration() - parent._tTime) / -parent._ts)) {\n parent.totalTime(parent._tTime, true);\n }\n\n parent = parent.parent;\n }\n\n if (!this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && _totalTime < this._tDur || this._ts < 0 && _totalTime > 0 || !this._tDur && !_totalTime)) {\n //if the animation doesn't have a parent, put it back into its last parent (recorded as _dp for exactly cases like this). Limit to parents with autoRemoveChildren (like globalTimeline) so that if the user manually removes an animation from a timeline and then alters its playhead, it doesn't get added back in.\n _addToTimeline(this._dp, this, this._start - this._delay);\n }\n }\n\n if (this._tTime !== _totalTime || !this._dur && !suppressEvents || this._initted && Math.abs(this._zTime) === _tinyNum || !this._initted && this._dur && _totalTime || !_totalTime && !this._initted && (this.add || this._ptLookup)) {\n // check for _ptLookup on a Tween instance to ensure it has actually finished being instantiated, otherwise if this.reverse() gets called in the Animation constructor, it could trigger a render() here even though the _targets weren't populated, thus when _init() is called there won't be any PropTweens (it'll act like the tween is non-functional)\n this._ts || (this._pTime = _totalTime); // otherwise, if an animation is paused, then the playhead is moved back to zero, then resumed, it'd revert back to the original time at the pause\n //if (!this._lock) { // avoid endless recursion (not sure we need this yet or if it's worth the performance hit)\n // this._lock = 1;\n\n _lazySafeRender(this, _totalTime, suppressEvents); // this._lock = 0;\n //}\n\n }\n\n return this;\n };\n\n _proto.time = function time(value, suppressEvents) {\n return arguments.length ? this.totalTime(Math.min(this.totalDuration(), value + _elapsedCycleDuration(this)) % (this._dur + this._rDelay) || (value ? this._dur : 0), suppressEvents) : this._time; // note: if the modulus results in 0, the playhead could be exactly at the end or the beginning, and we always defer to the END with a non-zero value, otherwise if you set the time() to the very end (duration()), it would render at the START!\n };\n\n _proto.totalProgress = function totalProgress(value, suppressEvents) {\n return arguments.length ? this.totalTime(this.totalDuration() * value, suppressEvents) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;\n };\n\n _proto.progress = function progress(value, suppressEvents) {\n return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - value : value) + _elapsedCycleDuration(this), suppressEvents) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;\n };\n\n _proto.iteration = function iteration(value, suppressEvents) {\n var cycleDuration = this.duration() + this._rDelay;\n\n return arguments.length ? this.totalTime(this._time + (value - 1) * cycleDuration, suppressEvents) : this._repeat ? _animationCycle(this._tTime, cycleDuration) + 1 : 1;\n } // potential future addition:\n // isPlayingBackwards() {\n // \tlet animation = this,\n // \t\torientation = 1; // 1 = forward, -1 = backward\n // \twhile (animation) {\n // \t\torientation *= animation.reversed() || (animation.repeat() && !(animation.iteration() & 1)) ? -1 : 1;\n // \t\tanimation = animation.parent;\n // \t}\n // \treturn orientation < 0;\n // }\n ;\n\n _proto.timeScale = function timeScale(value, suppressEvents) {\n if (!arguments.length) {\n return this._rts === -_tinyNum ? 0 : this._rts; // recorded timeScale. Special case: if someone calls reverse() on an animation with timeScale of 0, we assign it -_tinyNum to remember it's reversed.\n }\n\n if (this._rts === value) {\n return this;\n }\n\n var tTime = this.parent && this._ts ? _parentToChildTotalTime(this.parent._time, this) : this._tTime; // make sure to do the parentToChildTotalTime() BEFORE setting the new _ts because the old one must be used in that calculation.\n // future addition? Up side: fast and minimal file size. Down side: only works on this animation; if a timeline is reversed, for example, its childrens' onReverse wouldn't get called.\n //(+value < 0 && this._rts >= 0) && _callback(this, \"onReverse\", true);\n // prioritize rendering where the parent's playhead lines up instead of this._tTime because there could be a tween that's animating another tween's timeScale in the same rendering loop (same parent), thus if the timeScale tween renders first, it would alter _start BEFORE _tTime was set on that tick (in the rendering loop), effectively freezing it until the timeScale tween finishes.\n\n this._rts = +value || 0;\n this._ts = this._ps || value === -_tinyNum ? 0 : this._rts; // _ts is the functional timeScale which would be 0 if the animation is paused.\n\n this.totalTime(_clamp(-Math.abs(this._delay), this.totalDuration(), tTime), suppressEvents !== false);\n\n _setEnd(this); // if parent.smoothChildTiming was false, the end time didn't get updated in the _alignPlayhead() method, so do it here.\n\n\n return _recacheAncestors(this);\n };\n\n _proto.paused = function paused(value) {\n if (!arguments.length) {\n return this._ps;\n } // possible future addition - if an animation is removed from its parent and then .restart() or .play() or .resume() is called, perhaps we should force it back into the globalTimeline but be careful because what if it's already at its end? We don't want it to just persist forever and not get released for GC.\n // !this.parent && !value && this._tTime < this._tDur && this !== _globalTimeline && _globalTimeline.add(this);\n\n\n if (this._ps !== value) {\n this._ps = value;\n\n if (value) {\n this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()); // if the pause occurs during the delay phase, make sure that's factored in when resuming.\n\n this._ts = this._act = 0; // _ts is the functional timeScale, so a paused tween would effectively have a timeScale of 0. We record the \"real\" timeScale as _rts (recorded time scale)\n } else {\n _wake();\n\n this._ts = this._rts; //only defer to _pTime (pauseTime) if tTime is zero. Remember, someone could pause() an animation, then scrub the playhead and resume(). If the parent doesn't have smoothChildTiming, we render at the rawTime() because the startTime won't get updated.\n\n this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== _tinyNum && (this._tTime -= _tinyNum)); // edge case: animation.progress(1).pause().play() wouldn't render again because the playhead is already at the end, but the call to totalTime() below will add it back to its parent...and not remove it again (since removing only happens upon rendering at a new time). Offsetting the _tTime slightly is done simply to cause the final render in totalTime() that'll pop it off its timeline (if autoRemoveChildren is true, of course). Check to make sure _zTime isn't -_tinyNum to avoid an edge case where the playhead is pushed to the end but INSIDE a tween/callback, the timeline itself is paused thus halting rendering and leaving a few unrendered. When resuming, it wouldn't render those otherwise.\n }\n }\n\n return this;\n };\n\n _proto.startTime = function startTime(value) {\n if (arguments.length) {\n this._start = _roundPrecise(value);\n var parent = this.parent || this._dp;\n parent && (parent._sort || !this.parent) && _addToTimeline(parent, this, this._start - this._delay);\n return this;\n }\n\n return this._start;\n };\n\n _proto.endTime = function endTime(includeRepeats) {\n return this._start + (_isNotFalse(includeRepeats) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);\n };\n\n _proto.rawTime = function rawTime(wrapRepeats) {\n var parent = this.parent || this._dp; // _dp = detached parent\n\n return !parent ? this._tTime : wrapRepeats && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : !this._ts ? this._tTime : _parentToChildTotalTime(parent.rawTime(wrapRepeats), this);\n };\n\n _proto.revert = function revert(config) {\n if (config === void 0) {\n config = _revertConfig;\n }\n\n var prevIsReverting = _reverting;\n _reverting = config;\n\n if (_isRevertWorthy(this)) {\n this.timeline && this.timeline.revert(config);\n this.totalTime(-0.01, config.suppressEvents);\n }\n\n this.data !== \"nested\" && config.kill !== false && this.kill();\n _reverting = prevIsReverting;\n return this;\n };\n\n _proto.globalTime = function globalTime(rawTime) {\n var animation = this,\n time = arguments.length ? rawTime : animation.rawTime();\n\n while (animation) {\n time = animation._start + time / (Math.abs(animation._ts) || 1);\n animation = animation._dp;\n }\n\n return !this.parent && this._sat ? this._sat.globalTime(rawTime) : time; // the _startAt tweens for .fromTo() and .from() that have immediateRender should always be FIRST in the timeline (important for context.revert()). \"_sat\" stands for _startAtTween, referring to the parent tween that created the _startAt. We must discern if that tween had immediateRender so that we can know whether or not to prioritize it in revert().\n };\n\n _proto.repeat = function repeat(value) {\n if (arguments.length) {\n this._repeat = value === Infinity ? -2 : value;\n return _onUpdateTotalDuration(this);\n }\n\n return this._repeat === -2 ? Infinity : this._repeat;\n };\n\n _proto.repeatDelay = function repeatDelay(value) {\n if (arguments.length) {\n var time = this._time;\n this._rDelay = value;\n\n _onUpdateTotalDuration(this);\n\n return time ? this.time(time) : this;\n }\n\n return this._rDelay;\n };\n\n _proto.yoyo = function yoyo(value) {\n if (arguments.length) {\n this._yoyo = value;\n return this;\n }\n\n return this._yoyo;\n };\n\n _proto.seek = function seek(position, suppressEvents) {\n return this.totalTime(_parsePosition(this, position), _isNotFalse(suppressEvents));\n };\n\n _proto.restart = function restart(includeDelay, suppressEvents) {\n this.play().totalTime(includeDelay ? -this._delay : 0, _isNotFalse(suppressEvents));\n this._dur || (this._zTime = -_tinyNum); // ensures onComplete fires on a zero-duration animation that gets restarted.\n\n return this;\n };\n\n _proto.play = function play(from, suppressEvents) {\n from != null && this.seek(from, suppressEvents);\n return this.reversed(false).paused(false);\n };\n\n _proto.reverse = function reverse(from, suppressEvents) {\n from != null && this.seek(from || this.totalDuration(), suppressEvents);\n return this.reversed(true).paused(false);\n };\n\n _proto.pause = function pause(atTime, suppressEvents) {\n atTime != null && this.seek(atTime, suppressEvents);\n return this.paused(true);\n };\n\n _proto.resume = function resume() {\n return this.paused(false);\n };\n\n _proto.reversed = function reversed(value) {\n if (arguments.length) {\n !!value !== this.reversed() && this.timeScale(-this._rts || (value ? -_tinyNum : 0)); // in case timeScale is zero, reversing would have no effect so we use _tinyNum.\n\n return this;\n }\n\n return this._rts < 0;\n };\n\n _proto.invalidate = function invalidate() {\n this._initted = this._act = 0;\n this._zTime = -_tinyNum;\n return this;\n };\n\n _proto.isActive = function isActive() {\n var parent = this.parent || this._dp,\n start = this._start,\n rawTime;\n return !!(!parent || this._ts && this._initted && parent.isActive() && (rawTime = parent.rawTime(true)) >= start && rawTime < this.endTime(true) - _tinyNum);\n };\n\n _proto.eventCallback = function eventCallback(type, callback, params) {\n var vars = this.vars;\n\n if (arguments.length > 1) {\n if (!callback) {\n delete vars[type];\n } else {\n vars[type] = callback;\n params && (vars[type + \"Params\"] = params);\n type === \"onUpdate\" && (this._onUpdate = callback);\n }\n\n return this;\n }\n\n return vars[type];\n };\n\n _proto.then = function then(onFulfilled) {\n var self = this,\n prevProm = self._prom;\n return new Promise(function (resolve) {\n var f = _isFunction(onFulfilled) ? onFulfilled : _passThrough,\n _resolve = function _resolve() {\n var _then = self.then;\n self.then = null; // temporarily null the then() method to avoid an infinite loop (see https://github.com/greensock/GSAP/issues/322)\n\n prevProm && prevProm();\n _isFunction(f) && (f = f(self)) && (f.then || f === self) && (self.then = _then);\n resolve(f);\n self.then = _then;\n };\n\n if (self._initted && self.totalProgress() === 1 && self._ts >= 0 || !self._tTime && self._ts < 0) {\n _resolve();\n } else {\n self._prom = _resolve;\n }\n });\n };\n\n _proto.kill = function kill() {\n _interrupt(this);\n };\n\n return Animation;\n}();\n\n_setDefaults(Animation.prototype, {\n _time: 0,\n _start: 0,\n _end: 0,\n _tTime: 0,\n _tDur: 0,\n _dirty: 0,\n _repeat: 0,\n _yoyo: false,\n parent: null,\n _initted: false,\n _rDelay: 0,\n _ts: 1,\n _dp: 0,\n ratio: 0,\n _zTime: -_tinyNum,\n _prom: 0,\n _ps: false,\n _rts: 1\n});\n/*\n * -------------------------------------------------\n * TIMELINE\n * -------------------------------------------------\n */\n\n\nexport var Timeline = /*#__PURE__*/function (_Animation) {\n _inheritsLoose(Timeline, _Animation);\n\n function Timeline(vars, position) {\n var _this;\n\n if (vars === void 0) {\n vars = {};\n }\n\n _this = _Animation.call(this, vars) || this;\n _this.labels = {};\n _this.smoothChildTiming = !!vars.smoothChildTiming;\n _this.autoRemoveChildren = !!vars.autoRemoveChildren;\n _this._sort = _isNotFalse(vars.sortChildren);\n _globalTimeline && _addToTimeline(vars.parent || _globalTimeline, _assertThisInitialized(_this), position);\n vars.reversed && _this.reverse();\n vars.paused && _this.paused(true);\n vars.scrollTrigger && _scrollTrigger(_assertThisInitialized(_this), vars.scrollTrigger);\n return _this;\n }\n\n var _proto2 = Timeline.prototype;\n\n _proto2.to = function to(targets, vars, position) {\n _createTweenType(0, arguments, this);\n\n return this;\n };\n\n _proto2.from = function from(targets, vars, position) {\n _createTweenType(1, arguments, this);\n\n return this;\n };\n\n _proto2.fromTo = function fromTo(targets, fromVars, toVars, position) {\n _createTweenType(2, arguments, this);\n\n return this;\n };\n\n _proto2.set = function set(targets, vars, position) {\n vars.duration = 0;\n vars.parent = this;\n _inheritDefaults(vars).repeatDelay || (vars.repeat = 0);\n vars.immediateRender = !!vars.immediateRender;\n new Tween(targets, vars, _parsePosition(this, position), 1);\n return this;\n };\n\n _proto2.call = function call(callback, params, position) {\n return _addToTimeline(this, Tween.delayedCall(0, callback, params), position);\n } //ONLY for backward compatibility! Maybe delete?\n ;\n\n _proto2.staggerTo = function staggerTo(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams) {\n vars.duration = duration;\n vars.stagger = vars.stagger || stagger;\n vars.onComplete = onCompleteAll;\n vars.onCompleteParams = onCompleteAllParams;\n vars.parent = this;\n new Tween(targets, vars, _parsePosition(this, position));\n return this;\n };\n\n _proto2.staggerFrom = function staggerFrom(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams) {\n vars.runBackwards = 1;\n _inheritDefaults(vars).immediateRender = _isNotFalse(vars.immediateRender);\n return this.staggerTo(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams);\n };\n\n _proto2.staggerFromTo = function staggerFromTo(targets, duration, fromVars, toVars, stagger, position, onCompleteAll, onCompleteAllParams) {\n toVars.startAt = fromVars;\n _inheritDefaults(toVars).immediateRender = _isNotFalse(toVars.immediateRender);\n return this.staggerTo(targets, duration, toVars, stagger, position, onCompleteAll, onCompleteAllParams);\n };\n\n _proto2.render = function render(totalTime, suppressEvents, force) {\n var prevTime = this._time,\n tDur = this._dirty ? this.totalDuration() : this._tDur,\n dur = this._dur,\n tTime = totalTime <= 0 ? 0 : _roundPrecise(totalTime),\n // if a paused timeline is resumed (or its _start is updated for another reason...which rounds it), that could result in the playhead shifting a **tiny** amount and a zero-duration child at that spot may get rendered at a different ratio, like its totalTime in render() may be 1e-17 instead of 0, for example.\n crossingStart = this._zTime < 0 !== totalTime < 0 && (this._initted || !dur),\n time,\n child,\n next,\n iteration,\n cycleDuration,\n prevPaused,\n pauseTween,\n timeScale,\n prevStart,\n prevIteration,\n yoyo,\n isYoyo;\n this !== _globalTimeline && tTime > tDur && totalTime >= 0 && (tTime = tDur);\n\n if (tTime !== this._tTime || force || crossingStart) {\n if (prevTime !== this._time && dur) {\n //if totalDuration() finds a child with a negative startTime and smoothChildTiming is true, things get shifted around internally so we need to adjust the time accordingly. For example, if a tween starts at -30 we must shift EVERYTHING forward 30 seconds and move this timeline's startTime backward by 30 seconds so that things align with the playhead (no jump).\n tTime += this._time - prevTime;\n totalTime += this._time - prevTime;\n }\n\n time = tTime;\n prevStart = this._start;\n timeScale = this._ts;\n prevPaused = !timeScale;\n\n if (crossingStart) {\n dur || (prevTime = this._zTime); //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration timeline, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect.\n\n (totalTime || !suppressEvents) && (this._zTime = totalTime);\n }\n\n if (this._repeat) {\n //adjust the time for repeats and yoyos\n yoyo = this._yoyo;\n cycleDuration = dur + this._rDelay;\n\n if (this._repeat < -1 && totalTime < 0) {\n return this.totalTime(cycleDuration * 100 + totalTime, suppressEvents, force);\n }\n\n time = _roundPrecise(tTime % cycleDuration); //round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!)\n\n if (tTime === tDur) {\n // the tDur === tTime is for edge cases where there's a lengthy decimal on the duration and it may reach the very end but the time is rendered as not-quite-there (remember, tDur is rounded to 4 decimals whereas dur isn't)\n iteration = this._repeat;\n time = dur;\n } else {\n prevIteration = _roundPrecise(tTime / cycleDuration); // full decimal version of iterations, not the previous iteration (we're reusing prevIteration variable for efficiency)\n\n iteration = ~~prevIteration;\n\n if (iteration && iteration === prevIteration) {\n time = dur;\n iteration--;\n }\n\n time > dur && (time = dur);\n }\n\n prevIteration = _animationCycle(this._tTime, cycleDuration);\n !prevTime && this._tTime && prevIteration !== iteration && this._tTime - prevIteration * cycleDuration - this._dur <= 0 && (prevIteration = iteration); // edge case - if someone does addPause() at the very beginning of a repeating timeline, that pause is technically at the same spot as the end which causes this._time to get set to 0 when the totalTime would normally place the playhead at the end. See https://gsap.com/forums/topic/23823-closing-nav-animation-not-working-on-ie-and-iphone-6-maybe-other-older-browser/?tab=comments#comment-113005 also, this._tTime - prevIteration * cycleDuration - this._dur <= 0 just checks to make sure it wasn't previously in the \"repeatDelay\" portion\n\n if (yoyo && iteration & 1) {\n time = dur - time;\n isYoyo = 1;\n }\n /*\n make sure children at the end/beginning of the timeline are rendered properly. If, for example,\n a 3-second long timeline rendered at 2.9 seconds previously, and now renders at 3.2 seconds (which\n would get translated to 2.8 seconds if the timeline yoyos or 0.2 seconds if it just repeats), there\n could be a callback or a short tween that's at 2.95 or 3 seconds in which wouldn't render. So\n we need to push the timeline to the end (and/or beginning depending on its yoyo value). Also we must\n ensure that zero-duration tweens at the very beginning or end of the Timeline work.\n */\n\n\n if (iteration !== prevIteration && !this._lock) {\n var rewinding = yoyo && prevIteration & 1,\n doesWrap = rewinding === (yoyo && iteration & 1);\n iteration < prevIteration && (rewinding = !rewinding);\n prevTime = rewinding ? 0 : tTime % dur ? dur : tTime; // if the playhead is landing exactly at the end of an iteration, use that totalTime rather than only the duration, otherwise it'll skip the 2nd render since it's effectively at the same time.\n\n this._lock = 1;\n this.render(prevTime || (isYoyo ? 0 : _roundPrecise(iteration * cycleDuration)), suppressEvents, !dur)._lock = 0;\n this._tTime = tTime; // if a user gets the iteration() inside the onRepeat, for example, it should be accurate.\n\n !suppressEvents && this.parent && _callback(this, \"onRepeat\");\n\n if (this.vars.repeatRefresh && !isYoyo) {\n this.invalidate()._lock = 1;\n prevIteration = iteration; // otherwise, the onStart() may fire on the 2nd iteration.\n }\n\n if (prevTime && prevTime !== this._time || prevPaused !== !this._ts || this.vars.onRepeat && !this.parent && !this._act) {\n // if prevTime is 0 and we render at the very end, _time will be the end, thus won't match. So in this edge case, prevTime won't match _time but that's okay. If it gets killed in the onRepeat, eject as well.\n return this;\n }\n\n dur = this._dur; // in case the duration changed in the onRepeat\n\n tDur = this._tDur;\n\n if (doesWrap) {\n this._lock = 2;\n prevTime = rewinding ? dur : -0.0001;\n this.render(prevTime, true);\n this.vars.repeatRefresh && !isYoyo && this.invalidate();\n }\n\n this._lock = 0;\n\n if (!this._ts && !prevPaused) {\n return this;\n }\n }\n }\n\n if (this._hasPause && !this._forcing && this._lock < 2) {\n pauseTween = _findNextPauseTween(this, _roundPrecise(prevTime), _roundPrecise(time));\n\n if (pauseTween) {\n tTime -= time - (time = pauseTween._start);\n }\n }\n\n this._tTime = tTime;\n this._time = time;\n this._act = !!timeScale; // as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.\n\n if (!this._initted) {\n this._onUpdate = this.vars.onUpdate;\n this._initted = 1;\n this._zTime = totalTime;\n prevTime = 0; // upon init, the playhead should always go forward; someone could invalidate() a completed timeline and then if they restart(), that would make child tweens render in reverse order which could lock in the wrong starting values if they build on each other, like tl.to(obj, {x: 100}).to(obj, {x: 0}).\n }\n\n if (!prevTime && tTime && dur && !suppressEvents && !prevIteration) {\n _callback(this, \"onStart\");\n\n if (this._tTime !== tTime) {\n // in case the onStart triggered a render at a different spot, eject. Like if someone did animation.pause(0.5) or something inside the onStart.\n return this;\n }\n }\n\n if (time >= prevTime && totalTime >= 0) {\n child = this._first;\n\n while (child) {\n next = child._next;\n\n if ((child._act || time >= child._start) && child._ts && pauseTween !== child) {\n if (child.parent !== this) {\n // an extreme edge case - the child's render could do something like kill() the \"next\" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe.\n return this.render(totalTime, suppressEvents, force);\n }\n\n child.render(child._ts > 0 ? (time - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (time - child._start) * child._ts, suppressEvents, force);\n\n if (time !== this._time || !this._ts && !prevPaused) {\n //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete\n pauseTween = 0;\n next && (tTime += this._zTime = -_tinyNum); // it didn't finish rendering, so flag zTime as negative so that the next time render() is called it'll be forced (to render any remaining children)\n\n break;\n }\n }\n\n child = next;\n }\n } else {\n child = this._last;\n var adjustedTime = totalTime < 0 ? totalTime : time; //when the playhead goes backward beyond the start of this timeline, we must pass that information down to the child animations so that zero-duration tweens know whether to render their starting or ending values.\n\n while (child) {\n next = child._prev;\n\n if ((child._act || adjustedTime <= child._end) && child._ts && pauseTween !== child) {\n if (child.parent !== this) {\n // an extreme edge case - the child's render could do something like kill() the \"next\" one in the linked list, or reparent it. In that case we must re-initiate the whole render to be safe.\n return this.render(totalTime, suppressEvents, force);\n }\n\n child.render(child._ts > 0 ? (adjustedTime - child._start) * child._ts : (child._dirty ? child.totalDuration() : child._tDur) + (adjustedTime - child._start) * child._ts, suppressEvents, force || _reverting && _isRevertWorthy(child)); // if reverting, we should always force renders of initted tweens (but remember that .fromTo() or .from() may have a _startAt but not _initted yet). If, for example, a .fromTo() tween with a stagger (which creates an internal timeline) gets reverted BEFORE some of its child tweens render for the first time, it may not properly trigger them to revert.\n\n if (time !== this._time || !this._ts && !prevPaused) {\n //in case a tween pauses or seeks the timeline when rendering, like inside of an onUpdate/onComplete\n pauseTween = 0;\n next && (tTime += this._zTime = adjustedTime ? -_tinyNum : _tinyNum); // it didn't finish rendering, so adjust zTime so that so that the next time render() is called it'll be forced (to render any remaining children)\n\n break;\n }\n }\n\n child = next;\n }\n }\n\n if (pauseTween && !suppressEvents) {\n this.pause();\n pauseTween.render(time >= prevTime ? 0 : -_tinyNum)._zTime = time >= prevTime ? 1 : -1;\n\n if (this._ts) {\n //the callback resumed playback! So since we may have held back the playhead due to where the pause is positioned, go ahead and jump to where it's SUPPOSED to be (if no pause happened).\n this._start = prevStart; //if the pause was at an earlier time and the user resumed in the callback, it could reposition the timeline (changing its startTime), throwing things off slightly, so we make sure the _start doesn't shift.\n\n _setEnd(this);\n\n return this.render(totalTime, suppressEvents, force);\n }\n }\n\n this._onUpdate && !suppressEvents && _callback(this, \"onUpdate\", true);\n if (tTime === tDur && this._tTime >= this.totalDuration() || !tTime && prevTime) if (prevStart === this._start || Math.abs(timeScale) !== Math.abs(this._ts)) if (!this._lock) {\n // remember, a child's callback may alter this timeline's playhead or timeScale which is why we need to add some of these checks.\n (totalTime || !dur) && (tTime === tDur && this._ts > 0 || !tTime && this._ts < 0) && _removeFromParent(this, 1); // don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.\n\n if (!suppressEvents && !(totalTime < 0 && !prevTime) && (tTime || prevTime || !tDur)) {\n _callback(this, tTime === tDur && totalTime >= 0 ? \"onComplete\" : \"onReverseComplete\", true);\n\n this._prom && !(tTime < tDur && this.timeScale() > 0) && this._prom();\n }\n }\n }\n\n return this;\n };\n\n _proto2.add = function add(child, position) {\n var _this2 = this;\n\n _isNumber(position) || (position = _parsePosition(this, position, child));\n\n if (!(child instanceof Animation)) {\n if (_isArray(child)) {\n child.forEach(function (obj) {\n return _this2.add(obj, position);\n });\n return this;\n }\n\n if (_isString(child)) {\n return this.addLabel(child, position);\n }\n\n if (_isFunction(child)) {\n child = Tween.delayedCall(0, child);\n } else {\n return this;\n }\n }\n\n return this !== child ? _addToTimeline(this, child, position) : this; //don't allow a timeline to be added to itself as a child!\n };\n\n _proto2.getChildren = function getChildren(nested, tweens, timelines, ignoreBeforeTime) {\n if (nested === void 0) {\n nested = true;\n }\n\n if (tweens === void 0) {\n tweens = true;\n }\n\n if (timelines === void 0) {\n timelines = true;\n }\n\n if (ignoreBeforeTime === void 0) {\n ignoreBeforeTime = -_bigNum;\n }\n\n var a = [],\n child = this._first;\n\n while (child) {\n if (child._start >= ignoreBeforeTime) {\n if (child instanceof Tween) {\n tweens && a.push(child);\n } else {\n timelines && a.push(child);\n nested && a.push.apply(a, child.getChildren(true, tweens, timelines));\n }\n }\n\n child = child._next;\n }\n\n return a;\n };\n\n _proto2.getById = function getById(id) {\n var animations = this.getChildren(1, 1, 1),\n i = animations.length;\n\n while (i--) {\n if (animations[i].vars.id === id) {\n return animations[i];\n }\n }\n };\n\n _proto2.remove = function remove(child) {\n if (_isString(child)) {\n return this.removeLabel(child);\n }\n\n if (_isFunction(child)) {\n return this.killTweensOf(child);\n }\n\n child.parent === this && _removeLinkedListItem(this, child);\n\n if (child === this._recent) {\n this._recent = this._last;\n }\n\n return _uncache(this);\n };\n\n _proto2.totalTime = function totalTime(_totalTime2, suppressEvents) {\n if (!arguments.length) {\n return this._tTime;\n }\n\n this._forcing = 1;\n\n if (!this._dp && this._ts) {\n //special case for the global timeline (or any other that has no parent or detached parent).\n this._start = _roundPrecise(_ticker.time - (this._ts > 0 ? _totalTime2 / this._ts : (this.totalDuration() - _totalTime2) / -this._ts));\n }\n\n _Animation.prototype.totalTime.call(this, _totalTime2, suppressEvents);\n\n this._forcing = 0;\n return this;\n };\n\n _proto2.addLabel = function addLabel(label, position) {\n this.labels[label] = _parsePosition(this, position);\n return this;\n };\n\n _proto2.removeLabel = function removeLabel(label) {\n delete this.labels[label];\n return this;\n };\n\n _proto2.addPause = function addPause(position, callback, params) {\n var t = Tween.delayedCall(0, callback || _emptyFunc, params);\n t.data = \"isPause\";\n this._hasPause = 1;\n return _addToTimeline(this, t, _parsePosition(this, position));\n };\n\n _proto2.removePause = function removePause(position) {\n var child = this._first;\n position = _parsePosition(this, position);\n\n while (child) {\n if (child._start === position && child.data === \"isPause\") {\n _removeFromParent(child);\n }\n\n child = child._next;\n }\n };\n\n _proto2.killTweensOf = function killTweensOf(targets, props, onlyActive) {\n var tweens = this.getTweensOf(targets, onlyActive),\n i = tweens.length;\n\n while (i--) {\n _overwritingTween !== tweens[i] && tweens[i].kill(targets, props);\n }\n\n return this;\n };\n\n _proto2.getTweensOf = function getTweensOf(targets, onlyActive) {\n var a = [],\n parsedTargets = toArray(targets),\n child = this._first,\n isGlobalTime = _isNumber(onlyActive),\n // a number is interpreted as a global time. If the animation spans\n children;\n\n while (child) {\n if (child instanceof Tween) {\n if (_arrayContainsAny(child._targets, parsedTargets) && (isGlobalTime ? (!_overwritingTween || child._initted && child._ts) && child.globalTime(0) <= onlyActive && child.globalTime(child.totalDuration()) > onlyActive : !onlyActive || child.isActive())) {\n // note: if this is for overwriting, it should only be for tweens that aren't paused and are initted.\n a.push(child);\n }\n } else if ((children = child.getTweensOf(parsedTargets, onlyActive)).length) {\n a.push.apply(a, children);\n }\n\n child = child._next;\n }\n\n return a;\n } // potential future feature - targets() on timelines\n // targets() {\n // \tlet result = [];\n // \tthis.getChildren(true, true, false).forEach(t => result.push(...t.targets()));\n // \treturn result.filter((v, i) => result.indexOf(v) === i);\n // }\n ;\n\n _proto2.tweenTo = function tweenTo(position, vars) {\n vars = vars || {};\n\n var tl = this,\n endTime = _parsePosition(tl, position),\n _vars = vars,\n startAt = _vars.startAt,\n _onStart = _vars.onStart,\n onStartParams = _vars.onStartParams,\n immediateRender = _vars.immediateRender,\n initted,\n tween = Tween.to(tl, _setDefaults({\n ease: vars.ease || \"none\",\n lazy: false,\n immediateRender: false,\n time: endTime,\n overwrite: \"auto\",\n duration: vars.duration || Math.abs((endTime - (startAt && \"time\" in startAt ? startAt.time : tl._time)) / tl.timeScale()) || _tinyNum,\n onStart: function onStart() {\n tl.pause();\n\n if (!initted) {\n var duration = vars.duration || Math.abs((endTime - (startAt && \"time\" in startAt ? startAt.time : tl._time)) / tl.timeScale());\n tween._dur !== duration && _setDuration(tween, duration, 0, 1).render(tween._time, true, true);\n initted = 1;\n }\n\n _onStart && _onStart.apply(tween, onStartParams || []); //in case the user had an onStart in the vars - we don't want to overwrite it.\n }\n }, vars));\n\n return immediateRender ? tween.render(0) : tween;\n };\n\n _proto2.tweenFromTo = function tweenFromTo(fromPosition, toPosition, vars) {\n return this.tweenTo(toPosition, _setDefaults({\n startAt: {\n time: _parsePosition(this, fromPosition)\n }\n }, vars));\n };\n\n _proto2.recent = function recent() {\n return this._recent;\n };\n\n _proto2.nextLabel = function nextLabel(afterTime) {\n if (afterTime === void 0) {\n afterTime = this._time;\n }\n\n return _getLabelInDirection(this, _parsePosition(this, afterTime));\n };\n\n _proto2.previousLabel = function previousLabel(beforeTime) {\n if (beforeTime === void 0) {\n beforeTime = this._time;\n }\n\n return _getLabelInDirection(this, _parsePosition(this, beforeTime), 1);\n };\n\n _proto2.currentLabel = function currentLabel(value) {\n return arguments.length ? this.seek(value, true) : this.previousLabel(this._time + _tinyNum);\n };\n\n _proto2.shiftChildren = function shiftChildren(amount, adjustLabels, ignoreBeforeTime) {\n if (ignoreBeforeTime === void 0) {\n ignoreBeforeTime = 0;\n }\n\n var child = this._first,\n labels = this.labels,\n p;\n amount = _roundPrecise(amount);\n\n while (child) {\n if (child._start >= ignoreBeforeTime) {\n child._start += amount;\n child._end += amount;\n }\n\n child = child._next;\n }\n\n if (adjustLabels) {\n for (p in labels) {\n if (labels[p] >= ignoreBeforeTime) {\n labels[p] += amount;\n }\n }\n }\n\n return _uncache(this);\n };\n\n _proto2.invalidate = function invalidate(soft) {\n var child = this._first;\n this._lock = 0;\n\n while (child) {\n child.invalidate(soft);\n child = child._next;\n }\n\n return _Animation.prototype.invalidate.call(this, soft);\n };\n\n _proto2.clear = function clear(includeLabels) {\n if (includeLabels === void 0) {\n includeLabels = true;\n }\n\n var child = this._first,\n next;\n\n while (child) {\n next = child._next;\n this.remove(child);\n child = next;\n }\n\n this._dp && (this._time = this._tTime = this._pTime = 0);\n includeLabels && (this.labels = {});\n return _uncache(this);\n };\n\n _proto2.totalDuration = function totalDuration(value) {\n var max = 0,\n self = this,\n child = self._last,\n prevStart = _bigNum,\n prev,\n start,\n parent;\n\n if (arguments.length) {\n return self.timeScale((self._repeat < 0 ? self.duration() : self.totalDuration()) / (self.reversed() ? -value : value));\n }\n\n if (self._dirty) {\n parent = self.parent;\n\n while (child) {\n prev = child._prev; //record it here in case the tween changes position in the sequence...\n\n child._dirty && child.totalDuration(); //could change the tween._startTime, so make sure the animation's cache is clean before analyzing it.\n\n start = child._start;\n\n if (start > prevStart && self._sort && child._ts && !self._lock) {\n //in case one of the tweens shifted out of order, it needs to be re-inserted into the correct position in the sequence\n self._lock = 1; //prevent endless recursive calls - there are methods that get triggered that check duration/totalDuration when we add().\n\n _addToTimeline(self, child, start - child._delay, 1)._lock = 0;\n } else {\n prevStart = start;\n }\n\n if (start < 0 && child._ts) {\n //children aren't allowed to have negative startTimes unless smoothChildTiming is true, so adjust here if one is found.\n max -= start;\n\n if (!parent && !self._dp || parent && parent.smoothChildTiming) {\n self._start += _roundPrecise(start / self._ts);\n self._time -= start;\n self._tTime -= start;\n }\n\n self.shiftChildren(-start, false, -1e999);\n prevStart = 0;\n }\n\n child._end > max && child._ts && (max = child._end);\n child = prev;\n }\n\n _setDuration(self, self === _globalTimeline && self._time > max ? self._time : max, 1, 1);\n\n self._dirty = 0;\n }\n\n return self._tDur;\n };\n\n Timeline.updateRoot = function updateRoot(time) {\n if (_globalTimeline._ts) {\n _lazySafeRender(_globalTimeline, _parentToChildTotalTime(time, _globalTimeline));\n\n _lastRenderedFrame = _ticker.frame;\n }\n\n if (_ticker.frame >= _nextGCFrame) {\n _nextGCFrame += _config.autoSleep || 120;\n var child = _globalTimeline._first;\n if (!child || !child._ts) if (_config.autoSleep && _ticker._listeners.length < 2) {\n while (child && !child._ts) {\n child = child._next;\n }\n\n child || _ticker.sleep();\n }\n }\n };\n\n return Timeline;\n}(Animation);\n\n_setDefaults(Timeline.prototype, {\n _lock: 0,\n _hasPause: 0,\n _forcing: 0\n});\n\nvar _addComplexStringPropTween = function _addComplexStringPropTween(target, prop, start, end, setter, stringFilter, funcParam) {\n //note: we call _addComplexStringPropTween.call(tweenInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus \"this\" would refer to the plugin.\n var pt = new PropTween(this._pt, target, prop, 0, 1, _renderComplexString, null, setter),\n index = 0,\n matchIndex = 0,\n result,\n startNums,\n color,\n endNum,\n chunk,\n startNum,\n hasRandom,\n a;\n pt.b = start;\n pt.e = end;\n start += \"\"; //ensure values are strings\n\n end += \"\";\n\n if (hasRandom = ~end.indexOf(\"random(\")) {\n end = _replaceRandom(end);\n }\n\n if (stringFilter) {\n a = [start, end];\n stringFilter(a, target, prop); //pass an array with the starting and ending values and let the filter do whatever it needs to the values.\n\n start = a[0];\n end = a[1];\n }\n\n startNums = start.match(_complexStringNumExp) || [];\n\n while (result = _complexStringNumExp.exec(end)) {\n endNum = result[0];\n chunk = end.substring(index, result.index);\n\n if (color) {\n color = (color + 1) % 5;\n } else if (chunk.substr(-5) === \"rgba(\") {\n color = 1;\n }\n\n if (endNum !== startNums[matchIndex++]) {\n startNum = parseFloat(startNums[matchIndex - 1]) || 0; //these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method.\n\n pt._pt = {\n _next: pt._pt,\n p: chunk || matchIndex === 1 ? chunk : \",\",\n //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.\n s: startNum,\n c: endNum.charAt(1) === \"=\" ? _parseRelative(startNum, endNum) - startNum : parseFloat(endNum) - startNum,\n m: color && color < 4 ? Math.round : 0\n };\n index = _complexStringNumExp.lastIndex;\n }\n }\n\n pt.c = index < end.length ? end.substring(index, end.length) : \"\"; //we use the \"c\" of the PropTween to store the final part of the string (after the last number)\n\n pt.fp = funcParam;\n\n if (_relExp.test(end) || hasRandom) {\n pt.e = 0; //if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).\n }\n\n this._pt = pt; //start the linked list with this new PropTween. Remember, we call _addComplexStringPropTween.call(tweenInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus \"this\" would refer to the plugin.\n\n return pt;\n},\n _addPropTween = function _addPropTween(target, prop, start, end, index, targets, modifier, stringFilter, funcParam, optional) {\n _isFunction(end) && (end = end(index || 0, target, targets));\n var currentValue = target[prop],\n parsedStart = start !== \"get\" ? start : !_isFunction(currentValue) ? currentValue : funcParam ? target[prop.indexOf(\"set\") || !_isFunction(target[\"get\" + prop.substr(3)]) ? prop : \"get\" + prop.substr(3)](funcParam) : target[prop](),\n setter = !_isFunction(currentValue) ? _setterPlain : funcParam ? _setterFuncWithParam : _setterFunc,\n pt;\n\n if (_isString(end)) {\n if (~end.indexOf(\"random(\")) {\n end = _replaceRandom(end);\n }\n\n if (end.charAt(1) === \"=\") {\n pt = _parseRelative(parsedStart, end) + (getUnit(parsedStart) || 0);\n\n if (pt || pt === 0) {\n // to avoid isNaN, like if someone passes in a value like \"!= whatever\"\n end = pt;\n }\n }\n }\n\n if (!optional || parsedStart !== end || _forceAllPropTweens) {\n if (!isNaN(parsedStart * end) && end !== \"\") {\n // fun fact: any number multiplied by \"\" is evaluated as the number 0!\n pt = new PropTween(this._pt, target, prop, +parsedStart || 0, end - (parsedStart || 0), typeof currentValue === \"boolean\" ? _renderBoolean : _renderPlain, 0, setter);\n funcParam && (pt.fp = funcParam);\n modifier && pt.modifier(modifier, this, target);\n return this._pt = pt;\n }\n\n !currentValue && !(prop in target) && _missingPlugin(prop, end);\n return _addComplexStringPropTween.call(this, target, prop, parsedStart, end, setter, stringFilter || _config.stringFilter, funcParam);\n }\n},\n //creates a copy of the vars object and processes any function-based values (putting the resulting values directly into the copy) as well as strings with \"random()\" in them. It does NOT process relative values.\n_processVars = function _processVars(vars, index, target, targets, tween) {\n _isFunction(vars) && (vars = _parseFuncOrString(vars, tween, index, target, targets));\n\n if (!_isObject(vars) || vars.style && vars.nodeType || _isArray(vars) || _isTypedArray(vars)) {\n return _isString(vars) ? _parseFuncOrString(vars, tween, index, target, targets) : vars;\n }\n\n var copy = {},\n p;\n\n for (p in vars) {\n copy[p] = _parseFuncOrString(vars[p], tween, index, target, targets);\n }\n\n return copy;\n},\n _checkPlugin = function _checkPlugin(property, vars, tween, index, target, targets) {\n var plugin, pt, ptLookup, i;\n\n if (_plugins[property] && (plugin = new _plugins[property]()).init(target, plugin.rawVars ? vars[property] : _processVars(vars[property], index, target, targets, tween), tween, index, targets) !== false) {\n tween._pt = pt = new PropTween(tween._pt, target, property, 0, 1, plugin.render, plugin, 0, plugin.priority);\n\n if (tween !== _quickTween) {\n ptLookup = tween._ptLookup[tween._targets.indexOf(target)]; //note: we can't use tween._ptLookup[index] because for staggered tweens, the index from the fullTargets array won't match what it is in each individual tween that spawns from the stagger.\n\n i = plugin._props.length;\n\n while (i--) {\n ptLookup[plugin._props[i]] = pt;\n }\n }\n }\n\n return plugin;\n},\n _overwritingTween,\n //store a reference temporarily so we can avoid overwriting itself.\n_forceAllPropTweens,\n _initTween = function _initTween(tween, time, tTime) {\n var vars = tween.vars,\n ease = vars.ease,\n startAt = vars.startAt,\n immediateRender = vars.immediateRender,\n lazy = vars.lazy,\n onUpdate = vars.onUpdate,\n runBackwards = vars.runBackwards,\n yoyoEase = vars.yoyoEase,\n keyframes = vars.keyframes,\n autoRevert = vars.autoRevert,\n dur = tween._dur,\n prevStartAt = tween._startAt,\n targets = tween._targets,\n parent = tween.parent,\n fullTargets = parent && parent.data === \"nested\" ? parent.vars.targets : targets,\n autoOverwrite = tween._overwrite === \"auto\" && !_suppressOverwrites,\n tl = tween.timeline,\n reverseEase = vars.easeReverse || yoyoEase,\n cleanVars,\n i,\n p,\n pt,\n target,\n hasPriority,\n gsData,\n harness,\n plugin,\n ptLookup,\n index,\n harnessVars,\n overwritten;\n tl && (!keyframes || !ease) && (ease = \"none\");\n tween._ease = _parseEase(ease, _defaults.ease);\n tween._rEase = reverseEase && (_parseEase(reverseEase) || tween._ease);\n tween._from = !tl && !!vars.runBackwards; //nested timelines should never run backwards - the backwards-ness is in the child tweens.\n\n if (tween._from) tween.ratio = 1;\n\n if (!tl || keyframes && !vars.stagger) {\n //if there's an internal timeline, skip all the parsing because we passed that task down the chain.\n harness = targets[0] ? _getCache(targets[0]).harness : 0;\n harnessVars = harness && vars[harness.prop]; //someone may need to specify CSS-specific values AND non-CSS values, like if the element has an \"x\" property plus it's a standard DOM element. We allow people to distinguish by wrapping plugin-specific stuff in a css:{} object for example.\n\n cleanVars = _copyExcluding(vars, _reservedProps);\n\n if (prevStartAt) {\n prevStartAt._zTime < 0 && prevStartAt.progress(1); // in case it's a lazy startAt that hasn't rendered yet.\n\n time < 0 && runBackwards && immediateRender && !autoRevert ? prevStartAt.render(-1, true) : prevStartAt.revert(runBackwards && dur ? _revertConfigNoKill : _startAtRevertConfig); // if it's a \"startAt\" (not \"from()\" or runBackwards: true), we only need to do a shallow revert (keep transforms cached in CSSPlugin)\n // don't just _removeFromParent(prevStartAt.render(-1, true)) because that'll leave inline styles. We're creating a new _startAt for \"startAt\" tweens that re-capture things to ensure that if the pre-tween values changed since the tween was created, they're recorded.\n\n prevStartAt._lazy = 0;\n }\n\n if (startAt) {\n _removeFromParent(tween._startAt = Tween.set(targets, _setDefaults({\n data: \"isStart\",\n overwrite: false,\n parent: parent,\n immediateRender: true,\n lazy: !prevStartAt && _isNotFalse(lazy),\n startAt: null,\n delay: 0,\n onUpdate: onUpdate && function () {\n return _callback(tween, \"onUpdate\");\n },\n stagger: 0\n }, startAt))); //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, from, to).fromTo(e, to, from);\n\n\n tween._startAt._dp = 0; // don't allow it to get put back into root timeline! Like when revert() is called and totalTime() gets set.\n\n tween._startAt._sat = tween; // used in globalTime(). _sat stands for _startAtTween\n\n time < 0 && (_reverting || !immediateRender && !autoRevert) && tween._startAt.revert(_revertConfigNoKill); // rare edge case, like if a render is forced in the negative direction of a non-initted tween.\n\n if (immediateRender) {\n if (dur && time <= 0 && tTime <= 0) {\n // check tTime here because in the case of a yoyo tween whose playhead gets pushed to the end like tween.progress(1), we should allow it through so that the onComplete gets fired properly.\n time && (tween._zTime = time);\n return; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a Timeline, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.\n }\n }\n } else if (runBackwards && dur) {\n // from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)\n if (!prevStartAt) {\n time && (immediateRender = false); //in rare cases (like if a from() tween runs and then is invalidate()-ed), immediateRender could be true but the initial forced-render gets skipped, so there's no need to force the render in this context when the _time is greater than 0\n\n p = _setDefaults({\n overwrite: false,\n data: \"isFromStart\",\n //we tag the tween with as \"isFromStart\" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a \"from()\" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:\"height\", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.\n lazy: immediateRender && !prevStartAt && _isNotFalse(lazy),\n immediateRender: immediateRender,\n //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)\n stagger: 0,\n parent: parent //ensures that nested tweens that had a stagger are handled properly, like gsap.from(\".class\", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})\n\n }, cleanVars);\n harnessVars && (p[harness.prop] = harnessVars); // in case someone does something like .from(..., {css:{}})\n\n _removeFromParent(tween._startAt = Tween.set(targets, p));\n\n tween._startAt._dp = 0; // don't allow it to get put back into root timeline!\n\n tween._startAt._sat = tween; // used in globalTime()\n\n time < 0 && (_reverting ? tween._startAt.revert(_revertConfigNoKill) : tween._startAt.render(-1, true));\n tween._zTime = time;\n\n if (!immediateRender) {\n _initTween(tween._startAt, _tinyNum, _tinyNum); //ensures that the initial values are recorded\n\n } else if (!time) {\n return;\n }\n }\n }\n\n tween._pt = tween._ptCache = 0;\n lazy = dur && _isNotFalse(lazy) || lazy && !dur;\n\n for (i = 0; i < targets.length; i++) {\n target = targets[i];\n gsData = target._gsap || _harness(targets)[i]._gsap;\n tween._ptLookup[i] = ptLookup = {};\n _lazyLookup[gsData.id] && _lazyTweens.length && _lazyRender(); //if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)\n\n index = fullTargets === targets ? i : fullTargets.indexOf(target);\n\n if (harness && (plugin = new harness()).init(target, harnessVars || cleanVars, tween, index, fullTargets) !== false) {\n tween._pt = pt = new PropTween(tween._pt, target, plugin.name, 0, 1, plugin.render, plugin, 0, plugin.priority);\n\n plugin._props.forEach(function (name) {\n ptLookup[name] = pt;\n });\n\n plugin.priority && (hasPriority = 1);\n }\n\n if (!harness || harnessVars) {\n for (p in cleanVars) {\n if (_plugins[p] && (plugin = _checkPlugin(p, cleanVars, tween, index, target, fullTargets))) {\n plugin.priority && (hasPriority = 1);\n } else {\n ptLookup[p] = pt = _addPropTween.call(tween, target, p, \"get\", cleanVars[p], index, fullTargets, 0, vars.stringFilter);\n }\n }\n }\n\n tween._op && tween._op[i] && tween.kill(target, tween._op[i]);\n\n if (autoOverwrite && tween._pt) {\n _overwritingTween = tween;\n\n _globalTimeline.killTweensOf(target, ptLookup, tween.globalTime(time)); // make sure the overwriting doesn't overwrite THIS tween!!!\n\n\n overwritten = !tween.parent;\n _overwritingTween = 0;\n }\n\n tween._pt && lazy && (_lazyLookup[gsData.id] = 1);\n }\n\n hasPriority && _sortPropTweensByPriority(tween);\n tween._onInit && tween._onInit(tween); //plugins like RoundProps must wait until ALL of the PropTweens are instantiated. In the plugin's init() function, it sets the _onInit on the tween instance. May not be pretty/intuitive, but it's fast and keeps file size down.\n }\n\n tween._onUpdate = onUpdate;\n tween._initted = (!tween._op || tween._pt) && !overwritten; // if overwrittenProps resulted in the entire tween being killed, do NOT flag it as initted or else it may render for one tick.\n\n keyframes && time <= 0 && tl.render(_bigNum, true, true); // if there's a 0% keyframe, it'll render in the \"before\" state for any staggered/delayed animations thus when the following tween initializes, it'll use the \"before\" state instead of the \"after\" state as the initial values.\n},\n _updatePropTweens = function _updatePropTweens(tween, property, value, start, startIsRelative, ratio, time, skipRecursion) {\n var ptCache = (tween._pt && tween._ptCache || (tween._ptCache = {}))[property],\n pt,\n rootPT,\n lookup,\n i;\n\n if (!ptCache) {\n ptCache = tween._ptCache[property] = [];\n lookup = tween._ptLookup;\n i = tween._targets.length;\n\n while (i--) {\n pt = lookup[i][property];\n\n if (pt && pt.d && pt.d._pt) {\n // it's a plugin, so find the nested PropTween\n pt = pt.d._pt;\n\n while (pt && pt.p !== property && pt.fp !== property) {\n // \"fp\" is functionParam for things like setting CSS variables which require .setProperty(\"--var-name\", value)\n pt = pt._next;\n }\n }\n\n if (!pt) {\n // there is no PropTween associated with that property, so we must FORCE one to be created and ditch out of this\n // if the tween has other properties that already rendered at new positions, we'd normally have to rewind to put them back like tween.render(0, true) before forcing an _initTween(), but that can create another edge case like tweening a timeline's progress would trigger onUpdates to fire which could move other things around. It's better to just inform users that .resetTo() should ONLY be used for tweens that already have that property. For example, you can't gsap.to(...{ y: 0 }) and then tween.restTo(\"x\", 200) for example.\n _forceAllPropTweens = 1; // otherwise, when we _addPropTween() and it finds no change between the start and end values, it skips creating a PropTween (for efficiency...why tween when there's no difference?) but in this case we NEED that PropTween created so we can edit it.\n\n tween.vars[property] = \"+=0\";\n\n _initTween(tween, time);\n\n _forceAllPropTweens = 0;\n return skipRecursion ? _warn(property + \" not eligible for reset. Try splitting into individual properties\") : 1; // if someone tries to do a quickTo() on a special property like borderRadius which must get split into 4 different properties, that's not eligible for .resetTo().\n }\n\n ptCache.push(pt);\n }\n }\n\n i = ptCache.length;\n\n while (i--) {\n rootPT = ptCache[i];\n pt = rootPT._pt || rootPT; // complex values may have nested PropTweens. We only accommodate the FIRST value.\n\n pt.s = (start || start === 0) && !startIsRelative ? start : pt.s + (start || 0) + ratio * pt.c;\n pt.c = value - pt.s;\n rootPT.e && (rootPT.e = _round(value) + getUnit(rootPT.e)); // mainly for CSSPlugin (end value)\n\n rootPT.b && (rootPT.b = pt.s + getUnit(rootPT.b)); // (beginning value)\n }\n},\n _addAliasesToVars = function _addAliasesToVars(targets, vars) {\n var harness = targets[0] ? _getCache(targets[0]).harness : 0,\n propertyAliases = harness && harness.aliases,\n copy,\n p,\n i,\n aliases;\n\n if (!propertyAliases) {\n return vars;\n }\n\n copy = _merge({}, vars);\n\n for (p in propertyAliases) {\n if (p in copy) {\n aliases = propertyAliases[p].split(\",\");\n i = aliases.length;\n\n while (i--) {\n copy[aliases[i]] = copy[p];\n }\n }\n }\n\n return copy;\n},\n // parses multiple formats, like {\"0%\": {x: 100}, {\"50%\": {x: -20}} and { x: {\"0%\": 100, \"50%\": -20} }, and an \"ease\" can be set on any object. We populate an \"allProps\" object with an Array for each property, like {x: [{}, {}], y:[{}, {}]} with data for each property tween. The objects have a \"t\" (time), \"v\", (value), and \"e\" (ease) property. This allows us to piece together a timeline later.\n_parseKeyframe = function _parseKeyframe(prop, obj, allProps, easeEach) {\n var ease = obj.ease || easeEach || \"power1.inOut\",\n p,\n a;\n\n if (_isArray(obj)) {\n a = allProps[prop] || (allProps[prop] = []); // t = time (out of 100), v = value, e = ease\n\n obj.forEach(function (value, i) {\n return a.push({\n t: i / (obj.length - 1) * 100,\n v: value,\n e: ease\n });\n });\n } else {\n for (p in obj) {\n a = allProps[p] || (allProps[p] = []);\n p === \"ease\" || a.push({\n t: parseFloat(prop),\n v: obj[p],\n e: ease\n });\n }\n }\n},\n _parseFuncOrString = function _parseFuncOrString(value, tween, i, target, targets) {\n return _isFunction(value) ? value.call(tween, i, target, targets) : _isString(value) && ~value.indexOf(\"random(\") ? _replaceRandom(value) : value;\n},\n _staggerTweenProps = _callbackNames + \"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert\",\n _staggerPropsToSkip = {};\n\n_forEachName(_staggerTweenProps + \",id,stagger,delay,duration,paused,scrollTrigger\", function (name) {\n return _staggerPropsToSkip[name] = 1;\n});\n/*\n * --------------------------------------------------------------------------------------\n * TWEEN\n * --------------------------------------------------------------------------------------\n */\n\n\nexport var Tween = /*#__PURE__*/function (_Animation2) {\n _inheritsLoose(Tween, _Animation2);\n\n function Tween(targets, vars, position, skipInherit) {\n var _this3;\n\n if (typeof vars === \"number\") {\n position.duration = vars;\n vars = position;\n position = null;\n }\n\n _this3 = _Animation2.call(this, skipInherit ? vars : _inheritDefaults(vars)) || this;\n var _this3$vars = _this3.vars,\n duration = _this3$vars.duration,\n delay = _this3$vars.delay,\n immediateRender = _this3$vars.immediateRender,\n stagger = _this3$vars.stagger,\n overwrite = _this3$vars.overwrite,\n keyframes = _this3$vars.keyframes,\n defaults = _this3$vars.defaults,\n scrollTrigger = _this3$vars.scrollTrigger,\n parent = vars.parent || _globalTimeline,\n parsedTargets = (_isArray(targets) || _isTypedArray(targets) ? _isNumber(targets[0]) : \"length\" in vars) ? [targets] : toArray(targets),\n tl,\n i,\n copy,\n l,\n p,\n curTarget,\n staggerFunc,\n staggerVarsToMerge;\n _this3._targets = parsedTargets.length ? _harness(parsedTargets) : _warn(\"GSAP target \" + targets + \" not found. https://gsap.com\", !_config.nullTargetWarn) || [];\n _this3._ptLookup = []; //PropTween lookup. An array containing an object for each target, having keys for each tweening property\n\n _this3._overwrite = overwrite;\n\n if (keyframes || stagger || _isFuncOrString(duration) || _isFuncOrString(delay)) {\n vars = _this3.vars;\n var easeReverse = vars.easeReverse || vars.yoyoEase;\n tl = _this3.timeline = new Timeline({\n data: \"nested\",\n defaults: defaults || {},\n targets: parent && parent.data === \"nested\" ? parent.vars.targets : parsedTargets\n }); // we need to store the targets because for staggers and keyframes, we end up creating an individual tween for each but function-based values need to know the index and the whole Array of targets.\n\n tl.kill();\n tl.parent = tl._dp = _assertThisInitialized(_this3);\n tl._start = 0;\n\n if (stagger || _isFuncOrString(duration) || _isFuncOrString(delay)) {\n l = parsedTargets.length;\n staggerFunc = stagger && distribute(stagger);\n\n if (_isObject(stagger)) {\n //users can pass in callbacks like onStart/onComplete in the stagger object. These should fire with each individual tween.\n for (p in stagger) {\n if (~_staggerTweenProps.indexOf(p)) {\n staggerVarsToMerge || (staggerVarsToMerge = {});\n staggerVarsToMerge[p] = stagger[p];\n }\n }\n }\n\n for (i = 0; i < l; i++) {\n copy = _copyExcluding(vars, _staggerPropsToSkip);\n copy.stagger = 0;\n easeReverse && (copy.easeReverse = easeReverse);\n staggerVarsToMerge && _merge(copy, staggerVarsToMerge);\n curTarget = parsedTargets[i]; //don't just copy duration or delay because if they're a string or function, we'd end up in an infinite loop because _isFuncOrString() would evaluate as true in the child tweens, entering this loop, etc. So we parse the value straight from vars and default to 0.\n\n copy.duration = +_parseFuncOrString(duration, _assertThisInitialized(_this3), i, curTarget, parsedTargets);\n copy.delay = (+_parseFuncOrString(delay, _assertThisInitialized(_this3), i, curTarget, parsedTargets) || 0) - _this3._delay;\n\n if (!stagger && l === 1 && copy.delay) {\n // if someone does delay:\"random(1, 5)\", repeat:-1, for example, the delay shouldn't be inside the repeat.\n _this3._delay = delay = copy.delay;\n _this3._start += delay;\n copy.delay = 0;\n }\n\n tl.to(curTarget, copy, staggerFunc ? staggerFunc(i, curTarget, parsedTargets) : 0);\n tl._ease = _easeMap.none;\n }\n\n tl.duration() ? duration = delay = 0 : _this3.timeline = 0; // if the timeline's duration is 0, we don't need a timeline internally!\n } else if (keyframes) {\n _inheritDefaults(_setDefaults(tl.vars.defaults, {\n ease: \"none\"\n }));\n\n tl._ease = _parseEase(keyframes.ease || vars.ease || \"none\");\n var time = 0,\n a,\n kf,\n v;\n\n if (_isArray(keyframes)) {\n keyframes.forEach(function (frame) {\n return tl.to(parsedTargets, frame, \">\");\n });\n tl.duration(); // to ensure tl._dur is cached because we tap into it for performance purposes in the render() method.\n } else {\n copy = {};\n\n for (p in keyframes) {\n p === \"ease\" || p === \"easeEach\" || _parseKeyframe(p, keyframes[p], copy, keyframes.easeEach);\n }\n\n for (p in copy) {\n a = copy[p].sort(function (a, b) {\n return a.t - b.t;\n });\n time = 0;\n\n for (i = 0; i < a.length; i++) {\n kf = a[i];\n v = {\n ease: kf.e,\n duration: (kf.t - (i ? a[i - 1].t : 0)) / 100 * duration\n };\n v[p] = kf.v;\n tl.to(parsedTargets, v, time);\n time += v.duration;\n }\n }\n\n tl.duration() < duration && tl.to({}, {\n duration: duration - tl.duration()\n }); // in case keyframes didn't go to 100%\n }\n }\n\n duration || _this3.duration(duration = tl.duration());\n } else {\n _this3.timeline = 0; //speed optimization, faster lookups (no going up the prototype chain)\n }\n\n if (overwrite === true && !_suppressOverwrites) {\n _overwritingTween = _assertThisInitialized(_this3);\n\n _globalTimeline.killTweensOf(parsedTargets);\n\n _overwritingTween = 0;\n }\n\n _addToTimeline(parent, _assertThisInitialized(_this3), position);\n\n vars.reversed && _this3.reverse();\n vars.paused && _this3.paused(true);\n\n if (immediateRender || !duration && !keyframes && _this3._start === _roundPrecise(parent._time) && _isNotFalse(immediateRender) && _hasNoPausedAncestors(_assertThisInitialized(_this3)) && parent.data !== \"nested\") {\n _this3._tTime = -_tinyNum; //forces a render without having to set the render() \"force\" parameter to true because we want to allow lazying by default (using the \"force\" parameter always forces an immediate full render)\n\n _this3.render(Math.max(0, -delay) || 0); //in case delay is negative\n\n }\n\n scrollTrigger && _scrollTrigger(_assertThisInitialized(_this3), scrollTrigger);\n return _this3;\n }\n\n var _proto3 = Tween.prototype;\n\n _proto3.render = function render(totalTime, suppressEvents, force) {\n var prevTime = this._time,\n tDur = this._tDur,\n dur = this._dur,\n isNegative = totalTime < 0,\n tTime = totalTime > tDur - _tinyNum && !isNegative ? tDur : totalTime < _tinyNum ? 0 : totalTime,\n time,\n pt,\n iteration,\n cycleDuration,\n prevIteration,\n isYoyo,\n ratio,\n timeline;\n\n if (!dur) {\n _renderZeroDurationTween(this, totalTime, suppressEvents, force);\n } else if (tTime !== this._tTime || !totalTime || force || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== isNegative || this._lazy) {\n // this senses if we're crossing over the start time, in which case we must record _zTime and force the render, but we do it in this lengthy conditional way for performance reasons (usually we can skip the calculations): this._initted && (this._zTime < 0) !== (totalTime < 0)\n time = tTime;\n timeline = this.timeline;\n\n if (this._repeat) {\n //adjust the time for repeats and yoyos\n cycleDuration = dur + this._rDelay;\n\n if (this._repeat < -1 && isNegative) {\n return this.totalTime(cycleDuration * 100 + totalTime, suppressEvents, force);\n }\n\n time = _roundPrecise(tTime % cycleDuration); //round to avoid floating point errors. (4 % 0.8 should be 0 but some browsers report it as 0.79999999!)\n\n if (tTime === tDur) {\n // the tDur === tTime is for edge cases where there's a lengthy decimal on the duration and it may reach the very end but the time is rendered as not-quite-there (remember, tDur is rounded to 4 decimals whereas dur isn't)\n iteration = this._repeat;\n time = dur;\n } else {\n prevIteration = _roundPrecise(tTime / cycleDuration); // full decimal version of iterations, not the previous iteration (we're reusing prevIteration variable for efficiency)\n\n iteration = ~~prevIteration;\n\n if (iteration && iteration === prevIteration) {\n time = dur;\n iteration--;\n } else if (time > dur) {\n time = dur;\n }\n }\n\n isYoyo = this._yoyo && iteration & 1;\n if (isYoyo) time = dur - time;\n prevIteration = _animationCycle(this._tTime, cycleDuration);\n\n if (time === prevTime && !force && this._initted && iteration === prevIteration) {\n //could be during the repeatDelay part. No need to render and fire callbacks.\n this._tTime = tTime;\n return this;\n }\n\n if (iteration !== prevIteration) {\n //repeatRefresh functionality\n if (this.vars.repeatRefresh && !isYoyo && !this._lock && time !== cycleDuration && this._initted) {\n // this._time will === cycleDuration when we render at EXACTLY the end of an iteration. Without this condition, it'd often do the repeatRefresh render TWICE (again on the very next tick).\n this._lock = force = 1; //force, otherwise if lazy is true, the _attemptInitTween() will return and we'll jump out and get caught bouncing on each tick.\n\n this.render(_roundPrecise(cycleDuration * iteration), true).invalidate()._lock = 0;\n }\n }\n }\n\n if (!this._initted) {\n if (_attemptInitTween(this, isNegative ? totalTime : time, force, suppressEvents, tTime)) {\n this._tTime = 0; // in constructor if immediateRender is true, we set _tTime to -_tinyNum to have the playhead cross the starting point but we can't leave _tTime as a negative number.\n\n return this;\n }\n\n if (prevTime !== this._time && !(force && this.vars.repeatRefresh && iteration !== prevIteration)) {\n // rare edge case - during initialization, an onUpdate in the _startAt (.fromTo()) might force this tween to render at a different spot in which case we should ditch this render() call so that it doesn't revert the values. But we also don't want to dump if we're doing a repeatRefresh render!\n return this;\n }\n\n if (dur !== this._dur) {\n // while initting, a plugin like InertiaPlugin might alter the duration, so rerun from the start to ensure everything renders as it should.\n return this.render(totalTime, suppressEvents, force);\n }\n }\n\n if (this._rEase) {\n var inv = time < prevTime;\n\n if (inv !== this._inv) {\n var segDur = inv ? prevTime : dur - prevTime;\n this._inv = inv;\n if (this._from) this.ratio = 1 - this.ratio;\n this._invRatio = this.ratio;\n this._invTime = prevTime;\n this._invRecip = segDur ? (inv ? -1 : 1) / segDur : 0;\n this._invScale = inv ? -this.ratio : 1 - this.ratio;\n this._invEase = inv ? this._rEase : this._ease;\n }\n\n this.ratio = ratio = this._invRatio + this._invScale * this._invEase((time - this._invTime) * this._invRecip);\n } else {\n this.ratio = ratio = this._ease(time / dur);\n }\n\n if (this._from) this.ratio = ratio = 1 - ratio;\n this._tTime = tTime;\n this._time = time;\n\n if (!this._act && this._ts) {\n this._act = 1; //as long as it's not paused, force it to be active so that if the user renders independent of the parent timeline, it'll be forced to re-render on the next tick.\n\n this._lazy = 0;\n }\n\n if (!prevTime && tTime && !suppressEvents && !prevIteration) {\n _callback(this, \"onStart\");\n\n if (this._tTime !== tTime) {\n // in case the onStart triggered a render at a different spot, eject. Like if someone did animation.pause(0.5) or something inside the onStart.\n return this;\n }\n }\n\n pt = this._pt;\n\n while (pt) {\n pt.r(ratio, pt.d);\n pt = pt._next;\n }\n\n timeline && timeline.render(totalTime < 0 ? totalTime : timeline._dur * timeline._ease(time / this._dur), suppressEvents, force) || this._startAt && (this._zTime = totalTime);\n\n if (this._onUpdate && !suppressEvents) {\n isNegative && _rewindStartAt(this, totalTime, suppressEvents, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.\n\n _callback(this, \"onUpdate\");\n }\n\n this._repeat && iteration !== prevIteration && this.vars.onRepeat && !suppressEvents && this.parent && _callback(this, \"onRepeat\");\n\n if ((tTime === this._tDur || !tTime) && this._tTime === tTime) {\n isNegative && !this._onUpdate && _rewindStartAt(this, totalTime, true, true);\n (totalTime || !dur) && (tTime === this._tDur && this._ts > 0 || !tTime && this._ts < 0) && _removeFromParent(this, 1); // don't remove if we're rendering at exactly a time of 0, as there could be autoRevert values that should get set on the next tick (if the playhead goes backward beyond the startTime, negative totalTime). Don't remove if the timeline is reversed and the playhead isn't at 0, otherwise tl.progress(1).reverse() won't work. Only remove if the playhead is at the end and timeScale is positive, or if the playhead is at 0 and the timeScale is negative.\n\n if (!suppressEvents && !(isNegative && !prevTime) && (tTime || prevTime || isYoyo)) {\n // if prevTime and tTime are zero, we shouldn't fire the onReverseComplete. This could happen if you gsap.to(... {paused:true}).play();\n _callback(this, tTime === tDur ? \"onComplete\" : \"onReverseComplete\", true);\n\n this._prom && !(tTime < tDur && this.timeScale() > 0) && this._prom();\n }\n }\n }\n\n return this;\n };\n\n _proto3.targets = function targets() {\n return this._targets;\n };\n\n _proto3.invalidate = function invalidate(soft) {\n // \"soft\" gives us a way to clear out everything EXCEPT the recorded pre-\"from\" portion of from() tweens. Otherwise, for example, if you tween.progress(1).render(0, true true).invalidate(), the \"from\" values would persist and then on the next render, the from() tweens would initialize and the current value would match the \"from\" values, thus animate from the same value to the same value (no animation). We tap into this in ScrollTrigger's refresh() where we must push a tween to completion and then back again but honor its init state in case the tween is dependent on another tween further up on the page.\n (!soft || !this.vars.runBackwards) && (this._startAt = 0);\n this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0;\n this._ptLookup = [];\n this.timeline && this.timeline.invalidate(soft);\n return _Animation2.prototype.invalidate.call(this, soft);\n };\n\n _proto3.resetTo = function resetTo(property, value, start, startIsRelative, skipRecursion) {\n _tickerActive || _ticker.wake();\n this._ts || this.play();\n var time = Math.min(this._dur, (this._dp._time - this._start) * this._ts),\n ratio;\n this._initted || _initTween(this, time);\n ratio = this._ease(time / this._dur); // don't just get tween.ratio because it may not have rendered yet.\n // possible future addition to allow an object with multiple values to update, like tween.resetTo({x: 100, y: 200}); At this point, it doesn't seem worth the added kb given the fact that most users will likely opt for the convenient gsap.quickTo() way of interacting with this method.\n // if (_isObject(property)) { // performance optimization\n // \tfor (p in property) {\n // \t\tif (_updatePropTweens(this, p, property[p], value ? value[p] : null, start, ratio, time)) {\n // \t\t\treturn this.resetTo(property, value, start, startIsRelative); // if a PropTween wasn't found for the property, it'll get forced with a re-initialization so we need to jump out and start over again.\n // \t\t}\n // \t}\n // } else {\n\n if (_updatePropTweens(this, property, value, start, startIsRelative, ratio, time, skipRecursion)) {\n return this.resetTo(property, value, start, startIsRelative, 1); // if a PropTween wasn't found for the property, it'll get forced with a re-initialization so we need to jump out and start over again.\n } //}\n\n\n _alignPlayhead(this, 0);\n\n this.parent || _addLinkedListItem(this._dp, this, \"_first\", \"_last\", this._dp._sort ? \"_start\" : 0);\n return this.render(0);\n };\n\n _proto3.kill = function kill(targets, vars) {\n if (vars === void 0) {\n vars = \"all\";\n }\n\n if (!targets && (!vars || vars === \"all\")) {\n this._lazy = this._pt = 0;\n this.parent ? _interrupt(this) : this.scrollTrigger && this.scrollTrigger.kill(!!_reverting);\n return this;\n }\n\n if (this.timeline) {\n var tDur = this.timeline.totalDuration();\n this.timeline.killTweensOf(targets, vars, _overwritingTween && _overwritingTween.vars.overwrite !== true)._first || _interrupt(this); // if nothing is left tweening, interrupt.\n\n this.parent && tDur !== this.timeline.totalDuration() && _setDuration(this, this._dur * this.timeline._tDur / tDur, 0, 1); // if a nested tween is killed that changes the duration, it should affect this tween's duration. We must use the ratio, though, because sometimes the internal timeline is stretched like for keyframes where they don't all add up to whatever the parent tween's duration was set to.\n\n return this;\n }\n\n var parsedTargets = this._targets,\n killingTargets = targets ? toArray(targets) : parsedTargets,\n propTweenLookup = this._ptLookup,\n firstPT = this._pt,\n overwrittenProps,\n curLookup,\n curOverwriteProps,\n props,\n p,\n pt,\n i;\n\n if ((!vars || vars === \"all\") && _arraysMatch(parsedTargets, killingTargets)) {\n vars === \"all\" && (this._pt = 0);\n return _interrupt(this);\n }\n\n overwrittenProps = this._op = this._op || [];\n\n if (vars !== \"all\") {\n //so people can pass in a comma-delimited list of property names\n if (_isString(vars)) {\n p = {};\n\n _forEachName(vars, function (name) {\n return p[name] = 1;\n });\n\n vars = p;\n }\n\n vars = _addAliasesToVars(parsedTargets, vars);\n }\n\n i = parsedTargets.length;\n\n while (i--) {\n if (~killingTargets.indexOf(parsedTargets[i])) {\n curLookup = propTweenLookup[i];\n\n if (vars === \"all\") {\n overwrittenProps[i] = vars;\n props = curLookup;\n curOverwriteProps = {};\n } else {\n curOverwriteProps = overwrittenProps[i] = overwrittenProps[i] || {};\n props = vars;\n }\n\n for (p in props) {\n pt = curLookup && curLookup[p];\n\n if (pt) {\n if (!(\"kill\" in pt.d) || pt.d.kill(p) === true) {\n _removeLinkedListItem(this, pt, \"_pt\");\n }\n\n delete curLookup[p];\n }\n\n if (curOverwriteProps !== \"all\") {\n curOverwriteProps[p] = 1;\n }\n }\n }\n }\n\n this._initted && !this._pt && firstPT && _interrupt(this); //if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.\n\n return this;\n };\n\n Tween.to = function to(targets, vars) {\n return new Tween(targets, vars, arguments[2]);\n };\n\n Tween.from = function from(targets, vars) {\n return _createTweenType(1, arguments);\n };\n\n Tween.delayedCall = function delayedCall(delay, callback, params, scope) {\n return new Tween(callback, 0, {\n immediateRender: false,\n lazy: false,\n overwrite: false,\n delay: delay,\n onComplete: callback,\n onReverseComplete: callback,\n onCompleteParams: params,\n onReverseCompleteParams: params,\n callbackScope: scope\n }); // we must use onReverseComplete too for things like timeline.add(() => {...}) which should be triggered in BOTH directions (forward and reverse)\n };\n\n Tween.fromTo = function fromTo(targets, fromVars, toVars) {\n return _createTweenType(2, arguments);\n };\n\n Tween.set = function set(targets, vars) {\n vars.duration = 0;\n vars.repeatDelay || (vars.repeat = 0);\n return new Tween(targets, vars);\n };\n\n Tween.killTweensOf = function killTweensOf(targets, props, onlyActive) {\n return _globalTimeline.killTweensOf(targets, props, onlyActive);\n };\n\n return Tween;\n}(Animation);\n\n_setDefaults(Tween.prototype, {\n _targets: [],\n _lazy: 0,\n _startAt: 0,\n _op: 0,\n _onInit: 0\n}); //add the pertinent timeline methods to Tween instances so that users can chain conveniently and create a timeline automatically. (removed due to concerns that it'd ultimately add to more confusion especially for beginners)\n// _forEachName(\"to,from,fromTo,set,call,add,addLabel,addPause\", name => {\n// \tTween.prototype[name] = function() {\n// \t\tlet tl = new Timeline();\n// \t\treturn _addToTimeline(tl, this)[name].apply(tl, toArray(arguments));\n// \t}\n// });\n//for backward compatibility. Leverage the timeline calls.\n\n\n_forEachName(\"staggerTo,staggerFrom,staggerFromTo\", function (name) {\n Tween[name] = function () {\n var tl = new Timeline(),\n params = _slice.call(arguments, 0);\n\n params.splice(name === \"staggerFromTo\" ? 5 : 4, 0, 0);\n return tl[name].apply(tl, params);\n };\n});\n/*\n * --------------------------------------------------------------------------------------\n * PROPTWEEN\n * --------------------------------------------------------------------------------------\n */\n\n\nvar _setterPlain = function _setterPlain(target, property, value) {\n return target[property] = value;\n},\n _setterFunc = function _setterFunc(target, property, value) {\n return target[property](value);\n},\n _setterFuncWithParam = function _setterFuncWithParam(target, property, value, data) {\n return target[property](data.fp, value);\n},\n _setterAttribute = function _setterAttribute(target, property, value) {\n return target.setAttribute(property, value);\n},\n _getSetter = function _getSetter(target, property) {\n return _isFunction(target[property]) ? _setterFunc : _isUndefined(target[property]) && target.setAttribute ? _setterAttribute : _setterPlain;\n},\n _renderPlain = function _renderPlain(ratio, data) {\n return data.set(data.t, data.p, Math.round((data.s + data.c * ratio) * 1000000) / 1000000, data);\n},\n _renderBoolean = function _renderBoolean(ratio, data) {\n return data.set(data.t, data.p, !!(data.s + data.c * ratio), data);\n},\n _renderComplexString = function _renderComplexString(ratio, data) {\n var pt = data._pt,\n s = \"\";\n\n if (!ratio && data.b) {\n //b = beginning string\n s = data.b;\n } else if (ratio === 1 && data.e) {\n //e = ending string\n s = data.e;\n } else {\n while (pt) {\n s = pt.p + (pt.m ? pt.m(pt.s + pt.c * ratio) : Math.round((pt.s + pt.c * ratio) * 10000) / 10000) + s; //we use the \"p\" property for the text inbetween (like a suffix). And in the context of a complex string, the modifier (m) is typically just Math.round(), like for RGB colors.\n\n pt = pt._next;\n }\n\n s += data.c; //we use the \"c\" of the PropTween to store the final chunk of non-numeric text.\n }\n\n data.set(data.t, data.p, s, data);\n},\n _renderPropTweens = function _renderPropTweens(ratio, data) {\n var pt = data._pt;\n\n while (pt) {\n pt.r(ratio, pt.d);\n pt = pt._next;\n }\n},\n _addPluginModifier = function _addPluginModifier(modifier, tween, target, property) {\n var pt = this._pt,\n next;\n\n while (pt) {\n next = pt._next;\n pt.p === property && pt.modifier(modifier, tween, target);\n pt = next;\n }\n},\n _killPropTweensOf = function _killPropTweensOf(property) {\n var pt = this._pt,\n hasNonDependentRemaining,\n next;\n\n while (pt) {\n next = pt._next;\n\n if (pt.p === property && !pt.op || pt.op === property) {\n _removeLinkedListItem(this, pt, \"_pt\");\n } else if (!pt.dep) {\n hasNonDependentRemaining = 1;\n }\n\n pt = next;\n }\n\n return !hasNonDependentRemaining;\n},\n _setterWithModifier = function _setterWithModifier(target, property, value, data) {\n data.mSet(target, property, data.m.call(data.tween, value, data.mt), data);\n},\n _sortPropTweensByPriority = function _sortPropTweensByPriority(parent) {\n var pt = parent._pt,\n next,\n pt2,\n first,\n last; //sorts the PropTween linked list in order of priority because some plugins need to do their work after ALL of the PropTweens were created (like RoundPropsPlugin and ModifiersPlugin)\n\n while (pt) {\n next = pt._next;\n pt2 = first;\n\n while (pt2 && pt2.pr > pt.pr) {\n pt2 = pt2._next;\n }\n\n if (pt._prev = pt2 ? pt2._prev : last) {\n pt._prev._next = pt;\n } else {\n first = pt;\n }\n\n if (pt._next = pt2) {\n pt2._prev = pt;\n } else {\n last = pt;\n }\n\n pt = next;\n }\n\n parent._pt = first;\n}; //PropTween key: t = target, p = prop, r = renderer, d = data, s = start, c = change, op = overwriteProperty (ONLY populated when it's different than p), pr = priority, _next/_prev for the linked list siblings, set = setter, m = modifier, mSet = modifierSetter (the original setter, before a modifier was added)\n\n\nexport var PropTween = /*#__PURE__*/function () {\n function PropTween(next, target, prop, start, change, renderer, data, setter, priority) {\n this.t = target;\n this.s = start;\n this.c = change;\n this.p = prop;\n this.r = renderer || _renderPlain;\n this.d = data || this;\n this.set = setter || _setterPlain;\n this.pr = priority || 0;\n this._next = next;\n\n if (next) {\n next._prev = this;\n }\n }\n\n var _proto4 = PropTween.prototype;\n\n _proto4.modifier = function modifier(func, tween, target) {\n this.mSet = this.mSet || this.set; //in case it was already set (a PropTween can only have one modifier)\n\n this.set = _setterWithModifier;\n this.m = func;\n this.mt = target; //modifier target\n\n this.tween = tween;\n };\n\n return PropTween;\n}(); //Initialization tasks\n\n_forEachName(_callbackNames + \"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse\", function (name) {\n return _reservedProps[name] = 1;\n});\n\n_globals.TweenMax = _globals.TweenLite = Tween;\n_globals.TimelineLite = _globals.TimelineMax = Timeline;\n_globalTimeline = new Timeline({\n sortChildren: false,\n defaults: _defaults,\n autoRemoveChildren: true,\n id: \"root\",\n smoothChildTiming: true\n});\n_config.stringFilter = _colorStringFilter;\n\nvar _media = [],\n _listeners = {},\n _emptyArray = [],\n _lastMediaTime = 0,\n _contextID = 0,\n _dispatch = function _dispatch(type) {\n return (_listeners[type] || _emptyArray).map(function (f) {\n return f();\n });\n},\n _onMediaChange = function _onMediaChange() {\n var time = Date.now(),\n matches = [];\n\n if (time - _lastMediaTime > 2) {\n _dispatch(\"matchMediaInit\");\n\n _media.forEach(function (c) {\n var queries = c.queries,\n conditions = c.conditions,\n match,\n p,\n anyMatch,\n toggled;\n\n for (p in queries) {\n match = _win.matchMedia(queries[p]).matches; // Firefox doesn't update the \"matches\" property of the MediaQueryList object correctly - it only does so as it calls its change handler - so we must re-create a media query here to ensure it's accurate.\n\n match && (anyMatch = 1);\n\n if (match !== conditions[p]) {\n conditions[p] = match;\n toggled = 1;\n }\n }\n\n if (toggled) {\n c.revert();\n anyMatch && matches.push(c);\n }\n });\n\n _dispatch(\"matchMediaRevert\");\n\n matches.forEach(function (c) {\n return c.onMatch(c, function (func) {\n return c.add(null, func);\n });\n });\n _lastMediaTime = time;\n\n _dispatch(\"matchMedia\");\n }\n};\n\nvar Context = /*#__PURE__*/function () {\n function Context(func, scope) {\n this.selector = scope && selector(scope);\n this.data = [];\n this._r = []; // returned/cleanup functions\n\n this.isReverted = false;\n this.id = _contextID++; // to work around issues that frameworks like Vue cause by making things into Proxies which make it impossible to do something like _media.indexOf(this) because \"this\" would no longer refer to the Context instance itself - it'd refer to a Proxy! We needed a way to identify the context uniquely\n\n func && this.add(func);\n }\n\n var _proto5 = Context.prototype;\n\n _proto5.add = function add(name, func, scope) {\n // possible future addition if we need the ability to add() an animation to a context and for whatever reason cannot create that animation inside of a context.add(() => {...}) function.\n // if (name && _isFunction(name.revert)) {\n // \tthis.data.push(name);\n // \treturn (name._ctx = this);\n // }\n if (_isFunction(name)) {\n scope = func;\n func = name;\n name = _isFunction;\n }\n\n var self = this,\n f = function f() {\n var prev = _context,\n prevSelector = self.selector,\n result;\n prev && prev !== self && prev.data.push(self);\n scope && (self.selector = selector(scope));\n _context = self;\n result = func.apply(self, arguments);\n _isFunction(result) && self._r.push(result);\n _context = prev;\n self.selector = prevSelector;\n self.isReverted = false;\n return result;\n };\n\n self.last = f;\n return name === _isFunction ? f(self, function (func) {\n return self.add(null, func);\n }) : name ? self[name] = f : f;\n };\n\n _proto5.ignore = function ignore(func) {\n var prev = _context;\n _context = null;\n func(this);\n _context = prev;\n };\n\n _proto5.getTweens = function getTweens() {\n var a = [];\n this.data.forEach(function (e) {\n return e instanceof Context ? a.push.apply(a, e.getTweens()) : e instanceof Tween && !(e.parent && e.parent.data === \"nested\") && a.push(e);\n });\n return a;\n };\n\n _proto5.clear = function clear() {\n this._r.length = this.data.length = 0;\n };\n\n _proto5.kill = function kill(revert, matchMedia) {\n var _this4 = this;\n\n if (revert) {\n (function () {\n var tweens = _this4.getTweens(),\n i = _this4.data.length,\n t;\n\n while (i--) {\n // Flip plugin tweens are very different in that they should actually be pushed to their end. The plugin replaces the timeline's .revert() method to do exactly that. But we also need to remove any of those nested tweens inside the flip timeline so that they don't get individually reverted.\n t = _this4.data[i];\n\n if (t.data === \"isFlip\") {\n t.revert();\n t.getChildren(true, true, false).forEach(function (tween) {\n return tweens.splice(tweens.indexOf(tween), 1);\n });\n }\n } // save as an object so that we can cache the globalTime for each tween to optimize performance during the sort\n\n\n tweens.map(function (t) {\n return {\n g: t._dur || t._delay || t._sat && !t._sat.vars.immediateRender ? t.globalTime(0) : -Infinity,\n t: t\n };\n }).sort(function (a, b) {\n return b.g - a.g || -Infinity;\n }).forEach(function (o) {\n return o.t.revert(revert);\n }); // note: all of the _startAt tweens should be reverted in reverse order that they were created, and they'll all have the same globalTime (-1) so the \" || -1\" in the sort keeps the order properly.\n\n i = _this4.data.length;\n\n while (i--) {\n // make sure we loop backwards so that, for example, SplitTexts that were created later on the same element get reverted first\n t = _this4.data[i];\n\n if (t instanceof Timeline) {\n if (t.data !== \"nested\") {\n t.scrollTrigger && t.scrollTrigger.revert();\n t.kill(); // don't revert() the timeline because that's duplicating efforts since we already reverted all the tweens\n }\n } else {\n !(t instanceof Tween) && t.revert && t.revert(revert);\n }\n }\n\n _this4._r.forEach(function (f) {\n return f(revert, _this4);\n });\n\n _this4.isReverted = true;\n })();\n } else {\n this.data.forEach(function (e) {\n return e.kill && e.kill();\n });\n }\n\n this.clear();\n\n if (matchMedia) {\n var i = _media.length;\n\n while (i--) {\n // previously, we checked _media.indexOf(this), but some frameworks like Vue enforce Proxy objects that make it impossible to get the proper result that way, so we must use a unique ID number instead.\n _media[i].id === this.id && _media.splice(i, 1);\n }\n }\n } // killWithCleanup() {\n // \tthis.kill();\n // \tthis._r.forEach(f => f(false, this));\n // }\n ;\n\n _proto5.revert = function revert(config) {\n this.kill(config || {});\n };\n\n return Context;\n}();\n\nvar MatchMedia = /*#__PURE__*/function () {\n function MatchMedia(scope) {\n this.contexts = [];\n this.scope = scope;\n _context && _context.data.push(this);\n }\n\n var _proto6 = MatchMedia.prototype;\n\n _proto6.add = function add(conditions, func, scope) {\n _isObject(conditions) || (conditions = {\n matches: conditions\n });\n var context = new Context(0, scope || this.scope),\n cond = context.conditions = {},\n mq,\n p,\n active;\n _context && !context.selector && (context.selector = _context.selector); // in case a context is created inside a context. Like a gsap.matchMedia() that's inside a scoped gsap.context()\n\n this.contexts.push(context);\n func = context.add(\"onMatch\", func);\n context.queries = conditions;\n\n for (p in conditions) {\n if (p === \"all\") {\n active = 1;\n } else {\n mq = _win.matchMedia(conditions[p]);\n\n if (mq) {\n _media.indexOf(context) < 0 && _media.push(context);\n (cond[p] = mq.matches) && (active = 1);\n mq.addListener ? mq.addListener(_onMediaChange) : mq.addEventListener(\"change\", _onMediaChange);\n }\n }\n }\n\n active && func(context, function (f) {\n return context.add(null, f);\n });\n return this;\n } // refresh() {\n // \tlet time = _lastMediaTime,\n // \t\tmedia = _media;\n // \t_lastMediaTime = -1;\n // \t_media = this.contexts;\n // \t_onMediaChange();\n // \t_lastMediaTime = time;\n // \t_media = media;\n // }\n ;\n\n _proto6.revert = function revert(config) {\n this.kill(config || {});\n };\n\n _proto6.kill = function kill(revert) {\n this.contexts.forEach(function (c) {\n return c.kill(revert, true);\n });\n };\n\n return MatchMedia;\n}();\n/*\n * --------------------------------------------------------------------------------------\n * GSAP\n * --------------------------------------------------------------------------------------\n */\n\n\nvar _gsap = {\n registerPlugin: function registerPlugin() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n args.forEach(function (config) {\n return _createPlugin(config);\n });\n },\n timeline: function timeline(vars) {\n return new Timeline(vars);\n },\n getTweensOf: function getTweensOf(targets, onlyActive) {\n return _globalTimeline.getTweensOf(targets, onlyActive);\n },\n getProperty: function getProperty(target, property, unit, uncache) {\n _isString(target) && (target = toArray(target)[0]); //in case selector text or an array is passed in\n\n var getter = _getCache(target || {}).get,\n format = unit ? _passThrough : _numericIfPossible;\n\n unit === \"native\" && (unit = \"\");\n return !target ? target : !property ? function (property, unit, uncache) {\n return format((_plugins[property] && _plugins[property].get || getter)(target, property, unit, uncache));\n } : format((_plugins[property] && _plugins[property].get || getter)(target, property, unit, uncache));\n },\n quickSetter: function quickSetter(target, property, unit) {\n target = toArray(target);\n\n if (target.length > 1) {\n var setters = target.map(function (t) {\n return gsap.quickSetter(t, property, unit);\n }),\n l = setters.length;\n return function (value) {\n var i = l;\n\n while (i--) {\n setters[i](value);\n }\n };\n }\n\n target = target[0] || {};\n\n var Plugin = _plugins[property],\n cache = _getCache(target),\n p = cache.harness && (cache.harness.aliases || {})[property] || property,\n // in case it's an alias, like \"rotate\" for \"rotation\".\n setter = Plugin ? function (value) {\n var p = new Plugin();\n _quickTween._pt = 0;\n p.init(target, unit ? value + unit : value, _quickTween, 0, [target]);\n p.render(1, p);\n _quickTween._pt && _renderPropTweens(1, _quickTween);\n } : cache.set(target, p);\n\n return Plugin ? setter : function (value) {\n return setter(target, p, unit ? value + unit : value, cache, 1);\n };\n },\n quickTo: function quickTo(target, property, vars) {\n var _setDefaults2;\n\n var tween = gsap.to(target, _setDefaults((_setDefaults2 = {}, _setDefaults2[property] = \"+=0.1\", _setDefaults2.paused = true, _setDefaults2.stagger = 0, _setDefaults2), vars || {})),\n func = function func(value, start, startIsRelative) {\n return tween.resetTo(property, value, start, startIsRelative);\n };\n\n func.tween = tween;\n return func;\n },\n isTweening: function isTweening(targets) {\n return _globalTimeline.getTweensOf(targets, true).length > 0;\n },\n defaults: function defaults(value) {\n value && value.ease && (value.ease = _parseEase(value.ease, _defaults.ease));\n return _mergeDeep(_defaults, value || {});\n },\n config: function config(value) {\n return _mergeDeep(_config, value || {});\n },\n registerEffect: function registerEffect(_ref3) {\n var name = _ref3.name,\n effect = _ref3.effect,\n plugins = _ref3.plugins,\n defaults = _ref3.defaults,\n extendTimeline = _ref3.extendTimeline;\n (plugins || \"\").split(\",\").forEach(function (pluginName) {\n return pluginName && !_plugins[pluginName] && !_globals[pluginName] && _warn(name + \" effect requires \" + pluginName + \" plugin.\");\n });\n\n _effects[name] = function (targets, vars, tl) {\n return effect(toArray(targets), _setDefaults(vars || {}, defaults), tl);\n };\n\n if (extendTimeline) {\n Timeline.prototype[name] = function (targets, vars, position) {\n return this.add(_effects[name](targets, _isObject(vars) ? vars : (position = vars) && {}, this), position);\n };\n }\n },\n registerEase: function registerEase(name, ease) {\n _easeMap[name] = _parseEase(ease);\n },\n parseEase: function parseEase(ease, defaultEase) {\n return arguments.length ? _parseEase(ease, defaultEase) : _easeMap;\n },\n getById: function getById(id) {\n return _globalTimeline.getById(id);\n },\n exportRoot: function exportRoot(vars, includeDelayedCalls) {\n if (vars === void 0) {\n vars = {};\n }\n\n var tl = new Timeline(vars),\n child,\n next;\n tl.smoothChildTiming = _isNotFalse(vars.smoothChildTiming);\n\n _globalTimeline.remove(tl);\n\n tl._dp = 0; //otherwise it'll get re-activated when adding children and be re-introduced into _globalTimeline's linked list (then added to itself).\n\n tl._time = tl._tTime = _globalTimeline._time;\n child = _globalTimeline._first;\n\n while (child) {\n next = child._next;\n\n if (includeDelayedCalls || !(!child._dur && child instanceof Tween && child.vars.onComplete === child._targets[0])) {\n _addToTimeline(tl, child, child._start - child._delay);\n }\n\n child = next;\n }\n\n _addToTimeline(_globalTimeline, tl, 0);\n\n return tl;\n },\n context: function context(func, scope) {\n return func ? new Context(func, scope) : _context;\n },\n matchMedia: function matchMedia(scope) {\n return new MatchMedia(scope);\n },\n matchMediaRefresh: function matchMediaRefresh() {\n return _media.forEach(function (c) {\n var cond = c.conditions,\n found,\n p;\n\n for (p in cond) {\n if (cond[p]) {\n cond[p] = false;\n found = 1;\n }\n }\n\n found && c.revert();\n }) || _onMediaChange();\n },\n addEventListener: function addEventListener(type, callback) {\n var a = _listeners[type] || (_listeners[type] = []);\n ~a.indexOf(callback) || a.push(callback);\n },\n removeEventListener: function removeEventListener(type, callback) {\n var a = _listeners[type],\n i = a && a.indexOf(callback);\n i >= 0 && a.splice(i, 1);\n },\n utils: {\n wrap: wrap,\n wrapYoyo: wrapYoyo,\n distribute: distribute,\n random: random,\n snap: snap,\n normalize: normalize,\n getUnit: getUnit,\n clamp: clamp,\n splitColor: splitColor,\n toArray: toArray,\n selector: selector,\n mapRange: mapRange,\n pipe: pipe,\n unitize: unitize,\n interpolate: interpolate,\n shuffle: shuffle\n },\n install: _install,\n effects: _effects,\n ticker: _ticker,\n updateRoot: Timeline.updateRoot,\n plugins: _plugins,\n globalTimeline: _globalTimeline,\n core: {\n PropTween: PropTween,\n globals: _addGlobal,\n Tween: Tween,\n Timeline: Timeline,\n Animation: Animation,\n getCache: _getCache,\n _removeLinkedListItem: _removeLinkedListItem,\n reverting: function reverting() {\n return _reverting;\n },\n context: function context(toAdd) {\n if (toAdd && _context) {\n _context.data.push(toAdd);\n\n toAdd._ctx = _context;\n }\n\n return _context;\n },\n suppressOverwrites: function suppressOverwrites(value) {\n return _suppressOverwrites = value;\n }\n }\n};\n\n_forEachName(\"to,from,fromTo,delayedCall,set,killTweensOf\", function (name) {\n return _gsap[name] = Tween[name];\n});\n\n_ticker.add(Timeline.updateRoot);\n\n_quickTween = _gsap.to({}, {\n duration: 0\n}); // ---- EXTRA PLUGINS --------------------------------------------------------\n\nvar _getPluginPropTween = function _getPluginPropTween(plugin, prop) {\n var pt = plugin._pt;\n\n while (pt && pt.p !== prop && pt.op !== prop && pt.fp !== prop) {\n pt = pt._next;\n }\n\n return pt;\n},\n _addModifiers = function _addModifiers(tween, modifiers) {\n var targets = tween._targets,\n p,\n i,\n pt;\n\n for (p in modifiers) {\n i = targets.length;\n\n while (i--) {\n pt = tween._ptLookup[i][p];\n\n if (pt && (pt = pt.d)) {\n if (pt._pt) {\n // is a plugin\n pt = _getPluginPropTween(pt, p);\n }\n\n pt && pt.modifier && pt.modifier(modifiers[p], tween, targets[i], p);\n }\n }\n }\n},\n _buildModifierPlugin = function _buildModifierPlugin(name, modifier) {\n return {\n name: name,\n headless: 1,\n rawVars: 1,\n //don't pre-process function-based values or \"random()\" strings.\n init: function init(target, vars, tween) {\n tween._onInit = function (tween) {\n var temp, p;\n\n if (_isString(vars)) {\n temp = {};\n\n _forEachName(vars, function (name) {\n return temp[name] = 1;\n }); //if the user passes in a comma-delimited list of property names to roundProps, like \"x,y\", we round to whole numbers.\n\n\n vars = temp;\n }\n\n if (modifier) {\n temp = {};\n\n for (p in vars) {\n temp[p] = modifier(vars[p]);\n }\n\n vars = temp;\n }\n\n _addModifiers(tween, vars);\n };\n }\n };\n}; //register core plugins\n\n\nexport var gsap = _gsap.registerPlugin({\n name: \"attr\",\n init: function init(target, vars, tween, index, targets) {\n var p, pt, v;\n this.tween = tween;\n\n for (p in vars) {\n v = target.getAttribute(p) || \"\";\n pt = this.add(target, \"setAttribute\", (v || 0) + \"\", vars[p], index, targets, 0, 0, p);\n pt.op = p;\n pt.b = v; // record the beginning value so we can revert()\n\n this._props.push(p);\n }\n },\n render: function render(ratio, data) {\n var pt = data._pt;\n\n while (pt) {\n _reverting ? pt.set(pt.t, pt.p, pt.b, pt) : pt.r(ratio, pt.d); // if reverting, go back to the original (pt.b)\n\n pt = pt._next;\n }\n }\n}, {\n name: \"endArray\",\n headless: 1,\n init: function init(target, value) {\n var i = value.length;\n\n while (i--) {\n this.add(target, i, target[i] || 0, value[i], 0, 0, 0, 0, 0, 1);\n }\n }\n}, _buildModifierPlugin(\"roundProps\", _roundModifier), _buildModifierPlugin(\"modifiers\"), _buildModifierPlugin(\"snap\", snap)) || _gsap; //to prevent the core plugins from being dropped via aggressive tree shaking, we must include them in the variable declaration in this way.\n\nTween.version = Timeline.version = gsap.version = \"3.15.0\";\n_coreReady = 1;\n_windowExists() && _wake();\nvar Power0 = _easeMap.Power0,\n Power1 = _easeMap.Power1,\n Power2 = _easeMap.Power2,\n Power3 = _easeMap.Power3,\n Power4 = _easeMap.Power4,\n Linear = _easeMap.Linear,\n Quad = _easeMap.Quad,\n Cubic = _easeMap.Cubic,\n Quart = _easeMap.Quart,\n Quint = _easeMap.Quint,\n Strong = _easeMap.Strong,\n Elastic = _easeMap.Elastic,\n Back = _easeMap.Back,\n SteppedEase = _easeMap.SteppedEase,\n Bounce = _easeMap.Bounce,\n Sine = _easeMap.Sine,\n Expo = _easeMap.Expo,\n Circ = _easeMap.Circ;\nexport { Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ };\nexport { Tween as TweenMax, Tween as TweenLite, Timeline as TimelineMax, Timeline as TimelineLite, gsap as default, wrap, wrapYoyo, distribute, random, snap, normalize, getUnit, clamp, splitColor, toArray, selector, mapRange, pipe, unitize, interpolate, shuffle }; //export some internal methods/orojects for use in CSSPlugin so that we can externalize that file and allow custom builds that exclude it.\n\nexport { _getProperty, _numExp, _numWithUnitExp, _isString, _isUndefined, _renderComplexString, _relExp, _setDefaults, _removeLinkedListItem, _forEachName, _sortPropTweensByPriority, _colorStringFilter, _replaceRandom, _checkPlugin, _plugins, _ticker, _config, _roundModifier, _round, _missingPlugin, _getSetter, _getCache, _colorExp, _parseRelative };","/*!\n * CSSPlugin 3.15.0\n * https://gsap.com\n *\n * Copyright 2008-2026, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n\n/* eslint-disable */\nimport { gsap, _getProperty, _numExp, _numWithUnitExp, getUnit, _isString, _isUndefined, _renderComplexString, _relExp, _forEachName, _sortPropTweensByPriority, _colorStringFilter, _checkPlugin, _replaceRandom, _plugins, GSCache, PropTween, _config, _ticker, _round, _missingPlugin, _getSetter, _getCache, _colorExp, _parseRelative, _setDefaults, _removeLinkedListItem //for the commented-out className feature.\n} from \"./gsap-core.js\";\n\nvar _win,\n _doc,\n _docElement,\n _pluginInitted,\n _tempDiv,\n _tempDivStyler,\n _recentSetterPlugin,\n _reverting,\n _windowExists = function _windowExists() {\n return typeof window !== \"undefined\";\n},\n _transformProps = {},\n _RAD2DEG = 180 / Math.PI,\n _DEG2RAD = Math.PI / 180,\n _atan2 = Math.atan2,\n _bigNum = 1e8,\n _capsExp = /([A-Z])/g,\n _horizontalExp = /(left|right|width|margin|padding|x)/i,\n _complexExp = /[\\s,\\(]\\S/,\n _propertyAliases = {\n autoAlpha: \"opacity,visibility\",\n scale: \"scaleX,scaleY\",\n alpha: \"opacity\"\n},\n _renderCSSProp = function _renderCSSProp(ratio, data) {\n return data.set(data.t, data.p, Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data);\n},\n _renderPropWithEnd = function _renderPropWithEnd(ratio, data) {\n return data.set(data.t, data.p, ratio === 1 ? data.e : Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data);\n},\n _renderCSSPropWithBeginning = function _renderCSSPropWithBeginning(ratio, data) {\n return data.set(data.t, data.p, ratio ? Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u : data.b, data);\n},\n //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)\n_renderCSSPropWithBeginningAndEnd = function _renderCSSPropWithBeginningAndEnd(ratio, data) {\n return data.set(data.t, data.p, ratio === 1 ? data.e : ratio ? Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u : data.b, data);\n},\n //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0)\n_renderRoundedCSSProp = function _renderRoundedCSSProp(ratio, data) {\n var value = data.s + data.c * ratio;\n data.set(data.t, data.p, ~~(value + (value < 0 ? -.5 : .5)) + data.u, data);\n},\n _renderNonTweeningValue = function _renderNonTweeningValue(ratio, data) {\n return data.set(data.t, data.p, ratio ? data.e : data.b, data);\n},\n _renderNonTweeningValueOnlyAtEnd = function _renderNonTweeningValueOnlyAtEnd(ratio, data) {\n return data.set(data.t, data.p, ratio !== 1 ? data.b : data.e, data);\n},\n _setterCSSStyle = function _setterCSSStyle(target, property, value) {\n return target.style[property] = value;\n},\n _setterCSSProp = function _setterCSSProp(target, property, value) {\n return target.style.setProperty(property, value);\n},\n _setterTransform = function _setterTransform(target, property, value) {\n return target._gsap[property] = value;\n},\n _setterScale = function _setterScale(target, property, value) {\n return target._gsap.scaleX = target._gsap.scaleY = value;\n},\n _setterScaleWithRender = function _setterScaleWithRender(target, property, value, data, ratio) {\n var cache = target._gsap;\n cache.scaleX = cache.scaleY = value;\n cache.renderTransform(ratio, cache);\n},\n _setterTransformWithRender = function _setterTransformWithRender(target, property, value, data, ratio) {\n var cache = target._gsap;\n cache[property] = value;\n cache.renderTransform(ratio, cache);\n},\n _transformProp = \"transform\",\n _transformOriginProp = _transformProp + \"Origin\",\n _saveStyle = function _saveStyle(property, isNotCSS) {\n var _this = this;\n\n var target = this.target,\n style = target.style,\n cache = target._gsap;\n\n if (property in _transformProps && style) {\n this.tfm = this.tfm || {};\n\n if (property !== \"transform\") {\n property = _propertyAliases[property] || property;\n ~property.indexOf(\",\") ? property.split(\",\").forEach(function (a) {\n return _this.tfm[a] = _get(target, a);\n }) : this.tfm[property] = cache.x ? cache[property] : _get(target, property); // note: scale would map to \"scaleX,scaleY\", thus we loop and apply them both.\n\n property === _transformOriginProp && (this.tfm.zOrigin = cache.zOrigin);\n } else {\n return _propertyAliases.transform.split(\",\").forEach(function (p) {\n return _saveStyle.call(_this, p, isNotCSS);\n });\n }\n\n if (this.props.indexOf(_transformProp) >= 0) {\n return;\n }\n\n if (cache.svg) {\n this.svgo = target.getAttribute(\"data-svg-origin\");\n this.props.push(_transformOriginProp, isNotCSS, \"\");\n }\n\n property = _transformProp;\n }\n\n (style || isNotCSS) && this.props.push(property, isNotCSS, style[property]);\n},\n _removeIndependentTransforms = function _removeIndependentTransforms(style) {\n if (style.translate) {\n style.removeProperty(\"translate\");\n style.removeProperty(\"scale\");\n style.removeProperty(\"rotate\");\n }\n},\n _revertStyle = function _revertStyle() {\n var props = this.props,\n target = this.target,\n style = target.style,\n cache = target._gsap,\n i,\n p;\n\n for (i = 0; i < props.length; i += 3) {\n // stored like this: property, isNotCSS, value\n if (!props[i + 1]) {\n props[i + 2] ? style[props[i]] = props[i + 2] : style.removeProperty(props[i].substr(0, 2) === \"--\" ? props[i] : props[i].replace(_capsExp, \"-$1\").toLowerCase());\n } else if (props[i + 1] === 2) {\n // non-CSS value (function-based)\n target[props[i]](props[i + 2]);\n } else {\n // non-CSS value (not function-based)\n target[props[i]] = props[i + 2];\n }\n }\n\n if (this.tfm) {\n for (p in this.tfm) {\n cache[p] = this.tfm[p];\n }\n\n if (cache.svg) {\n cache.renderTransform();\n target.setAttribute(\"data-svg-origin\", this.svgo || \"\");\n }\n\n i = _reverting();\n\n if ((!i || !i.isStart) && !style[_transformProp]) {\n _removeIndependentTransforms(style);\n\n if (cache.zOrigin && style[_transformOriginProp]) {\n style[_transformOriginProp] += \" \" + cache.zOrigin + \"px\"; // since we're uncaching, we must put the zOrigin back into the transformOrigin so that we can pull it out accurately when we parse again. Otherwise, we'd lose the z portion of the origin since we extract it to protect from Safari bugs.\n\n cache.zOrigin = 0;\n cache.renderTransform();\n }\n\n cache.uncache = 1; // if it's a startAt that's being reverted in the _initTween() of the core, we don't need to uncache transforms. This is purely a performance optimization.\n }\n }\n},\n _getStyleSaver = function _getStyleSaver(target, properties) {\n var saver = {\n target: target,\n props: [],\n revert: _revertStyle,\n save: _saveStyle\n };\n target._gsap || gsap.core.getCache(target); // just make sure there's a _gsap cache defined because we read from it in _saveStyle() and it's more efficient to just check it here once.\n\n properties && target.style && target.nodeType && properties.split(\",\").forEach(function (p) {\n return saver.save(p);\n }); // make sure it's a DOM node too.\n\n return saver;\n},\n _supports3D,\n _createElement = function _createElement(type, ns) {\n var e = _doc.createElementNS ? _doc.createElementNS((ns || \"http://www.w3.org/1999/xhtml\").replace(/^https/, \"http\"), type) : _doc.createElement(type); //some servers swap in https for http in the namespace which can break things, making \"style\" inaccessible.\n\n return e && e.style ? e : _doc.createElement(type); //some environments won't allow access to the element's style when created with a namespace in which case we default to the standard createElement() to work around the issue. Also note that when GSAP is embedded directly inside an SVG file, createElement() won't allow access to the style object in Firefox (see https://gsap.com/forums/topic/20215-problem-using-tweenmax-in-standalone-self-containing-svg-file-err-cannot-set-property-csstext-of-undefined/).\n},\n _getComputedProperty = function _getComputedProperty(target, property, skipPrefixFallback) {\n var cs = getComputedStyle(target);\n return cs[property] || cs.getPropertyValue(property.replace(_capsExp, \"-$1\").toLowerCase()) || cs.getPropertyValue(property) || !skipPrefixFallback && _getComputedProperty(target, _checkPropPrefix(property) || property, 1) || \"\"; //css variables may not need caps swapped out for dashes and lowercase.\n},\n _prefixes = \"O,Moz,ms,Ms,Webkit\".split(\",\"),\n _checkPropPrefix = function _checkPropPrefix(property, element, preferPrefix) {\n var e = element || _tempDiv,\n s = e.style,\n i = 5;\n\n if (property in s && !preferPrefix) {\n return property;\n }\n\n property = property.charAt(0).toUpperCase() + property.substr(1);\n\n while (i-- && !(_prefixes[i] + property in s)) {}\n\n return i < 0 ? null : (i === 3 ? \"ms\" : i >= 0 ? _prefixes[i] : \"\") + property;\n},\n _initCore = function _initCore() {\n if (_windowExists() && window.document) {\n _win = window;\n _doc = _win.document;\n _docElement = _doc.documentElement;\n _tempDiv = _createElement(\"div\") || {\n style: {}\n };\n _tempDivStyler = _createElement(\"div\");\n _transformProp = _checkPropPrefix(_transformProp);\n _transformOriginProp = _transformProp + \"Origin\";\n _tempDiv.style.cssText = \"border-width:0;line-height:0;position:absolute;padding:0\"; //make sure to override certain properties that may contaminate measurements, in case the user has overreaching style sheets.\n\n _supports3D = !!_checkPropPrefix(\"perspective\");\n _reverting = gsap.core.reverting;\n _pluginInitted = 1;\n }\n},\n _getReparentedCloneBBox = function _getReparentedCloneBBox(target) {\n //works around issues in some browsers (like Firefox) that don't correctly report getBBox() on SVG elements inside a element and/or . We try creating an SVG, adding it to the documentElement and toss the element in there so that it's definitely part of the rendering tree, then grab the bbox and if it works, we actually swap out the original getBBox() method for our own that does these extra steps whenever getBBox is needed. This helps ensure that performance is optimal (only do all these extra steps when absolutely necessary...most elements don't need it).\n var owner = target.ownerSVGElement,\n svg = _createElement(\"svg\", owner && owner.getAttribute(\"xmlns\") || \"http://www.w3.org/2000/svg\"),\n clone = target.cloneNode(true),\n bbox;\n\n clone.style.display = \"block\";\n svg.appendChild(clone);\n\n _docElement.appendChild(svg);\n\n try {\n bbox = clone.getBBox();\n } catch (e) {}\n\n svg.removeChild(clone);\n\n _docElement.removeChild(svg);\n\n return bbox;\n},\n _getAttributeFallbacks = function _getAttributeFallbacks(target, attributesArray) {\n var i = attributesArray.length;\n\n while (i--) {\n if (target.hasAttribute(attributesArray[i])) {\n return target.getAttribute(attributesArray[i]);\n }\n }\n},\n _getBBox = function _getBBox(target) {\n var bounds, cloned;\n\n try {\n bounds = target.getBBox(); //Firefox throws errors if you try calling getBBox() on an SVG element that's not rendered (like in a or ). https://bugzilla.mozilla.org/show_bug.cgi?id=612118\n } catch (error) {\n bounds = _getReparentedCloneBBox(target);\n cloned = 1;\n }\n\n bounds && (bounds.width || bounds.height) || cloned || (bounds = _getReparentedCloneBBox(target)); //some browsers (like Firefox) misreport the bounds if the element has zero width and height (it just assumes it's at x:0, y:0), thus we need to manually grab the position in that case.\n\n return bounds && !bounds.width && !bounds.x && !bounds.y ? {\n x: +_getAttributeFallbacks(target, [\"x\", \"cx\", \"x1\"]) || 0,\n y: +_getAttributeFallbacks(target, [\"y\", \"cy\", \"y1\"]) || 0,\n width: 0,\n height: 0\n } : bounds;\n},\n _isSVG = function _isSVG(e) {\n return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && _getBBox(e));\n},\n //reports if the element is an SVG on which getBBox() actually works\n_removeProperty = function _removeProperty(target, property) {\n if (property) {\n var style = target.style,\n first2Chars;\n\n if (property in _transformProps && property !== _transformOriginProp) {\n property = _transformProp;\n }\n\n if (style.removeProperty) {\n first2Chars = property.substr(0, 2);\n\n if (first2Chars === \"ms\" || property.substr(0, 6) === \"webkit\") {\n //Microsoft and some Webkit browsers don't conform to the standard of capitalizing the first prefix character, so we adjust so that when we prefix the caps with a dash, it's correct (otherwise it'd be \"ms-transform\" instead of \"-ms-transform\" for IE9, for example)\n property = \"-\" + property;\n }\n\n style.removeProperty(first2Chars === \"--\" ? property : property.replace(_capsExp, \"-$1\").toLowerCase());\n } else {\n //note: old versions of IE use \"removeAttribute()\" instead of \"removeProperty()\"\n style.removeAttribute(property);\n }\n }\n},\n _addNonTweeningPT = function _addNonTweeningPT(plugin, target, property, beginning, end, onlySetAtEnd) {\n var pt = new PropTween(plugin._pt, target, property, 0, 1, onlySetAtEnd ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue);\n plugin._pt = pt;\n pt.b = beginning;\n pt.e = end;\n\n plugin._props.push(property);\n\n return pt;\n},\n _nonConvertibleUnits = {\n deg: 1,\n rad: 1,\n turn: 1\n},\n _nonStandardLayouts = {\n grid: 1,\n flex: 1\n},\n //takes a single value like 20px and converts it to the unit specified, like \"%\", returning only the numeric amount.\n_convertToUnit = function _convertToUnit(target, property, value, unit) {\n var curValue = parseFloat(value) || 0,\n curUnit = (value + \"\").trim().substr((curValue + \"\").length) || \"px\",\n // some browsers leave extra whitespace at the beginning of CSS variables, hence the need to trim()\n style = _tempDiv.style,\n horizontal = _horizontalExp.test(property),\n isRootSVG = target.tagName.toLowerCase() === \"svg\",\n measureProperty = (isRootSVG ? \"client\" : \"offset\") + (horizontal ? \"Width\" : \"Height\"),\n amount = 100,\n toPixels = unit === \"px\",\n toPercent = unit === \"%\",\n px,\n parent,\n cache,\n isSVG;\n\n if (unit === curUnit || !curValue || _nonConvertibleUnits[unit] || _nonConvertibleUnits[curUnit]) {\n return curValue;\n }\n\n curUnit !== \"px\" && !toPixels && (curValue = _convertToUnit(target, property, value, \"px\"));\n isSVG = target.getCTM && _isSVG(target);\n\n if ((toPercent || curUnit === \"%\") && (_transformProps[property] || ~property.indexOf(\"adius\"))) {\n px = isSVG ? target.getBBox()[horizontal ? \"width\" : \"height\"] : target[measureProperty];\n return _round(toPercent ? curValue / px * amount : curValue / 100 * px);\n }\n\n style[horizontal ? \"width\" : \"height\"] = amount + (toPixels ? curUnit : unit);\n parent = unit !== \"rem\" && ~property.indexOf(\"adius\") || unit === \"em\" && target.appendChild && !isRootSVG ? target : target.parentNode;\n\n if (isSVG) {\n parent = (target.ownerSVGElement || {}).parentNode;\n }\n\n if (!parent || parent === _doc || !parent.appendChild) {\n parent = _doc.body;\n }\n\n cache = parent._gsap;\n\n if (cache && toPercent && cache.width && horizontal && cache.time === _ticker.time && !cache.uncache) {\n return _round(curValue / cache.width * amount);\n } else {\n if (toPercent && (property === \"height\" || property === \"width\")) {\n // if we're dealing with width/height that's inside a container with padding and/or it's a flexbox/grid container, we must apply it to the target itself rather than the _tempDiv in order to ensure complete accuracy, factoring in the parent's padding.\n var v = target.style[property];\n target.style[property] = amount + unit;\n px = target[measureProperty];\n v ? target.style[property] = v : _removeProperty(target, property);\n } else {\n (toPercent || curUnit === \"%\") && !_nonStandardLayouts[_getComputedProperty(parent, \"display\")] && (style.position = _getComputedProperty(target, \"position\"));\n parent === target && (style.position = \"static\"); // like for borderRadius, if it's a % we must have it relative to the target itself but that may not have position: relative or position: absolute in which case it'd go up the chain until it finds its offsetParent (bad). position: static protects against that.\n\n parent.appendChild(_tempDiv);\n px = _tempDiv[measureProperty];\n parent.removeChild(_tempDiv);\n style.position = \"absolute\";\n }\n\n if (horizontal && toPercent) {\n cache = _getCache(parent);\n cache.time = _ticker.time;\n cache.width = parent[measureProperty];\n }\n }\n\n return _round(toPixels ? px * curValue / amount : px && curValue ? amount / px * curValue : 0);\n},\n _get = function _get(target, property, unit, uncache) {\n var value;\n _pluginInitted || _initCore();\n\n if (property in _propertyAliases && property !== \"transform\") {\n property = _propertyAliases[property];\n\n if (~property.indexOf(\",\")) {\n property = property.split(\",\")[0];\n }\n }\n\n if (_transformProps[property] && property !== \"transform\") {\n value = _parseTransform(target, uncache);\n value = property !== \"transformOrigin\" ? value[property] : value.svg ? value.origin : _firstTwoOnly(_getComputedProperty(target, _transformOriginProp)) + \" \" + value.zOrigin + \"px\";\n } else {\n value = target.style[property];\n\n if (!value || value === \"auto\" || uncache || ~(value + \"\").indexOf(\"calc(\")) {\n value = _specialProps[property] && _specialProps[property](target, property, unit) || _getComputedProperty(target, property) || _getProperty(target, property) || (property === \"opacity\" ? 1 : 0); // note: some browsers, like Firefox, don't report borderRadius correctly! Instead, it only reports every corner like borderTopLeftRadius\n }\n }\n\n return unit && !~(value + \"\").trim().indexOf(\" \") ? _convertToUnit(target, property, value, unit) + unit : value;\n},\n _tweenComplexCSSString = function _tweenComplexCSSString(target, prop, start, end) {\n // note: we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within a plugin too, thus \"this\" would refer to the plugin.\n if (!start || start === \"none\") {\n // some browsers like Safari actually PREFER the prefixed property and mis-report the unprefixed value like clipPath (BUG). In other words, even though clipPath exists in the style (\"clipPath\" in target.style) and it's set in the CSS properly (along with -webkit-clip-path), Safari reports clipPath as \"none\" whereas WebkitClipPath reports accurately like \"ellipse(100% 0% at 50% 0%)\", so in this case we must SWITCH to using the prefixed property instead. See https://gsap.com/forums/topic/18310-clippath-doesnt-work-on-ios/\n var p = _checkPropPrefix(prop, target, 1),\n s = p && _getComputedProperty(target, p, 1);\n\n if (s && s !== start) {\n prop = p;\n start = s;\n } else if (prop === \"borderColor\") {\n start = _getComputedProperty(target, \"borderTopColor\"); // Firefox bug: always reports \"borderColor\" as \"\", so we must fall back to borderTopColor. See https://gsap.com/forums/topic/24583-how-to-return-colors-that-i-had-after-reverse/\n }\n }\n\n var pt = new PropTween(this._pt, target.style, prop, 0, 1, _renderComplexString),\n index = 0,\n matchIndex = 0,\n a,\n result,\n startValues,\n startNum,\n color,\n startValue,\n endValue,\n endNum,\n chunk,\n endUnit,\n startUnit,\n endValues;\n pt.b = start;\n pt.e = end;\n start += \"\"; // ensure values are strings\n\n end += \"\";\n\n if (end.substring(0, 6) === \"var(--\") {\n end = _getComputedProperty(target, end.substring(4, end.indexOf(\")\")));\n }\n\n if (end === \"auto\") {\n startValue = target.style[prop];\n target.style[prop] = end;\n end = _getComputedProperty(target, prop) || end;\n startValue ? target.style[prop] = startValue : _removeProperty(target, prop);\n }\n\n a = [start, end];\n\n _colorStringFilter(a); // pass an array with the starting and ending values and let the filter do whatever it needs to the values. If colors are found, it returns true and then we must match where the color shows up order-wise because for things like boxShadow, sometimes the browser provides the computed values with the color FIRST, but the user provides it with the color LAST, so flip them if necessary. Same for drop-shadow().\n\n\n start = a[0];\n end = a[1];\n startValues = start.match(_numWithUnitExp) || [];\n endValues = end.match(_numWithUnitExp) || [];\n\n if (endValues.length) {\n while (result = _numWithUnitExp.exec(end)) {\n endValue = result[0];\n chunk = end.substring(index, result.index);\n\n if (color) {\n color = (color + 1) % 5;\n } else if (chunk.substr(-5) === \"rgba(\" || chunk.substr(-5) === \"hsla(\") {\n color = 1;\n }\n\n if (endValue !== (startValue = startValues[matchIndex++] || \"\")) {\n startNum = parseFloat(startValue) || 0;\n startUnit = startValue.substr((startNum + \"\").length);\n endValue.charAt(1) === \"=\" && (endValue = _parseRelative(startNum, endValue) + startUnit);\n endNum = parseFloat(endValue);\n endUnit = endValue.substr((endNum + \"\").length);\n index = _numWithUnitExp.lastIndex - endUnit.length;\n\n if (!endUnit) {\n //if something like \"perspective:300\" is passed in and we must add a unit to the end\n endUnit = endUnit || _config.units[prop] || startUnit;\n\n if (index === end.length) {\n end += endUnit;\n pt.e += endUnit;\n }\n }\n\n if (startUnit !== endUnit) {\n startNum = _convertToUnit(target, prop, startValue, endUnit) || 0;\n } // these nested PropTweens are handled in a special way - we'll never actually call a render or setter method on them. We'll just loop through them in the parent complex string PropTween's render method.\n\n\n pt._pt = {\n _next: pt._pt,\n p: chunk || matchIndex === 1 ? chunk : \",\",\n //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.\n s: startNum,\n c: endNum - startNum,\n m: color && color < 4 || prop === \"zIndex\" ? Math.round : 0\n };\n }\n }\n\n pt.c = index < end.length ? end.substring(index, end.length) : \"\"; //we use the \"c\" of the PropTween to store the final part of the string (after the last number)\n } else {\n pt.r = prop === \"display\" && end === \"none\" ? _renderNonTweeningValueOnlyAtEnd : _renderNonTweeningValue;\n }\n\n _relExp.test(end) && (pt.e = 0); //if the end string contains relative values or dynamic random(...) values, delete the end it so that on the final render we don't actually set it to the string with += or -= characters (forces it to use the calculated value).\n\n this._pt = pt; //start the linked list with this new PropTween. Remember, we call _tweenComplexCSSString.call(pluginInstance...) to ensure that it's scoped properly. We may call it from within another plugin too, thus \"this\" would refer to the plugin.\n\n return pt;\n},\n _keywordToPercent = {\n top: \"0%\",\n bottom: \"100%\",\n left: \"0%\",\n right: \"100%\",\n center: \"50%\"\n},\n _convertKeywordsToPercentages = function _convertKeywordsToPercentages(value) {\n var split = value.split(\" \"),\n x = split[0],\n y = split[1] || \"50%\";\n\n if (x === \"top\" || x === \"bottom\" || y === \"left\" || y === \"right\") {\n //the user provided them in the wrong order, so flip them\n value = x;\n x = y;\n y = value;\n }\n\n split[0] = _keywordToPercent[x] || x;\n split[1] = _keywordToPercent[y] || y;\n return split.join(\" \");\n},\n _renderClearProps = function _renderClearProps(ratio, data) {\n if (data.tween && data.tween._time === data.tween._dur) {\n var target = data.t,\n style = target.style,\n props = data.u,\n cache = target._gsap,\n prop,\n clearTransforms,\n i;\n\n if (props === \"all\" || props === true) {\n style.cssText = \"\";\n clearTransforms = 1;\n } else {\n props = props.split(\",\");\n i = props.length;\n\n while (--i > -1) {\n prop = props[i];\n\n if (_transformProps[prop]) {\n clearTransforms = 1;\n prop = prop === \"transformOrigin\" ? _transformOriginProp : _transformProp;\n }\n\n _removeProperty(target, prop);\n }\n }\n\n if (clearTransforms) {\n _removeProperty(target, _transformProp);\n\n if (cache) {\n cache.svg && target.removeAttribute(\"transform\");\n style.scale = style.rotate = style.translate = \"none\";\n\n _parseTransform(target, 1); // force all the cached values back to \"normal\"/identity, otherwise if there's another tween that's already set to render transforms on this element, it could display the wrong values.\n\n\n cache.uncache = 1;\n\n _removeIndependentTransforms(style);\n }\n }\n }\n},\n // note: specialProps should return 1 if (and only if) they have a non-zero priority. It indicates we need to sort the linked list.\n_specialProps = {\n clearProps: function clearProps(plugin, target, property, endValue, tween) {\n if (tween.data !== \"isFromStart\") {\n var pt = plugin._pt = new PropTween(plugin._pt, target, property, 0, 0, _renderClearProps);\n pt.u = endValue;\n pt.pr = -10;\n pt.tween = tween;\n\n plugin._props.push(property);\n\n return 1;\n }\n }\n /* className feature (about 0.4kb gzipped).\n , className(plugin, target, property, endValue, tween) {\n \tlet _renderClassName = (ratio, data) => {\n \t\t\tdata.css.render(ratio, data.css);\n \t\t\tif (!ratio || ratio === 1) {\n \t\t\t\tlet inline = data.rmv,\n \t\t\t\t\ttarget = data.t,\n \t\t\t\t\tp;\n \t\t\t\ttarget.setAttribute(\"class\", ratio ? data.e : data.b);\n \t\t\t\tfor (p in inline) {\n \t\t\t\t\t_removeProperty(target, p);\n \t\t\t\t}\n \t\t\t}\n \t\t},\n \t\t_getAllStyles = (target) => {\n \t\t\tlet styles = {},\n \t\t\t\tcomputed = getComputedStyle(target),\n \t\t\t\tp;\n \t\t\tfor (p in computed) {\n \t\t\t\tif (isNaN(p) && p !== \"cssText\" && p !== \"length\") {\n \t\t\t\t\tstyles[p] = computed[p];\n \t\t\t\t}\n \t\t\t}\n \t\t\t_setDefaults(styles, _parseTransform(target, 1));\n \t\t\treturn styles;\n \t\t},\n \t\tstartClassList = target.getAttribute(\"class\"),\n \t\tstyle = target.style,\n \t\tcssText = style.cssText,\n \t\tcache = target._gsap,\n \t\tclassPT = cache.classPT,\n \t\tinlineToRemoveAtEnd = {},\n \t\tdata = {t:target, plugin:plugin, rmv:inlineToRemoveAtEnd, b:startClassList, e:(endValue.charAt(1) !== \"=\") ? endValue : startClassList.replace(new RegExp(\"(?:\\\\s|^)\" + endValue.substr(2) + \"(?![\\\\w-])\"), \"\") + ((endValue.charAt(0) === \"+\") ? \" \" + endValue.substr(2) : \"\")},\n \t\tchangingVars = {},\n \t\tstartVars = _getAllStyles(target),\n \t\ttransformRelated = /(transform|perspective)/i,\n \t\tendVars, p;\n \tif (classPT) {\n \t\tclassPT.r(1, classPT.d);\n \t\t_removeLinkedListItem(classPT.d.plugin, classPT, \"_pt\");\n \t}\n \ttarget.setAttribute(\"class\", data.e);\n \tendVars = _getAllStyles(target, true);\n \ttarget.setAttribute(\"class\", startClassList);\n \tfor (p in endVars) {\n \t\tif (endVars[p] !== startVars[p] && !transformRelated.test(p)) {\n \t\t\tchangingVars[p] = endVars[p];\n \t\t\tif (!style[p] && style[p] !== \"0\") {\n \t\t\t\tinlineToRemoveAtEnd[p] = 1;\n \t\t\t}\n \t\t}\n \t}\n \tcache.classPT = plugin._pt = new PropTween(plugin._pt, target, \"className\", 0, 0, _renderClassName, data, 0, -11);\n \tif (style.cssText !== cssText) { //only apply if things change. Otherwise, in cases like a background-image that's pulled dynamically, it could cause a refresh. See https://gsap.com/forums/topic/20368-possible-gsap-bug-switching-classnames-in-chrome/.\n \t\tstyle.cssText = cssText; //we recorded cssText before we swapped classes and ran _getAllStyles() because in cases when a className tween is overwritten, we remove all the related tweening properties from that class change (otherwise class-specific stuff can't override properties we've directly set on the target's style object due to specificity).\n \t}\n \t_parseTransform(target, true); //to clear the caching of transforms\n \tdata.css = new gsap.plugins.css();\n \tdata.css.init(target, changingVars, tween);\n \tplugin._props.push(...data.css._props);\n \treturn 1;\n }\n */\n\n},\n\n/*\n * --------------------------------------------------------------------------------------\n * TRANSFORMS\n * --------------------------------------------------------------------------------------\n */\n_identity2DMatrix = [1, 0, 0, 1, 0, 0],\n _rotationalProperties = {},\n _isNullTransform = function _isNullTransform(value) {\n return value === \"matrix(1, 0, 0, 1, 0, 0)\" || value === \"none\" || !value;\n},\n _getComputedTransformMatrixAsArray = function _getComputedTransformMatrixAsArray(target) {\n var matrixString = _getComputedProperty(target, _transformProp);\n\n return _isNullTransform(matrixString) ? _identity2DMatrix : matrixString.substr(7).match(_numExp).map(_round);\n},\n _getMatrix = function _getMatrix(target, force2D) {\n var cache = target._gsap || _getCache(target),\n style = target.style,\n matrix = _getComputedTransformMatrixAsArray(target),\n parent,\n nextSibling,\n temp,\n addedToDOM;\n\n if (cache.svg && target.getAttribute(\"transform\")) {\n temp = target.transform.baseVal.consolidate().matrix; //ensures that even complex values like \"translate(50,60) rotate(135,0,0)\" are parsed because it mashes it into a matrix.\n\n matrix = [temp.a, temp.b, temp.c, temp.d, temp.e, temp.f];\n return matrix.join(\",\") === \"1,0,0,1,0,0\" ? _identity2DMatrix : matrix;\n } else if (matrix === _identity2DMatrix && !target.offsetParent && target !== _docElement && !cache.svg) {\n //note: if offsetParent is null, that means the element isn't in the normal document flow, like if it has display:none or one of its ancestors has display:none). Firefox returns null for getComputedStyle() if the element is in an iframe that has display:none. https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n //browsers don't report transforms accurately unless the element is in the DOM and has a display value that's not \"none\". Firefox and Microsoft browsers have a partial bug where they'll report transforms even if display:none BUT not any percentage-based values like translate(-50%, 8px) will be reported as if it's translate(0, 8px).\n temp = style.display;\n style.display = \"block\";\n parent = target.parentNode;\n\n if (!parent || !target.offsetParent && !target.getBoundingClientRect().width) {\n // note: in 3.3.0 we switched target.offsetParent to _doc.body.contains(target) to avoid [sometimes unnecessary] MutationObserver calls but that wasn't adequate because there are edge cases where nested position: fixed elements need to get reparented to accurately sense transforms. See https://github.com/greensock/GSAP/issues/388 and https://github.com/greensock/GSAP/issues/375. Note: position: fixed elements report a null offsetParent but they could also be invisible because they're in an ancestor with display: none, so we check getBoundingClientRect(). We only want to alter the DOM if we absolutely have to because it can cause iframe content to reload, like a Vimeo video.\n addedToDOM = 1; //flag\n\n nextSibling = target.nextElementSibling;\n\n _docElement.appendChild(target); //we must add it to the DOM in order to get values properly\n\n }\n\n matrix = _getComputedTransformMatrixAsArray(target);\n temp ? style.display = temp : _removeProperty(target, \"display\");\n\n if (addedToDOM) {\n nextSibling ? parent.insertBefore(target, nextSibling) : parent ? parent.appendChild(target) : _docElement.removeChild(target);\n }\n }\n\n return force2D && matrix.length > 6 ? [matrix[0], matrix[1], matrix[4], matrix[5], matrix[12], matrix[13]] : matrix;\n},\n _applySVGOrigin = function _applySVGOrigin(target, origin, originIsAbsolute, smooth, matrixArray, pluginToAddPropTweensTo) {\n var cache = target._gsap,\n matrix = matrixArray || _getMatrix(target, true),\n xOriginOld = cache.xOrigin || 0,\n yOriginOld = cache.yOrigin || 0,\n xOffsetOld = cache.xOffset || 0,\n yOffsetOld = cache.yOffset || 0,\n a = matrix[0],\n b = matrix[1],\n c = matrix[2],\n d = matrix[3],\n tx = matrix[4],\n ty = matrix[5],\n originSplit = origin.split(\" \"),\n xOrigin = parseFloat(originSplit[0]) || 0,\n yOrigin = parseFloat(originSplit[1]) || 0,\n bounds,\n determinant,\n x,\n y;\n\n if (!originIsAbsolute) {\n bounds = _getBBox(target);\n xOrigin = bounds.x + (~originSplit[0].indexOf(\"%\") ? xOrigin / 100 * bounds.width : xOrigin);\n yOrigin = bounds.y + (~(originSplit[1] || originSplit[0]).indexOf(\"%\") ? yOrigin / 100 * bounds.height : yOrigin); // if (!(\"xOrigin\" in cache) && (xOrigin || yOrigin)) { // added in 3.12.3, reverted in 3.12.4; requires more exploration\n // \txOrigin -= bounds.x;\n // \tyOrigin -= bounds.y;\n // }\n } else if (matrix !== _identity2DMatrix && (determinant = a * d - b * c)) {\n //if it's zero (like if scaleX and scaleY are zero), skip it to avoid errors with dividing by zero.\n x = xOrigin * (d / determinant) + yOrigin * (-c / determinant) + (c * ty - d * tx) / determinant;\n y = xOrigin * (-b / determinant) + yOrigin * (a / determinant) - (a * ty - b * tx) / determinant;\n xOrigin = x;\n yOrigin = y; // theory: we only had to do this for smoothing and it assumes that the previous one was not originIsAbsolute.\n }\n\n if (smooth || smooth !== false && cache.smooth) {\n tx = xOrigin - xOriginOld;\n ty = yOrigin - yOriginOld;\n cache.xOffset = xOffsetOld + (tx * a + ty * c) - tx;\n cache.yOffset = yOffsetOld + (tx * b + ty * d) - ty;\n } else {\n cache.xOffset = cache.yOffset = 0;\n }\n\n cache.xOrigin = xOrigin;\n cache.yOrigin = yOrigin;\n cache.smooth = !!smooth;\n cache.origin = origin;\n cache.originIsAbsolute = !!originIsAbsolute;\n target.style[_transformOriginProp] = \"0px 0px\"; //otherwise, if someone sets an origin via CSS, it will likely interfere with the SVG transform attribute ones (because remember, we're baking the origin into the matrix() value).\n\n if (pluginToAddPropTweensTo) {\n _addNonTweeningPT(pluginToAddPropTweensTo, cache, \"xOrigin\", xOriginOld, xOrigin);\n\n _addNonTweeningPT(pluginToAddPropTweensTo, cache, \"yOrigin\", yOriginOld, yOrigin);\n\n _addNonTweeningPT(pluginToAddPropTweensTo, cache, \"xOffset\", xOffsetOld, cache.xOffset);\n\n _addNonTweeningPT(pluginToAddPropTweensTo, cache, \"yOffset\", yOffsetOld, cache.yOffset);\n }\n\n target.setAttribute(\"data-svg-origin\", xOrigin + \" \" + yOrigin);\n},\n _parseTransform = function _parseTransform(target, uncache) {\n var cache = target._gsap || new GSCache(target);\n\n if (\"x\" in cache && !uncache && !cache.uncache) {\n return cache;\n }\n\n var style = target.style,\n invertedScaleX = cache.scaleX < 0,\n px = \"px\",\n deg = \"deg\",\n cs = getComputedStyle(target),\n origin = _getComputedProperty(target, _transformOriginProp) || \"0\",\n x,\n y,\n z,\n scaleX,\n scaleY,\n rotation,\n rotationX,\n rotationY,\n skewX,\n skewY,\n perspective,\n xOrigin,\n yOrigin,\n matrix,\n angle,\n cos,\n sin,\n a,\n b,\n c,\n d,\n a12,\n a22,\n t1,\n t2,\n t3,\n a13,\n a23,\n a33,\n a42,\n a43,\n a32;\n x = y = z = rotation = rotationX = rotationY = skewX = skewY = perspective = 0;\n scaleX = scaleY = 1;\n cache.svg = !!(target.getCTM && _isSVG(target));\n\n if (cs.translate) {\n // accommodate independent transforms by combining them into normal ones.\n if (cs.translate !== \"none\" || cs.scale !== \"none\" || cs.rotate !== \"none\") {\n style[_transformProp] = (cs.translate !== \"none\" ? \"translate3d(\" + (cs.translate + \" 0 0\").split(\" \").slice(0, 3).join(\", \") + \") \" : \"\") + (cs.rotate !== \"none\" ? \"rotate(\" + cs.rotate + \") \" : \"\") + (cs.scale !== \"none\" ? \"scale(\" + cs.scale.split(\" \").join(\",\") + \") \" : \"\") + (cs[_transformProp] !== \"none\" ? cs[_transformProp] : \"\");\n }\n\n style.scale = style.rotate = style.translate = \"none\";\n }\n\n matrix = _getMatrix(target, cache.svg);\n\n if (cache.svg) {\n if (cache.uncache) {\n // if cache.uncache is true (and maybe if origin is 0,0), we need to set element.style.transformOrigin = (cache.xOrigin - bbox.x) + \"px \" + (cache.yOrigin - bbox.y) + \"px\". Previously we let the data-svg-origin stay instead, but when introducing revert(), it complicated things.\n t2 = target.getBBox();\n origin = cache.xOrigin - t2.x + \"px \" + (cache.yOrigin - t2.y) + \"px\";\n t1 = \"\";\n } else {\n t1 = !uncache && target.getAttribute(\"data-svg-origin\"); // Remember, to work around browser inconsistencies we always force SVG elements' transformOrigin to 0,0 and offset the translation accordingly.\n }\n\n _applySVGOrigin(target, t1 || origin, !!t1 || cache.originIsAbsolute, cache.smooth !== false, matrix);\n }\n\n xOrigin = cache.xOrigin || 0;\n yOrigin = cache.yOrigin || 0;\n\n if (matrix !== _identity2DMatrix) {\n a = matrix[0]; //a11\n\n b = matrix[1]; //a21\n\n c = matrix[2]; //a31\n\n d = matrix[3]; //a41\n\n x = a12 = matrix[4];\n y = a22 = matrix[5]; //2D matrix\n\n if (matrix.length === 6) {\n scaleX = Math.sqrt(a * a + b * b);\n scaleY = Math.sqrt(d * d + c * c);\n rotation = a || b ? _atan2(b, a) * _RAD2DEG : 0; //note: if scaleX is 0, we cannot accurately measure rotation. Same for skewX with a scaleY of 0. Therefore, we default to the previously recorded value (or zero if that doesn't exist).\n\n skewX = c || d ? _atan2(c, d) * _RAD2DEG + rotation : 0;\n skewX && (scaleY *= Math.abs(Math.cos(skewX * _DEG2RAD)));\n\n if (cache.svg) {\n x -= xOrigin - (xOrigin * a + yOrigin * c);\n y -= yOrigin - (xOrigin * b + yOrigin * d);\n } //3D matrix\n\n } else {\n a32 = matrix[6];\n a42 = matrix[7];\n a13 = matrix[8];\n a23 = matrix[9];\n a33 = matrix[10];\n a43 = matrix[11];\n x = matrix[12];\n y = matrix[13];\n z = matrix[14];\n angle = _atan2(a32, a33);\n rotationX = angle * _RAD2DEG; //rotationX\n\n if (angle) {\n cos = Math.cos(-angle);\n sin = Math.sin(-angle);\n t1 = a12 * cos + a13 * sin;\n t2 = a22 * cos + a23 * sin;\n t3 = a32 * cos + a33 * sin;\n a13 = a12 * -sin + a13 * cos;\n a23 = a22 * -sin + a23 * cos;\n a33 = a32 * -sin + a33 * cos;\n a43 = a42 * -sin + a43 * cos;\n a12 = t1;\n a22 = t2;\n a32 = t3;\n } //rotationY\n\n\n angle = _atan2(-c, a33);\n rotationY = angle * _RAD2DEG;\n\n if (angle) {\n cos = Math.cos(-angle);\n sin = Math.sin(-angle);\n t1 = a * cos - a13 * sin;\n t2 = b * cos - a23 * sin;\n t3 = c * cos - a33 * sin;\n a43 = d * sin + a43 * cos;\n a = t1;\n b = t2;\n c = t3;\n } //rotationZ\n\n\n angle = _atan2(b, a);\n rotation = angle * _RAD2DEG;\n\n if (angle) {\n cos = Math.cos(angle);\n sin = Math.sin(angle);\n t1 = a * cos + b * sin;\n t2 = a12 * cos + a22 * sin;\n b = b * cos - a * sin;\n a22 = a22 * cos - a12 * sin;\n a = t1;\n a12 = t2;\n }\n\n if (rotationX && Math.abs(rotationX) + Math.abs(rotation) > 359.9) {\n //when rotationY is set, it will often be parsed as 180 degrees different than it should be, and rotationX and rotation both being 180 (it looks the same), so we adjust for that here.\n rotationX = rotation = 0;\n rotationY = 180 - rotationY;\n }\n\n scaleX = _round(Math.sqrt(a * a + b * b + c * c));\n scaleY = _round(Math.sqrt(a22 * a22 + a32 * a32));\n angle = _atan2(a12, a22);\n skewX = Math.abs(angle) > 0.0002 ? angle * _RAD2DEG : 0;\n perspective = a43 ? 1 / (a43 < 0 ? -a43 : a43) : 0;\n }\n\n if (cache.svg) {\n //sense if there are CSS transforms applied on an SVG element in which case we must overwrite them when rendering. The transform attribute is more reliable cross-browser, but we can't just remove the CSS ones because they may be applied in a CSS rule somewhere (not just inline).\n t1 = target.getAttribute(\"transform\");\n cache.forceCSS = target.setAttribute(\"transform\", \"\") || !_isNullTransform(_getComputedProperty(target, _transformProp));\n t1 && target.setAttribute(\"transform\", t1);\n }\n }\n\n if (Math.abs(skewX) > 90 && Math.abs(skewX) < 270) {\n if (invertedScaleX) {\n scaleX *= -1;\n skewX += rotation <= 0 ? 180 : -180;\n rotation += rotation <= 0 ? 180 : -180;\n } else {\n scaleY *= -1;\n skewX += skewX <= 0 ? 180 : -180;\n }\n }\n\n uncache = uncache || cache.uncache;\n cache.x = x - ((cache.xPercent = x && (!uncache && cache.xPercent || (Math.round(target.offsetWidth / 2) === Math.round(-x) ? -50 : 0))) ? target.offsetWidth * cache.xPercent / 100 : 0) + px;\n cache.y = y - ((cache.yPercent = y && (!uncache && cache.yPercent || (Math.round(target.offsetHeight / 2) === Math.round(-y) ? -50 : 0))) ? target.offsetHeight * cache.yPercent / 100 : 0) + px;\n cache.z = z + px;\n cache.scaleX = _round(scaleX);\n cache.scaleY = _round(scaleY);\n cache.rotation = _round(rotation) + deg;\n cache.rotationX = _round(rotationX) + deg;\n cache.rotationY = _round(rotationY) + deg;\n cache.skewX = skewX + deg;\n cache.skewY = skewY + deg;\n cache.transformPerspective = perspective + px;\n\n if (cache.zOrigin = parseFloat(origin.split(\" \")[2]) || !uncache && cache.zOrigin || 0) {\n style[_transformOriginProp] = _firstTwoOnly(origin);\n }\n\n cache.xOffset = cache.yOffset = 0;\n cache.force3D = _config.force3D;\n cache.renderTransform = cache.svg ? _renderSVGTransforms : _supports3D ? _renderCSSTransforms : _renderNon3DTransforms;\n cache.uncache = 0;\n return cache;\n},\n _firstTwoOnly = function _firstTwoOnly(value) {\n return (value = value.split(\" \"))[0] + \" \" + value[1];\n},\n //for handling transformOrigin values, stripping out the 3rd dimension\n_addPxTranslate = function _addPxTranslate(target, start, value) {\n var unit = getUnit(start);\n return _round(parseFloat(start) + parseFloat(_convertToUnit(target, \"x\", value + \"px\", unit))) + unit;\n},\n _renderNon3DTransforms = function _renderNon3DTransforms(ratio, cache) {\n cache.z = \"0px\";\n cache.rotationY = cache.rotationX = \"0deg\";\n cache.force3D = 0;\n\n _renderCSSTransforms(ratio, cache);\n},\n _zeroDeg = \"0deg\",\n _zeroPx = \"0px\",\n _endParenthesis = \") \",\n _renderCSSTransforms = function _renderCSSTransforms(ratio, cache) {\n var _ref = cache || this,\n xPercent = _ref.xPercent,\n yPercent = _ref.yPercent,\n x = _ref.x,\n y = _ref.y,\n z = _ref.z,\n rotation = _ref.rotation,\n rotationY = _ref.rotationY,\n rotationX = _ref.rotationX,\n skewX = _ref.skewX,\n skewY = _ref.skewY,\n scaleX = _ref.scaleX,\n scaleY = _ref.scaleY,\n transformPerspective = _ref.transformPerspective,\n force3D = _ref.force3D,\n target = _ref.target,\n zOrigin = _ref.zOrigin,\n transforms = \"\",\n use3D = force3D === \"auto\" && ratio && ratio !== 1 || force3D === true; // Safari has a bug that causes it not to render 3D transform-origin values properly, so we force the z origin to 0, record it in the cache, and then do the math here to offset the translate values accordingly (basically do the 3D transform-origin part manually)\n\n\n if (zOrigin && (rotationX !== _zeroDeg || rotationY !== _zeroDeg)) {\n var angle = parseFloat(rotationY) * _DEG2RAD,\n a13 = Math.sin(angle),\n a33 = Math.cos(angle),\n cos;\n\n angle = parseFloat(rotationX) * _DEG2RAD;\n cos = Math.cos(angle);\n x = _addPxTranslate(target, x, a13 * cos * -zOrigin);\n y = _addPxTranslate(target, y, -Math.sin(angle) * -zOrigin);\n z = _addPxTranslate(target, z, a33 * cos * -zOrigin + zOrigin);\n }\n\n if (transformPerspective !== _zeroPx) {\n transforms += \"perspective(\" + transformPerspective + _endParenthesis;\n }\n\n if (xPercent || yPercent) {\n transforms += \"translate(\" + xPercent + \"%, \" + yPercent + \"%) \";\n }\n\n if (use3D || x !== _zeroPx || y !== _zeroPx || z !== _zeroPx) {\n transforms += z !== _zeroPx || use3D ? \"translate3d(\" + x + \", \" + y + \", \" + z + \") \" : \"translate(\" + x + \", \" + y + _endParenthesis;\n }\n\n if (rotation !== _zeroDeg) {\n transforms += \"rotate(\" + rotation + _endParenthesis;\n }\n\n if (rotationY !== _zeroDeg) {\n transforms += \"rotateY(\" + rotationY + _endParenthesis;\n }\n\n if (rotationX !== _zeroDeg) {\n transforms += \"rotateX(\" + rotationX + _endParenthesis;\n }\n\n if (skewX !== _zeroDeg || skewY !== _zeroDeg) {\n transforms += \"skew(\" + skewX + \", \" + skewY + _endParenthesis;\n }\n\n if (scaleX !== 1 || scaleY !== 1) {\n transforms += \"scale(\" + scaleX + \", \" + scaleY + _endParenthesis;\n }\n\n target.style[_transformProp] = transforms || \"translate(0, 0)\";\n},\n _renderSVGTransforms = function _renderSVGTransforms(ratio, cache) {\n var _ref2 = cache || this,\n xPercent = _ref2.xPercent,\n yPercent = _ref2.yPercent,\n x = _ref2.x,\n y = _ref2.y,\n rotation = _ref2.rotation,\n skewX = _ref2.skewX,\n skewY = _ref2.skewY,\n scaleX = _ref2.scaleX,\n scaleY = _ref2.scaleY,\n target = _ref2.target,\n xOrigin = _ref2.xOrigin,\n yOrigin = _ref2.yOrigin,\n xOffset = _ref2.xOffset,\n yOffset = _ref2.yOffset,\n forceCSS = _ref2.forceCSS,\n tx = parseFloat(x),\n ty = parseFloat(y),\n a11,\n a21,\n a12,\n a22,\n temp;\n\n rotation = parseFloat(rotation);\n skewX = parseFloat(skewX);\n skewY = parseFloat(skewY);\n\n if (skewY) {\n //for performance reasons, we combine all skewing into the skewX and rotation values. Remember, a skewY of 10 degrees looks the same as a rotation of 10 degrees plus a skewX of 10 degrees.\n skewY = parseFloat(skewY);\n skewX += skewY;\n rotation += skewY;\n }\n\n if (rotation || skewX) {\n rotation *= _DEG2RAD;\n skewX *= _DEG2RAD;\n a11 = Math.cos(rotation) * scaleX;\n a21 = Math.sin(rotation) * scaleX;\n a12 = Math.sin(rotation - skewX) * -scaleY;\n a22 = Math.cos(rotation - skewX) * scaleY;\n\n if (skewX) {\n skewY *= _DEG2RAD;\n temp = Math.tan(skewX - skewY);\n temp = Math.sqrt(1 + temp * temp);\n a12 *= temp;\n a22 *= temp;\n\n if (skewY) {\n temp = Math.tan(skewY);\n temp = Math.sqrt(1 + temp * temp);\n a11 *= temp;\n a21 *= temp;\n }\n }\n\n a11 = _round(a11);\n a21 = _round(a21);\n a12 = _round(a12);\n a22 = _round(a22);\n } else {\n a11 = scaleX;\n a22 = scaleY;\n a21 = a12 = 0;\n }\n\n if (tx && !~(x + \"\").indexOf(\"px\") || ty && !~(y + \"\").indexOf(\"px\")) {\n tx = _convertToUnit(target, \"x\", x, \"px\");\n ty = _convertToUnit(target, \"y\", y, \"px\");\n }\n\n if (xOrigin || yOrigin || xOffset || yOffset) {\n tx = _round(tx + xOrigin - (xOrigin * a11 + yOrigin * a12) + xOffset);\n ty = _round(ty + yOrigin - (xOrigin * a21 + yOrigin * a22) + yOffset);\n }\n\n if (xPercent || yPercent) {\n //The SVG spec doesn't support percentage-based translation in the \"transform\" attribute, so we merge it into the translation to simulate it.\n temp = target.getBBox();\n tx = _round(tx + xPercent / 100 * temp.width);\n ty = _round(ty + yPercent / 100 * temp.height);\n }\n\n temp = \"matrix(\" + a11 + \",\" + a21 + \",\" + a12 + \",\" + a22 + \",\" + tx + \",\" + ty + \")\";\n target.setAttribute(\"transform\", temp);\n forceCSS && (target.style[_transformProp] = temp); //some browsers prioritize CSS transforms over the transform attribute. When we sense that the user has CSS transforms applied, we must overwrite them this way (otherwise some browser simply won't render the transform attribute changes!)\n},\n _addRotationalPropTween = function _addRotationalPropTween(plugin, target, property, startNum, endValue) {\n var cap = 360,\n isString = _isString(endValue),\n endNum = parseFloat(endValue) * (isString && ~endValue.indexOf(\"rad\") ? _RAD2DEG : 1),\n change = endNum - startNum,\n finalValue = startNum + change + \"deg\",\n direction,\n pt;\n\n if (isString) {\n direction = endValue.split(\"_\")[1];\n\n if (direction === \"short\") {\n change %= cap;\n\n if (change !== change % (cap / 2)) {\n change += change < 0 ? cap : -cap;\n }\n }\n\n if (direction === \"cw\" && change < 0) {\n change = (change + cap * _bigNum) % cap - ~~(change / cap) * cap;\n } else if (direction === \"ccw\" && change > 0) {\n change = (change - cap * _bigNum) % cap - ~~(change / cap) * cap;\n }\n }\n\n plugin._pt = pt = new PropTween(plugin._pt, target, property, startNum, change, _renderPropWithEnd);\n pt.e = finalValue;\n pt.u = \"deg\";\n\n plugin._props.push(property);\n\n return pt;\n},\n _assign = function _assign(target, source) {\n // Internet Explorer doesn't have Object.assign(), so we recreate it here.\n for (var p in source) {\n target[p] = source[p];\n }\n\n return target;\n},\n _addRawTransformPTs = function _addRawTransformPTs(plugin, transforms, target) {\n //for handling cases where someone passes in a whole transform string, like transform: \"scale(2, 3) rotate(20deg) translateY(30em)\"\n var startCache = _assign({}, target._gsap),\n exclude = \"perspective,force3D,transformOrigin,svgOrigin\",\n style = target.style,\n endCache,\n p,\n startValue,\n endValue,\n startNum,\n endNum,\n startUnit,\n endUnit;\n\n if (startCache.svg) {\n startValue = target.getAttribute(\"transform\");\n target.setAttribute(\"transform\", \"\");\n style[_transformProp] = transforms;\n endCache = _parseTransform(target, 1);\n\n _removeProperty(target, _transformProp);\n\n target.setAttribute(\"transform\", startValue);\n } else {\n startValue = getComputedStyle(target)[_transformProp];\n style[_transformProp] = transforms;\n endCache = _parseTransform(target, 1);\n style[_transformProp] = startValue;\n }\n\n for (p in _transformProps) {\n startValue = startCache[p];\n endValue = endCache[p];\n\n if (startValue !== endValue && exclude.indexOf(p) < 0) {\n //tweening to no perspective gives very unintuitive results - just keep the same perspective in that case.\n startUnit = getUnit(startValue);\n endUnit = getUnit(endValue);\n startNum = startUnit !== endUnit ? _convertToUnit(target, p, startValue, endUnit) : parseFloat(startValue);\n endNum = parseFloat(endValue);\n plugin._pt = new PropTween(plugin._pt, endCache, p, startNum, endNum - startNum, _renderCSSProp);\n plugin._pt.u = endUnit || 0;\n\n plugin._props.push(p);\n }\n }\n\n _assign(endCache, startCache);\n}; // handle splitting apart padding, margin, borderWidth, and borderRadius into their 4 components. Firefox, for example, won't report borderRadius correctly - it will only do borderTopLeftRadius and the other corners. We also want to handle paddingTop, marginLeft, borderRightWidth, etc.\n\n\n_forEachName(\"padding,margin,Width,Radius\", function (name, index) {\n var t = \"Top\",\n r = \"Right\",\n b = \"Bottom\",\n l = \"Left\",\n props = (index < 3 ? [t, r, b, l] : [t + l, t + r, b + r, b + l]).map(function (side) {\n return index < 2 ? name + side : \"border\" + side + name;\n });\n\n _specialProps[index > 1 ? \"border\" + name : name] = function (plugin, target, property, endValue, tween) {\n var a, vars;\n\n if (arguments.length < 4) {\n // getter, passed target, property, and unit (from _get())\n a = props.map(function (prop) {\n return _get(plugin, prop, property);\n });\n vars = a.join(\" \");\n return vars.split(a[0]).length === 5 ? a[0] : vars;\n }\n\n a = (endValue + \"\").split(\" \");\n vars = {};\n props.forEach(function (prop, i) {\n return vars[prop] = a[i] = a[i] || a[(i - 1) / 2 | 0];\n });\n plugin.init(target, vars, tween);\n };\n});\n\nexport var CSSPlugin = {\n name: \"css\",\n register: _initCore,\n targetTest: function targetTest(target) {\n return target.style && target.nodeType;\n },\n init: function init(target, vars, tween, index, targets) {\n var props = this._props,\n style = target.style,\n startAt = tween.vars.startAt,\n startValue,\n endValue,\n endNum,\n startNum,\n type,\n specialProp,\n p,\n startUnit,\n endUnit,\n relative,\n isTransformRelated,\n transformPropTween,\n cache,\n smooth,\n hasPriority,\n inlineProps,\n finalTransformValue;\n _pluginInitted || _initCore(); // we may call init() multiple times on the same plugin instance, like when adding special properties, so make sure we don't overwrite the revert data or inlineProps\n\n this.styles = this.styles || _getStyleSaver(target);\n inlineProps = this.styles.props;\n this.tween = tween;\n\n for (p in vars) {\n if (p === \"autoRound\") {\n continue;\n }\n\n endValue = vars[p];\n\n if (_plugins[p] && _checkPlugin(p, vars, tween, index, target, targets)) {\n // plugins\n continue;\n }\n\n type = typeof endValue;\n specialProp = _specialProps[p];\n\n if (type === \"function\") {\n endValue = endValue.call(tween, index, target, targets);\n type = typeof endValue;\n }\n\n if (type === \"string\" && ~endValue.indexOf(\"random(\")) {\n endValue = _replaceRandom(endValue);\n }\n\n if (specialProp) {\n specialProp(this, target, p, endValue, tween) && (hasPriority = 1);\n } else if (p.substr(0, 2) === \"--\") {\n //CSS variable\n startValue = (getComputedStyle(target).getPropertyValue(p) + \"\").trim();\n endValue += \"\";\n _colorExp.lastIndex = 0;\n\n if (!_colorExp.test(startValue)) {\n // colors don't have units\n startUnit = getUnit(startValue);\n endUnit = getUnit(endValue);\n endUnit ? startUnit !== endUnit && (startValue = _convertToUnit(target, p, startValue, endUnit) + endUnit) : startUnit && (endValue += startUnit);\n }\n\n this.add(style, \"setProperty\", startValue, endValue, index, targets, 0, 0, p);\n props.push(p);\n inlineProps.push(p, 0, style[p]);\n } else if (type !== \"undefined\") {\n if (startAt && p in startAt) {\n // in case someone hard-codes a complex value as the start, like top: \"calc(2vh / 2)\". Without this, it'd use the computed value (always in px)\n startValue = typeof startAt[p] === \"function\" ? startAt[p].call(tween, index, target, targets) : startAt[p];\n _isString(startValue) && ~startValue.indexOf(\"random(\") && (startValue = _replaceRandom(startValue));\n getUnit(startValue + \"\") || startValue === \"auto\" || (startValue += _config.units[p] || getUnit(_get(target, p)) || \"\"); // for cases when someone passes in a unitless value like {x: 100}; if we try setting translate(100, 0px) it won't work.\n\n (startValue + \"\").charAt(1) === \"=\" && (startValue = _get(target, p)); // can't work with relative values\n } else {\n startValue = _get(target, p);\n }\n\n startNum = parseFloat(startValue);\n relative = type === \"string\" && endValue.charAt(1) === \"=\" && endValue.substr(0, 2);\n relative && (endValue = endValue.substr(2));\n endNum = parseFloat(endValue);\n\n if (p in _propertyAliases) {\n if (p === \"autoAlpha\") {\n //special case where we control the visibility along with opacity. We still allow the opacity value to pass through and get tweened.\n if (startNum === 1 && _get(target, \"visibility\") === \"hidden\" && endNum) {\n //if visibility is initially set to \"hidden\", we should interpret that as intent to make opacity 0 (a convenience)\n startNum = 0;\n }\n\n inlineProps.push(\"visibility\", 0, style.visibility);\n\n _addNonTweeningPT(this, style, \"visibility\", startNum ? \"inherit\" : \"hidden\", endNum ? \"inherit\" : \"hidden\", !endNum);\n }\n\n if (p !== \"scale\" && p !== \"transform\") {\n p = _propertyAliases[p];\n ~p.indexOf(\",\") && (p = p.split(\",\")[0]);\n }\n }\n\n isTransformRelated = p in _transformProps; //--- TRANSFORM-RELATED ---\n\n if (isTransformRelated) {\n this.styles.save(p);\n finalTransformValue = endValue; // this is always the same as endValue except when it's a var(--) value, in which case we need to calculate the end value.\n\n if (type === \"string\" && endValue.substring(0, 6) === \"var(--\") {\n endValue = _getComputedProperty(target, endValue.substring(4, endValue.indexOf(\")\")));\n\n if (endValue.substring(0, 5) === \"calc(\") {\n var origPerspective = target.style.perspective;\n target.style.perspective = endValue;\n endValue = _getComputedProperty(target, \"perspective\");\n origPerspective ? target.style.perspective = origPerspective : _removeProperty(target, \"perspective\");\n }\n\n endNum = parseFloat(endValue);\n }\n\n if (!transformPropTween) {\n cache = target._gsap;\n cache.renderTransform && !vars.parseTransform || _parseTransform(target, vars.parseTransform); // if, for example, gsap.set(... {transform:\"translateX(50vw)\"}), the _get() call doesn't parse the transform, thus cache.renderTransform won't be set yet so force the parsing of the transform here.\n\n smooth = vars.smoothOrigin !== false && cache.smooth;\n transformPropTween = this._pt = new PropTween(this._pt, style, _transformProp, 0, 1, cache.renderTransform, cache, 0, -1); //the first time through, create the rendering PropTween so that it runs LAST (in the linked list, we keep adding to the beginning)\n\n transformPropTween.dep = 1; //flag it as dependent so that if things get killed/overwritten and this is the only PropTween left, we can safely kill the whole tween.\n }\n\n if (p === \"scale\") {\n this._pt = new PropTween(this._pt, cache, \"scaleY\", cache.scaleY, (relative ? _parseRelative(cache.scaleY, relative + endNum) : endNum) - cache.scaleY || 0, _renderCSSProp);\n this._pt.u = 0;\n props.push(\"scaleY\", p);\n p += \"X\";\n } else if (p === \"transformOrigin\") {\n inlineProps.push(_transformOriginProp, 0, style[_transformOriginProp]);\n endValue = _convertKeywordsToPercentages(endValue); //in case something like \"left top\" or \"bottom right\" is passed in. Convert to percentages.\n\n if (cache.svg) {\n _applySVGOrigin(target, endValue, 0, smooth, 0, this);\n } else {\n endUnit = parseFloat(endValue.split(\" \")[2]) || 0; //handle the zOrigin separately!\n\n endUnit !== cache.zOrigin && _addNonTweeningPT(this, cache, \"zOrigin\", cache.zOrigin, endUnit);\n\n _addNonTweeningPT(this, style, p, _firstTwoOnly(startValue), _firstTwoOnly(endValue));\n }\n\n continue;\n } else if (p === \"svgOrigin\") {\n _applySVGOrigin(target, endValue, 1, smooth, 0, this);\n\n continue;\n } else if (p in _rotationalProperties) {\n _addRotationalPropTween(this, cache, p, startNum, relative ? _parseRelative(startNum, relative + endValue) : endValue);\n\n continue;\n } else if (p === \"smoothOrigin\") {\n _addNonTweeningPT(this, cache, \"smooth\", cache.smooth, endValue);\n\n continue;\n } else if (p === \"force3D\") {\n cache[p] = endValue;\n continue;\n } else if (p === \"transform\") {\n _addRawTransformPTs(this, endValue, target);\n\n continue;\n }\n } else if (!(p in style)) {\n p = _checkPropPrefix(p) || p;\n }\n\n if (isTransformRelated || (endNum || endNum === 0) && (startNum || startNum === 0) && !_complexExp.test(endValue) && p in style) {\n startUnit = (startValue + \"\").substr((startNum + \"\").length);\n endNum || (endNum = 0); // protect against NaN\n\n endUnit = getUnit(endValue) || (p in _config.units ? _config.units[p] : startUnit);\n startUnit !== endUnit && (startNum = _convertToUnit(target, p, startValue, endUnit));\n this._pt = new PropTween(this._pt, isTransformRelated ? cache : style, p, startNum, (relative ? _parseRelative(startNum, relative + endNum) : endNum) - startNum, !isTransformRelated && (endUnit === \"px\" || p === \"zIndex\") && vars.autoRound !== false ? _renderRoundedCSSProp : _renderCSSProp);\n this._pt.u = endUnit || 0;\n\n if (isTransformRelated && finalTransformValue !== endValue) {\n this._pt.b = startValue;\n this._pt.e = finalTransformValue;\n this._pt.r = _renderCSSPropWithBeginningAndEnd;\n } else if (startUnit !== endUnit && endUnit !== \"%\") {\n //when the tween goes all the way back to the beginning, we need to revert it to the OLD/ORIGINAL value (with those units). We record that as a \"b\" (beginning) property and point to a render method that handles that. (performance optimization)\n this._pt.b = startValue;\n this._pt.r = _renderCSSPropWithBeginning;\n }\n } else if (!(p in style)) {\n if (p in target) {\n //maybe it's not a style - it could be a property added directly to an element in which case we'll try to animate that.\n this.add(target, p, startValue || target[p], relative ? relative + endValue : endValue, index, targets);\n } else if (p !== \"parseTransform\") {\n _missingPlugin(p, endValue);\n\n continue;\n }\n } else {\n _tweenComplexCSSString.call(this, target, p, startValue, relative ? relative + endValue : endValue);\n }\n\n isTransformRelated || (p in style ? inlineProps.push(p, 0, style[p]) : typeof target[p] === \"function\" ? inlineProps.push(p, 2, target[p]()) : inlineProps.push(p, 1, startValue || target[p]));\n props.push(p);\n }\n }\n\n hasPriority && _sortPropTweensByPriority(this);\n },\n render: function render(ratio, data) {\n if (data.tween._time || !_reverting()) {\n var pt = data._pt;\n\n while (pt) {\n pt.r(ratio, pt.d);\n pt = pt._next;\n }\n } else {\n data.styles.revert();\n }\n },\n get: _get,\n aliases: _propertyAliases,\n getSetter: function getSetter(target, property, plugin) {\n //returns a setter function that accepts target, property, value and applies it accordingly. Remember, properties like \"x\" aren't as simple as target.style.property = value because they've got to be applied to a proxy object and then merged into a transform string in a renderer.\n var p = _propertyAliases[property];\n p && p.indexOf(\",\") < 0 && (property = p);\n return property in _transformProps && property !== _transformOriginProp && (target._gsap.x || _get(target, \"x\")) ? plugin && _recentSetterPlugin === plugin ? property === \"scale\" ? _setterScale : _setterTransform : (_recentSetterPlugin = plugin || {}) && (property === \"scale\" ? _setterScaleWithRender : _setterTransformWithRender) : target.style && !_isUndefined(target.style[property]) ? _setterCSSStyle : ~property.indexOf(\"-\") ? _setterCSSProp : _getSetter(target, property);\n },\n core: {\n _removeProperty: _removeProperty,\n _getMatrix: _getMatrix\n }\n};\ngsap.utils.checkPrefix = _checkPropPrefix;\ngsap.core.getStyleSaver = _getStyleSaver;\n\n(function (positionAndScale, rotation, others, aliases) {\n var all = _forEachName(positionAndScale + \",\" + rotation + \",\" + others, function (name) {\n _transformProps[name] = 1;\n });\n\n _forEachName(rotation, function (name) {\n _config.units[name] = \"deg\";\n _rotationalProperties[name] = 1;\n });\n\n _propertyAliases[all[13]] = positionAndScale + \",\" + rotation;\n\n _forEachName(aliases, function (name) {\n var split = name.split(\":\");\n _propertyAliases[split[1]] = all[split[0]];\n });\n})(\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\", \"rotation,rotationX,rotationY,skewX,skewY\", \"transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\", \"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\");\n\n_forEachName(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\", function (name) {\n _config.units[name] = \"px\";\n});\n\ngsap.registerPlugin(CSSPlugin);\nexport { CSSPlugin as default, _getBBox, _createElement, _checkPropPrefix as checkPrefix };","import { gsap, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, TweenLite, TimelineLite, TimelineMax } from \"./gsap-core.js\";\nimport { CSSPlugin } from \"./CSSPlugin.js\";\nvar gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap,\n // to protect from tree shaking\nTweenMaxWithCSS = gsapWithCSS.core.Tween;\nexport { gsapWithCSS as gsap, gsapWithCSS as default, CSSPlugin, TweenMaxWithCSS as TweenMax, TweenLite, TimelineMax, TimelineLite, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ };","function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/*!\n * Observer 3.15.0\n * https://gsap.com\n *\n * @license Copyright 2008-2026, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n\n/* eslint-disable */\nvar gsap,\n _coreInitted,\n _clamp,\n _win,\n _doc,\n _docEl,\n _body,\n _isTouch,\n _pointerType,\n ScrollTrigger,\n _root,\n _normalizer,\n _eventTypes,\n _context,\n _getGSAP = function _getGSAP() {\n return gsap || typeof window !== \"undefined\" && (gsap = window.gsap) && gsap.registerPlugin && gsap;\n},\n _startup = 1,\n _observers = [],\n _scrollers = [],\n _proxies = [],\n _getTime = Date.now,\n _bridge = function _bridge(name, value) {\n return value;\n},\n _integrate = function _integrate() {\n var core = ScrollTrigger.core,\n data = core.bridge || {},\n scrollers = core._scrollers,\n proxies = core._proxies;\n scrollers.push.apply(scrollers, _scrollers);\n proxies.push.apply(proxies, _proxies);\n _scrollers = scrollers;\n _proxies = proxies;\n\n _bridge = function _bridge(name, value) {\n return data[name](value);\n };\n},\n _getProxyProp = function _getProxyProp(element, property) {\n return ~_proxies.indexOf(element) && _proxies[_proxies.indexOf(element) + 1][property];\n},\n _isViewport = function _isViewport(el) {\n return !!~_root.indexOf(el);\n},\n _addListener = function _addListener(element, type, func, passive, capture) {\n return element.addEventListener(type, func, {\n passive: passive !== false,\n capture: !!capture\n });\n},\n _removeListener = function _removeListener(element, type, func, capture) {\n return element.removeEventListener(type, func, !!capture);\n},\n _scrollLeft = \"scrollLeft\",\n _scrollTop = \"scrollTop\",\n _onScroll = function _onScroll() {\n return _normalizer && _normalizer.isPressed || _scrollers.cache++;\n},\n _scrollCacheFunc = function _scrollCacheFunc(f, doNotCache) {\n var cachingFunc = function cachingFunc(value) {\n // since reading the scrollTop/scrollLeft/pageOffsetY/pageOffsetX can trigger a layout, this function allows us to cache the value so it only gets read fresh after a \"scroll\" event fires (or while we're refreshing because that can lengthen the page and alter the scroll position). when \"soft\" is true, that means don't actually set the scroll, but cache the new value instead (useful in ScrollSmoother)\n if (value || value === 0) {\n _startup && (_win.history.scrollRestoration = \"manual\"); // otherwise the new position will get overwritten by the browser onload.\n\n var isNormalizing = _normalizer && _normalizer.isPressed;\n value = cachingFunc.v = Math.round(value) || (_normalizer && _normalizer.iOS ? 1 : 0); //TODO: iOS Bug: if you allow it to go to 0, Safari can start to report super strange (wildly inaccurate) touch positions!\n\n f(value);\n cachingFunc.cacheID = _scrollers.cache;\n isNormalizing && _bridge(\"ss\", value); // set scroll (notify ScrollTrigger so it can dispatch a \"scrollStart\" event if necessary\n } else if (doNotCache || _scrollers.cache !== cachingFunc.cacheID || _bridge(\"ref\")) {\n cachingFunc.cacheID = _scrollers.cache;\n cachingFunc.v = f();\n }\n\n return cachingFunc.v + cachingFunc.offset;\n };\n\n cachingFunc.offset = 0;\n return f && cachingFunc;\n},\n _horizontal = {\n s: _scrollLeft,\n p: \"left\",\n p2: \"Left\",\n os: \"right\",\n os2: \"Right\",\n d: \"width\",\n d2: \"Width\",\n a: \"x\",\n sc: _scrollCacheFunc(function (value) {\n return arguments.length ? _win.scrollTo(value, _vertical.sc()) : _win.pageXOffset || _doc[_scrollLeft] || _docEl[_scrollLeft] || _body[_scrollLeft] || 0;\n })\n},\n _vertical = {\n s: _scrollTop,\n p: \"top\",\n p2: \"Top\",\n os: \"bottom\",\n os2: \"Bottom\",\n d: \"height\",\n d2: \"Height\",\n a: \"y\",\n op: _horizontal,\n sc: _scrollCacheFunc(function (value) {\n return arguments.length ? _win.scrollTo(_horizontal.sc(), value) : _win.pageYOffset || _doc[_scrollTop] || _docEl[_scrollTop] || _body[_scrollTop] || 0;\n })\n},\n _getTarget = function _getTarget(t, self) {\n return (self && self._ctx && self._ctx.selector || gsap.utils.toArray)(t)[0] || (typeof t === \"string\" && gsap.config().nullTargetWarn !== false ? console.warn(\"Element not found:\", t) : null);\n},\n _isWithin = function _isWithin(element, list) {\n // check if the element is in the list or is a descendant of an element in the list.\n var i = list.length;\n\n while (i--) {\n if (list[i] === element || list[i].contains(element)) {\n return true;\n }\n }\n\n return false;\n},\n _getScrollFunc = function _getScrollFunc(element, _ref) {\n var s = _ref.s,\n sc = _ref.sc;\n // we store the scroller functions in an alternating sequenced Array like [element, verticalScrollFunc, horizontalScrollFunc, ...] so that we can minimize memory, maximize performance, and we also record the last position as a \".rec\" property in order to revert to that after refreshing to ensure things don't shift around.\n _isViewport(element) && (element = _doc.scrollingElement || _docEl);\n\n var i = _scrollers.indexOf(element),\n offset = sc === _vertical.sc ? 1 : 2;\n\n !~i && (i = _scrollers.push(element) - 1);\n _scrollers[i + offset] || _addListener(element, \"scroll\", _onScroll); // clear the cache when a scroll occurs\n\n var prev = _scrollers[i + offset],\n func = prev || (_scrollers[i + offset] = _scrollCacheFunc(_getProxyProp(element, s), true) || (_isViewport(element) ? sc : _scrollCacheFunc(function (value) {\n return arguments.length ? element[s] = value : element[s];\n })));\n func.target = element;\n prev || (func.smooth = gsap.getProperty(element, \"scrollBehavior\") === \"smooth\"); // only set it the first time (don't reset every time a scrollFunc is requested because perhaps it happens during a refresh() when it's disabled in ScrollTrigger.\n\n return func;\n},\n _getVelocityProp = function _getVelocityProp(value, minTimeRefresh, useDelta) {\n var v1 = value,\n v2 = value,\n t1 = _getTime(),\n t2 = t1,\n min = minTimeRefresh || 50,\n dropToZeroTime = Math.max(500, min * 3),\n update = function update(value, force) {\n var t = _getTime();\n\n if (force || t - t1 > min) {\n v2 = v1;\n v1 = value;\n t2 = t1;\n t1 = t;\n } else if (useDelta) {\n v1 += value;\n } else {\n // not totally necessary, but makes it a bit more accurate by adjusting the v1 value according to the new slope. This way we're not just ignoring the incoming data. Removing for now because it doesn't seem to make much practical difference and it's probably not worth the kb.\n v1 = v2 + (value - v2) / (t - t2) * (t1 - t2);\n }\n },\n reset = function reset() {\n v2 = v1 = useDelta ? 0 : v1;\n t2 = t1 = 0;\n },\n getVelocity = function getVelocity(latestValue) {\n var tOld = t2,\n vOld = v2,\n t = _getTime();\n\n (latestValue || latestValue === 0) && latestValue !== v1 && update(latestValue);\n return t1 === t2 || t - t2 > dropToZeroTime ? 0 : (v1 + (useDelta ? vOld : -vOld)) / ((useDelta ? t : t1) - tOld) * 1000;\n };\n\n return {\n update: update,\n reset: reset,\n getVelocity: getVelocity\n };\n},\n _getEvent = function _getEvent(e, preventDefault) {\n preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();\n return e.changedTouches ? e.changedTouches[0] : e;\n},\n _getAbsoluteMax = function _getAbsoluteMax(a) {\n var max = Math.max.apply(Math, a),\n min = Math.min.apply(Math, a);\n return Math.abs(max) >= Math.abs(min) ? max : min;\n},\n _setScrollTrigger = function _setScrollTrigger() {\n ScrollTrigger = gsap.core.globals().ScrollTrigger;\n ScrollTrigger && ScrollTrigger.core && _integrate();\n},\n _initCore = function _initCore(core) {\n gsap = core || _getGSAP();\n\n if (!_coreInitted && gsap && typeof document !== \"undefined\" && document.body) {\n _win = window;\n _doc = document;\n _docEl = _doc.documentElement;\n _body = _doc.body;\n _root = [_win, _doc, _docEl, _body];\n _clamp = gsap.utils.clamp;\n\n _context = gsap.core.context || function () {};\n\n _pointerType = \"onpointerenter\" in _body ? \"pointer\" : \"mouse\"; // isTouch is 0 if no touch, 1 if ONLY touch, and 2 if it can accommodate touch but also other types like mouse/pointer.\n\n _isTouch = Observer.isTouch = _win.matchMedia && _win.matchMedia(\"(hover: none), (pointer: coarse)\").matches ? 1 : \"ontouchstart\" in _win || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? 2 : 0;\n _eventTypes = Observer.eventTypes = (\"ontouchstart\" in _docEl ? \"touchstart,touchmove,touchcancel,touchend\" : !(\"onpointerdown\" in _docEl) ? \"mousedown,mousemove,mouseup,mouseup\" : \"pointerdown,pointermove,pointercancel,pointerup\").split(\",\");\n setTimeout(function () {\n return _startup = 0;\n }, 500);\n _coreInitted = 1;\n }\n\n ScrollTrigger || _setScrollTrigger(); // Observer might be initted BEFORE ScrollTrigger, so don't put this with the initting code. ScrollTrigger will call Observer.register() when it inits.\n\n return _coreInitted;\n};\n\n_horizontal.op = _vertical;\n_scrollers.cache = 0;\nexport var Observer = /*#__PURE__*/function () {\n function Observer(vars) {\n this.init(vars);\n }\n\n var _proto = Observer.prototype;\n\n _proto.init = function init(vars) {\n _coreInitted || _initCore(gsap) || console.warn(\"Please gsap.registerPlugin(Observer)\");\n ScrollTrigger || _setScrollTrigger();\n var tolerance = vars.tolerance,\n dragMinimum = vars.dragMinimum,\n type = vars.type,\n target = vars.target,\n lineHeight = vars.lineHeight,\n debounce = vars.debounce,\n preventDefault = vars.preventDefault,\n onStop = vars.onStop,\n onStopDelay = vars.onStopDelay,\n ignore = vars.ignore,\n wheelSpeed = vars.wheelSpeed,\n event = vars.event,\n onDragStart = vars.onDragStart,\n onDragEnd = vars.onDragEnd,\n onDrag = vars.onDrag,\n onPress = vars.onPress,\n onRelease = vars.onRelease,\n onRight = vars.onRight,\n onLeft = vars.onLeft,\n onUp = vars.onUp,\n onDown = vars.onDown,\n onChangeX = vars.onChangeX,\n onChangeY = vars.onChangeY,\n onChange = vars.onChange,\n onToggleX = vars.onToggleX,\n onToggleY = vars.onToggleY,\n onHover = vars.onHover,\n onHoverEnd = vars.onHoverEnd,\n onMove = vars.onMove,\n ignoreCheck = vars.ignoreCheck,\n isNormalizer = vars.isNormalizer,\n onGestureStart = vars.onGestureStart,\n onGestureEnd = vars.onGestureEnd,\n onWheel = vars.onWheel,\n onEnable = vars.onEnable,\n onDisable = vars.onDisable,\n onClick = vars.onClick,\n scrollSpeed = vars.scrollSpeed,\n capture = vars.capture,\n allowClicks = vars.allowClicks,\n lockAxis = vars.lockAxis,\n onLockAxis = vars.onLockAxis;\n this.target = target = _getTarget(target) || _docEl;\n this.vars = vars;\n ignore && (ignore = gsap.utils.toArray(ignore));\n tolerance = tolerance || 1e-9;\n dragMinimum = dragMinimum || 0;\n wheelSpeed = wheelSpeed || 1;\n scrollSpeed = scrollSpeed || 1;\n type = type || \"wheel,touch,pointer\";\n debounce = debounce !== false;\n lineHeight || (lineHeight = parseFloat(_win.getComputedStyle(_body).lineHeight) || 22); // note: browser may report \"normal\", so default to 22.\n\n var id,\n onStopDelayedCall,\n dragged,\n moved,\n wheeled,\n locked,\n axis,\n self = this,\n prevDeltaX = 0,\n prevDeltaY = 0,\n passive = vars.passive || !preventDefault && vars.passive !== false,\n scrollFuncX = _getScrollFunc(target, _horizontal),\n scrollFuncY = _getScrollFunc(target, _vertical),\n scrollX = scrollFuncX(),\n scrollY = scrollFuncY(),\n limitToTouch = ~type.indexOf(\"touch\") && !~type.indexOf(\"pointer\") && _eventTypes[0] === \"pointerdown\",\n // for devices that accommodate mouse events and touch events, we need to distinguish.\n isViewport = _isViewport(target),\n ownerDoc = target.ownerDocument || _doc,\n deltaX = [0, 0, 0],\n // wheel, scroll, pointer/touch\n deltaY = [0, 0, 0],\n onClickTime = 0,\n clickCapture = function clickCapture() {\n return onClickTime = _getTime();\n },\n _ignoreCheck = function _ignoreCheck(e, isPointerOrTouch) {\n return (self.event = e) && ignore && _isWithin(e.target, ignore) || isPointerOrTouch && limitToTouch && e.pointerType !== \"touch\" || ignoreCheck && ignoreCheck(e, isPointerOrTouch);\n },\n onStopFunc = function onStopFunc() {\n self._vx.reset();\n\n self._vy.reset();\n\n onStopDelayedCall.pause();\n onStop && onStop(self);\n },\n update = function update() {\n var dx = self.deltaX = _getAbsoluteMax(deltaX),\n dy = self.deltaY = _getAbsoluteMax(deltaY),\n changedX = Math.abs(dx) >= tolerance,\n changedY = Math.abs(dy) >= tolerance;\n\n onChange && (changedX || changedY) && onChange(self, dx, dy, deltaX, deltaY); // in ScrollTrigger.normalizeScroll(), we need to know if it was touch/pointer so we need access to the deltaX/deltaY Arrays before we clear them out.\n\n if (changedX) {\n onRight && self.deltaX > 0 && onRight(self);\n onLeft && self.deltaX < 0 && onLeft(self);\n onChangeX && onChangeX(self);\n onToggleX && self.deltaX < 0 !== prevDeltaX < 0 && onToggleX(self);\n prevDeltaX = self.deltaX;\n deltaX[0] = deltaX[1] = deltaX[2] = 0;\n }\n\n if (changedY) {\n onDown && self.deltaY > 0 && onDown(self);\n onUp && self.deltaY < 0 && onUp(self);\n onChangeY && onChangeY(self);\n onToggleY && self.deltaY < 0 !== prevDeltaY < 0 && onToggleY(self);\n prevDeltaY = self.deltaY;\n deltaY[0] = deltaY[1] = deltaY[2] = 0;\n }\n\n if (moved || dragged) {\n onMove && onMove(self);\n\n if (dragged) {\n onDragStart && dragged === 1 && onDragStart(self);\n onDrag && onDrag(self);\n dragged = 0;\n }\n\n moved = false;\n }\n\n locked && !(locked = false) && onLockAxis && onLockAxis(self);\n\n if (wheeled) {\n onWheel(self);\n wheeled = false;\n }\n\n id = 0;\n },\n onDelta = function onDelta(x, y, index) {\n deltaX[index] += x;\n deltaY[index] += y;\n\n self._vx.update(x);\n\n self._vy.update(y);\n\n debounce ? id || (id = requestAnimationFrame(update)) : update();\n },\n onTouchOrPointerDelta = function onTouchOrPointerDelta(x, y) {\n if (lockAxis && !axis) {\n self.axis = axis = Math.abs(x) > Math.abs(y) ? \"x\" : \"y\";\n locked = true;\n }\n\n if (axis !== \"y\") {\n deltaX[2] += x;\n\n self._vx.update(x, true); // update the velocity as frequently as possible instead of in the debounced function so that very quick touch-scrolls (flicks) feel natural. If it's the mouse/touch/pointer, force it so that we get snappy/accurate momentum scroll.\n\n }\n\n if (axis !== \"x\") {\n deltaY[2] += y;\n\n self._vy.update(y, true);\n }\n\n debounce ? id || (id = requestAnimationFrame(update)) : update();\n },\n _onDrag = function _onDrag(e) {\n if (_ignoreCheck(e, 1)) {\n return;\n }\n\n e = _getEvent(e, preventDefault);\n var x = e.clientX,\n y = e.clientY,\n dx = x - self.x,\n dy = y - self.y,\n isDragging = self.isDragging;\n self.x = x;\n self.y = y;\n\n if (isDragging || (dx || dy) && (Math.abs(self.startX - x) >= dragMinimum || Math.abs(self.startY - y) >= dragMinimum)) {\n dragged || (dragged = isDragging ? 2 : 1); // dragged: 0 = not dragging, 1 = first drag, 2 = normal drag\n\n isDragging || (self.isDragging = true);\n onTouchOrPointerDelta(dx, dy);\n }\n },\n _onPress = self.onPress = function (e) {\n if (_ignoreCheck(e, 1) || e && e.button) {\n return;\n }\n\n self.axis = axis = null;\n onStopDelayedCall.pause();\n self.isPressed = true;\n e = _getEvent(e); // note: may need to preventDefault(?) Won't side-scroll on iOS Safari if we do, though.\n\n prevDeltaX = prevDeltaY = 0;\n self.startX = self.x = e.clientX;\n self.startY = self.y = e.clientY;\n\n self._vx.reset(); // otherwise the t2 may be stale if the user touches and flicks super fast and releases in less than 2 requestAnimationFrame ticks, causing velocity to be 0.\n\n\n self._vy.reset();\n\n _addListener(isNormalizer ? target : ownerDoc, _eventTypes[1], _onDrag, passive, true);\n\n self.deltaX = self.deltaY = 0;\n onPress && onPress(self);\n },\n _onRelease = self.onRelease = function (e) {\n if (_ignoreCheck(e, 1)) {\n return;\n }\n\n _removeListener(isNormalizer ? target : ownerDoc, _eventTypes[1], _onDrag, true);\n\n var isTrackingDrag = !isNaN(self.y - self.startY),\n wasDragging = self.isDragging,\n isDragNotClick = wasDragging && (Math.abs(self.x - self.startX) > 3 || Math.abs(self.y - self.startY) > 3),\n // some touch devices need some wiggle room in terms of sensing clicks - the finger may move a few pixels.\n eventData = _getEvent(e);\n\n if (!isDragNotClick && isTrackingDrag) {\n self._vx.reset();\n\n self._vy.reset(); //if (preventDefault && allowClicks && self.isPressed) { // check isPressed because in a rare edge case, the inputObserver in ScrollTrigger may stopPropagation() on the press/drag, so the onRelease may get fired without the onPress/onDrag ever getting called, thus it could trigger a click to occur on a link after scroll-dragging it.\n\n\n if (preventDefault && allowClicks) {\n gsap.delayedCall(0.08, function () {\n // some browsers (like Firefox) won't trust script-generated clicks, so if the user tries to click on a video to play it, for example, it simply won't work. Since a regular \"click\" event will most likely be generated anyway (one that has its isTrusted flag set to true), we must slightly delay our script-generated click so that the \"real\"/trusted one is prioritized. Remember, when there are duplicate events in quick succession, we suppress all but the first one. Some browsers don't even trigger the \"real\" one at all, so our synthetic one is a safety valve that ensures that no matter what, a click event does get dispatched.\n if (_getTime() - onClickTime > 300 && !e.defaultPrevented) {\n if (e.target.click) {\n //some browsers (like mobile Safari) don't properly trigger the click event\n e.target.click();\n } else if (ownerDoc.createEvent) {\n var syntheticEvent = ownerDoc.createEvent(\"MouseEvents\");\n syntheticEvent.initMouseEvent(\"click\", true, true, _win, 1, eventData.screenX, eventData.screenY, eventData.clientX, eventData.clientY, false, false, false, false, 0, null);\n e.target.dispatchEvent(syntheticEvent);\n }\n }\n });\n }\n }\n\n self.isDragging = self.isGesturing = self.isPressed = false;\n onStop && wasDragging && !isNormalizer && onStopDelayedCall.restart(true);\n dragged && update(); // in case debouncing, we don't want onDrag to fire AFTER onDragEnd().\n\n onDragEnd && wasDragging && onDragEnd(self);\n onRelease && onRelease(self, isDragNotClick);\n },\n _onGestureStart = function _onGestureStart(e) {\n return e.touches && e.touches.length > 1 && (self.isGesturing = true) && onGestureStart(e, self.isDragging);\n },\n _onGestureEnd = function _onGestureEnd() {\n return (self.isGesturing = false) || onGestureEnd(self);\n },\n onScroll = function onScroll(e) {\n if (_ignoreCheck(e)) {\n return;\n }\n\n var x = scrollFuncX(),\n y = scrollFuncY();\n onDelta((x - scrollX) * scrollSpeed, (y - scrollY) * scrollSpeed, 1);\n scrollX = x;\n scrollY = y;\n onStop && onStopDelayedCall.restart(true);\n },\n _onWheel = function _onWheel(e) {\n if (_ignoreCheck(e)) {\n return;\n }\n\n e = _getEvent(e, preventDefault);\n onWheel && (wheeled = true);\n var multiplier = (e.deltaMode === 1 ? lineHeight : e.deltaMode === 2 ? _win.innerHeight : 1) * wheelSpeed;\n onDelta(e.deltaX * multiplier, e.deltaY * multiplier, 0);\n onStop && !isNormalizer && onStopDelayedCall.restart(true);\n },\n _onMove = function _onMove(e) {\n if (_ignoreCheck(e)) {\n return;\n }\n\n var x = e.clientX,\n y = e.clientY,\n dx = x - self.x,\n dy = y - self.y;\n self.x = x;\n self.y = y;\n moved = true;\n onStop && onStopDelayedCall.restart(true);\n (dx || dy) && onTouchOrPointerDelta(dx, dy);\n },\n _onHover = function _onHover(e) {\n self.event = e;\n onHover(self);\n },\n _onHoverEnd = function _onHoverEnd(e) {\n self.event = e;\n onHoverEnd(self);\n },\n _onClick = function _onClick(e) {\n return _ignoreCheck(e) || _getEvent(e, preventDefault) && onClick(self);\n };\n\n onStopDelayedCall = self._dc = gsap.delayedCall(onStopDelay || 0.25, onStopFunc).pause();\n self.deltaX = self.deltaY = 0;\n self._vx = _getVelocityProp(0, 50, true);\n self._vy = _getVelocityProp(0, 50, true);\n self.scrollX = scrollFuncX;\n self.scrollY = scrollFuncY;\n self.isDragging = self.isGesturing = self.isPressed = false;\n\n _context(this);\n\n self.enable = function (e) {\n if (!self.isEnabled) {\n _addListener(isViewport ? ownerDoc : target, \"scroll\", _onScroll);\n\n type.indexOf(\"scroll\") >= 0 && _addListener(isViewport ? ownerDoc : target, \"scroll\", onScroll, passive, capture);\n type.indexOf(\"wheel\") >= 0 && _addListener(target, \"wheel\", _onWheel, passive, capture);\n\n if (type.indexOf(\"touch\") >= 0 && _isTouch || type.indexOf(\"pointer\") >= 0) {\n _addListener(target, _eventTypes[0], _onPress, passive, capture);\n\n _addListener(ownerDoc, _eventTypes[2], _onRelease);\n\n _addListener(ownerDoc, _eventTypes[3], _onRelease);\n\n allowClicks && _addListener(target, \"click\", clickCapture, true, true);\n onClick && _addListener(target, \"click\", _onClick);\n onGestureStart && _addListener(ownerDoc, \"gesturestart\", _onGestureStart);\n onGestureEnd && _addListener(ownerDoc, \"gestureend\", _onGestureEnd);\n onHover && _addListener(target, _pointerType + \"enter\", _onHover);\n onHoverEnd && _addListener(target, _pointerType + \"leave\", _onHoverEnd);\n onMove && _addListener(target, _pointerType + \"move\", _onMove);\n }\n\n self.isEnabled = true;\n self.isDragging = self.isGesturing = self.isPressed = moved = dragged = false;\n\n self._vx.reset();\n\n self._vy.reset();\n\n scrollX = scrollFuncX();\n scrollY = scrollFuncY();\n e && e.type && _onPress(e);\n onEnable && onEnable(self);\n }\n\n return self;\n };\n\n self.disable = function () {\n if (self.isEnabled) {\n // only remove the _onScroll listener if there aren't any others that rely on the functionality.\n _observers.filter(function (o) {\n return o !== self && _isViewport(o.target);\n }).length || _removeListener(isViewport ? ownerDoc : target, \"scroll\", _onScroll);\n\n if (self.isPressed) {\n self._vx.reset();\n\n self._vy.reset();\n\n _removeListener(isNormalizer ? target : ownerDoc, _eventTypes[1], _onDrag, true);\n }\n\n _removeListener(isViewport ? ownerDoc : target, \"scroll\", onScroll, capture);\n\n _removeListener(target, \"wheel\", _onWheel, capture);\n\n _removeListener(target, _eventTypes[0], _onPress, capture);\n\n _removeListener(ownerDoc, _eventTypes[2], _onRelease);\n\n _removeListener(ownerDoc, _eventTypes[3], _onRelease);\n\n _removeListener(target, \"click\", clickCapture, true);\n\n _removeListener(target, \"click\", _onClick);\n\n _removeListener(ownerDoc, \"gesturestart\", _onGestureStart);\n\n _removeListener(ownerDoc, \"gestureend\", _onGestureEnd);\n\n _removeListener(target, _pointerType + \"enter\", _onHover);\n\n _removeListener(target, _pointerType + \"leave\", _onHoverEnd);\n\n _removeListener(target, _pointerType + \"move\", _onMove);\n\n self.isEnabled = self.isPressed = self.isDragging = false;\n onDisable && onDisable(self);\n }\n };\n\n self.kill = self.revert = function () {\n self.disable();\n\n var i = _observers.indexOf(self);\n\n i >= 0 && _observers.splice(i, 1);\n _normalizer === self && (_normalizer = 0);\n };\n\n _observers.push(self);\n\n isNormalizer && _isViewport(target) && (_normalizer = self);\n self.enable(event);\n };\n\n _createClass(Observer, [{\n key: \"velocityX\",\n get: function get() {\n return this._vx.getVelocity();\n }\n }, {\n key: \"velocityY\",\n get: function get() {\n return this._vy.getVelocity();\n }\n }]);\n\n return Observer;\n}();\nObserver.version = \"3.15.0\";\n\nObserver.create = function (vars) {\n return new Observer(vars);\n};\n\nObserver.register = _initCore;\n\nObserver.getAll = function () {\n return _observers.slice();\n};\n\nObserver.getById = function (id) {\n return _observers.filter(function (o) {\n return o.vars.id === id;\n })[0];\n};\n\n_getGSAP() && gsap.registerPlugin(Observer);\nexport { Observer as default, _isViewport, _scrollers, _getScrollFunc, _getProxyProp, _proxies, _getVelocityProp, _vertical, _horizontal, _getTarget };","/*!\n * ScrollTrigger 3.15.0\n * https://gsap.com\n *\n * @license Copyright 2008-2026, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license\n * @author: Jack Doyle, jack@greensock.com\n*/\n\n/* eslint-disable */\nimport { Observer, _getTarget, _vertical, _horizontal, _scrollers, _proxies, _getScrollFunc, _getProxyProp, _getVelocityProp } from \"./Observer.js\";\n\nvar gsap,\n _coreInitted,\n _win,\n _doc,\n _docEl,\n _body,\n _root,\n _resizeDelay,\n _toArray,\n _clamp,\n _time2,\n _syncInterval,\n _refreshing,\n _pointerIsDown,\n _transformProp,\n _i,\n _prevWidth,\n _prevHeight,\n _autoRefresh,\n _sort,\n _suppressOverwrites,\n _ignoreResize,\n _normalizer,\n _ignoreMobileResize,\n _baseScreenHeight,\n _baseScreenWidth,\n _fixIOSBug,\n _context,\n _scrollRestoration,\n _div100vh,\n _100vh,\n _isReverted,\n _clampingMax,\n _limitCallbacks,\n // if true, we'll only trigger callbacks if the active state toggles, so if you scroll immediately past both the start and end positions of a ScrollTrigger (thus inactive to inactive), neither its onEnter nor onLeave will be called. This is useful during startup.\n_startup = 1,\n _getTime = Date.now,\n _time1 = _getTime(),\n _lastScrollTime = 0,\n _enabled = 0,\n _parseClamp = function _parseClamp(value, type, self) {\n var clamp = _isString(value) && (value.substr(0, 6) === \"clamp(\" || value.indexOf(\"max\") > -1);\n self[\"_\" + type + \"Clamp\"] = clamp;\n return clamp ? value.substr(6, value.length - 7) : value;\n},\n _keepClamp = function _keepClamp(value, clamp) {\n return clamp && (!_isString(value) || value.substr(0, 6) !== \"clamp(\") ? \"clamp(\" + value + \")\" : value;\n},\n _rafBugFix = function _rafBugFix() {\n return _enabled && requestAnimationFrame(_rafBugFix);\n},\n // in some browsers (like Firefox), screen repaints weren't consistent unless we had SOMETHING queued up in requestAnimationFrame()! So this just creates a super simple loop to keep it alive and smooth out repaints.\n_pointerDownHandler = function _pointerDownHandler() {\n return _pointerIsDown = 1;\n},\n _pointerUpHandler = function _pointerUpHandler() {\n return _pointerIsDown = 0;\n},\n _passThrough = function _passThrough(v) {\n return v;\n},\n _round = function _round(value) {\n return Math.round(value * 100000) / 100000 || 0;\n},\n _windowExists = function _windowExists() {\n return typeof window !== \"undefined\";\n},\n _getGSAP = function _getGSAP() {\n return gsap || _windowExists() && (gsap = window.gsap) && gsap.registerPlugin && gsap;\n},\n _isViewport = function _isViewport(e) {\n return !!~_root.indexOf(e);\n},\n _getViewportDimension = function _getViewportDimension(dimensionProperty) {\n return (dimensionProperty === \"Height\" ? _100vh : _win[\"inner\" + dimensionProperty]) || _docEl[\"client\" + dimensionProperty] || _body[\"client\" + dimensionProperty];\n},\n _getBoundsFunc = function _getBoundsFunc(element) {\n return _getProxyProp(element, \"getBoundingClientRect\") || (_isViewport(element) ? function () {\n _winOffsets.width = _win.innerWidth;\n _winOffsets.height = _100vh;\n return _winOffsets;\n } : function () {\n return _getBounds(element);\n });\n},\n _getSizeFunc = function _getSizeFunc(scroller, isViewport, _ref) {\n var d = _ref.d,\n d2 = _ref.d2,\n a = _ref.a;\n return (a = _getProxyProp(scroller, \"getBoundingClientRect\")) ? function () {\n return a()[d];\n } : function () {\n return (isViewport ? _getViewportDimension(d2) : scroller[\"client\" + d2]) || 0;\n };\n},\n _getOffsetsFunc = function _getOffsetsFunc(element, isViewport) {\n return !isViewport || ~_proxies.indexOf(element) ? _getBoundsFunc(element) : function () {\n return _winOffsets;\n };\n},\n _maxScroll = function _maxScroll(element, _ref2) {\n var s = _ref2.s,\n d2 = _ref2.d2,\n d = _ref2.d,\n a = _ref2.a;\n return Math.max(0, (s = \"scroll\" + d2) && (a = _getProxyProp(element, s)) ? a() - _getBoundsFunc(element)()[d] : _isViewport(element) ? (_docEl[s] || _body[s]) - _getViewportDimension(d2) : element[s] - element[\"offset\" + d2]);\n},\n _iterateAutoRefresh = function _iterateAutoRefresh(func, events) {\n for (var i = 0; i < _autoRefresh.length; i += 3) {\n (!events || ~events.indexOf(_autoRefresh[i + 1])) && func(_autoRefresh[i], _autoRefresh[i + 1], _autoRefresh[i + 2]);\n }\n},\n _isString = function _isString(value) {\n return typeof value === \"string\";\n},\n _isFunction = function _isFunction(value) {\n return typeof value === \"function\";\n},\n _isNumber = function _isNumber(value) {\n return typeof value === \"number\";\n},\n _isObject = function _isObject(value) {\n return typeof value === \"object\";\n},\n _endAnimation = function _endAnimation(animation, reversed, pause) {\n return animation && animation.progress(reversed ? 0 : 1) && pause && animation.pause();\n},\n _callback = function _callback(self, func, extraParam) {\n if (self.enabled) {\n var result = self._ctx ? self._ctx.add(function () {\n return func(self, extraParam);\n }) : func(self, extraParam);\n result && result.totalTime && (self.callbackAnimation = result);\n }\n},\n _abs = Math.abs,\n _left = \"left\",\n _top = \"top\",\n _right = \"right\",\n _bottom = \"bottom\",\n _width = \"width\",\n _height = \"height\",\n _Right = \"Right\",\n _Left = \"Left\",\n _Top = \"Top\",\n _Bottom = \"Bottom\",\n _padding = \"padding\",\n _margin = \"margin\",\n _Width = \"Width\",\n _Height = \"Height\",\n _px = \"px\",\n _getComputedStyle = function _getComputedStyle(element) {\n return _win.getComputedStyle(element.nodeType === Node.DOCUMENT_NODE ? element.scrollingElement : element);\n},\n _makePositionable = function _makePositionable(element) {\n // if the element already has position: absolute or fixed, leave that, otherwise make it position: relative\n var position = _getComputedStyle(element).position;\n\n element.style.position = position === \"absolute\" || position === \"fixed\" ? position : \"relative\";\n},\n _setDefaults = function _setDefaults(obj, defaults) {\n for (var p in defaults) {\n p in obj || (obj[p] = defaults[p]);\n }\n\n return obj;\n},\n _getBounds = function _getBounds(element, withoutTransforms) {\n var tween = withoutTransforms && _getComputedStyle(element)[_transformProp] !== \"matrix(1, 0, 0, 1, 0, 0)\" && gsap.to(element, {\n x: 0,\n y: 0,\n xPercent: 0,\n yPercent: 0,\n rotation: 0,\n rotationX: 0,\n rotationY: 0,\n scale: 1,\n skewX: 0,\n skewY: 0\n }).progress(1),\n bounds = element.getBoundingClientRect ? element.getBoundingClientRect() : element.scrollingElement.getBoundingClientRect();\n tween && tween.progress(0).kill();\n return bounds;\n},\n _getSize = function _getSize(element, _ref3) {\n var d2 = _ref3.d2;\n return element[\"offset\" + d2] || element[\"client\" + d2] || 0;\n},\n _getLabelRatioArray = function _getLabelRatioArray(timeline) {\n var a = [],\n labels = timeline.labels,\n duration = timeline.duration(),\n p;\n\n for (p in labels) {\n a.push(labels[p] / duration);\n }\n\n return a;\n},\n _getClosestLabel = function _getClosestLabel(animation) {\n return function (value) {\n return gsap.utils.snap(_getLabelRatioArray(animation), value);\n };\n},\n _snapDirectional = function _snapDirectional(snapIncrementOrArray) {\n var snap = gsap.utils.snap(snapIncrementOrArray),\n a = Array.isArray(snapIncrementOrArray) && snapIncrementOrArray.slice(0).sort(function (a, b) {\n return a - b;\n });\n return a ? function (value, direction, threshold) {\n if (threshold === void 0) {\n threshold = 1e-3;\n }\n\n var i;\n\n if (!direction) {\n return snap(value);\n }\n\n if (direction > 0) {\n value -= threshold; // to avoid rounding errors. If we're too strict, it might snap forward, then immediately again, and again.\n\n for (i = 0; i < a.length; i++) {\n if (a[i] >= value) {\n return a[i];\n }\n }\n\n return a[i - 1];\n } else {\n i = a.length;\n value += threshold;\n\n while (i--) {\n if (a[i] <= value) {\n return a[i];\n }\n }\n }\n\n return a[0];\n } : function (value, direction, threshold) {\n if (threshold === void 0) {\n threshold = 1e-3;\n }\n\n var snapped = snap(value);\n return !direction || Math.abs(snapped - value) < threshold || snapped - value < 0 === direction < 0 ? snapped : snap(direction < 0 ? value - snapIncrementOrArray : value + snapIncrementOrArray);\n };\n},\n _getLabelAtDirection = function _getLabelAtDirection(timeline) {\n return function (value, st) {\n return _snapDirectional(_getLabelRatioArray(timeline))(value, st.direction);\n };\n},\n _multiListener = function _multiListener(func, element, types, callback) {\n return types.split(\",\").forEach(function (type) {\n return func(element, type, callback);\n });\n},\n _addListener = function _addListener(element, type, func, nonPassive, capture) {\n return element.addEventListener(type, func, {\n passive: !nonPassive,\n capture: !!capture\n });\n},\n _removeListener = function _removeListener(element, type, func, capture) {\n return element.removeEventListener(type, func, !!capture);\n},\n _wheelListener = function _wheelListener(func, el, scrollFunc) {\n scrollFunc = scrollFunc && scrollFunc.wheelHandler;\n\n if (scrollFunc) {\n func(el, \"wheel\", scrollFunc);\n func(el, \"touchmove\", scrollFunc);\n }\n},\n _markerDefaults = {\n startColor: \"green\",\n endColor: \"red\",\n indent: 0,\n fontSize: \"16px\",\n fontWeight: \"normal\"\n},\n _defaults = {\n toggleActions: \"play\",\n anticipatePin: 0\n},\n _keywords = {\n top: 0,\n left: 0,\n center: 0.5,\n bottom: 1,\n right: 1\n},\n _offsetToPx = function _offsetToPx(value, size) {\n if (_isString(value)) {\n var eqIndex = value.indexOf(\"=\"),\n relative = ~eqIndex ? +(value.charAt(eqIndex - 1) + 1) * parseFloat(value.substr(eqIndex + 1)) : 0;\n\n if (~eqIndex) {\n value.indexOf(\"%\") > eqIndex && (relative *= size / 100);\n value = value.substr(0, eqIndex - 1);\n }\n\n value = relative + (value in _keywords ? _keywords[value] * size : ~value.indexOf(\"%\") ? parseFloat(value) * size / 100 : parseFloat(value) || 0);\n }\n\n return value;\n},\n _createMarker = function _createMarker(type, name, container, direction, _ref4, offset, matchWidthEl, containerAnimation) {\n var startColor = _ref4.startColor,\n endColor = _ref4.endColor,\n fontSize = _ref4.fontSize,\n indent = _ref4.indent,\n fontWeight = _ref4.fontWeight;\n\n var e = _doc.createElement(\"div\"),\n useFixedPosition = _isViewport(container) || _getProxyProp(container, \"pinType\") === \"fixed\",\n isScroller = type.indexOf(\"scroller\") !== -1,\n parent = useFixedPosition ? _body : container.tagName === \"IFRAME\" ? container.contentDocument.body : container,\n isStart = type.indexOf(\"start\") !== -1,\n color = isStart ? startColor : endColor,\n css = \"border-color:\" + color + \";font-size:\" + fontSize + \";color:\" + color + \";font-weight:\" + fontWeight + \";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;\";\n\n css += \"position:\" + ((isScroller || containerAnimation) && useFixedPosition ? \"fixed;\" : \"absolute;\");\n (isScroller || containerAnimation || !useFixedPosition) && (css += (direction === _vertical ? _right : _bottom) + \":\" + (offset + parseFloat(indent)) + \"px;\");\n matchWidthEl && (css += \"box-sizing:border-box;text-align:left;width:\" + matchWidthEl.offsetWidth + \"px;\");\n e._isStart = isStart;\n e.setAttribute(\"class\", \"gsap-marker-\" + type + (name ? \" marker-\" + name : \"\"));\n e.style.cssText = css;\n e.innerText = name || name === 0 ? type + \"-\" + name : type;\n parent.children[0] ? parent.insertBefore(e, parent.children[0]) : parent.appendChild(e);\n e._offset = e[\"offset\" + direction.op.d2];\n\n _positionMarker(e, 0, direction, isStart);\n\n return e;\n},\n _positionMarker = function _positionMarker(marker, start, direction, flipped) {\n var vars = {\n display: \"block\"\n },\n side = direction[flipped ? \"os2\" : \"p2\"],\n oppositeSide = direction[flipped ? \"p2\" : \"os2\"];\n marker._isFlipped = flipped;\n vars[direction.a + \"Percent\"] = flipped ? -100 : 0;\n vars[direction.a] = flipped ? \"1px\" : 0;\n vars[\"border\" + side + _Width] = 1;\n vars[\"border\" + oppositeSide + _Width] = 0;\n vars[direction.p] = start + \"px\";\n gsap.set(marker, vars);\n},\n _triggers = [],\n _ids = {},\n _rafID,\n _sync = function _sync() {\n return _getTime() - _lastScrollTime > 34 && (_rafID || (_rafID = requestAnimationFrame(_updateAll)));\n},\n _onScroll = function _onScroll() {\n // previously, we tried to optimize performance by batching/deferring to the next requestAnimationFrame(), but discovered that Safari has a few bugs that make this unworkable (especially on iOS). See https://codepen.io/GreenSock/pen/16c435b12ef09c38125204818e7b45fc?editors=0010 and https://codepen.io/GreenSock/pen/JjOxYpQ/3dd65ccec5a60f1d862c355d84d14562?editors=0010 and https://codepen.io/GreenSock/pen/ExbrPNa/087cef197dc35445a0951e8935c41503?editors=0010\n if (!_normalizer || !_normalizer.isPressed || _normalizer.startX > _body.clientWidth) {\n // if the user is dragging the scrollbar, allow it.\n _scrollers.cache++;\n\n if (_normalizer) {\n _rafID || (_rafID = requestAnimationFrame(_updateAll));\n } else {\n _updateAll(); // Safari in particular (on desktop) NEEDS the immediate update rather than waiting for a requestAnimationFrame() whereas iOS seems to benefit from waiting for the requestAnimationFrame() tick, at least when normalizing. See https://codepen.io/GreenSock/pen/qBYozqO?editors=0110\n\n }\n\n _lastScrollTime || _dispatch(\"scrollStart\");\n _lastScrollTime = _getTime();\n }\n},\n _setBaseDimensions = function _setBaseDimensions() {\n _baseScreenWidth = _win.innerWidth;\n _baseScreenHeight = _win.innerHeight;\n},\n _onResize = function _onResize(force) {\n _scrollers.cache++;\n (force === true || !_refreshing && !_ignoreResize && !_doc.fullscreenElement && !_doc.webkitFullscreenElement && (!_ignoreMobileResize || _baseScreenWidth !== _win.innerWidth || Math.abs(_win.innerHeight - _baseScreenHeight) > _win.innerHeight * 0.25)) && _resizeDelay.restart(true);\n},\n // ignore resizes triggered by refresh()\n_listeners = {},\n _emptyArray = [],\n _softRefresh = function _softRefresh() {\n return _removeListener(ScrollTrigger, \"scrollEnd\", _softRefresh) || _refreshAll(true);\n},\n _dispatch = function _dispatch(type) {\n return _listeners[type] && _listeners[type].map(function (f) {\n return f();\n }) || _emptyArray;\n},\n _savedStyles = [],\n // when ScrollTrigger.saveStyles() is called, the inline styles are recorded in this Array in a sequential format like [element, cssText, gsCache, media]. This keeps it very memory-efficient and fast to iterate through.\n_revertRecorded = function _revertRecorded(media) {\n for (var i = 0; i < _savedStyles.length; i += 5) {\n if (!media || _savedStyles[i + 4] && _savedStyles[i + 4].query === media) {\n _savedStyles[i].style.cssText = _savedStyles[i + 1];\n _savedStyles[i].getBBox && _savedStyles[i].setAttribute(\"transform\", _savedStyles[i + 2] || \"\");\n _savedStyles[i + 3].uncache = 1;\n }\n }\n},\n _recordScrollPositions = function _recordScrollPositions() {\n return _scrollers.forEach(function (obj) {\n return _isFunction(obj) && ++obj.cacheID && (obj.rec = obj());\n });\n},\n // record the current scroll position. Also force the clearing of the cache because some browsers take a little while to dispatch the \"scroll\" event and the user may have changed the scroll position and then called ScrollTrigger.refresh() right away\n_revertAll = function _revertAll(kill, media) {\n var trigger;\n\n for (_i = 0; _i < _triggers.length; _i++) {\n trigger = _triggers[_i];\n\n if (trigger && (!media || trigger._ctx === media)) {\n if (kill) {\n trigger.kill(1);\n } else {\n trigger.revert(true, true);\n }\n }\n }\n\n _isReverted = true;\n media && _revertRecorded(media);\n media || _dispatch(\"revert\");\n},\n _clearScrollMemory = function _clearScrollMemory(scrollRestoration, force) {\n // zero-out all the recorded scroll positions. Don't use _triggers because if, for example, .matchMedia() is used to create some ScrollTriggers and then the user resizes and it removes ALL ScrollTriggers, and then go back to a size where there are ScrollTriggers, it would have kept the position(s) saved from the initial state.\n _scrollers.cache++;\n (force || !_refreshingAll) && _scrollers.forEach(function (obj) {\n return _isFunction(obj) && obj.cacheID++ && (obj.rec = 0);\n });\n _isString(scrollRestoration) && (_win.history.scrollRestoration = _scrollRestoration = scrollRestoration);\n},\n _refreshingAll,\n _refreshID = 0,\n _queueRefreshID,\n _queueRefreshAll = function _queueRefreshAll() {\n // we don't want to call _refreshAll() every time we create a new ScrollTrigger (for performance reasons) - it's better to batch them. Some frameworks dynamically load content and we can't rely on the window's \"load\" or \"DOMContentLoaded\" events to trigger it.\n if (_queueRefreshID !== _refreshID) {\n var id = _queueRefreshID = _refreshID;\n requestAnimationFrame(function () {\n return id === _refreshID && _refreshAll(true);\n });\n }\n},\n _refresh100vh = function _refresh100vh() {\n _body.appendChild(_div100vh);\n\n _100vh = !_normalizer && _div100vh.offsetHeight || _win.innerHeight;\n\n _body.removeChild(_div100vh);\n},\n _hideAllMarkers = function _hideAllMarkers(hide) {\n return _toArray(\".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end\").forEach(function (el) {\n return el.style.display = hide ? \"none\" : \"block\";\n });\n},\n _refreshAll = function _refreshAll(force, skipRevert) {\n _docEl = _doc.documentElement; // some frameworks like Astro may cache the and replace it during routing, so we'll just re-record the _docEl and _body for safety (otherwise, the markers may not get added properly).\n\n _body = _doc.body;\n _root = [_win, _doc, _docEl, _body];\n\n if (_lastScrollTime && !force && !_isReverted) {\n _addListener(ScrollTrigger, \"scrollEnd\", _softRefresh);\n\n return;\n }\n\n _refresh100vh();\n\n _refreshingAll = ScrollTrigger.isRefreshing = true;\n _isReverted || _recordScrollPositions();\n\n var refreshInits = _dispatch(\"refreshInit\");\n\n _sort && ScrollTrigger.sort();\n skipRevert || _revertAll();\n\n _scrollers.forEach(function (obj) {\n if (_isFunction(obj)) {\n obj.smooth && (obj.target.style.scrollBehavior = \"auto\"); // smooth scrolling interferes\n\n obj(0);\n }\n });\n\n _triggers.slice(0).forEach(function (t) {\n return t.refresh();\n }); // don't loop with _i because during a refresh() someone could call ScrollTrigger.update() which would iterate through _i resulting in a skip.\n\n\n _isReverted = false;\n\n _triggers.forEach(function (t) {\n // nested pins (pinnedContainer) with pinSpacing may expand the container, so we must accommodate that here.\n if (t._subPinOffset && t.pin) {\n var prop = t.vars.horizontal ? \"offsetWidth\" : \"offsetHeight\",\n original = t.pin[prop];\n t.revert(true, 1);\n t.adjustPinSpacing(t.pin[prop] - original);\n t.refresh();\n }\n });\n\n _clampingMax = 1; // pinSpacing might be propping a page open, thus when we .setPositions() to clamp a ScrollTrigger's end we should leave the pinSpacing alone. That's what this flag is for.\n\n _hideAllMarkers(true);\n\n _triggers.forEach(function (t) {\n // the scroller's max scroll position may change after all the ScrollTriggers refreshed (like pinning could push it down), so we need to loop back and correct any with end: \"max\". Same for anything with a clamped end\n var max = _maxScroll(t.scroller, t._dir),\n endClamp = t.vars.end === \"max\" || t._endClamp && t.end > max,\n startClamp = t._startClamp && t.start >= max;\n\n (endClamp || startClamp) && t.setPositions(startClamp ? max - 1 : t.start, endClamp ? Math.max(startClamp ? max : t.start + 1, max) : t.end, true);\n });\n\n _hideAllMarkers(false);\n\n _clampingMax = 0;\n refreshInits.forEach(function (result) {\n return result && result.render && result.render(-1);\n }); // if the onRefreshInit() returns an animation (typically a gsap.set()), revert it. This makes it easy to put things in a certain spot before refreshing for measurement purposes, and then put things back.\n\n _scrollers.forEach(function (obj) {\n if (_isFunction(obj)) {\n obj.smooth && requestAnimationFrame(function () {\n return obj.target.style.scrollBehavior = \"smooth\";\n });\n obj.rec && obj(obj.rec);\n }\n });\n\n _clearScrollMemory(_scrollRestoration, 1);\n\n _resizeDelay.pause();\n\n _refreshID++;\n _refreshingAll = 2;\n\n _updateAll(2);\n\n _triggers.forEach(function (t) {\n return _isFunction(t.vars.onRefresh) && t.vars.onRefresh(t);\n });\n\n _refreshingAll = ScrollTrigger.isRefreshing = false;\n\n _dispatch(\"refresh\");\n},\n _lastScroll = 0,\n _direction = 1,\n _primary,\n _updateAll = function _updateAll(force) {\n if (force === 2 || !_refreshingAll && !_isReverted) {\n // _isReverted could be true if, for example, a matchMedia() is in the process of executing. We don't want to update during the time everything is reverted.\n ScrollTrigger.isUpdating = true;\n _primary && _primary.update(0); // ScrollSmoother uses refreshPriority -9999 to become the primary that gets updated before all others because it affects the scroll position.\n\n var l = _triggers.length,\n time = _getTime(),\n recordVelocity = time - _time1 >= 50,\n scroll = l && _triggers[0].scroll();\n\n _direction = _lastScroll > scroll ? -1 : 1;\n _refreshingAll || (_lastScroll = scroll);\n\n if (recordVelocity) {\n if (_lastScrollTime && !_pointerIsDown && time - _lastScrollTime > 200) {\n _lastScrollTime = 0;\n\n _dispatch(\"scrollEnd\");\n }\n\n _time2 = _time1;\n _time1 = time;\n }\n\n if (_direction < 0) {\n _i = l;\n\n while (_i-- > 0) {\n _triggers[_i] && _triggers[_i].update(0, recordVelocity);\n }\n\n _direction = 1;\n } else {\n for (_i = 0; _i < l; _i++) {\n _triggers[_i] && _triggers[_i].update(0, recordVelocity);\n }\n }\n\n ScrollTrigger.isUpdating = false;\n }\n\n _rafID = 0;\n},\n _propNamesToCopy = [_left, _top, _bottom, _right, _margin + _Bottom, _margin + _Right, _margin + _Top, _margin + _Left, \"display\", \"flexShrink\", \"float\", \"zIndex\", \"gridColumnStart\", \"gridColumnEnd\", \"gridRowStart\", \"gridRowEnd\", \"gridArea\", \"justifySelf\", \"alignSelf\", \"placeSelf\", \"order\"],\n _stateProps = _propNamesToCopy.concat([_width, _height, \"boxSizing\", \"max\" + _Width, \"max\" + _Height, \"position\", _margin, _padding, _padding + _Top, _padding + _Right, _padding + _Bottom, _padding + _Left]),\n _swapPinOut = function _swapPinOut(pin, spacer, state) {\n _setState(state);\n\n var cache = pin._gsap;\n\n if (cache.spacerIsNative) {\n _setState(cache.spacerState);\n } else if (pin._gsap.swappedIn) {\n var parent = spacer.parentNode;\n\n if (parent) {\n parent.insertBefore(pin, spacer);\n parent.removeChild(spacer);\n }\n }\n\n pin._gsap.swappedIn = false;\n},\n _swapPinIn = function _swapPinIn(pin, spacer, cs, spacerState) {\n if (!pin._gsap.swappedIn) {\n var i = _propNamesToCopy.length,\n spacerStyle = spacer.style,\n pinStyle = pin.style,\n p;\n\n while (i--) {\n p = _propNamesToCopy[i];\n spacerStyle[p] = cs[p];\n }\n\n spacerStyle.position = cs.position === \"absolute\" ? \"absolute\" : \"relative\";\n cs.display === \"inline\" && (spacerStyle.display = \"inline-block\");\n pinStyle[_bottom] = pinStyle[_right] = \"auto\";\n spacerStyle.flexBasis = cs.flexBasis || \"auto\";\n spacerStyle.overflow = \"visible\";\n spacerStyle.boxSizing = \"border-box\";\n spacerStyle[_width] = _getSize(pin, _horizontal) + _px;\n spacerStyle[_height] = _getSize(pin, _vertical) + _px;\n spacerStyle[_padding] = pinStyle[_margin] = pinStyle[_top] = pinStyle[_left] = \"0\";\n\n _setState(spacerState);\n\n pinStyle[_width] = pinStyle[\"max\" + _Width] = cs[_width];\n pinStyle[_height] = pinStyle[\"max\" + _Height] = cs[_height];\n pinStyle[_padding] = cs[_padding];\n\n if (pin.parentNode !== spacer) {\n pin.parentNode.insertBefore(spacer, pin);\n spacer.appendChild(pin);\n }\n\n pin._gsap.swappedIn = true;\n }\n},\n _capsExp = /([A-Z])/g,\n _setState = function _setState(state) {\n if (state) {\n var style = state.t.style,\n l = state.length,\n i = 0,\n p,\n value;\n (state.t._gsap || gsap.core.getCache(state.t)).uncache = 1; // otherwise transforms may be off\n\n for (; i < l; i += 2) {\n value = state[i + 1];\n p = state[i];\n\n if (value) {\n style[p] = value;\n } else if (style[p]) {\n style.removeProperty(p.replace(_capsExp, \"-$1\").toLowerCase());\n }\n }\n }\n},\n _getState = function _getState(element) {\n // returns an Array with alternating values like [property, value, property, value] and a \"t\" property pointing to the target (element). Makes it fast and cheap.\n var l = _stateProps.length,\n style = element.style,\n state = [],\n i = 0;\n\n for (; i < l; i++) {\n state.push(_stateProps[i], style[_stateProps[i]]);\n }\n\n state.t = element;\n return state;\n},\n _copyState = function _copyState(state, override, omitOffsets) {\n var result = [],\n l = state.length,\n i = omitOffsets ? 8 : 0,\n // skip top, left, right, bottom if omitOffsets is true\n p;\n\n for (; i < l; i += 2) {\n p = state[i];\n result.push(p, p in override ? override[p] : state[i + 1]);\n }\n\n result.t = state.t;\n return result;\n},\n _winOffsets = {\n left: 0,\n top: 0\n},\n // // potential future feature (?) Allow users to calculate where a trigger hits (scroll position) like getScrollPosition(\"#id\", \"top bottom\")\n// _getScrollPosition = (trigger, position, {scroller, containerAnimation, horizontal}) => {\n// \tscroller = _getTarget(scroller || _win);\n// \tlet direction = horizontal ? _horizontal : _vertical,\n// \t\tisViewport = _isViewport(scroller);\n// \t_getSizeFunc(scroller, isViewport, direction);\n// \treturn _parsePosition(position, _getTarget(trigger), _getSizeFunc(scroller, isViewport, direction)(), direction, _getScrollFunc(scroller, direction)(), 0, 0, 0, _getOffsetsFunc(scroller, isViewport)(), isViewport ? 0 : parseFloat(_getComputedStyle(scroller)[\"border\" + direction.p2 + _Width]) || 0, 0, containerAnimation ? containerAnimation.duration() : _maxScroll(scroller), containerAnimation);\n// },\n_parsePosition = function _parsePosition(value, trigger, scrollerSize, direction, scroll, marker, markerScroller, self, scrollerBounds, borderWidth, useFixedPosition, scrollerMax, containerAnimation, clampZeroProp) {\n _isFunction(value) && (value = value(self));\n\n if (_isString(value) && value.substr(0, 3) === \"max\") {\n value = scrollerMax + (value.charAt(4) === \"=\" ? _offsetToPx(\"0\" + value.substr(3), scrollerSize) : 0);\n }\n\n var time = containerAnimation ? containerAnimation.time() : 0,\n p1,\n p2,\n element;\n containerAnimation && containerAnimation.seek(0);\n isNaN(value) || (value = +value); // convert a string number like \"45\" to an actual number\n\n if (!_isNumber(value)) {\n _isFunction(trigger) && (trigger = trigger(self));\n var offsets = (value || \"0\").split(\" \"),\n bounds,\n localOffset,\n globalOffset,\n display;\n element = _getTarget(trigger, self) || _body;\n bounds = _getBounds(element) || {};\n\n if ((!bounds || !bounds.left && !bounds.top) && _getComputedStyle(element).display === \"none\") {\n // if display is \"none\", it won't report getBoundingClientRect() properly\n display = element.style.display;\n element.style.display = \"block\";\n bounds = _getBounds(element);\n display ? element.style.display = display : element.style.removeProperty(\"display\");\n }\n\n localOffset = _offsetToPx(offsets[0], bounds[direction.d]);\n globalOffset = _offsetToPx(offsets[1] || \"0\", scrollerSize);\n value = bounds[direction.p] - scrollerBounds[direction.p] - borderWidth + localOffset + scroll - globalOffset;\n markerScroller && _positionMarker(markerScroller, globalOffset, direction, scrollerSize - globalOffset < 20 || markerScroller._isStart && globalOffset > 20);\n scrollerSize -= scrollerSize - globalOffset; // adjust for the marker\n } else {\n containerAnimation && (value = gsap.utils.mapRange(containerAnimation.scrollTrigger.start, containerAnimation.scrollTrigger.end, 0, scrollerMax, value));\n markerScroller && _positionMarker(markerScroller, scrollerSize, direction, true);\n }\n\n if (clampZeroProp) {\n self[clampZeroProp] = value || -0.001;\n value < 0 && (value = 0);\n }\n\n if (marker) {\n var position = value + scrollerSize,\n isStart = marker._isStart;\n p1 = \"scroll\" + direction.d2;\n\n _positionMarker(marker, position, direction, isStart && position > 20 || !isStart && (useFixedPosition ? Math.max(_body[p1], _docEl[p1]) : marker.parentNode[p1]) <= position + 1);\n\n if (useFixedPosition) {\n scrollerBounds = _getBounds(markerScroller);\n useFixedPosition && (marker.style[direction.op.p] = scrollerBounds[direction.op.p] - direction.op.m - marker._offset + _px);\n }\n }\n\n if (containerAnimation && element) {\n p1 = _getBounds(element);\n containerAnimation.seek(scrollerMax);\n p2 = _getBounds(element);\n containerAnimation._caScrollDist = p1[direction.p] - p2[direction.p];\n value = value / containerAnimation._caScrollDist * scrollerMax;\n }\n\n containerAnimation && containerAnimation.seek(time);\n return containerAnimation ? value : Math.round(value);\n},\n _prefixExp = /(webkit|moz|length|cssText|inset)/i,\n _reparent = function _reparent(element, parent, top, left) {\n if (element.parentNode !== parent) {\n var style = element.style,\n p,\n cs;\n\n if (parent === _body) {\n element._stOrig = style.cssText; // record original inline styles so we can revert them later\n\n cs = _getComputedStyle(element);\n\n for (p in cs) {\n // must copy all relevant styles to ensure that nothing changes visually when we reparent to the . Skip the vendor prefixed ones.\n if (!+p && !_prefixExp.test(p) && cs[p] && typeof style[p] === \"string\" && p !== \"0\") {\n style[p] = cs[p];\n }\n }\n\n style.top = top;\n style.left = left;\n } else {\n style.cssText = element._stOrig;\n }\n\n gsap.core.getCache(element).uncache = 1;\n parent.appendChild(element);\n }\n},\n _interruptionTracker = function _interruptionTracker(getValueFunc, initialValue, onInterrupt) {\n var last1 = initialValue,\n last2 = last1;\n return function (value) {\n var current = Math.round(getValueFunc()); // round because in some [very uncommon] Windows environments, scroll can get reported with decimals even though it was set without.\n\n if (current !== last1 && current !== last2 && Math.abs(current - last1) > 3 && Math.abs(current - last2) > 3) {\n // if the user scrolls, kill the tween. iOS Safari intermittently misreports the scroll position, it may be the most recently-set one or the one before that! When Safari is zoomed (CMD-+), it often misreports as 1 pixel off too! So if we set the scroll position to 125, for example, it'll actually report it as 124.\n value = current;\n onInterrupt && onInterrupt();\n }\n\n last2 = last1;\n last1 = Math.round(value);\n return last1;\n };\n},\n _shiftMarker = function _shiftMarker(marker, direction, value) {\n var vars = {};\n vars[direction.p] = \"+=\" + value;\n gsap.set(marker, vars);\n},\n // _mergeAnimations = animations => {\n// \tlet tl = gsap.timeline({smoothChildTiming: true}).startTime(Math.min(...animations.map(a => a.globalTime(0))));\n// \tanimations.forEach(a => {let time = a.totalTime(); tl.add(a); a.totalTime(time); });\n// \ttl.smoothChildTiming = false;\n// \treturn tl;\n// },\n// returns a function that can be used to tween the scroll position in the direction provided, and when doing so it'll add a .tween property to the FUNCTION itself, and remove it when the tween completes or gets killed. This gives us a way to have multiple ScrollTriggers use a central function for any given scroller and see if there's a scroll tween running (which would affect if/how things get updated)\n_getTweenCreator = function _getTweenCreator(scroller, direction) {\n var getScroll = _getScrollFunc(scroller, direction),\n prop = \"_scroll\" + direction.p2,\n // add a tweenable property to the scroller that's a getter/setter function, like _scrollTop or _scrollLeft. This way, if someone does gsap.killTweensOf(scroller) it'll kill the scroll tween.\n getTween = function getTween(scrollTo, vars, initialValue, change1, change2) {\n var tween = getTween.tween,\n onComplete = vars.onComplete,\n modifiers = {};\n initialValue = initialValue || getScroll();\n\n var checkForInterruption = _interruptionTracker(getScroll, initialValue, function () {\n tween.kill();\n getTween.tween = 0;\n });\n\n change2 = change1 && change2 || 0; // if change1 is 0, we set that to the difference and ignore change2. Otherwise, there would be a compound effect.\n\n change1 = change1 || scrollTo - initialValue;\n tween && tween.kill();\n vars[prop] = scrollTo;\n vars.inherit = false;\n vars.modifiers = modifiers;\n\n modifiers[prop] = function () {\n return checkForInterruption(initialValue + change1 * tween.ratio + change2 * tween.ratio * tween.ratio);\n };\n\n vars.onUpdate = function () {\n _scrollers.cache++;\n getTween.tween && _updateAll(); // if it was interrupted/killed, like in a context.revert(), don't force an updateAll()\n };\n\n vars.onComplete = function () {\n getTween.tween = 0;\n onComplete && onComplete.call(tween);\n };\n\n tween = getTween.tween = gsap.to(scroller, vars);\n return tween;\n };\n\n scroller[prop] = getScroll;\n\n getScroll.wheelHandler = function () {\n return getTween.tween && getTween.tween.kill() && (getTween.tween = 0);\n };\n\n _addListener(scroller, \"wheel\", getScroll.wheelHandler); // Windows machines handle mousewheel scrolling in chunks (like \"3 lines per scroll\") meaning the typical strategy for cancelling the scroll isn't as sensitive. It's much more likely to match one of the previous 2 scroll event positions. So we kill any snapping as soon as there's a wheel event.\n\n\n ScrollTrigger.isTouch && _addListener(scroller, \"touchmove\", getScroll.wheelHandler);\n return getTween;\n};\n\nexport var ScrollTrigger = /*#__PURE__*/function () {\n function ScrollTrigger(vars, animation) {\n _coreInitted || ScrollTrigger.register(gsap) || console.warn(\"Please gsap.registerPlugin(ScrollTrigger)\");\n\n _context(this);\n\n this.init(vars, animation);\n }\n\n var _proto = ScrollTrigger.prototype;\n\n _proto.init = function init(vars, animation) {\n this.progress = this.start = 0;\n this.vars && this.kill(true, true); // in case it's being initted again\n\n if (!_enabled) {\n this.update = this.refresh = this.kill = _passThrough;\n return;\n }\n\n vars = _setDefaults(_isString(vars) || _isNumber(vars) || vars.nodeType ? {\n trigger: vars\n } : vars, _defaults);\n\n var _vars = vars,\n onUpdate = _vars.onUpdate,\n toggleClass = _vars.toggleClass,\n id = _vars.id,\n onToggle = _vars.onToggle,\n onRefresh = _vars.onRefresh,\n scrub = _vars.scrub,\n trigger = _vars.trigger,\n pin = _vars.pin,\n pinSpacing = _vars.pinSpacing,\n invalidateOnRefresh = _vars.invalidateOnRefresh,\n anticipatePin = _vars.anticipatePin,\n onScrubComplete = _vars.onScrubComplete,\n onSnapComplete = _vars.onSnapComplete,\n once = _vars.once,\n snap = _vars.snap,\n pinReparent = _vars.pinReparent,\n pinSpacer = _vars.pinSpacer,\n containerAnimation = _vars.containerAnimation,\n fastScrollEnd = _vars.fastScrollEnd,\n preventOverlaps = _vars.preventOverlaps,\n direction = vars.horizontal || vars.containerAnimation && vars.horizontal !== false ? _horizontal : _vertical,\n isToggle = !scrub && scrub !== 0,\n scroller = _getTarget(vars.scroller || _win),\n scrollerCache = gsap.core.getCache(scroller),\n isViewport = _isViewport(scroller),\n useFixedPosition = (\"pinType\" in vars ? vars.pinType : _getProxyProp(scroller, \"pinType\") || isViewport && \"fixed\") === \"fixed\",\n callbacks = [vars.onEnter, vars.onLeave, vars.onEnterBack, vars.onLeaveBack],\n toggleActions = isToggle && vars.toggleActions.split(\" \"),\n markers = \"markers\" in vars ? vars.markers : _defaults.markers,\n borderWidth = isViewport ? 0 : parseFloat(_getComputedStyle(scroller)[\"border\" + direction.p2 + _Width]) || 0,\n self = this,\n onRefreshInit = vars.onRefreshInit && function () {\n return vars.onRefreshInit(self);\n },\n getScrollerSize = _getSizeFunc(scroller, isViewport, direction),\n getScrollerOffsets = _getOffsetsFunc(scroller, isViewport),\n lastSnap = 0,\n lastRefresh = 0,\n prevProgress = 0,\n scrollFunc = _getScrollFunc(scroller, direction),\n tweenTo,\n pinCache,\n snapFunc,\n scroll1,\n scroll2,\n start,\n end,\n markerStart,\n markerEnd,\n markerStartTrigger,\n markerEndTrigger,\n markerVars,\n executingOnRefresh,\n change,\n pinOriginalState,\n pinActiveState,\n pinState,\n spacer,\n offset,\n pinGetter,\n pinSetter,\n pinStart,\n pinChange,\n spacingStart,\n spacerState,\n markerStartSetter,\n pinMoves,\n markerEndSetter,\n cs,\n snap1,\n snap2,\n scrubTween,\n scrubSmooth,\n snapDurClamp,\n snapDelayedCall,\n prevScroll,\n prevAnimProgress,\n caMarkerSetter,\n customRevertReturn; // for the sake of efficiency, _startClamp/_endClamp serve like a truthy value indicating that clamping was enabled on the start/end, and ALSO store the actual pre-clamped numeric value. We tap into that in ScrollSmoother for speed effects. So for example, if start=\"clamp(top bottom)\" results in a start of -100 naturally, it would get clamped to 0 but -100 would be stored in _startClamp.\n\n\n self._startClamp = self._endClamp = false;\n self._dir = direction;\n anticipatePin *= 45;\n self.scroller = scroller;\n self.scroll = containerAnimation ? containerAnimation.time.bind(containerAnimation) : scrollFunc;\n scroll1 = scrollFunc();\n self.vars = vars;\n animation = animation || vars.animation;\n\n if (\"refreshPriority\" in vars) {\n _sort = 1;\n vars.refreshPriority === -9999 && (_primary = self); // used by ScrollSmoother\n }\n\n scrollerCache.tweenScroll = scrollerCache.tweenScroll || {\n top: _getTweenCreator(scroller, _vertical),\n left: _getTweenCreator(scroller, _horizontal)\n };\n self.tweenTo = tweenTo = scrollerCache.tweenScroll[direction.p];\n\n self.scrubDuration = function (value) {\n scrubSmooth = _isNumber(value) && value;\n\n if (!scrubSmooth) {\n scrubTween && scrubTween.progress(1).kill();\n scrubTween = 0;\n } else {\n scrubTween ? scrubTween.duration(value) : scrubTween = gsap.to(animation, {\n ease: \"expo\",\n totalProgress: \"+=0\",\n inherit: false,\n duration: scrubSmooth,\n paused: true,\n onComplete: function onComplete() {\n return onScrubComplete && onScrubComplete(self);\n }\n });\n }\n };\n\n if (animation) {\n animation.vars.lazy = false;\n animation._initted && !self.isReverted || animation.vars.immediateRender !== false && vars.immediateRender !== false && animation.duration() && animation.render(0, true, true); // special case: if this ScrollTrigger gets re-initted, a from() tween with a stagger could get initted initially and then reverted on the re-init which means it'll need to get rendered again here to properly display things. Otherwise, See https://gsap.com/forums/topic/36777-scrollsmoother-splittext-nextjs/ and https://codepen.io/GreenSock/pen/eYPyPpd?editors=0010\n\n self.animation = animation.pause();\n animation.scrollTrigger = self;\n self.scrubDuration(scrub);\n snap1 = 0;\n id || (id = animation.vars.id);\n }\n\n if (snap) {\n // TODO: potential idea: use legitimate CSS scroll snapping by pushing invisible elements into the DOM that serve as snap positions, and toggle the document.scrollingElement.style.scrollSnapType onToggle. See https://codepen.io/GreenSock/pen/JjLrgWM for a quick proof of concept.\n if (!_isObject(snap) || snap.push) {\n snap = {\n snapTo: snap\n };\n }\n\n \"scrollBehavior\" in _body.style && gsap.set(isViewport ? [_body, _docEl] : scroller, {\n scrollBehavior: \"auto\"\n }); // smooth scrolling doesn't work with snap.\n\n _scrollers.forEach(function (o) {\n return _isFunction(o) && o.target === (isViewport ? _doc.scrollingElement || _docEl : scroller) && (o.smooth = false);\n }); // note: set smooth to false on both the vertical and horizontal scroll getters/setters\n\n\n snapFunc = _isFunction(snap.snapTo) ? snap.snapTo : snap.snapTo === \"labels\" ? _getClosestLabel(animation) : snap.snapTo === \"labelsDirectional\" ? _getLabelAtDirection(animation) : snap.directional !== false ? function (value, st) {\n return _snapDirectional(snap.snapTo)(value, _getTime() - lastRefresh < 500 ? 0 : st.direction);\n } : gsap.utils.snap(snap.snapTo);\n snapDurClamp = snap.duration || {\n min: 0.1,\n max: 2\n };\n snapDurClamp = _isObject(snapDurClamp) ? _clamp(snapDurClamp.min, snapDurClamp.max) : _clamp(snapDurClamp, snapDurClamp);\n snapDelayedCall = gsap.delayedCall(snap.delay || scrubSmooth / 2 || 0.1, function () {\n var scroll = scrollFunc(),\n refreshedRecently = _getTime() - lastRefresh < 500,\n tween = tweenTo.tween;\n\n if ((refreshedRecently || Math.abs(self.getVelocity()) < 10) && !tween && !_pointerIsDown && lastSnap !== scroll) {\n var progress = (scroll - start) / change,\n totalProgress = animation && !isToggle ? animation.totalProgress() : progress,\n velocity = refreshedRecently ? 0 : (totalProgress - snap2) / (_getTime() - _time2) * 1000 || 0,\n change1 = gsap.utils.clamp(-progress, 1 - progress, _abs(velocity / 2) * velocity / 0.185),\n naturalEnd = progress + (snap.inertia === false ? 0 : change1),\n endValue,\n endScroll,\n _snap = snap,\n onStart = _snap.onStart,\n _onInterrupt = _snap.onInterrupt,\n _onComplete = _snap.onComplete;\n endValue = snapFunc(naturalEnd, self);\n _isNumber(endValue) || (endValue = naturalEnd); // in case the function didn't return a number, fall back to using the naturalEnd\n\n endScroll = Math.max(0, Math.round(start + endValue * change));\n\n if (scroll <= end && scroll >= start && endScroll !== scroll) {\n if (tween && !tween._initted && tween.data <= _abs(endScroll - scroll)) {\n // there's an overlapping snap! So we must figure out which one is closer and let that tween live.\n return;\n }\n\n if (snap.inertia === false) {\n change1 = endValue - progress;\n }\n\n tweenTo(endScroll, {\n duration: snapDurClamp(_abs(Math.max(_abs(naturalEnd - totalProgress), _abs(endValue - totalProgress)) * 0.185 / velocity / 0.05 || 0)),\n ease: snap.ease || \"power3\",\n data: _abs(endScroll - scroll),\n // record the distance so that if another snap tween occurs (conflict) we can prioritize the closest snap.\n onInterrupt: function onInterrupt() {\n return snapDelayedCall.restart(true) && _onInterrupt && _callback(self, _onInterrupt);\n },\n onComplete: function onComplete() {\n self.update();\n lastSnap = scrollFunc();\n\n if (animation && !isToggle) {\n // the resolution of the scrollbar is limited, so we should correct the scrubbed animation's playhead at the end to match EXACTLY where it was supposed to snap\n scrubTween ? scrubTween.resetTo(\"totalProgress\", endValue, animation._tTime / animation._tDur) : animation.progress(endValue);\n }\n\n snap1 = snap2 = animation && !isToggle ? animation.totalProgress() : self.progress;\n onSnapComplete && onSnapComplete(self);\n _onComplete && _callback(self, _onComplete);\n }\n }, scroll, change1 * change, endScroll - scroll - change1 * change);\n onStart && _callback(self, onStart, tweenTo.tween);\n }\n } else if (self.isActive && lastSnap !== scroll) {\n snapDelayedCall.restart(true);\n }\n }).pause();\n }\n\n id && (_ids[id] = self);\n trigger = self.trigger = _getTarget(trigger || pin !== true && pin); // if a trigger has some kind of scroll-related effect applied that could contaminate the \"y\" or \"x\" position (like a ScrollSmoother effect), we needed a way to temporarily revert it, so we use the stRevert property of the gsCache. It can return another function that we'll call at the end so it can return to its normal state.\n\n customRevertReturn = trigger && trigger._gsap && trigger._gsap.stRevert;\n customRevertReturn && (customRevertReturn = customRevertReturn(self));\n pin = pin === true ? trigger : _getTarget(pin);\n _isString(toggleClass) && (toggleClass = {\n targets: trigger,\n className: toggleClass\n });\n\n if (pin) {\n pinSpacing === false || pinSpacing === _margin || (pinSpacing = !pinSpacing && pin.parentNode && pin.parentNode.style && _getComputedStyle(pin.parentNode).display === \"flex\" ? false : _padding); // if the parent is display: flex, don't apply pinSpacing by default. We should check that pin.parentNode is an element (not shadow dom window)\n\n self.pin = pin;\n pinCache = gsap.core.getCache(pin);\n\n if (!pinCache.spacer) {\n // record the spacer and pinOriginalState on the cache in case someone tries pinning the same element with MULTIPLE ScrollTriggers - we don't want to have multiple spacers or record the \"original\" pin state after it has already been affected by another ScrollTrigger.\n if (pinSpacer) {\n pinSpacer = _getTarget(pinSpacer);\n pinSpacer && !pinSpacer.nodeType && (pinSpacer = pinSpacer.current || pinSpacer.nativeElement); // for React & Angular\n\n pinCache.spacerIsNative = !!pinSpacer;\n pinSpacer && (pinCache.spacerState = _getState(pinSpacer));\n }\n\n pinCache.spacer = spacer = pinSpacer || _doc.createElement(\"div\");\n spacer.classList.add(\"pin-spacer\");\n id && spacer.classList.add(\"pin-spacer-\" + id);\n pinCache.pinState = pinOriginalState = _getState(pin);\n } else {\n pinOriginalState = pinCache.pinState;\n }\n\n vars.force3D !== false && gsap.set(pin, {\n force3D: true\n });\n self.spacer = spacer = pinCache.spacer;\n cs = _getComputedStyle(pin);\n spacingStart = cs[pinSpacing + direction.os2];\n pinGetter = gsap.getProperty(pin);\n pinSetter = gsap.quickSetter(pin, direction.a, _px); // pin.firstChild && !_maxScroll(pin, direction) && (pin.style.overflow = \"hidden\"); // protects from collapsing margins, but can have unintended consequences as demonstrated here: https://codepen.io/GreenSock/pen/1e42c7a73bfa409d2cf1e184e7a4248d so it was removed in favor of just telling people to set up their CSS to avoid the collapsing margins (overflow: hidden | auto is just one option. Another is border-top: 1px solid transparent).\n\n _swapPinIn(pin, spacer, cs);\n\n pinState = _getState(pin);\n }\n\n if (markers) {\n markerVars = _isObject(markers) ? _setDefaults(markers, _markerDefaults) : _markerDefaults;\n markerStartTrigger = _createMarker(\"scroller-start\", id, scroller, direction, markerVars, 0);\n markerEndTrigger = _createMarker(\"scroller-end\", id, scroller, direction, markerVars, 0, markerStartTrigger);\n offset = markerStartTrigger[\"offset\" + direction.op.d2];\n\n var content = _getTarget(_getProxyProp(scroller, \"content\") || scroller);\n\n markerStart = this.markerStart = _createMarker(\"start\", id, content, direction, markerVars, offset, 0, containerAnimation);\n markerEnd = this.markerEnd = _createMarker(\"end\", id, content, direction, markerVars, offset, 0, containerAnimation);\n containerAnimation && (caMarkerSetter = gsap.quickSetter([markerStart, markerEnd], direction.a, _px));\n\n if (!useFixedPosition && !(_proxies.length && _getProxyProp(scroller, \"fixedMarkers\") === true)) {\n _makePositionable(isViewport ? _body : scroller);\n\n gsap.set([markerStartTrigger, markerEndTrigger], {\n force3D: true\n });\n markerStartSetter = gsap.quickSetter(markerStartTrigger, direction.a, _px);\n markerEndSetter = gsap.quickSetter(markerEndTrigger, direction.a, _px);\n }\n }\n\n if (containerAnimation) {\n var oldOnUpdate = containerAnimation.vars.onUpdate,\n oldParams = containerAnimation.vars.onUpdateParams;\n containerAnimation.eventCallback(\"onUpdate\", function () {\n self.update(0, 0, 1);\n oldOnUpdate && oldOnUpdate.apply(containerAnimation, oldParams || []);\n });\n }\n\n self.previous = function () {\n return _triggers[_triggers.indexOf(self) - 1];\n };\n\n self.next = function () {\n return _triggers[_triggers.indexOf(self) + 1];\n };\n\n self.revert = function (revert, temp) {\n if (!temp) {\n return self.kill(true);\n } // for compatibility with gsap.context() and gsap.matchMedia() which call revert()\n\n\n var r = revert !== false || !self.enabled,\n prevRefreshing = _refreshing;\n\n if (r !== self.isReverted) {\n if (r) {\n prevScroll = Math.max(scrollFunc(), self.scroll.rec || 0); // record the scroll so we can revert later (repositioning/pinning things can affect scroll position). In the static refresh() method, we first record all the scroll positions as a reference.\n\n prevProgress = self.progress;\n prevAnimProgress = animation && animation.progress();\n }\n\n markerStart && [markerStart, markerEnd, markerStartTrigger, markerEndTrigger].forEach(function (m) {\n return m.style.display = r ? \"none\" : \"block\";\n });\n\n if (r) {\n _refreshing = self;\n self.update(r); // make sure the pin is back in its original position so that all the measurements are correct. do this BEFORE swapping the pin out\n }\n\n if (pin && (!pinReparent || !self.isActive)) {\n if (r) {\n _swapPinOut(pin, spacer, pinOriginalState);\n } else {\n _swapPinIn(pin, spacer, _getComputedStyle(pin), spacerState);\n }\n }\n\n r || self.update(r); // when we're restoring, the update should run AFTER swapping the pin into its pin-spacer.\n\n _refreshing = prevRefreshing; // restore. We set it to true during the update() so that things fire properly in there.\n\n self.isReverted = r;\n }\n };\n\n self.refresh = function (soft, force, position, pinOffset) {\n // position is typically only defined if it's coming from setPositions() - it's a way to skip the normal parsing. pinOffset is also only from setPositions() and is mostly related to fancy stuff we need to do in ScrollSmoother with effects\n if ((_refreshing || !self.enabled) && !force) {\n return;\n }\n\n if (pin && soft && _lastScrollTime) {\n _addListener(ScrollTrigger, \"scrollEnd\", _softRefresh);\n\n return;\n }\n\n !_refreshingAll && onRefreshInit && onRefreshInit(self);\n _refreshing = self;\n\n if (tweenTo.tween && !position) {\n // we skip this if a position is passed in because typically that's from .setPositions() and it's best to allow in-progress snapping to continue.\n tweenTo.tween.kill();\n tweenTo.tween = 0;\n }\n\n scrubTween && scrubTween.pause();\n\n if (invalidateOnRefresh && animation) {\n animation.revert({\n kill: false\n }).invalidate();\n animation.getChildren ? animation.getChildren(true, true, false).forEach(function (t) {\n return t.vars.immediateRender && t.render(0, true, true);\n }) : animation.vars.immediateRender && animation.render(0, true, true); // any from() or fromTo() tweens should render immediately (well, unless they have immediateRender: false)\n }\n\n self.isReverted || self.revert(true, true);\n self._subPinOffset = false; // we'll set this to true in the sub-pins if we find any\n\n var size = getScrollerSize(),\n scrollerBounds = getScrollerOffsets(),\n max = containerAnimation ? containerAnimation.duration() : _maxScroll(scroller, direction),\n isFirstRefresh = change <= 0.01 || !change,\n offset = 0,\n otherPinOffset = pinOffset || 0,\n parsedEnd = _isObject(position) ? position.end : vars.end,\n parsedEndTrigger = vars.endTrigger || trigger,\n parsedStart = _isObject(position) ? position.start : vars.start || (vars.start === 0 || !trigger ? 0 : pin ? \"0 0\" : \"0 100%\"),\n pinnedContainer = self.pinnedContainer = vars.pinnedContainer && _getTarget(vars.pinnedContainer, self),\n triggerIndex = trigger && Math.max(0, _triggers.indexOf(self)) || 0,\n i = triggerIndex,\n cs,\n bounds,\n scroll,\n isVertical,\n override,\n curTrigger,\n curPin,\n oppositeScroll,\n initted,\n revertedPins,\n forcedOverflow,\n markerStartOffset,\n markerEndOffset;\n\n if (markers && _isObject(position)) {\n // if we alter the start/end positions with .setPositions(), it generally feeds in absolute NUMBERS which don't convey information about where to line up the markers, so to keep it intuitive, we record how far the trigger positions shift after applying the new numbers and then offset by that much in the opposite direction. We do the same to the associated trigger markers too of course.\n markerStartOffset = gsap.getProperty(markerStartTrigger, direction.p);\n markerEndOffset = gsap.getProperty(markerEndTrigger, direction.p);\n }\n\n while (i-- > 0) {\n // user might try to pin the same element more than once, so we must find any prior triggers with the same pin, revert them, and determine how long they're pinning so that we can offset things appropriately. Make sure we revert from last to first so that things \"rewind\" properly.\n curTrigger = _triggers[i];\n curTrigger.end || curTrigger.refresh(0, 1) || (_refreshing = self); // if it's a timeline-based trigger that hasn't been fully initialized yet because it's waiting for 1 tick, just force the refresh() here, otherwise if it contains a pin that's supposed to affect other ScrollTriggers further down the page, they won't be adjusted properly.\n\n curPin = curTrigger.pin;\n\n if (curPin && (curPin === trigger || curPin === pin || curPin === pinnedContainer) && !curTrigger.isReverted) {\n revertedPins || (revertedPins = []);\n revertedPins.unshift(curTrigger); // we'll revert from first to last to make sure things reach their end state properly\n\n curTrigger.revert(true, true);\n }\n\n if (curTrigger !== _triggers[i]) {\n // in case it got removed.\n triggerIndex--;\n i--;\n }\n }\n\n _isFunction(parsedStart) && (parsedStart = parsedStart(self));\n parsedStart = _parseClamp(parsedStart, \"start\", self);\n start = _parsePosition(parsedStart, trigger, size, direction, scrollFunc(), markerStart, markerStartTrigger, self, scrollerBounds, borderWidth, useFixedPosition, max, containerAnimation, self._startClamp && \"_startClamp\") || (pin ? -0.001 : 0);\n _isFunction(parsedEnd) && (parsedEnd = parsedEnd(self));\n\n if (_isString(parsedEnd) && !parsedEnd.indexOf(\"+=\")) {\n if (~parsedEnd.indexOf(\" \")) {\n parsedEnd = (_isString(parsedStart) ? parsedStart.split(\" \")[0] : \"\") + parsedEnd;\n } else {\n offset = _offsetToPx(parsedEnd.substr(2), size);\n parsedEnd = _isString(parsedStart) ? parsedStart : (containerAnimation ? gsap.utils.mapRange(0, containerAnimation.duration(), containerAnimation.scrollTrigger.start, containerAnimation.scrollTrigger.end, start) : start) + offset; // _parsePosition won't factor in the offset if the start is a number, so do it here.\n\n parsedEndTrigger = trigger;\n }\n }\n\n parsedEnd = _parseClamp(parsedEnd, \"end\", self);\n end = Math.max(start, _parsePosition(parsedEnd || (parsedEndTrigger ? \"100% 0\" : max), parsedEndTrigger, size, direction, scrollFunc() + offset, markerEnd, markerEndTrigger, self, scrollerBounds, borderWidth, useFixedPosition, max, containerAnimation, self._endClamp && \"_endClamp\")) || -0.001;\n offset = 0;\n i = triggerIndex;\n\n while (i--) {\n curTrigger = _triggers[i] || {};\n curPin = curTrigger.pin;\n\n if (curPin && curTrigger.start - curTrigger._pinPush <= start && !containerAnimation && curTrigger.end > 0) {\n cs = curTrigger.end - (self._startClamp ? Math.max(0, curTrigger.start) : curTrigger.start);\n\n if ((curPin === trigger && curTrigger.start - curTrigger._pinPush < start || curPin === pinnedContainer) && isNaN(parsedStart)) {\n // numeric start values shouldn't be offset at all - treat them as absolute\n offset += cs * (1 - curTrigger.progress);\n }\n\n curPin === pin && (otherPinOffset += cs);\n }\n }\n\n start += offset;\n end += offset;\n self._startClamp && (self._startClamp += offset);\n\n if (self._endClamp && !_refreshingAll) {\n self._endClamp = end || -0.001;\n end = Math.min(end, _maxScroll(scroller, direction));\n }\n\n change = end - start || (start -= 0.01) && 0.001;\n\n if (isFirstRefresh) {\n // on the very first refresh(), the prevProgress couldn't have been accurate yet because the start/end were never calculated, so we set it here. Before 3.11.5, it could lead to an inaccurate scroll position restoration with snapping.\n prevProgress = gsap.utils.clamp(0, 1, gsap.utils.normalize(start, end, prevScroll));\n }\n\n self._pinPush = otherPinOffset;\n\n if (markerStart && offset) {\n // offset the markers if necessary\n cs = {};\n cs[direction.a] = \"+=\" + offset;\n pinnedContainer && (cs[direction.p] = \"-=\" + scrollFunc());\n gsap.set([markerStart, markerEnd], cs);\n }\n\n if (pin && !(_clampingMax && self.end >= _maxScroll(scroller, direction))) {\n cs = _getComputedStyle(pin);\n isVertical = direction === _vertical;\n scroll = scrollFunc(); // recalculate because the triggers can affect the scroll\n\n pinStart = parseFloat(pinGetter(direction.a)) + otherPinOffset;\n\n if (!max && end > 1) {\n // makes sure the scroller has a scrollbar, otherwise if something has width: 100%, for example, it would be too big (exclude the scrollbar). See https://gsap.com/forums/topic/25182-scrolltrigger-width-of-page-increase-where-markers-are-set-to-false/\n forcedOverflow = (isViewport ? _doc.scrollingElement || _docEl : scroller).style;\n forcedOverflow = {\n style: forcedOverflow,\n value: forcedOverflow[\"overflow\" + direction.a.toUpperCase()]\n };\n\n if (isViewport && _getComputedStyle(_body)[\"overflow\" + direction.a.toUpperCase()] !== \"scroll\") {\n // avoid an extra scrollbar if BOTH and have overflow set to \"scroll\"\n forcedOverflow.style[\"overflow\" + direction.a.toUpperCase()] = \"scroll\";\n }\n }\n\n _swapPinIn(pin, spacer, cs);\n\n pinState = _getState(pin); // transforms will interfere with the top/left/right/bottom placement, so remove them temporarily. getBoundingClientRect() factors in transforms.\n\n bounds = _getBounds(pin, true);\n oppositeScroll = useFixedPosition && _getScrollFunc(scroller, isVertical ? _horizontal : _vertical)();\n\n if (pinSpacing) {\n spacerState = [pinSpacing + direction.os2, change + otherPinOffset + _px];\n spacerState.t = spacer;\n i = pinSpacing === _padding ? _getSize(pin, direction) + change + otherPinOffset : 0;\n\n if (i) {\n spacerState.push(direction.d, i + _px); // for box-sizing: border-box (must include padding).\n\n spacer.style.flexBasis !== \"auto\" && (spacer.style.flexBasis = i + _px);\n }\n\n _setState(spacerState);\n\n if (pinnedContainer) {\n // in ScrollTrigger.refresh(), we need to re-evaluate the pinContainer's size because this pinSpacing may stretch it out, but we can't just add the exact distance because depending on layout, it may not push things down or it may only do so partially.\n _triggers.forEach(function (t) {\n if (t.pin === pinnedContainer && t.vars.pinSpacing !== false) {\n t._subPinOffset = true;\n }\n });\n }\n\n useFixedPosition && scrollFunc(prevScroll);\n } else {\n i = _getSize(pin, direction);\n i && spacer.style.flexBasis !== \"auto\" && (spacer.style.flexBasis = i + _px);\n }\n\n if (useFixedPosition) {\n override = {\n top: bounds.top + (isVertical ? scroll - start : oppositeScroll) + _px,\n left: bounds.left + (isVertical ? oppositeScroll : scroll - start) + _px,\n boxSizing: \"border-box\",\n position: \"fixed\"\n };\n override[_width] = override[\"max\" + _Width] = Math.ceil(bounds.width) + _px;\n override[_height] = override[\"max\" + _Height] = Math.ceil(bounds.height) + _px;\n override[_margin] = override[_margin + _Top] = override[_margin + _Right] = override[_margin + _Bottom] = override[_margin + _Left] = \"0\";\n override[_padding] = cs[_padding];\n override[_padding + _Top] = cs[_padding + _Top];\n override[_padding + _Right] = cs[_padding + _Right];\n override[_padding + _Bottom] = cs[_padding + _Bottom];\n override[_padding + _Left] = cs[_padding + _Left];\n pinActiveState = _copyState(pinOriginalState, override, pinReparent);\n _refreshingAll && scrollFunc(0);\n }\n\n if (animation) {\n // the animation might be affecting the transform, so we must jump to the end, check the value, and compensate accordingly. Otherwise, when it becomes unpinned, the pinSetter() will get set to a value that doesn't include whatever the animation did.\n initted = animation._initted; // if not, we must invalidate() after this step, otherwise it could lock in starting values prematurely.\n\n _suppressOverwrites(1);\n\n animation.render(animation.duration(), true, true);\n pinChange = pinGetter(direction.a) - pinStart + change + otherPinOffset;\n pinMoves = Math.abs(change - pinChange) > 1;\n useFixedPosition && pinMoves && pinActiveState.splice(pinActiveState.length - 2, 2); // transform is the last property/value set in the state Array. Since the animation is controlling that, we should omit it.\n\n animation.render(0, true, true);\n initted || animation.invalidate(true);\n animation.parent || animation.totalTime(animation.totalTime()); // if, for example, a toggleAction called play() and then refresh() happens and when we render(1) above, it would cause the animation to complete and get removed from its parent, so this makes sure it gets put back in.\n\n _suppressOverwrites(0);\n } else {\n pinChange = change;\n }\n\n forcedOverflow && (forcedOverflow.value ? forcedOverflow.style[\"overflow\" + direction.a.toUpperCase()] = forcedOverflow.value : forcedOverflow.style.removeProperty(\"overflow-\" + direction.a));\n } else if (trigger && scrollFunc() && !containerAnimation) {\n // it may be INSIDE a pinned element, so walk up the tree and look for any elements with _pinOffset to compensate because anything with pinSpacing that's already scrolled would throw off the measurements in getBoundingClientRect()\n bounds = trigger.parentNode;\n\n while (bounds && bounds !== _body) {\n if (bounds._pinOffset) {\n start -= bounds._pinOffset;\n end -= bounds._pinOffset;\n }\n\n bounds = bounds.parentNode;\n }\n }\n\n revertedPins && revertedPins.forEach(function (t) {\n return t.revert(false, true);\n });\n self.start = start;\n self.end = end;\n scroll1 = scroll2 = _refreshingAll ? prevScroll : scrollFunc(); // reset velocity\n\n if (!containerAnimation && !_refreshingAll) {\n scroll1 < prevScroll && scrollFunc(prevScroll);\n self.scroll.rec = 0;\n }\n\n self.revert(false, true);\n lastRefresh = _getTime();\n\n if (snapDelayedCall) {\n lastSnap = -1; // just so snapping gets re-enabled, clear out any recorded last value\n // self.isActive && scrollFunc(start + change * prevProgress); // previously this line was here to ensure that when snapping kicks in, it's from the previous progress but in some cases that's not desirable, like an all-page ScrollTrigger when new content gets added to the page, that'd totally change the progress.\n\n snapDelayedCall.restart(true);\n }\n\n _refreshing = 0;\n animation && isToggle && (animation._initted || prevAnimProgress) && animation.progress() !== prevAnimProgress && animation.progress(prevAnimProgress || 0, true).render(animation.time(), true, true); // must force a re-render because if saveStyles() was used on the target(s), the styles could have been wiped out during the refresh().\n\n if (isFirstRefresh || prevProgress !== self.progress || containerAnimation || invalidateOnRefresh || animation && !animation._initted) {\n // ensures that the direction is set properly (when refreshing, progress is set back to 0 initially, then back again to wherever it needs to be) and that callbacks are triggered.\n animation && !isToggle && (animation._initted || prevProgress || animation.vars.immediateRender !== false) && animation.totalProgress(containerAnimation && start < -0.001 && !prevProgress ? gsap.utils.normalize(start, end, 0) : prevProgress, true); // to avoid issues where animation callbacks like onStart aren't triggered.\n\n self.progress = isFirstRefresh || (scroll1 - start) / change === prevProgress ? 0 : prevProgress;\n }\n\n pin && pinSpacing && (spacer._pinOffset = Math.round(self.progress * pinChange));\n scrubTween && scrubTween.invalidate();\n\n if (!isNaN(markerStartOffset)) {\n // numbers were passed in for the position which are absolute, so instead of just putting the markers at the very bottom of the viewport, we figure out how far they shifted down (it's safe to assume they were originally positioned in closer relation to the trigger element with values like \"top\", \"center\", a percentage or whatever, so we offset that much in the opposite direction to basically revert them to the relative position thy were at previously.\n markerStartOffset -= gsap.getProperty(markerStartTrigger, direction.p);\n markerEndOffset -= gsap.getProperty(markerEndTrigger, direction.p);\n\n _shiftMarker(markerStartTrigger, direction, markerStartOffset);\n\n _shiftMarker(markerStart, direction, markerStartOffset - (pinOffset || 0));\n\n _shiftMarker(markerEndTrigger, direction, markerEndOffset);\n\n _shiftMarker(markerEnd, direction, markerEndOffset - (pinOffset || 0));\n }\n\n isFirstRefresh && !_refreshingAll && self.update(); // edge case - when you reload a page when it's already scrolled down, some browsers fire a \"scroll\" event before DOMContentLoaded, triggering an updateAll(). If we don't update the self.progress as part of refresh(), then when it happens next, it may record prevProgress as 0 when it really shouldn't, potentially causing a callback in an animation to fire again.\n\n if (onRefresh && !_refreshingAll && !executingOnRefresh) {\n // when refreshing all, we do extra work to correct pinnedContainer sizes and ensure things don't exceed the maxScroll, so we should do all the refreshes at the end after all that work so that the start/end values are corrected.\n executingOnRefresh = true;\n onRefresh(self);\n executingOnRefresh = false;\n }\n };\n\n self.getVelocity = function () {\n return (scrollFunc() - scroll2) / (_getTime() - _time2) * 1000 || 0;\n };\n\n self.endAnimation = function () {\n _endAnimation(self.callbackAnimation);\n\n if (animation) {\n scrubTween ? scrubTween.progress(1) : !animation.paused() ? _endAnimation(animation, animation.reversed()) : isToggle || _endAnimation(animation, self.direction < 0, 1);\n }\n };\n\n self.labelToScroll = function (label) {\n return animation && animation.labels && (start || self.refresh() || start) + animation.labels[label] / animation.duration() * change || 0;\n };\n\n self.getTrailing = function (name) {\n var i = _triggers.indexOf(self),\n a = self.direction > 0 ? _triggers.slice(0, i).reverse() : _triggers.slice(i + 1);\n\n return (_isString(name) ? a.filter(function (t) {\n return t.vars.preventOverlaps === name;\n }) : a).filter(function (t) {\n return self.direction > 0 ? t.end <= start : t.start >= end;\n });\n };\n\n self.update = function (reset, recordVelocity, forceFake) {\n if (containerAnimation && !forceFake && !reset) {\n return;\n }\n\n var scroll = _refreshingAll === true ? prevScroll : self.scroll(),\n p = reset ? 0 : (scroll - start) / change,\n clipped = p < 0 ? 0 : p > 1 ? 1 : p || 0,\n prevProgress = self.progress,\n isActive,\n wasActive,\n toggleState,\n action,\n stateChanged,\n toggled,\n isAtMax,\n isTakingAction;\n\n if (recordVelocity) {\n scroll2 = scroll1;\n scroll1 = containerAnimation ? scrollFunc() : scroll;\n\n if (snap) {\n snap2 = snap1;\n snap1 = animation && !isToggle ? animation.totalProgress() : clipped;\n }\n } // anticipate the pinning a few ticks ahead of time based on velocity to avoid a visual glitch due to the fact that most browsers do scrolling on a separate thread (not synced with requestAnimationFrame).\n\n\n if (anticipatePin && pin && !_refreshing && !_startup && _lastScrollTime) {\n if (!clipped && start < scroll + (scroll - scroll2) / (_getTime() - _time2) * anticipatePin) {\n clipped = 0.0001;\n } else if (clipped === 1 && end > scroll + (scroll - scroll2) / (_getTime() - _time2) * anticipatePin) {\n clipped = 0.9999;\n }\n }\n\n if (clipped !== prevProgress && self.enabled) {\n isActive = self.isActive = !!clipped && clipped < 1;\n wasActive = !!prevProgress && prevProgress < 1;\n toggled = isActive !== wasActive;\n stateChanged = toggled || !!clipped !== !!prevProgress; // could go from start all the way to end, thus it didn't toggle but it did change state in a sense (may need to fire a callback)\n\n self.direction = clipped > prevProgress ? 1 : -1;\n self.progress = clipped;\n\n if (stateChanged && !_refreshing) {\n toggleState = clipped && !prevProgress ? 0 : clipped === 1 ? 1 : prevProgress === 1 ? 2 : 3; // 0 = enter, 1 = leave, 2 = enterBack, 3 = leaveBack (we prioritize the FIRST encounter, thus if you scroll really fast past the onEnter and onLeave in one tick, it'd prioritize onEnter.\n\n if (isToggle) {\n action = !toggled && toggleActions[toggleState + 1] !== \"none\" && toggleActions[toggleState + 1] || toggleActions[toggleState]; // if it didn't toggle, that means it shot right past and since we prioritize the \"enter\" action, we should switch to the \"leave\" in this case (but only if one is defined)\n\n isTakingAction = animation && (action === \"complete\" || action === \"reset\" || action in animation);\n }\n }\n\n preventOverlaps && (toggled || isTakingAction) && (isTakingAction || scrub || !animation) && (_isFunction(preventOverlaps) ? preventOverlaps(self) : self.getTrailing(preventOverlaps).forEach(function (t) {\n return t.endAnimation();\n }));\n\n if (!isToggle) {\n if (scrubTween && !_refreshing && !_startup) {\n scrubTween._dp._time - scrubTween._start !== scrubTween._time && scrubTween.render(scrubTween._dp._time - scrubTween._start); // if there's a scrub on both the container animation and this one (or a ScrollSmoother), the update order would cause this one not to have rendered yet, so it wouldn't make any progress before we .restart() it heading toward the new progress so it'd appear stuck thus we force a render here.\n\n if (scrubTween.resetTo) {\n scrubTween.resetTo(\"totalProgress\", clipped, animation._tTime / animation._tDur);\n } else {\n // legacy support (courtesy), before 3.10.0\n scrubTween.vars.totalProgress = clipped;\n scrubTween.invalidate().restart();\n }\n } else if (animation) {\n animation.totalProgress(clipped, !!(_refreshing && (lastRefresh || reset)));\n }\n }\n\n if (pin) {\n reset && pinSpacing && (spacer.style[pinSpacing + direction.os2] = spacingStart);\n\n if (!useFixedPosition) {\n pinSetter(_round(pinStart + pinChange * clipped));\n } else if (stateChanged) {\n isAtMax = !reset && clipped > prevProgress && end + 1 > scroll && scroll + 1 >= _maxScroll(scroller, direction); // if it's at the VERY end of the page, don't switch away from position: fixed because it's pointless and it could cause a brief flash when the user scrolls back up (when it gets pinned again)\n\n if (pinReparent) {\n if (!reset && (isActive || isAtMax)) {\n var bounds = _getBounds(pin, true),\n _offset = scroll - start;\n\n _reparent(pin, _body, bounds.top + (direction === _vertical ? _offset : 0) + _px, bounds.left + (direction === _vertical ? 0 : _offset) + _px);\n } else {\n _reparent(pin, spacer);\n }\n }\n\n _setState(isActive || isAtMax ? pinActiveState : pinState);\n\n pinMoves && clipped < 1 && isActive || pinSetter(pinStart + (clipped === 1 && !isAtMax ? pinChange : 0));\n }\n }\n\n snap && !tweenTo.tween && !_refreshing && !_startup && snapDelayedCall.restart(true);\n toggleClass && (toggled || once && clipped && (clipped < 1 || !_limitCallbacks)) && _toArray(toggleClass.targets).forEach(function (el) {\n return el.classList[isActive || once ? \"add\" : \"remove\"](toggleClass.className);\n }); // classes could affect positioning, so do it even if reset or refreshing is true.\n\n onUpdate && !isToggle && !reset && onUpdate(self);\n\n if (stateChanged && !_refreshing) {\n if (isToggle) {\n if (isTakingAction) {\n if (action === \"complete\") {\n animation.pause().totalProgress(1);\n } else if (action === \"reset\") {\n animation.restart(true).pause();\n } else if (action === \"restart\") {\n animation.restart(true);\n } else {\n animation[action]();\n }\n }\n\n onUpdate && onUpdate(self);\n }\n\n if (toggled || !_limitCallbacks) {\n // on startup, the page could be scrolled and we don't want to fire callbacks that didn't toggle. For example onEnter shouldn't fire if the ScrollTrigger isn't actually entered.\n onToggle && toggled && _callback(self, onToggle);\n callbacks[toggleState] && _callback(self, callbacks[toggleState]);\n once && (clipped === 1 ? self.kill(false, 1) : callbacks[toggleState] = 0); // a callback shouldn't be called again if once is true.\n\n if (!toggled) {\n // it's possible to go completely past, like from before the start to after the end (or vice-versa) in which case BOTH callbacks should be fired in that order\n toggleState = clipped === 1 ? 1 : 3;\n callbacks[toggleState] && _callback(self, callbacks[toggleState]);\n }\n }\n\n if (fastScrollEnd && !isActive && Math.abs(self.getVelocity()) > (_isNumber(fastScrollEnd) ? fastScrollEnd : 2500)) {\n _endAnimation(self.callbackAnimation);\n\n scrubTween ? scrubTween.progress(1) : _endAnimation(animation, action === \"reverse\" ? 1 : !clipped, 1);\n }\n } else if (isToggle && onUpdate && !_refreshing) {\n onUpdate(self);\n }\n } // update absolutely-positioned markers (only if the scroller isn't the viewport)\n\n\n if (markerEndSetter) {\n var n = containerAnimation ? scroll / containerAnimation.duration() * (containerAnimation._caScrollDist || 0) : scroll;\n markerStartSetter(n + (markerStartTrigger._isFlipped ? 1 : 0));\n markerEndSetter(n);\n }\n\n caMarkerSetter && caMarkerSetter(-scroll / containerAnimation.duration() * (containerAnimation._caScrollDist || 0));\n };\n\n self.enable = function (reset, refresh) {\n if (!self.enabled) {\n self.enabled = true;\n\n _addListener(scroller, \"resize\", _onResize);\n\n isViewport || _addListener(scroller, \"scroll\", _onScroll);\n onRefreshInit && _addListener(ScrollTrigger, \"refreshInit\", onRefreshInit);\n\n if (reset !== false) {\n self.progress = prevProgress = 0;\n scroll1 = scroll2 = lastSnap = scrollFunc();\n }\n\n refresh !== false && self.refresh();\n }\n };\n\n self.getTween = function (snap) {\n return snap && tweenTo ? tweenTo.tween : scrubTween;\n };\n\n self.setPositions = function (newStart, newEnd, keepClamp, pinOffset) {\n // doesn't persist after refresh()! Intended to be a way to override values that were set during refresh(), like you could set it in onRefresh()\n if (containerAnimation) {\n // convert ratios into scroll positions. Remember, start/end values on ScrollTriggers that have a containerAnimation refer to the time (in seconds), NOT scroll positions.\n var st = containerAnimation.scrollTrigger,\n duration = containerAnimation.duration(),\n _change = st.end - st.start;\n\n newStart = st.start + _change * newStart / duration;\n newEnd = st.start + _change * newEnd / duration;\n }\n\n self.refresh(false, false, {\n start: _keepClamp(newStart, keepClamp && !!self._startClamp),\n end: _keepClamp(newEnd, keepClamp && !!self._endClamp)\n }, pinOffset);\n self.update();\n };\n\n self.adjustPinSpacing = function (amount) {\n if (spacerState && amount) {\n var i = spacerState.indexOf(direction.d) + 1;\n spacerState[i] = parseFloat(spacerState[i]) + amount + _px;\n spacerState[1] = parseFloat(spacerState[1]) + amount + _px;\n\n _setState(spacerState);\n }\n };\n\n self.disable = function (reset, allowAnimation) {\n reset !== false && self.revert(true, true);\n\n if (self.enabled) {\n self.enabled = self.isActive = false;\n allowAnimation || scrubTween && scrubTween.pause();\n prevScroll = 0;\n pinCache && (pinCache.uncache = 1);\n onRefreshInit && _removeListener(ScrollTrigger, \"refreshInit\", onRefreshInit);\n\n if (snapDelayedCall) {\n snapDelayedCall.pause();\n tweenTo.tween && tweenTo.tween.kill() && (tweenTo.tween = 0);\n }\n\n if (!isViewport) {\n var i = _triggers.length;\n\n while (i--) {\n if (_triggers[i].scroller === scroller && _triggers[i] !== self) {\n return; //don't remove the listeners if there are still other triggers referencing it.\n }\n }\n\n _removeListener(scroller, \"resize\", _onResize);\n\n isViewport || _removeListener(scroller, \"scroll\", _onScroll);\n }\n }\n };\n\n self.kill = function (revert, allowAnimation) {\n self.disable(revert, allowAnimation);\n scrubTween && !allowAnimation && scrubTween.kill();\n id && delete _ids[id];\n\n var i = _triggers.indexOf(self);\n\n i >= 0 && _triggers.splice(i, 1);\n i === _i && _direction > 0 && _i--; // if we're in the middle of a refresh() or update(), splicing would cause skips in the index, so adjust...\n // if no other ScrollTrigger instances of the same scroller are found, wipe out any recorded scroll position. Otherwise, in a single page application, for example, it could maintain scroll position when it really shouldn't.\n\n i = 0;\n\n _triggers.forEach(function (t) {\n return t.scroller === self.scroller && (i = 1);\n });\n\n i || _refreshingAll || (self.scroll.rec = 0);\n\n if (animation) {\n animation.scrollTrigger = null;\n revert && animation.revert({\n kill: false\n });\n allowAnimation || animation.kill();\n }\n\n markerStart && [markerStart, markerEnd, markerStartTrigger, markerEndTrigger].forEach(function (m) {\n return m.parentNode && m.parentNode.removeChild(m);\n });\n _primary === self && (_primary = 0);\n\n if (pin) {\n pinCache && (pinCache.uncache = 1);\n i = 0;\n\n _triggers.forEach(function (t) {\n return t.pin === pin && i++;\n });\n\n i || (pinCache.spacer = 0); // if there aren't any more ScrollTriggers with the same pin, remove the spacer, otherwise it could be contaminated with old/stale values if the user re-creates a ScrollTrigger for the same element.\n }\n\n vars.onKill && vars.onKill(self);\n };\n\n _triggers.push(self);\n\n self.enable(false, false);\n customRevertReturn && customRevertReturn(self);\n\n if (animation && animation.add && !change) {\n // if the animation is a timeline, it may not have been populated yet, so it wouldn't render at the proper place on the first refresh(), thus we should schedule one for the next tick. If \"change\" is defined, we know it must be re-enabling, thus we can refresh() right away.\n var updateFunc = self.update; // some browsers may fire a scroll event BEFORE a tick elapses and/or the DOMContentLoaded fires. So there's a chance update() will be called BEFORE a refresh() has happened on a Timeline-attached ScrollTrigger which means the start/end won't be calculated yet. We don't want to add conditional logic inside the update() method (like check to see if end is defined and if not, force a refresh()) because that's a function that gets hit a LOT (performance). So we swap out the real update() method for this one that'll re-attach it the first time it gets called and of course forces a refresh().\n\n self.update = function () {\n self.update = updateFunc;\n _scrollers.cache++; // otherwise a cached scroll position may get used in the refresh() in a very rare scenario, like if ScrollTriggers are created inside a DOMContentLoaded event and the queued requestAnimationFrame() fires beforehand. See https://gsap.com/community/forums/topic/41267-scrolltrigger-breaks-on-refresh-when-using-domcontentloaded/\n\n start || end || self.refresh();\n };\n\n gsap.delayedCall(0.01, self.update);\n change = 0.01;\n start = end = 0;\n } else {\n self.refresh();\n }\n\n pin && _queueRefreshAll(); // pinning could affect the positions of other things, so make sure we queue a full refresh()\n };\n\n ScrollTrigger.register = function register(core) {\n if (!_coreInitted) {\n gsap = core || _getGSAP();\n _windowExists() && window.document && ScrollTrigger.enable();\n _coreInitted = _enabled;\n }\n\n return _coreInitted;\n };\n\n ScrollTrigger.defaults = function defaults(config) {\n if (config) {\n for (var p in config) {\n _defaults[p] = config[p];\n }\n }\n\n return _defaults;\n };\n\n ScrollTrigger.disable = function disable(reset, kill) {\n _enabled = 0;\n\n _triggers.forEach(function (trigger) {\n return trigger[kill ? \"kill\" : \"disable\"](reset);\n });\n\n _removeListener(_win, \"wheel\", _onScroll);\n\n _removeListener(_doc, \"scroll\", _onScroll);\n\n clearInterval(_syncInterval);\n\n _removeListener(_doc, \"touchcancel\", _passThrough);\n\n _removeListener(_body, \"touchstart\", _passThrough);\n\n _multiListener(_removeListener, _doc, \"pointerdown,touchstart,mousedown\", _pointerDownHandler);\n\n _multiListener(_removeListener, _doc, \"pointerup,touchend,mouseup\", _pointerUpHandler);\n\n _resizeDelay.kill();\n\n _iterateAutoRefresh(_removeListener);\n\n for (var i = 0; i < _scrollers.length; i += 3) {\n _wheelListener(_removeListener, _scrollers[i], _scrollers[i + 1]);\n\n _wheelListener(_removeListener, _scrollers[i], _scrollers[i + 2]);\n }\n };\n\n ScrollTrigger.enable = function enable() {\n _win = window;\n _doc = document;\n _docEl = _doc.documentElement;\n _body = _doc.body;\n\n if (gsap) {\n _toArray = gsap.utils.toArray;\n _clamp = gsap.utils.clamp;\n _context = gsap.core.context || _passThrough;\n _suppressOverwrites = gsap.core.suppressOverwrites || _passThrough;\n _scrollRestoration = _win.history.scrollRestoration || \"auto\";\n _lastScroll = _win.pageYOffset || 0;\n gsap.core.globals(\"ScrollTrigger\", ScrollTrigger); // must register the global manually because in Internet Explorer, functions (classes) don't have a \"name\" property.\n\n if (_body) {\n _enabled = 1;\n _div100vh = document.createElement(\"div\"); // to solve mobile browser address bar show/hide resizing, we shouldn't rely on window.innerHeight. Instead, use a

with its height set to 100vh and measure that since that's what the scrolling is based on anyway and it's not affected by address bar showing/hiding.\n\n _div100vh.style.height = \"100vh\";\n _div100vh.style.position = \"absolute\";\n\n _refresh100vh();\n\n _rafBugFix();\n\n Observer.register(gsap); // isTouch is 0 if no touch, 1 if ONLY touch, and 2 if it can accommodate touch but also other types like mouse/pointer.\n\n ScrollTrigger.isTouch = Observer.isTouch;\n _fixIOSBug = Observer.isTouch && /(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent); // since 2017, iOS has had a bug that causes event.clientX/Y to be inaccurate when a scroll occurs, thus we must alternate ignoring every other touchmove event to work around it. See https://bugs.webkit.org/show_bug.cgi?id=181954 and https://codepen.io/GreenSock/pen/ExbrPNa/087cef197dc35445a0951e8935c41503\n\n _ignoreMobileResize = Observer.isTouch === 1;\n\n _addListener(_win, \"wheel\", _onScroll); // mostly for 3rd party smooth scrolling libraries.\n\n\n _root = [_win, _doc, _docEl, _body];\n\n if (gsap.matchMedia) {\n ScrollTrigger.matchMedia = function (vars) {\n var mm = gsap.matchMedia(),\n p;\n\n for (p in vars) {\n mm.add(p, vars[p]);\n }\n\n return mm;\n };\n\n gsap.addEventListener(\"matchMediaInit\", function () {\n _recordScrollPositions();\n\n _revertAll();\n });\n gsap.addEventListener(\"matchMediaRevert\", function () {\n return _revertRecorded();\n });\n gsap.addEventListener(\"matchMedia\", function () {\n _refreshAll(0, 1);\n\n _dispatch(\"matchMedia\");\n });\n gsap.matchMedia().add(\"(orientation: portrait)\", function () {\n // when orientation changes, we should take new base measurements for the ignoreMobileResize feature.\n _setBaseDimensions();\n\n return _setBaseDimensions;\n });\n } else {\n console.warn(\"Requires GSAP 3.11.0 or later\");\n }\n\n _setBaseDimensions();\n\n _addListener(_doc, \"scroll\", _onScroll); // some browsers (like Chrome), the window stops dispatching scroll events on the window if you scroll really fast, but it's consistent on the document!\n\n\n var bodyHasStyle = _body.hasAttribute(\"style\"),\n bodyStyle = _body.style,\n border = bodyStyle.borderTopStyle,\n AnimationProto = gsap.core.Animation.prototype,\n bounds,\n i;\n\n AnimationProto.revert || Object.defineProperty(AnimationProto, \"revert\", {\n value: function value() {\n return this.time(-0.01, true);\n }\n }); // only for backwards compatibility (Animation.revert() was added after 3.10.4)\n\n bodyStyle.borderTopStyle = \"solid\"; // works around an issue where a margin of a child element could throw off the bounds of the _body, making it seem like there's a margin when there actually isn't. The border ensures that the bounds are accurate.\n\n bounds = _getBounds(_body);\n _vertical.m = Math.round(bounds.top + _vertical.sc()) || 0; // accommodate the offset of the caused by margins and/or padding\n\n _horizontal.m = Math.round(bounds.left + _horizontal.sc()) || 0;\n border ? bodyStyle.borderTopStyle = border : bodyStyle.removeProperty(\"border-top-style\");\n\n if (!bodyHasStyle) {\n // SSR frameworks like Next.js complain if this attribute gets added.\n _body.setAttribute(\"style\", \"\"); // it's not enough to just removeAttribute() - we must first set it to empty, otherwise Next.js complains.\n\n\n _body.removeAttribute(\"style\");\n } // TODO: (?) maybe move to leveraging the velocity mechanism in Observer and skip intervals.\n\n\n _syncInterval = setInterval(_sync, 250);\n gsap.delayedCall(0.5, function () {\n return _startup = 0;\n });\n\n _addListener(_doc, \"touchcancel\", _passThrough); // some older Android devices intermittently stop dispatching \"touchmove\" events if we don't listen for \"touchcancel\" on the document.\n\n\n _addListener(_body, \"touchstart\", _passThrough); //works around Safari bug: https://gsap.com/forums/topic/21450-draggable-in-iframe-on-mobile-is-buggy/\n\n\n _multiListener(_addListener, _doc, \"pointerdown,touchstart,mousedown\", _pointerDownHandler);\n\n _multiListener(_addListener, _doc, \"pointerup,touchend,mouseup\", _pointerUpHandler);\n\n _transformProp = gsap.utils.checkPrefix(\"transform\");\n\n _stateProps.push(_transformProp);\n\n _coreInitted = _getTime();\n _resizeDelay = gsap.delayedCall(0.2, _refreshAll).pause();\n _autoRefresh = [_doc, \"visibilitychange\", function () {\n var w = _win.innerWidth,\n h = _win.innerHeight;\n\n if (_doc.hidden) {\n _prevWidth = w;\n _prevHeight = h;\n } else if (_prevWidth !== w || _prevHeight !== h) {\n _onResize();\n }\n }, _doc, \"DOMContentLoaded\", _refreshAll, _win, \"load\", _refreshAll, _win, \"resize\", _onResize];\n\n _iterateAutoRefresh(_addListener);\n\n _triggers.forEach(function (trigger) {\n return trigger.enable(0, 1);\n });\n\n for (i = 0; i < _scrollers.length; i += 3) {\n _wheelListener(_removeListener, _scrollers[i], _scrollers[i + 1]);\n\n _wheelListener(_removeListener, _scrollers[i], _scrollers[i + 2]);\n }\n } else if (_doc) {\n var onLoad = function onLoad() {\n ScrollTrigger.enable();\n\n _doc.removeEventListener(\"DOMContentLoaded\", onLoad);\n };\n\n _doc.addEventListener(\"DOMContentLoaded\", onLoad);\n }\n }\n };\n\n ScrollTrigger.config = function config(vars) {\n \"limitCallbacks\" in vars && (_limitCallbacks = !!vars.limitCallbacks);\n var ms = vars.syncInterval;\n ms && clearInterval(_syncInterval) || (_syncInterval = ms) && setInterval(_sync, ms);\n \"ignoreMobileResize\" in vars && (_ignoreMobileResize = ScrollTrigger.isTouch === 1 && vars.ignoreMobileResize);\n\n if (\"autoRefreshEvents\" in vars) {\n _iterateAutoRefresh(_removeListener) || _iterateAutoRefresh(_addListener, vars.autoRefreshEvents || \"none\");\n _ignoreResize = (vars.autoRefreshEvents + \"\").indexOf(\"resize\") === -1;\n }\n };\n\n ScrollTrigger.scrollerProxy = function scrollerProxy(target, vars) {\n var t = _getTarget(target),\n i = _scrollers.indexOf(t),\n isViewport = _isViewport(t);\n\n if (~i) {\n _scrollers.splice(i, isViewport ? 6 : 2);\n }\n\n if (vars) {\n isViewport ? _proxies.unshift(_win, vars, _body, vars, _docEl, vars) : _proxies.unshift(t, vars);\n }\n };\n\n ScrollTrigger.clearMatchMedia = function clearMatchMedia(query) {\n _triggers.forEach(function (t) {\n return t._ctx && t._ctx.query === query && t._ctx.kill(true, true);\n });\n };\n\n ScrollTrigger.isInViewport = function isInViewport(element, ratio, horizontal) {\n var bounds = (_isString(element) ? _getTarget(element) : element).getBoundingClientRect(),\n offset = bounds[horizontal ? _width : _height] * ratio || 0;\n return horizontal ? bounds.right - offset > 0 && bounds.left + offset < _win.innerWidth : bounds.bottom - offset > 0 && bounds.top + offset < _win.innerHeight;\n };\n\n ScrollTrigger.positionInViewport = function positionInViewport(element, referencePoint, horizontal) {\n _isString(element) && (element = _getTarget(element));\n var bounds = element.getBoundingClientRect(),\n size = bounds[horizontal ? _width : _height],\n offset = referencePoint == null ? size / 2 : referencePoint in _keywords ? _keywords[referencePoint] * size : ~referencePoint.indexOf(\"%\") ? parseFloat(referencePoint) * size / 100 : parseFloat(referencePoint) || 0;\n return horizontal ? (bounds.left + offset) / _win.innerWidth : (bounds.top + offset) / _win.innerHeight;\n };\n\n ScrollTrigger.killAll = function killAll(allowListeners) {\n _triggers.slice(0).forEach(function (t) {\n return t.vars.id !== \"ScrollSmoother\" && t.kill();\n });\n\n if (allowListeners !== true) {\n var listeners = _listeners.killAll || [];\n _listeners = {};\n listeners.forEach(function (f) {\n return f();\n });\n }\n };\n\n return ScrollTrigger;\n}();\nScrollTrigger.version = \"3.15.0\";\n\nScrollTrigger.saveStyles = function (targets) {\n return targets ? _toArray(targets).forEach(function (target) {\n // saved styles are recorded in a consecutive alternating Array, like [element, cssText, transform attribute, cache, matchMedia, ...]\n if (target && target.style) {\n var i = _savedStyles.indexOf(target);\n\n i >= 0 && _savedStyles.splice(i, 5);\n\n _savedStyles.push(target, target.style.cssText, target.getBBox && target.getAttribute(\"transform\"), gsap.core.getCache(target), _context());\n }\n }) : _savedStyles;\n};\n\nScrollTrigger.revert = function (soft, media) {\n return _revertAll(!soft, media);\n};\n\nScrollTrigger.create = function (vars, animation) {\n return new ScrollTrigger(vars, animation);\n};\n\nScrollTrigger.refresh = function (safe) {\n return safe ? _onResize(true) : (_coreInitted || ScrollTrigger.register()) && _refreshAll(true);\n};\n\nScrollTrigger.update = function (force) {\n return ++_scrollers.cache && _updateAll(force === true ? 2 : 0);\n};\n\nScrollTrigger.clearScrollMemory = _clearScrollMemory;\n\nScrollTrigger.maxScroll = function (element, horizontal) {\n return _maxScroll(element, horizontal ? _horizontal : _vertical);\n};\n\nScrollTrigger.getScrollFunc = function (element, horizontal) {\n return _getScrollFunc(_getTarget(element), horizontal ? _horizontal : _vertical);\n};\n\nScrollTrigger.getById = function (id) {\n return _ids[id];\n};\n\nScrollTrigger.getAll = function () {\n return _triggers.filter(function (t) {\n return t.vars.id !== \"ScrollSmoother\";\n });\n}; // it's common for people to ScrollTrigger.getAll(t => t.kill()) on page routes, for example, and we don't want it to ruin smooth scrolling by killing the main ScrollSmoother one.\n\n\nScrollTrigger.isScrolling = function () {\n return !!_lastScrollTime;\n};\n\nScrollTrigger.snapDirectional = _snapDirectional;\n\nScrollTrigger.addEventListener = function (type, callback) {\n var a = _listeners[type] || (_listeners[type] = []);\n ~a.indexOf(callback) || a.push(callback);\n};\n\nScrollTrigger.removeEventListener = function (type, callback) {\n var a = _listeners[type],\n i = a && a.indexOf(callback);\n i >= 0 && a.splice(i, 1);\n};\n\nScrollTrigger.batch = function (targets, vars) {\n var result = [],\n varsCopy = {},\n interval = vars.interval || 0.016,\n batchMax = vars.batchMax || 1e9,\n proxyCallback = function proxyCallback(type, callback) {\n var elements = [],\n triggers = [],\n delay = gsap.delayedCall(interval, function () {\n callback(elements, triggers);\n elements = [];\n triggers = [];\n }).pause();\n return function (self) {\n elements.length || delay.restart(true);\n elements.push(self.trigger);\n triggers.push(self);\n batchMax <= elements.length && delay.progress(1);\n };\n },\n p;\n\n for (p in vars) {\n varsCopy[p] = p.substr(0, 2) === \"on\" && _isFunction(vars[p]) && p !== \"onRefreshInit\" ? proxyCallback(p, vars[p]) : vars[p];\n }\n\n if (_isFunction(batchMax)) {\n batchMax = batchMax();\n\n _addListener(ScrollTrigger, \"refresh\", function () {\n return batchMax = vars.batchMax();\n });\n }\n\n _toArray(targets).forEach(function (target) {\n var config = {};\n\n for (p in varsCopy) {\n config[p] = varsCopy[p];\n }\n\n config.trigger = target;\n result.push(ScrollTrigger.create(config));\n });\n\n return result;\n}; // to reduce file size. clamps the scroll and also returns a duration multiplier so that if the scroll gets chopped shorter, the duration gets curtailed as well (otherwise if you're very close to the top of the page, for example, and swipe up really fast, it'll suddenly slow down and take a long time to reach the top).\n\n\nvar _clampScrollAndGetDurationMultiplier = function _clampScrollAndGetDurationMultiplier(scrollFunc, current, end, max) {\n current > max ? scrollFunc(max) : current < 0 && scrollFunc(0);\n return end > max ? (max - current) / (end - current) : end < 0 ? current / (current - end) : 1;\n},\n _allowNativePanning = function _allowNativePanning(target, direction) {\n if (direction === true) {\n target.style.removeProperty(\"touch-action\");\n } else {\n target.style.touchAction = direction === true ? \"auto\" : direction ? \"pan-\" + direction + (Observer.isTouch ? \" pinch-zoom\" : \"\") : \"none\"; // note: Firefox doesn't support it pinch-zoom properly, at least in addition to a pan-x or pan-y.\n }\n\n target === _docEl && _allowNativePanning(_body, direction);\n},\n _overflow = {\n auto: 1,\n scroll: 1\n},\n _nestedScroll = function _nestedScroll(_ref5) {\n var event = _ref5.event,\n target = _ref5.target,\n axis = _ref5.axis;\n\n var node = (event.changedTouches ? event.changedTouches[0] : event).target,\n cache = node._gsap || gsap.core.getCache(node),\n time = _getTime(),\n cs;\n\n if (!cache._isScrollT || time - cache._isScrollT > 2000) {\n // cache for 2 seconds to improve performance.\n while (node && node !== _body && (node.scrollHeight <= node.clientHeight && node.scrollWidth <= node.clientWidth || !(_overflow[(cs = _getComputedStyle(node)).overflowY] || _overflow[cs.overflowX]))) {\n node = node.parentNode;\n }\n\n cache._isScroll = node && node !== target && !_isViewport(node) && (_overflow[(cs = _getComputedStyle(node)).overflowY] || _overflow[cs.overflowX]);\n cache._isScrollT = time;\n }\n\n if (cache._isScroll || axis === \"x\") {\n event.stopPropagation();\n event._gsapAllow = true;\n }\n},\n // capture events on scrollable elements INSIDE the and allow those by calling stopPropagation() when we find a scrollable ancestor\n_inputObserver = function _inputObserver(target, type, inputs, nested) {\n return Observer.create({\n target: target,\n capture: true,\n debounce: false,\n lockAxis: true,\n type: type,\n onWheel: nested = nested && _nestedScroll,\n onPress: nested,\n onDrag: nested,\n onScroll: nested,\n onEnable: function onEnable() {\n return inputs && _addListener(_doc, Observer.eventTypes[0], _captureInputs, false, true);\n },\n onDisable: function onDisable() {\n return _removeListener(_doc, Observer.eventTypes[0], _captureInputs, true);\n }\n });\n},\n _inputExp = /(input|label|select|textarea)/i,\n _inputIsFocused,\n _captureInputs = function _captureInputs(e) {\n var isInput = _inputExp.test(e.target.tagName);\n\n if (isInput || _inputIsFocused) {\n e._gsapAllow = true;\n _inputIsFocused = isInput;\n }\n},\n _getScrollNormalizer = function _getScrollNormalizer(vars) {\n _isObject(vars) || (vars = {});\n vars.preventDefault = vars.isNormalizer = vars.allowClicks = true;\n vars.type || (vars.type = \"wheel,touch\");\n vars.debounce = !!vars.debounce;\n vars.id = vars.id || \"normalizer\";\n\n var _vars2 = vars,\n normalizeScrollX = _vars2.normalizeScrollX,\n momentum = _vars2.momentum,\n allowNestedScroll = _vars2.allowNestedScroll,\n onRelease = _vars2.onRelease,\n self,\n maxY,\n target = _getTarget(vars.target) || _docEl,\n smoother = gsap.core.globals().ScrollSmoother,\n smootherInstance = smoother && smoother.get(),\n content = _fixIOSBug && (vars.content && _getTarget(vars.content) || smootherInstance && vars.content !== false && !smootherInstance.smooth() && smootherInstance.content()),\n scrollFuncY = _getScrollFunc(target, _vertical),\n scrollFuncX = _getScrollFunc(target, _horizontal),\n scale = 1,\n initialScale = (Observer.isTouch && _win.visualViewport ? _win.visualViewport.scale * _win.visualViewport.width : _win.outerWidth) / _win.innerWidth,\n wheelRefresh = 0,\n resolveMomentumDuration = _isFunction(momentum) ? function () {\n return momentum(self);\n } : function () {\n return momentum || 2.8;\n },\n lastRefreshID,\n skipTouchMove,\n inputObserver = _inputObserver(target, vars.type, true, allowNestedScroll),\n resumeTouchMove = function resumeTouchMove() {\n return skipTouchMove = false;\n },\n scrollClampX = _passThrough,\n scrollClampY = _passThrough,\n updateClamps = function updateClamps() {\n maxY = _maxScroll(target, _vertical);\n scrollClampY = _clamp(_fixIOSBug ? 1 : 0, maxY);\n normalizeScrollX && (scrollClampX = _clamp(0, _maxScroll(target, _horizontal)));\n lastRefreshID = _refreshID;\n },\n removeContentOffset = function removeContentOffset() {\n content._gsap.y = _round(parseFloat(content._gsap.y) + scrollFuncY.offset) + \"px\";\n content.style.transform = \"matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, \" + parseFloat(content._gsap.y) + \", 0, 1)\";\n scrollFuncY.offset = scrollFuncY.cacheID = 0;\n },\n ignoreDrag = function ignoreDrag() {\n if (skipTouchMove) {\n requestAnimationFrame(resumeTouchMove);\n\n var offset = _round(self.deltaY / 2),\n scroll = scrollClampY(scrollFuncY.v - offset);\n\n if (content && scroll !== scrollFuncY.v + scrollFuncY.offset) {\n scrollFuncY.offset = scroll - scrollFuncY.v;\n\n var y = _round((parseFloat(content && content._gsap.y) || 0) - scrollFuncY.offset);\n\n content.style.transform = \"matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, \" + y + \", 0, 1)\";\n content._gsap.y = y + \"px\";\n scrollFuncY.cacheID = _scrollers.cache;\n\n _updateAll();\n }\n\n return true;\n }\n\n scrollFuncY.offset && removeContentOffset();\n skipTouchMove = true;\n },\n tween,\n startScrollX,\n startScrollY,\n onStopDelayedCall,\n onResize = function onResize() {\n // if the window resizes, like on an iPhone which Apple FORCES the address bar to show/hide even if we event.preventDefault(), it may be scrolling too far now that the address bar is showing, so we must dynamically adjust the momentum tween.\n updateClamps();\n\n if (tween.isActive() && tween.vars.scrollY > maxY) {\n scrollFuncY() > maxY ? tween.progress(1) && scrollFuncY(maxY) : tween.resetTo(\"scrollY\", maxY);\n }\n };\n\n content && gsap.set(content, {\n y: \"+=0\"\n }); // to ensure there's a cache (element._gsap)\n\n vars.ignoreCheck = function (e) {\n return _fixIOSBug && e.type === \"touchmove\" && ignoreDrag(e) || scale > 1.05 && e.type !== \"touchstart\" || self.isGesturing || e.touches && e.touches.length > 1;\n };\n\n vars.onPress = function () {\n skipTouchMove = false;\n var prevScale = scale;\n scale = _round((_win.visualViewport && _win.visualViewport.scale || 1) / initialScale);\n tween.pause();\n prevScale !== scale && _allowNativePanning(target, scale > 1.01 ? true : normalizeScrollX ? false : \"x\");\n startScrollX = scrollFuncX();\n startScrollY = scrollFuncY();\n updateClamps();\n lastRefreshID = _refreshID;\n };\n\n vars.onRelease = vars.onGestureStart = function (self, wasDragging) {\n scrollFuncY.offset && removeContentOffset();\n\n if (!wasDragging) {\n onStopDelayedCall.restart(true);\n } else {\n _scrollers.cache++; // make sure we're pulling the non-cached value\n // alternate algorithm: durX = Math.min(6, Math.abs(self.velocityX / 800)),\tdur = Math.max(durX, Math.min(6, Math.abs(self.velocityY / 800))); dur = dur * (0.4 + (1 - _power4In(dur / 6)) * 0.6)) * (momentumSpeed || 1)\n\n var dur = resolveMomentumDuration(),\n currentScroll,\n endScroll;\n\n if (normalizeScrollX) {\n currentScroll = scrollFuncX();\n endScroll = currentScroll + dur * 0.05 * -self.velocityX / 0.227; // the constant .227 is from power4(0.05). velocity is inverted because scrolling goes in the opposite direction.\n\n dur *= _clampScrollAndGetDurationMultiplier(scrollFuncX, currentScroll, endScroll, _maxScroll(target, _horizontal));\n tween.vars.scrollX = scrollClampX(endScroll);\n }\n\n currentScroll = scrollFuncY();\n endScroll = currentScroll + dur * 0.05 * -self.velocityY / 0.227; // the constant .227 is from power4(0.05)\n\n dur *= _clampScrollAndGetDurationMultiplier(scrollFuncY, currentScroll, endScroll, _maxScroll(target, _vertical));\n tween.vars.scrollY = scrollClampY(endScroll);\n tween.invalidate().duration(dur).play(0.01);\n\n if (_fixIOSBug && tween.vars.scrollY >= maxY || currentScroll >= maxY - 1) {\n // iOS bug: it'll show the address bar but NOT fire the window \"resize\" event until the animation is done but we must protect against overshoot so we leverage an onUpdate to do so.\n gsap.to({}, {\n onUpdate: onResize,\n duration: dur\n });\n }\n }\n\n onRelease && onRelease(self);\n };\n\n vars.onWheel = function () {\n tween._ts && tween.pause();\n\n if (_getTime() - wheelRefresh > 1000) {\n // after 1 second, refresh the clamps otherwise that'll only happen when ScrollTrigger.refresh() is called or for touch-scrolling.\n lastRefreshID = 0;\n wheelRefresh = _getTime();\n }\n };\n\n vars.onChange = function (self, dx, dy, xArray, yArray) {\n _refreshID !== lastRefreshID && updateClamps();\n dx && normalizeScrollX && scrollFuncX(scrollClampX(xArray[2] === dx ? startScrollX + (self.startX - self.x) : scrollFuncX() + dx - xArray[1])); // for more precision, we track pointer/touch movement from the start, otherwise it'll drift.\n\n if (dy) {\n scrollFuncY.offset && removeContentOffset();\n var isTouch = yArray[2] === dy,\n y = isTouch ? startScrollY + self.startY - self.y : scrollFuncY() + dy - yArray[1],\n yClamped = scrollClampY(y);\n isTouch && y !== yClamped && (startScrollY += yClamped - y);\n scrollFuncY(yClamped);\n }\n\n (dy || dx) && _updateAll();\n };\n\n vars.onEnable = function () {\n _allowNativePanning(target, normalizeScrollX ? false : \"x\");\n\n ScrollTrigger.addEventListener(\"refresh\", onResize);\n\n _addListener(_win, \"resize\", onResize);\n\n if (scrollFuncY.smooth) {\n scrollFuncY.target.style.scrollBehavior = \"auto\";\n scrollFuncY.smooth = scrollFuncX.smooth = false;\n }\n\n inputObserver.enable();\n };\n\n vars.onDisable = function () {\n _allowNativePanning(target, true);\n\n _removeListener(_win, \"resize\", onResize);\n\n ScrollTrigger.removeEventListener(\"refresh\", onResize);\n inputObserver.kill();\n };\n\n vars.lockAxis = vars.lockAxis !== false;\n self = new Observer(vars);\n self.iOS = _fixIOSBug; // used in the Observer getCachedScroll() function to work around an iOS bug that wreaks havoc with TouchEvent.clientY if we allow scroll to go all the way back to 0.\n\n _fixIOSBug && !scrollFuncY() && scrollFuncY(1); // iOS bug causes event.clientY values to freak out (wildly inaccurate) if the scroll position is exactly 0.\n\n _fixIOSBug && gsap.ticker.add(_passThrough); // prevent the ticker from sleeping\n\n onStopDelayedCall = self._dc;\n tween = gsap.to(self, {\n ease: \"power4\",\n paused: true,\n inherit: false,\n scrollX: normalizeScrollX ? \"+=0.1\" : \"+=0\",\n scrollY: \"+=0.1\",\n modifiers: {\n scrollY: _interruptionTracker(scrollFuncY, scrollFuncY(), function () {\n return tween.pause();\n })\n },\n onUpdate: _updateAll,\n onComplete: onStopDelayedCall.vars.onComplete\n }); // we need the modifier to sense if the scroll position is altered outside of the momentum tween (like with a scrollTo tween) so we can pause() it to prevent conflicts.\n\n return self;\n};\n\nScrollTrigger.sort = function (func) {\n if (_isFunction(func)) {\n return _triggers.sort(func);\n }\n\n var scroll = _win.pageYOffset || 0;\n ScrollTrigger.getAll().forEach(function (t) {\n return t._sortY = t.trigger ? scroll + t.trigger.getBoundingClientRect().top : t.start + _win.innerHeight;\n });\n return _triggers.sort(func || function (a, b) {\n return (a.vars.refreshPriority || 0) * -1e6 + (a.vars.containerAnimation ? 1e6 : a._sortY) - ((b.vars.containerAnimation ? 1e6 : b._sortY) + (b.vars.refreshPriority || 0) * -1e6);\n }); // anything with a containerAnimation should refresh last.\n};\n\nScrollTrigger.observe = function (vars) {\n return new Observer(vars);\n};\n\nScrollTrigger.normalizeScroll = function (vars) {\n if (typeof vars === \"undefined\") {\n return _normalizer;\n }\n\n if (vars === true && _normalizer) {\n return _normalizer.enable();\n }\n\n if (vars === false) {\n _normalizer && _normalizer.kill();\n _normalizer = vars;\n return;\n }\n\n var normalizer = vars instanceof Observer ? vars : _getScrollNormalizer(vars);\n _normalizer && _normalizer.target === normalizer.target && _normalizer.kill();\n _isViewport(normalizer.target) && (_normalizer = normalizer);\n return normalizer;\n};\n\nScrollTrigger.core = {\n // smaller file size way to leverage in ScrollSmoother and Observer\n _getVelocityProp: _getVelocityProp,\n _inputObserver: _inputObserver,\n _scrollers: _scrollers,\n _proxies: _proxies,\n bridge: {\n // when normalizeScroll sets the scroll position (ss = setScroll)\n ss: function ss() {\n _lastScrollTime || _dispatch(\"scrollStart\");\n _lastScrollTime = _getTime();\n },\n // a way to get the _refreshing value in Observer\n ref: function ref() {\n return _refreshing;\n }\n }\n};\n_getGSAP() && gsap.registerPlugin(ScrollTrigger);\nexport { ScrollTrigger as default };"],"names":["_assertThisInitialized","self","ReferenceError","_inheritsLoose","subClass","superClass","prototype","Object","create","__proto__","_config","autoSleep","force3D","nullTargetWarn","units","lineHeight","_defaults","duration","overwrite","delay","_suppressOverwrites","_reverting","_context","_bigNum","_tinyNum","_2PI","Math","PI","_HALF_PI","_gsID","_sqrt","sqrt","_cos","cos","_sin","sin","_isString","value","_isFunction","_isNumber","_isUndefined","_isObject","_isNotFalse","_windowExists","_isFuncOrString","_isTypedArray","ArrayBuffer","isView","_isArray","Array","isArray","_randomExp","_commaDelimExp","_strictNumExp","_numExp","_numWithUnitExp","_complexStringNumExp","_relExp","_delimitedValueExp","_unitExp","_globalTimeline","_win","_coreInitted","_doc","_globals","_installScope","_coreReady","_install","scope","_merge","gsap","_missingPlugin","property","console","warn","_warn","message","suppress","_addGlobal","name","obj","_emptyFunc","_startAtRevertConfig","suppressEvents","isStart","kill","_revertConfigNoKill","_revertConfig","_reservedProps","_lazyTweens","_lazyLookup","_lastRenderedFrame","_plugins","_effects","_nextGCFrame","_harnessPlugins","_callbackNames","_harness","targets","target","harnessPlugin","i","_gsap","harness","length","targetTest","GSCache","splice","_getCache","toArray","_getProperty","v","getAttribute","_forEachName","names","func","split","forEach","_round","round","_roundPrecise","_parseRelative","start","operator","charAt","end","parseFloat","substr","_arrayContainsAny","toSearch","toFind","l","indexOf","_lazyRender","a","slice","tween","_lazy","render","_isRevertWorthy","animation","_initted","_startAt","add","_lazySafeRender","time","force","_numericIfPossible","n","match","trim","_passThrough","p","_setDefaults","defaults","_setKeyframeDefaults","excludeDuration","base","toMerge","_mergeDeep","_copyExcluding","excluding","copy","_inheritDefaults","vars","parent","keyframes","inherit","_dp","_arraysMatch","a1","a2","_addLinkedListItem","child","firstProp","lastProp","sortBy","prev","t","_prev","_next","_removeLinkedListItem","next","_removeFromParent","onlyIfParentHasAutoRemove","autoRemoveChildren","remove","_act","_uncache","_end","_dur","_start","_dirty","_recacheAncestors","totalDuration","_rewindStartAt","totalTime","revert","immediateRender","autoRevert","_hasNoPausedAncestors","_ts","_elapsedCycleDuration","_repeat","_animationCycle","_tTime","_rDelay","tTime","cycleDuration","whole","floor","_parentToChildTotalTime","parentTime","_tDur","_setEnd","abs","_rts","_alignPlayhead","smoothChildTiming","_time","_postAddChecks","timeline","rawTime","_clamp","_zTime","_addToTimeline","position","skipChecks","_parsePosition","_delay","timeScale","_sort","_isFromOrFromStart","_recent","_scrollTrigger","trigger","ScrollTrigger","_attemptInitTween","_initTween","_pt","lazy","_ticker","frame","push","_parentPlayheadIsBeforeStart","_ref","_lock","_ref2","data","_renderZeroDurationTween","prevRatio","ratio","repeatDelay","pt","iteration","prevIteration","_yoyo","repeatRefresh","invalidate","_from","r","d","_onUpdate","_callback","_prom","_findNextPauseTween","prevTime","_first","_last","_setDuration","skipUncache","leavePlayhead","repeat","dur","totalProgress","_onUpdateTotalDuration","Timeline","_zeroPosition","endTime","percentAnimation","labels","recent","clippedDuration","offset","isPercent","isNaN","replace","_createTweenType","type","params","isLegacy","varsIndex","irVars","runBackwards","startAt","Tween","_conditionalReturn","min","max","getUnit","exec","clamp","_slice","_isArrayLike","nonEmpty","nodeType","_flatten","ar","leaveStrings","accumulator","_accumulator","apply","selector","_wake","call","querySelectorAll","el","current","nativeElement","createElement","shuffle","sort","random","distribute","each","ease","_parseEase","from","cache","isDecimal","ratios","axis","ratioX","ratioY","center","edges","distances","originX","originY","x","y","j","wrapAt","grid","getBoundingClientRect","left","amount","b","u","_invertEase","_roundModifier","pow","raw","snap","snapTo","radius","is2D","values","increment","closest","dx","dy","roundingIncrement","returnFunction","pipe","_len","arguments","functions","_key","reduce","f","unitize","unit","normalize","mapRange","_wrapArray","wrapper","index","wrap","range","wrapYoyo","total","_replaceRandom","s","arIndex","substring","inMin","inMax","outMin","outMax","inRange","outRange","interpolate","progress","mutate","isString","master","interpolators","il","_addPropTween","_renderPropTweens","_getLabelInDirection","fromTime","backward","distance","label","executeLazyFirst","callback","prevContext","context","_ctx","result","callbackScope","_interrupt","scrollTrigger","_quickTween","_registerPluginQueue","_createPlugin","config","headless","isFunc","Plugin","init","_props","instanceDefaults","_killPropTweensOf","modifier","_addPluginModifier","rawVars","statics","get","getSetter","_getSetter","aliases","register","prop","toUpperCase","PropTween","_255","_colorLookup","aqua","lime","silver","black","maroon","teal","blue","navy","white","olive","yellow","orange","gray","purple","green","red","pink","cyan","transparent","_hue","h","m1","m2","splitColor","toHSL","forceAlpha","g","wasHSL","parseInt","map","Number","_colorOrderData","c","_colorExp","_formatColors","orderMatchData","colors","shell","color","join","shift","RegExp","_hslExp","_colorStringFilter","combined","lastIndex","test","_tickerActive","_getTime","Date","now","_lagThreshold","_adjustedLag","_startTime","_lastUpdate","_gap","_nextTime","_listeners","_id","_req","_raf","_self","_delta","_i","_tick","elapsed","manual","overlap","dispatch","tick","deltaRatio","fps","wake","requestAnimationFrame","sleep","setTimeout","cancelAnimationFrame","clearTimeout","lagSmoothing","threshold","adjustedLag","Infinity","_fps","once","prioritize","_easeMap","_customEaseExp","_quotesExp","_parseObjectInString","key","val","parsedVal","lastIndexOf","_valueInParentheses","open","close","nested","_configEaseFromString","_CE","defaultEase","_insertEase","easeIn","easeOut","easeInOut","lowercaseName","toLowerCase","_easeInOutFromOut","_configElastic","amplitude","period","p1","p2","p3","asin","_configBack","overshoot","power","Linear","easeNone","none","n1","n2","n3","SteppedEase","steps","immediateStart","id","set","Animation","yoyo","yoyoEase","_proto","startTime","_totalTime","_ptLookup","_pTime","_ps","paused","includeRepeats","wrapRepeats","prevIsReverting","globalTime","_sat","seek","restart","includeDelay","play","reversed","reverse","pause","atTime","resume","isActive","eventCallback","then","onFulfilled","prevProm","Promise","resolve","_resolve","_then","_Animation","_this","sortChildren","_proto2","to","fromTo","fromVars","toVars","delayedCall","staggerTo","stagger","onCompleteAll","onCompleteAllParams","onComplete","onCompleteParams","staggerFrom","staggerFromTo","tDur","crossingStart","prevPaused","pauseTween","prevStart","isYoyo","rewinding","doesWrap","onRepeat","_hasPause","_forcing","onUpdate","adjustedTime","_this2","addLabel","getChildren","tweens","timelines","ignoreBeforeTime","getById","animations","removeLabel","killTweensOf","_totalTime2","addPause","removePause","props","onlyActive","getTweensOf","_overwritingTween","parsedTargets","isGlobalTime","children","_targets","tweenTo","tl","_vars","_onStart","onStart","onStartParams","initted","tweenFromTo","fromPosition","toPosition","nextLabel","afterTime","previousLabel","beforeTime","currentLabel","shiftChildren","adjustLabels","soft","clear","includeLabels","updateRoot","_addComplexStringPropTween","setter","stringFilter","funcParam","_renderComplexString","matchIndex","startNums","endNum","chunk","startNum","hasRandom","e","m","fp","optional","currentValue","parsedStart","_setterPlain","_setterFuncWithParam","_setterFunc","_forceAllPropTweens","_renderBoolean","_renderPlain","_processVars","_parseFuncOrString","style","_checkPlugin","plugin","ptLookup","priority","prevStartAt","fullTargets","autoOverwrite","_overwrite","reverseEase","easeReverse","cleanVars","hasPriority","gsData","harnessVars","overwritten","_ease","_rEase","_ptCache","_op","_sortPropTweensByPriority","_onInit","_updatePropTweens","startIsRelative","skipRecursion","ptCache","rootPT","lookup","_addAliasesToVars","propertyAliases","_parseKeyframe","allProps","easeEach","_staggerTweenProps","_staggerPropsToSkip","_Animation2","skipInherit","_this3","_this3$vars","curTarget","staggerFunc","staggerVarsToMerge","kf","_proto3","isNegative","inv","_inv","segDur","_invRatio","_invTime","_invRecip","_invScale","_invEase","resetTo","killingTargets","propTweenLookup","firstPT","overwrittenProps","curLookup","curOverwriteProps","onReverseComplete","onReverseCompleteParams","_setterAttribute","setAttribute","hasNonDependentRemaining","op","dep","_setterWithModifier","mSet","mt","pt2","first","last","pr","change","renderer","_proto4","TweenMax","TweenLite","TimelineLite","TimelineMax","_media","_emptyArray","_lastMediaTime","_contextID","_dispatch","_onMediaChange","matches","queries","conditions","anyMatch","toggled","matchMedia","onMatch","Context","_r","isReverted","_proto5","prevSelector","ignore","getTweens","_this4","o","MatchMedia","contexts","_proto6","cond","mq","active","addListener","addEventListener","registerPlugin","_len2","args","_key2","getProperty","uncache","getter","format","quickSetter","setters","quickTo","_setDefaults2","isTweening","registerEffect","_ref3","effect","plugins","extendTimeline","pluginName","registerEase","parseEase","exportRoot","includeDelayedCalls","matchMediaRefresh","found","removeEventListener","utils","install","effects","ticker","globalTimeline","core","globals","getCache","reverting","toAdd","suppressOverwrites","_getPluginPropTween","_addModifiers","modifiers","_buildModifierPlugin","temp","version","Power0","Power1","Power2","Power3","Power4","Quad","Cubic","Quart","Quint","Strong","Elastic","Back","Bounce","Sine","Expo","Circ","_defineProperties","descriptor","enumerable","configurable","writable","defineProperty","_createClass","Constructor","protoProps","staticProps","_docEl","_body","_isTouch","_pointerType","_root","_normalizer","_eventTypes","_getGSAP","window","_startup","_observers","_scrollers","_proxies","_bridge","_integrate","bridge","scrollers","proxies","_getProxyProp","element","_isViewport","_addListener","passive","capture","_removeListener","_scrollLeft","_scrollTop","_onScroll","isPressed","_scrollCacheFunc","doNotCache","cachingFunc","history","scrollRestoration","isNormalizing","iOS","cacheID","_horizontal","os","os2","d2","sc","scrollTo","_vertical","pageXOffset","pageYOffset","_getTarget","_isWithin","list","contains","_getScrollFunc","scrollingElement","smooth","_getVelocityProp","minTimeRefresh","useDelta","v1","v2","t1","t2","dropToZeroTime","update","reset","getVelocity","latestValue","tOld","vOld","_getEvent","preventDefault","_gsapAllow","cancelable","changedTouches","_getAbsoluteMax","_setScrollTrigger","_initCore","document","body","documentElement","Observer","isTouch","navigator","maxTouchPoints","msMaxTouchPoints","eventTypes","tolerance","dragMinimum","debounce","onStop","onStopDelay","wheelSpeed","event","onDragStart","onDragEnd","onDrag","onPress","onRelease","onRight","onLeft","onUp","onDown","onChangeX","onChangeY","onChange","onToggleX","onToggleY","onHover","onHoverEnd","onMove","ignoreCheck","isNormalizer","onGestureStart","onGestureEnd","onWheel","onEnable","onDisable","onClick","scrollSpeed","allowClicks","lockAxis","onLockAxis","getComputedStyle","onStopDelayedCall","dragged","moved","wheeled","locked","prevDeltaX","prevDeltaY","scrollFuncX","scrollFuncY","scrollX","scrollY","limitToTouch","isViewport","ownerDoc","ownerDocument","deltaX","deltaY","onClickTime","clickCapture","_ignoreCheck","isPointerOrTouch","pointerType","onStopFunc","_vx","_vy","changedX","changedY","onDelta","onTouchOrPointerDelta","_onDrag","clientX","clientY","isDragging","startX","startY","_onPress","button","_onRelease","isTrackingDrag","wasDragging","isDragNotClick","eventData","defaultPrevented","click","createEvent","syntheticEvent","initMouseEvent","screenX","screenY","dispatchEvent","isGesturing","_onGestureStart","touches","_onGestureEnd","onScroll","_onWheel","multiplier","deltaMode","innerHeight","_onMove","_onHover","_onHoverEnd","_onClick","_dc","enable","isEnabled","disable","filter","getAll"],"mappings":"uCAAA,SAASA,EAAuBC,CAAI,EAAI,GAAa,KAAK,GAAG,CAAjBA,EAAmB,MAAUC,AAAJ,eAAmB,6DAAgE,OAAOD,CAAM,CAErK,SAASE,EAAeC,CAAQ,CAAEC,CAAU,EAAID,EAASE,SAAS,CAAGC,OAAOC,MAAM,CAACH,EAAWC,SAAS,EAAGF,EAASE,SAAS,C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B,iBAAkB,EAClB,eAAgB,GAChB,WAAY,EACZ,SAAU,EACV,OAAQ,CAEN,GAAI,SAAS,EACX,IAAmB,GAAU,eAC7B,GAAkB,IACpB,EAEA,IAAK,SAAS,EACZ,OAAO,CACT,CACF,CACF,EACA,MAAc,EAAK,cAAc,CAAC","ignoreList":[0,1,2,3,4]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js b/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js deleted file mode 100644 index 3db34e5..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[90256,(a,b,c)=>{"use strict";function d(a){return a.replace(/\\/g,"/")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"normalizePathSep",{enumerable:!0,get:function(){return d}})},73576,(a,b,c)=>{"use strict";function d(a){return a.startsWith("/")?a:`/${a}`}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureLeadingSlash",{enumerable:!0,get:function(){return d}})},98698,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},5847,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={compareAppPaths:function(){return i},normalizeAppPath:function(){return h},normalizeRscURL:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(73576),g=a.r(98698);function h(a){return(0,f.ensureLeadingSlash)(a.split("/").reduce((a,b,c,d)=>!b||(0,g.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:`${a}/${b}`,""))}function i(a,b){let c=a.includes("/@"),d=b.includes("/@");return c&&!d?-1:!c&&d?1:a.localeCompare(b)}function j(a){return a.replace(/\.rsc($|\?)/,"$1")}},36665,(a,b,c)=>{"use strict";function d(a){return a.endsWith("/route")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isAppRouteRoute",{enumerable:!0,get:function(){return d}})},34738,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_METADATA_ROUTE_EXTENSIONS:function(){return j},STATIC_METADATA_IMAGES:function(){return i},getExtensionRegexString:function(){return k},isMetadataPage:function(){return u},isMetadataRoute:function(){return v},isMetadataRouteFile:function(){return s},isStaticMetadataFile:function(){return l},isStaticMetadataRoute:function(){return t}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(90256),g=a.r(5847),h=a.r(36665),i={icon:{filename:"icon",extensions:["ico","jpg","jpeg","png","svg"]},apple:{filename:"apple-icon",extensions:["jpg","jpeg","png"]},favicon:{filename:"favicon",extensions:["ico"]},openGraph:{filename:"opengraph-image",extensions:["jpg","jpeg","png","gif"]},twitter:{filename:"twitter-image",extensions:["jpg","jpeg","png","gif"]}},j=["js","jsx","ts","tsx"],k=(a,b)=>b&&0!==b.length?`(?:\\.(${a.join("|")})|(\\.(${b.join("|")})))`:`(\\.(?:${a.join("|")}))`;function l(a){return s(a,[],!0)}let m=/^[\\/]favicon\.ico$/,n=/^[\\/]robots\.txt$/,o=/^[\\/]manifest\.json$/,p=/^[\\/]manifest\.webmanifest$/,q=/[\\/]sitemap\.xml$/,r=new Map;function s(a,b,c){if(!a||a.length<2)return!1;let d=(0,f.normalizePathSep)(a),e=!!(m.test(d)||n.test(d)||o.test(d)||p.test(d)||q.test(d))||(!!d.includes("robots")||!!d.includes("manifest")||!!d.includes("sitemap")||!!d.includes("icon")||!!d.includes("apple-icon")||!!d.includes("opengraph-image")||!!d.includes("twitter-image")||!!d.includes("favicon"))&&null;if(null!==e)return e;let g=function(a,b){let c=`${a.join(",")}|${b}`,d=r.get(c);if(d)return d;let e=b?"$":"?$",f="\\d?"+(b?"":"(-\\w{6})?"),g=a.length>0?[...a,"txt"]:["txt"],h=a.length>0?[...a,"webmanifest","json"]:["webmanifest","json"],j=[RegExp(`^[\\\\/]robots${k(g,null)}${e}`),RegExp(`^[\\\\/]manifest${k(h,null)}${e}`),RegExp(`[\\\\/]sitemap${k(["xml"],a)}${e}`),RegExp(`[\\\\/]icon${f}${k(i.icon.extensions,a)}${e}`),RegExp(`[\\\\/]apple-icon${f}${k(i.apple.extensions,a)}${e}`),RegExp(`[\\\\/]opengraph-image${f}${k(i.openGraph.extensions,a)}${e}`),RegExp(`[\\\\/]twitter-image${f}${k(i.twitter.extensions,a)}${e}`)];return r.set(c,j),j}(b,c);for(let a=0;a{"use strict";b.exports=a.r(14747)},3885,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"normalizeLocalePath",{enumerable:!0,get:function(){return e}});let d=new WeakMap;function e(a,b){let c;if(!b)return{pathname:a};let e=d.get(b);e||(e=b.map(a=>a.toLowerCase()),d.set(b,e));let f=a.split("/",2);if(!f[1])return{pathname:a};let g=f[1].toLowerCase(),h=e.indexOf(g);return h<0?{pathname:a}:(c=b[h],{pathname:a=a.slice(c.length+1)||"/",detectedLocale:c})}},43428,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/path-to-regexp/");var a={};(()=>{function b(a,b){void 0===b&&(b={});for(var c=function(a){for(var b=[],c=0;c=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||95===g){e+=a[f++];continue}break}if(!e)throw TypeError("Missing parameter name at ".concat(c));b.push({type:"NAME",index:c,value:e}),c=f;continue}if("("===d){var h=1,i="",f=c+1;if("?"===a[f])throw TypeError('Pattern cannot start with "?" at '.concat(f));for(;f-1)return!0}return!1},q=function(a){var b=i[i.length-1],c=a||(b&&"string"==typeof b?b:"");if(b&&!c)throw TypeError('Must have text between two parameters, missing text after "'.concat(b.name,'"'));return!c||p(c)?"[^".concat(e(h),"]+?"):"(?:(?!".concat(e(c),")[^").concat(e(h),"])+?")};k-1:void 0===v;g||(p+="(?:".concat(o,"(?=").concat(n,"))?")),w||(p+="(?=".concat(o,"|").concat(n,")"))}return new RegExp(p,f(c))}function h(a,c,d){if(a instanceof RegExp){var e;if(!c)return a;for(var i=/\((?:\?<(.*?)>)?(?!\?)/g,j=0,k=i.exec(a.source);k;)c.push({name:k[1]||j++,prefix:"",suffix:"",modifier:"",pattern:""}),k=i.exec(a.source);return a}return Array.isArray(a)?(e=a.map(function(a){return h(a,c,d).source}),new RegExp("(?:".concat(e.join("|"),")"),f(d))):g(b(a,d),c,d)}Object.defineProperty(a,"__esModule",{value:!0}),a.pathToRegexp=a.tokensToRegexp=a.regexpToFunction=a.match=a.tokensToFunction=a.compile=a.parse=void 0,a.parse=b,a.compile=function(a,d){return c(b(a,d),d)},a.tokensToFunction=c,a.match=function(a,b){var c=[];return d(h(a,c,b),c,b)},a.regexpToFunction=d,a.tokensToRegexp=g,a.pathToRegexp=h})(),b.exports=a})()},15943,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getPathMatch",{enumerable:!0,get:function(){return e}});let d=a.r(43428);function e(a,b){let c=[],e=(0,d.pathToRegexp)(a,c,{delimiter:"/",sensitive:"boolean"==typeof b?.sensitive&&b.sensitive,strict:b?.strict}),f=(0,d.regexpToFunction)(b?.regexModifier?new RegExp(b.regexModifier(e.source),e.flags):e,c);return(a,d)=>{if("string"!=typeof a)return!1;let e=f(a);if(!e)return!1;if(b?.removeUnnamedParams)for(let a of c)"number"==typeof a.name&&delete e.params[a.name];return{...d,...e.params}}}},99870,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ACTION_SUFFIX:function(){return q},APP_DIR_ALIAS:function(){return P},CACHE_ONE_YEAR_SECONDS:function(){return F},DOT_NEXT_ALIAS:function(){return N},ESLINT_DEFAULT_DIRS:function(){return ah},GSP_NO_RETURNED_VALUE:function(){return ab},GSSP_COMPONENT_MEMBER_ERROR:function(){return ae},GSSP_NO_RETURNED_VALUE:function(){return ac},HTML_CONTENT_TYPE_HEADER:function(){return g},INFINITE_CACHE:function(){return G},INSTRUMENTATION_HOOK_FILENAME:function(){return L},JSON_CONTENT_TYPE_HEADER:function(){return h},MATCHED_PATH_HEADER:function(){return k},MIDDLEWARE_FILENAME:function(){return H},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return t},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return D},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return w},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return x},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return E},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return C},NEXT_CACHE_TAGS_HEADER:function(){return v},NEXT_CACHE_TAG_MAX_ITEMS:function(){return A},NEXT_CACHE_TAG_MAX_LENGTH:function(){return B},NEXT_DATA_SUFFIX:function(){return r},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return j},NEXT_META_SUFFIX:function(){return s},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return u},NEXT_QUERY_PARAM_PREFIX:function(){return i},NEXT_RESUME_HEADER:function(){return y},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return z},NON_STANDARD_NODE_ENV:function(){return af},PAGES_DIR_ALIAS:function(){return M},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return m},PROXY_FILENAME:function(){return J},PROXY_LOCATION_REGEXP:function(){return K},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return X},ROOT_DIR_ALIAS:function(){return O},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return W},RSC_ACTION_ENCRYPTION_ALIAS:function(){return V},RSC_ACTION_PROXY_ALIAS:function(){return S},RSC_ACTION_VALIDATE_ALIAS:function(){return R},RSC_CACHE_WRAPPER_ALIAS:function(){return T},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return U},RSC_MOD_REF_PROXY_ALIAS:function(){return Q},RSC_SEGMENTS_DIR_SUFFIX:function(){return n},RSC_SEGMENT_SUFFIX:function(){return o},RSC_SUFFIX:function(){return p},SERVER_PROPS_EXPORT_ERROR:function(){return aa},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Z},SERVER_PROPS_SSG_CONFLICT:function(){return $},SERVER_RUNTIME:function(){return ai},SSG_FALLBACK_EXPORT_ERROR:function(){return ag},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return Y},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return _},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return f},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ad},WEBPACK_LAYERS:function(){return al},WEBPACK_RESOURCE_QUERIES:function(){return am},WEB_SOCKET_MAX_RECONNECTIONS:function(){return aj}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="text/plain",g="text/html; charset=utf-8",h="application/json; charset=utf-8",i="nxtP",j="nxtI",k="x-matched-path",l="x-prerender-revalidate",m="x-prerender-revalidate-if-generated",n=".segments",o=".segment.rsc",p=".rsc",q=".action",r=".json",s=".meta",t=".body",u="x-nextjs-deployment-id",v="x-next-cache-tags",w="x-next-revalidated-tags",x="x-next-revalidate-tag-token",y="next-resume",z="x-next-resume-state-length",A=128,B=256,C=1024,D="_N_T_",E="_N_RP_",F=31536e3,G=0xfffffffe,H="middleware",I=`(?:src/)?${H}`,J="proxy",K=`(?:src/)?${J}`,L="instrumentation",M="private-next-pages",N="private-dot-next",O="private-next-root-dir",P="private-next-app-dir",Q="private-next-rsc-mod-ref-proxy",R="private-next-rsc-action-validate",S="private-next-rsc-server-reference",T="private-next-rsc-cache-wrapper",U="private-next-rsc-track-dynamic-import",V="private-next-rsc-action-encryption",W="private-next-rsc-action-client-wrapper",X="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",Y="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Z="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",$="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",_="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",aa="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",ab="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",ac="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ad="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",ae="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",af='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',ag="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ah=["app","pages","components","lib","src"],ai={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},aj=12,ak={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},al={...ak,GROUP:{builtinReact:[ak.reactServerComponents,ak.actionBrowser],serverOnly:[ak.reactServerComponents,ak.actionBrowser,ak.instrument,ak.middleware],neutralTarget:[ak.apiNode,ak.apiEdge],clientOnly:[ak.serverSideRendering,ak.appPagesBrowser],bundled:[ak.reactServerComponents,ak.actionBrowser,ak.serverSideRendering,ak.appPagesBrowser,ak.shared,ak.instrument,ak.middleware],appPages:[ak.reactServerComponents,ak.serverSideRendering,ak.appPagesBrowser,ak.actionBrowser]}},am={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},97908,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={INTERCEPTION_ROUTE_MARKERS:function(){return g},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(5847),g=["(..)(..)","(.)","(..)","(...)"];function h(a){return void 0!==a.split("/").find(a=>g.find(b=>a.startsWith(b)))}function i(a){let b,c,d;for(let e of a.split("/"))if(c=g.find(a=>e.startsWith(a))){[b,d]=a.split(c,2);break}if(!b||!c||!d)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(b=(0,f.normalizeAppPath)(b),c){case"(.)":d="/"===b?`/${d}`:b+"/"+d;break;case"(..)":if("/"===b)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});d=b.split("/").slice(0,-1).concat(d).join("/");break;case"(...)":d="/"+d;break;case"(..)(..)":let e=b.split("/");if(e.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});d=e.slice(0,-2).concat(d).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:b,interceptedRoute:d}}},53386,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"escapeStringRegexp",{enumerable:!0,get:function(){return f}});let d=/[|\\{}()[\]^$+*?.-]/,e=/[|\\{}()[\]^$+*?.-]/g;function f(a){return d.test(a)?a.replace(e,"\\$&"):a}},74993,(a,b,c)=>{"use strict";function d(a){return a.replace(/\/$/,"")||"/"}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"removeTrailingSlash",{enumerable:!0,get:function(){return d}})},98419,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseLoaderTree",{enumerable:!0,get:function(){return e}});let d=a.r(98698);function e(a){let[b,c,e,f]=a,{layout:g,template:h}=e,{page:i}=e;i=b===d.DEFAULT_SEGMENT_KEY?e.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:e,conventionPath:j,parallelRoutes:c,staticSiblings:f}}},38165,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getParamProperties:function(){return i},getSegmentParam:function(){return g},isCatchAll:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(97908);function g(a){let b=f.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b));return(b&&(a=a.slice(b.length)),a.startsWith("[[...")&&a.endsWith("]]"))?{paramType:"optional-catchall",paramName:a.slice(5,-2)}:a.startsWith("[...")&&a.endsWith("]")?{paramType:b?`catchall-intercepted-${b}`:"catchall",paramName:a.slice(4,-1)}:a.startsWith("[")&&a.endsWith("]")?{paramType:b?`dynamic-intercepted-${b}`:"dynamic",paramName:a.slice(1,-1)}:null}function h(a){return"catchall"===a||"catchall-intercepted-(..)(..)"===a||"catchall-intercepted-(.)"===a||"catchall-intercepted-(..)"===a||"catchall-intercepted-(...)"===a||"optional-catchall"===a}function i(a){let b=!1,c=!1;switch(a){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":b=!0;break;case"optional-catchall":b=!0,c=!0}return{repeat:b,optional:c}}},21080,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isInterceptionAppRoute:function(){return k},isNormalizedAppRoute:function(){return j},parseAppRoute:function(){return function a(b,c){let d,e,h,j=b.split("/").filter(Boolean),k=[];for(let l of j){let j=i(function(a){if(!/%5b|%5d/i.test(a))return a;try{let b=decodeURIComponent(a);return(0,g.getSegmentParam)(b)?b:a}catch{return a}}(l));if(j){if(c&&("route-group"===j.type||"parallel-route"===j.type))throw Object.defineProperty(new f.InvariantError(`${b} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(k.push(j),j.interceptionMarker){let f=b.split(j.interceptionMarker);if(2!==f.length)throw Object.defineProperty(Error(`Invalid interception route: ${b}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});e=c?a(f[0],!0):a(f[0],!1),h=c?a(f[1],!0):a(f[1],!1),d=j.interceptionMarker}}}let l=k.filter(a=>"dynamic"===a.type);return{normalized:c,pathname:b,segments:k,dynamicSegments:l,interceptionMarker:d,interceptingRoute:e,interceptedRoute:h}}},parseAppRouteSegment:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(50640),g=a.r(38165),h=a.r(97908);function i(a){if(""===a)return null;let b=h.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b)),c=(0,g.getSegmentParam)(a);return c?{type:"dynamic",name:a,param:c,interceptionMarker:b}:a.startsWith("(")&&a.endsWith(")")?{type:"route-group",name:a,interceptionMarker:b}:a.startsWith("@")?{type:"parallel-route",name:a,interceptionMarker:b}:{type:"static",name:a,interceptionMarker:b}}function j(a){return a.normalized}function k(a){return void 0!==a.interceptionMarker&&void 0!==a.interceptingRoute&&void 0!==a.interceptedRoute}},55795,(a,b,c)=>{"use strict";function d(a){switch(a){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return d}})},56733,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"resolveParamValue",{enumerable:!0,get:function(){return f}});let d=a.r(50640),e=a.r(55795);function f(a,b,c,f,g){switch(b){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let h=[];for(let a=c;a0)return h;if("optional-catchall"===b)return;throw Object.defineProperty(new d.InvariantError(`Unexpected empty path segments match for a route "${f.pathname}" with param "${a}" of type "${b}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(c{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={PARAMETER_PATTERN:function(){return l},getDynamicParam:function(){return k},interpolateParallelRouteParams:function(){return j},parseMatchedParameter:function(){return n},parseParameter:function(){return m}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(50640),g=a.r(98419),h=a.r(21080),i=a.r(56733);function j(a,b,c,d){let e=structuredClone(b),j=[{tree:a,depth:0}],k=(0,h.parseAppRoute)(c,!0);for(;j.length>0;){let{tree:a,depth:b}=j.pop(),{segment:c,parallelRoutes:l}=(0,g.parseLoaderTree)(a),m=(0,h.parseAppRouteSegment)(c);if(m?.type==="dynamic"&&!e.hasOwnProperty(m.param.paramName)&&!d?.has(m.param.paramName)){let{paramName:a,paramType:c}=m.param,d=(0,i.resolveParamValue)(a,c,b,k,e);if(void 0!==d)e[a]=d;else if("optional-catchall"!==c)throw Object.defineProperty(new f.InvariantError(`Could not resolve param value for segment: ${a}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let n=b;for(let a of(m&&"route-group"!==m.type&&"parallel-route"!==m.type&&n++,Object.values(l)))j.push({tree:a,depth:n})}return e}function k(a,b,c,d,e){let g=function(a,b,c){let d=a[b];if(c?.has(b)){let[a]=c.get(b);d=a}else Array.isArray(d)?d=d.map(a=>encodeURIComponent(a)):"string"==typeof d&&(d=encodeURIComponent(d));return d}(a,b,d);if(!g||0===g.length){if("oc"===c)return{param:b,value:null,type:c,treeSegment:[b,"",c,e]};throw Object.defineProperty(new f.InvariantError(`Missing value for segment key: "${b}" with dynamic param type: ${c}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let h=Array.isArray(g)?g.join("/"):g;return{param:b,value:g,treeSegment:[b,h,c,e],type:c}}let l=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function m(a){let b=a.match(l);return b?n(b[2]):n(a)}function n(a){let b=a.startsWith("[")&&a.endsWith("]");b&&(a=a.slice(1,-1));let c=a.startsWith("...");return c&&(a=a.slice(3)),{key:a,repeat:c,optional:b}}},6998,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return o},getRouteRegex:function(){return l}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(99870),g=a.r(97908),h=a.r(53386),i=a.r(74993),j=a.r(23250);function k(a,b,c){let d={},e=1,f=[];for(let k of(0,i.removeTrailingSlash)(a).slice(1).split("/")){let a=g.INTERCEPTION_ROUTE_MARKERS.find(a=>k.startsWith(a)),i=k.match(j.PARAMETER_PATTERN);if(a&&i&&i[2]){let{key:b,optional:c,repeat:g}=(0,j.parseMatchedParameter)(i[2]);d[b]={pos:e++,repeat:g,optional:c},f.push(`/${(0,h.escapeStringRegexp)(a)}([^/]+?)`)}else if(i&&i[2]){let{key:a,repeat:b,optional:g}=(0,j.parseMatchedParameter)(i[2]);d[a]={pos:e++,repeat:b,optional:g},c&&i[1]&&f.push(`/${(0,h.escapeStringRegexp)(i[1])}`);let k=b?g?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";c&&i[1]&&(k=k.substring(1)),f.push(k)}else f.push(`/${(0,h.escapeStringRegexp)(k)}`);b&&i&&i[3]&&f.push((0,h.escapeStringRegexp)(i[3]))}return{parameterizedRoute:f.join(""),groups:d}}function l(a,{includeSuffix:b=!1,includePrefix:c=!1,excludeOptionalTrailingSlash:d=!1}={}){let{parameterizedRoute:e,groups:f}=k(a,b,c),g=e;return d||(g+="(?:/)?"),{re:RegExp(`^${g}$`),groups:f}}function m({interceptionMarker:a,getSafeRouteKey:b,segment:c,routeKeys:d,keyPrefix:e,backreferenceDuplicateKeys:f}){let g,{key:i,optional:k,repeat:l}=(0,j.parseMatchedParameter)(c),n=i.replace(/\W/g,"");e&&(n=`${e}${n}`);let o=!1;(0===n.length||n.length>30)&&(o=!0),isNaN(parseInt(n.slice(0,1)))||(o=!0),o&&(n=b());let p=n in d;e?d[n]=`${e}${i}`:d[n]=i;let q=a?(0,h.escapeStringRegexp)(a):"";return g=p&&f?`\\k<${n}>`:l?`(?<${n}>.+?)`:`(?<${n}>[^/]+?)`,{key:i,pattern:k?`(?:/${q}${g})?`:`/${q}${g}`,cleanedKey:n,optional:k,repeat:l}}function n(a,b,c,d,e,k={names:{},intercepted:{}}){let l,o=(l=0,()=>{let a="",b=++l;for(;b>0;)a+=String.fromCharCode(97+(b-1)%26),b=Math.floor((b-1)/26);return a}),p={},q=[],r=[];for(let l of(k=structuredClone(k),(0,i.removeTrailingSlash)(a).slice(1).split("/"))){let a,i=g.INTERCEPTION_ROUTE_MARKERS.some(a=>l.startsWith(a)),n=l.match(j.PARAMETER_PATTERN),s=i?n?.[1]:void 0;if(s&&n?.[2]?(a=b?f.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,k.intercepted[n[2]]=s):a=n?.[2]&&k.intercepted[n[2]]?b?f.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:b?f.NEXT_QUERY_PARAM_PREFIX:void 0,s&&n&&n[2]){let{key:b,pattern:c,cleanedKey:d,repeat:f,optional:g}=m({getSafeRouteKey:o,interceptionMarker:s,segment:n[2],routeKeys:p,keyPrefix:a,backreferenceDuplicateKeys:e});q.push(c),r.push(`/${n[1]}:${k.names[b]??d}${f?g?"*":"+":""}`),k.names[b]??=d}else if(n&&n[2]){d&&n[1]&&(q.push(`/${(0,h.escapeStringRegexp)(n[1])}`),r.push(`/${n[1]}`));let{key:b,pattern:c,cleanedKey:f,repeat:g,optional:i}=m({getSafeRouteKey:o,segment:n[2],routeKeys:p,keyPrefix:a,backreferenceDuplicateKeys:e}),j=c;d&&n[1]&&(j=j.substring(1)),q.push(j),r.push(`/:${k.names[b]??f}${g?i?"*":"+":""}`),k.names[b]??=f}else q.push(`/${(0,h.escapeStringRegexp)(l)}`),r.push(`/${l}`);c&&n&&n[3]&&(q.push((0,h.escapeStringRegexp)(n[3])),r.push(n[3]))}return{namedParameterizedRoute:q.join(""),routeKeys:p,pathToRegexpPattern:r.join(""),reference:k}}function o(a,b){let c=n(a,b.prefixRouteKeys,b.includeSuffix??!1,b.includePrefix??!1,b.backreferenceDuplicateKeys??!1,b.reference),d=c.namedParameterizedRoute;return b.excludeOptionalTrailingSlash||(d+="(?:/)?"),{...l(a,b),namedRegex:`^${d}$`,routeKeys:c.routeKeys,pathToRegexpPattern:c.pathToRegexpPattern,reference:c.reference}}function p(a,b){let{parameterizedRoute:c}=k(a,!1,!1),{catchAll:d=!0}=b;if("/"===c)return{namedRegex:`^/${d?".*":""}$`};let{namedParameterizedRoute:e}=n(a,!1,!1,!1,!1,void 0);return{namedRegex:`^${e}${d?"(?:(/.*)?)":""}$`}}},69284,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DecodeError:function(){return r},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return u},NormalizeError:function(){return s},PageNotFoundError:function(){return t},SP:function(){return p},ST:function(){return q},WEB_VITALS:function(){return f},execOnce:function(){return g},getDisplayName:function(){return l},getLocationOrigin:function(){return j},getURL:function(){return k},isAbsoluteUrl:function(){return i},isResSent:function(){return m},loadGetInitialProps:function(){return o},normalizeRepeatedSlashes:function(){return n},stringifyError:function(){return w}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["CLS","FCP","FID","INP","LCP","TTFB"];function g(a){let b,c=!1;return(...d)=>(c||(c=!0,b=a(...d)),b)}let h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=a=>h.test(a);function j(){let{protocol:a,hostname:b,port:c}=window.location;return`${a}//${b}${c?":"+c:""}`}function k(){let{href:a}=window.location,b=j();return a.substring(b.length)}function l(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function m(a){return a.finished||a.headersSent}function n(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?`?${b.slice(1).join("?")}`:"")}async function o(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await o(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&m(c))return d;if(!d)throw Object.defineProperty(Error(`"${l(a)}.getInitialProps()" should resolve to an object. But found "${d}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return d}let p="u">typeof performance,q=p&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class r extends Error{}class s extends Error{}class t extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${a}`}}class u extends Error{constructor(a,b){super(),this.message=`Failed to load static file for page: ${a} ${b}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(a){return JSON.stringify({message:a.message,stack:a.stack})}},68906,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={PARAM_SEPARATOR:function(){return f},hasAdjacentParameterIssues:function(){return g},normalizeAdjacentParameters:function(){return h},normalizeTokensForRegexp:function(){return i},stripNormalizedSeparators:function(){return j},stripParameterSeparators:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="_NEXTSEP_";function g(a){return"string"==typeof a&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(a)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(a))}function h(a){let b=a;return(b=b.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${f}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${f}`)}function i(a){return a.map(a=>"object"==typeof a&&null!==a&&"modifier"in a&&("*"===a.modifier||"+"===a.modifier)&&"prefix"in a&&"suffix"in a&&""===a.prefix&&""===a.suffix?{...a,prefix:"/"}:a)}function j(a){return a.replace(RegExp(`\\)${f}`,"g"),")")}function k(a){let b={};for(let[c,d]of Object.entries(a))"string"==typeof d?b[c]=d.replace(RegExp(`^${f}`),""):Array.isArray(d)?b[c]=d.map(a=>"string"==typeof a?a.replace(RegExp(`^${f}`),""):a):b[c]=d;return b}},72205,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={safeCompile:function(){return i},safePathToRegexp:function(){return h},safeRegexpToFunction:function(){return j},safeRouteMatcher:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(43428),g=a.r(68906);function h(a,b,c){if("string"!=typeof a)return(0,f.pathToRegexp)(a,b,c);let d=(0,g.hasAdjacentParameterIssues)(a),e=d?(0,g.normalizeAdjacentParameters)(a):a;try{return(0,f.pathToRegexp)(e,b,c)}catch(e){if(!d)try{let d=(0,g.normalizeAdjacentParameters)(a);return(0,f.pathToRegexp)(d,b,c)}catch(a){}throw e}}function i(a,b){let c=(0,g.hasAdjacentParameterIssues)(a),d=c?(0,g.normalizeAdjacentParameters)(a):a;try{let a=(0,f.compile)(d,b);if(c)return b=>(0,g.stripNormalizedSeparators)(a(b));return a}catch(d){if(!c)try{let c=(0,g.normalizeAdjacentParameters)(a),d=(0,f.compile)(c,b);return a=>(0,g.stripNormalizedSeparators)(d(a))}catch(a){}throw d}}function j(a,b){let c=(0,f.regexpToFunction)(a,b||[]);return a=>{let b=c(a);return!!b&&{...b,params:(0,g.stripParameterSeparators)(b.params)}}}function k(a){return b=>{let c=a(b);return!!c&&(0,g.stripParameterSeparators)(c)}}},78623,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getRouteMatcher",{enumerable:!0,get:function(){return f}});let d=a.r(69284),e=a.r(72205);function f({re:a,groups:b}){return(0,e.safeRouteMatcher)(c=>{let e=a.exec(c);if(!e)return!1;let f=a=>{try{return decodeURIComponent(a)}catch{throw Object.defineProperty(new d.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},g={};for(let[a,c]of Object.entries(b)){let b=e[c.pos];void 0!==b&&(c.repeat?g[a]=b.split("/").map(a=>f(a)):g[a]=f(b))}return g})}},39754,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assign:function(){return i},searchParamsToUrlQuery:function(){return f},urlQueryToSearchParams:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}function g(a){return"string"==typeof a?a:("number"!=typeof a||isNaN(a))&&"boolean"!=typeof a?"":String(a)}function h(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))if(Array.isArray(d))for(let a of d)b.append(c,g(a));else b.set(c,g(d));return b}function i(a,...b){for(let c of b){for(let b of c.keys())a.delete(b);for(let[b,d]of c.entries())a.append(b,d)}return a}},58973,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseRelativeUrl",{enumerable:!0,get:function(){return e}}),a.r(69284);let d=a.r(39754);function e(a,b,c=!0){let f=new URL("http://n"),g=b?new URL(b,f):a.startsWith(".")?new URL("http://n"):f,{pathname:h,searchParams:i,search:j,hash:k,href:l,origin:m}=a.startsWith("/")?new URL(`${g.protocol}//${g.host}${a}`):new URL(a,g);if(m!==f.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${a}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:h,port:null,protocol:null,query:c?(0,d.searchParamsToUrlQuery)(i):void 0,search:j,hash:k,href:l.slice(m.length),slashes:null}}},70521,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseUrl",{enumerable:!0,get:function(){return f}});let d=a.r(39754),e=a.r(58973);function f(a){if(a.startsWith("/"))return(0,e.parseRelativeUrl)(a);let b=new URL(a),c=b.username,f=b.password,g=c?f?`${c}:${f}`:c:null,h=b.pathname,i=b.search;return{auth:g,hash:b.hash,hostname:b.hostname,href:b.href,pathname:h,port:b.port,protocol:b.protocol,query:(0,d.searchParamsToUrlQuery)(b.searchParams),search:i,origin:b.origin,slashes:"//"===b.href.slice(b.protocol.length,b.protocol.length+2)}}},87313,(a,b,c)=>{"use strict";function d(b){return function(){let{cookie:c}=b;if(!c)return{};let{parse:d}=a.r(20460);return d(Array.isArray(c)?c.join("; "):c)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getCookieParser",{enumerable:!0,get:function(){return d}})},51888,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={compileNonPath:function(){return m},matchHas:function(){return l},parseDestination:function(){return n},prepareDestination:function(){return o}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(53386),g=a.r(70521),h=a.r(97908),i=a.r(87313),j=a.r(72205);function k(a){return a.replace(/__ESC_COLON_/gi,":")}function l(a,b,c=[],d=[]){let e={},f=c=>{let d,f=c.key;switch(c.type){case"header":f=f.toLowerCase(),d=a.headers[f];break;case"cookie":d="cookies"in a?a.cookies[c.key]:(0,i.getCookieParser)(a.headers)()[c.key];break;case"query":d=b[f];break;case"host":{let{host:b}=a?.headers||{};d=b?.split(":",1)[0].toLowerCase()}}if(!c.value&&d)return e[function(a){let b="";for(let c=0;c64&&d<91||d>96&&d<123)&&(b+=a[c])}return b}(f)]=d,!0;if(d){let a=RegExp(`^${c.value}$`),b=Array.isArray(d)?d.slice(-1)[0].match(a):d.match(a);if(b)return Array.isArray(b)&&(b.groups?Object.keys(b.groups).forEach(a=>{e[a]=b.groups[a]}):"host"===c.type&&b[0]&&(e.host=b[0])),!0}return!1};return!(!c.every(a=>f(a))||d.some(a=>f(a)))&&e}function m(a,b){if(!a.includes(":"))return a;for(let c of Object.keys(b))a.includes(`:${c}`)&&(a=a.replace(RegExp(`:${c}\\*`,"g"),`:${c}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${c}\\?`,"g"),`:${c}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${c}\\+`,"g"),`:${c}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${c}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${c}`));return a=a.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,j.safeCompile)(`/${a}`,{validate:!1})(b).slice(1)}function n(a){let b=a.destination;for(let c of Object.keys({...a.params,...a.query}))c&&(b=b.replace(RegExp(`:${(0,f.escapeStringRegexp)(c)}`,"g"),`__ESC_COLON_${c}`));let c=(0,g.parseUrl)(b),d=c.pathname;d&&(d=k(d));let e=c.href;e&&(e=k(e));let h=c.hostname;h&&(h=k(h));let i=c.hash;i&&(i=k(i));let j=c.search;j&&(j=k(j));let l=c.origin;return l&&(l=k(l)),{...c,pathname:d,hostname:h,href:e,hash:i,search:j,origin:l}}function o(a){let b,c,d=n(a),{hostname:e,query:f,search:g}=d,i=d.pathname;d.hash&&(i=`${i}${d.hash}`);let l=[],o=[];for(let a of((0,j.safePathToRegexp)(i,o),o))l.push(a.name);if(e){let a=[];for(let b of((0,j.safePathToRegexp)(e,a),a))l.push(b.name)}let p=(0,j.safeCompile)(i,{validate:!1});for(let[c,d]of(e&&(b=(0,j.safeCompile)(e,{validate:!1})),Object.entries(f)))Array.isArray(d)?f[c]=d.map(b=>m(k(b),a.params)):"string"==typeof d&&(f[c]=m(k(d),a.params));let q=Object.keys(a.params).filter(a=>"nextInternalLocale"!==a);if(a.appendParamsToQuery&&!q.some(a=>l.includes(a)))for(let b of q)b in f||(f[b]=a.params[b]);if((0,h.isInterceptionRouteAppPath)(i))for(let b of i.split("/")){let c=h.INTERCEPTION_ROUTE_MARKERS.find(a=>b.startsWith(a));if(c){"(..)(..)"===c?(a.params["0"]="(..)",a.params["1"]="(..)"):a.params["0"]=c;break}}try{let[e,f]=(c=p(a.params)).split("#",2);b&&(d.hostname=b(a.params)),d.pathname=e,d.hash=`${f?"#":""}${f||""}`,d.search=g?m(g,a.params):""}catch(a){if(a.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,configurable:!0});throw a}return d.query={...a.query,...d.query},{newUrl:c,destQuery:f,parsedDestination:d}}},92273,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={fromNodeOutgoingHttpHeaders:function(){return g},normalizeNextQueryParam:function(){return k},splitCookiesString:function(){return h},toNodeOutgoingHttpHeaders:function(){return i},validateURL:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(99870);function g(a){let b=new Headers;for(let[c,d]of Object.entries(a))for(let a of Array.isArray(d)?d:[d])void 0!==a&&("number"==typeof a&&(a=a.toString()),b.append(c,a));return b}function h(a){var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}function i(a){let b={},c=[];if(a)for(let[d,e]of a.entries())"set-cookie"===d.toLowerCase()?(c.push(...h(e)),b[d]=1===c.length?c[0]:c):b[d]=e;return b}function j(a){try{return String(new URL(String(a)))}catch(b){throw Object.defineProperty(Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:b}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function k(a){for(let b of[f.NEXT_QUERY_PARAM_PREFIX,f.NEXT_INTERCEPTION_MARKER_PREFIX])if(a!==b&&a.startsWith(b))return a.substring(b.length);return null}},62315,(a,b,c)=>{"use strict";function d(a){try{return decodeURIComponent(a)}catch{return a}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"decodeQueryPathParameter",{enumerable:!0,get:function(){return d}})},24774,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ACTION_HEADER:function(){return g},FLIGHT_HEADERS:function(){return q},NEXT_ACTION_NOT_FOUND_HEADER:function(){return x},NEXT_ACTION_REVALIDATED_HEADER:function(){return A},NEXT_DID_POSTPONE_HEADER:function(){return t},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return l},NEXT_HMR_REFRESH_HEADER:function(){return k},NEXT_HTML_REQUEST_ID_HEADER:function(){return z},NEXT_INSTANT_PREFETCH_HEADER:function(){return o},NEXT_INSTANT_TEST_COOKIE:function(){return p},NEXT_IS_PRERENDER_HEADER:function(){return w},NEXT_REQUEST_ID_HEADER:function(){return y},NEXT_REWRITTEN_PATH_HEADER:function(){return u},NEXT_REWRITTEN_QUERY_HEADER:function(){return v},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return j},NEXT_ROUTER_STALE_TIME_HEADER:function(){return s},NEXT_ROUTER_STATE_TREE_HEADER:function(){return h},NEXT_RSC_UNION_QUERY:function(){return r},NEXT_URL:function(){return m},RSC_CONTENT_TYPE_HEADER:function(){return n},RSC_HEADER:function(){return f}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="rsc",g="next-action",h="next-router-state-tree",i="next-router-prefetch",j="next-router-segment-prefetch",k="next-hmr-refresh",l="__next_hmr_refresh_hash__",m="next-url",n="text/x-component",o="next-instant-navigation-testing-prefetch",p="next-instant-navigation-testing",q=[f,h,i,k,j],r="_rsc",s="x-nextjs-stale-time",t="x-nextjs-postponed",u="x-nextjs-rewritten-path",v="x-nextjs-rewritten-query",w="x-nextjs-prerender",x="x-nextjs-action-not-found",y="x-nextjs-request-id",z="x-nextjs-html-request-id",A="x-action-revalidated";("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},76750,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isFullStringUrl:function(){return h},parseReqUrl:function(){return j},parseUrl:function(){return i},stripNextRscUnionQuery:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(24774),g="http://n";function h(a){return/https?:\/\//.test(a)}function i(a){let b;try{b=new URL(a,g)}catch{}return b}function j(a){let b=i(a);if(!b)return;let c={};for(let a of b.searchParams.keys()){let d=b.searchParams.getAll(a);c[a]=d.length>1?d:d[0]}return{query:c,hash:b.hash,search:b.search,path:b.pathname,pathname:b.pathname,href:`${b.pathname}${b.search}${b.hash}`,host:"",hostname:"",auth:"",protocol:"",slashes:null,port:""}}function k(a){let b=new URL(a,g);return b.searchParams.delete(f.NEXT_RSC_UNION_QUERY),b.pathname+b.search}},32286,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={formatUrl:function(){return h},formatWithValidation:function(){return j},urlObjectKeys:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(64240)._(a.r(39754)),g=/https?|ftp|gopher|file/;function h(a){let{auth:b,hostname:c}=a,d=a.protocol||"",e=a.pathname||"",h=a.hash||"",i=a.query||"",j=!1;b=b?encodeURIComponent(b).replace(/%3A/i,":")+"@":"",a.host?j=b+a.host:c&&(j=b+(~c.indexOf(":")?`[${c}]`:c),a.port&&(j+=":"+a.port)),i&&"object"==typeof i&&(i=String(f.urlQueryToSearchParams(i)));let k=a.search||i&&`?${i}`||"";return d&&!d.endsWith(":")&&(d+=":"),a.slashes||(!d||g.test(d))&&!1!==j?(j="//"+(j||""),e&&"/"!==e[0]&&(e="/"+e)):j||(j=""),h&&"#"!==h[0]&&(h="#"+h),k&&"?"!==k[0]&&(k="?"+k),e=e.replace(/[?#]/g,encodeURIComponent),k=k.replace("#","%23"),`${d}${j}${e}${k}${h}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function j(a){return h(a)}},66488,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getPreviouslyRevalidatedTags:function(){return w},getServerUtils:function(){return v},interpolateDynamicPath:function(){return t},normalizeCdnUrl:function(){return s},normalizeDynamicRouteParams:function(){return u}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(3885),g=a.r(15943),h=a.r(6998),i=a.r(78623),j=a.r(51888),k=a.r(74993),l=a.r(5847),m=a.r(99870),n=a.r(92273),o=a.r(62315),p=a.r(76750),q=a.r(32286);function r(a,b){for(let c in delete a.nextInternalLocale,a){let d=c!==m.NEXT_QUERY_PARAM_PREFIX&&c.startsWith(m.NEXT_QUERY_PARAM_PREFIX),e=c!==m.NEXT_INTERCEPTION_MARKER_PREFIX&&c.startsWith(m.NEXT_INTERCEPTION_MARKER_PREFIX);(d||e||b.includes(c))&&delete a[c]}}function s(a,b){let c=(0,p.parseReqUrl)(a.url);if(!c)return a.url;delete c.search,r(c.query,b),a.url=(0,q.formatUrl)(c)}function t(a,b,c){if(!c)return a;for(let d of Object.keys(c.groups)){let e,{optional:f,repeat:g}=c.groups[d],h=`[${g?"...":""}${d}]`;f&&(h=`[${h}]`);let i=b[d];((e=Array.isArray(i)?i.map(a=>a&&encodeURIComponent(a)).join("/"):i?encodeURIComponent(i):"")||f)&&(a=a.replaceAll(h,e))}return a}function u(a,b,c,d){let e=(a,b)=>{if(!a)return!1;let c=(0,l.normalizeRscURL)(a);for(let a=0;a<3;a++){if(c===b)return!0;let a=(0,o.decodeQueryPathParameter)(c);if(a===c)break;c=a}return!1},f={};for(let g of Object.keys(b.groups)){let h=a[g];"string"==typeof h?h=(0,l.normalizeRscURL)(h):Array.isArray(h)&&(h=h.map(l.normalizeRscURL));let i=c[g],j=b.groups[g].optional;if((Array.isArray(i)?i.some(a=>Array.isArray(h)?h.some(b=>e(b,a)):e(h,a)):Array.isArray(h)?h.some(a=>e(a,i)):e(h,i))||void 0===h&&!(j&&d))return{params:{},hasValidParams:!1};j&&(!h||Array.isArray(h)&&1===h.length&&("index"===h[0]||h[0]===`[[...${g}]]`)||"index"===h||h===`[[...${g}]]`)&&(h=void 0,delete a[g]),h&&"string"==typeof h&&b.groups[g].repeat&&(h=h.split("/")),h&&(f[g]=h)}return{params:f,hasValidParams:!0}}function v({page:a,i18n:b,basePath:c,rewrites:d,pageIsDynamic:e,trailingSlash:l,caseSensitive:m}){let p,q,w;return e&&(p=(0,h.getNamedRouteRegex)(a,{prefixRouteKeys:!1}),w=(q=(0,i.getRouteMatcher)(p))(a)),{handleRewrites:function(h,i){let n=structuredClone(i),o={},p=n.pathname,r=d=>{let i=(0,g.getPathMatch)(d.source+(l?"(/)?":""),{removeUnnamedParams:!0,strict:!0,sensitive:!!m});if(!n.pathname)return!1;let k=i(n.pathname);if((d.has||d.missing)&&k){let a=(0,j.matchHas)(h,n.query,d.has,d.missing);a?Object.assign(k,a):k=!1}if(k){let{parsedDestination:g,destQuery:h}=(0,j.prepareDestination)({appendParamsToQuery:!0,destination:d.destination,params:k,query:n.query});if(g.protocol)return!0;if(Object.assign(o,h,k),Object.assign(n.query,g.query),delete g.query,Object.assign(n,g),!(p=n.pathname))return!1;if(c&&(p=p.replace(RegExp(`^${c}`),"")||"/"),b){let a=(0,f.normalizeLocalePath)(p,b.locales);p=a.pathname,n.query.nextInternalLocale=a.detectedLocale||k.nextInternalLocale}if(p===a)return!0;if(e&&q){let a=q(p);if(a)return n.query={...n.query,...a},!0}}return!1};for(let a of d.beforeFiles||[])r(a);if(p!==a){let b,c=!1;for(let a of d.afterFiles||[])if(c=r(a))break;if(!c&&!((b=(0,k.removeTrailingSlash)(p||""))===(0,k.removeTrailingSlash)(a)||(null==q?void 0:q(b)))){for(let a of d.fallback||[])if(c=r(a))break}}return{rewriteParams:o,rewrittenParsedUrl:n}},defaultRouteRegex:p,dynamicRouteMatcher:q,defaultRouteMatches:w,normalizeQueryParams:function(a,b){for(let[c,d]of(delete a.nextInternalLocale,Object.entries(a))){let e=(0,n.normalizeNextQueryParam)(c);e&&(delete a[c],b.add(e),void 0!==d&&(a[e]=Array.isArray(d)?d.map(a=>(0,o.decodeQueryPathParameter)(a)):(0,o.decodeQueryPathParameter)(d)))}},getParamsFromRouteMatches:function(a){if(!p)return null;let{groups:b,routeKeys:c}=p,d=(0,i.getRouteMatcher)({re:{exec:a=>{let d=Object.fromEntries(new URLSearchParams(a));for(let[a,b]of Object.entries(d)){let c=(0,n.normalizeNextQueryParam)(a);c&&(d[c]=b,delete d[a])}let e={};for(let a of Object.keys(c)){let f=c[a];if(!f)continue;let g=b[f],h=d[a];if(!g.optional&&!h)return null;e[g.pos]=h}return e}},groups:b})(a);return d||null},normalizeDynamicRouteParams:(a,b)=>p&&w?u(a,p,w,b):{params:{},hasValidParams:!1},normalizeCdnUrl:(a,b)=>s(a,b),interpolateDynamicPath:(a,b)=>t(a,b,p),filterInternalQuery:(a,b)=>r(a,b)}}function w(a,b){return"string"==typeof a[m.NEXT_CACHE_REVALIDATED_TAGS_HEADER]&&a[m.NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER]===b?a[m.NEXT_CACHE_REVALIDATED_TAGS_HEADER].split(","):[]}},37211,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={djb2Hash:function(){return f},hexHash:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b=5381;for(let c=0;c>>0}function g(a){return f(a).toString(36).slice(0,5)}},52425,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={fillMetadataSegment:function(){return p},normalizeMetadataPageToRoute:function(){return r},normalizeMetadataRoute:function(){return q}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(34738),h=(d=a.r(23574))&&d.__esModule?d:{default:d},i=a.r(66488),j=a.r(6998),k=a.r(37211),l=a.r(5847),m=a.r(90256),n=a.r(98698);function o(a){let b=h.default.dirname(a);if(a.endsWith("/sitemap")||a.endsWith("/sitemap.xml"))return"";let c="";return b.split("/").some(a=>(0,n.isGroupSegment)(a)||(0,n.isParallelRouteSegment)(a))&&(c=(0,k.djb2Hash)(b).toString(36).slice(0,6)),c}function p(a,b,c,d){let e=(0,l.normalizeAppPath)(a),f=(0,j.getNamedRouteRegex)(e,{prefixRouteKeys:!1}),g=d?Object.keys(f.groups).reduce((a,b)=>{let{repeat:c}=f.groups[b];return a[b]=c?["-"]:"-",a},{}):b,k=(0,i.interpolateDynamicPath)(e,g,f),{name:n,ext:p}=h.default.parse(c),q=o(h.default.posix.join(a,n)),r=q?`-${q}`:"";return(0,m.normalizePathSep)(h.default.join(k,`${n}${r}${p}`))}function q(a){if(!(0,g.isMetadataPage)(a))return a;let b=a,c="";if("/robots"===a?b+=".txt":"/manifest"===a?b+=".webmanifest":c=o(a),!b.endsWith("/route")){let{dir:a,name:d,ext:e}=h.default.parse(b);b=h.default.posix.join(a,`${d}${c?`-${c}`:""}${e}`,"route")}return b}function r(a,b){let c=a.endsWith("/route"),d=c?a.slice(0,-6):a,e=d.endsWith("/sitemap")?".xml":"";return(b?`${d}/[__metadata_id__]`:`${d}${e}`)+(c?"/route":"")}},71306,(a,b,c)=>{b.exports=a.r(18622)},79847,a=>{a.n(a.i(3343))},9185,a=>{a.n(a.i(29432))},72842,a=>{a.n(a.i(75164))},54897,a=>{a.n(a.i(30106))},56157,a=>{a.n(a.i(18970))},94331,a=>{a.n(a.i(60644))},15988,a=>{a.n(a.i(56952))},25766,a=>{a.n(a.i(77341))},29725,a=>{a.n(a.i(94290))},90833,a=>{a.n(a.i(46994))},5785,a=>{a.n(a.i(90588))},74793,a=>{a.n(a.i(33169))},85826,a=>{a.n(a.i(37111))},21565,a=>{a.n(a.i(41763))},65911,a=>{a.n(a.i(8950))},25128,a=>{a.n(a.i(91562))},40781,a=>{a.n(a.i(49670))},69411,a=>{a.n(a.i(75700))},63081,a=>{a.n(a.i(276))},62837,a=>{a.n(a.i(40795))},34607,a=>{a.n(a.i(11614))},96338,a=>{a.n(a.i(21751))},50642,a=>{a.n(a.i(12213))},32242,a=>{a.n(a.i(22693))},88530,a=>{a.n(a.i(10531))},8583,a=>{a.n(a.i(1082))},38534,a=>{a.n(a.i(98175))},70408,a=>{a.n(a.i(9095))},22922,a=>{a.n(a.i(96772))},78294,a=>{a.n(a.i(71717))},16625,a=>{a.n(a.i(85034))},88648,a=>{a.n(a.i(68113))},51914,a=>{a.n(a.i(66482))},25466,a=>{a.n(a.i(91505))}]; - -//# sourceMappingURL=node_modules_next_dist_09jzzl8._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js.map deleted file mode 100644 index fba06db..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_09jzzl8._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/shared/lib/page-path/normalize-path-sep.ts","../../../../node_modules/next/src/shared/lib/page-path/ensure-leading-slash.ts","../../../../node_modules/next/src/shared/lib/segment.ts","../../../../node_modules/next/src/shared/lib/router/utils/app-paths.ts","../../../../node_modules/next/src/lib/is-app-route-route.ts","../../../../node_modules/next/src/lib/metadata/is-metadata-route.ts","../../../../node_modules/next/src/shared/lib/isomorphic/path.js","../../../../node_modules/next/src/shared/lib/i18n/normalize-locale-path.ts","../../../../node_modules/next/dist/compiled/path-to-regexp/index.js","../../../../node_modules/next/src/shared/lib/router/utils/path-match.ts","../../../../node_modules/next/src/lib/constants.ts","../../../../node_modules/next/src/shared/lib/router/utils/interception-routes.ts","../../../../node_modules/next/src/shared/lib/escape-regexp.ts","../../../../node_modules/next/src/shared/lib/router/utils/remove-trailing-slash.ts","../../../../node_modules/next/src/shared/lib/router/utils/parse-loader-tree.ts","../../../../node_modules/next/src/shared/lib/router/utils/get-segment-param.tsx","../../../../node_modules/next/src/shared/lib/router/routes/app.ts","../../../../node_modules/next/src/shared/lib/router/utils/interception-prefix-from-param-type.ts","../../../../node_modules/next/src/shared/lib/router/utils/resolve-param-value.ts","../../../../node_modules/next/src/shared/lib/router/utils/get-dynamic-param.ts","../../../../node_modules/next/src/shared/lib/router/utils/route-regex.ts","../../../../node_modules/next/src/shared/lib/utils.ts","../../../../node_modules/next/src/lib/route-pattern-normalizer.ts","../../../../node_modules/next/src/shared/lib/router/utils/route-match-utils.ts","../../../../node_modules/next/src/shared/lib/router/utils/route-matcher.ts","../../../../node_modules/next/src/shared/lib/router/utils/querystring.ts","../../../../node_modules/next/src/shared/lib/router/utils/parse-relative-url.ts","../../../../node_modules/next/src/shared/lib/router/utils/parse-url.ts","../../../../node_modules/next/src/server/api-utils/get-cookie-parser.ts","../../../../node_modules/next/src/shared/lib/router/utils/prepare-destination.ts","../../../../node_modules/next/src/server/web/utils.ts","../../../../node_modules/next/src/server/lib/decode-query-path-parameter.ts","../../../../node_modules/next/src/client/components/app-router-headers.ts","../../../../node_modules/next/src/lib/url.ts","../../../../node_modules/next/src/shared/lib/router/utils/format-url.ts","../../../../node_modules/next/src/server/server-utils.ts","../../../../node_modules/next/src/shared/lib/hash.ts","../../../../node_modules/next/src/lib/metadata/get-metadata-route.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js"],"sourcesContent":["/**\n * For a given page path, this function ensures that there is no backslash\n * escaping slashes in the path. Example:\n * - `foo\\/bar\\/baz` -> `foo/bar/baz`\n */\nexport function normalizePathSep(path: string): string {\n return path.replace(/\\\\/g, '/')\n}\n","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */\nexport function ensureLeadingSlash(path: string) {\n return path.startsWith('/') ? path : `/${path}`\n}\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash'\nimport { isGroupSegment } from '../../segment'\n\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */\nexport function normalizeAppPath(route: string) {\n return ensureLeadingSlash(\n route.split('/').reduce((pathname, segment, index, segments) => {\n // Empty segments are ignored.\n if (!segment) {\n return pathname\n }\n\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname\n }\n\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname\n }\n\n // The last segment (if it's a leaf) should be ignored.\n if (\n (segment === 'page' || segment === 'route') &&\n index === segments.length - 1\n ) {\n return pathname\n }\n\n return `${pathname}/${segment}`\n }, '')\n )\n}\n\n/**\n * Comparator for sorting app paths so that parallel slot paths (containing\n * `/@`) come before the children/root page path. This ensures the last item\n * is always the children page, which is what `renderPageComponent` reads via\n * `appPaths[appPaths.length - 1]`.\n *\n * Without this, route group prefixes like `(group)` (char code 0x28) sort\n * before `@` (0x40), causing the children page to sort first instead of last\n * and leading to a manifest mismatch / 404 in webpack dev mode.\n */\nexport function compareAppPaths(a: string, b: string): number {\n const aHasSlot = a.includes('/@')\n const bHasSlot = b.includes('/@')\n if (aHasSlot && !bHasSlot) return -1\n if (!aHasSlot && bHasSlot) return 1\n return a.localeCompare(b)\n}\n\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */\nexport function normalizeRscURL(url: string) {\n return url.replace(\n /\\.rsc($|\\?)/,\n // $1 ensures `?` is preserved\n '$1'\n )\n}\n","export function isAppRouteRoute(route: string): boolean {\n return route.endsWith('/route')\n}\n","import type { PageExtensions } from '../../build/page-extensions-type'\nimport { normalizePathSep } from '../../shared/lib/page-path/normalize-path-sep'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { isAppRouteRoute } from '../is-app-route-route'\n\nexport const STATIC_METADATA_IMAGES = {\n icon: {\n filename: 'icon',\n extensions: ['ico', 'jpg', 'jpeg', 'png', 'svg'],\n },\n apple: {\n filename: 'apple-icon',\n extensions: ['jpg', 'jpeg', 'png'],\n },\n favicon: {\n filename: 'favicon',\n extensions: ['ico'],\n },\n openGraph: {\n filename: 'opengraph-image',\n extensions: ['jpg', 'jpeg', 'png', 'gif'],\n },\n twitter: {\n filename: 'twitter-image',\n extensions: ['jpg', 'jpeg', 'png', 'gif'],\n },\n} as const\n\n// Match routes that are metadata routes, e.g. /sitemap.xml, /favicon., /., etc.\n// TODO-METADATA: support more metadata routes with more extensions\nexport const DEFAULT_METADATA_ROUTE_EXTENSIONS = ['js', 'jsx', 'ts', 'tsx']\n\n// Match the file extension with the dynamic multi-routes extensions\n// e.g. ([xml, js], null) -> can match `/sitemap.xml/route`, `sitemap.js/route`\n// e.g. ([png], [ts]) -> can match `/opengraph-image.png`, `/opengraph-image.ts`\nexport const getExtensionRegexString = (\n staticExtensions: readonly string[],\n dynamicExtensions: readonly string[] | null\n) => {\n let result: string\n // If there's no possible multi dynamic routes, will not match any []. files\n if (!dynamicExtensions || dynamicExtensions.length === 0) {\n result = `(\\\\.(?:${staticExtensions.join('|')}))`\n } else {\n result = `(?:\\\\.(${staticExtensions.join('|')})|(\\\\.(${dynamicExtensions.join('|')})))`\n }\n return result\n}\n\n/**\n * Matches the static metadata files, e.g. /robots.txt, /sitemap.xml, /favicon.ico, etc.\n * @param appDirRelativePath the relative file path to app/\n * @returns if the path is a static metadata file route\n */\nexport function isStaticMetadataFile(appDirRelativePath: string) {\n return isMetadataRouteFile(appDirRelativePath, [], true)\n}\n\n// Pre-compiled static regexes for common cases\nconst FAVICON_REGEX = /^[\\\\/]favicon\\.ico$/\nconst ROBOTS_TXT_REGEX = /^[\\\\/]robots\\.txt$/\nconst MANIFEST_JSON_REGEX = /^[\\\\/]manifest\\.json$/\nconst MANIFEST_WEBMANIFEST_REGEX = /^[\\\\/]manifest\\.webmanifest$/\nconst SITEMAP_XML_REGEX = /[\\\\/]sitemap\\.xml$/\n\n// Cache for compiled regex patterns based on parameters\nconst compiledRegexCache = new Map()\n\n// Fast path checks for common metadata files\nfunction fastPathCheck(normalizedPath: string): boolean | null {\n // Check favicon.ico first (most common)\n if (FAVICON_REGEX.test(normalizedPath)) return true\n\n // Check other common static files\n if (ROBOTS_TXT_REGEX.test(normalizedPath)) return true\n if (MANIFEST_JSON_REGEX.test(normalizedPath)) return true\n if (MANIFEST_WEBMANIFEST_REGEX.test(normalizedPath)) return true\n if (SITEMAP_XML_REGEX.test(normalizedPath)) return true\n\n // Quick negative check - if it doesn't contain any metadata keywords, skip\n if (\n !normalizedPath.includes('robots') &&\n !normalizedPath.includes('manifest') &&\n !normalizedPath.includes('sitemap') &&\n !normalizedPath.includes('icon') &&\n !normalizedPath.includes('apple-icon') &&\n !normalizedPath.includes('opengraph-image') &&\n !normalizedPath.includes('twitter-image') &&\n !normalizedPath.includes('favicon')\n ) {\n return false\n }\n\n return null // Continue with full regex matching\n}\n\nfunction getCompiledRegexes(\n pageExtensions: PageExtensions,\n strictlyMatchExtensions: boolean\n): RegExp[] {\n // Create cache key\n const cacheKey = `${pageExtensions.join(',')}|${strictlyMatchExtensions}`\n\n const cached = compiledRegexCache.get(cacheKey)\n if (cached) {\n return cached\n }\n\n // Pre-compute common strings\n const trailingMatcher = strictlyMatchExtensions ? '$' : '?$'\n const variantsMatcher = '\\\\d?'\n const groupSuffix = strictlyMatchExtensions ? '' : '(-\\\\w{6})?'\n const suffixMatcher = variantsMatcher + groupSuffix\n\n // Pre-compute extension arrays to avoid repeated concatenation\n const robotsExts =\n pageExtensions.length > 0 ? [...pageExtensions, 'txt'] : ['txt']\n const manifestExts =\n pageExtensions.length > 0\n ? [...pageExtensions, 'webmanifest', 'json']\n : ['webmanifest', 'json']\n\n const regexes = [\n new RegExp(\n `^[\\\\\\\\/]robots${getExtensionRegexString(robotsExts, null)}${trailingMatcher}`\n ),\n new RegExp(\n `^[\\\\\\\\/]manifest${getExtensionRegexString(manifestExts, null)}${trailingMatcher}`\n ),\n // FAVICON_REGEX removed - already handled in fastPathCheck\n new RegExp(\n `[\\\\\\\\/]sitemap${getExtensionRegexString(['xml'], pageExtensions)}${trailingMatcher}`\n ),\n new RegExp(\n `[\\\\\\\\/]icon${suffixMatcher}${getExtensionRegexString(\n STATIC_METADATA_IMAGES.icon.extensions,\n pageExtensions\n )}${trailingMatcher}`\n ),\n new RegExp(\n `[\\\\\\\\/]apple-icon${suffixMatcher}${getExtensionRegexString(\n STATIC_METADATA_IMAGES.apple.extensions,\n pageExtensions\n )}${trailingMatcher}`\n ),\n new RegExp(\n `[\\\\\\\\/]opengraph-image${suffixMatcher}${getExtensionRegexString(\n STATIC_METADATA_IMAGES.openGraph.extensions,\n pageExtensions\n )}${trailingMatcher}`\n ),\n new RegExp(\n `[\\\\\\\\/]twitter-image${suffixMatcher}${getExtensionRegexString(\n STATIC_METADATA_IMAGES.twitter.extensions,\n pageExtensions\n )}${trailingMatcher}`\n ),\n ]\n\n compiledRegexCache.set(cacheKey, regexes)\n return regexes\n}\n\n/**\n * Determine if the file is a metadata route file entry\n * @param appDirRelativePath the relative file path to app/\n * @param pageExtensions the js extensions, such as ['js', 'jsx', 'ts', 'tsx']\n * @param strictlyMatchExtensions if it's true, match the file with page extension, otherwise match the file with default corresponding extension\n * @returns if the file is a metadata route file\n */\nexport function isMetadataRouteFile(\n appDirRelativePath: string,\n pageExtensions: PageExtensions,\n strictlyMatchExtensions: boolean\n): boolean {\n // Early exit for empty or obviously non-metadata paths\n if (!appDirRelativePath || appDirRelativePath.length < 2) {\n return false\n }\n\n const normalizedPath = normalizePathSep(appDirRelativePath)\n\n // Fast path check for common cases\n const fastResult = fastPathCheck(normalizedPath)\n if (fastResult !== null) {\n return fastResult\n }\n\n // Get compiled regexes from cache\n const regexes = getCompiledRegexes(pageExtensions, strictlyMatchExtensions)\n\n // Use for loop instead of .some() for better performance\n for (let i = 0; i < regexes.length; i++) {\n if (regexes[i].test(normalizedPath)) {\n return true\n }\n }\n\n return false\n}\n\n// Check if the route is a static metadata route, with /route suffix\n// e.g. /favicon.ico/route, /icon.png/route, etc.\n// But skip the text routes like robots.txt since they might also be dynamic.\n// Checking route path is not enough to determine if text routes is dynamic.\nexport function isStaticMetadataRoute(route: string) {\n // extract ext with regex\n const pathname = route.replace(/\\/route$/, '')\n\n const matched =\n isAppRouteRoute(route) &&\n isMetadataRouteFile(pathname, [], true) &&\n // These routes can either be built by static or dynamic entrypoints,\n // so we assume they're dynamic\n pathname !== '/robots.txt' &&\n pathname !== '/manifest.webmanifest' &&\n !pathname.endsWith('/sitemap.xml')\n\n return matched\n}\n\n/**\n * Determine if a page or pathname is a metadata page.\n *\n * The input is a page or pathname, which can be with or without page suffix /foo/page or /foo.\n * But it will not contain the /route suffix.\n *\n * .e.g\n * /robots -> true\n * /sitemap -> true\n * /foo -> false\n */\nexport function isMetadataPage(page: string) {\n const matched = !isAppRouteRoute(page) && isMetadataRouteFile(page, [], false)\n\n return matched\n}\n\n/*\n * Determine if a Next.js route is a metadata route.\n * `route` will has a route suffix.\n *\n * e.g.\n * /app/robots/route -> true\n * /robots/route -> true\n * /sitemap/[__metadata_id__]/route -> true\n * /app/sitemap/page -> false\n * /icon-a102f4/route -> true\n */\nexport function isMetadataRoute(route: string): boolean {\n let page = normalizeAppPath(route)\n .replace(/^\\/?app\\//, '')\n // Remove the dynamic route id\n .replace('/[__metadata_id__]', '')\n // Remove the /route suffix\n .replace(/\\/route$/, '')\n\n if (page[0] !== '/') page = '/' + page\n\n const matched = isAppRouteRoute(route) && isMetadataRouteFile(page, [], false)\n\n return matched\n}\n","/**\n * This module is for next.js server internal usage of path module.\n * It will use native path module for nodejs runtime.\n * It will use path-browserify polyfill for edge runtime.\n */\nlet path\n\nif (process.env.NEXT_RUNTIME === 'edge') {\n path = require('next/dist/compiled/path-browserify')\n} else {\n path = require('path')\n}\n\nmodule.exports = path\n","export interface PathLocale {\n detectedLocale?: string\n pathname: string\n}\n\n/**\n * A cache of lowercased locales for each list of locales. This is stored as a\n * WeakMap so if the locales are garbage collected, the cache entry will be\n * removed as well.\n */\nconst cache = new WeakMap()\n\n/**\n * For a pathname that may include a locale from a list of locales, it\n * removes the locale from the pathname returning it alongside with the\n * detected locale.\n *\n * @param pathname A pathname that may include a locale.\n * @param locales A list of locales.\n * @returns The detected locale and pathname without locale\n */\nexport function normalizeLocalePath(\n pathname: string,\n locales?: readonly string[]\n): PathLocale {\n // If locales is undefined, return the pathname as is.\n if (!locales) return { pathname }\n\n // Get the cached lowercased locales or create a new cache entry.\n let lowercasedLocales = cache.get(locales)\n if (!lowercasedLocales) {\n lowercasedLocales = locales.map((locale) => locale.toLowerCase())\n cache.set(locales, lowercasedLocales)\n }\n\n let detectedLocale: string | undefined\n\n // The first segment will be empty, because it has a leading `/`. If\n // there is no further segment, there is no locale (or it's the default).\n const segments = pathname.split('/', 2)\n\n // If there's no second segment (ie, the pathname is just `/`), there's no\n // locale.\n if (!segments[1]) return { pathname }\n\n // The second segment will contain the locale part if any.\n const segment = segments[1].toLowerCase()\n\n // See if the segment matches one of the locales. If it doesn't, there is\n // no locale (or it's the default).\n const index = lowercasedLocales.indexOf(segment)\n if (index < 0) return { pathname }\n\n // Return the case-sensitive locale.\n detectedLocale = locales[index]\n\n // Remove the `/${locale}` part of the pathname.\n pathname = pathname.slice(detectedLocale.length + 1) || '/'\n\n return { pathname, detectedLocale }\n}\n","(()=>{\"use strict\";if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var e={};(()=>{var n=e;Object.defineProperty(n,\"__esModule\",{value:true});n.pathToRegexp=n.tokensToRegexp=n.regexpToFunction=n.match=n.tokensToFunction=n.compile=n.parse=void 0;function lexer(e){var n=[];var r=0;while(r=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===95){a+=e[i++];continue}break}if(!a)throw new TypeError(\"Missing parameter name at \".concat(r));n.push({type:\"NAME\",index:r,value:a});r=i;continue}if(t===\"(\"){var c=1;var f=\"\";var i=r+1;if(e[i]===\"?\"){throw new TypeError('Pattern cannot start with \"?\" at '.concat(i))}while(i-1)return true}return false};var safePattern=function(e){var n=c[c.length-1];var r=e||(n&&typeof n===\"string\"?n:\"\");if(n&&!r){throw new TypeError('Must have text between two parameters, missing text after \"'.concat(n.name,'\"'))}if(!r||isSafe(r))return\"[^\".concat(escapeString(o),\"]+?\");return\"(?:(?!\".concat(escapeString(r),\")[^\").concat(escapeString(o),\"])+?\")};while(u)?(?!\\?)/g;var t=0;var a=r.exec(e.source);while(a){n.push({name:a[1]||t++,prefix:\"\",suffix:\"\",modifier:\"\",pattern:\"\"});a=r.exec(e.source)}return e}function arrayToRegexp(e,n,r){var t=e.map((function(e){return pathToRegexp(e,n,r).source}));return new RegExp(\"(?:\".concat(t.join(\"|\"),\")\"),flags(r))}function stringToRegexp(e,n,r){return tokensToRegexp(parse(e,r),n,r)}function tokensToRegexp(e,n,r){if(r===void 0){r={}}var t=r.strict,a=t===void 0?false:t,i=r.start,o=i===void 0?true:i,c=r.end,f=c===void 0?true:c,u=r.encode,p=u===void 0?function(e){return e}:u,v=r.delimiter,s=v===void 0?\"/#?\":v,d=r.endsWith,g=d===void 0?\"\":d;var x=\"[\".concat(escapeString(g),\"]|$\");var h=\"[\".concat(escapeString(s),\"]\");var l=o?\"^\":\"\";for(var m=0,T=e;m-1:A===undefined;if(!a){l+=\"(?:\".concat(h,\"(?=\").concat(x,\"))?\")}if(!_){l+=\"(?=\".concat(h,\"|\").concat(x,\")\")}}return new RegExp(l,flags(r))}n.tokensToRegexp=tokensToRegexp;function pathToRegexp(e,n,r){if(e instanceof RegExp)return regexpToRegexp(e,n);if(Array.isArray(e))return arrayToRegexp(e,n,r);return stringToRegexp(e,n,r)}n.pathToRegexp=pathToRegexp})();module.exports=e})();","import type { Key } from 'next/dist/compiled/path-to-regexp'\nimport { regexpToFunction } from 'next/dist/compiled/path-to-regexp'\nimport { pathToRegexp } from 'next/dist/compiled/path-to-regexp'\n\ninterface Options {\n /**\n * A transformer function that will be applied to the regexp generated\n * from the provided path and path-to-regexp.\n */\n regexModifier?: (regex: string) => string\n /**\n * When true the function will remove all unnamed parameters\n * from the matched parameters.\n */\n removeUnnamedParams?: boolean\n /**\n * When true the regexp won't allow an optional trailing delimiter\n * to match.\n */\n strict?: boolean\n\n /**\n * When true the matcher will be case-sensitive, defaults to false\n */\n sensitive?: boolean\n}\n\nexport type PatchMatcher = (\n pathname: string,\n params?: Record\n) => Record | false\n\n/**\n * Generates a path matcher function for a given path and options based on\n * path-to-regexp. By default the match will be case insensitive, non strict\n * and delimited by `/`.\n */\nexport function getPathMatch(path: string, options?: Options): PatchMatcher {\n const keys: Key[] = []\n const regexp = pathToRegexp(path, keys, {\n delimiter: '/',\n sensitive:\n typeof options?.sensitive === 'boolean' ? options.sensitive : false,\n strict: options?.strict,\n })\n\n const matcher = regexpToFunction>(\n options?.regexModifier\n ? new RegExp(options.regexModifier(regexp.source), regexp.flags)\n : regexp,\n keys\n )\n\n /**\n * A matcher function that will check if a given pathname matches the path\n * given in the builder function. When the path does not match it will return\n * `false` but if it does it will return an object with the matched params\n * merged with the params provided in the second argument.\n */\n return (pathname, params) => {\n // If no pathname is provided it's not a match.\n if (typeof pathname !== 'string') return false\n\n const match = matcher(pathname)\n\n // If the path did not match `false` will be returned.\n if (!match) return false\n\n /**\n * If unnamed params are not allowed they must be removed from\n * the matched parameters. path-to-regexp uses \"string\" for named and\n * \"number\" for unnamed parameters.\n */\n if (options?.removeUnnamedParams) {\n for (const key of keys) {\n if (typeof key.name === 'number') {\n delete match.params[key.name]\n }\n }\n }\n\n return { ...params, ...match.params }\n }\n}\n","import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n 'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n 'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\nexport const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\nexport const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_'\n\n// in seconds\nexport const CACHE_ONE_YEAR_SECONDS = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n 'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n 'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n 'The `unstable_revalidate` property is available for general use.\\n' +\n 'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */\n shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */\n reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */\n serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */\n actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */\n apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */\n apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */\n middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */\n instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */\n edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */\n appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */\n pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */\n pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */\n pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge,\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n","import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n // TODO-APP: add more serious validation\n return (\n path\n .split('/')\n .find((segment) =>\n INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n ) !== undefined\n )\n}\n\ntype InterceptionRouteInformation = {\n /**\n * The intercepting route. This is the route that is being intercepted or the\n * route that the user was coming from. This is matched by the Next-Url\n * header.\n */\n interceptingRoute: string\n\n /**\n * The intercepted route. This is the route that is being intercepted or the\n * route that the user is going to. This is matched by the request pathname.\n */\n interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n path: string\n): InterceptionRouteInformation {\n let interceptingRoute: string | undefined\n let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n let interceptedRoute: string | undefined\n\n for (const segment of path.split('/')) {\n marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n if (marker) {\n ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n break\n }\n }\n\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw new Error(\n `Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`\n )\n }\n\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n switch (marker) {\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute\n }\n break\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n )\n }\n interceptedRoute = interceptingRoute\n .split('/')\n .slice(0, -1)\n .concat(interceptedRoute)\n .join('/')\n break\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute\n break\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n const splitInterceptingRoute = interceptingRoute.split('/')\n if (splitInterceptingRoute.length <= 2) {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n )\n }\n\n interceptedRoute = splitInterceptingRoute\n .slice(0, -2)\n .concat(interceptedRoute)\n .join('/')\n break\n default:\n throw new Error('Invariant: unexpected marker')\n }\n\n return { interceptingRoute, interceptedRoute }\n}\n","// regexp is based on https://github.com/sindresorhus/escape-string-regexp\nconst reHasRegExp = /[|\\\\{}()[\\]^$+*?.-]/\nconst reReplaceRegExp = /[|\\\\{}()[\\]^$+*?.-]/g\n\nexport function escapeStringRegexp(str: string) {\n // see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23\n if (reHasRegExp.test(str)) {\n return str.replace(reReplaceRegExp, '\\\\$&')\n }\n return str\n}\n","/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */\nexport function removeTrailingSlash(route: string) {\n return route.replace(/\\/$/, '') || '/'\n}\n","import { DEFAULT_SEGMENT_KEY } from '../../segment'\nimport type { LoaderTree } from '../../../../server/lib/app-dir-module'\n\nexport function parseLoaderTree(tree: LoaderTree) {\n const [segment, parallelRoutes, modules, staticSiblings] = tree\n const { layout, template } = modules\n let { page } = modules\n // a __DEFAULT__ segment means that this route didn't match any of the\n // segments in the route, so we should use the default page\n page = segment === DEFAULT_SEGMENT_KEY ? modules.defaultPage : page\n\n const conventionPath = layout?.[1] || template?.[1] || page?.[1]\n\n return {\n page,\n segment,\n modules,\n /* it can be either layout / template / page */\n conventionPath,\n parallelRoutes,\n staticSiblings,\n }\n}\n","import { INTERCEPTION_ROUTE_MARKERS } from './interception-routes'\nimport type { DynamicParamTypes } from '../../app-router-types'\n\nexport type SegmentParam = {\n paramName: string\n paramType: DynamicParamTypes\n}\n\n/**\n * Parse dynamic route segment to type of parameter\n */\nexport function getSegmentParam(segment: string): SegmentParam | null {\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((marker) =>\n segment.startsWith(marker)\n )\n\n // if an interception marker is part of the path segment, we need to jump ahead\n // to the relevant portion for param parsing\n if (interceptionMarker) {\n segment = segment.slice(interceptionMarker.length)\n }\n\n if (segment.startsWith('[[...') && segment.endsWith(']]')) {\n return {\n // TODO-APP: Optional catchall does not currently work with parallel routes,\n // so for now aren't handling a potential interception marker.\n paramType: 'optional-catchall',\n paramName: segment.slice(5, -2),\n }\n }\n\n if (segment.startsWith('[...') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker\n ? `catchall-intercepted-${interceptionMarker}`\n : 'catchall',\n paramName: segment.slice(4, -1),\n }\n }\n\n if (segment.startsWith('[') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker\n ? `dynamic-intercepted-${interceptionMarker}`\n : 'dynamic',\n paramName: segment.slice(1, -1),\n }\n }\n\n return null\n}\n\nexport function isCatchAll(\n type: DynamicParamTypes\n): type is\n | 'catchall'\n | 'catchall-intercepted-(..)(..)'\n | 'catchall-intercepted-(.)'\n | 'catchall-intercepted-(..)'\n | 'catchall-intercepted-(...)'\n | 'optional-catchall' {\n return (\n type === 'catchall' ||\n type === 'catchall-intercepted-(..)(..)' ||\n type === 'catchall-intercepted-(.)' ||\n type === 'catchall-intercepted-(..)' ||\n type === 'catchall-intercepted-(...)' ||\n type === 'optional-catchall'\n )\n}\n\nexport function getParamProperties(paramType: DynamicParamTypes): {\n repeat: boolean\n optional: boolean\n} {\n let repeat = false\n let optional = false\n\n switch (paramType) {\n case 'catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n repeat = true\n break\n case 'optional-catchall':\n repeat = true\n optional = true\n break\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n break\n default:\n paramType satisfies never\n }\n\n return { repeat, optional }\n}\n","import { InvariantError } from '../../invariant-error'\nimport { getSegmentParam, type SegmentParam } from '../utils/get-segment-param'\nimport {\n INTERCEPTION_ROUTE_MARKERS,\n type InterceptionMarker,\n} from '../utils/interception-routes'\n\nexport type RouteGroupAppRouteSegment = {\n type: 'route-group'\n name: string\n\n /**\n * If present, this segment has an interception marker prefixing it.\n */\n interceptionMarker?: InterceptionMarker\n}\n\nexport type ParallelRouteAppRouteSegment = {\n type: 'parallel-route'\n name: string\n\n /**\n * If present, this segment has an interception marker prefixing it.\n */\n interceptionMarker?: InterceptionMarker\n}\n\nexport type StaticAppRouteSegment = {\n type: 'static'\n name: string\n\n /**\n * If present, this segment has an interception marker prefixing it.\n */\n interceptionMarker?: InterceptionMarker\n}\n\nexport type DynamicAppRouteSegment = {\n type: 'dynamic'\n name: string\n param: SegmentParam\n\n /**\n * If present, this segment has an interception marker prefixing it.\n */\n interceptionMarker?: InterceptionMarker\n}\n\n/**\n * Represents a single segment in a route path.\n * Can be either static (e.g., \"blog\") or dynamic (e.g., \"[slug]\").\n */\nexport type AppRouteSegment =\n | StaticAppRouteSegment\n | DynamicAppRouteSegment\n | RouteGroupAppRouteSegment\n | ParallelRouteAppRouteSegment\n\nexport type NormalizedAppRouteSegment =\n | StaticAppRouteSegment\n | DynamicAppRouteSegment\n\nfunction normalizeEncodedDynamicPlaceholder(segment: string): string {\n if (!/%5b|%5d/i.test(segment)) {\n return segment\n }\n\n try {\n const decodedSegment = decodeURIComponent(segment)\n return getSegmentParam(decodedSegment) ? decodedSegment : segment\n } catch {\n return segment\n }\n}\n\nexport function parseAppRouteSegment(segment: string): AppRouteSegment | null {\n if (segment === '') {\n return null\n }\n\n // Check if the segment starts with an interception marker\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((m) =>\n segment.startsWith(m)\n )\n\n const param = getSegmentParam(segment)\n if (param) {\n return {\n type: 'dynamic',\n name: segment,\n param,\n interceptionMarker,\n }\n } else if (segment.startsWith('(') && segment.endsWith(')')) {\n return {\n type: 'route-group',\n name: segment,\n interceptionMarker,\n }\n } else if (segment.startsWith('@')) {\n return {\n type: 'parallel-route',\n name: segment,\n interceptionMarker,\n }\n } else {\n return {\n type: 'static',\n name: segment,\n interceptionMarker,\n }\n }\n}\n\nexport type AppRoute = {\n normalized: boolean\n pathname: string\n segments: AppRouteSegment[]\n dynamicSegments: DynamicAppRouteSegment[]\n interceptionMarker: InterceptionMarker | undefined\n interceptingRoute: AppRoute | undefined\n interceptedRoute: AppRoute | undefined\n}\n\nexport type NormalizedAppRoute = Omit & {\n normalized: true\n segments: NormalizedAppRouteSegment[]\n}\n\nexport function isNormalizedAppRoute(\n route: InterceptionAppRoute\n): route is NormalizedInterceptionAppRoute\nexport function isNormalizedAppRoute(\n route: AppRoute | InterceptionAppRoute\n): route is NormalizedAppRoute {\n return route.normalized\n}\n\nexport type InterceptionAppRoute = Omit<\n AppRoute,\n 'interceptionMarker' | 'interceptingRoute' | 'interceptedRoute'\n> & {\n interceptionMarker: InterceptionMarker\n interceptingRoute: AppRoute\n interceptedRoute: AppRoute\n}\n\nexport type NormalizedInterceptionAppRoute = Omit<\n InterceptionAppRoute,\n | 'normalized'\n | 'segments'\n | 'interceptionMarker'\n | 'interceptingRoute'\n | 'interceptedRoute'\n> & {\n normalized: true\n segments: NormalizedAppRouteSegment[]\n interceptionMarker: InterceptionMarker\n interceptingRoute: NormalizedAppRoute\n interceptedRoute: NormalizedAppRoute\n}\n\nexport function isInterceptionAppRoute(\n route: NormalizedAppRoute\n): route is NormalizedInterceptionAppRoute\nexport function isInterceptionAppRoute(\n route: AppRoute\n): route is InterceptionAppRoute {\n return (\n route.interceptionMarker !== undefined &&\n route.interceptingRoute !== undefined &&\n route.interceptedRoute !== undefined\n )\n}\n\nexport function parseAppRoute(\n pathname: string,\n normalized: true\n): NormalizedAppRoute\nexport function parseAppRoute(pathname: string, normalized: false): AppRoute\nexport function parseAppRoute(\n pathname: string,\n normalized: boolean\n): AppRoute | NormalizedAppRoute {\n const pathnameSegments = pathname.split('/').filter(Boolean)\n\n // Build segments array with static and dynamic segments\n const segments: AppRouteSegment[] = []\n\n // Parse if this is an interception route.\n let interceptionMarker: InterceptionMarker | undefined\n let interceptingRoute: AppRoute | NormalizedAppRoute | undefined\n let interceptedRoute: AppRoute | NormalizedAppRoute | undefined\n\n for (const segment of pathnameSegments) {\n const normalizedSegment = normalizeEncodedDynamicPlaceholder(segment)\n\n // Parse the segment into an AppSegment.\n const appSegment = parseAppRouteSegment(normalizedSegment)\n if (!appSegment) {\n continue\n }\n\n if (\n normalized &&\n (appSegment.type === 'route-group' ||\n appSegment.type === 'parallel-route')\n ) {\n throw new InvariantError(\n `${pathname} is being parsed as a normalized route, but it has a route group or parallel route segment.`\n )\n }\n\n segments.push(appSegment)\n\n if (appSegment.interceptionMarker) {\n const parts = pathname.split(appSegment.interceptionMarker)\n if (parts.length !== 2) {\n throw new Error(`Invalid interception route: ${pathname}`)\n }\n\n interceptingRoute = normalized\n ? parseAppRoute(parts[0], true)\n : parseAppRoute(parts[0], false)\n interceptedRoute = normalized\n ? parseAppRoute(parts[1], true)\n : parseAppRoute(parts[1], false)\n interceptionMarker = appSegment.interceptionMarker\n }\n }\n\n const dynamicSegments = segments.filter(\n (segment) => segment.type === 'dynamic'\n )\n\n return {\n normalized,\n pathname,\n segments,\n dynamicSegments,\n interceptionMarker,\n interceptingRoute,\n interceptedRoute,\n }\n}\n","import type { DynamicParamTypes } from '../../app-router-types'\n\nexport function interceptionPrefixFromParamType(\n paramType: DynamicParamTypes\n): string | null {\n switch (paramType) {\n case 'catchall-intercepted-(..)(..)':\n case 'dynamic-intercepted-(..)(..)':\n return '(..)(..)'\n case 'catchall-intercepted-(.)':\n case 'dynamic-intercepted-(.)':\n return '(.)'\n case 'catchall-intercepted-(..)':\n case 'dynamic-intercepted-(..)':\n return '(..)'\n case 'catchall-intercepted-(...)':\n case 'dynamic-intercepted-(...)':\n return '(...)'\n case 'catchall':\n case 'dynamic':\n case 'optional-catchall':\n default:\n return null\n }\n}\n","import type { Params } from '../../../../server/request/params'\nimport type { DynamicParamTypes } from '../../app-router-types'\nimport { InvariantError } from '../../invariant-error'\nimport type {\n NormalizedAppRoute,\n NormalizedAppRouteSegment,\n} from '../routes/app'\nimport { interceptionPrefixFromParamType } from './interception-prefix-from-param-type'\n\n/**\n * Extracts the param value from a path segment, handling interception markers\n * based on the expected param type.\n *\n * @param pathSegment - The path segment to extract the value from\n * @param params - The current params object for resolving dynamic param references\n * @param paramType - The expected param type which may include interception marker info\n * @returns The extracted param value\n */\nfunction getParamValueFromSegment(\n pathSegment: NormalizedAppRouteSegment,\n params: Params,\n paramType: DynamicParamTypes\n): string {\n // If the segment is dynamic, resolve it from the params object\n if (pathSegment.type === 'dynamic') {\n return params[pathSegment.param.paramName] as string\n }\n\n // If the paramType indicates this is an intercepted param, strip the marker\n // that matches the interception marker in the param type\n const interceptionPrefix = interceptionPrefixFromParamType(paramType)\n if (interceptionPrefix === pathSegment.interceptionMarker) {\n return pathSegment.name.replace(pathSegment.interceptionMarker, '')\n }\n\n // For static segments, use the name\n return pathSegment.name\n}\n\n/**\n * Resolves a route parameter value from the route segments at the given depth.\n * This shared logic is used by both extractPathnameRouteParamSegmentsFromLoaderTree\n * and resolveRouteParamsFromTree.\n *\n * @param paramName - The parameter name to resolve\n * @param paramType - The parameter type (dynamic, catchall, etc.)\n * @param depth - The current depth in the route tree\n * @param route - The normalized route containing segments\n * @param params - The current params object (used to resolve embedded param references)\n * @param options - Configuration options\n * @returns The resolved parameter value, or undefined if it cannot be resolved\n */\nexport function resolveParamValue(\n paramName: string,\n paramType: DynamicParamTypes,\n depth: number,\n route: NormalizedAppRoute,\n params: Params\n): string | string[] | undefined {\n switch (paramType) {\n case 'catchall':\n case 'optional-catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n // For catchall routes, derive from pathname using depth to determine\n // which segments to use\n const processedSegments: string[] = []\n\n // Process segments to handle any embedded dynamic params\n for (let index = depth; index < route.segments.length; index++) {\n const pathSegment = route.segments[index]\n\n if (pathSegment.type === 'static') {\n let value = pathSegment.name\n\n // For intercepted catch-all params, strip the marker from the first segment\n const interceptionPrefix = interceptionPrefixFromParamType(paramType)\n if (\n interceptionPrefix &&\n index === depth &&\n interceptionPrefix === pathSegment.interceptionMarker\n ) {\n // Strip the interception marker from the value\n value = value.replace(pathSegment.interceptionMarker, '')\n }\n\n processedSegments.push(value)\n } else {\n // If the segment is a param placeholder, check if we have its value\n if (!params.hasOwnProperty(pathSegment.param.paramName)) {\n // If the segment is an optional catchall, we can break out of the\n // loop because it's optional!\n if (pathSegment.param.paramType === 'optional-catchall') {\n break\n }\n\n // Unknown param placeholder in pathname - can't derive full value\n return undefined\n }\n\n // If the segment matches a param, use the param value\n // We don't encode values here as that's handled during retrieval.\n const paramValue = params[pathSegment.param.paramName]\n if (Array.isArray(paramValue)) {\n processedSegments.push(...paramValue)\n } else {\n processedSegments.push(paramValue as string)\n }\n }\n }\n\n if (processedSegments.length > 0) {\n return processedSegments\n } else if (paramType === 'optional-catchall') {\n return undefined\n } else {\n // We shouldn't be able to match a catchall segment without any path\n // segments if it's not an optional catchall\n throw new InvariantError(\n `Unexpected empty path segments match for a route \"${route.pathname}\" with param \"${paramName}\" of type \"${paramType}\"`\n )\n }\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n // For regular dynamic parameters, take the segment at this depth\n if (depth < route.segments.length) {\n const pathSegment = route.segments[depth]\n\n // Check if the segment at this depth is a placeholder for an unknown param\n if (\n pathSegment.type === 'dynamic' &&\n !params.hasOwnProperty(pathSegment.param.paramName)\n ) {\n // The segment is a placeholder like [category] and we don't have the value\n return undefined\n }\n\n // If the segment matches a param, use the param value from params object\n // Otherwise it's a static segment, just use it directly\n // We don't encode values here as that's handled during retrieval\n return getParamValueFromSegment(pathSegment, params, paramType)\n }\n\n return undefined\n\n default:\n paramType satisfies never\n }\n}\n","import type { DynamicParam } from '../../../../server/app-render/app-render'\nimport type { LoaderTree } from '../../../../server/lib/app-dir-module'\nimport type { OpaqueFallbackRouteParams } from '../../../../server/request/fallback-params'\nimport type { Params } from '../../../../server/request/params'\nimport type { DynamicParamTypesShort } from '../../app-router-types'\nimport { InvariantError } from '../../invariant-error'\nimport { parseLoaderTree } from './parse-loader-tree'\nimport { parseAppRoute, parseAppRouteSegment } from '../routes/app'\nimport { resolveParamValue } from './resolve-param-value'\n\n/**\n * Gets the value of a param from the params object. This correctly handles the\n * case where the param is a fallback route param and encodes the resulting\n * value.\n *\n * @param interpolatedParams - The params object.\n * @param segmentKey - The key of the segment.\n * @param fallbackRouteParams - The fallback route params.\n * @returns The value of the param.\n */\nfunction getParamValue(\n interpolatedParams: Params,\n segmentKey: string,\n fallbackRouteParams: OpaqueFallbackRouteParams | null\n) {\n let value = interpolatedParams[segmentKey]\n\n if (fallbackRouteParams?.has(segmentKey)) {\n // We know that the fallback route params has the segment key because we\n // checked that above.\n const [searchValue] = fallbackRouteParams.get(segmentKey)!\n value = searchValue\n } else if (Array.isArray(value)) {\n value = value.map((i) => encodeURIComponent(i))\n } else if (typeof value === 'string') {\n value = encodeURIComponent(value)\n }\n\n return value\n}\n\nexport function interpolateParallelRouteParams(\n loaderTree: LoaderTree,\n params: Params,\n pagePath: string,\n fallbackRouteParams: OpaqueFallbackRouteParams | null\n): Params {\n const interpolated = structuredClone(params)\n\n // Stack-based traversal with depth tracking\n const stack: Array<{ tree: LoaderTree; depth: number }> = [\n { tree: loaderTree, depth: 0 },\n ]\n\n // Parse the route from the provided page path.\n const route = parseAppRoute(pagePath, true)\n\n while (stack.length > 0) {\n const { tree, depth } = stack.pop()!\n const { segment, parallelRoutes } = parseLoaderTree(tree)\n\n const appSegment = parseAppRouteSegment(segment)\n\n if (\n appSegment?.type === 'dynamic' &&\n !interpolated.hasOwnProperty(appSegment.param.paramName) &&\n // If the param is in the fallback route params, we don't need to\n // interpolate it because it's already marked as being unknown.\n !fallbackRouteParams?.has(appSegment.param.paramName)\n ) {\n const { paramName, paramType } = appSegment.param\n\n const paramValue = resolveParamValue(\n paramName,\n paramType,\n depth,\n route,\n interpolated\n )\n\n if (paramValue !== undefined) {\n interpolated[paramName] = paramValue\n } else if (paramType !== 'optional-catchall') {\n throw new InvariantError(\n `Could not resolve param value for segment: ${paramName}`\n )\n }\n }\n\n // Calculate next depth - increment if this is not a route group and not empty\n let nextDepth = depth\n if (\n appSegment &&\n appSegment.type !== 'route-group' &&\n appSegment.type !== 'parallel-route'\n ) {\n nextDepth++\n }\n\n // Add all parallel routes to the stack for processing\n for (const parallelRoute of Object.values(parallelRoutes)) {\n stack.push({ tree: parallelRoute, depth: nextDepth })\n }\n }\n\n return interpolated\n}\n\n/**\n *\n * Shared logic on client and server for creating a dynamic param value.\n *\n * This code needs to be shared with the client so it can extract dynamic route\n * params from the URL without a server request.\n *\n * Because everything in this module is sent to the client, we should aim to\n * keep this code as simple as possible. The special case handling for catchall\n * and optional is, alas, unfortunate.\n */\nexport function getDynamicParam(\n interpolatedParams: Params,\n segmentKey: string,\n dynamicParamType: DynamicParamTypesShort,\n fallbackRouteParams: OpaqueFallbackRouteParams | null,\n staticSiblings: readonly string[] | null\n): DynamicParam {\n let value: string | string[] | undefined = getParamValue(\n interpolatedParams,\n segmentKey,\n fallbackRouteParams\n )\n\n // handle the case where an optional catchall does not have a value,\n // e.g. `/dashboard/[[...slug]]` when requesting `/dashboard`\n if (!value || value.length === 0) {\n if (dynamicParamType === 'oc') {\n return {\n param: segmentKey,\n value: null,\n type: dynamicParamType,\n treeSegment: [segmentKey, '', dynamicParamType, staticSiblings],\n }\n }\n\n throw new InvariantError(\n `Missing value for segment key: \"${segmentKey}\" with dynamic param type: ${dynamicParamType}`\n )\n }\n\n const paramCacheKey = Array.isArray(value) ? value.join('/') : value\n\n return {\n param: segmentKey,\n // The value that is passed to user code.\n value,\n // The value that is rendered in the router tree.\n // TODO: If the number of static siblings exceeds some threshold (e.g.,\n // dozens or hundreds), consider sending a Bloom filter instead of the full\n // array to reduce payload size. The client would then use the Bloom filter\n // to check membership with a small false positive rate.\n treeSegment: [segmentKey, paramCacheKey, dynamicParamType, staticSiblings],\n type: dynamicParamType,\n }\n}\n\n/**\n * Regular expression pattern used to match route parameters.\n * Matches both single parameters and parameter groups.\n * Examples:\n * - `[[...slug]]` matches parameter group with key 'slug', repeat: true, optional: true\n * - `[...slug]` matches parameter group with key 'slug', repeat: true, optional: false\n * - `[[foo]]` matches parameter with key 'foo', repeat: false, optional: true\n * - `[bar]` matches parameter with key 'bar', repeat: false, optional: false\n */\nexport const PARAMETER_PATTERN = /^([^[]*)\\[((?:\\[[^\\]]*\\])|[^\\]]+)\\](.*)$/\n\n/**\n * Parses a given parameter from a route to a data structure that can be used\n * to generate the parametrized route.\n * Examples:\n * - `[[...slug]]` -> `{ key: 'slug', repeat: true, optional: true }`\n * - `[...slug]` -> `{ key: 'slug', repeat: true, optional: false }`\n * - `[[foo]]` -> `{ key: 'foo', repeat: false, optional: true }`\n * - `[bar]` -> `{ key: 'bar', repeat: false, optional: false }`\n * - `fizz` -> `{ key: 'fizz', repeat: false, optional: false }`\n * @param param - The parameter to parse.\n * @returns The parsed parameter as a data structure.\n */\nexport function parseParameter(param: string) {\n const match = param.match(PARAMETER_PATTERN)\n\n if (!match) {\n return parseMatchedParameter(param)\n }\n\n return parseMatchedParameter(match[2])\n}\n\n/**\n * Parses a matched parameter from the PARAMETER_PATTERN regex to a data structure that can be used\n * to generate the parametrized route.\n * Examples:\n * - `[...slug]` -> `{ key: 'slug', repeat: true, optional: true }`\n * - `...slug` -> `{ key: 'slug', repeat: true, optional: false }`\n * - `[foo]` -> `{ key: 'foo', repeat: false, optional: true }`\n * - `bar` -> `{ key: 'bar', repeat: false, optional: false }`\n * @param param - The matched parameter to parse.\n * @returns The parsed parameter as a data structure.\n */\nexport function parseMatchedParameter(param: string) {\n const optional = param.startsWith('[') && param.endsWith(']')\n if (optional) {\n param = param.slice(1, -1)\n }\n const repeat = param.startsWith('...')\n if (repeat) {\n param = param.slice(3)\n }\n return { key: param, repeat, optional }\n}\n","import {\n NEXT_INTERCEPTION_MARKER_PREFIX,\n NEXT_QUERY_PARAM_PREFIX,\n} from '../../../../lib/constants'\nimport { INTERCEPTION_ROUTE_MARKERS } from './interception-routes'\nimport { escapeStringRegexp } from '../../escape-regexp'\nimport { removeTrailingSlash } from './remove-trailing-slash'\nimport { PARAMETER_PATTERN, parseMatchedParameter } from './get-dynamic-param'\n\nexport interface Group {\n pos: number\n repeat: boolean\n optional: boolean\n}\n\nexport interface RouteRegex {\n groups: { [groupName: string]: Group }\n re: RegExp\n}\n\nexport type RegexReference = {\n names: Record\n intercepted: Record\n}\n\ntype GetNamedRouteRegexOptions = {\n /**\n * Whether to prefix the route keys with the NEXT_INTERCEPTION_MARKER_PREFIX\n * or NEXT_QUERY_PARAM_PREFIX. This is only relevant when creating the\n * routes-manifest during the build.\n */\n prefixRouteKeys: boolean\n\n /**\n * Whether to include the suffix in the route regex. This means that when you\n * have something like `/[...slug].json` the `.json` part will be included\n * in the regex, yielding `/(.*).json` as the regex.\n */\n includeSuffix?: boolean\n\n /**\n * Whether to include the prefix in the route regex. This means that when you\n * have something like `/[...slug].json` the `/` part will be included\n * in the regex, yielding `^/(.*).json$` as the regex.\n *\n * Note that interception markers will already be included without the need\n */\n includePrefix?: boolean\n\n /**\n * Whether to exclude the optional trailing slash from the route regex.\n */\n excludeOptionalTrailingSlash?: boolean\n\n /**\n * Whether to backtrack duplicate keys. This is only relevant when creating\n * the routes-manifest during the build.\n */\n backreferenceDuplicateKeys?: boolean\n\n /**\n * If provided, this will be used as the reference for the dynamic parameter\n * keys instead of generating them in context. This is currently only used for\n * interception routes.\n */\n reference?: RegexReference\n}\n\ntype GetRouteRegexOptions = {\n /**\n * Whether to include extra parts in the route regex. This means that when you\n * have something like `/[...slug].json` the `.json` part will be included\n * in the regex, yielding `/(.*).json` as the regex.\n */\n includeSuffix?: boolean\n\n /**\n * Whether to include the prefix in the route regex. This means that when you\n * have something like `/[...slug].json` the `/` part will be included\n * in the regex, yielding `^/(.*).json$` as the regex.\n *\n * Note that interception markers will already be included without the need\n * of adding this option.\n */\n includePrefix?: boolean\n\n /**\n * Whether to exclude the optional trailing slash from the route regex.\n */\n excludeOptionalTrailingSlash?: boolean\n}\n\nfunction getParametrizedRoute(\n route: string,\n includeSuffix: boolean,\n includePrefix: boolean\n) {\n const groups: { [groupName: string]: Group } = {}\n let groupIndex = 1\n\n const segments: string[] = []\n for (const segment of removeTrailingSlash(route).slice(1).split('/')) {\n const markerMatch = INTERCEPTION_ROUTE_MARKERS.find((m) =>\n segment.startsWith(m)\n )\n const paramMatches = segment.match(PARAMETER_PATTERN) // Check for parameters\n\n if (markerMatch && paramMatches && paramMatches[2]) {\n const { key, optional, repeat } = parseMatchedParameter(paramMatches[2])\n groups[key] = { pos: groupIndex++, repeat, optional }\n segments.push(`/${escapeStringRegexp(markerMatch)}([^/]+?)`)\n } else if (paramMatches && paramMatches[2]) {\n const { key, repeat, optional } = parseMatchedParameter(paramMatches[2])\n groups[key] = { pos: groupIndex++, repeat, optional }\n\n if (includePrefix && paramMatches[1]) {\n segments.push(`/${escapeStringRegexp(paramMatches[1])}`)\n }\n\n let s = repeat ? (optional ? '(?:/(.+?))?' : '/(.+?)') : '/([^/]+?)'\n\n // Remove the leading slash if includePrefix already added it.\n if (includePrefix && paramMatches[1]) {\n s = s.substring(1)\n }\n\n segments.push(s)\n } else {\n segments.push(`/${escapeStringRegexp(segment)}`)\n }\n\n // If there's a suffix, add it to the segments if it's enabled.\n if (includeSuffix && paramMatches && paramMatches[3]) {\n segments.push(escapeStringRegexp(paramMatches[3]))\n }\n }\n\n return {\n parameterizedRoute: segments.join(''),\n groups,\n }\n}\n\n/**\n * From a normalized route this function generates a regular expression and\n * a corresponding groups object intended to be used to store matching groups\n * from the regular expression.\n */\nexport function getRouteRegex(\n normalizedRoute: string,\n {\n includeSuffix = false,\n includePrefix = false,\n excludeOptionalTrailingSlash = false,\n }: GetRouteRegexOptions = {}\n): RouteRegex {\n const { parameterizedRoute, groups } = getParametrizedRoute(\n normalizedRoute,\n includeSuffix,\n includePrefix\n )\n\n let re = parameterizedRoute\n if (!excludeOptionalTrailingSlash) {\n re += '(?:/)?'\n }\n\n return {\n re: new RegExp(`^${re}$`),\n groups: groups,\n }\n}\n\n/**\n * Builds a function to generate a minimal routeKey using only a-z and minimal\n * number of characters.\n */\nfunction buildGetSafeRouteKey() {\n let i = 0\n\n return () => {\n let routeKey = ''\n let j = ++i\n while (j > 0) {\n routeKey += String.fromCharCode(97 + ((j - 1) % 26))\n j = Math.floor((j - 1) / 26)\n }\n return routeKey\n }\n}\n\nfunction getSafeKeyFromSegment({\n interceptionMarker,\n getSafeRouteKey,\n segment,\n routeKeys,\n keyPrefix,\n backreferenceDuplicateKeys,\n}: {\n interceptionMarker?: string\n getSafeRouteKey: () => string\n segment: string\n routeKeys: Record\n keyPrefix?: string\n backreferenceDuplicateKeys: boolean\n}) {\n const { key, optional, repeat } = parseMatchedParameter(segment)\n\n // replace any non-word characters since they can break\n // the named regex\n let cleanedKey = key.replace(/\\W/g, '')\n\n if (keyPrefix) {\n cleanedKey = `${keyPrefix}${cleanedKey}`\n }\n let invalidKey = false\n\n // check if the key is still invalid and fallback to using a known\n // safe key\n if (cleanedKey.length === 0 || cleanedKey.length > 30) {\n invalidKey = true\n }\n if (!isNaN(parseInt(cleanedKey.slice(0, 1)))) {\n invalidKey = true\n }\n\n if (invalidKey) {\n cleanedKey = getSafeRouteKey()\n }\n\n const duplicateKey = cleanedKey in routeKeys\n\n if (keyPrefix) {\n routeKeys[cleanedKey] = `${keyPrefix}${key}`\n } else {\n routeKeys[cleanedKey] = key\n }\n\n // if the segment has an interception marker, make sure that's part of the regex pattern\n // this is to ensure that the route with the interception marker doesn't incorrectly match\n // the non-intercepted route (ie /app/(.)[username] should not match /app/[username])\n const interceptionPrefix = interceptionMarker\n ? escapeStringRegexp(interceptionMarker)\n : ''\n\n let pattern: string\n if (duplicateKey && backreferenceDuplicateKeys) {\n // Use a backreference to the key to ensure that the key is the same value\n // in each of the placeholders.\n pattern = `\\\\k<${cleanedKey}>`\n } else if (repeat) {\n pattern = `(?<${cleanedKey}>.+?)`\n } else {\n pattern = `(?<${cleanedKey}>[^/]+?)`\n }\n\n return {\n key,\n pattern: optional\n ? `(?:/${interceptionPrefix}${pattern})?`\n : `/${interceptionPrefix}${pattern}`,\n cleanedKey: cleanedKey,\n optional,\n repeat,\n }\n}\n\nfunction getNamedParametrizedRoute(\n route: string,\n prefixRouteKeys: boolean,\n includeSuffix: boolean,\n includePrefix: boolean,\n backreferenceDuplicateKeys: boolean,\n reference: RegexReference = { names: {}, intercepted: {} }\n) {\n const getSafeRouteKey = buildGetSafeRouteKey()\n const routeKeys: { [named: string]: string } = {}\n\n const segments: string[] = []\n const inverseParts: string[] = []\n\n // Ensure we don't mutate the original reference object.\n reference = structuredClone(reference)\n\n for (const segment of removeTrailingSlash(route).slice(1).split('/')) {\n const hasInterceptionMarker = INTERCEPTION_ROUTE_MARKERS.some((m) =>\n segment.startsWith(m)\n )\n\n const paramMatches = segment.match(PARAMETER_PATTERN) // Check for parameters\n\n const interceptionMarker = hasInterceptionMarker\n ? paramMatches?.[1]\n : undefined\n\n let keyPrefix: string | undefined\n if (interceptionMarker && paramMatches?.[2]) {\n keyPrefix = prefixRouteKeys ? NEXT_INTERCEPTION_MARKER_PREFIX : undefined\n reference.intercepted[paramMatches[2]] = interceptionMarker\n } else if (paramMatches?.[2] && reference.intercepted[paramMatches[2]]) {\n keyPrefix = prefixRouteKeys ? NEXT_INTERCEPTION_MARKER_PREFIX : undefined\n } else {\n keyPrefix = prefixRouteKeys ? NEXT_QUERY_PARAM_PREFIX : undefined\n }\n\n if (interceptionMarker && paramMatches && paramMatches[2]) {\n // If there's an interception marker, add it to the segments.\n const { key, pattern, cleanedKey, repeat, optional } =\n getSafeKeyFromSegment({\n getSafeRouteKey,\n interceptionMarker,\n segment: paramMatches[2],\n routeKeys,\n keyPrefix,\n backreferenceDuplicateKeys,\n })\n\n segments.push(pattern)\n inverseParts.push(\n `/${paramMatches[1]}:${reference.names[key] ?? cleanedKey}${repeat ? (optional ? '*' : '+') : ''}`\n )\n reference.names[key] ??= cleanedKey\n } else if (paramMatches && paramMatches[2]) {\n // If there's a prefix, add it to the segments if it's enabled.\n if (includePrefix && paramMatches[1]) {\n segments.push(`/${escapeStringRegexp(paramMatches[1])}`)\n inverseParts.push(`/${paramMatches[1]}`)\n }\n\n const { key, pattern, cleanedKey, repeat, optional } =\n getSafeKeyFromSegment({\n getSafeRouteKey,\n segment: paramMatches[2],\n routeKeys,\n keyPrefix,\n backreferenceDuplicateKeys,\n })\n\n // Remove the leading slash if includePrefix already added it.\n let s = pattern\n if (includePrefix && paramMatches[1]) {\n s = s.substring(1)\n }\n\n segments.push(s)\n inverseParts.push(\n `/:${reference.names[key] ?? cleanedKey}${repeat ? (optional ? '*' : '+') : ''}`\n )\n reference.names[key] ??= cleanedKey\n } else {\n segments.push(`/${escapeStringRegexp(segment)}`)\n inverseParts.push(`/${segment}`)\n }\n\n // If there's a suffix, add it to the segments if it's enabled.\n if (includeSuffix && paramMatches && paramMatches[3]) {\n segments.push(escapeStringRegexp(paramMatches[3]))\n inverseParts.push(paramMatches[3])\n }\n }\n\n return {\n namedParameterizedRoute: segments.join(''),\n routeKeys,\n pathToRegexpPattern: inverseParts.join(''),\n reference,\n }\n}\n\n/**\n * This function extends `getRouteRegex` generating also a named regexp where\n * each group is named along with a routeKeys object that indexes the assigned\n * named group with its corresponding key. When the routeKeys need to be\n * prefixed to uniquely identify internally the \"prefixRouteKey\" arg should\n * be \"true\" currently this is only the case when creating the routes-manifest\n * during the build\n */\nexport function getNamedRouteRegex(\n normalizedRoute: string,\n options: GetNamedRouteRegexOptions\n) {\n const result = getNamedParametrizedRoute(\n normalizedRoute,\n options.prefixRouteKeys,\n options.includeSuffix ?? false,\n options.includePrefix ?? false,\n options.backreferenceDuplicateKeys ?? false,\n options.reference\n )\n\n let namedRegex = result.namedParameterizedRoute\n if (!options.excludeOptionalTrailingSlash) {\n namedRegex += '(?:/)?'\n }\n\n return {\n ...getRouteRegex(normalizedRoute, options),\n namedRegex: `^${namedRegex}$`,\n routeKeys: result.routeKeys,\n pathToRegexpPattern: result.pathToRegexpPattern,\n reference: result.reference,\n }\n}\n\n/**\n * Generates a named regexp.\n * This is intended to be using for build time only.\n */\nexport function getNamedMiddlewareRegex(\n normalizedRoute: string,\n options: {\n catchAll?: boolean\n }\n) {\n const { parameterizedRoute } = getParametrizedRoute(\n normalizedRoute,\n false,\n false\n )\n const { catchAll = true } = options\n if (parameterizedRoute === '/') {\n let catchAllRegex = catchAll ? '.*' : ''\n return {\n namedRegex: `^/${catchAllRegex}$`,\n }\n }\n\n const { namedParameterizedRoute } = getNamedParametrizedRoute(\n normalizedRoute,\n false,\n false,\n false,\n false,\n undefined\n )\n let catchAllGroupedRegex = catchAll ? '(?:(/.*)?)' : ''\n return {\n namedRegex: `^${namedParameterizedRoute}${catchAllGroupedRegex}$`,\n }\n}\n","import type { HtmlProps } from './html-context.shared-runtime'\nimport type { ComponentType, JSX } from 'react'\nimport type { DomainLocale } from '../../server/config'\nimport type { Env } from '@next/env'\nimport type { IncomingMessage, ServerResponse } from 'http'\nimport type { NextRouter } from './router/router'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { PreviewData } from '../../types'\nimport type { COMPILER_NAMES } from './constants'\nimport type fs from 'fs'\n\nexport type NextComponentType<\n Context extends BaseContext = NextPageContext,\n InitialProps = {},\n Props = {},\n> = ComponentType & {\n /**\n * Used for initial page load data population. Data returned from `getInitialProps` is serialized when server rendered.\n * Make sure to return plain `Object` without using `Date`, `Map`, `Set`.\n * @param context Context of `page`\n */\n getInitialProps?(context: Context): InitialProps | Promise\n}\n\nexport type DocumentType = NextComponentType<\n DocumentContext,\n DocumentInitialProps,\n DocumentProps\n>\n\nexport type AppType

= NextComponentType<\n AppContextType,\n P,\n AppPropsType\n>\n\nexport type AppTreeType = ComponentType<\n AppInitialProps & { [name: string]: any }\n>\n\n/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */\nexport const WEB_VITALS = ['CLS', 'FCP', 'FID', 'INP', 'LCP', 'TTFB'] as const\nexport type NextWebVitalsMetric = {\n id: string\n startTime: number\n value: number\n attribution?: { [key: string]: unknown }\n} & (\n | {\n label: 'web-vital'\n name: (typeof WEB_VITALS)[number]\n }\n | {\n label: 'custom'\n name:\n | 'Next.js-hydration'\n | 'Next.js-route-change-to-render'\n | 'Next.js-render'\n }\n)\n\nexport type Enhancer = (Component: C) => C\n\nexport type ComponentsEnhancer =\n | {\n enhanceApp?: Enhancer\n enhanceComponent?: Enhancer\n }\n | Enhancer\n\nexport type RenderPageResult = {\n html: string\n head?: Array\n}\n\nexport type RenderPage = (\n options?: ComponentsEnhancer\n) => DocumentInitialProps | Promise\n\nexport type BaseContext = {\n res?: ServerResponse\n [k: string]: any\n}\n\nexport type NEXT_DATA = {\n props: Record\n page: string\n query: ParsedUrlQuery\n buildId: string\n assetPrefix?: string\n nextExport?: boolean\n autoExport?: boolean\n isFallback?: boolean\n isExperimentalCompile?: boolean\n dynamicIds?: (string | number)[]\n err?: Error & {\n statusCode?: number\n source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer\n }\n gsp?: boolean\n gssp?: boolean\n customServer?: boolean\n gip?: boolean\n appGip?: boolean\n locale?: string\n locales?: readonly string[]\n defaultLocale?: string\n domainLocales?: readonly DomainLocale[]\n scriptLoader?: any[]\n isPreview?: boolean\n notFoundSrcPage?: string\n}\n\n/**\n * `Next` context\n */\nexport interface NextPageContext {\n /**\n * Error object if encountered during rendering\n */\n err?: (Error & { statusCode?: number }) | null\n /**\n * `HTTP` request object.\n */\n req?: IncomingMessage\n /**\n * `HTTP` response object.\n */\n res?: ServerResponse\n /**\n * Path section of `URL`.\n */\n pathname: string\n /**\n * Query string section of `URL` parsed as an object.\n */\n query: ParsedUrlQuery\n /**\n * `String` of the actual path including query.\n */\n asPath?: string\n /**\n * The currently active locale\n */\n locale?: string\n /**\n * All configured locales\n */\n locales?: readonly string[]\n /**\n * The configured default locale\n */\n defaultLocale?: string\n /**\n * `Component` the tree of the App to use if needing to render separately\n */\n AppTree: AppTreeType\n}\n\nexport type AppContextType = {\n Component: NextComponentType\n AppTree: AppTreeType\n ctx: NextPageContext\n router: Router\n}\n\nexport type AppInitialProps = {\n pageProps: PageProps\n}\n\nexport type AppPropsType<\n Router extends NextRouter = NextRouter,\n PageProps = {},\n> = AppInitialProps & {\n Component: NextComponentType\n router: Router\n __N_SSG?: boolean\n __N_SSP?: boolean\n}\n\nexport type DocumentContext = NextPageContext & {\n renderPage: RenderPage\n defaultGetInitialProps(\n ctx: DocumentContext,\n options?: { nonce?: string }\n ): Promise\n}\n\nexport type DocumentInitialProps = RenderPageResult & {\n styles?: React.ReactElement[] | Iterable | JSX.Element\n}\n\nexport type DocumentProps = DocumentInitialProps & HtmlProps\n\n/**\n * Next `API` route request\n */\nexport interface NextApiRequest extends IncomingMessage {\n /**\n * Object of `query` values from url\n */\n query: Partial<{\n [key: string]: string | string[]\n }>\n /**\n * Object of `cookies` from header\n */\n cookies: Partial<{\n [key: string]: string\n }>\n\n body: any\n\n env: Env\n\n draftMode?: boolean\n\n preview?: boolean\n /**\n * Preview data set on the request, if any\n * */\n previewData?: PreviewData\n}\n\n/**\n * Send body of response\n */\ntype Send = (body: T) => void\n\n/**\n * Next `API` route response\n */\nexport type NextApiResponse = ServerResponse & {\n /**\n * Send data `any` data in response\n */\n send: Send\n /**\n * Send data `json` data in response\n */\n json: Send\n status: (statusCode: number) => NextApiResponse\n redirect(url: string): NextApiResponse\n redirect(status: number, url: string): NextApiResponse\n\n /**\n * Set draft mode\n */\n setDraftMode: (options: { enable: boolean }) => NextApiResponse\n\n /**\n * Set preview data for Next.js' prerender mode\n */\n setPreviewData: (\n data: object | string,\n options?: {\n /**\n * Specifies the number (in seconds) for the preview session to last for.\n * The given number will be converted to an integer by rounding down.\n * By default, no maximum age is set and the preview session finishes\n * when the client shuts down (browser is closed).\n */\n maxAge?: number\n /**\n * Specifies the path for the preview session to work under. By default,\n * the path is considered the \"default path\", i.e., any pages under \"/\".\n */\n path?: string\n }\n ) => NextApiResponse\n\n /**\n * Clear preview data for Next.js' prerender mode\n */\n clearPreviewData: (options?: { path?: string }) => NextApiResponse\n\n /**\n * Revalidate a specific page and regenerate it using On-Demand Incremental\n * Static Regeneration.\n * The path should be an actual path, not a rewritten path. E.g. for\n * \"/blog/[slug]\" this should be \"/blog/post-1\".\n * @link https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation-with-revalidatepath\n */\n revalidate: (\n urlPath: string,\n opts?: {\n unstable_onlyGenerated?: boolean\n }\n ) => Promise\n}\n\n/**\n * Next `API` route handler\n */\nexport type NextApiHandler = (\n req: NextApiRequest,\n res: NextApiResponse\n) => unknown | Promise\n\n/**\n * Utils\n */\nexport function execOnce ReturnType>(\n fn: T\n): T {\n let used = false\n let result: ReturnType\n\n return ((...args: any[]) => {\n if (!used) {\n used = true\n result = fn(...args)\n }\n return result\n }) as T\n}\n\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/\nexport const isAbsoluteUrl = (url: string) => ABSOLUTE_URL_REGEX.test(url)\n\nexport function getLocationOrigin() {\n const { protocol, hostname, port } = window.location\n return `${protocol}//${hostname}${port ? ':' + port : ''}`\n}\n\nexport function getURL() {\n const { href } = window.location\n const origin = getLocationOrigin()\n return href.substring(origin.length)\n}\n\nexport function getDisplayName

(Component: ComponentType

) {\n return typeof Component === 'string'\n ? Component\n : Component.displayName || Component.name || 'Unknown'\n}\n\nexport function isResSent(res: ServerResponse) {\n return res.finished || res.headersSent\n}\n\nexport function normalizeRepeatedSlashes(url: string) {\n const urlParts = url.split('?')\n const urlNoQuery = urlParts[0]\n\n return (\n urlNoQuery\n // first we replace any non-encoded backslashes with forward\n // then normalize repeated forward slashes\n .replace(/\\\\/g, '/')\n .replace(/\\/\\/+/g, '/') +\n (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '')\n )\n}\n\nexport async function loadGetInitialProps<\n C extends BaseContext,\n IP = {},\n P = {},\n>(App: NextComponentType, ctx: C): Promise {\n if (process.env.NODE_ENV !== 'production') {\n if (App.prototype?.getInitialProps) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`\n throw new Error(message)\n }\n }\n // when called from _app `ctx` is nested in `ctx`\n const res = ctx.res || (ctx.ctx && ctx.ctx.res)\n\n if (!App.getInitialProps) {\n if (ctx.ctx && ctx.Component) {\n // @ts-ignore pageProps default\n return {\n pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx),\n }\n }\n return {} as IP\n }\n\n const props = await App.getInitialProps(ctx)\n\n if (res && isResSent(res)) {\n return props\n }\n\n if (!props) {\n const message = `\"${getDisplayName(\n App\n )}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`\n throw new Error(message)\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(\n `${getDisplayName(\n App\n )} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`\n )\n }\n }\n\n return props\n}\n\nexport const SP = typeof performance !== 'undefined'\nexport const ST =\n SP &&\n (['mark', 'measure', 'getEntriesByName'] as const).every(\n (method) => typeof performance[method] === 'function'\n )\n\nexport class DecodeError extends Error {}\nexport class NormalizeError extends Error {}\nexport class PageNotFoundError extends Error {\n code: string\n\n constructor(page: string) {\n super()\n this.code = 'ENOENT'\n this.name = 'PageNotFoundError'\n this.message = `Cannot find module for page: ${page}`\n }\n}\n\nexport class MissingStaticPage extends Error {\n constructor(page: string, message: string) {\n super()\n this.message = `Failed to load static file for page: ${page} ${message}`\n }\n}\n\nexport class MiddlewareNotFoundError extends Error {\n code: string\n constructor() {\n super()\n this.code = 'ENOENT'\n this.message = `Cannot find the middleware module`\n }\n}\n\nexport interface CacheFs {\n existsSync: typeof fs.existsSync\n readFile: typeof fs.promises.readFile\n readFileSync: typeof fs.readFileSync\n writeFile(f: string, d: any): Promise\n mkdir(dir: string): Promise\n stat(f: string): Promise<{ mtime: Date }>\n}\n\nexport function stringifyError(error: Error) {\n return JSON.stringify({ message: error.message, stack: error.stack })\n}\n","import type { Token } from 'next/dist/compiled/path-to-regexp'\n\n/**\n * Route pattern normalization utilities for path-to-regexp compatibility.\n *\n * path-to-regexp 6.3.0+ introduced stricter validation that rejects certain\n * patterns commonly used in Next.js interception routes. This module provides\n * normalization functions to make Next.js route patterns compatible with the\n * updated library while preserving all functionality.\n */\n\n/**\n * Internal separator used to normalize adjacent parameter patterns.\n * This unique marker is inserted between adjacent parameters and stripped out\n * during parameter extraction to avoid conflicts with real URL content.\n */\nexport const PARAM_SEPARATOR = '_NEXTSEP_'\n\n/**\n * Detects if a route pattern needs normalization for path-to-regexp compatibility.\n */\nexport function hasAdjacentParameterIssues(route: string): boolean {\n if (typeof route !== 'string') return false\n\n // Check for interception route markers followed immediately by parameters\n // Pattern: /(.):param, /(..):param, /(...):param, /(.)(.):param etc.\n // These patterns cause \"Must have text between two parameters\" errors\n if (/\\/\\(\\.{1,3}\\):[^/\\s]+/.test(route)) {\n return true\n }\n\n // Check for basic adjacent parameters without separators\n // Pattern: :param1:param2 (but not :param* or other URL patterns)\n if (/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(route)) {\n return true\n }\n\n return false\n}\n\n/**\n * Normalizes route patterns that have adjacent parameters without text between them.\n * Inserts a unique separator that can be safely stripped out later.\n */\nexport function normalizeAdjacentParameters(route: string): string {\n let normalized = route\n\n // Handle interception route patterns: (.):param -> (.)_NEXTSEP_:param\n normalized = normalized.replace(\n /(\\([^)]*\\)):([^/\\s]+)/g,\n `$1${PARAM_SEPARATOR}:$2`\n )\n\n // Handle other adjacent parameter patterns: :param1:param2 -> :param1_NEXTSEP_:param2\n normalized = normalized.replace(/:([^:/\\s)]+)(?=:)/g, `:$1${PARAM_SEPARATOR}`)\n\n return normalized\n}\n\n/**\n * Normalizes tokens that have repeating modifiers (* or +) but empty prefix and suffix.\n *\n * path-to-regexp 6.3.0+ introduced validation that throws:\n * \"Can not repeat without prefix/suffix\"\n *\n * This occurs when a token has modifier: '*' or '+' with both prefix: '' and suffix: ''\n */\nexport function normalizeTokensForRegexp(tokens: Token[]): Token[] {\n return tokens.map((token) => {\n // Token union type: Token = string | TokenObject\n // Literal path segments are strings, parameters/wildcards are objects\n if (\n typeof token === 'object' &&\n token !== null &&\n // Not all token objects have 'modifier' property (e.g., simple text tokens)\n 'modifier' in token &&\n // Only repeating modifiers (* or +) cause the validation error\n // Other modifiers like '?' (optional) are fine\n (token.modifier === '*' || token.modifier === '+') &&\n // Token objects can have different shapes depending on route pattern\n 'prefix' in token &&\n 'suffix' in token &&\n // Both prefix and suffix must be empty strings\n // This is what causes the validation error in path-to-regexp\n token.prefix === '' &&\n token.suffix === ''\n ) {\n // Add minimal prefix to satisfy path-to-regexp validation\n // We use '/' as it's the most common path delimiter and won't break route matching\n // The prefix gets used in regex generation but doesn't affect parameter extraction\n return {\n ...token,\n prefix: '/',\n }\n }\n return token\n })\n}\n\n/**\n * Strips normalization separators from compiled pathname.\n * This removes separators that were inserted by normalizeAdjacentParameters\n * to satisfy path-to-regexp validation.\n *\n * Only removes separators in the specific contexts where they were inserted:\n * - After interception route markers: (.)_NEXTSEP_ -> (.)\n *\n * This targeted approach ensures we don't accidentally remove the separator\n * from legitimate user content.\n */\nexport function stripNormalizedSeparators(pathname: string): string {\n // Remove separator after interception route markers\n // Pattern: (.)_NEXTSEP_ -> (.), (..)_NEXTSEP_ -> (..), etc.\n // The separator appears after the closing paren of interception markers\n return pathname.replace(new RegExp(`\\\\)${PARAM_SEPARATOR}`, 'g'), ')')\n}\n\n/**\n * Strips normalization separators from extracted route parameters.\n * Used by both server and client code to clean up parameters after route matching.\n */\nexport function stripParameterSeparators(\n params: Record\n): Record {\n const cleaned: Record = {}\n\n for (const [key, value] of Object.entries(params)) {\n if (typeof value === 'string') {\n // Remove the separator if it appears at the start of parameter values\n cleaned[key] = value.replace(new RegExp(`^${PARAM_SEPARATOR}`), '')\n } else if (Array.isArray(value)) {\n // Handle array parameters (from repeated route segments)\n cleaned[key] = value.map((item) =>\n typeof item === 'string'\n ? item.replace(new RegExp(`^${PARAM_SEPARATOR}`), '')\n : item\n )\n } else {\n cleaned[key] = value\n }\n }\n\n return cleaned\n}\n","/**\n * Client-safe utilities for route matching that don't import server-side\n * utilities to avoid bundling issues with Turbopack\n */\n\nimport type {\n Key,\n TokensToRegexpOptions,\n ParseOptions,\n TokensToFunctionOptions,\n} from 'next/dist/compiled/path-to-regexp'\nimport {\n pathToRegexp,\n compile,\n regexpToFunction,\n} from 'next/dist/compiled/path-to-regexp'\nimport {\n hasAdjacentParameterIssues,\n normalizeAdjacentParameters,\n stripParameterSeparators,\n stripNormalizedSeparators,\n} from '../../../../lib/route-pattern-normalizer'\n\n/**\n * Client-safe wrapper around pathToRegexp that handles path-to-regexp 6.3.0+ validation errors.\n * This includes both \"Can not repeat without prefix/suffix\" and \"Must have text between parameters\" errors.\n */\nexport function safePathToRegexp(\n route: string | RegExp | Array,\n keys?: Key[],\n options?: TokensToRegexpOptions & ParseOptions\n): RegExp {\n if (typeof route !== 'string') {\n return pathToRegexp(route, keys, options)\n }\n\n // Check if normalization is needed and cache the result\n const needsNormalization = hasAdjacentParameterIssues(route)\n const routeToUse = needsNormalization\n ? normalizeAdjacentParameters(route)\n : route\n\n try {\n return pathToRegexp(routeToUse, keys, options)\n } catch (error) {\n // Only try normalization if we haven't already normalized\n if (!needsNormalization) {\n try {\n const normalizedRoute = normalizeAdjacentParameters(route)\n return pathToRegexp(normalizedRoute, keys, options)\n } catch (retryError) {\n // If that doesn't work, fall back to original error\n throw error\n }\n }\n throw error\n }\n}\n\n/**\n * Client-safe wrapper around compile that handles path-to-regexp 6.3.0+ validation errors.\n * No server-side error reporting to avoid bundling issues.\n * When normalization is applied, the returned compiler function automatically strips\n * the internal separator from the output URL.\n */\nexport function safeCompile(\n route: string,\n options?: TokensToFunctionOptions & ParseOptions\n) {\n // Check if normalization is needed and cache the result\n const needsNormalization = hasAdjacentParameterIssues(route)\n const routeToUse = needsNormalization\n ? normalizeAdjacentParameters(route)\n : route\n\n try {\n const compiler = compile(routeToUse, options)\n\n // If we normalized the route, wrap the compiler to strip separators from output\n // The normalization inserts _NEXTSEP_ as a literal string in the pattern to satisfy\n // path-to-regexp validation, but we don't want it in the final compiled URL\n if (needsNormalization) {\n return (params: any) => {\n return stripNormalizedSeparators(compiler(params))\n }\n }\n\n return compiler\n } catch (error) {\n // Only try normalization if we haven't already normalized\n if (!needsNormalization) {\n try {\n const normalizedRoute = normalizeAdjacentParameters(route)\n const compiler = compile(normalizedRoute, options)\n\n // Wrap the compiler to strip separators from output\n return (params: any) => {\n return stripNormalizedSeparators(compiler(params))\n }\n } catch (retryError) {\n // If that doesn't work, fall back to original error\n throw error\n }\n }\n throw error\n }\n}\n\n/**\n * Client-safe wrapper around regexpToFunction that automatically cleans parameters.\n */\nexport function safeRegexpToFunction<\n T extends Record = Record,\n>(regexp: RegExp, keys?: Key[]): (pathname: string) => { params: T } | false {\n const originalMatcher = regexpToFunction(regexp, keys || [])\n\n return (pathname: string) => {\n const result = originalMatcher(pathname)\n if (!result) return false\n\n // Clean parameters before returning\n return {\n ...result,\n params: stripParameterSeparators(result.params as any) as T,\n }\n }\n}\n\n/**\n * Safe wrapper for route matcher functions that automatically cleans parameters.\n * This is client-safe and doesn't import path-to-regexp.\n */\nexport function safeRouteMatcher>(\n matcherFn: (pathname: string) => false | T\n): (pathname: string) => false | T {\n return (pathname: string) => {\n const result = matcherFn(pathname)\n if (!result) return false\n\n // Clean parameters before returning\n return stripParameterSeparators(result) as T\n }\n}\n","import type { Group } from './route-regex'\nimport { DecodeError } from '../../utils'\nimport type { Params } from '../../../../server/request/params'\nimport { safeRouteMatcher } from './route-match-utils'\n\nexport interface RouteMatchFn {\n (pathname: string): false | Params\n}\n\ntype RouteMatcherOptions = {\n // We only use the exec method of the RegExp object. This helps us avoid using\n // type assertions that the passed in properties are of the correct type.\n re: Pick\n groups: Record\n}\n\nexport function getRouteMatcher({\n re,\n groups,\n}: RouteMatcherOptions): RouteMatchFn {\n const rawMatcher = (pathname: string) => {\n const routeMatch = re.exec(pathname)\n if (!routeMatch) return false\n\n const decode = (param: string) => {\n try {\n return decodeURIComponent(param)\n } catch {\n throw new DecodeError('failed to decode param')\n }\n }\n\n const params: Params = {}\n for (const [key, group] of Object.entries(groups)) {\n const match = routeMatch[group.pos]\n if (match !== undefined) {\n if (group.repeat) {\n params[key] = match.split('/').map((entry) => decode(entry))\n } else {\n params[key] = decode(match)\n }\n }\n }\n\n return params\n }\n\n // Wrap with safe matcher to handle parameter cleaning\n return safeRouteMatcher(rawMatcher)\n}\n","import type { ParsedUrlQuery } from 'querystring'\n\nexport function searchParamsToUrlQuery(\n searchParams: URLSearchParams\n): ParsedUrlQuery {\n const query: ParsedUrlQuery = {}\n for (const [key, value] of searchParams.entries()) {\n const existing = query[key]\n if (typeof existing === 'undefined') {\n query[key] = value\n } else if (Array.isArray(existing)) {\n existing.push(value)\n } else {\n query[key] = [existing, value]\n }\n }\n return query\n}\n\nfunction stringifyUrlQueryParam(param: unknown): string {\n if (typeof param === 'string') {\n return param\n }\n\n if (\n (typeof param === 'number' && !isNaN(param)) ||\n typeof param === 'boolean'\n ) {\n return String(param)\n } else {\n return ''\n }\n}\n\nexport function urlQueryToSearchParams(query: ParsedUrlQuery): URLSearchParams {\n const searchParams = new URLSearchParams()\n for (const [key, value] of Object.entries(query)) {\n if (Array.isArray(value)) {\n for (const item of value) {\n searchParams.append(key, stringifyUrlQueryParam(item))\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value))\n }\n }\n return searchParams\n}\n\nexport function assign(\n target: URLSearchParams,\n ...searchParamsList: URLSearchParams[]\n): URLSearchParams {\n for (const searchParams of searchParamsList) {\n for (const key of searchParams.keys()) {\n target.delete(key)\n }\n\n for (const [key, value] of searchParams.entries()) {\n target.append(key, value)\n }\n }\n\n return target\n}\n","import type { ParsedUrlQuery } from 'querystring'\nimport { getLocationOrigin } from '../../utils'\nimport { searchParamsToUrlQuery } from './querystring'\n\nexport interface ParsedRelativeUrl {\n auth: string | null\n hash: string\n host: string | null\n hostname: string | null\n href: string\n pathname: string\n port: string | null\n protocol: string | null\n query: ParsedUrlQuery\n search: string\n slashes: null\n}\n\n/**\n * Parses path-relative urls (e.g. `/hello/world?foo=bar`). If url isn't path-relative\n * (e.g. `./hello`) then at least base must be.\n * Absolute urls are rejected with one exception, in the browser, absolute urls that are on\n * the current origin will be parsed as relative\n */\nexport function parseRelativeUrl(\n url: string,\n base?: string,\n parseQuery?: true\n): ParsedRelativeUrl\nexport function parseRelativeUrl(\n url: string,\n base: string | undefined,\n parseQuery: false\n): Omit\nexport function parseRelativeUrl(\n url: string,\n base?: string,\n parseQuery = true\n): ParsedRelativeUrl | Omit {\n const globalBase = new URL(\n typeof window === 'undefined' ? 'http://n' : getLocationOrigin()\n )\n\n const resolvedBase = base\n ? new URL(base, globalBase)\n : url.startsWith('.')\n ? new URL(\n typeof window === 'undefined' ? 'http://n' : window.location.href\n )\n : globalBase\n\n const { pathname, searchParams, search, hash, href, origin } = url.startsWith(\n '/'\n )\n ? // 'http://localhost:3000///' would be received as '///' in Node.js' IncomingMessage\n // See https://nodejs.org/api/http.html#messageurl\n // Not using `origin` to support other protocols\n new URL(`${resolvedBase.protocol}//${resolvedBase.host}${url}`)\n : new URL(url, resolvedBase)\n\n if (origin !== globalBase.origin) {\n throw new Error(`invariant: invalid relative URL, router received ${url}`)\n }\n\n return {\n auth: null,\n host: null,\n hostname: null,\n pathname,\n port: null,\n protocol: null,\n query: parseQuery ? searchParamsToUrlQuery(searchParams) : undefined,\n search,\n hash,\n href: href.slice(origin.length),\n // We don't know for relative URLs at this point since we set a custom, internal\n // base that isn't surfaced to users.\n slashes: null,\n }\n}\n","import type { ParsedUrlQuery } from 'querystring'\n\nimport { searchParamsToUrlQuery } from './querystring'\nimport { parseRelativeUrl } from './parse-relative-url'\n\nexport interface ParsedUrl {\n auth: string | null\n hash: string\n hostname: string | null\n href: string\n origin?: string | null\n pathname: string\n port: string | null\n protocol: string | null\n query: ParsedUrlQuery\n search: string\n slashes: boolean | null\n}\n\nexport function parseUrl(url: string): ParsedUrl {\n if (url.startsWith('/')) {\n return parseRelativeUrl(url)\n }\n\n const parsedURL = new URL(url)\n const username = parsedURL.username\n const password = parsedURL.password\n const auth = username\n ? password\n ? `${username}:${password}`\n : username\n : null\n const pathname = parsedURL.pathname\n const search = parsedURL.search\n return {\n auth,\n hash: parsedURL.hash,\n hostname: parsedURL.hostname,\n href: parsedURL.href,\n pathname,\n port: parsedURL.port,\n protocol: parsedURL.protocol,\n query: searchParamsToUrlQuery(parsedURL.searchParams),\n search,\n origin: parsedURL.origin,\n slashes:\n parsedURL.href.slice(\n parsedURL.protocol.length,\n parsedURL.protocol.length + 2\n ) === '//',\n }\n}\n","import type { NextApiRequestCookies } from '.'\n\n/**\n * Parse cookies from the `headers` of request\n * @param req request object\n */\n\nexport function getCookieParser(headers: {\n [key: string]: string | string[] | null | undefined\n}): () => NextApiRequestCookies {\n return function parseCookie(): NextApiRequestCookies {\n const { cookie } = headers\n\n if (!cookie) {\n return {}\n }\n\n const { parse: parseCookieFn } =\n require('next/dist/compiled/cookie') as typeof import('next/dist/compiled/cookie')\n return parseCookieFn(Array.isArray(cookie) ? cookie.join('; ') : cookie)\n }\n}\n","import type { IncomingMessage } from 'http'\nimport type { Key } from 'next/dist/compiled/path-to-regexp'\nimport type { NextParsedUrlQuery } from '../../../../server/request-meta'\nimport type { RouteHas } from '../../../../lib/load-custom-routes'\nimport type { BaseNextRequest } from '../../../../server/base-http'\n\nimport { escapeStringRegexp } from '../../escape-regexp'\nimport { parseUrl, type ParsedUrl } from './parse-url'\nimport {\n INTERCEPTION_ROUTE_MARKERS,\n isInterceptionRouteAppPath,\n} from './interception-routes'\nimport { getCookieParser } from '../../../../server/api-utils/get-cookie-parser'\nimport type { Params } from '../../../../server/request/params'\nimport { safePathToRegexp, safeCompile } from './route-match-utils'\n\n/**\n * Ensure only a-zA-Z are used for param names for proper interpolating\n * with path-to-regexp\n */\nfunction getSafeParamName(paramName: string) {\n let newParamName = ''\n\n for (let i = 0; i < paramName.length; i++) {\n const charCode = paramName.charCodeAt(i)\n\n if (\n (charCode > 64 && charCode < 91) || // A-Z\n (charCode > 96 && charCode < 123) // a-z\n ) {\n newParamName += paramName[i]\n }\n }\n return newParamName\n}\n\nfunction escapeSegment(str: string, segmentName: string) {\n return str.replace(\n new RegExp(`:${escapeStringRegexp(segmentName)}`, 'g'),\n `__ESC_COLON_${segmentName}`\n )\n}\n\nfunction unescapeSegments(str: string) {\n return str.replace(/__ESC_COLON_/gi, ':')\n}\n\nexport function matchHas(\n req: BaseNextRequest | IncomingMessage,\n query: Params,\n has: RouteHas[] = [],\n missing: RouteHas[] = []\n): false | Params {\n const params: Params = {}\n\n const hasMatch = (hasItem: RouteHas) => {\n let value\n let key = hasItem.key\n\n switch (hasItem.type) {\n case 'header': {\n key = key!.toLowerCase()\n value = req.headers[key] as string\n break\n }\n case 'cookie': {\n if ('cookies' in req) {\n value = req.cookies[hasItem.key]\n } else {\n const cookies = getCookieParser(req.headers)()\n value = cookies[hasItem.key]\n }\n\n break\n }\n case 'query': {\n value = query[key!]\n break\n }\n case 'host': {\n const { host } = req?.headers || {}\n // remove port from host if present\n const hostname = host?.split(':', 1)[0].toLowerCase()\n value = hostname\n break\n }\n default: {\n break\n }\n }\n\n if (!hasItem.value && value) {\n params[getSafeParamName(key!)] = value\n return true\n } else if (value) {\n const matcher = new RegExp(`^${hasItem.value}$`)\n const matches = Array.isArray(value)\n ? value.slice(-1)[0].match(matcher)\n : value.match(matcher)\n\n if (matches) {\n if (Array.isArray(matches)) {\n if (matches.groups) {\n Object.keys(matches.groups).forEach((groupKey) => {\n params[groupKey] = matches.groups![groupKey]\n })\n } else if (hasItem.type === 'host' && matches[0]) {\n params.host = matches[0]\n }\n }\n return true\n }\n }\n return false\n }\n\n const allMatch =\n has.every((item) => hasMatch(item)) &&\n !missing.some((item) => hasMatch(item))\n\n if (allMatch) {\n return params\n }\n return false\n}\n\nexport function compileNonPath(value: string, params: Params): string {\n if (!value.includes(':')) {\n return value\n }\n\n for (const key of Object.keys(params)) {\n if (value.includes(`:${key}`)) {\n value = value\n .replace(\n new RegExp(`:${key}\\\\*`, 'g'),\n `:${key}--ESCAPED_PARAM_ASTERISKS`\n )\n .replace(\n new RegExp(`:${key}\\\\?`, 'g'),\n `:${key}--ESCAPED_PARAM_QUESTION`\n )\n .replace(new RegExp(`:${key}\\\\+`, 'g'), `:${key}--ESCAPED_PARAM_PLUS`)\n .replace(\n new RegExp(`:${key}(?!\\\\w)`, 'g'),\n `--ESCAPED_PARAM_COLON${key}`\n )\n }\n }\n value = value\n .replace(/(:|\\*|\\?|\\+|\\(|\\)|\\{|\\})/g, '\\\\$1')\n .replace(/--ESCAPED_PARAM_PLUS/g, '+')\n .replace(/--ESCAPED_PARAM_COLON/g, ':')\n .replace(/--ESCAPED_PARAM_QUESTION/g, '?')\n .replace(/--ESCAPED_PARAM_ASTERISKS/g, '*')\n\n // the value needs to start with a forward-slash to be compiled\n // correctly\n return safeCompile(`/${value}`, { validate: false })(params).slice(1)\n}\n\nexport function parseDestination(args: {\n destination: string\n params: Readonly\n query: Readonly\n}): ParsedUrl {\n let escaped = args.destination\n for (const param of Object.keys({ ...args.params, ...args.query })) {\n if (!param) continue\n\n escaped = escapeSegment(escaped, param)\n }\n\n const parsed = parseUrl(escaped)\n\n let pathname = parsed.pathname\n if (pathname) {\n pathname = unescapeSegments(pathname)\n }\n\n let href = parsed.href\n if (href) {\n href = unescapeSegments(href)\n }\n\n let hostname = parsed.hostname\n if (hostname) {\n hostname = unescapeSegments(hostname)\n }\n\n let hash = parsed.hash\n if (hash) {\n hash = unescapeSegments(hash)\n }\n\n let search = parsed.search\n if (search) {\n search = unescapeSegments(search)\n }\n\n let origin = parsed.origin\n if (origin) {\n origin = unescapeSegments(origin)\n }\n\n return {\n ...parsed,\n pathname,\n hostname,\n href,\n hash,\n search,\n origin,\n }\n}\n\nexport function prepareDestination(args: {\n appendParamsToQuery: boolean\n destination: string\n params: Params\n query: NextParsedUrlQuery\n}) {\n const parsedDestination = parseDestination(args)\n\n const {\n hostname: destHostname,\n query: destQuery,\n search: destSearch,\n } = parsedDestination\n\n // The following code assumes that the pathname here includes the hash if it's\n // present.\n let destPath = parsedDestination.pathname\n if (parsedDestination.hash) {\n destPath = `${destPath}${parsedDestination.hash}`\n }\n\n const destParams: (string | number)[] = []\n\n const destPathParamKeys: Key[] = []\n safePathToRegexp(destPath, destPathParamKeys)\n for (const key of destPathParamKeys) {\n destParams.push(key.name)\n }\n\n if (destHostname) {\n const destHostnameParamKeys: Key[] = []\n safePathToRegexp(destHostname, destHostnameParamKeys)\n for (const key of destHostnameParamKeys) {\n destParams.push(key.name)\n }\n }\n\n const destPathCompiler = safeCompile(\n destPath,\n // we don't validate while compiling the destination since we should\n // have already validated before we got to this point and validating\n // breaks compiling destinations with named pattern params from the source\n // e.g. /something:hello(.*) -> /another/:hello is broken with validation\n // since compile validation is meant for reversing and not for inserting\n // params from a separate path-regex into another\n { validate: false }\n )\n\n let destHostnameCompiler\n if (destHostname) {\n destHostnameCompiler = safeCompile(destHostname, { validate: false })\n }\n\n // update any params in query values\n for (const [key, strOrArray] of Object.entries(destQuery)) {\n // the value needs to start with a forward-slash to be compiled\n // correctly\n if (Array.isArray(strOrArray)) {\n destQuery[key] = strOrArray.map((value) =>\n compileNonPath(unescapeSegments(value), args.params)\n )\n } else if (typeof strOrArray === 'string') {\n destQuery[key] = compileNonPath(unescapeSegments(strOrArray), args.params)\n }\n }\n\n // add path params to query if it's not a redirect and not\n // already defined in destination query or path\n let paramKeys = Object.keys(args.params).filter(\n (name) => name !== 'nextInternalLocale'\n )\n\n if (\n args.appendParamsToQuery &&\n !paramKeys.some((key) => destParams.includes(key))\n ) {\n for (const key of paramKeys) {\n if (!(key in destQuery)) {\n destQuery[key] = args.params[key]\n }\n }\n }\n\n let newUrl\n\n // The compiler also that the interception route marker is an unnamed param, hence '0',\n // so we need to add it to the params object.\n if (isInterceptionRouteAppPath(destPath)) {\n for (const segment of destPath.split('/')) {\n const marker = INTERCEPTION_ROUTE_MARKERS.find((m) =>\n segment.startsWith(m)\n )\n if (marker) {\n if (marker === '(..)(..)') {\n args.params['0'] = '(..)'\n args.params['1'] = '(..)'\n } else {\n args.params['0'] = marker\n }\n break\n }\n }\n }\n\n try {\n newUrl = destPathCompiler(args.params)\n\n const [pathname, hash] = newUrl.split('#', 2)\n if (destHostnameCompiler) {\n parsedDestination.hostname = destHostnameCompiler(args.params)\n }\n parsedDestination.pathname = pathname\n parsedDestination.hash = `${hash ? '#' : ''}${hash || ''}`\n parsedDestination.search = destSearch\n ? compileNonPath(destSearch, args.params)\n : ''\n } catch (err: any) {\n if (err.message.match(/Expected .*? to not repeat, but got an array/)) {\n throw new Error(\n `To use a multi-match in the destination you must add \\`*\\` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match`\n )\n }\n throw err\n }\n\n // Query merge order lowest priority to highest\n // 1. initial URL query values\n // 2. path segment values\n // 3. destination specified query values\n parsedDestination.query = {\n ...args.query,\n ...parsedDestination.query,\n }\n\n return {\n newUrl,\n destQuery,\n parsedDestination,\n }\n}\n","import type { OutgoingHttpHeaders } from 'http'\nimport {\n NEXT_INTERCEPTION_MARKER_PREFIX,\n NEXT_QUERY_PARAM_PREFIX,\n} from '../../lib/constants'\n\n/**\n * Converts a Node.js IncomingHttpHeaders object to a Headers object. Any\n * headers with multiple values will be joined with a comma and space. Any\n * headers that have an undefined value will be ignored and others will be\n * coerced to strings.\n *\n * @param nodeHeaders the headers object to convert\n * @returns the converted headers object\n */\nexport function fromNodeOutgoingHttpHeaders(\n nodeHeaders: OutgoingHttpHeaders\n): Headers {\n const headers = new Headers()\n for (let [key, value] of Object.entries(nodeHeaders)) {\n const values = Array.isArray(value) ? value : [value]\n for (let v of values) {\n if (typeof v === 'undefined') continue\n if (typeof v === 'number') {\n v = v.toString()\n }\n\n headers.append(key, v)\n }\n }\n return headers\n}\n\n/*\n Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas\n that are within a single set-cookie field-value, such as in the Expires portion.\n This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2\n Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128\n React Native's fetch does this for *every* header, including set-cookie.\n \n Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25\n Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation\n*/\nexport function splitCookiesString(cookiesString: string) {\n var cookiesStrings = []\n var pos = 0\n var start\n var ch\n var lastComma\n var nextStart\n var cookiesSeparatorFound\n\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1\n }\n return pos < cookiesString.length\n }\n\n function notSpecialChar() {\n ch = cookiesString.charAt(pos)\n\n return ch !== '=' && ch !== ';' && ch !== ','\n }\n\n while (pos < cookiesString.length) {\n start = pos\n cookiesSeparatorFound = false\n\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos)\n if (ch === ',') {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos\n pos += 1\n\n skipWhitespace()\n nextStart = pos\n\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1\n }\n\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === '=') {\n // we found cookies separator\n cookiesSeparatorFound = true\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart\n cookiesStrings.push(cookiesString.substring(start, lastComma))\n start = pos\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1\n }\n } else {\n pos += 1\n }\n }\n\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length))\n }\n }\n\n return cookiesStrings\n}\n\n/**\n * Converts a Headers object to a Node.js OutgoingHttpHeaders object. This is\n * required to support the set-cookie header, which may have multiple values.\n *\n * @param headers the headers object to convert\n * @returns the converted headers object\n */\nexport function toNodeOutgoingHttpHeaders(\n headers: Headers\n): OutgoingHttpHeaders {\n const nodeHeaders: OutgoingHttpHeaders = {}\n const cookies: string[] = []\n if (headers) {\n for (const [key, value] of headers.entries()) {\n if (key.toLowerCase() === 'set-cookie') {\n // We may have gotten a comma joined string of cookies, or multiple\n // set-cookie headers. We need to merge them into one header array\n // to represent all the cookies.\n cookies.push(...splitCookiesString(value))\n nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies\n } else {\n nodeHeaders[key] = value\n }\n }\n }\n return nodeHeaders\n}\n\n/**\n * Validate the correctness of a user-provided URL.\n */\nexport function validateURL(url: string | URL): string {\n try {\n return String(new URL(String(url)))\n } catch (error: any) {\n throw new Error(\n `URL is malformed \"${String(\n url\n )}\". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,\n { cause: error }\n )\n }\n}\n\n/**\n * Normalizes `nxtP` and `nxtI` query param values to remove the prefix.\n * This function does not mutate the input key.\n */\nexport function normalizeNextQueryParam(key: string): null | string {\n const prefixes = [NEXT_QUERY_PARAM_PREFIX, NEXT_INTERCEPTION_MARKER_PREFIX]\n for (const prefix of prefixes) {\n if (key !== prefix && key.startsWith(prefix)) {\n return key.substring(prefix.length)\n }\n }\n return null\n}\n","/**\n * Decodes a query path parameter.\n *\n * @param value - The value to decode.\n * @returns The decoded value.\n */\nexport function decodeQueryPathParameter(value: string) {\n // When deployed to Vercel, the value may be encoded, so this attempts to\n // decode it and returns the original value if it fails.\n try {\n return decodeURIComponent(value)\n } catch {\n return value\n }\n}\n","export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\n// Header for the Instant Navigation Testing API. In development and testing\n// builds, static pre-renders normally don't happen. This header tells the\n// server to perform a static pre-render anyway, allowing tests to assert on\n// the prefetched UI. Not exposed in production builds by default.\nexport const NEXT_INSTANT_PREFETCH_HEADER =\n 'next-instant-navigation-testing-prefetch' as const\n\n// Cookie for the Instant Navigation Testing API. Used for MPA navigations\n// (page reload, full page load) where we can't set request headers. When set,\n// the server renders only the static shell. Not exposed in production builds\n// by default.\nexport const NEXT_INSTANT_TEST_COOKIE =\n 'next-instant-navigation-testing' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n","import type { UrlWithParsedQuery } from 'url'\nimport { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers'\n\nconst DUMMY_ORIGIN = 'http://n'\n\nexport function isFullStringUrl(url: string) {\n return /https?:\\/\\//.test(url)\n}\n\nexport function parseUrl(url: string): URL | undefined {\n let parsed: URL | undefined = undefined\n try {\n parsed = new URL(url, DUMMY_ORIGIN)\n } catch {}\n return parsed\n}\n\nexport function parseReqUrl(url: string): UrlWithParsedQuery | undefined {\n const parsedUrl: URL | undefined = parseUrl(url)\n\n if (!parsedUrl) {\n return\n }\n\n const query: Record = {}\n\n for (const key of parsedUrl.searchParams.keys()) {\n const values = parsedUrl.searchParams.getAll(key)\n query[key] = values.length > 1 ? values : values[0]\n }\n\n const legacyUrl: UrlWithParsedQuery = {\n query,\n hash: parsedUrl.hash,\n search: parsedUrl.search,\n path: parsedUrl.pathname,\n pathname: parsedUrl.pathname,\n href: `${parsedUrl.pathname}${parsedUrl.search}${parsedUrl.hash}`,\n host: '',\n hostname: '',\n auth: '',\n protocol: '',\n slashes: null,\n port: '',\n }\n return legacyUrl\n}\n\nexport function stripNextRscUnionQuery(relativeUrl: string): string {\n const urlInstance = new URL(relativeUrl, DUMMY_ORIGIN)\n urlInstance.searchParams.delete(NEXT_RSC_UNION_QUERY)\n\n return urlInstance.pathname + urlInstance.search\n}\n","// Format function modified from nodejs\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nimport type { UrlObject } from 'url'\nimport type { ParsedUrlQuery } from 'querystring'\nimport * as querystring from './querystring'\n\nconst slashedProtocols = /https?|ftp|gopher|file/\n\nexport function formatUrl(urlObj: UrlObject) {\n let { auth, hostname } = urlObj\n let protocol = urlObj.protocol || ''\n let pathname = urlObj.pathname || ''\n let hash = urlObj.hash || ''\n let query = urlObj.query || ''\n let host: string | false = false\n\n auth = auth ? encodeURIComponent(auth).replace(/%3A/i, ':') + '@' : ''\n\n if (urlObj.host) {\n host = auth + urlObj.host\n } else if (hostname) {\n host = auth + (~hostname.indexOf(':') ? `[${hostname}]` : hostname)\n if (urlObj.port) {\n host += ':' + urlObj.port\n }\n }\n\n if (query && typeof query === 'object') {\n query = String(querystring.urlQueryToSearchParams(query as ParsedUrlQuery))\n }\n\n let search = urlObj.search || (query && `?${query}`) || ''\n\n if (protocol && !protocol.endsWith(':')) protocol += ':'\n\n if (\n urlObj.slashes ||\n ((!protocol || slashedProtocols.test(protocol)) && host !== false)\n ) {\n host = '//' + (host || '')\n if (pathname && pathname[0] !== '/') pathname = '/' + pathname\n } else if (!host) {\n host = ''\n }\n\n if (hash && hash[0] !== '#') hash = '#' + hash\n if (search && search[0] !== '?') search = '?' + search\n\n pathname = pathname.replace(/[?#]/g, encodeURIComponent)\n search = search.replace('#', '%23')\n\n return `${protocol}${host}${pathname}${search}${hash}`\n}\n\nexport const urlObjectKeys = [\n 'auth',\n 'hash',\n 'host',\n 'hostname',\n 'href',\n 'path',\n 'pathname',\n 'port',\n 'protocol',\n 'query',\n 'search',\n 'slashes',\n]\n\nexport function formatWithValidation(url: UrlObject): string {\n if (process.env.NODE_ENV === 'development') {\n if (url !== null && typeof url === 'object') {\n Object.keys(url).forEach((key) => {\n if (!urlObjectKeys.includes(key)) {\n console.warn(\n `Unknown key passed via urlObject into url.format: ${key}`\n )\n }\n })\n }\n }\n\n return formatUrl(url)\n}\n","import type { Rewrite } from '../lib/load-custom-routes'\nimport type { RouteMatchFn } from '../shared/lib/router/utils/route-matcher'\nimport type { NextConfig } from './config'\nimport type { BaseNextRequest } from './base-http'\nimport type { NextUrlWithParsedQuery } from './request-meta'\nimport type { ParsedUrlQuery } from 'querystring'\n\nimport { normalizeLocalePath } from '../shared/lib/i18n/normalize-locale-path'\nimport { getPathMatch } from '../shared/lib/router/utils/path-match'\nimport { getNamedRouteRegex } from '../shared/lib/router/utils/route-regex'\nimport { getRouteMatcher } from '../shared/lib/router/utils/route-matcher'\nimport {\n matchHas,\n prepareDestination,\n} from '../shared/lib/router/utils/prepare-destination'\nimport { removeTrailingSlash } from '../shared/lib/router/utils/remove-trailing-slash'\nimport { normalizeRscURL } from '../shared/lib/router/utils/app-paths'\nimport {\n NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER,\n NEXT_CACHE_REVALIDATED_TAGS_HEADER,\n NEXT_INTERCEPTION_MARKER_PREFIX,\n NEXT_QUERY_PARAM_PREFIX,\n} from '../lib/constants'\nimport { normalizeNextQueryParam } from './web/utils'\nimport type { IncomingHttpHeaders, IncomingMessage } from 'http'\nimport { decodeQueryPathParameter } from './lib/decode-query-path-parameter'\nimport type { DeepReadonly } from '../shared/lib/deep-readonly'\nimport { parseReqUrl } from '../lib/url'\nimport { formatUrl } from '../shared/lib/router/utils/format-url'\n\nfunction filterInternalQuery(\n query: Record,\n paramKeys: string[]\n) {\n // this is used to pass query information in rewrites\n // but should not be exposed in final query\n delete query['nextInternalLocale']\n\n for (const key in query) {\n const isNextQueryPrefix =\n key !== NEXT_QUERY_PARAM_PREFIX && key.startsWith(NEXT_QUERY_PARAM_PREFIX)\n\n const isNextInterceptionMarkerPrefix =\n key !== NEXT_INTERCEPTION_MARKER_PREFIX &&\n key.startsWith(NEXT_INTERCEPTION_MARKER_PREFIX)\n\n if (\n isNextQueryPrefix ||\n isNextInterceptionMarkerPrefix ||\n paramKeys.includes(key)\n ) {\n delete query[key]\n }\n }\n}\n\nexport function normalizeCdnUrl(\n req: BaseNextRequest | IncomingMessage,\n paramKeys: string[]\n) {\n // make sure to normalize req.url from CDNs to strip dynamic and rewrite\n // params from the query which are added during routing\n const _parsedUrl = parseReqUrl(req.url!)\n\n // we can't normalize if we can't parse\n if (!_parsedUrl) {\n return req.url\n }\n delete (_parsedUrl as any).search\n filterInternalQuery(_parsedUrl.query, paramKeys)\n\n req.url = formatUrl(_parsedUrl)\n}\n\nexport function interpolateDynamicPath(\n pathname: string,\n params: ParsedUrlQuery,\n defaultRouteRegex?: ReturnType | undefined\n) {\n if (!defaultRouteRegex) return pathname\n\n for (const param of Object.keys(defaultRouteRegex.groups)) {\n const { optional, repeat } = defaultRouteRegex.groups[param]\n let builtParam = `[${repeat ? '...' : ''}${param}]`\n\n if (optional) {\n builtParam = `[${builtParam}]`\n }\n\n let paramValue: string\n const value = params[param]\n\n if (Array.isArray(value)) {\n paramValue = value.map((v) => v && encodeURIComponent(v)).join('/')\n } else if (value) {\n paramValue = encodeURIComponent(value)\n } else {\n paramValue = ''\n }\n\n if (paramValue || optional) {\n pathname = pathname.replaceAll(builtParam, paramValue)\n }\n }\n\n return pathname\n}\n\nexport function normalizeDynamicRouteParams(\n query: ParsedUrlQuery,\n defaultRouteRegex: ReturnType,\n defaultRouteMatches: ParsedUrlQuery,\n ignoreMissingOptional: boolean\n) {\n const isDefaultValueMatch = (\n candidateValue: string | undefined,\n defaultValue: string\n ) => {\n if (!candidateValue) {\n return false\n }\n\n let normalizedCandidateValue = normalizeRscURL(candidateValue)\n for (let i = 0; i < 3; i++) {\n if (normalizedCandidateValue === defaultValue) {\n return true\n }\n\n const decodedCandidateValue = decodeQueryPathParameter(\n normalizedCandidateValue\n )\n\n if (decodedCandidateValue === normalizedCandidateValue) {\n break\n }\n\n normalizedCandidateValue = decodedCandidateValue\n }\n\n return false\n }\n\n let hasValidParams = true\n let params: ParsedUrlQuery = {}\n\n for (const key of Object.keys(defaultRouteRegex.groups)) {\n let value: string | string[] | undefined = query[key]\n\n if (typeof value === 'string') {\n value = normalizeRscURL(value)\n } else if (Array.isArray(value)) {\n value = value.map(normalizeRscURL)\n }\n\n // if the value matches the default value we can't rely\n // on the parsed params, this is used to signal if we need\n // to parse x-now-route-matches or not\n const defaultValue = defaultRouteMatches![key]\n const isOptional = defaultRouteRegex!.groups[key].optional\n\n const isDefaultValue = Array.isArray(defaultValue)\n ? defaultValue.some((defaultVal) => {\n return Array.isArray(value)\n ? value.some((val) => isDefaultValueMatch(val, defaultVal))\n : isDefaultValueMatch(value, defaultVal)\n })\n : Array.isArray(value)\n ? value.some((val) => isDefaultValueMatch(val, defaultValue as string))\n : isDefaultValueMatch(value, defaultValue as string)\n\n if (\n isDefaultValue ||\n (typeof value === 'undefined' && !(isOptional && ignoreMissingOptional))\n ) {\n return { params: {}, hasValidParams: false }\n }\n\n // non-provided optional values should be undefined so normalize\n // them to undefined\n if (\n isOptional &&\n (!value ||\n (Array.isArray(value) &&\n value.length === 1 &&\n // fallback optional catch-all SSG pages have\n // [[...paramName]] for the root path on Vercel\n (value[0] === 'index' || value[0] === `[[...${key}]]`)) ||\n value === 'index' ||\n value === `[[...${key}]]`)\n ) {\n value = undefined\n delete query[key]\n }\n\n // query values from the proxy aren't already split into arrays\n // so make sure to normalize catch-all values\n if (\n value &&\n typeof value === 'string' &&\n defaultRouteRegex!.groups[key].repeat\n ) {\n value = value.split('/')\n }\n\n if (value) {\n params[key] = value\n }\n }\n\n return {\n params,\n hasValidParams,\n }\n}\n\nexport function getServerUtils({\n page,\n i18n,\n basePath,\n rewrites,\n pageIsDynamic,\n trailingSlash,\n caseSensitive,\n}: {\n page: string\n i18n?: NextConfig['i18n']\n basePath: string\n rewrites: DeepReadonly<{\n fallback?: ReadonlyArray\n afterFiles?: ReadonlyArray\n beforeFiles?: ReadonlyArray\n }>\n pageIsDynamic: boolean\n trailingSlash?: boolean\n caseSensitive: boolean\n}) {\n let defaultRouteRegex: ReturnType | undefined\n let dynamicRouteMatcher: RouteMatchFn | undefined\n let defaultRouteMatches: ParsedUrlQuery | undefined\n\n if (pageIsDynamic) {\n defaultRouteRegex = getNamedRouteRegex(page, {\n prefixRouteKeys: false,\n })\n dynamicRouteMatcher = getRouteMatcher(defaultRouteRegex)\n defaultRouteMatches = dynamicRouteMatcher(page) as ParsedUrlQuery\n }\n\n function handleRewrites(\n req: BaseNextRequest | IncomingMessage,\n parsedUrl: DeepReadonly\n ) {\n // Here we deep clone the parsedUrl to avoid mutating the original. We also\n // cast this to a mutable type so we can mutate it within this scope.\n const rewrittenParsedUrl = structuredClone(\n parsedUrl\n ) as NextUrlWithParsedQuery\n const rewriteParams: Record = {}\n let fsPathname = rewrittenParsedUrl.pathname\n\n const matchesPage = () => {\n const fsPathnameNoSlash = removeTrailingSlash(fsPathname || '')\n return (\n fsPathnameNoSlash === removeTrailingSlash(page) ||\n dynamicRouteMatcher?.(fsPathnameNoSlash)\n )\n }\n\n const checkRewrite = (rewrite: DeepReadonly): boolean => {\n const matcher = getPathMatch(\n rewrite.source + (trailingSlash ? '(/)?' : ''),\n {\n removeUnnamedParams: true,\n strict: true,\n sensitive: !!caseSensitive,\n }\n )\n\n if (!rewrittenParsedUrl.pathname) return false\n\n let params = matcher(rewrittenParsedUrl.pathname)\n\n if ((rewrite.has || rewrite.missing) && params) {\n const hasParams = matchHas(\n req,\n rewrittenParsedUrl.query,\n rewrite.has as Rewrite['has'],\n rewrite.missing as Rewrite['missing']\n )\n\n if (hasParams) {\n Object.assign(params, hasParams)\n } else {\n params = false\n }\n }\n\n if (params) {\n const { parsedDestination, destQuery } = prepareDestination({\n appendParamsToQuery: true,\n destination: rewrite.destination,\n params: params,\n query: rewrittenParsedUrl.query,\n })\n\n // if the rewrite destination is external break rewrite chain\n if (parsedDestination.protocol) {\n return true\n }\n\n Object.assign(rewriteParams, destQuery, params)\n Object.assign(rewrittenParsedUrl.query, parsedDestination.query)\n delete (parsedDestination as any).query\n\n Object.assign(rewrittenParsedUrl, parsedDestination)\n\n fsPathname = rewrittenParsedUrl.pathname\n if (!fsPathname) return false\n\n if (basePath) {\n fsPathname = fsPathname.replace(new RegExp(`^${basePath}`), '') || '/'\n }\n\n if (i18n) {\n const result = normalizeLocalePath(fsPathname, i18n.locales)\n fsPathname = result.pathname\n rewrittenParsedUrl.query.nextInternalLocale =\n result.detectedLocale || params.nextInternalLocale\n }\n\n if (fsPathname === page) {\n return true\n }\n\n if (pageIsDynamic && dynamicRouteMatcher) {\n const dynamicParams = dynamicRouteMatcher(fsPathname)\n if (dynamicParams) {\n rewrittenParsedUrl.query = {\n ...rewrittenParsedUrl.query,\n ...dynamicParams,\n }\n return true\n }\n }\n }\n\n return false\n }\n\n for (const rewrite of rewrites.beforeFiles || []) {\n checkRewrite(rewrite)\n }\n\n if (fsPathname !== page) {\n let finished = false\n\n for (const rewrite of rewrites.afterFiles || []) {\n finished = checkRewrite(rewrite)\n if (finished) break\n }\n\n if (!finished && !matchesPage()) {\n for (const rewrite of rewrites.fallback || []) {\n finished = checkRewrite(rewrite)\n if (finished) break\n }\n }\n }\n\n return { rewriteParams, rewrittenParsedUrl }\n }\n\n function getParamsFromRouteMatches(routeMatchesHeader: string) {\n // If we don't have a default route regex, we can't get params from route\n // matches\n if (!defaultRouteRegex) return null\n\n const { groups, routeKeys } = defaultRouteRegex\n\n const matcher = getRouteMatcher({\n re: {\n // Simulate a RegExp match from the \\`req.url\\` input\n exec: (str: string) => {\n // Normalize all the prefixed query params.\n const obj: Record = Object.fromEntries(\n new URLSearchParams(str)\n )\n for (const [key, value] of Object.entries(obj)) {\n const normalizedKey = normalizeNextQueryParam(key)\n if (!normalizedKey) continue\n\n obj[normalizedKey] = value\n delete obj[key]\n }\n\n // Use all the named route keys.\n const result = {} as RegExpExecArray\n for (const keyName of Object.keys(routeKeys)) {\n const paramName = routeKeys[keyName]\n\n // If this param name is not a valid parameter name, then skip it.\n if (!paramName) continue\n\n const group = groups[paramName]\n const value = obj[keyName]\n\n // When we're missing a required param, we can't match the route.\n if (!group.optional && !value) return null\n\n result[group.pos] = value\n }\n\n return result\n },\n },\n groups,\n })\n\n const routeMatches = matcher(routeMatchesHeader)\n if (!routeMatches) return null\n\n return routeMatches\n }\n\n function normalizeQueryParams(\n query: Record,\n routeParamKeys: Set\n ) {\n // this is used to pass query information in rewrites\n // but should not be exposed in final query\n delete query['nextInternalLocale']\n\n for (const [key, value] of Object.entries(query)) {\n const normalizedKey = normalizeNextQueryParam(key)\n if (!normalizedKey) continue\n\n // Remove the prefixed key from the query params because we want\n // to consume it for the dynamic route matcher.\n delete query[key]\n routeParamKeys.add(normalizedKey)\n\n if (typeof value === 'undefined') continue\n\n query[normalizedKey] = Array.isArray(value)\n ? value.map((v) => decodeQueryPathParameter(v))\n : decodeQueryPathParameter(value)\n }\n }\n\n return {\n handleRewrites,\n defaultRouteRegex,\n dynamicRouteMatcher,\n defaultRouteMatches,\n normalizeQueryParams,\n getParamsFromRouteMatches,\n /**\n * Normalize dynamic route params.\n *\n * @param query - The query params to normalize.\n * @param ignoreMissingOptional - Whether to ignore missing optional params.\n * @returns The normalized params and whether they are valid.\n */\n normalizeDynamicRouteParams: (\n query: ParsedUrlQuery,\n ignoreMissingOptional: boolean\n ) => {\n if (!defaultRouteRegex || !defaultRouteMatches) {\n return { params: {}, hasValidParams: false }\n }\n\n return normalizeDynamicRouteParams(\n query,\n defaultRouteRegex,\n defaultRouteMatches,\n ignoreMissingOptional\n )\n },\n\n normalizeCdnUrl: (\n req: BaseNextRequest | IncomingMessage,\n paramKeys: string[]\n ) => normalizeCdnUrl(req, paramKeys),\n\n interpolateDynamicPath: (\n pathname: string,\n params: Record\n ) => interpolateDynamicPath(pathname, params, defaultRouteRegex),\n\n filterInternalQuery: (query: ParsedUrlQuery, paramKeys: string[]) =>\n filterInternalQuery(query, paramKeys),\n }\n}\n\nexport function getPreviouslyRevalidatedTags(\n headers: IncomingHttpHeaders,\n previewModeId: string | undefined\n): string[] {\n return typeof headers[NEXT_CACHE_REVALIDATED_TAGS_HEADER] === 'string' &&\n headers[NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER] === previewModeId\n ? headers[NEXT_CACHE_REVALIDATED_TAGS_HEADER].split(',')\n : []\n}\n","// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str: string) {\n let hash = 5381\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i)\n hash = ((hash << 5) + hash + char) & 0xffffffff\n }\n return hash >>> 0\n}\n\nexport function hexHash(str: string) {\n return djb2Hash(str).toString(36).slice(0, 5)\n}\n","import { isMetadataPage } from './is-metadata-route'\nimport path from '../../shared/lib/isomorphic/path'\nimport { interpolateDynamicPath } from '../../server/server-utils'\nimport { getNamedRouteRegex } from '../../shared/lib/router/utils/route-regex'\nimport { djb2Hash } from '../../shared/lib/hash'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { normalizePathSep } from '../../shared/lib/page-path/normalize-path-sep'\nimport {\n isGroupSegment,\n isParallelRouteSegment,\n} from '../../shared/lib/segment'\n\n/*\n * If there's special convention like (...) or @ in the page path,\n * Give it a unique hash suffix to avoid conflicts\n *\n * e.g.\n * /opengraph-image -> /opengraph-image\n * /(post)/opengraph-image.tsx -> /opengraph-image-[0-9a-z]{6}\n *\n * Sitemap is an exception, it should not have a suffix.\n * Each sitemap contains all the urls of sub routes, we don't have the case of duplicates `/(group)/sitemap.[ext]` and `/sitemap.[ext]` since they should be the same.\n * Hence we always normalize the urls for sitemap and do not append hash suffix, and ensure user-land only contains one sitemap per pathname.\n *\n * /sitemap -> /sitemap\n * /(post)/sitemap -> /sitemap\n */\nfunction getMetadataRouteSuffix(page: string) {\n // Remove the last segment and get the parent pathname\n // e.g. /parent/a/b/c -> /parent/a/b\n // e.g. /parent/opengraph-image -> /parent\n const parentPathname = path.dirname(page)\n // Only apply suffix to metadata routes except for sitemaps\n if (page.endsWith('/sitemap') || page.endsWith('/sitemap.xml')) {\n return ''\n }\n\n // Calculate the hash suffix based on the parent path\n let suffix = ''\n // Check if there's any special characters in the parent pathname.\n const segments = parentPathname.split('/')\n if (\n segments.some((seg) => isGroupSegment(seg) || isParallelRouteSegment(seg))\n ) {\n // Hash the parent path to get a unique suffix\n suffix = djb2Hash(parentPathname).toString(36).slice(0, 6)\n }\n return suffix\n}\n\n/**\n * Fill the dynamic segment in the metadata route\n *\n * Example:\n * fillMetadataSegment('/a/[slug]', { params: { slug: 'b' } }, 'open-graph', false) -> '/a/b/open-graph'\n *\n * When isStatic is true, all dynamic segments are filled with \"-\" placeholder\n * since static metadata files have consistent responses regardless of params.\n * Example:\n * fillMetadataSegment('/a/[slug]', {}, 'icon.png', true) -> '/a/-/icon.png'\n *\n */\nexport function fillMetadataSegment(\n segment: string,\n params: any,\n lastSegment: string,\n isStatic: boolean\n) {\n const pathname = normalizeAppPath(segment)\n const routeRegex = getNamedRouteRegex(pathname, {\n prefixRouteKeys: false,\n })\n\n // For static metadata files, fill all dynamic segments with \"-\" placeholder\n const routeParams = isStatic\n ? Object.keys(routeRegex.groups).reduce(\n (acc, key) => {\n const { repeat } = routeRegex.groups[key]\n // Use array for catch-all segments, string for regular segments\n acc[key] = repeat ? ['-'] : '-'\n return acc\n },\n {} as Record\n )\n : params\n\n const route = interpolateDynamicPath(pathname, routeParams, routeRegex)\n const { name, ext } = path.parse(lastSegment)\n const pagePath = path.posix.join(segment, name)\n const suffix = getMetadataRouteSuffix(pagePath)\n const routeSuffix = suffix ? `-${suffix}` : ''\n\n return normalizePathSep(path.join(route, `${name}${routeSuffix}${ext}`))\n}\n\n/**\n * Map metadata page key to the corresponding route\n *\n * static file page key: /app/robots.txt -> /robots.xml -> /robots.txt/route\n * dynamic route page key: /app/robots.tsx -> /robots -> /robots.txt/route\n *\n * @param page\n * @returns\n */\nexport function normalizeMetadataRoute(page: string) {\n if (!isMetadataPage(page)) {\n return page\n }\n let route = page\n let suffix = ''\n if (page === '/robots') {\n route += '.txt'\n } else if (page === '/manifest') {\n route += '.webmanifest'\n } else {\n suffix = getMetadataRouteSuffix(page)\n }\n // Support both / and custom routes //route.ts.\n // If it's a metadata file route, we need to append /[id]/route to the page.\n if (!route.endsWith('/route')) {\n const { dir, name: baseName, ext } = path.parse(route)\n route = path.posix.join(\n dir,\n `${baseName}${suffix ? `-${suffix}` : ''}${ext}`,\n 'route'\n )\n }\n\n return route\n}\n\n// Normalize metadata route page to either a single route or a dynamic route.\n// e.g. Input: /sitemap/route\n// when isDynamic is false, single route -> /sitemap.xml/route\n// when isDynamic is false, dynamic route -> /sitemap/[__metadata_id__]/route\n// also works for pathname such as /sitemap -> /sitemap.xml, but will not append /route suffix\nexport function normalizeMetadataPageToRoute(page: string, isDynamic: boolean) {\n const isRoute = page.endsWith('/route')\n const routePagePath = isRoute ? page.slice(0, -'/route'.length) : page\n const metadataRouteExtension = routePagePath.endsWith('/sitemap')\n ? '.xml'\n : ''\n const mapped = isDynamic\n ? `${routePagePath}/[__metadata_id__]`\n : `${routePagePath}${metadataRouteExtension}`\n\n return mapped + (isRoute ? '/route' : '')\n}\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n"],"names":["normalizePathSep","path","replace","ensureLeadingSlash","startsWith","DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","segment","Array","isArray","endsWith","searchParams","isPageSegment","includes","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","Object","values","segmentValue","push","compareAppPaths","normalizeAppPath","normalizeRscURL","route","split","reduce","pathname","index","a","b","aHasSlot","bHasSlot","localeCompare","url","isAppRouteRoute","DEFAULT_METADATA_ROUTE_EXTENSIONS","STATIC_METADATA_IMAGES","getExtensionRegexString","isMetadataPage","isMetadataRoute","isMetadataRouteFile","isStaticMetadataFile","isStaticMetadataRoute","icon","filename","extensions","apple","favicon","openGraph","twitter","staticExtensions","dynamicExtensions","result","join","appDirRelativePath","FAVICON_REGEX","ROBOTS_TXT_REGEX","MANIFEST_JSON_REGEX","MANIFEST_WEBMANIFEST_REGEX","SITEMAP_XML_REGEX","compiledRegexCache","Map","fastPathCheck","normalizedPath","test","getCompiledRegexes","pageExtensions","strictlyMatchExtensions","cacheKey","cached","get","trailingMatcher","variantsMatcher","groupSuffix","suffixMatcher","robotsExts","manifestExts","regexes","RegExp","set","fastResult","i","matched","page","process","env","NEXT_RUNTIME","require","module","exports","normalizeLocalePath","cache","WeakMap","locales","lowercasedLocales","map","locale","toLowerCase","detectedLocale","indexOf","slice","__nccwpck_require__","ab","e","n","defineProperty","value","pathToRegexp","tokensToRegexp","regexpToFunction","match","tokensToFunction","compile","parse","lexer","r","t","type","o","charCodeAt","TypeError","concat","c","f","prefixes","delimiter","u","p","tryConsume","mustConsume","undefined","consumeText","isSafe","safePattern","name","escapeString","v","s","d","g","prefix","suffix","pattern","modifier","x","h","l","m","T","flags","encode","validate","String","decode","exec","create","_loop_1","params","sensitive","regexpToRegexp","source","arrayToRegexp","stringToRegexp","strict","start","end","E","w","y","R","A","_","getPathMatch","options","keys","regexp","matcher","regexModifier","removeUnnamedParams","key","ACTION_SUFFIX","APP_DIR_ALIAS","CACHE_ONE_YEAR_SECONDS","DOT_NEXT_ALIAS","ESLINT_DEFAULT_DIRS","GSP_NO_RETURNED_VALUE","GSSP_COMPONENT_MEMBER_ERROR","GSSP_NO_RETURNED_VALUE","HTML_CONTENT_TYPE_HEADER","INFINITE_CACHE","INSTRUMENTATION_HOOK_FILENAME","JSON_CONTENT_TYPE_HEADER","MATCHED_PATH_HEADER","MIDDLEWARE_FILENAME","MIDDLEWARE_LOCATION_REGEXP","NEXT_BODY_SUFFIX","NEXT_CACHE_IMPLICIT_TAG_ID","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","NEXT_CACHE_ROOT_PARAM_TAG_ID","NEXT_CACHE_SOFT_TAG_MAX_LENGTH","NEXT_CACHE_TAGS_HEADER","NEXT_CACHE_TAG_MAX_ITEMS","NEXT_CACHE_TAG_MAX_LENGTH","NEXT_DATA_SUFFIX","NEXT_INTERCEPTION_MARKER_PREFIX","NEXT_META_SUFFIX","NEXT_NAV_DEPLOYMENT_ID_HEADER","NEXT_QUERY_PARAM_PREFIX","NEXT_RESUME_HEADER","NEXT_RESUME_STATE_LENGTH_HEADER","NON_STANDARD_NODE_ENV","PAGES_DIR_ALIAS","PRERENDER_REVALIDATE_HEADER","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","PROXY_FILENAME","PROXY_LOCATION_REGEXP","PUBLIC_DIR_MIDDLEWARE_CONFLICT","ROOT_DIR_ALIAS","RSC_ACTION_CLIENT_WRAPPER_ALIAS","RSC_ACTION_ENCRYPTION_ALIAS","RSC_ACTION_PROXY_ALIAS","RSC_ACTION_VALIDATE_ALIAS","RSC_CACHE_WRAPPER_ALIAS","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS","RSC_MOD_REF_PROXY_ALIAS","RSC_SEGMENTS_DIR_SUFFIX","RSC_SEGMENT_SUFFIX","RSC_SUFFIX","SERVER_PROPS_EXPORT_ERROR","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","SERVER_RUNTIME","SSG_FALLBACK_EXPORT_ERROR","SSG_GET_INITIAL_PROPS_CONFLICT","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","TEXT_PLAIN_CONTENT_TYPE_HEADER","UNSTABLE_REVALIDATE_RENAME_ERROR","WEBPACK_LAYERS","WEBPACK_RESOURCE_QUERIES","WEB_SOCKET_MAX_RECONNECTIONS","edge","experimentalEdge","nodejs","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","edgeSSREntry","metadata","metadataRoute","metadataImageMeta","INTERCEPTION_ROUTE_MARKERS","extractInterceptionRouteInformation","isInterceptionRouteAppPath","find","interceptingRoute","marker","interceptedRoute","Error","splitInterceptingRoute","escapeStringRegexp","reHasRegExp","reReplaceRegExp","str","removeTrailingSlash","parseLoaderTree","modules","staticSiblings","layout","template","defaultPage","conventionPath","getParamProperties","getSegmentParam","isCatchAll","interceptionMarker","paramType","paramName","repeat","optional","isInterceptionAppRoute","isNormalizedAppRoute","parseAppRoute","parseAppRouteSegment","normalizeEncodedDynamicPlaceholder","decodedSegment","decodeURIComponent","param","normalized","pathnameSegments","filter","Boolean","normalizedSegment","appSegment","InvariantError","parts","dynamicSegments","interceptionPrefixFromParamType","resolveParamValue","getParamValueFromSegment","pathSegment","interceptionPrefix","depth","processedSegments","hasOwnProperty","paramValue","PARAMETER_PATTERN","getDynamicParam","interpolateParallelRouteParams","parseMatchedParameter","parseParameter","getParamValue","interpolatedParams","segmentKey","fallbackRouteParams","has","searchValue","encodeURIComponent","loaderTree","pagePath","interpolated","structuredClone","stack","pop","nextDepth","parallelRoute","dynamicParamType","treeSegment","paramCacheKey","getNamedMiddlewareRegex","getNamedRouteRegex","getRouteRegex","getParametrizedRoute","includeSuffix","includePrefix","groups","groupIndex","markerMatch","paramMatches","pos","substring","parameterizedRoute","normalizedRoute","excludeOptionalTrailingSlash","re","buildGetSafeRouteKey","routeKey","j","fromCharCode","Math","floor","getSafeKeyFromSegment","getSafeRouteKey","routeKeys","keyPrefix","backreferenceDuplicateKeys","cleanedKey","invalidKey","isNaN","parseInt","duplicateKey","getNamedParametrizedRoute","prefixRouteKeys","reference","names","intercepted","inverseParts","hasInterceptionMarker","some","namedParameterizedRoute","pathToRegexpPattern","namedRegex","catchAll","catchAllRegex","catchAllGroupedRegex","DecodeError","MiddlewareNotFoundError","MissingStaticPage","NormalizeError","PageNotFoundError","SP","ST","WEB_VITALS","execOnce","getDisplayName","getLocationOrigin","getURL","isAbsoluteUrl","isResSent","loadGetInitialProps","normalizeRepeatedSlashes","stringifyError","fn","used","args","ABSOLUTE_URL_REGEX","protocol","hostname","port","window","location","href","origin","Component","displayName","res","finished","headersSent","urlParts","urlNoQuery","App","ctx","NODE_ENV","prototype","getInitialProps","message","pageProps","props","console","warn","performance","every","method","constructor","code","error","PARAM_SEPARATOR","hasAdjacentParameterIssues","normalizeAdjacentParameters","normalizeTokensForRegexp","stripNormalizedSeparators","stripParameterSeparators","tokens","token","cleaned","entries","item","safeCompile","safePathToRegexp","safeRegexpToFunction","safeRouteMatcher","needsNormalization","routeToUse","retryError","compiler","originalMatcher","matcherFn","getRouteMatcher","rawMatcher","routeMatch","group","entry","assign","searchParamsToUrlQuery","urlQueryToSearchParams","query","existing","stringifyUrlQueryParam","URLSearchParams","append","target","searchParamsList","delete","parseRelativeUrl","base","parseQuery","globalBase","URL","resolvedBase","search","hash","host","auth","slashes","parseUrl","parsedURL","username","password","getCookieParser","headers","parseCookie","cookie","parseCookieFn","compileNonPath","matchHas","parseDestination","prepareDestination","getSafeParamName","newParamName","charCode","escapeSegment","segmentName","unescapeSegments","req","missing","hasMatch","hasItem","cookies","matches","forEach","groupKey","allMatch","escaped","destination","parsed","parsedDestination","destHostname","destQuery","destSearch","destPath","destParams","destPathParamKeys","destHostnameParamKeys","destPathCompiler","destHostnameCompiler","strOrArray","paramKeys","appendParamsToQuery","newUrl","err","fromNodeOutgoingHttpHeaders","normalizeNextQueryParam","splitCookiesString","toNodeOutgoingHttpHeaders","validateURL","nodeHeaders","Headers","toString","cookiesString","cookiesStrings","ch","lastComma","nextStart","cookiesSeparatorFound","skipWhitespace","charAt","notSpecialChar","cause","decodeQueryPathParameter","ACTION_HEADER","FLIGHT_HEADERS","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_ACTION_REVALIDATED_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_HMR_REFRESH_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_INSTANT_PREFETCH_HEADER","NEXT_INSTANT_TEST_COOKIE","NEXT_IS_PRERENDER_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_REWRITTEN_PATH_HEADER","NEXT_REWRITTEN_QUERY_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_RSC_UNION_QUERY","NEXT_URL","RSC_CONTENT_TYPE_HEADER","RSC_HEADER","isFullStringUrl","parseReqUrl","stripNextRscUnionQuery","DUMMY_ORIGIN","parsedUrl","getAll","legacyUrl","relativeUrl","urlInstance","formatUrl","formatWithValidation","urlObjectKeys","slashedProtocols","urlObj","querystring","getPreviouslyRevalidatedTags","getServerUtils","interpolateDynamicPath","normalizeCdnUrl","normalizeDynamicRouteParams","filterInternalQuery","isNextQueryPrefix","isNextInterceptionMarkerPrefix","_parsedUrl","defaultRouteRegex","builtParam","replaceAll","defaultRouteMatches","ignoreMissingOptional","isDefaultValueMatch","candidateValue","defaultValue","normalizedCandidateValue","decodedCandidateValue","hasValidParams","isOptional","isDefaultValue","defaultVal","val","i18n","basePath","rewrites","pageIsDynamic","trailingSlash","caseSensitive","dynamicRouteMatcher","handleRewrites","rewrittenParsedUrl","rewriteParams","fsPathname","matchesPage","fsPathnameNoSlash","checkRewrite","rewrite","hasParams","nextInternalLocale","dynamicParams","beforeFiles","afterFiles","fallback","getParamsFromRouteMatches","routeMatchesHeader","obj","fromEntries","normalizedKey","keyName","routeMatches","normalizeQueryParams","routeParamKeys","add","previewModeId","djb2Hash","hexHash","char","fillMetadataSegment","normalizeMetadataPageToRoute","normalizeMetadataRoute","getMetadataRouteSuffix","parentPathname","dirname","seg","lastSegment","isStatic","routeRegex","routeParams","acc","ext","posix","routeSuffix","dir","baseName","isDynamic","isRoute","routePagePath","metadataRouteExtension","mapped","__NEXT_EXPERIMENTAL_REACT","TURBOPACK"],"mappings":"6CAKO,SAASA,EAAiBC,CAAY,EAC3C,OAAOA,EAAKC,OAAO,CAAC,MAAO,IAC7B,CAHC,OAAA,cAAA,CAAA,EAAA,aAAA,oCACeF,mBAAAA,qCAAAA,mCCDT,SAASG,EAAmBF,CAAY,EAC7C,OAAOA,EAAKG,UAAU,CAAC,KAAOH,EAAO,CAAC,CAAC,EAAEA,EAAAA,CAAM,AACjD,CAHC,OAAA,cAAA,CAAA,EAAA,aAAA,oCACeE,qBAAAA,qCAAAA,2FCmFHE,mBAAmB,CAAA,kBAAnBA,GACAC,qBAAqB,CAAA,kBAArBA,GAFAC,gBAAgB,CAAA,kBAAhBA,GAvEGC,4BAA4B,CAAA,kBAA5BA,GAgBAC,4BAA4B,CAAA,kBAA5BA,GA7BAC,eAAe,CAAA,kBAAfA,GAiDAC,4BAA4B,CAAA,kBAArC,AAASA,SAAAA,EACdiB,CAAuB,CACvBH,CAAwB,CACxBI,GAAQ,CAAI,CACZC,EAAwB,EAAE,MAEtBC,EACJ,GAAIF,EAEFE,EAAOH,CAAI,CAAC,CAFH,CAEK,CAACH,EAAiB,KAC3B,CAEL,IAAMO,EAAiBJ,CAAI,CAAC,EAAE,CAC9BG,EAAOC,EAAeC,QAAQ,EAAIC,OAAOC,MAAM,CAACH,EAAe,CAAC,EAAE,AACpE,CAEA,GAAI,CAACD,EAAM,OAAOD,EAGlB,IAAIM,EAAe1B,EAFHqB,CAAI,CAAC,EAAE,QAIvB,AAAI,CAACK,CAF8BtB,EAEdsB,EAAahC,UAAU,CAACG,GACpCuB,GAGTA,EAAYO,IAAI,CAACD,GAEVzB,EACLo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AAAA,EAAgBC,EAAAA,CAAwB,AAAxBA,GAENF,EAAU,SAAW,EAAA,CAAC,AACzC,mBCzHQvkB,EAAOC,OAAO,CAAGF,EAAQ,CAAA,CAAA,IAAA","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js b/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js deleted file mode 100644 index 82df5ed..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports=[3343,a=>{"use strict";var b,c=((b={}).PAGES="PAGES",b.PAGES_API="PAGES_API",b.APP_PAGE="APP_PAGE",b.APP_ROUTE="APP_ROUTE",b.IMAGE="IMAGE",b);a.s(["RouteKind",0,c])},29432,a=>{"use strict";a.s(["getRevalidateReason",0,function(a){return a.isOnDemandRevalidate?"on-demand":a.isStaticGeneration?"stale":void 0}])},18970,a=>{"use strict";var b,c,d,e,f,g,h,i,j,k,l,m,n=((b=n||{}).handleRequest="BaseServer.handleRequest",b.run="BaseServer.run",b.pipe="BaseServer.pipe",b.getStaticHTML="BaseServer.getStaticHTML",b.render="BaseServer.render",b.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",b.renderToResponse="BaseServer.renderToResponse",b.renderToHTML="BaseServer.renderToHTML",b.renderError="BaseServer.renderError",b.renderErrorToResponse="BaseServer.renderErrorToResponse",b.renderErrorToHTML="BaseServer.renderErrorToHTML",b.render404="BaseServer.render404",b),o=((c=o||{}).loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",c.loadComponents="LoadComponents.loadComponents",c),p=((d=p||{}).getRequestHandler="NextServer.getRequestHandler",d.getRequestHandlerWithMetadata="NextServer.getRequestHandlerWithMetadata",d.getServer="NextServer.getServer",d.getServerRequestHandler="NextServer.getServerRequestHandler",d.createServer="createServer.createServer",d),q=((e=q||{}).compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e),r=((f=r||{}).startServer="startServer.startServer",f),s=((g=s||{}).getServerSideProps="Render.getServerSideProps",g.getStaticProps="Render.getStaticProps",g.renderToString="Render.renderToString",g.renderDocument="Render.renderDocument",g.createBodyResult="Render.createBodyResult",g),t=((h=t||{}).renderToString="AppRender.renderToString",h.renderToReadableStream="AppRender.renderToReadableStream",h.getBodyResult="AppRender.getBodyResult",h.fetch="AppRender.fetch",h),u=((i=u||{}).executeRoute="Router.executeRoute",i),v=((j=v||{}).runHandler="Node.runHandler",j),w=((k=w||{}).runHandler="AppRouteRouteHandlers.runHandler",k),x=((l=x||{}).generateMetadata="ResolveMetadata.generateMetadata",l.generateViewport="ResolveMetadata.generateViewport",l),y=((m=y||{}).execute="Middleware.execute",m);let z=new Set(["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"]),A=new Set(["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]);a.s(["AppRenderSpan",0,t,"AppRouteRouteHandlersSpan",0,w,"BaseServerSpan",0,n,"LoadComponentsSpan",0,o,"LogSpanAllowList",0,A,"MiddlewareSpan",0,y,"NextNodeServerSpan",0,q,"NextServerSpan",0,p,"NextVanillaSpanAllowlist",0,z,"NodeSpan",0,v,"RenderSpan",0,s,"ResolveMetadataSpan",0,x,"RouterSpan",0,u,"StartServerSpan",0,r])},62562,(a,b,c)=>{(()=>{"use strict";let c,d,e,f,g;var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}const b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);b.NoopContextManager=class{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){const b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);function e(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=class{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return e("debug",this._namespace,a)}error(...a){return e("error",this._namespace,a)}info(...a){return e("info",this._namespace,a)}warn(...a){return e("warn",this._namespace,a)}verbose(...a){return e("verbose",this._namespace,a)}}},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];b.DiagConsoleLogger=class{constructor(){for(let a=0;a{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return ad.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,(c=b.DiagLogLevel||(b.DiagLogLevel={}))[c.NONE=0]="NONE",c[c.ERROR=30]="ERROR",c[c.WARN=50]="WARN",c[c.INFO=60]="INFO",c[c.DEBUG=70]="DEBUG",c[c.VERBOSE=80]="VERBOSE",c[c.ALL=9999]="ALL"},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,(c=b.ValueType||(b.ValueType={}))[c.INT=0]="INT",c[c.DOUBLE=1]="DOUBLE"},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c._globalThis=void 0,c._globalThis="object"==typeof globalThis?globalThis:a.g},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0,b.NoopTextMapPropagator=class{inject(a,b){}extract(a,b){return a}fields(){return[]}}},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);b.NonRecordingSpan=class{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();b.NoopTracer=class{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);b.NoopTracerProvider=class{getTracer(a,b,c){return new d.NoopTracer}}},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;b.ProxyTracer=class{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;b.ProxyTracerProvider=class{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}},996:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,(c=b.SamplingDecision||(b.SamplingDecision={}))[c.NOT_RECORD=0]="NOT_RECORD",c[c.RECORD=1]="RECORD",c[c.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,(c=b.SpanKind||(b.SpanKind={}))[c.INTERNAL=0]="INTERNAL",c[c.SERVER=1]="SERVER",c[c.CLIENT=2]="CLIENT",c[c.PRODUCER=3]="PRODUCER",c[c.CONSUMER=4]="CONSUMER"},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,(c=b.SpanStatusCode||(b.SpanStatusCode={}))[c.UNSET=0]="UNSET",c[c.OK=1]="OK",c[c.ERROR=2]="ERROR"},475:(a,b)=>{var c;Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,(c=b.TraceFlags||(b.TraceFlags={}))[c.NONE=0]="NONE",c[c.SAMPLED=1]="SAMPLED"},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},y={};function z(a){var b=y[a];if(void 0!==b)return b.exports;var c=y[a]={exports:{}},d=!0;try{x[a].call(c.exports,c,c.exports,z),d=!1}finally{d&&delete y[a]}return c.exports}z.ab="/ROOT/node_modules/next/dist/compiled/@opentelemetry/api/";var A={};Object.defineProperty(A,"__esModule",{value:!0}),A.trace=A.propagation=A.metrics=A.diag=A.context=A.INVALID_SPAN_CONTEXT=A.INVALID_TRACEID=A.INVALID_SPANID=A.isValidSpanId=A.isValidTraceId=A.isSpanContextValid=A.createTraceState=A.TraceFlags=A.SpanStatusCode=A.SpanKind=A.SamplingDecision=A.ProxyTracerProvider=A.ProxyTracer=A.defaultTextMapSetter=A.defaultTextMapGetter=A.ValueType=A.createNoopMeter=A.DiagLogLevel=A.DiagConsoleLogger=A.ROOT_CONTEXT=A.createContextKey=A.baggageEntryMetadataFromString=void 0,h=z(369),Object.defineProperty(A,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return h.baggageEntryMetadataFromString}}),i=z(780),Object.defineProperty(A,"createContextKey",{enumerable:!0,get:function(){return i.createContextKey}}),Object.defineProperty(A,"ROOT_CONTEXT",{enumerable:!0,get:function(){return i.ROOT_CONTEXT}}),j=z(972),Object.defineProperty(A,"DiagConsoleLogger",{enumerable:!0,get:function(){return j.DiagConsoleLogger}}),k=z(957),Object.defineProperty(A,"DiagLogLevel",{enumerable:!0,get:function(){return k.DiagLogLevel}}),l=z(102),Object.defineProperty(A,"createNoopMeter",{enumerable:!0,get:function(){return l.createNoopMeter}}),m=z(901),Object.defineProperty(A,"ValueType",{enumerable:!0,get:function(){return m.ValueType}}),n=z(194),Object.defineProperty(A,"defaultTextMapGetter",{enumerable:!0,get:function(){return n.defaultTextMapGetter}}),Object.defineProperty(A,"defaultTextMapSetter",{enumerable:!0,get:function(){return n.defaultTextMapSetter}}),o=z(125),Object.defineProperty(A,"ProxyTracer",{enumerable:!0,get:function(){return o.ProxyTracer}}),p=z(846),Object.defineProperty(A,"ProxyTracerProvider",{enumerable:!0,get:function(){return p.ProxyTracerProvider}}),q=z(996),Object.defineProperty(A,"SamplingDecision",{enumerable:!0,get:function(){return q.SamplingDecision}}),r=z(357),Object.defineProperty(A,"SpanKind",{enumerable:!0,get:function(){return r.SpanKind}}),s=z(847),Object.defineProperty(A,"SpanStatusCode",{enumerable:!0,get:function(){return s.SpanStatusCode}}),t=z(475),Object.defineProperty(A,"TraceFlags",{enumerable:!0,get:function(){return t.TraceFlags}}),u=z(98),Object.defineProperty(A,"createTraceState",{enumerable:!0,get:function(){return u.createTraceState}}),v=z(139),Object.defineProperty(A,"isSpanContextValid",{enumerable:!0,get:function(){return v.isSpanContextValid}}),Object.defineProperty(A,"isValidTraceId",{enumerable:!0,get:function(){return v.isValidTraceId}}),Object.defineProperty(A,"isValidSpanId",{enumerable:!0,get:function(){return v.isValidSpanId}}),w=z(476),Object.defineProperty(A,"INVALID_SPANID",{enumerable:!0,get:function(){return w.INVALID_SPANID}}),Object.defineProperty(A,"INVALID_TRACEID",{enumerable:!0,get:function(){return w.INVALID_TRACEID}}),Object.defineProperty(A,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return w.INVALID_SPAN_CONTEXT}}),c=z(67),Object.defineProperty(A,"context",{enumerable:!0,get:function(){return c.context}}),d=z(506),Object.defineProperty(A,"diag",{enumerable:!0,get:function(){return d.diag}}),e=z(886),Object.defineProperty(A,"metrics",{enumerable:!0,get:function(){return e.metrics}}),f=z(939),Object.defineProperty(A,"propagation",{enumerable:!0,get:function(){return f.propagation}}),g=z(845),Object.defineProperty(A,"trace",{enumerable:!0,get:function(){return g.trace}}),A.default={context:c.context,diag:d.diag,metrics:e.metrics,propagation:f.propagation,trace:g.trace},b.exports=A})()},75164,a=>{"use strict";let b,c;var d=a.i(18970);let e=process.env.NEXT_OTEL_PERFORMANCE_PREFIX;try{b=a.r(70406)}catch(c){b=a.r(62562)}let{context:f,propagation:g,trace:h,SpanStatusCode:i,SpanKind:j,ROOT_CONTEXT:k}=b;class l extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}function m(a){return"object"==typeof a&&null!==a&&a instanceof l}let n=(a,b)=>{m(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:i.ERROR,message:null==b?void 0:b.message})),a.end()},o=new Map,p=b.createContextKey("next.rootSpanId"),q=0,r={set(a,b,c){a.push({key:b,value:c})}},s=(c=new class a{getTracerInstance(){return h.getTracer("next.js","0.0.1")}getContext(){return f}getTracePropagationData(){let a=f.active(),b=[];return g.inject(a,b,r),b}getActiveScopeSpan(){return h.getSpan(null==f?void 0:f.active())}withPropagatedContext(a,b,c,d=!1){let e=f.active();if(d){let d=g.extract(k,a,c);if(h.getSpanContext(d))return f.with(d,b);let i=g.extract(e,a,c);return f.with(i,b)}if(h.getSpanContext(e))return b();let i=g.extract(e,a,c);return f.with(i,b)}trace(...a){let[b,c,g]=a,{fn:h,options:i}="function"==typeof c?{fn:c,options:{}}:{fn:g,options:{...c}},j=i.spanName??b;if(!d.NextVanillaSpanAllowlist.has(b)&&"1"!==process.env.NEXT_OTEL_VERBOSE||i.hideSpan)return h();let l=this.getSpanContext((null==i?void 0:i.parentSpan)??this.getActiveScopeSpan());l||(l=(null==f?void 0:f.active())??k);let m=l.getValue(p),r="number"!=typeof m||!o.has(m),s=q++;return i.attributes={"next.span_name":j,"next.span_type":b,...i.attributes},f.with(l.setValue(p,s),()=>this.getTracerInstance().startActiveSpan(j,i,a=>{let c;e&&b&&d.LogSpanAllowList.has(b)&&(c="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0);let f=!1,g=()=>{!f&&(f=!0,o.delete(s),c&&performance.measure(`${e}:next-${(b.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:c,end:performance.now()}))};if(r&&o.set(s,new Map(Object.entries(i.attributes??{}))),h.length>1)try{return h(a,b=>n(a,b))}catch(b){throw n(a,b),b}finally{g()}try{let b=h(a);if(null!==b&&"object"==typeof b&&"then"in b&&"function"==typeof b.then)return b.then(b=>(a.end(),b)).catch(b=>{throw n(a,b),b}).finally(g);return a.end(),g(),b}catch(b){throw n(a,b),g(),b}}))}wrap(...a){let b=this,[c,e,g]=3===a.length?a:[a[0],{},a[1]];return d.NextVanillaSpanAllowlist.has(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=e;"function"==typeof a&&"function"==typeof g&&(a=a.apply(this,arguments));let d=arguments.length-1,h=arguments[d];if("function"!=typeof h)return b.trace(c,a,()=>g.apply(this,arguments));{let e=b.getContext().bind(f.active(),h);return b.trace(c,a,(a,b)=>(arguments[d]=function(a){return null==b||b(a),e.apply(this,arguments)},g.apply(this,arguments)))}}:g}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?h.setSpan(f.active(),a):void 0}getRootSpanAttributes(){let a=f.active().getValue(p);return o.get(a)}setRootSpanAttribute(a,b){let c=f.active().getValue(p),d=o.get(c);d&&!d.has(a)&&d.set(a,b)}withSpan(a,b){let c=h.setSpan(f.active(),a);return f.with(c,b)}},()=>c);a.s(["BubbledError",0,l,"SpanKind",0,j,"SpanStatusCode",0,i,"getTracer",0,s,"isBubbledError",0,m],75164)},30106,a=>{"use strict";let b=Symbol.for("NextInternalRequestMeta");function c(a,c){let d=a[b]||{};return"string"==typeof c?d[c]:d}function d(a,c){return a[b]=c,c}a.s(["NEXT_REQUEST_META",0,b,"addRequestMeta",0,function(a,b,e){let f=c(a);return f[b]=e,d(a,f)},"getRequestMeta",0,c,"removeRequestMeta",0,function(a,b){let e=c(a);return delete e[b],d(a,e)},"setRequestMeta",0,d])},60644,a=>{"use strict";a.s(["interopDefault",0,function(a){return a.default||a}])},91562,a=>{"use strict";let b="next-router-state-tree",c="next-router-prefetch",d="next-router-segment-prefetch",e="next-hmr-refresh",f=["rsc",b,c,e,d];a.s(["ACTION_HEADER",0,"next-action","FLIGHT_HEADERS",0,f,"NEXT_ACTION_NOT_FOUND_HEADER",0,"x-nextjs-action-not-found","NEXT_ACTION_REVALIDATED_HEADER",0,"x-action-revalidated","NEXT_DID_POSTPONE_HEADER",0,"x-nextjs-postponed","NEXT_HMR_REFRESH_HASH_COOKIE",0,"__next_hmr_refresh_hash__","NEXT_HMR_REFRESH_HEADER",0,e,"NEXT_HTML_REQUEST_ID_HEADER",0,"x-nextjs-html-request-id","NEXT_INSTANT_PREFETCH_HEADER",0,"next-instant-navigation-testing-prefetch","NEXT_INSTANT_TEST_COOKIE",0,"next-instant-navigation-testing","NEXT_IS_PRERENDER_HEADER",0,"x-nextjs-prerender","NEXT_REQUEST_ID_HEADER",0,"x-nextjs-request-id","NEXT_REWRITTEN_PATH_HEADER",0,"x-nextjs-rewritten-path","NEXT_REWRITTEN_QUERY_HEADER",0,"x-nextjs-rewritten-query","NEXT_ROUTER_PREFETCH_HEADER",0,c,"NEXT_ROUTER_SEGMENT_PREFETCH_HEADER",0,d,"NEXT_ROUTER_STALE_TIME_HEADER",0,"x-nextjs-stale-time","NEXT_ROUTER_STATE_TREE_HEADER",0,b,"NEXT_RSC_UNION_QUERY",0,"_rsc","NEXT_URL",0,"next-url","RSC_CONTENT_TYPE_HEADER",0,"text/x-component","RSC_HEADER",0,"rsc"])},56952,a=>{"use strict";var b=a.i(91562);a.s(["stripFlightHeaders",0,function(a){for(let c of b.FLIGHT_HEADERS)delete a[c]}])},71717,a=>{"use strict";var b,c=((b={})[b.SeeOther=303]="SeeOther",b[b.TemporaryRedirect=307]="TemporaryRedirect",b[b.PermanentRedirect=308]="PermanentRedirect",b);a.s(["RedirectStatusCode",0,c])},77341,a=>{"use strict";a.i(75164),Symbol("__next_preview_data");let b=Symbol("__prerender_bypass");var c,d=a.i(30106),e=a.i(71717);class f{constructor(a,b,c){this.method=a,this.url=b,this.body=c}get cookies(){var b;return this._cookies?this._cookies:this._cookies=(b=this.headers,function(){let{cookie:c}=b;if(!c)return{};let{parse:d}=a.r(20460);return d(Array.isArray(c)?c.join("; "):c)})()}}class g{constructor(a){this.destination=a}redirect(a,b){return this.setHeader("Location",a),this.statusCode=b,b===e.RedirectStatusCode.PermanentRedirect&&this.setHeader("Refresh",`0;url=${a}`),this}}class h extends f{static #a=c=d.NEXT_REQUEST_META;constructor(a){var b;super(a.method.toUpperCase(),a.url,a),this._req=a,this.headers=this._req.headers,this.fetchMetrics=null==(b=this._req)?void 0:b.fetchMetrics,this[c]=this._req[d.NEXT_REQUEST_META]||{},this.streaming=!1}get originalRequest(){return this._req[d.NEXT_REQUEST_META]=this[d.NEXT_REQUEST_META],this._req.url=this.url,this._req.cookies=this.cookies,this._req}set originalRequest(a){this._req=a}stream(){if(this.streaming)throw Object.defineProperty(Error("Invariant: NodeNextRequest.stream() can only be called once"),"__NEXT_ERROR_CODE",{value:"E467",enumerable:!1,configurable:!0});return this.streaming=!0,new ReadableStream({start:a=>{this._req.on("data",b=>{a.enqueue(new Uint8Array(b))}),this._req.on("end",()=>{a.close()}),this._req.on("error",b=>{a.error(b)})}})}}a.s(["NodeNextRequest",0,h,"NodeNextResponse",0,class extends g{get originalResponse(){return b in this&&(this._res[b]=this[b]),this._res}constructor(a){super(a),this._res=a,this.textBody=void 0}get sent(){return this._res.finished||this._res.headersSent}get statusCode(){return this._res.statusCode}set statusCode(a){this._res.statusCode=a}get statusMessage(){return this._res.statusMessage}set statusMessage(a){this._res.statusMessage=a}setHeader(a,b){return this._res.setHeader(a,b),this}removeHeader(a){return this._res.removeHeader(a),this}getHeaderValues(a){let b=this._res.getHeader(a);if(void 0!==b)return(Array.isArray(b)?b:[b]).map(a=>a.toString())}hasHeader(a){return this._res.hasHeader(a)}getHeader(a){let b=this.getHeaderValues(a);return Array.isArray(b)?b.join(","):void 0}getHeaders(){return this._res.getHeaders()}appendHeader(a,b){let c=this.getHeaderValues(a)??[];return c.includes(b)||this._res.setHeader(a,[...c,b]),this}body(a){return this.textBody=a,this}send(){this._res.end(this.textBody)}onClose(a){this.originalResponse.on("close",a)}}],77341)},94290,a=>{"use strict";a.s(["checkIsAppPPREnabled",0,function(a){return void 0!==a&&("boolean"==typeof a?a:"incremental"===a)},"checkIsRoutePPREnabled",0,function(a){return void 0!==a&&"boolean"==typeof a&&a}])},46994,a=>{"use strict";a.s(["isRSCRequestHeader",0,function(a){return"1"===a}])},85034,a=>{"use strict";a.s(["InvariantError",0,class extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}])},41763,32885,a=>{"use strict";function b(a){return"("===a[0]&&a.endsWith(")")}a.s(["DEFAULT_SEGMENT_KEY",0,"__DEFAULT__","PAGE_SEGMENT_KEY",0,"__PAGE__","isGroupSegment",0,b],32885),a.s(["compareAppPaths",0,function(a,b){let c=a.includes("/@"),d=b.includes("/@");return c&&!d?-1:!c&&d?1:a.localeCompare(b)},"normalizeAppPath",0,function(a){var c;return(c=a.split("/").reduce((a,c,d,e)=>!c||b(c)||"@"===c[0]||("page"===c||"route"===c)&&d===e.length-1?a:`${a}/${c}`,"")).startsWith("/")?c:`/${c}`},"normalizeRscURL",0,function(a){return a.replace(/\.rsc($|\?)/,"$1")}],41763)},66482,a=>{"use strict";var b=a.i(41763);let c=["(..)(..)","(.)","(..)","(...)"];a.s(["INTERCEPTION_ROUTE_MARKERS",0,c,"extractInterceptionRouteInformation",0,function(a){let d,e,f;for(let b of a.split("/"))if(e=c.find(a=>b.startsWith(a))){[d,f]=a.split(e,2);break}if(!d||!e||!f)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(d=(0,b.normalizeAppPath)(d),e){case"(.)":f="/"===d?`/${f}`:d+"/"+f;break;case"(..)":if("/"===d)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});f=d.split("/").slice(0,-1).concat(f).join("/");break;case"(...)":f="/"+f;break;case"(..)(..)":let g=d.split("/");if(g.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${a}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});f=g.slice(0,-2).concat(f).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:d,interceptedRoute:f}},"isInterceptionRouteAppPath",0,function(a){return void 0!==a.split("/").find(a=>c.find(b=>a.startsWith(b)))}])},91505,a=>{"use strict";var b=a.i(66482);a.s(["getParamProperties",0,function(a){let b=!1,c=!1;switch(a){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":b=!0;break;case"optional-catchall":b=!0,c=!0}return{repeat:b,optional:c}},"getSegmentParam",0,function(a){let c=b.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b));return(c&&(a=a.slice(c.length)),a.startsWith("[[...")&&a.endsWith("]]"))?{paramType:"optional-catchall",paramName:a.slice(5,-2)}:a.startsWith("[...")&&a.endsWith("]")?{paramType:c?`catchall-intercepted-${c}`:"catchall",paramName:a.slice(4,-1)}:a.startsWith("[")&&a.endsWith("]")?{paramType:c?`dynamic-intercepted-${c}`:"dynamic",paramName:a.slice(1,-1)}:null},"isCatchAll",0,function(a){return"catchall"===a||"catchall-intercepted-(..)(..)"===a||"catchall-intercepted-(.)"===a||"catchall-intercepted-(..)"===a||"catchall-intercepted-(...)"===a||"optional-catchall"===a}])},90588,a=>{"use strict";var b=a.i(85034),c=a.i(91505),d=a.i(66482);function e(a){if(""===a)return null;let b=d.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b)),e=(0,c.getSegmentParam)(a);return e?{type:"dynamic",name:a,param:e,interceptionMarker:b}:a.startsWith("(")&&a.endsWith(")")?{type:"route-group",name:a,interceptionMarker:b}:a.startsWith("@")?{type:"parallel-route",name:a,interceptionMarker:b}:{type:"static",name:a,interceptionMarker:b}}var f=a.i(32885);function g(a){let[b,c,d,e]=a,{layout:g,template:h}=d,{page:i}=d;i=b===f.DEFAULT_SEGMENT_KEY?d.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:d,conventionPath:j,parallelRoutes:c,staticSiblings:e}}function h(a){switch(a){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}function i(a,c,d,e,f){switch(c){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let g=[];for(let a=d;a0)return g;if("optional-catchall"===c)return;throw Object.defineProperty(new b.InvariantError(`Unexpected empty path segments match for a route "${e.pathname}" with param "${a}" of type "${c}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(d"dynamic"===a.type);return{normalized:f,pathname:d,segments:k,dynamicSegments:l,interceptionMarker:g,interceptingRoute:h,interceptedRoute:i}}(a,!0),{pathnameRouteParamSegments:h,params:j}=function(a,b){let c=[],d={},f=[{tree:a,depth:0,currentPath:[]}];for(;f.length>0;){let{tree:a,depth:h,currentPath:j}=f.shift(),{segment:k,parallelRoutes:l}=g(a),m=j,n=h,o=e(k);if(o&&"route-group"!==o.type&&"parallel-route"!==o.type&&(m=[...j,o],n=h+1),(null==o?void 0:o.type)==="dynamic"){let{paramName:a,paramType:e}=o.param;if(h({paramName:a,paramType:b}));return!function(a,b,c,d){let f=[{tree:a,depth:0}];for(;f.length>0;){let{tree:a,depth:h}=f.pop(),{segment:j,parallelRoutes:k}=g(a),l=e(j);if((null==l?void 0:l.type)==="dynamic"&&!b.hasOwnProperty(l.param.paramName)&&!d.some(a=>a.paramName===l.param.paramName)){let{paramName:a,paramType:e}=l.param,f=i(a,e,h,c,b);void 0!==f?b[a]=f:"optional-catchall"!==e&&d.push({paramName:a,paramType:e})}let m=h;for(let a of(l&&"route-group"!==l.type&&"parallel-route"!==l.type&&m++,Object.values(k)))f.push({tree:a,depth:m})}}(d.userland.loaderTree,j,f,l),k(l)},"getPlaceholderFallbackRouteParams",0,function(a,b){return b.filter(b=>{let c=l(b),d=null==a?void 0:a[b.paramName];return d===c||Array.isArray(d)&&1===d.length&&d[0]===c})}],90588)},38549,83838,7696,a=>{"use strict";function b(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}function c(a,c){if("string"!=typeof a)return!1;let{pathname:d}=b(a);return d===c||d.startsWith(c+"/")}a.s(["parsePath",0,b],38549),a.s(["pathHasPrefix",0,c],83838),a.s(["removePathPrefix",0,function(a,b){if(!c(a,b))return a;let d=a.slice(b.length);return d.startsWith("/")?d:`/${d}`}],7696)},33169,a=>{"use strict";var b=a.i(85034),c=a.i(41763),d=a.i(83838),e=a.i(7696),f=a.i(56704);let g=Symbol.for("next.server.manifests"),h=globalThis;function i(a){return(0,d.pathHasPrefix)(a,"app")?a:"app"+a}function j(){let a=h[g];if(!a)throw Object.defineProperty(new b.InvariantError("The manifests singleton was not initialized."),"__NEXT_ERROR_CODE",{value:"E950",enumerable:!1,configurable:!0});return a}function k(){return j().serverActionsManifest}a.s(["getClientReferenceManifest",0,function(){return j().proxiedClientReferenceManifest},"getServerActionsManifest",0,k,"getServerModuleMap",0,function(){return j().serverModuleMap},"selectWorkerForForwarding",0,function(a,b){var d,f;let g=null==(d=k().node[a])?void 0:d.workers;if(g&&!g[i(b)])return f=Object.keys(g)[0],(0,c.normalizeAppPath)((0,e.removePathPrefix)(f,"app"))},"setManifestsSingleton",0,function({page:a,clientReferenceManifest:d,serverActionsManifest:e}){let j=h[g],l={encryptionKey:e.encryptionKey,node:Object.assign(Object.create(null),e.node),edge:Object.assign(Object.create(null),e.edge)};if(j)j.clientReferenceManifestsPerRoute.set((0,c.normalizeAppPath)(a),d),j.serverActionsManifest=l;else{let e,j=new Map([[(0,c.normalizeAppPath)(a),d]]),m=(e=new Map,new Proxy({},{get(a,c){let d=f.workAsyncStorage.getStore();switch(c){case"moduleLoading":case"entryCSSFiles":case"entryJSFiles":{if(!d)throw Object.defineProperty(new b.InvariantError(`Cannot access "${c}" without a work store.`),"__NEXT_ERROR_CODE",{value:"E952",enumerable:!1,configurable:!0});let a=j.get(d.route);if(!a)throw Object.defineProperty(new b.InvariantError(`The client reference manifest for route "${d.route}" does not exist.`),"__NEXT_ERROR_CODE",{value:"E951",enumerable:!1,configurable:!0});return a[c]}case"clientModules":case"rscModuleMapping":case"edgeRscModuleMapping":case"ssrModuleMapping":case"edgeSSRModuleMapping":{let a=e.get(c);!a&&(a=new Proxy({},{get(a,b){let d=f.workAsyncStorage.getStore();if(d){let a=j.get(d.route);if(null==a?void 0:a[c][b])return a[c][b]}else for(let a of j.values()){let d=a[c][b];if(void 0!==d)return d}}}),e.set(c,a));return a}default:throw Object.defineProperty(new b.InvariantError(`This is a proxied client reference manifest. The property "${String(c)}" is not handled.`),"__NEXT_ERROR_CODE",{value:"E953",enumerable:!1,configurable:!0})}}}));h[g]={clientReferenceManifestsPerRoute:j,proxiedClientReferenceManifest:m,serverActionsManifest:l,serverModuleMap:new Proxy({},{get:(a,b)=>{var c,d;let e,g=null==(d=k().node)||null==(c=d[b])?void 0:c.workers;if(!g)return;let h=f.workAsyncStorage.getStore();if(!(e=h?g[i(h.page)]:Object.values(g).at(0)))return;let{moduleId:j,async:l}=e;return{id:j,name:b,chunks:[],async:l}}})}}}])},49670,a=>{"use strict";let b=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i,c=/Googlebot(?!-)|Googlebot$/i,d=b.source;a.s(["HTML_LIMITED_BOT_UA_RE_STRING",0,d,"getBotType",0,function(a){return c.test(a)?"dom":b.test(a)?"html":void 0},"isBot",0,function(a){return c.test(a)||b.test(a)}],49670)},37111,a=>{"use strict";var b=a.i(49670);a.s(["isHtmlBotRequest",0,function(a){let c=a.headers["user-agent"]||"";return"html"===(0,b.getBotType)(c)},"shouldServeStreamingMetadata",0,function(a,c){let d=RegExp(c||b.HTML_LIMITED_BOT_UA_RE_STRING,"i");return!(a&&d.test(a))}])},8950,a=>{"use strict";var b=a.i(91562);function c(a){let c,d;a.headers instanceof Headers?(c=a.headers.get(b.ACTION_HEADER)??null,d=a.headers.get("content-type")):(c=a.headers[b.ACTION_HEADER]??null,d=a.headers["content-type"]??null);let e="POST"===a.method&&"application/x-www-form-urlencoded"===d,f=!!("POST"===a.method&&(null==d?void 0:d.startsWith("multipart/form-data"))),g=void 0!==c&&"string"==typeof c&&"POST"===a.method;return{actionId:c,isURLEncodedAction:e,isMultipartAction:f,isFetchAction:g,isPossibleServerAction:!!(g||e||f)}}a.s(["getIsPossibleServerAction",0,function(a){return c(a).isPossibleServerAction},"getServerActionRequestMetadata",0,c])},68113,a=>{"use strict";let b=a=>{setImmediate(a)};a.s(["atLeastOneTask",0,function(){return new Promise(a=>b(a))},"scheduleImmediate",0,b,"scheduleOnNextTick",0,a=>{Promise.resolve().then(()=>{process.nextTick(a)})},"waitAtLeastOneReactRenderTask",0,function(){return new Promise(a=>setImmediate(a))}])},276,a=>{"use strict";var b,c,d=((b={}).APP_PAGE="APP_PAGE",b.APP_ROUTE="APP_ROUTE",b.PAGES="PAGES",b.FETCH="FETCH",b.REDIRECT="REDIRECT",b.IMAGE="IMAGE",b),e=((c={}).APP_PAGE="APP_PAGE",c.APP_ROUTE="APP_ROUTE",c.PAGES="PAGES",c.FETCH="FETCH",c.IMAGE="IMAGE",c);a.s(["CachedRouteKind",0,d,"IncrementalCacheKind",0,e])},12213,a=>{"use strict";let b={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),HEAD:new Uint8Array([60,104,101,97,100]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])},META:{ICON_MARK:new Uint8Array([60,109,101,116,97,32,110,97,109,101,61,34,194,171,110,120,116,45,105,99,111,110,194,187,34])}};a.s(["ENCODED_TAGS",0,b])},22693,26026,a=>{"use strict";var b=a.i(75164),c=a.i(18970);class d{constructor(){let a,b;this.promise=new Promise((c,d)=>{a=c,b=d}),this.resolve=a,this.reject=b}}a.s(["DetachedPromise",0,d],26026);var e=a.i(68113),f=a.i(12213);function g(a,b){if(0===b.length)return 0;if(0===a.length||b.length>a.length)return -1;if("u">typeof Buffer)return(Buffer.isBuffer(a)?a:Buffer.from(a.buffer,a.byteOffset,a.byteLength)).indexOf(b);for(let c=0;c<=a.length-b.length;c++){let d=!0;for(let e=0;e-1))return a;{let d=new Uint8Array(a.length-b.length);return d.set(a.subarray(0,c)),d.set(a.subarray(c+b.length),c),d}}var j=a.i(91562);let k=new TextEncoder;function l(a){return void 0===a?"0":Array.isArray(a)?a.join(","):a}async function m(a){var b=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",k.encode(a))).subarray(0,12);let c="";for(let a=0;aa+b.length,0)),d=0;for(let a of b)c.set(a,d),d+=a.length;return c}async function t(a){return Buffer.concat(await r(a))}async function u(a,b){let c=new TextDecoder("utf-8",{fatal:!0}),d="";for await(let e of a){if(null==b?void 0:b.aborted)return d;d+=c.decode(e,{stream:!0})}return d+c.decode()}function v(a={}){let b,{maxBufferByteLength:c=1/0}=a,f=[],g=0,h=a=>{try{if(0===f.length)return;let b=new Uint8Array(g),c=0;for(let a=0;a=c?h(i):(a=>{if(b)return;let c=new d;b=c,(0,e.scheduleImmediate)(()=>{try{h(a)}finally{b=void 0,c.resolve()}})})(i)},flush:()=>null==b?void 0:b.promise})}function w(a){let b=-1,c=!1;return new TransformStream({async transform(d,e){let h=-1,i=-1;if(b++,c)return void e.enqueue(d);let j=0;if(-1===h){if(-1===(h=g(d,f.ENCODED_TAGS.META.ICON_MARK)))return void e.enqueue(d);47===d[h+(j=f.ENCODED_TAGS.META.ICON_MARK.length)]?j+=2:j++}if(0===b){if(i=g(d,f.ENCODED_TAGS.CLOSED.HEAD),-1!==h){if(h__NEXT_CLIENT_RESUME=fetch(location.pathname+'?${b}',{credentials:'same-origin',headers:{'${j.RSC_HEADER}': '1','${j.NEXT_ROUTER_PREFETCH_HEADER}': '1','${j.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER}': '/_full'}})`,d=!1;return new TransformStream({transform(a,b){if(d)return void b.enqueue(a);let e=g(a,f.ENCODED_TAGS.CLOSED.HEAD);if(-1===e)return void b.enqueue(a);let h=p.encode(c),i=new Uint8Array(a.length+h.length);i.set(a.slice(0,e)),i.set(h,e),i.set(a.slice(e),e+h.length),b.enqueue(i),d=!0}})}async function z(a){let b="/_full",c=await n("1",b,void 0,void 0),d=`${j.NEXT_RSC_UNION_QUERY}=${c}`,e=null!==a?`self.__next_r=${JSON.stringify(a)};`:"",h=``,i=!1;return new TransformStream({transform(a,b){if(i)return void b.enqueue(a);let c=g(a,f.ENCODED_TAGS.OPENING.HEAD);if(-1===c)return void b.enqueue(a);let d=a.indexOf(62,c+f.ENCODED_TAGS.OPENING.HEAD.length);if(-1===d)return void b.enqueue(a);let e=p.encode(h),j=d+1,k=new Uint8Array(a.length+e.length);k.set(a.slice(0,j)),k.set(e,j),k.set(a.slice(j),j+e.length),b.enqueue(k),i=!0},flush(a){a.enqueue(f.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function A(a,b){let c=!1,d=null,f=!1;function g(a){return d||(d=h(a)),d}async function h(d){let g=a.getReader();b&&await (0,e.atLeastOneTask)();try{for(;;){let{done:a,value:h}=await g.read();if(a){f=!0;return}b||c||await (0,e.atLeastOneTask)(),d.enqueue(h)}}catch(a){d.error(a)}}return new TransformStream({start(a){b||g(a)},transform(a,c){c.enqueue(a),b&&g(c)},flush(a){if(c=!0,!f)return g(a)}})}let B="";function C(){let a=!1;return new TransformStream({transform(b,c){if(a)return c.enqueue(b);let d=g(b,f.ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(d>-1){if(a=!0,b.length===f.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;let e=b.slice(0,d);if(c.enqueue(e),b.length>f.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+d){let a=b.slice(d+f.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);c.enqueue(a)}}else c.enqueue(b)},flush(a){a.enqueue(f.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function D(a){let b=!1;return new TransformStream({transform(c,d){if(b)return void d.enqueue(c);let e=g(c,f.ENCODED_TAGS.OPENING.HTML);if(-1===e)return void d.enqueue(c);let h=e+f.ENCODED_TAGS.OPENING.HTML.length,i=` data-dpl-id="${a}"`,j=p.encode(i),k=new Uint8Array(c.length+j.length);k.set(c.subarray(0,h)),k.set(j,h),k.set(c.subarray(h),h+j.length),d.enqueue(k),b=!0}})}function E(){let a=!1,b=!1;return new TransformStream({async transform(c,d){!a&&g(c,f.ENCODED_TAGS.OPENING.HTML)>-1&&(a=!0),!b&&g(c,f.ENCODED_TAGS.OPENING.BODY)>-1&&(b=!0),d.enqueue(c)},flush(c){let d=[];a||d.push("html"),b||d.push("body"),d.length&&c.enqueue(p.encode(` - - `))}})}function F(a,b){let c=a;for(let a of b)a&&(c=c.pipeThrough(a));return c}async function G(a,{suffix:b,inlinedDataStream:c,isStaticGeneration:f,deploymentId:g,getServerInsertedHTML:h,getServerInsertedMetadata:i,validateRootLayout:j}){let k,l,m=b?b.split(B,1)[0]:null;return f?await a.allReady:await (0,e.waitAtLeastOneReactRenderTask)(),F(a,[v(),g?D(g):null,w(i),null!=m&&m.length>0?(l=!1,new TransformStream({transform(a,b){if(b.enqueue(a),!l){let a;l=!0,k=a=new d,(0,e.scheduleImmediate)(()=>{try{b.enqueue(p.encode(m))}catch{}finally{k=void 0,a.resolve()}})}},flush(a){if(k)return k.promise;l||a.enqueue(p.encode(m))}})):null,c?A(c,!0):null,j?E():null,C(),x(h)])}async function H(a,{getServerInsertedHTML:b,getServerInsertedMetadata:c,deploymentId:d}){return F(a,[v(),new TransformStream({transform(a,b){h(a,f.ENCODED_TAGS.CLOSED.BODY_AND_HTML)||h(a,f.ENCODED_TAGS.CLOSED.BODY)||h(a,f.ENCODED_TAGS.CLOSED.HTML)||(a=i(a,f.ENCODED_TAGS.CLOSED.BODY),a=i(a,f.ENCODED_TAGS.CLOSED.HTML),b.enqueue(a))}}),d?D(d):null,x(b),w(c)])}async function I(a,{inlinedDataStream:b,getServerInsertedHTML:c,getServerInsertedMetadata:d,deploymentId:e}){return F(a,[v(),e?D(e):null,x(c),w(d),A(b,!0),C()])}async function J(a,{inlinedDataStream:b,getServerInsertedHTML:c,getServerInsertedMetadata:d,deploymentId:e}){return F(a,[v(),e?D(e):null,x(c),await y(),w(d),A(b,!0),C()])}async function K(a,{delayDataUntilFirstHtmlChunk:b,inlinedDataStream:c,getServerInsertedHTML:d,getServerInsertedMetadata:e,deploymentId:f}){return F(a,[v(),f?D(f):null,x(d),w(e),A(c,b),C()])}a.s(["chainStreams",0,function(...a){if(0===a.length)return new ReadableStream({start(a){a.close()}});if(1===a.length)return a[0];let{readable:b,writable:c}=new TransformStream,d=a[0].pipeTo(c,{preventClose:!0}),e=1;for(;eb.pipeTo(c,{preventClose:!0}))}let f=a[e];return(d=d.then(()=>f.pipeTo(c))).catch(o),b},"continueDynamicHTMLResume",0,K,"continueDynamicPrerender",0,H,"continueFizzStream",0,G,"continueStaticFallbackPrerender",0,J,"continueStaticPrerender",0,I,"createBufferedTransformStream",0,v,"createDocumentClosingStream",0,function(){return q(B)},"createInstantTestScriptInsertionTransformStream",0,z,"createRootLayoutValidatorStream",0,E,"createRuntimePrefetchTransformStream",0,function(a,b,c){let d=new TextEncoder,e=d.encode(`[${a}]`),f=e[0],g=d.encode(`[${b},${c}]`),h=e.length,i=null,j=!1;function k(a,b){if(j){b&&a.enqueue(b);return}if(i){let c=i.length-(h-1);if(b&&(c+=Math.min(b.length,h-1)),c<1){a.enqueue(i),i=b;return}let d=i.indexOf(f);a:for(;-10?b.subarray(c):b;a.enqueue(e)}i=null;return}a.enqueue(i)}i=b}return new TransformStream({transform(a,b){k(b,a)},flush(a){k(a,null)}})},"renderToInitialFizzStream",0,function({ReactDOMServer:a,element:d,streamOptions:e}){return(0,b.getTracer)().trace(c.AppRenderSpan.renderToReadableStream,async()=>a.renderToReadableStream(d,e))},"streamFromBuffer",0,function(a){return new ReadableStream({start(b){b.enqueue(a),b.close()}})},"streamFromString",0,q,"streamToBuffer",0,t,"streamToString",0,u,"streamToUint8Array",0,s],22693)},36226,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={RequestCookies:()=>p,ResponseCookies:()=>q,parseCookie:()=>l,parseSetCookie:()=>m,stringifyCookie:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});function k(a){var b;let c=["path"in a&&a.path&&`Path=${a.path}`,"expires"in a&&(a.expires||0===a.expires)&&`Expires=${("number"==typeof a.expires?new Date(a.expires):a.expires).toUTCString()}`,"maxAge"in a&&"number"==typeof a.maxAge&&`Max-Age=${a.maxAge}`,"domain"in a&&a.domain&&`Domain=${a.domain}`,"secure"in a&&a.secure&&"Secure","httpOnly"in a&&a.httpOnly&&"HttpOnly","sameSite"in a&&a.sameSite&&`SameSite=${a.sameSite}`,"partitioned"in a&&a.partitioned&&"Partitioned","priority"in a&&a.priority&&`Priority=${a.priority}`].filter(Boolean),d=`${a.name}=${encodeURIComponent(null!=(b=a.value)?b:"")}`;return 0===c.length?d:`${d}; ${c.join("; ")}`}function l(a){let b=new Map;for(let c of a.split(/; */)){if(!c)continue;let a=c.indexOf("=");if(-1===a){b.set(c,"true");continue}let[d,e]=[c.slice(0,a),c.slice(a+1)];try{b.set(d,decodeURIComponent(null!=e?e:"true"))}catch{}}return b}function m(a){if(!a)return;let[[b,c],...d]=l(a),{domain:e,expires:f,httponly:g,maxage:h,path:i,samesite:j,secure:k,partitioned:m,priority:p}=Object.fromEntries(d.map(([a,b])=>[a.toLowerCase().replace(/-/g,""),b]));{var q,r,s={name:b,value:decodeURIComponent(c),domain:e,...f&&{expires:new Date(f)},...g&&{httpOnly:!0},..."string"==typeof h&&{maxAge:Number(h)},path:i,...j&&{sameSite:n.includes(q=(q=j).toLowerCase())?q:void 0},...k&&{secure:!0},...p&&{priority:o.includes(r=(r=p).toLowerCase())?r:void 0},...m&&{partitioned:!0}};let a={};for(let b in s)s[b]&&(a[b]=s[b]);return a}}b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let i of f(b))g.call(a,i)||i===c||d(a,i,{get:()=>b[i],enumerable:!(h=e(b,i))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);var n=["strict","lax","none"],o=["low","medium","high"],p=class{constructor(a){this._parsed=new Map,this._headers=a;const b=a.get("cookie");if(b)for(const[a,c]of l(b))this._parsed.set(a,{name:a,value:c})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed);if(!a.length)return c.map(([a,b])=>b);let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(([a])=>a===d).map(([a,b])=>b)}has(a){return this._parsed.has(a)}set(...a){let[b,c]=1===a.length?[a[0].name,a[0].value]:a,d=this._parsed;return d.set(b,{name:b,value:c}),this._headers.set("cookie",Array.from(d).map(([a,b])=>k(b)).join("; ")),this}delete(a){let b=this._parsed,c=Array.isArray(a)?a.map(a=>b.delete(a)):b.delete(a);return this._headers.set("cookie",Array.from(b).map(([a,b])=>k(b)).join("; ")),c}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a=>`${a.name}=${encodeURIComponent(a.value)}`).join("; ")}},q=class{constructor(a){var b,c,d;this._parsed=new Map,this._headers=a;const e=null!=(d=null!=(c=null==(b=a.getSetCookie)?void 0:b.call(a))?c:a.get("set-cookie"))?d:[];for(const a of Array.isArray(e)?e:function(a){if(!a)return[];var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}(e)){const b=m(a);b&&this._parsed.set(b.name,b)}}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed.values());if(!a.length)return c;let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(a=>a.name===d)}has(a){return this._parsed.has(a)}set(...a){let[b,c,d]=1===a.length?[a[0].name,a[0].value,a[0]]:a,e=this._parsed;return e.set(b,function(a={name:"",value:""}){return"number"==typeof a.expires&&(a.expires=new Date(a.expires)),a.maxAge&&(a.expires=new Date(Date.now()+1e3*a.maxAge)),(null===a.path||void 0===a.path)&&(a.path="/"),a}({name:b,value:c,...d})),function(a,b){for(let[,c]of(b.delete("set-cookie"),a)){let a=k(c);b.append("set-cookie",a)}}(e,this._headers),this}delete(...a){let[b,c]="string"==typeof a[0]?[a[0]]:[a[0].name,a[0]];return this.set({...c,name:b,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(k).join("; ")}}},72051,a=>{"use strict";a.i(36226),a.s([])},14976,11614,a=>{"use strict";function b(a){return a.replace(/\/$/,"")||"/"}a.i(30106);var c=a.i(38549);function d(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:d,query:e,hash:f}=(0,c.parsePath)(a);return`${b}${d}${e}${f}`}function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:d,query:e,hash:f}=(0,c.parsePath)(a);return`${d}${b}${e}${f}`}var f=a.i(83838);let g=new WeakMap;function h(a,b){let c;if(!b)return{pathname:a};let d=g.get(b);d||(d=b.map(a=>a.toLowerCase()),g.set(b,d));let e=a.split("/",2);if(!e[1])return{pathname:a};let f=e[1].toLowerCase(),h=d.indexOf(f);return h<0?{pathname:a}:(c=b[h],{pathname:a=a.slice(c.length+1)||"/",detectedLocale:c})}var i=a.i(7696);let j=/^(?:127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)$/;function k(a,b){let c=new URL(String(a),b&&String(b));return j.test(c.hostname)&&(c.hostname="localhost"),c}let l=Symbol("NextURLInternal");class m{constructor(a,b,c){let d,e;"object"==typeof b&&"pathname"in b||"string"==typeof b?(d=b,e=c||{}):e=c||b||{},this[l]={url:k(a,d??e.base),options:e,basePath:""},this.analyze()}analyze(){var a,b,c,d,e;let g=function(a,b){let{basePath:c,i18n:d,trailingSlash:e}=b.nextConfig??{},g={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):e};c&&(0,f.pathHasPrefix)(g.pathname,c)&&(g.pathname=(0,i.removePathPrefix)(g.pathname,c),g.basePath=c);let j=g.pathname;if(g.pathname.startsWith("/_next/data/")&&g.pathname.endsWith(".json")){let a=g.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");g.buildId=a[0],j="index"!==a[1]?`/${a.slice(1).join("/")}`:"/",!0===b.parseData&&(g.pathname=j)}if(d){let a=b.i18nProvider?b.i18nProvider.analyze(g.pathname):h(g.pathname,d.locales);g.locale=a.detectedLocale,g.pathname=a.pathname??g.pathname,!a.detectedLocale&&g.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(j):h(j,d.locales)).detectedLocale&&(g.locale=a.detectedLocale)}return g}(this[l].url.pathname,{nextConfig:this[l].options.nextConfig,parseData:!0,i18nProvider:this[l].options.i18nProvider}),j=function(a,b){let c;if(b?.host&&!Array.isArray(b.host))c=b.host.toString().split(":",1)[0];else{if(!a.hostname)return;c=a.hostname}return c.toLowerCase()}(this[l].url,this[l].options.headers);this[l].domainLocale=this[l].options.i18nProvider?this[l].options.i18nProvider.detectDomainLocale(j):function(a,b,c){if(a){for(let d of(c&&(c=c.toLowerCase()),a))if(b===d.domain?.split(":",1)[0].toLowerCase()||c===d.defaultLocale.toLowerCase()||d.locales?.some(a=>a.toLowerCase()===c))return d}}(null==(b=this[l].options.nextConfig)||null==(a=b.i18n)?void 0:a.domains,j);let k=(null==(c=this[l].domainLocale)?void 0:c.defaultLocale)||(null==(e=this[l].options.nextConfig)||null==(d=e.i18n)?void 0:d.defaultLocale);this[l].url.pathname=g.pathname,this[l].defaultLocale=k,this[l].basePath=g.basePath??"",this[l].buildId=g.buildId,this[l].locale=g.locale??k,this[l].trailingSlash=g.trailingSlash}formatPathname(){var a;let c;return c=function(a,b,c,e){if(!b||b===c)return a;let g=a.toLowerCase();return!e&&((0,f.pathHasPrefix)(g,"/api")||(0,f.pathHasPrefix)(g,`/${b.toLowerCase()}`))?a:d(a,`/${b}`)}((a={basePath:this[l].basePath,buildId:this[l].buildId,defaultLocale:this[l].options.forceLocale?void 0:this[l].defaultLocale,locale:this[l].locale,pathname:this[l].url.pathname,trailingSlash:this[l].trailingSlash}).pathname,a.locale,a.buildId?void 0:a.defaultLocale,a.ignorePrefix),(a.buildId||!a.trailingSlash)&&(c=b(c)),a.buildId&&(c=e(d(c,`/_next/data/${a.buildId}`),"/"===a.pathname?"index.json":".json")),c=d(c,a.basePath),!a.buildId&&a.trailingSlash?c.endsWith("/")?c:e(c,"/"):b(c)}formatSearch(){return this[l].url.search}get buildId(){return this[l].buildId}set buildId(a){this[l].buildId=a}get locale(){return this[l].locale??""}set locale(a){var b,c;if(!this[l].locale||!(null==(c=this[l].options.nextConfig)||null==(b=c.i18n)?void 0:b.locales.includes(a)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${a}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[l].locale=a}get defaultLocale(){return this[l].defaultLocale}get domainLocale(){return this[l].domainLocale}get searchParams(){return this[l].url.searchParams}get host(){return this[l].url.host}set host(a){this[l].url.host=a}get hostname(){return this[l].url.hostname}set hostname(a){this[l].url.hostname=a}get port(){return this[l].url.port}set port(a){this[l].url.port=a}get protocol(){return this[l].url.protocol}set protocol(a){this[l].url.protocol=a}get href(){let a=this.formatPathname(),b=this.formatSearch();return`${this.protocol}//${this.host}${a}${b}${this.hash}`}set href(a){this[l].url=k(a),this.analyze()}get origin(){return this[l].url.origin}get pathname(){return this[l].url.pathname}set pathname(a){this[l].url.pathname=a}get hash(){return this[l].url.hash}set hash(a){this[l].url.hash=a}get search(){return this[l].url.search}set search(a){this[l].url.search=a}get password(){return this[l].url.password}set password(a){this[l].url.password=a}get username(){return this[l].url.username}set username(a){this[l].url.username=a}get basePath(){return this[l].basePath}set basePath(a){this[l].basePath=a.startsWith("/")?a:`/${a}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new m(String(this),this[l].options)}}a.i(72051),a.i(36226),Symbol("internal request"),Request,Symbol.for("edge-runtime.inspect.custom");let n="ResponseAborted";class o extends Error{constructor(...a){super(...a),this.name=n}}var p=a.i(26026),q=a.i(75164),r=a.i(18970);let s=0,t=0,u=0;function v(a){return(null==a?void 0:a.name)==="AbortError"||(null==a?void 0:a.name)===n}async function w(a,b,c){try{let d,{errored:e,destroyed:f}=b;if(e||f)return;let g=(d=new AbortController,b.once("close",()=>{b.writableFinished||d.abort(new o)}),d),h=function(a,b){let c=!1,d=new p.DetachedPromise;function e(){d.resolve()}a.on("drain",e),a.once("close",()=>{a.off("drain",e),d.resolve()});let f=new p.DetachedPromise;return a.once("finish",()=>{f.resolve()}),new WritableStream({write:async b=>{if(!c){if(c=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let a=function(a={}){let b=0===s?void 0:{clientComponentLoadStart:s,clientComponentLoadTimes:t,clientComponentLoadCount:u};return a.reset&&(s=0,t=0,u=0),b}();a&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:a.clientComponentLoadStart,end:a.clientComponentLoadStart+a.clientComponentLoadTimes})}a.flushHeaders(),(0,q.getTracer)().trace(r.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>void 0)}try{let c=a.write(b);"flush"in a&&"function"==typeof a.flush&&a.flush(),c||(await d.promise,d=new p.DetachedPromise)}catch(b){throw a.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:b}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:b=>{a.writableFinished||a.destroy(b)},close:async()=>{if(b&&await b,!a.writableFinished)return a.end(),f.promise}})}(b,c);await a.pipeTo(h,{signal:g.signal})}catch(a){if(v(a))return;throw Object.defineProperty(Error("failed to pipe response",{cause:a}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}a.s(["isAbortError",0,v,"pipeToNodeResponse",0,w],14976);var x=a.i(22693),y=a.i(85034);class z{static #a=this.EMPTY=new z(null,{metadata:{},contentType:null});static fromStatic(a,b){return new z(a,{metadata:{},contentType:b})}constructor(a,{contentType:b,waitUntil:c,metadata:d}){this.response=a,this.contentType=b,this.metadata=d,this.waitUntil=c}assignMetadata(a){Object.assign(this.metadata,a)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedString(a=!1){if(null===this.response)return"";if("string"!=typeof this.response){if(!a)throw Object.defineProperty(new y.InvariantError("dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E732",enumerable:!1,configurable:!0});return(0,x.streamToString)(this.readable)}return this.response}get readable(){return null===this.response?new ReadableStream({start(a){a.close()}}):"string"==typeof this.response?(0,x.streamFromString)(this.response):Buffer.isBuffer(this.response)?(0,x.streamFromBuffer)(this.response):Array.isArray(this.response)?(0,x.chainStreams)(...this.response):this.response}coerce(){return null===this.response?[]:"string"==typeof this.response?[(0,x.streamFromString)(this.response)]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[(0,x.streamFromBuffer)(this.response)]:[this.response]}pipeThrough(a){this.response=this.readable.pipeThrough(a)}unshift(a){this.response=this.coerce(),this.response.unshift(a)}push(a){this.response=this.coerce(),this.response.push(a)}async pipeTo(a){try{await this.readable.pipeTo(a,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await a.close()}catch(b){if(v(b))return void await a.abort(b);throw b}}async pipeToNodeResponse(a){await w(this.readable,a,this.waitUntil)}}a.s(["default",()=>z],11614)},21751,a=>{"use strict";let b="middleware",c=`(?:src/)?${b}`,d="proxy",e=`(?:src/)?${d}`,f={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},g={...f,GROUP:{builtinReact:[f.reactServerComponents,f.actionBrowser],serverOnly:[f.reactServerComponents,f.actionBrowser,f.instrument,f.middleware],neutralTarget:[f.apiNode,f.apiEdge],clientOnly:[f.serverSideRendering,f.appPagesBrowser],bundled:[f.reactServerComponents,f.actionBrowser,f.serverSideRendering,f.appPagesBrowser,f.shared,f.instrument,f.middleware],appPages:[f.reactServerComponents,f.serverSideRendering,f.appPagesBrowser,f.actionBrowser]}};a.s(["ACTION_SUFFIX",0,".action","APP_DIR_ALIAS",0,"private-next-app-dir","CACHE_ONE_YEAR_SECONDS",0,31536e3,"DOT_NEXT_ALIAS",0,"private-dot-next","ESLINT_DEFAULT_DIRS",0,["app","pages","components","lib","src"],"GSP_NO_RETURNED_VALUE",0,"Your `getStaticProps` function did not return an object. Did you forget to add a `return`?","GSSP_COMPONENT_MEMBER_ERROR",0,"can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member","GSSP_NO_RETURNED_VALUE",0,"Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?","HTML_CONTENT_TYPE_HEADER",0,"text/html; charset=utf-8","INFINITE_CACHE",0,0xfffffffe,"INSTRUMENTATION_HOOK_FILENAME",0,"instrumentation","JSON_CONTENT_TYPE_HEADER",0,"application/json; charset=utf-8","MATCHED_PATH_HEADER",0,"x-matched-path","MIDDLEWARE_FILENAME",0,b,"MIDDLEWARE_LOCATION_REGEXP",0,c,"NEXT_BODY_SUFFIX",0,".body","NEXT_CACHE_IMPLICIT_TAG_ID",0,"_N_T_","NEXT_CACHE_REVALIDATED_TAGS_HEADER",0,"x-next-revalidated-tags","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER",0,"x-next-revalidate-tag-token","NEXT_CACHE_ROOT_PARAM_TAG_ID",0,"_N_RP_","NEXT_CACHE_SOFT_TAG_MAX_LENGTH",0,1024,"NEXT_CACHE_TAGS_HEADER",0,"x-next-cache-tags","NEXT_CACHE_TAG_MAX_ITEMS",0,128,"NEXT_CACHE_TAG_MAX_LENGTH",0,256,"NEXT_DATA_SUFFIX",0,".json","NEXT_INTERCEPTION_MARKER_PREFIX",0,"nxtI","NEXT_META_SUFFIX",0,".meta","NEXT_NAV_DEPLOYMENT_ID_HEADER",0,"x-nextjs-deployment-id","NEXT_QUERY_PARAM_PREFIX",0,"nxtP","NEXT_RESUME_HEADER",0,"next-resume","NEXT_RESUME_STATE_LENGTH_HEADER",0,"x-next-resume-state-length","NON_STANDARD_NODE_ENV",0,'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',"PAGES_DIR_ALIAS",0,"private-next-pages","PRERENDER_REVALIDATE_HEADER",0,"x-prerender-revalidate","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER",0,"x-prerender-revalidate-if-generated","PROXY_FILENAME",0,d,"PROXY_LOCATION_REGEXP",0,e,"PUBLIC_DIR_MIDDLEWARE_CONFLICT",0,"You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict","ROOT_DIR_ALIAS",0,"private-next-root-dir","RSC_ACTION_CLIENT_WRAPPER_ALIAS",0,"private-next-rsc-action-client-wrapper","RSC_ACTION_ENCRYPTION_ALIAS",0,"private-next-rsc-action-encryption","RSC_ACTION_PROXY_ALIAS",0,"private-next-rsc-server-reference","RSC_ACTION_VALIDATE_ALIAS",0,"private-next-rsc-action-validate","RSC_CACHE_WRAPPER_ALIAS",0,"private-next-rsc-cache-wrapper","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS",0,"private-next-rsc-track-dynamic-import","RSC_MOD_REF_PROXY_ALIAS",0,"private-next-rsc-mod-ref-proxy","RSC_SEGMENTS_DIR_SUFFIX",0,".segments","RSC_SEGMENT_SUFFIX",0,".segment.rsc","RSC_SUFFIX",0,".rsc","SERVER_PROPS_EXPORT_ERROR",0,"pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export","SERVER_PROPS_GET_INIT_PROPS_CONFLICT",0,"You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.","SERVER_PROPS_SSG_CONFLICT",0,"You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps","SERVER_RUNTIME",0,{edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},"SSG_FALLBACK_EXPORT_ERROR",0,"Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export","SSG_GET_INITIAL_PROPS_CONFLICT",0,"You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR",0,"can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props","TEXT_PLAIN_CONTENT_TYPE_HEADER",0,"text/plain","UNSTABLE_REVALIDATE_RENAME_ERROR",0,"The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.","WEBPACK_LAYERS",0,g,"WEBPACK_RESOURCE_QUERIES",0,{edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"},"WEB_SOCKET_MAX_RECONNECTIONS",0,12])},43070,75700,a=>{"use strict";let{env:b,stdout:c}=(null==(u=globalThis)?void 0:u.process)??{},d=b&&!b.NO_COLOR&&(b.FORCE_COLOR||(null==c?void 0:c.isTTY)&&!b.CI&&"dumb"!==b.TERM),e=(a,b,c,d)=>{let f=a.substring(0,d)+c,g=a.substring(d+b.length),h=g.indexOf(b);return~h?f+e(g,b,c,h):f+g},f=(a,b,c=a)=>d?d=>{let f=""+d,g=f.indexOf(b,a.length);return~g?a+e(f,b,c,g)+b:a+f+b}:String,g=f("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");f("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),f("\x1b[3m","\x1b[23m"),f("\x1b[4m","\x1b[24m"),f("\x1b[7m","\x1b[27m"),f("\x1b[8m","\x1b[28m"),f("\x1b[9m","\x1b[29m"),f("\x1b[30m","\x1b[39m");let h=f("\x1b[31m","\x1b[39m"),i=f("\x1b[32m","\x1b[39m"),j=f("\x1b[33m","\x1b[39m");f("\x1b[34m","\x1b[39m");let k=f("\x1b[35m","\x1b[39m");f("\x1b[38;2;173;127;168m","\x1b[39m"),f("\x1b[36m","\x1b[39m");let l=f("\x1b[37m","\x1b[39m");f("\x1b[90m","\x1b[39m"),f("\x1b[40m","\x1b[49m"),f("\x1b[41m","\x1b[49m"),f("\x1b[42m","\x1b[49m"),f("\x1b[43m","\x1b[49m"),f("\x1b[44m","\x1b[49m"),f("\x1b[45m","\x1b[49m"),f("\x1b[46m","\x1b[49m"),f("\x1b[47m","\x1b[49m");class m{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class n{constructor(){this.prev=null,this.next=null}}class o{constructor(a,b,c){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.onEvict=c,this.head=new n,this.tail=new n,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let c=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(c<=0)throw Object.defineProperty(Error(`LRUCache: calculateSize returned ${c}, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth.`),"__NEXT_ERROR_CODE",{value:"E1045",enumerable:!1,configurable:!0});if(c>this.maxSize)return console.warn("Single item size exceeds maxSize"),!1;let d=this.cache.get(a);if(d)d.data=b,this.totalSize=this.totalSize-d.size+c,d.size=c,this.moveToHead(d);else{let d=new m(a,b,c);this.cache.set(a,d),this.addToHead(d),this.totalSize+=c}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size,null==this.onEvict||this.onEvict.call(this,a.key,a.data)}return!0}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}let p={wait:l(g("○")),error:h(g("⨯")),warn:j(g("⚠")),ready:"▲",info:l(g(" ")),event:i(g("✓")),trace:k(g("»"))},q={log:"log",warn:"warn",error:"error"};function r(...a){!function(a,...b){(""===b[0]||void 0===b[0])&&1===b.length&&b.shift();let c=a in q?q[a]:"log",d=p[a];0===b.length?console[c](""):1===b.length&&"string"==typeof b[0]?console[c](d+" "+b[0]):console[c](d,...b)}("warn",...a)}let s=new o(1e4,a=>a.length);function t(...a){let b=a.join(" ");s.has(b)||(s.set(b,b),r(...a))}new o(1e4,a=>a.length),a.s(["warn",0,r,"warnOnce",0,t],43070);var u,v=a.i(26026);class w{constructor(a,b=a=>a()){this.cacheKeyFn=a,this.schedulerFn=b,this.pending=new Map}static create(a){return new w(null==a?void 0:a.cacheKeyFn,null==a?void 0:a.schedulerFn)}async batch(a,b){let c=this.cacheKeyFn?await this.cacheKeyFn(a):a;if(null===c)return b({resolve:a=>Promise.resolve(a),key:a});let d=this.pending.get(c);if(d)return d;let{promise:e,resolve:f,reject:g}=new v.DetachedPromise;return this.pending.set(c,e),this.schedulerFn(async()=>{try{let c=await b({resolve:f,key:a});f(c)}catch(a){g(a)}finally{this.pending.delete(c)}}),e}}var x=a.i(68113),y=a.i(276),z=a.i(11614),A=a.i(3343),B=a.i(21751);async function C(a){var b,c;return{...a,value:(null==(b=a.value)?void 0:b.kind)===y.CachedRouteKind.PAGES?{kind:y.CachedRouteKind.PAGES,html:await a.value.html.toUnchunkedString(!0),pageData:a.value.pageData,headers:a.value.headers,status:a.value.status}:(null==(c=a.value)?void 0:c.kind)===y.CachedRouteKind.APP_PAGE?{kind:y.CachedRouteKind.APP_PAGE,html:await a.value.html.toUnchunkedString(!0),postponed:a.value.postponed,rscData:a.value.rscData,headers:a.value.headers,status:a.value.status,segmentData:a.value.segmentData}:a.value}}async function D(a){var b,c;return a?{isMiss:a.isMiss,isStale:a.isStale,cacheControl:a.cacheControl,isFallback:a.isFallback,value:(null==(b=a.value)?void 0:b.kind)===y.CachedRouteKind.PAGES?{kind:y.CachedRouteKind.PAGES,html:z.default.fromStatic(a.value.html,B.HTML_CONTENT_TYPE_HEADER),pageData:a.value.pageData,headers:a.value.headers,status:a.value.status}:(null==(c=a.value)?void 0:c.kind)===y.CachedRouteKind.APP_PAGE?{kind:y.CachedRouteKind.APP_PAGE,html:z.default.fromStatic(a.value.html,B.HTML_CONTENT_TYPE_HEADER),rscData:a.value.rscData,headers:a.value.headers,status:a.value.status,postponed:a.value.postponed,segmentData:a.value.segmentData}:a.value}:null}function E(a,b){if(!a)return b;let c=parseInt(a,10);return Number.isFinite(c)&&c>0?c:b}let F=E(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL,1e4),G=E(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE,150),H="__ttl_sentinel__";function I(a,b){return`${a}\0${b??H}`}class J{constructor(a,b=G,c=F){this.getBatcher=w.create({cacheKeyFn:({key:a,isOnDemandRevalidate:b})=>`${a}-${b?"1":"0"}`,schedulerFn:x.scheduleOnNextTick}),this.revalidateBatcher=w.create({schedulerFn:x.scheduleOnNextTick}),this.evictedInvocationIDs=new Set,this.minimal_mode=a,this.maxSize=b,this.ttl=c,this.cache=new o(b,void 0,a=>{let b=function(a){let b=a.lastIndexOf("\0");if(-1===b)return;let c=a.slice(b+1);return c===H?void 0:c}(a);if(b){if(this.evictedInvocationIDs.size>=100){let a=this.evictedInvocationIDs.values().next().value;a&&this.evictedInvocationIDs.delete(a)}this.evictedInvocationIDs.add(b)}})}async get(a,b,c){if(!a)return b({hasResolved:!1,previousCacheEntry:null});if(this.minimal_mode){let b=I(a,c.invocationID),d=this.cache.get(b);if(d){if(void 0!==c.invocationID)return D(d.entry);let a=Date.now();if(d.expiresAt>a)return D(d.entry);this.cache.remove(b)}c.invocationID&&this.evictedInvocationIDs.has(c.invocationID)&&t(`Response cache entry was evicted for invocation ${c.invocationID}. Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`)}let{incrementalCache:d,isOnDemandRevalidate:e=!1,isFallback:f=!1,isRoutePPREnabled:g=!1,isPrefetch:h=!1,waitUntil:i,routeKind:j,invocationID:k}=c,l=await this.getBatcher.batch({key:a,isOnDemandRevalidate:e},({resolve:c})=>{let l=this.handleGet(a,b,{incrementalCache:d,isOnDemandRevalidate:e,isFallback:f,isRoutePPREnabled:g,isPrefetch:h,routeKind:j,invocationID:k},c);return i&&i(l),l});return D(l)}async handleGet(a,b,c,d){let e=null,f=!1;try{if((e=this.minimal_mode?null:await c.incrementalCache.get(a,{kind:function(a){switch(a){case A.RouteKind.PAGES:return y.IncrementalCacheKind.PAGES;case A.RouteKind.APP_PAGE:return y.IncrementalCacheKind.APP_PAGE;case A.RouteKind.IMAGE:return y.IncrementalCacheKind.IMAGE;case A.RouteKind.APP_ROUTE:return y.IncrementalCacheKind.APP_ROUTE;case A.RouteKind.PAGES_API:throw Object.defineProperty(Error(`Unexpected route kind ${a}`),"__NEXT_ERROR_CODE",{value:"E64",enumerable:!1,configurable:!0});default:return a}}(c.routeKind),isRoutePPREnabled:c.isRoutePPREnabled,isFallback:c.isFallback}))&&!c.isOnDemandRevalidate&&(d(e),f=!0,!e.isStale||c.isPrefetch))return e;let g=await this.revalidate(a,c.incrementalCache,c.isRoutePPREnabled,c.isFallback,b,e,null!==e&&!c.isOnDemandRevalidate,void 0,c.invocationID);if(!g){if(this.minimal_mode){let b=I(a,c.invocationID);this.cache.remove(b)}return null}return c.isOnDemandRevalidate,g}catch(a){if(f)return console.error(a),null;throw a}}async revalidate(a,b,c,d,e,f,g,h,i){return this.revalidateBatcher.batch(a,()=>{let j=this.handleRevalidate(a,b,c,d,e,f,g,i);return h&&h(j),j})}async handleRevalidate(a,b,c,d,e,f,g,h){try{let i=await e({hasResolved:g,previousCacheEntry:f,isRevalidating:!0});if(!i)return null;let j=await C({...i,isMiss:!f});if(j.cacheControl)if(this.minimal_mode){let b=I(a,h);this.cache.set(b,{entry:j,expiresAt:Date.now()+this.ttl})}else await b.set(a,j.value,{cacheControl:j.cacheControl,isRoutePPREnabled:c,isFallback:d});return j}catch(e){if(null==f?void 0:f.cacheControl){let e=Math.min(Math.max(f.cacheControl.revalidate||3,3),30),g=void 0===f.cacheControl.expire?void 0:Math.max(e+3,f.cacheControl.expire);await b.set(a,f.value,{cacheControl:{revalidate:e,expire:g},isRoutePPREnabled:c,isFallback:d})}throw e}}}a.s(["default",()=>J],75700)},40795,a=>{"use strict";var b,c=((b={}).BLOCKING_STATIC_RENDER="BLOCKING_STATIC_RENDER",b.PRERENDER="PRERENDER",b.NOT_FOUND="NOT_FOUND",b);a.s(["FallbackMode",0,c,"fallbackModeToFallbackField",0,function(a,b){switch(a){case"BLOCKING_STATIC_RENDER":return null;case"NOT_FOUND":return!1;case"PRERENDER":if(!b)throw Object.defineProperty(Error(`Invariant: expected a page to be provided when fallback mode is "${a}"`),"__NEXT_ERROR_CODE",{value:"E422",enumerable:!1,configurable:!0});return b;default:throw Object.defineProperty(Error(`Invalid fallback mode: ${a}`),"__NEXT_ERROR_CODE",{value:"E254",enumerable:!1,configurable:!0})}},"parseFallbackField",0,function(a){if("string"==typeof a)return"PRERENDER";if(null===a)return"BLOCKING_STATIC_RENDER";if(!1===a)return"NOT_FOUND";if(void 0!==a)throw Object.defineProperty(Error(`Invalid fallback option: ${a}. Fallback option must be a string, null, undefined, or false.`),"__NEXT_ERROR_CODE",{value:"E285",enumerable:!1,configurable:!0})},"parseStaticPathsResult",0,function(a){return!0===a?"PRERENDER":"blocking"===a?"BLOCKING_STATIC_RENDER":"NOT_FOUND"}])},19026,(a,b,c)=>{(()=>{"use strict";var a={695:a=>{var b=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function c(a){var b=a&&Date.parse(a);return"number"==typeof b?b:NaN}a.exports=function(a,d){var e=a["if-modified-since"],f=a["if-none-match"];if(!e&&!f)return!1;var g=a["cache-control"];if(g&&b.test(g))return!1;if(f&&"*"!==f){var h=d.etag;if(!h)return!1;for(var i=!0,j=function(a){for(var b=0,c=[],d=0,e=0,f=a.length;e{"use strict";"u">typeof performance&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);var b=a.i(19026),c=a.i(21751);function d(a,c,d){return d&&c.setHeader("ETag",d),!!(0,b.default)(a.headers,{etag:d})&&(c.statusCode=304,c.end(),!0)}async function e({req:a,res:b,result:f,generateEtags:g,poweredByHeader:h,cacheControl:i}){if(b.finished||b.headersSent)return;h&&f.contentType===c.HTML_CONTENT_TYPE_HEADER&&b.setHeader("X-Powered-By","Next.js"),i&&!b.getHeader("Cache-Control")&&b.setHeader("Cache-Control",function({revalidate:a,expire:b}){let d="number"==typeof a&&void 0!==b&&a(b?'W/"':'"')+(a=>{let b=a.length,c=0,d=0,e=8997,f=0,g=33826,h=0,i=40164,j=0,k=52210;for(;c>>16,e=65535&d,h+=f>>>16,g=65535&f,k=j+(h>>>16)&65535,i=65535&h;return(15&k)*0x1000000000000+0x100000000*i+65536*g+(e^k>>4)})(a).toString(36)+a.length.toString(36)+'"')(j))||((!b.getHeader("Content-Type")&&f.contentType&&b.setHeader("Content-Type",f.contentType),j&&b.setHeader("Content-Length",Buffer.byteLength(j)),"HEAD"===a.method)?b.end(null):null!==j?b.end(j):await f.pipeToNodeResponse(b))}a.s(["sendEtagResponse",0,d,"sendRenderResult",0,e],10531)},1082,a=>{"use strict";a.s(["DEFAULT_MAX_POSTPONED_STATE_SIZE",0,"100 MB","parseMaxPostponedStateSize",0,function(b){if(!b)return 0x6400000;let c=a.r(14465).parse(b);return null===c||isNaN(c)||c<1?void 0:c}])},98175,a=>{"use strict";var b=a.i(1082);async function c(a,b){let c=[],d=0;for await(let e of a){let a=Buffer.isBuffer(e)?e:Buffer.from(e);if((d+=a.byteLength)>b)return null;c.push(a)}return Buffer.concat(c)}a.s(["getMaxPostponedStateSize",0,function(a){let c=a??b.DEFAULT_MAX_POSTPONED_STATE_SIZE,d=(0,b.parseMaxPostponedStateSize)(a);if(void 0===d)throw Object.defineProperty(Error('maxPostponedStateSize must be a valid number (bytes) or filesize format string (e.g., "5mb")'),"__NEXT_ERROR_CODE",{value:"E977",enumerable:!1,configurable:!0});return{maxPostponedStateSize:c,maxPostponedStateSizeBytes:d}},"getPostponedStateExceededErrorMessage",0,function(a){return`Postponed state exceeded ${a} limit. To configure the limit, see: https://nextjs.org/docs/app/api-reference/config/next-config-js/max-postponed-state-size`},"readBodyWithSizeLimit",0,c])},10990,(a,b,c)=>{"use strict";b.exports=a.r(24951).vendored["react-rsc"].ReactServerDOMTurbopackStatic},25476,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/layout-router.js "))},26768,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/layout-router.js"))},28212,a=>{"use strict";a.i(25476);var b=a.i(26768);a.n(b)},65714,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js "))},17910,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js"))},54691,a=>{"use strict";a.i(65714);var b=a.i(17910);a.n(b)},38023,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/client-page.js "))},92977,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/client-page.js"))},20575,a=>{"use strict";a.i(38023);var b=a.i(92977);a.n(b)},79286,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/client-segment.js "))},48552,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/client-segment.js"))},5476,a=>{"use strict";a.i(79286);var b=a.i(48552);a.n(b)},84513,88652,91191,a=>{"use strict";a.s(["ReflectAdapter",0,class{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}],84513);let b=/^[A-Za-z_$][A-Za-z0-9_$]*$/,c=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"]);a.s(["describeHasCheckingStringProperty",0,function(a,b){let c=JSON.stringify(b);return`\`Reflect.has(${a}, ${c})\`, \`${c} in ${a}\`, or similar`},"describeStringPropertyAccess",0,function(a,c){return b.test(c)?`\`${a}.${c}\``:`\`${a}[${JSON.stringify(c)}]\``},"wellKnownProperties",0,c],88652);let d="INSTANT_VALIDATION_ERROR";a.s(["InstantValidationError",0,class extends Error{constructor(...a){super(...a),this.digest=d}},"isInstantValidationError",0,function(a){return!!(a&&"object"==typeof a&&a instanceof Error&&a.digest===d)}],91191)},39783,a=>{"use strict";a.i(72051);var b=a.i(36226),c=a.i(84513);a.i(56704);class d extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new d}}class e{static seal(a){return new Proxy(a,{get(a,b,e){switch(b){case"clear":case"delete":case"set":return d.callable;default:return c.ReflectAdapter.get(a,b,e)}}})}}Symbol.for("next.mutated.cookies");class f extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new f}}class g extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,d,e){if("symbol"==typeof d)return c.ReflectAdapter.get(b,d,e);let f=d.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);if(void 0!==g)return c.ReflectAdapter.get(b,g,e)},set(b,d,e,f){if("symbol"==typeof d)return c.ReflectAdapter.set(b,d,e,f);let g=d.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return c.ReflectAdapter.set(b,h??d,e,f)},has(b,d){if("symbol"==typeof d)return c.ReflectAdapter.has(b,d);let e=d.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0!==f&&c.ReflectAdapter.has(b,f)},deleteProperty(b,d){if("symbol"==typeof d)return c.ReflectAdapter.deleteProperty(b,d);let e=d.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0===f||c.ReflectAdapter.deleteProperty(b,f)}})}static seal(a){return new Proxy(a,{get(a,b,d){switch(b){case"append":case"delete":case"set":return f.callable;default:return c.ReflectAdapter.get(a,b,d)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new g(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}var h=a.i(91505),i=a.i(85034),j=a.i(91191),k=a.i(32319),l=a.i(88652);function m(a){(function(){let a=null,b=k.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"request":case"validation-client":a=b.validationSampleTracking??null}if(!a)throw Object.defineProperty(new i.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking"),"__NEXT_ERROR_CODE",{value:"E1110",enumerable:!1,configurable:!0});return a})().missingSampleErrors.push(a)}function n(a){throw m(a),a}function o(a,b){return Object.defineProperty(new j.InstantValidationError(`Route "${a}" accessed cookie "${b}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${b}", value: null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1115",enumerable:!1,configurable:!0})}function p(a,b){return Object.defineProperty(new j.InstantValidationError(`Route "${a}" accessed searchParam "${b}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${b}": null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1098",enumerable:!1,configurable:!0})}a.s(["assertRootParamInSamples",0,function(a,b,c){if(b&&c in b);else{let b=a.route;n(Object.defineProperty(new j.InstantValidationError(`Route "${b}" accessed root param "${c}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1114",enumerable:!1,configurable:!0}))}},"createCookiesFromSample",0,function(a,c){let d=new Set,f=new b.RequestCookies(new Headers);if(a)for(let b of a)d.add(b.name),null!==b.value&&f.set(b.name,b.value);return new Proxy(e.seal(f),{get(a,b,e){if("has"===b){let f=Reflect.get(a,b,e);return function(b){return d.has(b)||n(o(c,b)),f.call(a,b)}}if("get"===b){let f=Reflect.get(a,b,e);return function(b){let e;if("string"==typeof b)e=b;else{if(!b||"object"!=typeof b||"string"!=typeof b.name)return f.call(a,b);e=b.name}return d.has(e)||n(o(c,e)),f.call(a,e)}}return Reflect.get(a,b,e)}})},"createDraftModeForValidation",0,function(){return{get isEnabled(){return!1},enable(){throw Object.defineProperty(Error("Draft mode cannot be enabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1092",enumerable:!1,configurable:!0})},disable(){throw Object.defineProperty(Error("Draft mode cannot be disabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1094",enumerable:!1,configurable:!0})}}},"createExhaustiveParamsProxy",0,function(a,b,c){return new Proxy(a,{get:(d,e,f)=>("string"==typeof e&&!l.wellKnownProperties.has(e)&&e in a&&!b.has(e)&&n(Object.defineProperty(new j.InstantValidationError(`Route "${c}" accessed param "${e}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1095",enumerable:!1,configurable:!0})),Reflect.get(d,e,f))})},"createExhaustiveSearchParamsProxy",0,function(a,b,c){return new Proxy(a,{get:(a,d,e)=>("string"!=typeof d||l.wellKnownProperties.has(d)||b.has(d)||n(p(c,d)),Reflect.get(a,d,e)),has:(a,d)=>("string"!=typeof d||l.wellKnownProperties.has(d)||b.has(d)||n(p(c,d)),Reflect.has(a,d))})},"createExhaustiveURLSearchParamsProxy",0,function(a,b,c){return new Proxy(a,{get(a,d,e){if("get"===d||"getAll"===d||"has"===d){let f=Reflect.get(a,d,e);return d=>("string"!=typeof d||b.has(d)||n(p(c,d)),f.call(a,d))}let f=Reflect.get(a,d,e);return"function"!=typeof f||Object.hasOwn(a,d)?f:f.bind(a)}})},"createHeadersFromSample",0,function(a,b,c){let d=a?[...a]:[];if(d.find(([a])=>"cookie"===a.toLowerCase()))throw Object.defineProperty(new j.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'),"__NEXT_ERROR_CODE",{value:"E1111",enumerable:!1,configurable:!0});if(b){let a=b.toString();d.push(["cookie",""!==a?a:null])}let e=new Set,f={};for(let[a,b]of d)e.add(a.toLowerCase()),null!==b&&(f[a.toLowerCase()]=b);return new Proxy(g.seal(g.from(f)),{get(a,b,d){if("get"===b||"has"===b){let f=Reflect.get(a,b,d);return function(b){let d=b.toLowerCase();return e.has(d)||n(Object.defineProperty(new j.InstantValidationError(`Route "${c}" accessed header "${d}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`headers\` array, or \`["${d}", null]\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1116",enumerable:!1,configurable:!0})),f.call(a,d)}}return Reflect.get(a,b,d)}})},"createRelativeURLFromSamples",0,function(a,b,c){let d=function(a,b){let c=[];for(let d of a.split("/")){let a=(0,h.getSegmentParam)(d);if(a)switch(a.paramType){case"catchall":case"optional-catchall":{let e=b[a.paramName];if(void 0===e)e=[d];else if(!Array.isArray(e))throw Object.defineProperty(new j.InstantValidationError(`Expected sample param value for segment '${d}' to be an array of strings, got ${typeof e}`),"__NEXT_ERROR_CODE",{value:"E1104",enumerable:!1,configurable:!0});c.push(...e.map(a=>encodeURIComponent(a)));break}case"dynamic":{let e=b[a.paramName];if(void 0===e)e=d;else if("string"!=typeof e)throw Object.defineProperty(new j.InstantValidationError(`Expected sample param value for segment '${d}' to be a string, got ${typeof e}`),"__NEXT_ERROR_CODE",{value:"E1108",enumerable:!1,configurable:!0});c.push(encodeURIComponent(e));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw Object.defineProperty(new i.InvariantError("Not implemented: Validation of interception routes"),"__NEXT_ERROR_CODE",{value:"E1106",enumerable:!1,configurable:!0});default:a.paramType}else c.push(d)}return c.join("/")}(a,b??{}),e="";if(c){let a=(function(a){let b=new URLSearchParams;if(a){for(let[c,d]of Object.entries(a))if(null!=d)if(Array.isArray(d))for(let a of d)b.append(c,a);else b.set(c,d)}return b})(c).toString();a&&(e="?"+a)}return function(a,b,c=!0){let d=new URL("http://n"),e=b?new URL(b,d):a.startsWith(".")?new URL("http://n"):d,{pathname:f,searchParams:g,search:h,hash:i,href:j,origin:k}=a.startsWith("/")?new URL(`${e.protocol}//${e.host}${a}`):new URL(a,e);if(k!==d.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${a}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:f,port:null,protocol:null,query:c?function(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}(g):void 0,search:h,hash:i,href:j.slice(k.length),slashes:null}}(d+e,void 0,!0)},"createValidationSampleTracking",0,function(){return{missingSampleErrors:[]}},"trackMissingSampleError",0,m,"trackMissingSampleErrorAndThrow",0,n],39783)},83063,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js "))},83919,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js"))},88471,a=>{"use strict";a.i(83063);var b=a.i(83919);a.n(b)},24373,(a,b,c)=>{b.exports=a.r(14747)},8755,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js "))},24150,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js"))},82622,a=>{"use strict";a.i(8755);var b=a.i(24150);a.n(b)},82809,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js "))},40771,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js"))},6983,a=>{"use strict";a.i(82809);var b=a.i(40771);a.n(b)},4054,(a,b,c)=>{"use strict";var d=a.r(24361),e=a.r(75465),f={stream:!0},g=Object.prototype.hasOwnProperty;function h(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}var i=new WeakSet,j=new WeakSet;function k(){}function l(a){for(var b=a[1],c=[],d=0;de||35===e||114===e||120===e?(h=e,e=3,d++):(h=0,e=3);continue;case 2:44===(l=c[d++])?e=4:i=i<<4|(96c.length&&(l=-1)}var m=c.byteOffset+d;if(-1c||114===c||120===c?(g=c,c=3,b++):(g=0,c=3);continue;case 2:44===(k=a.charCodeAt(b++))?c=4:h=h<<4|(963*h)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");k=a.length}if(-1{"use strict";b.exports=a.r(4054)},23932,(a,b,c)=>{(()=>{"use strict";var a={328:a=>{a.exports=function(a){for(var b=5381,c=a.length;c;)b=33*b^a.charCodeAt(--c);return b>>>0}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/node_modules/next/dist/compiled/string-hash/",b.exports=d(328)})()},9095,81793,7891,98499,52589,2754,641,75385,34373,a=>{"use strict";let b,c,d;a.i(11857);var e,f,g,h,i=a.i(10990),j=a.i(717);a.i(28212),a.i(54691);var k=a.i(56704),l=a.i(32319);function m(){let a=l.workUnitAsyncStorage.getStore();if(a)switch(a.type){case"prerender":case"prerender-runtime":{let b=a.varyParamsAccumulator;if(null!==b)return b.head}}return null}function n(a,b){a.varyParams.add(b)}function o(a,b,c){if(null!==c)return new Proxy(b,{get:(b,d,e)=>("string"==typeof d&&(d===c||Object.prototype.hasOwnProperty.call(b,d))&&n(a,d),Reflect.get(b,d,e)),has:(b,d)=>(d===c&&n(a,c),Reflect.has(b,d)),ownKeys:b=>(n(a,c),Reflect.ownKeys(b))});let d={};for(let c in b)Object.defineProperty(d,c,{get:()=>(n(a,c),b[c]),enumerable:!0});return d}a.i(20635),a.i(20575),a.i(5476);var p=a.i(84513);let q="DYNAMIC_SERVER_USAGE";class r extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=q}}function s(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===q}a.s(["DynamicServerError",0,r,"isDynamicServerError",0,s],81793);class t extends Error{constructor(...a){super(...a),this.code="NEXT_STATIC_GEN_BAILOUT"}}let u="function"==typeof j.default.unstable_postpone;function v(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new t(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return x(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new r(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function w(a,b,c){let d=Object.defineProperty(new r(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function x(a,b,c){(function(){if(!u)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),j.default.unstable_postpone(y(a,b))}function y(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}if(!1===((e=y("%%%","^^^")).includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});function z(a){return"object"==typeof a&&null!==a&&"NEXT_PRERENDER_INTERRUPTED"===a.digest&&"name"in a&&"message"in a&&a instanceof Error}function A(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}RegExp("\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at __next_root_layout_boundary__ \\([^\\n]*\\)"),RegExp("\\n\\s+at __next_metadata_boundary__[\\n\\s]"),RegExp("\\n\\s+at __next_viewport_boundary__[\\n\\s]"),RegExp("\\n\\s+at __next_outlet_boundary__[\\n\\s]"),RegExp("\\n\\s+at __next_instant_validation_boundary__[\\n\\s]"),a.s(["Postpone",0,function({reason:a,route:b}){let c=l.workUnitAsyncStorage.getStore();x(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)},"annotateDynamicAccess",0,A,"isPrerenderInterruptedError",0,z,"markCurrentScopeAsDynamic",0,v,"postponeWithTracking",0,x,"throwToInterruptStaticGeneration",0,w],7891);var B=a.i(85034),C=((f={})[f.Before=1]="Before",f[f.EarlyStatic=2]="EarlyStatic",f[f.Static=3]="Static",f[f.EarlyRuntime=4]="EarlyRuntime",f[f.Runtime=5]="Runtime",f[f.Dynamic=6]="Dynamic",f[f.Abandoned=7]="Abandoned",f);class D extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest="HANGING_PROMISE_REJECTION"}}let E=new WeakMap;function F(a,b,c){if(a.aborted)return Promise.reject(new D(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new D(b,c)),g=E.get(a);if(g)g.push(f);else{let b=[f];E.set(a,b),a.addEventListener("abort",()=>{for(let a=0;aa,J=console.warn;function K(a){return function(...b){J(a(...b))}}I(a=>{try{J(H.current)}finally{H.current=null}});var L=a.i(88652);function M(a,b){return N(a,m(),b)}function N(b,c,d){let e=k.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new B.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let f=l.workUnitAsyncStorage.getStore();if(f)switch(f.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return function(a,b){if(a.forceStatic)return Promise.resolve({});switch(b.type){case"prerender":case"prerender-client":var c=a,d=b;let e=O.get(d);if(e)return e;let f=F(d.renderSignal,c.route,"`searchParams`"),g=new Proxy(f,{get(a,b,c){if(Object.hasOwn(f,b))return p.ReflectAdapter.get(a,b,c);switch(b){case"then":return A("`await searchParams`, `searchParams.then`, or similar",d),p.ReflectAdapter.get(a,b,c);case"status":return A("`use(searchParams)`, `searchParams.status`, or similar",d),p.ReflectAdapter.get(a,b,c);default:return p.ReflectAdapter.get(a,b,c)}}});return O.set(d,g),g;case"prerender-ppr":case"prerender-legacy":var h=a,i=b;let j=O.get(h);if(j)return j;let k=Promise.resolve({}),l=new Proxy(k,{get(a,b,c){if(Object.hasOwn(k,b))return p.ReflectAdapter.get(a,b,c);if("string"==typeof b&&"then"===b){let a="`await searchParams`, `searchParams.then`, or similar";if(h.dynamicShouldError){var d=h.route;throw Object.defineProperty(new t(`Route ${d} with \`dynamic = "error"\` couldn't be rendered statically because it used ${a}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}"prerender-ppr"===i.type?x(h.route,a,i.dynamicTracking):w(a,h,i)}return p.ReflectAdapter.get(a,b,c)}});return O.set(h,l),l;default:return b}}(e,f);case"validation-client":throw Object.defineProperty(new B.InvariantError("createServerSearchParamsForServerPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1066",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new B.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new B.InvariantError("createServerSearchParamsForServerPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1128",enumerable:!1,configurable:!0});case"prerender-runtime":return function(a,b,c,d){let e=P(null!==c?function(a,b){let c={};for(let d in b)Object.defineProperty(c,d,{get:()=>(n(a,"?"),b[d]),enumerable:!0});return c}(c,a):a),{stagedRendering:f}=b;if(!f)return e;let g=d?C.EarlyRuntime:C.Runtime;return f.waitForStage(g).then(()=>e)}(b,f,c,d);case"request":return function(b,c,d,e){if(c.forceStatic)return Promise.resolve({});if(!d.asyncApiPromises)return P(b);if(d.validationSamples){let{createExhaustiveSearchParamsProxy:e}=a.r(39783),f=new Set(Object.keys(d.validationSamples.searchParams??{}));b=e(b,f,c.route)}return(e?d.asyncApiPromises.earlySharedSearchParamsParent:d.asyncApiPromises.sharedSearchParamsParent).then(()=>b)}(b,e,f,d)}(0,l.throwInvariantForMissingStore)()}a.i(24725);let O=new WeakMap;function P(a){let b=O.get(a);if(b)return b;let c=Promise.resolve(a);return O.set(a,c),c}new WeakMap,K(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})}),a.s(["createPrerenderSearchParamsForClientPage",0,function(){let a=k.workAsyncStorage.getStore();if(!a)throw Object.defineProperty(new B.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve({});let b=l.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"prerender":case"prerender-client":return F(b.renderSignal,a.route,"`searchParams`");case"validation-client":throw Object.defineProperty(new B.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1061",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new B.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new B.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new B.InvariantError("createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1124",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,l.throwInvariantForMissingStore)()},"createServerSearchParamsForMetadata",0,M,"createServerSearchParamsForServerPage",0,N],98499);var Q=a.i(43285);function R(a,b,c){return S(a,b,m(),c)}function S(b,c,d,e){let f=k.workAsyncStorage.getStore();if(!f)throw Object.defineProperty(new B.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let g=l.workUnitAsyncStorage.getStore();if(g)switch(g.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":var h=b,i=c,j=f,m=g,n=d;let p=null!==n?o(n,h,i):h;switch(m.type){case"prerender":case"prerender-client":{let a=m.fallbackRouteParams;if(a){for(let b in h)if(a.has(b))return function(a,b,c){let d=T.get(a);if(d)return d;let e=new Proxy(F(c.renderSignal,b.route,"`params`"),U);return T.set(a,e),e}(p,j,m)}break}case"prerender-ppr":{let a=m.fallbackRouteParams;if(a){for(let b in h)if(a.has(b))return function(a,b,c,d){let e=T.get(a);if(e)return e;let f={...a},g=Promise.resolve(f);return T.set(a,g),Object.keys(a).forEach(a=>{L.wellKnownProperties.has(a)||b.has(a)&&Object.defineProperty(f,a,{get(){let b=(0,L.describeStringPropertyAccess)("params",a);"prerender-ppr"===d.type?x(c.route,b,d.dynamicTracking):w(b,c,d)},enumerable:!0})}),g}(p,a,j,m)}}}return V(p);case"validation-client":throw Object.defineProperty(new B.InvariantError("createServerParamsForServerSegment should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1101",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new B.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new B.InvariantError("createServerParamsForServerSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1120",enumerable:!1,configurable:!0});case"prerender-runtime":return function(a,b,c,d,e){let f=V(null!==d?o(d,a,b):a),{stagedRendering:g}=c;if(!g)return f;let h=e?C.EarlyRuntime:C.Runtime;return g.waitForStage(h).then(()=>f)}(b,c,g,d,e);case"request":if(g.asyncApiPromises&&g.validationSamples)return function(b,c,d,e,f){let{createExhaustiveParamsProxy:g}=a.r(39783),h=g(b,new Set(Object.keys(d.params??{})),c.route);return(f?e.earlySharedParamsParent:e.sharedParamsParent).then(()=>h)}(b,f,g.validationSamples,g.asyncApiPromises,e);if(g.asyncApiPromises&&function(a,b){if(b){for(let c in a)if(b.has(c))return!0}return!1}(b,g.fallbackParams))return(e?g.asyncApiPromises.earlySharedParamsParent:g.asyncApiPromises.sharedParamsParent).then(()=>b);return V(b)}(0,l.throwInvariantForMissingStore)()}let T=new WeakMap,U={get:function(a,b,c){if("then"===b||"catch"===b||"finally"===b){let d=p.ReflectAdapter.get(a,b,c);return({[b]:(...b)=>{let c=Q.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(d.apply(a,b),U)}})[b]}return p.ReflectAdapter.get(a,b,c)}};function V(a){let b=T.get(a);if(b)return b;let c=Promise.resolve(a);return T.set(a,c),c}K(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})}),a.s(["createPrerenderParamsForClientSegment",0,function(a){let b=k.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(new B.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let c=l.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e))return F(c.renderSignal,b.route,"`params`")}break;case"validation-client":throw Object.defineProperty(new B.InvariantError("createPrerenderParamsForClientSegment should not be called in validation contexts."),"__NEXT_ERROR_CODE",{value:"E1099",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new B.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new B.InvariantError("createPrerenderParamsForClientSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1126",enumerable:!1,configurable:!0})}return Promise.resolve(a)},"createServerParamsForMetadata",0,R,"createServerParamsForServerSegment",0,S],52589),a.i(88471);var W=a.i(7997),X=a.i(91505);function Y(a){return Array.isArray(a)?a:[a]}function Z(a){if(null!=a)return Y(a)}var $=a.i(24373);function _(a){return"string"==typeof a||a instanceof URL}function aa(){let a=!!process.env.__NEXT_EXPERIMENTAL_HTTPS;return new URL(`${a?"https":"http"}://localhost:${process.env.PORT||3e3}`)}function ab(a,b){if(a instanceof URL)return a;if(!a)return null;try{return new URL(a)}catch{}b||(b=aa());let c=b.pathname||"";return new URL($.default.posix.join(c,a),b)}let ac=/^(?:\/((?!\.well-known(?:\/.*)?)(?:[^/]+\/)*[^/]+\.\w+))(\/?|$)/i;function ad(a,b,c,{trailingSlash:d}){var e,f;a="string"==typeof(e=a)&&e.startsWith("./")?$.default.posix.resolve(c,e):e;let g="",h=b?ab(a,b):a;if(g="string"==typeof h?h:"/"===h.pathname&&0===h.searchParams.size?h.origin:h.href,d&&!g.endsWith("/")){let a=g.startsWith("/"),c=g.includes("?"),d=!1,e=!1;if(!a){try{let a=new URL(g);d=null!=b&&a.origin!==b.origin,f=a.pathname,e=ac.test(f)}catch{d=!0}if(!e&&!d&&!c)return`${g}/`}}return g}function ae(a,b){return a?a.replace(/%s/g,b):b}function af(a,b){let c,d="string"!=typeof a&&a&&"template"in a?a.template:null;return("string"==typeof a?c=ae(b,a):a&&("default"in a&&(c=ae(b,a.default)),"absolute"in a&&a.absolute&&(c=a.absolute)),a&&"string"!=typeof a)?{template:d,absolute:c||""}:{absolute:c||a||"",template:d}}var ag=a.i(42440),ah=a.i(43070);let ai=["authors","tags"],aj=["albums","musicians"],ak=["actors","directors","writers","tags"],al=["emails","phoneNumbers","faxNumbers","alternateLocale","audio","videos"];function am(a,b,c){let d=Z(a);if(!d)return d;let e=[];for(let a of d){let d=function(a,b,c){if(!a)return;let d=_(a),e=d?a:a.url;if(!e)return;let f=!!process.env.VERCEL;if("string"==typeof e&&!(0,ag.isFullStringUrl)(e)&&(!b||c)){let a=function(a){let b,c,d=aa(),e=(b=process.env.VERCEL_BRANCH_URL||process.env.VERCEL_URL)?new URL(`https://${b}`):void 0,f=(c=process.env.VERCEL_PROJECT_PRODUCTION_URL)?new URL(`https://${c}`):void 0;return e&&"preview"===process.env.VERCEL_ENV?e:a||f||d}(b);f||b||(0,ah.warnOnce)(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "${a.origin}". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`),b=a}return d?{url:ab(e,b)}:{...a,url:ab(e,b)}}(a,b,c);d&&e.push(d)}return e}let an={article:ai,book:ai,"music.song":aj,"music.album":aj,"music.playlist":["albums","musicians"],"music.radio_station":["creators"],"video.movie":ak,"video.episode":ak},ao=async(a,b,c,d,e)=>{var f;if(!a)return null;let g={...a,title:af(a.title,e)};for(let b of(f=a&&"type"in a?a.type:void 0)&&f in an?an[f].concat(al):al)if(b in a&&"url"!==b){let c=a[b];g[b]=c?Y(c):null}return g.images=am(a.images,b,d.isStaticMetadataRouteFile),g.url=a.url?ad(a.url,b,await c,d):null,g},ap=["site","siteId","creator","creatorId","description"],aq=(a,b,c,d)=>{var e;if(!a)return null;let f="card"in a?a.card:void 0,g={...a,title:af(a.title,d)};for(let b of ap)g[b]=a[b]||null;if(g.images=am(a.images,b,c.isStaticMetadataRouteFile),f=f||((null==(e=g.images)?void 0:e.length)?"summary_large_image":"summary"),g.card=f,"card"in g)switch(g.card){case"player":g.players=Z(g.players)||[];break;case"app":g.app=g.app||{}}return g};var ar=a.i(32885);async function as(a){let b,c,d,{layout:e,page:f,defaultPage:g}=a[2],h=void 0!==e,i=void 0!==f,j=void 0!==g&&a[0]===ar.DEFAULT_SEGMENT_KEY;return h?(b=await e[0](),c="layout",d=e[1]):i?(b=await f[0](),c="page",d=f[1]):j&&(b=await g[0](),c="page",d=g[1]),{mod:b,modType:c,filePath:d}}async function at(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}function au(a,b,c,d){if(a instanceof URL){let b=new URL(c,a);a.searchParams.forEach((a,c)=>b.searchParams.set(c,a)),a=b}return ad(a,b,c,d)}let av=a=>{var b;if(!a)return null;let c=[];return null==(b=Z(a))||b.forEach(a=>{"string"==typeof a?c.push({color:a}):"object"==typeof a&&c.push({color:a.color,media:a.media})}),c};async function aw(a,b,c,d){if(!a)return null;let e={};for(let[f,g]of Object.entries(a))if("string"==typeof g||g instanceof URL){let a=await c;e[f]=[{url:au(g,b,a,d)}]}else if(g&&g.length){e[f]=[];let a=await c;g.forEach((c,g)=>{let h=au(c.url,b,a,d);e[f][g]={url:h,title:c.title}})}return e}async function ax(a,b,c,d){return a?{url:au("string"==typeof a||a instanceof URL?a:a.url,b,await c,d)}:null}let ay=async(a,b,c,d)=>{if(!a)return null;let e=await ax(a.canonical,b,c,d),f=await aw(a.languages,b,c,d);return{canonical:e,languages:f,media:await aw(a.media,b,c,d),types:await aw(a.types,b,c,d)}},az=["noarchive","nosnippet","noimageindex","nocache","notranslate","indexifembedded","nositelinkssearchbox","unavailable_after","max-video-preview","max-image-preview","max-snippet"],aA=a=>{if(!a)return null;if("string"==typeof a)return a;let b=[];for(let c of(a.index?b.push("index"):"boolean"==typeof a.index&&b.push("noindex"),a.follow?b.push("follow"):"boolean"==typeof a.follow&&b.push("nofollow"),az)){let d=a[c];void 0!==d&&!1!==d&&b.push("boolean"==typeof d?c:`${c}:${d}`)}return b.join(", ")},aB=a=>a?{basic:aA(a),googleBot:"string"!=typeof a?aA(a.googleBot):null}:null,aC=["google","yahoo","yandex","me","other"],aD=a=>{if(!a)return null;let b={};for(let c of aC){let d=a[c];if(d)if("other"===c)for(let c in b.other={},a.other){let d=Z(a.other[c]);d&&(b.other[c]=d)}else b[c]=Z(d)}return b},aE=a=>{var b;if(!a)return null;if(!0===a)return{capable:!0};let c=a.startupImage?null==(b=Z(a.startupImage))?void 0:b.map(a=>"string"==typeof a?{url:a}:a):null;return{capable:!("capable"in a)||!!a.capable,title:a.title||null,startupImage:c,statusBarStyle:a.statusBarStyle||"default"}},aF=a=>{if(!a)return null;for(let b in a)a[b]=Z(a[b]);return a},aG=async(a,b,c,d)=>a?{appId:a.appId,appArgument:a.appArgument?au(a.appArgument,b,await c,d):void 0}:null,aH=a=>a?{appId:a.appId,admins:Z(a.admins)}:null,aI=async(a,b,c,d)=>({previous:(null==a?void 0:a.previous)?au(a.previous,b,await c,d):null,next:(null==a?void 0:a.next)?au(a.next,b,await c,d):null}),aJ=["icon","shortcut","apple","other"];function aK(a){return _(a)?{url:a}:(Array.isArray(a),a)}let aL=a=>{if(!a)return null;let b={icon:[],apple:[]};if(Array.isArray(a))b.icon=a.map(aK).filter(Boolean);else if(_(a))b.icon=[aK(a)];else for(let c of aJ){let d=Z(a[c]);d&&(b[c]=d.map(aK))}return b};var aM=a.i(75164),aN=a.i(18970);function aO(a){let b=parseInt(a.slice(0,2),16),c=b>>1&63,d=Array(6);for(let a=0;a<6;a++){let b=c>>5-a&1;d[a]=1===b}return{type:1==(b>>7&1)?"use-cache":"server-action",usedArgs:d,hasRestArgs:1==(1&b)}}function aP(a){return a.$$typeof===Symbol.for("react.server.reference")}function aQ(a){if(a instanceof URL)return a.toString();if(Array.isArray(a))return a.map(a=>aQ(a));if(a&&"object"==typeof a){let b={};for(let[c,d]of Object.entries(a))b[c]=aQ(d);return b}return a}function aR(a){if("string"==typeof a)try{a=new URL(a)}catch{throw Object.defineProperty(Error(`metadataBase is not a valid URL: ${a}`),"__NEXT_ERROR_CODE",{value:"E850",enumerable:!1,configurable:!0})}return a}async function aS(a,b,c,d,e,f,g,h){var i,j;if(!d)return c;let{icon:k,apple:l,openGraph:m,twitter:n,manifest:o}=d;if(k&&(g.icon=k),l&&(g.apple=l),n&&!(null==b||null==(i=b.twitter)?void 0:i.hasOwnProperty("images"))){let b=aq({...c.twitter,images:n},a,{...e,isStaticMetadataRouteFile:!0},f.twitter);c.twitter=aQ(b)}if(m&&!(null==b||null==(j=b.openGraph)?void 0:j.hasOwnProperty("images"))){let b=await ao({...c.openGraph,images:m},a,h,{...e,isStaticMetadataRouteFile:!0},f.openGraph);c.openGraph=aQ(b)}return o&&(c.manifest=o),c}async function aT(a,b,{metadata:c,resolvedMetadata:d,staticFilesMetadata:e,titleTemplates:f,metadataContext:g,buildState:h,leafSegmentStaticIcons:i}){let j=structuredClone(d),k=aR((null==c?void 0:c.metadataBase)!==void 0?c.metadataBase:d.metadataBase);for(let d in c)switch(d){case"title":j.title=af(c.title,f.title);break;case"alternates":j.alternates=aQ(await ay(c.alternates,k,b,g));break;case"openGraph":j.openGraph=aQ(await ao(c.openGraph,k,b,g,f.openGraph));break;case"twitter":j.twitter=aQ(aq(c.twitter,k,g,f.twitter));break;case"facebook":j.facebook=aH(c.facebook);break;case"verification":j.verification=aD(c.verification);break;case"icons":j.icons=aQ(aL(c.icons));break;case"appleWebApp":j.appleWebApp=aE(c.appleWebApp);break;case"appLinks":j.appLinks=aQ(aF(c.appLinks));break;case"robots":j.robots=aB(c.robots);break;case"archives":case"assets":case"bookmarks":case"keywords":j[d]=Z(c[d]);break;case"authors":j[d]=aQ(Z(c.authors));break;case"itunes":j[d]=await aG(c.itunes,k,b,g);break;case"pagination":j.pagination=await aI(c.pagination,k,b,g);break;case"abstract":case"applicationName":case"description":case"generator":case"creator":case"publisher":case"category":case"classification":case"referrer":case"formatDetection":j[d]=c[d]??null;break;case"manifest":case"pinterest":j[d]=aQ(c[d])??null;break;case"other":j.other=Object.assign({},j.other,c.other),c.other&&("apple-touch-fullscreen"in c.other&&h.warnings.add(`Use appleWebApp instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`),"apple-touch-icon-precomposed"in c.other&&h.warnings.add(`Use icons.apple instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`));break;case"metadataBase":j.metadataBase=k?k.toString():null;break;case"apple-touch-fullscreen":h.warnings.add(`Use appleWebApp instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"apple-touch-icon-precomposed":h.warnings.add(`Use icons.apple instead -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"themeColor":case"colorScheme":case"viewport":null!=c[d]&&h.warnings.add(`Unsupported metadata ${d} is configured in metadata export in ${a}. Please move it to viewport export instead. -Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`)}return aS(k,c,j,e,g,f,i,b)}function aU(a,b,c){if("function"==typeof a.generateViewport){let{route:d}=c,e=aW(a.generateViewport,b);return Object.assign(b=>(0,aM.getTracer)().trace(aN.ResolveMetadataSpan.generateViewport,{spanName:`generateViewport ${d}`,attributes:{"next.page":d}},()=>a.generateViewport(e,b)),{$$original:a.generateViewport})}return a.viewport||null}function aV(a,b,c){if("function"==typeof a.generateMetadata){let{route:d}=c,e=aW(a.generateMetadata,b);return Object.assign(b=>(0,aM.getTracer)().trace(aN.ResolveMetadataSpan.generateMetadata,{spanName:`generateMetadata ${d}`,attributes:{"next.page":d}},()=>a.generateMetadata(e,b)),{$$original:a.generateMetadata})}return a.metadata||null}function aW(a,b){return!function(a){if(!aP(a))return!1;let{type:b}=aO(a.$$id);return"use-cache"===b}(a)?b:"searchParams"in b?{...b,$$isPage:!0}:{...b,$$isLayout:!0}}async function aX(a,b,c){if(!(null==a?void 0:a[c]))return;let d=a[c].map(async a=>await a(b));return(null==d?void 0:d.length)>0?(await Promise.all(d)).flat():void 0}async function aY(a,b){let{metadata:c}=a;if(!c)return null;let[d,e,f,g]=await Promise.all([aX(c,b,"icon"),aX(c,b,"apple"),aX(c,b,"openGraph"),aX(c,b,"twitter")]);return{icon:d,apple:e,openGraph:f,twitter:g,manifest:c.manifest}}async function aZ({tree:a,metadataItems:b,errorMetadataItem:c,props:d,route:e,errorConvention:f}){let g,h,i=!!(f&&a[2][f]);if(f)g=await at(a,"layout"),h=f;else{let{mod:b,modType:c}=await as(a);g=b,h=c}h&&(e+=`/${h}`);let j=await aY(a[2],d),k=g?aV(g,d,{route:e}):null;if(b.push([k,j]),i&&f){let b=await at(a,f),g=b?aV(b,d,{route:e}):null;c[0]=g,c[1]=j}}async function a$({tree:a,viewportItems:b,errorViewportItemRef:c,props:d,route:e,errorConvention:f}){let g,h,i=!!(f&&a[2][f]);if(f)g=await at(a,"layout"),h=f;else{let{mod:b,modType:c}=await as(a);g=b,h=c}h&&(e+=`/${h}`);let j=g?aU(g,d,{route:e}):null;if(b.push(j),i&&f){let b=await at(a,f);c.current=b?aU(b,d,{route:e}):null}}let a_=(0,j.cache)(async function(a,b,c,d,e){return a0([],a,void 0,{},null,b,c,[null,null],d,e)});async function a0(a,b,c,d,e,f,g,h,i,j){let[k,l,{page:m}]=b,n=c&&c.length?[...c,k]:[k],o=d,p=(0,X.getSegmentParam)(k);if(p){let a=i[p.paramName];null!=a&&(o={...d,[p.paramName]:a})}let q=(null==p?void 0:p.paramType)==="optional-catchall"&&(null===i[p.paramName]||void 0===i[p.paramName])?p.paramName:e,r=R(o,q,j);for(let c in await aZ({tree:b,metadataItems:a,errorMetadataItem:h,errorConvention:g,props:void 0!==m?{params:r,searchParams:f}:{params:r},route:n.filter(a=>a!==ar.PAGE_SEGMENT_KEY).join("/")}),l){let b=l[c];await a0(a,b,n,o,q,f,g,h,i,j)}return 0===Object.keys(l).length&&g&&a.push(h),a}let a1=(0,j.cache)(async function(a,b,c,d,e){return a2([],a,void 0,{},null,b,c,{current:null},d,e)});async function a2(a,b,c,d,e,f,g,h,i,j){let k,[l,m,{page:n}]=b,o=c&&c.length?[...c,l]:[l],p=d,q=(0,X.getSegmentParam)(l);if(q){let a=i[q.paramName];null!=a&&(p={...d,[q.paramName]:a})}let r=(null==q?void 0:q.paramType)==="optional-catchall"&&(null===i[q.paramName]||void 0===i[q.paramName])?q.paramName:e,s=R(p,r,j);for(let c in k=void 0!==n?{params:s,searchParams:f}:{params:s},await a$({tree:b,viewportItems:a,errorViewportItemRef:h,errorConvention:g,props:k,route:o.filter(a=>a!==ar.PAGE_SEGMENT_KEY).join("/")}),m){let b=m[c];await a2(a,b,o,p,r,f,g,h,i,j)}return 0===Object.keys(m).length&&g&&a.push(h.current),a}let a3=a=>!!(null==a?void 0:a.absolute),a4=a=>a3(null==a?void 0:a.title);function a5(a,b){a&&(!a4(a)&&a4(b)&&(a.title=b.title),!a.description&&b.description&&(a.description=b.description))}let a6=()=>{};function a7(a,b){if("function"==typeof b){let d=function(a){if(!aP(a))return null;let b=aO(a.$$id);return"use-cache"===b.type?b:null}(b.$$original);if(d&&d.usedArgs[1]){var c;let d,e,f=new Promise(b=>a.push(b));a.push((c=async()=>b(f),e={then:(a,b)=>(d||(d=Promise.resolve(c())),d.then(a=>{e.value=a}).catch(()=>{}),d.then(a,b))}))}else{let c;d?(a.push(a6),c=b()):c=b(new Promise(b=>a.push(b))),a.push(c),c instanceof Promise&&c.catch(a=>({__nextError:a}))}}else"object"==typeof b?a.push(b):a.push(null)}async function a8(a,b,c,d){let e,f={viewport:null,themeColor:null,colorScheme:null,metadataBase:null,title:null,description:null,applicationName:null,authors:null,generator:null,keywords:null,referrer:null,creator:null,publisher:null,robots:null,manifest:null,alternates:{canonical:null,languages:null,media:null,types:null},icons:null,openGraph:null,twitter:null,verification:{},appleWebApp:null,formatDetection:null,itunes:null,facebook:null,pinterest:null,abstract:null,appLinks:null,archives:null,assets:null,bookmarks:null,category:null,classification:null,pagination:{previous:null,next:null},other:{}},g={title:null,twitter:null,openGraph:null},h={warnings:new Set},i={icon:[],apple:[]},j=function(a){let b=[];for(let c=0;c0||i.apple.length>0)&&!f.icons&&(f.icons={icon:[],apple:[]},i.icon.length>0&&f.icons.icon.unshift(...i.icon),i.apple.length>0&&f.icons.apple.unshift(...i.apple)),h.warnings.size>0)for(let a of h.warnings)ah.warn(a);return function(a,b,c,d){let{openGraph:e,twitter:f}=a;if(e){let b={},g=a4(f),h=null==f?void 0:f.description,i=!!((null==f?void 0:f.hasOwnProperty("images"))&&f.images);if(!g&&(a3(e.title)?b.title=e.title:a.title&&a3(a.title)&&(b.title=a.title)),h||(b.description=e.description||a.description||void 0),i||(b.images=e.images),Object.keys(b).length>0){let e=aq(b,aR(a.metadataBase),d,c.twitter);a.twitter?a.twitter=Object.assign({},a.twitter,{...!g&&{title:null==e?void 0:e.title},...!h&&{description:null==e?void 0:e.description},...!i&&{images:null==e?void 0:e.images}}):a.twitter=aQ(e)}}return a5(e,a),a5(f,a),b&&(a.icons||(a.icons={icon:[],apple:[]}),a.icons.icon.unshift(b)),a}(f,e,g,d)}async function a9(a){let b={width:"device-width",initialScale:1,themeColor:null,colorScheme:null},c=function(a){let b=[];for(let c=0;c0)return F(c.renderSignal,b.route,"`pathname`");break}case"prerender-ppr":{let a=c.fallbackRouteParams;if(a&&a.size>0){var d,e;let a,f,g;return d=b,e=c.dynamicTracking,a=null,g=(f=new Promise((b,c)=>{a=c})).then.bind(f),f.then=(b,c)=>{if(a)try{x(d.route,"metadata relative url resolving",e)}catch(b){a(b),a=null}return g(b,c)},new Proxy(f,{})}}}return Promise.resolve(a)}(a,b,c);case"prerender-client":case"validation-client":throw Object.defineProperty(new B.InvariantError("createServerPathnameForMetadata should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1065",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new B.InvariantError("createServerPathnameForMetadata should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E740",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new B.InvariantError("createServerPathnameForMetadata should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1129",enumerable:!1,configurable:!0});case"prerender-runtime":return function(a,b){let{stagedRendering:c}=a;return c?c.waitForStage(c.currentStage===C.EarlyStatic||c.currentStage===C.EarlyRuntime?C.EarlyRuntime:C.Runtime).then(()=>b):b}(c,bf(a));case"request":return bf(a)}(0,l.throwInvariantForMissingStore)()}(b);async function n(){if(!h){let a=l.workUnitAsyncStorage.getStore();if(a){let b=(0,l.getStagedRenderingController)(a);b&&await b.waitForStage(C.Static)}}return await bo(a,i,e,h,f).catch(b=>{if(bh(b))throw b;return!f&&be(b)?bq(a,i,e,h).catch(()=>null):null})}async function o(){if(!h){let a=l.workUnitAsyncStorage.getStore();if(a){let b=(0,l.getStagedRenderingController)(a);b&&await b.waitForStage(C.Static)}}return await bk(a,m,i,e,d,h,f).catch(b=>{if(bh(b))throw b;return!f&&be(b)?bm(a,m,i,e,d,h).catch(()=>null):null})}function p(){let b=Promise.all([bk(a,m,i,e,d,h,f),bo(a,i,e,h,f)]).then(()=>null);return g?(0,W.jsx)(bi.OutletBoundary,{children:(0,W.jsx)(j.Suspense,{name:"Next.MetadataOutlet",children:b})}):(0,W.jsx)(bi.OutletBoundary,{children:b})}return n.displayName="Next.Viewport",o.displayName="Next.Metadata",p.displayName="Next.MetadataOutlet",{Viewport:function(){return(0,W.jsx)(bi.ViewportBoundary,{children:(0,W.jsx)(n,{})})},Metadata:function(){return g?(0,W.jsx)("div",{hidden:!0,children:(0,W.jsx)(bi.MetadataBoundary,{children:(0,W.jsx)(j.Suspense,{name:"Next.Metadata",children:(0,W.jsx)(o,{})})})}):(0,W.jsx)(bi.MetadataBoundary,{children:(0,W.jsx)(o,{})})},MetadataOutlet:p}}],2754);var bu=a.i(75465);a.s(["preconnect",0,function(a,b,c){let d={};"string"==typeof b&&(d.crossOrigin=b),"string"==typeof c&&(d.nonce=c),bu.default.preconnect(a,d)},"preloadFont",0,function(a,b,c,d){let e={as:"font",type:b};"string"==typeof c&&(e.crossOrigin=c),"string"==typeof d&&(e.nonce=d),bu.default.preload(a,e)},"preloadStyle",0,function(a,b,c){let d={as:"style"};"string"==typeof b&&(d.crossOrigin=b),"string"==typeof c&&(d.nonce=c),bu.default.preload(a,d)}],641),a.s(["taintObjectReference",0,function(){throw Object.defineProperty(Error("Taint can only be used with the taint flag."),"__NEXT_ERROR_CODE",{value:"E354",enumerable:!1,configurable:!0})}],75385);var bv=((g={})[g.HasRuntimePrefetch=1]="HasRuntimePrefetch",g[g.SubtreeHasInstant=2]="SubtreeHasInstant",g[g.SegmentHasLoadingBoundary=4]="SegmentHasLoadingBoundary",g[g.SubtreeHasLoadingBoundary=8]="SubtreeHasLoadingBoundary",g[g.IsRootLayout=16]="IsRootLayout",g[g.ParentInlinedIntoSelf=32]="ParentInlinedIntoSelf",g[g.InlinedIntoChild=64]="InlinedIntoChild",g[g.HeadInlinedIntoSelf=128]="HeadInlinedIntoSelf",g[g.HeadOutlined=256]="HeadOutlined",g);function bw(a){return(a.then(bx),"fulfilled"!==a.status)?null:a.value}let bx=()=>{};var by=a.i(35427),bz=a.i(22693),bA=a.i(68113);let bB="/_head";function bC(a){if("string"==typeof a)return a.startsWith(ar.PAGE_SEGMENT_KEY)?ar.PAGE_SEGMENT_KEY:"/_not-found"===a?"_not-found":bF(a);let b=a[0];return"$"+a[2]+"$"+bF(b)}function bD(a,b,c){return a+"/"+("children"===b?c:`@${bF(b)}/${c}`)}let bE=/^[a-zA-Z0-9\-_@]+$/;function bF(a){return bE.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}a.i(23932),a.i(14976);var bG=a.i(71717),bH=a.i(91191);function bI(a){if("object"==typeof a&&null!==a&&"digest"in a&&"BAILOUT_TO_CLIENT_SIDE_RENDERING"===a.digest||function(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),f=Number(b.at(-2));return"NEXT_REDIRECT"===c&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(f)&&f in bG.RedirectStatusCode}(a)||be(a)||s(a)||z(a)||(0,bH.isInstantValidationError)(a))return a.digest}var bJ=((h={}).ProspectiveRender="the prospective render",h.SegmentCollection="segment collection",h.InstantValidation="instant validation",h);function bK(a){let b=bI(a);if(b)return b;if(process.env.NEXT_DEBUG_BUILD||process.env.__NEXT_VERBOSE_LOGGING){let b=k.workAsyncStorage.getStore();!function(a,b,c){let d;if(!bI(a)){if("object"==typeof a&&null!==a&&"message"in a&&"string"==typeof a.message&&a.message.startsWith("This rendered a large document (>"))return console.error(a);if("object"==typeof a&&null!==a&&"string"==typeof a.message){if(d=a.message,"string"==typeof a.stack){let e=a.stack,f=e.indexOf("\n");if(f>-1){let a=Object.defineProperty(Error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. - -Original Error: ${d}`),"__NEXT_ERROR_CODE",{value:"E949",enumerable:!1,configurable:!0});a.stack="Error: "+a.message+e.slice(f),console.error(a);return}}}else"string"==typeof a&&(d=a);if(d)return console.error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. No stack was provided. - -Original Message: ${d}`);console.error(`Route ${b} errored during ${c}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. The thrown value is logged just following this message`),console.error(a)}}(a,(null==b?void 0:b.route)??"unknown route",bJ.SegmentCollection)}}function bL(a){let b=a.f;return 1!==b.length&&3!==b[0].length?(console.error("Internal Next.js error: InitialRSCPayload does not match the expected shape for a prerendered page during segment prefetch generation."),null):{buildId:a.b,flightRouterState:b[0][0],seedData:b[0][1],head:b[0][2]}}async function bM(a,b,e,f,g,h,j){let k=new Map;try{await (0,by.createFromReadableStream)((0,bz.streamFromBuffer)(b),{findSourceMapURL:d,serverConsumerManifest:g}),await (0,bA.waitAtLeastOneReactRenderTask)()}catch{}let l=new AbortController,m=async()=>{await (0,bA.waitAtLeastOneReactRenderTask)(),l.abort()},n=[],{prelude:o}=await (0,i.prerender)((0,W.jsx)(bQ,{isClientParamParsingEnabled:a,fullPageDataBuffer:b,serverConsumerManifest:g,clientModules:f,staleTime:e,segmentTasks:n,onCompletedProcessingRouteTree:m,prefetchInlining:h,hints:j}),f,{filterStackFrame:c,signal:l.signal,onError:bK}),p=await (0,bz.streamToBuffer)(o);k.set("/_tree",p),k.set("/_full",b);let q=!1;for(let[a,b]of(await Promise.all(n)))k.set(a,b),a.endsWith("__PAGE__")&&(q=!0);return q||k.set("/todo-remove-fake-segment/__PAGE__",Buffer.alloc(0)),k}async function bN(a,b,c,e,f,g){try{await (0,by.createFromReadableStream)((0,bz.streamFromBuffer)(a),{findSourceMapURL:d,serverConsumerManifest:e}),await (0,bA.waitAtLeastOneReactRenderTask)()}catch{}let h=await (0,by.createFromReadableStream)(bV((0,bz.streamFromBuffer)(a)),{findSourceMapURL:d,serverConsumerManifest:e}),i=bL(h);if(null===i)return{hints:0,slots:null};let{buildId:j,flightRouterState:k,seedData:l,head:m}=i,n=h.h,o=null!==n?bw(n):null,[,p]=await bR(j,b,m,bB,o,c),q=await bP(p),r={inlined:!1},{node:s}=await bO(k,j,b,l,c,"",null,f,g,q,r);return r.inlined||(s.hints|=bv.HeadOutlined),s}async function bO(a,b,c,d,e,f,g,h,i,j,k){let l=null;if(null!==d){let a=d[4],g=null!==a?bw(a):null,[,h]=await bR(b,c,d[0],f,g,e);l=await bP(h)}let m=null!==l&&lbR(d,e,f[0],h,s,g)));let t=c[0];return"string"==typeof t?(l=t,m=null):(l=t[0],m={type:t[2],key:b?null:t[1],siblings:t[3]}),{name:l,param:m,prefetchHints:q,slots:n}}(a,n,m,f,o,e,"",g,i,j);i?g.push((0,bA.waitAtLeastOneReactRenderTask)().then(()=>bS(n,m,f,o,p,r,e))):g.push((0,bA.waitAtLeastOneReactRenderTask)().then(()=>bR(m,f,p,bB,r,e))),h();let t={tree:s,staleTime:f};return m&&(t.buildId=m),t}async function bR(a,b,d,e,f,g){let h={rsc:d,isPartial:await bU(d,g),staleTime:b,varyParams:f};a&&(h.buildId=a);let j=new AbortController;(0,bA.waitAtLeastOneReactRenderTask)().then(()=>j.abort());let{prelude:k}=await (0,i.prerender)(h,g,{filterStackFrame:c,signal:j.signal,onError:bK}),l=await (0,bz.streamToBuffer)(k);return""===e?["/_index",l]:[e,l]}async function bS(a,b,d,e,f,g,h){let j=await bT(a,b,d,e,h),k={rsc:f,isPartial:await bU(f,h),staleTime:d,varyParams:g};b&&(k.buildId=b);let l=new AbortController;(0,bA.waitAtLeastOneReactRenderTask)().then(()=>l.abort());let{prelude:m}=await (0,i.prerender)({tree:j,head:k},h,{filterStackFrame:c,signal:l.signal,onError:bK}),n=await (0,bz.streamToBuffer)(m);return["/"+ar.PAGE_SEGMENT_KEY,n]}async function bT(a,b,c,d,e){let f=null,g=a[1],h=null!==d?d[1]:null;for(let a in g){let d=g[a],i=null!==h?h[a]:null,j=await bT(d,b,c,i,e);null===f&&(f={}),f[a]=j}let i=null!==d?d[0]:null,j=null!==d?d[4]:null,k=null!==j?bw(j):null,l={rsc:i,isPartial:null===i||await bU(i,e),staleTime:c,varyParams:k};return b&&(l.buildId=b),{segment:l,slots:f}}async function bU(a,b){let d=!1,e=new AbortController;return(0,bA.waitAtLeastOneReactRenderTask)().then(()=>{d=!0,e.abort()}),await (0,i.prerender)(a,b,{filterStackFrame:c,signal:e.signal,onError(){}}),d}function bV(a){let b=a.getReader();return new ReadableStream({async pull(a){for(;;){let{done:c,value:d}=await b.read();if(!c){a.enqueue(d);continue}return}}})}a.s(["collectPrefetchHints",0,bN,"collectSegmentData",0,bM],34373);var bW=a.i(21751);let bX=()=>{};function bY(a){if(!a.body)return[a,a];let[c,d]=a.body.tee(),e=new Response(c,{status:a.status,statusText:a.statusText,headers:a.headers});Object.defineProperty(e,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1});let f=new Response(d,{status:a.status,statusText:a.statusText,headers:a.headers});return Object.defineProperty(f,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1}),b&&(e.body&&b.register(e,new WeakRef(e.body)),f.body&&b.register(f,new WeakRef(f.body))),[e,f]}globalThis.FinalizationRegistry&&(b=new FinalizationRegistry(a=>{let b=a.deref();b&&!b.locked&&b.cancel("Response object has been garbage collected").then(bX)}));let bZ=new Set(["traceparent","tracestate"]);a.i(75700);var b$=a.i(276);let b_=Symbol.for("next-patch");function b0(a,b){a.shouldTrackFetchMetrics&&(a.fetchMetrics??=[],a.fetchMetrics.push({...b,end:performance.timeOrigin+performance.now(),idx:a.nextFetchId||0}))}async function b1(a,b,c,d,e,f){let g=await a.arrayBuffer(),h={headers:Object.fromEntries(a.headers.entries()),body:Buffer.from(g).toString("base64"),status:a.status,url:a.url};return c&&await d.set(b,{kind:b$.CachedRouteKind.FETCH,data:h,revalidate:e},c),await f(),new Response(g,{headers:a.headers,status:a.status,statusText:a.statusText})}async function b2(a,b,c,d,e,f,g,h,i,j){let[k,l]=bY(b),m=k.arrayBuffer().then(async a=>{let b=Buffer.from(a),h={headers:Object.fromEntries(k.headers.entries()),body:b.toString("base64"),status:k.status,url:k.url};null==f||f.set(c,h),d&&await e.set(c,{kind:b$.CachedRouteKind.FETCH,data:h,revalidate:g},d)}).catch(a=>{(null==j?void 0:j.aborted)||console.warn("Failed to set fetch cache",h,a)}).finally(i),n=`cache-set-${c}`,o=a.pendingRevalidates??={},p=Promise.resolve();return n in o&&(p=o[n]),o[n]=p.then(()=>m).finally(()=>{(null==o?void 0:o[n])&&delete o[n]}),l}let b3=null;globalThis.__next__clear_chunk_cache__=a.C,a.s(["InstantValidation",0,()=>{},"SegmentViewNode",0,()=>null,"SegmentViewStateNode",0,()=>null,"patchFetch",0,function(){return function(a){var b;let c;if(!0===globalThis[b_])return;let d=(b=globalThis.fetch,c=j.cache(a=>[]),function(a,d){let e,f;if(d&&d.signal)return b(a,d);if("string"!=typeof a||d){let c,g="string"==typeof a||a instanceof URL?new Request(a,d):a;if("GET"!==g.method&&"HEAD"!==g.method||g.keepalive)return b(a,d);c=Array.from(g.headers.entries()).filter(([a])=>!bZ.has(a.toLowerCase())),f=JSON.stringify([g.method,c,g.mode,g.redirect,g.credentials,g.referrer,g.referrerPolicy,g.integrity]),e=g.url}else f='["GET",[],null,"follow",null,null,null,null]',e=a;let g=c(e);for(let a=0,b=g.length;a{let b=g[a][2];if(!b)throw Object.defineProperty(new B.InvariantError("No cached response"),"__NEXT_ERROR_CODE",{value:"E579",enumerable:!1,configurable:!0});let[c,d]=bY(b);return g[a][2]=d,c})}let h=b(a,d),i=[f,h,null];return g.push(i),h.then(a=>{let[b,c]=bY(a);return i[2]=c,b})});globalThis.fetch=function(a,{workAsyncStorage:b,workUnitAsyncStorage:c}){let d=async function(d,e){var f,g;let h;try{(h=new URL(d instanceof Request?d.url:d)).username="",h.password=""}catch{h=void 0}let i=(null==h?void 0:h.href)??"",j=(null==e||null==(f=e.method)?void 0:f.toUpperCase())||"GET",k=(null==e||null==(g=e.next)?void 0:g.internal)===!0,m="1"===process.env.NEXT_OTEL_FETCH_DISABLED,n=k?void 0:performance.timeOrigin+performance.now(),o=b.getStore(),p=c.getStore(),q=p?(0,l.getCacheSignal)(p):null;q&&q.beginRead();let r=(0,aM.getTracer)().trace(k?aN.NextNodeServerSpan.internalFetch:aN.AppRenderSpan.fetch,{hideSpan:m,kind:aM.SpanKind.CLIENT,spanName:["fetch",j,i].filter(Boolean).join(" "),attributes:{"http.url":i,"http.method":j,"net.peer.name":null==h?void 0:h.hostname,"net.peer.port":(null==h?void 0:h.port)||void 0}},async()=>{var b;let c,f,g,h,j,l;if(k||!o||o.isDraftMode)return a(d,e);let m=d&&"object"==typeof d&&"string"==typeof d.method,r=a=>(null==e?void 0:e[a])||(m?d[a]:null),s=a=>{var b,c,f;return void 0!==(null==e||null==(b=e.next)?void 0:b[a])?null==e||null==(c=e.next)?void 0:c[a]:m?null==(f=d.next)?void 0:f[a]:void 0},t=s("revalidate"),u=t,w=function(a,b){let c=[],d=[];for(let e=0;ebW.NEXT_CACHE_TAG_MAX_LENGTH?d.push({tag:f,reason:`exceeded max length of ${bW.NEXT_CACHE_TAG_MAX_LENGTH}`}):c.push(f),c.length>bW.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${b}, dropped tags:`,a.slice(e).join(", "));break}}if(d.length>0)for(let{tag:a,reason:c}of(console.warn(`Warning: invalid tags passed to ${b}: `),d))console.log(`tag: "${a}" ${c}`);return c}(s("tags")||[],`fetch ${d.toString()}`);if(p)switch(p.type){case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":c=p}if(c&&Array.isArray(w)){let a=c.tags??(c.tags=[]);for(let b of w)a.includes(b)||a.push(b)}let x=null==p?void 0:p.implicitTags,y=o.fetchCache;p&&"unstable-cache"===p.type&&(y="force-no-store");let z=!!o.isUnstableNoStore,A=r("cache"),B="";"string"==typeof A&&void 0!==u&&("force-cache"===A&&0===u||"no-store"===A&&(u>0||!1===u))&&(f=`Specified "cache: ${A}" and "revalidate: ${u}", only one should be specified.`,A=void 0,u=void 0);let C="no-cache"===A||"no-store"===A||"force-no-store"===y||"only-no-store"===y,D=!y&&!A&&!u&&o.forceDynamic;"force-cache"===A&&void 0===u?u=!1:(C||D)&&(u=0),("no-cache"===A||"no-store"===A)&&(B=`cache: ${A}`),l=function(a,b){try{let c;if(!1===a)c=bW.INFINITE_CACHE;else if("number"==typeof a&&!isNaN(a)&&a>-1)c=a;else if(void 0!==a)throw Object.defineProperty(Error(`Invalid revalidate value "${a}" on "${b}", must be a non-negative number or false`),"__NEXT_ERROR_CODE",{value:"E179",enumerable:!1,configurable:!0});return c}catch(a){if(a instanceof Error&&a.message.includes("Invalid revalidate"))throw a;return}}(u,o.route);let E=r("headers"),G="function"==typeof(null==E?void 0:E.get)?E:new Headers(E||{}),H=G.get("authorization")||G.get("cookie"),I=!["get","head"].includes((null==(b=r("method"))?void 0:b.toLowerCase())||"get"),J=void 0==y&&(void 0==A||"default"===A)&&void 0==u,K=!!((H||I)&&(null==c?void 0:c.revalidate)===0),L=!1;if(!K&&J&&(o.isBuildTimePrerendering?L=!0:K=!0),J&&void 0!==p)switch(p.type){case"prerender":case"prerender-runtime":case"prerender-client":return q&&(q.endRead(),q=null),F(p.renderSignal,o.route,"fetch()")}switch(y){case"force-no-store":B="fetchCache = force-no-store";break;case"only-no-store":if("force-cache"===A||void 0!==l&&l>0)throw Object.defineProperty(Error(`cache: 'force-cache' used on fetch for ${i} with 'export const fetchCache = 'only-no-store'`),"__NEXT_ERROR_CODE",{value:"E448",enumerable:!1,configurable:!0});B="fetchCache = only-no-store";break;case"only-cache":if("no-store"===A)throw Object.defineProperty(Error(`cache: 'no-store' used on fetch for ${i} with 'export const fetchCache = 'only-cache'`),"__NEXT_ERROR_CODE",{value:"E521",enumerable:!1,configurable:!0});break;case"force-cache":(void 0===u||0===u)&&(B="fetchCache = force-cache",l=bW.INFINITE_CACHE)}if(void 0===l?"default-cache"!==y||z?"default-no-store"===y?(l=0,B="fetchCache = default-no-store"):z?(l=0,B="noStore call"):K?(l=0,B="auto no cache"):(B="auto cache",l=c?c.revalidate:bW.INFINITE_CACHE):(l=bW.INFINITE_CACHE,B="fetchCache = default-cache"):B||(B=`revalidate: ${l}`),!(o.forceStatic&&0===l)&&!K&&c&&l0,{incrementalCache:N}=o,O=!1;if(p)switch(p.type){case"request":case"cache":case"private-cache":O=p.isHmrRefresh??!1,h=p.serverComponentsHmrCache}if(N&&(M||h))try{g=await N.generateCacheKey(i,m?d:e)}catch(a){console.error("Failed to generate cache key for",d)}let P=o.nextFetchId??1;o.nextFetchId=P+1;let Q=()=>{},R=async(b,c)=>{let j=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...b?[]:["signal"]];if(m){let a=d,b={body:a._ogBody||a.body};for(let c of j)b[c]=a[c];d=new Request(a.url,b)}else if(e){let{_ogBody:a,body:c,signal:d,...f}=e;e={...f,body:a||c,signal:b?void 0:d}}let k={...e,next:{...null==e?void 0:e.next,fetchType:"origin",fetchIdx:P}};return a(d,k).then(async a=>{if(!b&&n&&b0(o,{start:n,url:i,cacheReason:c||B,cacheStatus:0===l||c?"skip":"miss",cacheWarning:f,status:a.status,method:k.method||"GET"}),200===a.status&&N&&g&&(M||h)){let b=l>=bW.INFINITE_CACHE?bW.CACHE_ONE_YEAR_SECONDS:l,c=M?{fetchCache:!0,fetchUrl:i,fetchIdx:P,tags:w,isImplicitBuildTimeCache:L}:void 0;switch(null==p?void 0:p.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return b1(a,g,c,N,b,Q);case"request":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":case void 0:return b2(o,a,g,c,N,h,b,d,Q,r("signal"))}}return await Q(),a}).catch(a=>{throw Q(),a})},S=!1,T=!1;if(g&&N){let a;if(O&&h&&(a=h.get(g),T=!0),M&&!a){Q=await N.lock(g);let b=o.isOnDemandRevalidate?null:await N.get(g,{kind:b$.IncrementalCacheKind.FETCH,revalidate:l,fetchUrl:i,fetchIdx:P,tags:w,softTags:null==x?void 0:x.tags});if(J&&p)switch(p.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":await (b3||(b3=new Promise(a=>{setTimeout(()=>{b3=null,a()},0)})),b3)}if(b?await Q():j="cache-control: no-cache (hard refresh)",(null==b?void 0:b.value)&&b.value.kind===b$.CachedRouteKind.FETCH)if(o.isStaticGeneration&&b.isStale)S=!0;else{if(b.isStale&&(o.pendingRevalidates??={},!o.pendingRevalidates[g])){let a=R(!0).then(async a=>({body:await a.arrayBuffer(),headers:a.headers,status:a.status,statusText:a.statusText})).finally(()=>{o.pendingRevalidates??={},delete o.pendingRevalidates[g||""]});a.catch(console.error),o.pendingRevalidates[g]=a}a=b.value.data}}if(a){n&&b0(o,{start:n,url:i,cacheReason:B,cacheStatus:T?"hmr":"hit",cacheWarning:f,status:a.status||200,method:(null==e?void 0:e.method)||"GET"});let b=new Response(Buffer.from(a.body,"base64"),{headers:a.headers,status:a.status});return Object.defineProperty(b,"url",{value:a.url}),b}}if(o.isStaticGeneration&&e&&"object"==typeof e){let{cache:a}=e;if("no-store"===a){if(p)switch(p.type){case"prerender":case"prerender-client":case"prerender-runtime":case"validation-client":return q&&(q.endRead(),q=null),F(p.renderSignal,o.route,"fetch()")}v(o,p,`no-store fetch ${d} ${o.route}`)}let b="next"in e,{next:f={}}=e;if("number"==typeof f.revalidate&&c&&f.revalidate{let b=a[0];return{body:await b.arrayBuffer(),headers:b.headers,status:b.status,statusText:b.statusText}}).finally(()=>{var b;(null==(b=o.pendingRevalidates)?void 0:b[a])&&delete o.pendingRevalidates[a]})).catch(()=>{}),o.pendingRevalidates[a]=b,c.then(a=>a[1])}});if(q)try{return await r}finally{q&&q.endRead()}return r};return d.__nextPatched=!0,d.__nextGetStaticStore=()=>b,d._nextOriginalFetch=a,globalThis[b_]=!0,Object.defineProperty(d,"name",{value:"fetch",writable:!1}),d}(d,a)}({workAsyncStorage:k.workAsyncStorage,workUnitAsyncStorage:l.workUnitAsyncStorage})}],9095)},96772,a=>{"use strict";var b=a.i(9095),c=a.i(11857),d=a.i(10990),e=a.i(717),f=a.i(28212),g=a.i(54691),h=a.i(56704),i=a.i(32319),j=a.i(20635),k=a.i(20575),l=a.i(5476),m=a.i(98499),n=a.i(52589),o=a.i(81793),p=a.i(88471),q=a.i(2754),r=a.i(82622),s=a.i(641),t=a.i(7891),u=a.i(75385),v=a.i(34373);a.s(["ClientPageRoot",()=>k.ClientPageRoot,"ClientSegmentRoot",()=>l.ClientSegmentRoot,"Fragment",()=>e.Fragment,"HTTPAccessFallbackBoundary",()=>p.HTTPAccessFallbackBoundary,"InstantValidation",()=>b.InstantValidation,"LayoutRouter",()=>f.default,"LoadingBoundaryProvider",()=>f.LoadingBoundaryProvider,"Postpone",()=>t.Postpone,"RenderFromTemplateContext",()=>g.default,"RootLayoutBoundary",()=>r.RootLayoutBoundary,"SegmentViewNode",()=>b.SegmentViewNode,"SegmentViewStateNode",()=>b.SegmentViewStateNode,"actionAsyncStorage",()=>j.actionAsyncStorage,"captureOwnerStack",()=>e.captureOwnerStack,"collectPrefetchHints",()=>v.collectPrefetchHints,"collectSegmentData",()=>v.collectSegmentData,"createElement",()=>e.createElement,"createMetadataComponents",()=>q.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>n.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>m.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>n.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>m.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>c.createTemporaryReferenceSet,"decodeAction",()=>c.decodeAction,"decodeFormState",()=>c.decodeFormState,"decodeReply",()=>c.decodeReply,"patchFetch",()=>b.patchFetch,"preconnect",()=>s.preconnect,"preloadFont",()=>s.preloadFont,"preloadStyle",()=>s.preloadStyle,"prerender",()=>d.prerender,"renderToReadableStream",()=>c.renderToReadableStream,"serverHooks",0,o,"taintObjectReference",()=>u.taintObjectReference,"workAsyncStorage",()=>h.workAsyncStorage,"workUnitAsyncStorage",()=>i.workUnitAsyncStorage])}]; - -//# sourceMappingURL=node_modules_next_dist_0_t6nhm._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js.map deleted file mode 100644 index 951e44c..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_0_t6nhm._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/server/route-kind.ts","../../../../node_modules/next/src/server/instrumentation/utils.ts","../../../../node_modules/next/src/server/lib/trace/constants.ts","../../../../node_modules/next/dist/compiled/%40opentelemetry/api/index.js","../../../../node_modules/next/dist/esm/server/lib/trace/tracer.js","../../../../node_modules/next/dist/esm/shared/lib/is-thenable.js","../../../../node_modules/next/src/server/request-meta.ts","../../../../node_modules/next/src/server/app-render/interop-default.ts","../../../../node_modules/next/src/client/components/app-router-headers.ts","../../../../node_modules/next/src/server/app-render/strip-flight-headers.ts","../../../../node_modules/next/src/client/components/redirect-status-code.ts","../../../../node_modules/next/dist/esm/server/base-http/index.js","../../../../node_modules/next/dist/esm/server/base-http/node.js","../../../../node_modules/next/dist/esm/server/api-utils/index.js","../../../../node_modules/next/dist/esm/server/api-utils/get-cookie-parser.js","../../../../node_modules/next/src/server/lib/experimental/ppr.ts","../../../../node_modules/next/src/server/lib/is-rsc-request.ts","../../../../node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/next/dist/esm/shared/lib/segment.js","../../../../node_modules/next/dist/esm/shared/lib/page-path/ensure-leading-slash.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js","../../../../node_modules/next/src/shared/lib/router/utils/interception-routes.ts","../../../../node_modules/next/src/shared/lib/router/utils/get-segment-param.tsx","../../../../node_modules/next/dist/esm/shared/lib/router/routes/app.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/parse-loader-tree.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/interception-prefix-from-param-type.js","../../../../node_modules/next/dist/esm/server/app-render/get-short-dynamic-param-type.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/resolve-param-value.js","../../../../node_modules/next/dist/esm/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js","../../../../node_modules/next/dist/esm/server/request/fallback-params.js","../../../../node_modules/next/dist/esm/build/static-paths/utils.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/parse-path.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/path-has-prefix.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/remove-path-prefix.js","../../../../node_modules/next/src/server/app-render/manifests-singleton.ts","../../../../node_modules/next/dist/esm/shared/lib/router/utils/is-bot.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/html-bots.js","../../../../node_modules/next/src/server/lib/streaming-metadata.ts","../../../../node_modules/next/src/server/lib/server-action-request-meta.ts","../../../../node_modules/next/src/lib/scheduler.ts","../../../../node_modules/next/src/server/response-cache/types.ts","../../../../node_modules/next/src/server/stream-utils/encoded-tags.ts","../../../../node_modules/next/dist/esm/server/stream-utils/node-web-streams-helper.js","../../../../node_modules/next/dist/esm/shared/lib/errors/constants.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/cache-busting-search-param.js","../../../../node_modules/next/dist/esm/server/stream-utils/uint8array-helpers.js","../../../../node_modules/next/dist/esm/lib/detached-promise.js","../../../../node_modules/next/dist/compiled/%40edge-runtime/cookies/index.js","../../../../node_modules/next/src/server/web/spec-extension/cookies.ts","../../../../node_modules/next/dist/esm/shared/lib/router/utils/add-path-prefix.js","../../../../node_modules/next/dist/esm/shared/lib/i18n/normalize-locale-path.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/next-request.js","../../../../node_modules/next/dist/esm/server/client-component-renderer-logger.js","../../../../node_modules/next/dist/esm/server/render-result.js","../../../../node_modules/next/dist/esm/shared/lib/i18n/detect-domain-locale.js","../../../../node_modules/next/dist/esm/server/web/error.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/add-locale.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/get-next-pathname-info.js","../../../../node_modules/next/dist/esm/server/pipe-readable.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/request.js","../../../../node_modules/next/dist/esm/server/web/next-url.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/format-next-pathname-info.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/add-path-suffix.js","../../../../node_modules/next/dist/esm/shared/lib/get-hostname.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/remove-trailing-slash.js","../../../../node_modules/next/dist/esm/server/web/utils.js","../../../../node_modules/next/dist/esm/server/base-http/helpers.js","../../../../node_modules/next/src/lib/constants.ts","../../../../node_modules/next/dist/esm/server/lib/lru-cache.js","../../../../node_modules/next/dist/esm/lib/batcher.js","../../../../node_modules/next/dist/esm/lib/picocolors.js","../../../../node_modules/next/dist/esm/server/response-cache/utils.js","../../../../node_modules/next/dist/esm/build/output/log.js","../../../../node_modules/next/dist/esm/server/response-cache/index.js","../../../../node_modules/next/src/lib/fallback.ts","../../../../node_modules/next/dist/compiled/fresh/index.js","../../../../node_modules/next/dist/esm/server/lib/cache-control.js","../../../../node_modules/next/dist/esm/server/send-payload.js","../../../../node_modules/next/dist/esm/shared/lib/utils.js","../../../../node_modules/next/dist/esm/server/lib/etag.js","../../../../node_modules/next/src/shared/lib/size-limit.ts","../../../../node_modules/next/src/server/lib/postponed-request-body.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.ts","../../../../node_modules/next/dist/esm/client/components/layout-router.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/layout-router.tsx","../../../../node_modules/next/dist/esm/client/components/render-from-template-context.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/render-from-template-context.tsx","../../../../node_modules/next/dist/esm/client/components/client-page.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/client-page.tsx","../../../../node_modules/next/dist/esm/client/components/client-segment.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/client-segment.tsx","../../../../node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/instant-validation-error.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/instant-samples.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/querystring.js","../../../../node_modules/next/dist/esm/shared/lib/action-revalidation-kind.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/request-cookies.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/parse-relative-url.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js","../../../../node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/http-access-fallback/error-boundary.tsx","../../../../node_modules/next/src/shared/lib/isomorphic/path.js","../../../../node_modules/next/dist/esm/lib/framework/boundary-components.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/lib/framework/boundary-components.tsx","../../../../node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/lib/metadata/generate/icon-mark.tsx","../../../../node_modules/next/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.node.production.js","../../../../node_modules/next/dist/compiled/react-server-dom-turbopack/client.node.js","../../../../node_modules/next/dist/compiled/string-hash/index.js","../../../../node_modules/next/dist/esm/lib/metadata/generate/utils.js","../../../../node_modules/next/dist/esm/server/lib/clone-response.js","../../../../node_modules/next/dist/esm/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/esm/server/app-render/entry-base.js","../../../../node_modules/next/dist/esm/lib/metadata/metadata.js","../../../../node_modules/next/dist/esm/lib/metadata/resolve-metadata.js","../../../../node_modules/next/dist/esm/lib/metadata/resolvers/resolve-url.js","../../../../node_modules/next/dist/esm/lib/metadata/resolvers/resolve-title.js","../../../../node_modules/next/dist/esm/server/lib/app-dir-module.js","../../../../node_modules/next/dist/esm/server/lib/router-utils/is-postpone.js","../../../../node_modules/next/dist/esm/client/components/hooks-server-context.js","../../../../node_modules/next/dist/esm/server/app-render/rsc/preloads.js","../../../../node_modules/next/dist/esm/server/app-render/create-error-handler.js","../../../../node_modules/next/dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/esm/client/components/redirect-error.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/esm/lib/metadata/constants.js","../../../../node_modules/next/dist/esm/client/components/http-access-fallback/http-access-fallback.js","../../../../node_modules/next/dist/esm/shared/lib/promise-with-resolvers.js","../../../../node_modules/next/dist/esm/lib/framework/boundary-constants.js","../../../../node_modules/next/dist/esm/lib/metadata/default-metadata.js","../../../../node_modules/next/dist/esm/server/create-deduped-by-callsite-server-error-logger.js","../../../../node_modules/next/dist/esm/server/app-render/vary-params.js","../../../../node_modules/next/dist/esm/server/request/utils.js","../../../../node_modules/next/dist/esm/lib/client-and-server-references.js","../../../../node_modules/next/dist/esm/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/esm/shared/lib/segment-cache/segment-value-encoding.js","../../../../node_modules/next/dist/esm/lib/metadata/resolvers/resolve-basics.js","../../../../node_modules/next/dist/esm/server/request/search-params.js","../../../../node_modules/next/dist/esm/server/lib/patch-fetch.js","../../../../node_modules/next/dist/esm/server/app-render/react-large-shell-error.js","../../../../node_modules/next/dist/esm/server/app-render/prospective-render-utils.js","../../../../node_modules/next/dist/esm/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/esm/lib/metadata/resolvers/resolve-opengraph.js","../../../../node_modules/next/dist/esm/lib/metadata/resolvers/resolve-icons.js","../../../../node_modules/next/dist/esm/server/app-render/collect-segment-data.js","../../../../node_modules/next/dist/esm/server/lib/lazy-result.js","../../../../node_modules/next/dist/esm/server/app-render/rsc/taint.js","../../../../node_modules/next/dist/esm/server/lib/dedupe-fetch.js","../../../../node_modules/next/dist/esm/server/request/pathname.js","../../../../node_modules/next/dist/esm/shared/lib/app-router-types.js","../../../../node_modules/next/dist/esm/client/components/is-next-router-error.js","../../../../node_modules/next/dist/esm/server/request/params.js","../../../../node_modules/next/dist/esm/shared/lib/segment-cache/vary-params-decoding.js","../../../../node_modules/next/dist/esm/shared/lib/server-reference-info.js","../../../../node_modules/next/dist/esm/server/app-render/dynamic-rendering.js"],"sourcesContent":["export const enum RouteKind {\n /**\n * `PAGES` represents all the React pages that are under `pages/`.\n */\n PAGES = 'PAGES',\n /**\n * `PAGES_API` represents all the API routes under `pages/api/`.\n */\n PAGES_API = 'PAGES_API',\n /**\n * `APP_PAGE` represents all the React pages that are under `app/` with the\n * filename of `page.{j,t}s{,x}`.\n */\n APP_PAGE = 'APP_PAGE',\n /**\n * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the\n * filename of `route.{j,t}s{,x}`.\n */\n APP_ROUTE = 'APP_ROUTE',\n\n /**\n * `IMAGE` represents all the images that are generated by `next/image`.\n */\n IMAGE = 'IMAGE',\n}\n","export function getRevalidateReason(params: {\n isOnDemandRevalidate?: boolean\n isStaticGeneration?: boolean\n}): 'on-demand' | 'stale' | undefined {\n if (params.isOnDemandRevalidate) {\n return 'on-demand'\n }\n if (params.isStaticGeneration) {\n return 'stale'\n }\n return undefined\n}\n","/**\n * Contains predefined constants for the trace span name in next/server.\n *\n * Currently, next/server/tracer is internal implementation only for tracking\n * next.js's implementation only with known span names defined here.\n **/\n\n// eslint typescript has a bug with TS enums\n\nenum BaseServerSpan {\n handleRequest = 'BaseServer.handleRequest',\n run = 'BaseServer.run',\n pipe = 'BaseServer.pipe',\n getStaticHTML = 'BaseServer.getStaticHTML',\n render = 'BaseServer.render',\n renderToResponseWithComponents = 'BaseServer.renderToResponseWithComponents',\n renderToResponse = 'BaseServer.renderToResponse',\n renderToHTML = 'BaseServer.renderToHTML',\n renderError = 'BaseServer.renderError',\n renderErrorToResponse = 'BaseServer.renderErrorToResponse',\n renderErrorToHTML = 'BaseServer.renderErrorToHTML',\n render404 = 'BaseServer.render404',\n}\n\nenum LoadComponentsSpan {\n loadDefaultErrorComponents = 'LoadComponents.loadDefaultErrorComponents',\n loadComponents = 'LoadComponents.loadComponents',\n}\n\nenum NextServerSpan {\n getRequestHandler = 'NextServer.getRequestHandler',\n getRequestHandlerWithMetadata = 'NextServer.getRequestHandlerWithMetadata',\n getServer = 'NextServer.getServer',\n getServerRequestHandler = 'NextServer.getServerRequestHandler',\n createServer = 'createServer.createServer',\n}\n\nenum NextNodeServerSpan {\n compression = 'NextNodeServer.compression',\n getBuildId = 'NextNodeServer.getBuildId',\n createComponentTree = 'NextNodeServer.createComponentTree',\n clientComponentLoading = 'NextNodeServer.clientComponentLoading',\n getLayoutOrPageModule = 'NextNodeServer.getLayoutOrPageModule',\n generateStaticRoutes = 'NextNodeServer.generateStaticRoutes',\n generateFsStaticRoutes = 'NextNodeServer.generateFsStaticRoutes',\n generatePublicRoutes = 'NextNodeServer.generatePublicRoutes',\n generateImageRoutes = 'NextNodeServer.generateImageRoutes.route',\n sendRenderResult = 'NextNodeServer.sendRenderResult',\n proxyRequest = 'NextNodeServer.proxyRequest',\n runApi = 'NextNodeServer.runApi',\n render = 'NextNodeServer.render',\n renderHTML = 'NextNodeServer.renderHTML',\n imageOptimizer = 'NextNodeServer.imageOptimizer',\n getPagePath = 'NextNodeServer.getPagePath',\n getRoutesManifest = 'NextNodeServer.getRoutesManifest',\n findPageComponents = 'NextNodeServer.findPageComponents',\n getFontManifest = 'NextNodeServer.getFontManifest',\n getServerComponentManifest = 'NextNodeServer.getServerComponentManifest',\n getRequestHandler = 'NextNodeServer.getRequestHandler',\n renderToHTML = 'NextNodeServer.renderToHTML',\n renderError = 'NextNodeServer.renderError',\n renderErrorToHTML = 'NextNodeServer.renderErrorToHTML',\n render404 = 'NextNodeServer.render404',\n startResponse = 'NextNodeServer.startResponse',\n\n // nested inner span, does not require parent scope name\n route = 'route',\n onProxyReq = 'onProxyReq',\n apiResolver = 'apiResolver',\n internalFetch = 'internalFetch',\n}\n\nenum StartServerSpan {\n startServer = 'startServer.startServer',\n}\n\nenum RenderSpan {\n getServerSideProps = 'Render.getServerSideProps',\n getStaticProps = 'Render.getStaticProps',\n renderToString = 'Render.renderToString',\n renderDocument = 'Render.renderDocument',\n createBodyResult = 'Render.createBodyResult',\n}\n\nenum AppRenderSpan {\n renderToString = 'AppRender.renderToString',\n renderToReadableStream = 'AppRender.renderToReadableStream',\n getBodyResult = 'AppRender.getBodyResult',\n fetch = 'AppRender.fetch',\n}\n\nenum RouterSpan {\n executeRoute = 'Router.executeRoute',\n}\n\nenum NodeSpan {\n runHandler = 'Node.runHandler',\n}\n\nenum AppRouteRouteHandlersSpan {\n runHandler = 'AppRouteRouteHandlers.runHandler',\n}\n\nenum ResolveMetadataSpan {\n generateMetadata = 'ResolveMetadata.generateMetadata',\n generateViewport = 'ResolveMetadata.generateViewport',\n}\n\nenum MiddlewareSpan {\n execute = 'Middleware.execute',\n}\n\ntype SpanTypes =\n | `${BaseServerSpan}`\n | `${LoadComponentsSpan}`\n | `${NextServerSpan}`\n | `${StartServerSpan}`\n | `${NextNodeServerSpan}`\n | `${RenderSpan}`\n | `${RouterSpan}`\n | `${AppRenderSpan}`\n | `${NodeSpan}`\n | `${AppRouteRouteHandlersSpan}`\n | `${ResolveMetadataSpan}`\n | `${MiddlewareSpan}`\n\n// This list is used to filter out spans that are not relevant to the user\nexport const NextVanillaSpanAllowlist = new Set([\n MiddlewareSpan.execute,\n BaseServerSpan.handleRequest,\n RenderSpan.getServerSideProps,\n RenderSpan.getStaticProps,\n AppRenderSpan.fetch,\n AppRenderSpan.getBodyResult,\n RenderSpan.renderDocument,\n NodeSpan.runHandler,\n AppRouteRouteHandlersSpan.runHandler,\n ResolveMetadataSpan.generateMetadata,\n ResolveMetadataSpan.generateViewport,\n NextNodeServerSpan.createComponentTree,\n NextNodeServerSpan.findPageComponents,\n NextNodeServerSpan.getLayoutOrPageModule,\n NextNodeServerSpan.startResponse,\n NextNodeServerSpan.clientComponentLoading,\n])\n\n// These Spans are allowed to be always logged\n// when the otel log prefix env is set\nexport const LogSpanAllowList = new Set([\n NextNodeServerSpan.findPageComponents,\n NextNodeServerSpan.createComponentTree,\n NextNodeServerSpan.clientComponentLoading,\n])\n\nexport {\n BaseServerSpan,\n LoadComponentsSpan,\n NextServerSpan,\n NextNodeServerSpan,\n StartServerSpan,\n RenderSpan,\n RouterSpan,\n AppRenderSpan,\n NodeSpan,\n AppRouteRouteHandlersSpan,\n ResolveMetadataSpan,\n MiddlewareSpan,\n}\n\nexport type { SpanTypes }\n","(()=>{\"use strict\";var e={491:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ContextAPI=void 0;const n=r(223);const a=r(172);const o=r(930);const i=\"context\";const c=new n.NoopContextManager;class ContextAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new ContextAPI}return this._instance}setGlobalContextManager(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,a.getGlobal)(i)||c}disable(){this._getContextManager().disable();(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.ContextAPI=ContextAPI},930:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagAPI=void 0;const n=r(56);const a=r(912);const o=r(957);const i=r(172);const c=\"diag\";class DiagAPI{constructor(){function _logProxy(e){return function(...t){const r=(0,i.getGlobal)(\"diag\");if(!r)return;return r[e](...t)}}const e=this;const setLogger=(t,r={logLevel:o.DiagLogLevel.INFO})=>{var n,c,s;if(t===e){const t=new Error(\"Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation\");e.error((n=t.stack)!==null&&n!==void 0?n:t.message);return false}if(typeof r===\"number\"){r={logLevel:r}}const u=(0,i.getGlobal)(\"diag\");const l=(0,a.createLogLevelDiagLogger)((c=r.logLevel)!==null&&c!==void 0?c:o.DiagLogLevel.INFO,t);if(u&&!r.suppressOverrideMessage){const e=(s=(new Error).stack)!==null&&s!==void 0?s:\"\";u.warn(`Current logger will be overwritten from ${e}`);l.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,i.registerGlobal)(\"diag\",l,e,true)};e.setLogger=setLogger;e.disable=()=>{(0,i.unregisterGlobal)(c,e)};e.createComponentLogger=e=>new n.DiagComponentLogger(e);e.verbose=_logProxy(\"verbose\");e.debug=_logProxy(\"debug\");e.info=_logProxy(\"info\");e.warn=_logProxy(\"warn\");e.error=_logProxy(\"error\")}static instance(){if(!this._instance){this._instance=new DiagAPI}return this._instance}}t.DiagAPI=DiagAPI},653:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.MetricsAPI=void 0;const n=r(660);const a=r(172);const o=r(930);const i=\"metrics\";class MetricsAPI{constructor(){}static getInstance(){if(!this._instance){this._instance=new MetricsAPI}return this._instance}setGlobalMeterProvider(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}getMeterProvider(){return(0,a.getGlobal)(i)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.MetricsAPI=MetricsAPI},181:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.PropagationAPI=void 0;const n=r(172);const a=r(874);const o=r(194);const i=r(277);const c=r(369);const s=r(930);const u=\"propagation\";const l=new a.NoopTextMapPropagator;class PropagationAPI{constructor(){this.createBaggage=c.createBaggage;this.getBaggage=i.getBaggage;this.getActiveBaggage=i.getActiveBaggage;this.setBaggage=i.setBaggage;this.deleteBaggage=i.deleteBaggage}static getInstance(){if(!this._instance){this._instance=new PropagationAPI}return this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(u,e,s.DiagAPI.instance())}inject(e,t,r=o.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=o.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(u,s.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(u)||l}}t.PropagationAPI=PropagationAPI},997:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceAPI=void 0;const n=r(172);const a=r(846);const o=r(139);const i=r(607);const c=r(930);const s=\"trace\";class TraceAPI{constructor(){this._proxyTracerProvider=new a.ProxyTracerProvider;this.wrapSpanContext=o.wrapSpanContext;this.isSpanContextValid=o.isSpanContextValid;this.deleteSpan=i.deleteSpan;this.getSpan=i.getSpan;this.getActiveSpan=i.getActiveSpan;this.getSpanContext=i.getSpanContext;this.setSpan=i.setSpan;this.setSpanContext=i.setSpanContext}static getInstance(){if(!this._instance){this._instance=new TraceAPI}return this._instance}setGlobalTracerProvider(e){const t=(0,n.registerGlobal)(s,this._proxyTracerProvider,c.DiagAPI.instance());if(t){this._proxyTracerProvider.setDelegate(e)}return t}getTracerProvider(){return(0,n.getGlobal)(s)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(s,c.DiagAPI.instance());this._proxyTracerProvider=new a.ProxyTracerProvider}}t.TraceAPI=TraceAPI},277:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;const n=r(491);const a=r(780);const o=(0,a.createContextKey)(\"OpenTelemetry Baggage Key\");function getBaggage(e){return e.getValue(o)||undefined}t.getBaggage=getBaggage;function getActiveBaggage(){return getBaggage(n.ContextAPI.getInstance().active())}t.getActiveBaggage=getActiveBaggage;function setBaggage(e,t){return e.setValue(o,t)}t.setBaggage=setBaggage;function deleteBaggage(e){return e.deleteValue(o)}t.deleteBaggage=deleteBaggage},993:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.BaggageImpl=void 0;class BaggageImpl{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){const t=this._entries.get(e);if(!t){return undefined}return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map((([e,t])=>[e,t]))}setEntry(e,t){const r=new BaggageImpl(this._entries);r._entries.set(e,t);return r}removeEntry(e){const t=new BaggageImpl(this._entries);t._entries.delete(e);return t}removeEntries(...e){const t=new BaggageImpl(this._entries);for(const r of e){t._entries.delete(r)}return t}clear(){return new BaggageImpl}}t.BaggageImpl=BaggageImpl},830:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataSymbol=void 0;t.baggageEntryMetadataSymbol=Symbol(\"BaggageEntryMetadata\")},369:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.baggageEntryMetadataFromString=t.createBaggage=void 0;const n=r(930);const a=r(993);const o=r(830);const i=n.DiagAPI.instance();function createBaggage(e={}){return new a.BaggageImpl(new Map(Object.entries(e)))}t.createBaggage=createBaggage;function baggageEntryMetadataFromString(e){if(typeof e!==\"string\"){i.error(`Cannot create baggage metadata from unknown type: ${typeof e}`);e=\"\"}return{__TYPE__:o.baggageEntryMetadataSymbol,toString(){return e}}}t.baggageEntryMetadataFromString=baggageEntryMetadataFromString},67:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.context=void 0;const n=r(491);t.context=n.ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopContextManager=void 0;const n=r(780);class NoopContextManager{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=NoopContextManager},780:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ROOT_CONTEXT=t.createContextKey=void 0;function createContextKey(e){return Symbol.for(e)}t.createContextKey=createContextKey;class BaseContext{constructor(e){const t=this;t._currentContext=e?new Map(e):new Map;t.getValue=e=>t._currentContext.get(e);t.setValue=(e,r)=>{const n=new BaseContext(t._currentContext);n._currentContext.set(e,r);return n};t.deleteValue=e=>{const r=new BaseContext(t._currentContext);r._currentContext.delete(e);return r}}}t.ROOT_CONTEXT=new BaseContext},506:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.diag=void 0;const n=r(930);t.diag=n.DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagComponentLogger=void 0;const n=r(172);class DiagComponentLogger{constructor(e){this._namespace=e.namespace||\"DiagComponentLogger\"}debug(...e){return logProxy(\"debug\",this._namespace,e)}error(...e){return logProxy(\"error\",this._namespace,e)}info(...e){return logProxy(\"info\",this._namespace,e)}warn(...e){return logProxy(\"warn\",this._namespace,e)}verbose(...e){return logProxy(\"verbose\",this._namespace,e)}}t.DiagComponentLogger=DiagComponentLogger;function logProxy(e,t,r){const a=(0,n.getGlobal)(\"diag\");if(!a){return}r.unshift(t);return a[e](...r)}},972:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagConsoleLogger=void 0;const r=[{n:\"error\",c:\"error\"},{n:\"warn\",c:\"warn\"},{n:\"info\",c:\"info\"},{n:\"debug\",c:\"debug\"},{n:\"verbose\",c:\"trace\"}];class DiagConsoleLogger{constructor(){function _consoleFunc(e){return function(...t){if(console){let r=console[e];if(typeof r!==\"function\"){r=console.log}if(typeof r===\"function\"){return r.apply(console,t)}}}}for(let e=0;e{Object.defineProperty(t,\"__esModule\",{value:true});t.createLogLevelDiagLogger=void 0;const n=r(957);function createLogLevelDiagLogger(e,t){if(en.DiagLogLevel.ALL){e=n.DiagLogLevel.ALL}t=t||{};function _filterFunc(r,n){const a=t[r];if(typeof a===\"function\"&&e>=n){return a.bind(t)}return function(){}}return{error:_filterFunc(\"error\",n.DiagLogLevel.ERROR),warn:_filterFunc(\"warn\",n.DiagLogLevel.WARN),info:_filterFunc(\"info\",n.DiagLogLevel.INFO),debug:_filterFunc(\"debug\",n.DiagLogLevel.DEBUG),verbose:_filterFunc(\"verbose\",n.DiagLogLevel.VERBOSE)}}t.createLogLevelDiagLogger=createLogLevelDiagLogger},957:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.DiagLogLevel=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"ERROR\"]=30]=\"ERROR\";e[e[\"WARN\"]=50]=\"WARN\";e[e[\"INFO\"]=60]=\"INFO\";e[e[\"DEBUG\"]=70]=\"DEBUG\";e[e[\"VERBOSE\"]=80]=\"VERBOSE\";e[e[\"ALL\"]=9999]=\"ALL\"})(r=t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;const n=r(200);const a=r(521);const o=r(130);const i=a.VERSION.split(\".\")[0];const c=Symbol.for(`opentelemetry.js.api.${i}`);const s=n._globalThis;function registerGlobal(e,t,r,n=false){var o;const i=s[c]=(o=s[c])!==null&&o!==void 0?o:{version:a.VERSION};if(!n&&i[e]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);r.error(t.stack||t.message);return false}if(i.version!==a.VERSION){const t=new Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${a.VERSION}`);r.error(t.stack||t.message);return false}i[e]=t;r.debug(`@opentelemetry/api: Registered a global for ${e} v${a.VERSION}.`);return true}t.registerGlobal=registerGlobal;function getGlobal(e){var t,r;const n=(t=s[c])===null||t===void 0?void 0:t.version;if(!n||!(0,o.isCompatible)(n)){return}return(r=s[c])===null||r===void 0?void 0:r[e]}t.getGlobal=getGlobal;function unregisterGlobal(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${a.VERSION}.`);const r=s[c];if(r){delete r[e]}}t.unregisterGlobal=unregisterGlobal},130:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.isCompatible=t._makeCompatibilityCheck=void 0;const n=r(521);const a=/^(\\d+)\\.(\\d+)\\.(\\d+)(-(.+))?$/;function _makeCompatibilityCheck(e){const t=new Set([e]);const r=new Set;const n=e.match(a);if(!n){return()=>false}const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null){return function isExactmatch(t){return t===e}}function _reject(e){r.add(e);return false}function _accept(e){t.add(e);return true}return function isCompatible(e){if(t.has(e)){return true}if(r.has(e)){return false}const n=e.match(a);if(!n){return _reject(e)}const i={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(i.prerelease!=null){return _reject(e)}if(o.major!==i.major){return _reject(e)}if(o.major===0){if(o.minor===i.minor&&o.patch<=i.patch){return _accept(e)}return _reject(e)}if(o.minor<=i.minor){return _accept(e)}return _reject(e)}}t._makeCompatibilityCheck=_makeCompatibilityCheck;t.isCompatible=_makeCompatibilityCheck(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.metrics=void 0;const n=r(653);t.metrics=n.MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ValueType=void 0;var r;(function(e){e[e[\"INT\"]=0]=\"INT\";e[e[\"DOUBLE\"]=1]=\"DOUBLE\"})(r=t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class NoopMeter{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=NoopMeter;class NoopMetric{}t.NoopMetric=NoopMetric;class NoopCounterMetric extends NoopMetric{add(e,t){}}t.NoopCounterMetric=NoopCounterMetric;class NoopUpDownCounterMetric extends NoopMetric{add(e,t){}}t.NoopUpDownCounterMetric=NoopUpDownCounterMetric;class NoopHistogramMetric extends NoopMetric{record(e,t){}}t.NoopHistogramMetric=NoopHistogramMetric;class NoopObservableMetric{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=NoopObservableMetric;class NoopObservableCounterMetric extends NoopObservableMetric{}t.NoopObservableCounterMetric=NoopObservableCounterMetric;class NoopObservableGaugeMetric extends NoopObservableMetric{}t.NoopObservableGaugeMetric=NoopObservableGaugeMetric;class NoopObservableUpDownCounterMetric extends NoopObservableMetric{}t.NoopObservableUpDownCounterMetric=NoopObservableUpDownCounterMetric;t.NOOP_METER=new NoopMeter;t.NOOP_COUNTER_METRIC=new NoopCounterMetric;t.NOOP_HISTOGRAM_METRIC=new NoopHistogramMetric;t.NOOP_UP_DOWN_COUNTER_METRIC=new NoopUpDownCounterMetric;t.NOOP_OBSERVABLE_COUNTER_METRIC=new NoopObservableCounterMetric;t.NOOP_OBSERVABLE_GAUGE_METRIC=new NoopObservableGaugeMetric;t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new NoopObservableUpDownCounterMetric;function createNoopMeter(){return t.NOOP_METER}t.createNoopMeter=createNoopMeter},660:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;const n=r(102);class NoopMeterProvider{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=NoopMeterProvider;t.NOOP_METER_PROVIDER=new NoopMeterProvider},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(46),t)},651:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t._globalThis=void 0;t._globalThis=typeof globalThis===\"object\"?globalThis:global},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var a=this&&this.__exportStar||function(e,t){for(var r in e)if(r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,\"__esModule\",{value:true});a(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.propagation=void 0;const n=r(181);t.propagation=n.PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTextMapPropagator=void 0;class NoopTextMapPropagator{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=NoopTextMapPropagator},194:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.defaultTextMapSetter=t.defaultTextMapGetter=void 0;t.defaultTextMapGetter={get(e,t){if(e==null){return undefined}return e[t]},keys(e){if(e==null){return[]}return Object.keys(e)}};t.defaultTextMapSetter={set(e,t,r){if(e==null){return}e[t]=r}}},845:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.trace=void 0;const n=r(997);t.trace=n.TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NonRecordingSpan=void 0;const n=r(476);class NonRecordingSpan{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return false}recordException(e,t){}}t.NonRecordingSpan=NonRecordingSpan},614:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracer=void 0;const n=r(491);const a=r(607);const o=r(403);const i=r(139);const c=n.ContextAPI.getInstance();class NoopTracer{startSpan(e,t,r=c.active()){const n=Boolean(t===null||t===void 0?void 0:t.root);if(n){return new o.NonRecordingSpan}const s=r&&(0,a.getSpanContext)(r);if(isSpanContext(s)&&(0,i.isSpanContextValid)(s)){return new o.NonRecordingSpan(s)}else{return new o.NonRecordingSpan}}startActiveSpan(e,t,r,n){let o;let i;let s;if(arguments.length<2){return}else if(arguments.length===2){s=t}else if(arguments.length===3){o=t;s=r}else{o=t;i=r;s=n}const u=i!==null&&i!==void 0?i:c.active();const l=this.startSpan(e,o,u);const g=(0,a.setSpan)(u,l);return c.with(g,s,undefined,l)}}t.NoopTracer=NoopTracer;function isSpanContext(e){return typeof e===\"object\"&&typeof e[\"spanId\"]===\"string\"&&typeof e[\"traceId\"]===\"string\"&&typeof e[\"traceFlags\"]===\"number\"}},124:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.NoopTracerProvider=void 0;const n=r(614);class NoopTracerProvider{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=NoopTracerProvider},125:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracer=void 0;const n=r(614);const a=new n.NoopTracer;class ProxyTracer{constructor(e,t,r,n){this._provider=e;this.name=t;this.version=r;this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate){return this._delegate}const e=this._provider.getDelegateTracer(this.name,this.version,this.options);if(!e){return a}this._delegate=e;return this._delegate}}t.ProxyTracer=ProxyTracer},846:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ProxyTracerProvider=void 0;const n=r(125);const a=r(124);const o=new a.NoopTracerProvider;class ProxyTracerProvider{getTracer(e,t,r){var a;return(a=this.getDelegateTracer(e,t,r))!==null&&a!==void 0?a:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:o}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return(n=this._delegate)===null||n===void 0?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=ProxyTracerProvider},996:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SamplingDecision=void 0;var r;(function(e){e[e[\"NOT_RECORD\"]=0]=\"NOT_RECORD\";e[e[\"RECORD\"]=1]=\"RECORD\";e[e[\"RECORD_AND_SAMPLED\"]=2]=\"RECORD_AND_SAMPLED\"})(r=t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;const n=r(780);const a=r(403);const o=r(491);const i=(0,n.createContextKey)(\"OpenTelemetry Context Key SPAN\");function getSpan(e){return e.getValue(i)||undefined}t.getSpan=getSpan;function getActiveSpan(){return getSpan(o.ContextAPI.getInstance().active())}t.getActiveSpan=getActiveSpan;function setSpan(e,t){return e.setValue(i,t)}t.setSpan=setSpan;function deleteSpan(e){return e.deleteValue(i)}t.deleteSpan=deleteSpan;function setSpanContext(e,t){return setSpan(e,new a.NonRecordingSpan(t))}t.setSpanContext=setSpanContext;function getSpanContext(e){var t;return(t=getSpan(e))===null||t===void 0?void 0:t.spanContext()}t.getSpanContext=getSpanContext},325:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceStateImpl=void 0;const n=r(564);const a=32;const o=512;const i=\",\";const c=\"=\";class TraceStateImpl{constructor(e){this._internalState=new Map;if(e)this._parse(e)}set(e,t){const r=this._clone();if(r._internalState.has(e)){r._internalState.delete(e)}r._internalState.set(e,t);return r}unset(e){const t=this._clone();t._internalState.delete(e);return t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce(((e,t)=>{e.push(t+c+this.get(t));return e}),[]).join(i)}_parse(e){if(e.length>o)return;this._internalState=e.split(i).reverse().reduce(((e,t)=>{const r=t.trim();const a=r.indexOf(c);if(a!==-1){const o=r.slice(0,a);const i=r.slice(a+1,t.length);if((0,n.validateKey)(o)&&(0,n.validateValue)(i)){e.set(o,i)}else{}}return e}),new Map);if(this._internalState.size>a){this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,a))}}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new TraceStateImpl;e._internalState=new Map(this._internalState);return e}}t.TraceStateImpl=TraceStateImpl},564:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.validateValue=t.validateKey=void 0;const r=\"[_0-9a-z-*/]\";const n=`[a-z]${r}{0,255}`;const a=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`;const o=new RegExp(`^(?:${n}|${a})$`);const i=/^[ -~]{0,255}[!-~]$/;const c=/,|=/;function validateKey(e){return o.test(e)}t.validateKey=validateKey;function validateValue(e){return i.test(e)&&!c.test(e)}t.validateValue=validateValue},98:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.createTraceState=void 0;const n=r(325);function createTraceState(e){return new n.TraceStateImpl(e)}t.createTraceState=createTraceState},476:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;const n=r(475);t.INVALID_SPANID=\"0000000000000000\";t.INVALID_TRACEID=\"00000000000000000000000000000000\";t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanKind=void 0;var r;(function(e){e[e[\"INTERNAL\"]=0]=\"INTERNAL\";e[e[\"SERVER\"]=1]=\"SERVER\";e[e[\"CLIENT\"]=2]=\"CLIENT\";e[e[\"PRODUCER\"]=3]=\"PRODUCER\";e[e[\"CONSUMER\"]=4]=\"CONSUMER\"})(r=t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;const n=r(476);const a=r(403);const o=/^([0-9a-f]{32})$/i;const i=/^[0-9a-f]{16}$/i;function isValidTraceId(e){return o.test(e)&&e!==n.INVALID_TRACEID}t.isValidTraceId=isValidTraceId;function isValidSpanId(e){return i.test(e)&&e!==n.INVALID_SPANID}t.isValidSpanId=isValidSpanId;function isSpanContextValid(e){return isValidTraceId(e.traceId)&&isValidSpanId(e.spanId)}t.isSpanContextValid=isSpanContextValid;function wrapSpanContext(e){return new a.NonRecordingSpan(e)}t.wrapSpanContext=wrapSpanContext},847:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.SpanStatusCode=void 0;var r;(function(e){e[e[\"UNSET\"]=0]=\"UNSET\";e[e[\"OK\"]=1]=\"OK\";e[e[\"ERROR\"]=2]=\"ERROR\"})(r=t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.TraceFlags=void 0;var r;(function(e){e[e[\"NONE\"]=0]=\"NONE\";e[e[\"SAMPLED\"]=1]=\"SAMPLED\"})(r=t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.VERSION=void 0;t.VERSION=\"1.6.0\"}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var a=t[r]={exports:{}};var o=true;try{e[r].call(a.exports,a,a.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var r={};(()=>{var e=r;Object.defineProperty(e,\"__esModule\",{value:true});e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var t=__nccwpck_require__(369);Object.defineProperty(e,\"baggageEntryMetadataFromString\",{enumerable:true,get:function(){return t.baggageEntryMetadataFromString}});var n=__nccwpck_require__(780);Object.defineProperty(e,\"createContextKey\",{enumerable:true,get:function(){return n.createContextKey}});Object.defineProperty(e,\"ROOT_CONTEXT\",{enumerable:true,get:function(){return n.ROOT_CONTEXT}});var a=__nccwpck_require__(972);Object.defineProperty(e,\"DiagConsoleLogger\",{enumerable:true,get:function(){return a.DiagConsoleLogger}});var o=__nccwpck_require__(957);Object.defineProperty(e,\"DiagLogLevel\",{enumerable:true,get:function(){return o.DiagLogLevel}});var i=__nccwpck_require__(102);Object.defineProperty(e,\"createNoopMeter\",{enumerable:true,get:function(){return i.createNoopMeter}});var c=__nccwpck_require__(901);Object.defineProperty(e,\"ValueType\",{enumerable:true,get:function(){return c.ValueType}});var s=__nccwpck_require__(194);Object.defineProperty(e,\"defaultTextMapGetter\",{enumerable:true,get:function(){return s.defaultTextMapGetter}});Object.defineProperty(e,\"defaultTextMapSetter\",{enumerable:true,get:function(){return s.defaultTextMapSetter}});var u=__nccwpck_require__(125);Object.defineProperty(e,\"ProxyTracer\",{enumerable:true,get:function(){return u.ProxyTracer}});var l=__nccwpck_require__(846);Object.defineProperty(e,\"ProxyTracerProvider\",{enumerable:true,get:function(){return l.ProxyTracerProvider}});var g=__nccwpck_require__(996);Object.defineProperty(e,\"SamplingDecision\",{enumerable:true,get:function(){return g.SamplingDecision}});var p=__nccwpck_require__(357);Object.defineProperty(e,\"SpanKind\",{enumerable:true,get:function(){return p.SpanKind}});var d=__nccwpck_require__(847);Object.defineProperty(e,\"SpanStatusCode\",{enumerable:true,get:function(){return d.SpanStatusCode}});var _=__nccwpck_require__(475);Object.defineProperty(e,\"TraceFlags\",{enumerable:true,get:function(){return _.TraceFlags}});var f=__nccwpck_require__(98);Object.defineProperty(e,\"createTraceState\",{enumerable:true,get:function(){return f.createTraceState}});var b=__nccwpck_require__(139);Object.defineProperty(e,\"isSpanContextValid\",{enumerable:true,get:function(){return b.isSpanContextValid}});Object.defineProperty(e,\"isValidTraceId\",{enumerable:true,get:function(){return b.isValidTraceId}});Object.defineProperty(e,\"isValidSpanId\",{enumerable:true,get:function(){return b.isValidSpanId}});var v=__nccwpck_require__(476);Object.defineProperty(e,\"INVALID_SPANID\",{enumerable:true,get:function(){return v.INVALID_SPANID}});Object.defineProperty(e,\"INVALID_TRACEID\",{enumerable:true,get:function(){return v.INVALID_TRACEID}});Object.defineProperty(e,\"INVALID_SPAN_CONTEXT\",{enumerable:true,get:function(){return v.INVALID_SPAN_CONTEXT}});const O=__nccwpck_require__(67);Object.defineProperty(e,\"context\",{enumerable:true,get:function(){return O.context}});const P=__nccwpck_require__(506);Object.defineProperty(e,\"diag\",{enumerable:true,get:function(){return P.diag}});const N=__nccwpck_require__(886);Object.defineProperty(e,\"metrics\",{enumerable:true,get:function(){return N.metrics}});const S=__nccwpck_require__(939);Object.defineProperty(e,\"propagation\",{enumerable:true,get:function(){return S.propagation}});const C=__nccwpck_require__(845);Object.defineProperty(e,\"trace\",{enumerable:true,get:function(){return C.trace}});e[\"default\"]={context:O.context,diag:P.diag,metrics:N.metrics,propagation:S.propagation,trace:C.trace}})();module.exports=r})();","import { LogSpanAllowList, NextVanillaSpanAllowlist } from './constants';\nimport { isThenable } from '../../../shared/lib/is-thenable';\nconst NEXT_OTEL_PERFORMANCE_PREFIX = process.env.NEXT_OTEL_PERFORMANCE_PREFIX;\nlet api;\n// we want to allow users to use their own version of @opentelemetry/api if they\n// want to, so we try to require it first, and if it fails we fall back to the\n// version that is bundled with Next.js\n// this is because @opentelemetry/api has to be synced with the version of\n// @opentelemetry/tracing that is used, and we don't want to force users to use\n// the version that is bundled with Next.js.\n// the API is ~stable, so this should be fine\nif (process.env.NEXT_RUNTIME === 'edge') {\n api = require('@opentelemetry/api');\n} else {\n try {\n api = require('@opentelemetry/api');\n } catch (err) {\n api = require('next/dist/compiled/@opentelemetry/api');\n }\n}\nconst { context, propagation, trace, SpanStatusCode, SpanKind, ROOT_CONTEXT } = api;\nexport class BubbledError extends Error {\n constructor(bubble, result){\n super(), this.bubble = bubble, this.result = result;\n }\n}\nexport function isBubbledError(error) {\n if (typeof error !== 'object' || error === null) return false;\n return error instanceof BubbledError;\n}\nconst closeSpanWithError = (span, error)=>{\n if (isBubbledError(error) && error.bubble) {\n span.setAttribute('next.bubble', true);\n } else {\n if (error) {\n span.recordException(error);\n span.setAttribute('error.type', error.name);\n }\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: error == null ? void 0 : error.message\n });\n }\n span.end();\n};\n/** we use this map to propagate attributes from nested spans to the top span */ const rootSpanAttributesStore = new Map();\nconst rootSpanIdKey = api.createContextKey('next.rootSpanId');\nlet lastSpanId = 0;\nconst getSpanId = ()=>lastSpanId++;\nconst clientTraceDataSetter = {\n set (carrier, key, value) {\n carrier.push({\n key,\n value\n });\n }\n};\nclass NextTracerImpl {\n /**\n * Returns an instance to the trace with configured name.\n * Since wrap / trace can be defined in any place prior to actual trace subscriber initialization,\n * This should be lazily evaluated.\n */ getTracerInstance() {\n return trace.getTracer('next.js', '0.0.1');\n }\n getContext() {\n return context;\n }\n getTracePropagationData() {\n const activeContext = context.active();\n const entries = [];\n propagation.inject(activeContext, entries, clientTraceDataSetter);\n return entries;\n }\n getActiveScopeSpan() {\n return trace.getSpan(context == null ? void 0 : context.active());\n }\n withPropagatedContext(carrier, fn, getter, force = false) {\n const activeContext = context.active();\n if (force) {\n const remoteContext = propagation.extract(ROOT_CONTEXT, carrier, getter);\n if (trace.getSpanContext(remoteContext)) {\n return context.with(remoteContext, fn);\n }\n // Preserve the current active span while still merging any extracted\n // baggage/context values from the carrier.\n const mergedContext = propagation.extract(activeContext, carrier, getter);\n return context.with(mergedContext, fn);\n }\n if (trace.getSpanContext(activeContext)) {\n // Active span is already set, too late to propagate.\n return fn();\n }\n const remoteContext = propagation.extract(activeContext, carrier, getter);\n return context.with(remoteContext, fn);\n }\n trace(...args) {\n const [type, fnOrOptions, fnOrEmpty] = args;\n // coerce options form overload\n const { fn, options } = typeof fnOrOptions === 'function' ? {\n fn: fnOrOptions,\n options: {}\n } : {\n fn: fnOrEmpty,\n options: {\n ...fnOrOptions\n }\n };\n const spanName = options.spanName ?? type;\n if (!NextVanillaSpanAllowlist.has(type) && process.env.NEXT_OTEL_VERBOSE !== '1' || options.hideSpan) {\n return fn();\n }\n // Trying to get active scoped span to assign parent. If option specifies parent span manually, will try to use it.\n let spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n if (!spanContext) {\n spanContext = (context == null ? void 0 : context.active()) ?? ROOT_CONTEXT;\n }\n // Check if there's already a root span in the store for this trace\n // We are intentionally not checking whether there is an active context\n // from outside of nextjs to ensure that we can provide the same level\n // of telemetry when using a custom server\n const existingRootSpanId = spanContext.getValue(rootSpanIdKey);\n const isRootSpan = typeof existingRootSpanId !== 'number' || !rootSpanAttributesStore.has(existingRootSpanId);\n const spanId = getSpanId();\n options.attributes = {\n 'next.span_name': spanName,\n 'next.span_type': type,\n ...options.attributes\n };\n return context.with(spanContext.setValue(rootSpanIdKey, spanId), ()=>this.getTracerInstance().startActiveSpan(spanName, options, (span)=>{\n let startTime;\n if (NEXT_OTEL_PERFORMANCE_PREFIX && type && LogSpanAllowList.has(type)) {\n startTime = 'performance' in globalThis && 'measure' in performance ? globalThis.performance.now() : undefined;\n }\n let cleanedUp = false;\n const onCleanup = ()=>{\n if (cleanedUp) return;\n cleanedUp = true;\n rootSpanAttributesStore.delete(spanId);\n if (startTime) {\n performance.measure(`${NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(type.split('.').pop() || '').replace(/[A-Z]/g, (match)=>'-' + match.toLowerCase())}`, {\n start: startTime,\n end: performance.now()\n });\n }\n };\n if (isRootSpan) {\n rootSpanAttributesStore.set(spanId, new Map(Object.entries(options.attributes ?? {})));\n }\n if (fn.length > 1) {\n try {\n return fn(span, (err)=>closeSpanWithError(span, err));\n } catch (err) {\n closeSpanWithError(span, err);\n throw err;\n } finally{\n onCleanup();\n }\n }\n try {\n const result = fn(span);\n if (isThenable(result)) {\n // If there's error make sure it throws\n return result.then((res)=>{\n span.end();\n // Need to pass down the promise result,\n // it could be react stream response with error { error, stream }\n return res;\n }).catch((err)=>{\n closeSpanWithError(span, err);\n throw err;\n }).finally(onCleanup);\n } else {\n span.end();\n onCleanup();\n }\n return result;\n } catch (err) {\n closeSpanWithError(span, err);\n onCleanup();\n throw err;\n }\n }));\n }\n wrap(...args) {\n const tracer = this;\n const [name, options, fn] = args.length === 3 ? args : [\n args[0],\n {},\n args[1]\n ];\n if (!NextVanillaSpanAllowlist.has(name) && process.env.NEXT_OTEL_VERBOSE !== '1') {\n return fn;\n }\n return function() {\n let optionsObj = options;\n if (typeof optionsObj === 'function' && typeof fn === 'function') {\n optionsObj = optionsObj.apply(this, arguments);\n }\n const lastArgId = arguments.length - 1;\n const cb = arguments[lastArgId];\n if (typeof cb === 'function') {\n const scopeBoundCb = tracer.getContext().bind(context.active(), cb);\n return tracer.trace(name, optionsObj, (_span, done)=>{\n arguments[lastArgId] = function(err) {\n done == null ? void 0 : done(err);\n return scopeBoundCb.apply(this, arguments);\n };\n return fn.apply(this, arguments);\n });\n } else {\n return tracer.trace(name, optionsObj, ()=>fn.apply(this, arguments));\n }\n };\n }\n startSpan(...args) {\n const [type, options] = args;\n const spanContext = this.getSpanContext((options == null ? void 0 : options.parentSpan) ?? this.getActiveScopeSpan());\n return this.getTracerInstance().startSpan(type, options, spanContext);\n }\n getSpanContext(parentSpan) {\n const spanContext = parentSpan ? trace.setSpan(context.active(), parentSpan) : undefined;\n return spanContext;\n }\n getRootSpanAttributes() {\n const spanId = context.active().getValue(rootSpanIdKey);\n return rootSpanAttributesStore.get(spanId);\n }\n setRootSpanAttribute(key, value) {\n const spanId = context.active().getValue(rootSpanIdKey);\n const attributes = rootSpanAttributesStore.get(spanId);\n if (attributes && !attributes.has(key)) {\n attributes.set(key, value);\n }\n }\n withSpan(span, fn) {\n const spanContext = trace.setSpan(context.active(), span);\n return context.with(spanContext, fn);\n }\n}\nconst getTracer = (()=>{\n const tracer = new NextTracerImpl();\n return ()=>tracer;\n})();\nexport { getTracer, SpanStatusCode, SpanKind };\n\n//# sourceMappingURL=tracer.js.map","/**\n * Check to see if a value is Thenable.\n *\n * @param promise the maybe-thenable value\n * @returns true if the value is thenable\n */ export function isThenable(promise) {\n return promise !== null && typeof promise === 'object' && 'then' in promise && typeof promise.then === 'function';\n}\n\n//# sourceMappingURL=is-thenable.js.map","import type { IncomingMessage, ServerResponse } from 'http'\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { UrlWithParsedQuery } from 'url'\nimport type { BaseNextRequest } from './base-http'\nimport type { CloneableBody } from './body-streams'\nimport type { RouteMatch } from './route-matches/route-match'\nimport type { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers'\nimport type {\n ResponseCacheEntry,\n ServerComponentsHmrCache,\n} from './response-cache'\nimport type { PagesDevOverlayBridgeType } from '../next-devtools/userspace/pages/pages-dev-overlay-setup'\nimport type { OpaqueFallbackRouteParams } from './request/fallback-params'\nimport type { IncrementalCache } from './lib/incremental-cache'\nimport type { RevalidateFn } from './lib/router-utils/router-server-context'\nimport type { NextRequest } from './web/exports'\n\n// FIXME: (wyattjoh) this is a temporary solution to allow us to pass data between bundled modules\nexport const NEXT_REQUEST_META = Symbol.for('NextInternalRequestMeta')\n\nexport type NextIncomingMessage = (\n | BaseNextRequest\n | IncomingMessage\n | NextRequest\n) & {\n [NEXT_REQUEST_META]?: RequestMeta\n}\n\n/**\n * The callback function to call when a response cache entry was generated or\n * looked up in the cache. When it returns true, the server assumes that the\n * handler has already responded to the request and will not do so itself.\n */\nexport type OnCacheEntryHandler = (\n /**\n * The response cache entry that was generated or looked up in the cache.\n */\n cacheEntry: ResponseCacheEntry,\n\n /**\n * The request metadata.\n */\n requestMeta: {\n /**\n * The URL that was used to make the request.\n */\n url: string | undefined\n }\n) => Promise | boolean | void\n\nexport interface RequestMeta {\n /**\n * The query that was used to make the request.\n */\n initQuery?: ParsedUrlQuery\n\n /**\n * The URL that was used to make the request.\n */\n initURL?: string\n\n /**\n * The protocol that was used to make the request.\n */\n initProtocol?: string\n\n /**\n * The body that was read from the request. This is used to allow the body to\n * be read multiple times.\n */\n clonableBody?: CloneableBody\n\n /**\n * True when the request matched a locale domain that was configured in the\n * next.config.js file.\n */\n isLocaleDomain?: boolean\n\n /**\n * True when the request had locale information stripped from the pathname\n * part of the URL.\n */\n didStripLocale?: boolean\n\n /**\n * If the request had its URL rewritten, this is the pathname it was rewritten\n * to (not a full URL, just the pathname).\n */\n rewrittenPathname?: string\n\n /**\n * The resolved pathname for the request. Dynamic route params are\n * interpolated, the pathname is decoded, and the trailing slash is removed.\n */\n resolvedPathname?: string\n\n /**\n * The cookies that were added by middleware and were added to the response.\n */\n middlewareCookie?: string[]\n\n /**\n * The match on the request for a given route.\n */\n match?: RouteMatch\n\n /**\n * The incremental cache to use for the request.\n */\n incrementalCache?: IncrementalCache\n\n /**\n * The server components HMR cache, only for dev.\n */\n serverComponentsHmrCache?: ServerComponentsHmrCache\n\n /**\n * Equals the segment path that was used for the prefetch RSC request.\n */\n segmentPrefetchRSCRequest?: string\n\n /**\n * True when the request is for the prefetch flight data.\n */\n isPrefetchRSCRequest?: true\n\n /**\n * True when the request is for the flight data.\n */\n isRSCRequest?: true\n\n /**\n * A search param set by the Next.js client when performing RSC requests.\n * Because some CDNs do not vary their cache entries on our custom headers,\n * this search param represents a hash of the header values. For any cached\n * RSC request, we should verify that the hash matches before responding.\n * Otherwise this can lead to cache poisoning.\n * TODO: Consider not using custom request headers at all, and instead encode\n * everything into the search param.\n */\n cacheBustingSearchParam?: string\n\n /**\n * True when the request is for the `/_next/data` route using the pages\n * router.\n */\n isNextDataReq?: true\n\n /**\n * Postponed state to use for resumption. If present it's assumed that the\n * request is for a page that has postponed (there are no guarantees that the\n * page actually has postponed though as it would incur an additional cache\n * lookup).\n */\n postponed?: string\n\n /**\n * The action body extracted from a server action request when the postponed\n * state was prepended to the body by the proxy. This allows the action\n * handler to read the action payload without re-reading the consumed stream.\n */\n actionBody?: Buffer\n\n /**\n * If provided, this will be called when a response cache entry was generated\n * or looked up in the cache.\n *\n * @deprecated Use `onCacheEntryV2` instead.\n */\n onCacheEntry?: OnCacheEntryHandler\n\n /**\n * If provided, this will be called when a response cache entry was generated\n * or looked up in the cache.\n */\n onCacheEntryV2?: OnCacheEntryHandler\n\n /**\n * The previous revalidate before rendering 404 page for notFound: true\n */\n notFoundRevalidate?: number | false\n\n /**\n * In development, the original source page that returned a 404.\n */\n developmentNotFoundSourcePage?: string\n\n /**\n * The path we routed to and should be invoked\n */\n invokePath?: string\n\n /**\n * The specific page output we should be matching\n */\n invokeOutput?: string\n\n /**\n * The status we are invoking the request with from routing\n */\n invokeStatus?: number\n\n /**\n * The routing error we are invoking with\n */\n invokeError?: Error\n\n /**\n * The query parsed for the invocation\n */\n invokeQuery?: Record\n\n /**\n * Whether the request is a middleware invocation\n */\n middlewareInvoke?: boolean\n\n /**\n * Whether the request should render the fallback shell or not.\n */\n renderFallbackShell?: boolean\n\n /**\n * Whether the request is for the custom error page.\n */\n customErrorRender?: true\n\n /**\n * Whether to bubble up the NoFallbackError to the caller when a 404 is\n * returned.\n */\n bubbleNoFallback?: true\n\n /**\n * True when the request had locale information inferred from the default\n * locale.\n */\n localeInferredFromDefault?: true\n\n /**\n * The locale that was inferred or explicitly set for the request.\n */\n locale?: string\n\n /**\n * The default locale that was inferred or explicitly set for the request.\n */\n defaultLocale?: string\n\n /**\n * The relative project dir the server is running in from project root\n */\n relativeProjectDir?: string\n\n /**\n * The dist directory the server is currently using\n */\n distDir?: string\n\n /**\n Optional hostname used by route handlers when constructing absolute URLs.\n hostname: '127.0.0.1',\n */\n hostname?: string\n\n /**\n Optional internal revalidate function to avoid revalidating over the network\n */\n revalidate?: RevalidateFn\n\n /**\n Optional function to render the 404 page for pages router `notFound: true`\n */\n render404?: (\n req: IncomingMessage,\n res: ServerResponse,\n parsedUrl?: UrlWithParsedQuery,\n setHeaders?: boolean\n ) => Promise\n\n /**\n * The query after resolving routes\n */\n query?: ParsedUrlQuery\n\n /**\n * The params after resolving routes\n */\n params?: ParsedUrlQuery\n\n /**\n * ErrorOverlay component to use in development for pages router\n */\n PagesErrorDebug?: PagesDevOverlayBridgeType\n\n /**\n * Whether server is in minimal mode (this will be replaced with more\n * specific flags in future)\n */\n minimalMode?: boolean\n\n /**\n * When background revalidation resolves some route params but not others,\n * tracks the param keys that are no longer placeholders so only the\n * unresolved subset suspends in intermediate PPR shells.\n */\n resolvedRouteParamKeys?: Set\n\n /**\n * The fallback params for this route. In dev, used for validating prerenders.\n * In production, used to defer params resolution during staged rendering.\n */\n fallbackParams?: OpaqueFallbackRouteParams\n\n /**\n * DEV only: Request timings in process.hrtime.bigint()\n */\n devRequestTimingStart?: bigint\n devRequestTimingMiddlewareStart?: bigint\n devRequestTimingMiddlewareEnd?: bigint\n devRequestTimingInternalsEnd?: bigint\n\n /**\n * DEV only: The duration of getStaticPaths/generateStaticParams in process.hrtime.bigint()\n */\n devGenerateStaticParamsDuration?: bigint\n\n /**\n * DEV only: Server action log info to be logged after the request log\n */\n devServerActionLog?: {\n functionName: string\n args: unknown[]\n location: string\n duration: number\n }\n}\n\n/**\n * Gets the request metadata. If no key is provided, the entire metadata object\n * is returned.\n *\n * @param req the request to get the metadata from\n * @param key the key to get from the metadata (optional)\n * @returns the value for the key or the entire metadata object\n */\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key?: undefined\n): RequestMeta\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key: K\n): RequestMeta[K]\nexport function getRequestMeta(\n req: NextIncomingMessage,\n key?: K\n): RequestMeta | RequestMeta[K] {\n const meta = req[NEXT_REQUEST_META] || {}\n return typeof key === 'string' ? meta[key] : meta\n}\n\n/**\n * Sets the request metadata.\n *\n * @param req the request to set the metadata on\n * @param meta the metadata to set\n * @returns the mutated request metadata\n */\nexport function setRequestMeta(req: NextIncomingMessage, meta: RequestMeta) {\n req[NEXT_REQUEST_META] = meta\n return meta\n}\n\n/**\n * Adds a value to the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to set\n * @param value the value to set\n * @returns the mutated request metadata\n */\nexport function addRequestMeta(\n request: NextIncomingMessage,\n key: K,\n value: RequestMeta[K]\n) {\n const meta = getRequestMeta(request)\n meta[key] = value\n return setRequestMeta(request, meta)\n}\n\n/**\n * Removes a key from the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to remove\n * @returns the mutated request metadata\n */\nexport function removeRequestMeta(\n request: NextIncomingMessage,\n key: K\n) {\n const meta = getRequestMeta(request)\n delete meta[key]\n return setRequestMeta(request, meta)\n}\n\ntype NextQueryMetadata = {\n /**\n * The `_rsc` query parameter used for cache busting to ensure that the RSC\n * requests do not get cached by the browser explicitly.\n */\n [NEXT_RSC_UNION_QUERY]?: string\n}\n\nexport type NextParsedUrlQuery = ParsedUrlQuery & NextQueryMetadata\n\n/**\n * subset of `url.parse` return value\n */\ninterface LegacyUrl {\n auth?: string | null\n hash: string | null\n hostname: string | null\n href: string\n pathname: string | null\n protocol: string | null\n search: string | null\n slashes: boolean | null\n port: string | null\n query: string | null | ParsedUrlQuery\n}\ninterface LegacyUrlWithParsedQuery extends LegacyUrl {\n query: ParsedUrlQuery\n}\n\n// TODO: Remove in favor of WHATWG URLs\nexport interface NextUrlWithParsedQuery extends LegacyUrlWithParsedQuery {\n query: NextParsedUrlQuery\n}\n","/**\n * Interop between \"export default\" and \"module.exports\".\n */\nexport function interopDefault(mod: any) {\n return mod.default || mod\n}\n","export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\n// Header for the Instant Navigation Testing API. In development and testing\n// builds, static pre-renders normally don't happen. This header tells the\n// server to perform a static pre-render anyway, allowing tests to assert on\n// the prefetched UI. Not exposed in production builds by default.\nexport const NEXT_INSTANT_PREFETCH_HEADER =\n 'next-instant-navigation-testing-prefetch' as const\n\n// Cookie for the Instant Navigation Testing API. Used for MPA navigations\n// (page reload, full page load) where we can't set request headers. When set,\n// the server renders only the static shell. Not exposed in production builds\n// by default.\nexport const NEXT_INSTANT_TEST_COOKIE =\n 'next-instant-navigation-testing' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n","import type { IncomingHttpHeaders } from 'node:http'\n\nimport { FLIGHT_HEADERS } from '../../client/components/app-router-headers'\n\n/**\n * Removes the flight headers from the request.\n *\n * @param req the request to strip the headers from\n */\nexport function stripFlightHeaders(headers: IncomingHttpHeaders) {\n for (const header of FLIGHT_HEADERS) {\n delete headers[header]\n }\n}\n","export enum RedirectStatusCode {\n SeeOther = 303,\n TemporaryRedirect = 307,\n PermanentRedirect = 308,\n}\n","import { RedirectStatusCode } from '../../client/components/redirect-status-code';\nimport { getCookieParser } from '../api-utils/get-cookie-parser';\nexport class BaseNextRequest {\n constructor(method, url, body){\n this.method = method;\n this.url = url;\n this.body = body;\n }\n // Utils implemented using the abstract methods above\n get cookies() {\n if (this._cookies) return this._cookies;\n return this._cookies = getCookieParser(this.headers)();\n }\n}\nexport class BaseNextResponse {\n constructor(destination){\n this.destination = destination;\n }\n // Utils implemented using the abstract methods above\n redirect(destination, statusCode) {\n this.setHeader('Location', destination);\n this.statusCode = statusCode;\n // Since IE11 doesn't support the 308 header add backwards\n // compatibility using refresh header\n if (statusCode === RedirectStatusCode.PermanentRedirect) {\n this.setHeader('Refresh', `0;url=${destination}`);\n }\n return this;\n }\n}\n\n//# sourceMappingURL=index.js.map","import { SYMBOL_CLEARED_COOKIES } from '../api-utils';\nimport { NEXT_REQUEST_META } from '../request-meta';\nimport { BaseNextRequest, BaseNextResponse } from './index';\nlet prop;\nexport class NodeNextRequest extends BaseNextRequest {\n static #_ = prop = _NEXT_REQUEST_META = NEXT_REQUEST_META;\n constructor(_req){\n var _this__req;\n super(_req.method.toUpperCase(), _req.url, _req), this._req = _req, this.headers = this._req.headers, this.fetchMetrics = (_this__req = this._req) == null ? void 0 : _this__req.fetchMetrics, this[_NEXT_REQUEST_META] = this._req[NEXT_REQUEST_META] || {}, this.streaming = false;\n }\n get originalRequest() {\n // Need to mimic these changes to the original req object for places where we use it:\n // render.tsx, api/ssg requests\n this._req[NEXT_REQUEST_META] = this[NEXT_REQUEST_META];\n this._req.url = this.url;\n this._req.cookies = this.cookies;\n return this._req;\n }\n set originalRequest(value) {\n this._req = value;\n }\n /**\n * Returns the request body as a Web Readable Stream. The body here can only\n * be read once as the body will start flowing as soon as the data handler\n * is attached.\n *\n * @internal\n */ stream() {\n if (this.streaming) {\n throw Object.defineProperty(new Error('Invariant: NodeNextRequest.stream() can only be called once'), \"__NEXT_ERROR_CODE\", {\n value: \"E467\",\n enumerable: false,\n configurable: true\n });\n }\n this.streaming = true;\n return new ReadableStream({\n start: (controller)=>{\n this._req.on('data', (chunk)=>{\n controller.enqueue(new Uint8Array(chunk));\n });\n this._req.on('end', ()=>{\n controller.close();\n });\n this._req.on('error', (err)=>{\n controller.error(err);\n });\n }\n });\n }\n}\nexport class NodeNextResponse extends BaseNextResponse {\n get originalResponse() {\n if (SYMBOL_CLEARED_COOKIES in this) {\n this._res[SYMBOL_CLEARED_COOKIES] = this[SYMBOL_CLEARED_COOKIES];\n }\n return this._res;\n }\n constructor(_res){\n super(_res), this._res = _res, this.textBody = undefined;\n }\n get sent() {\n return this._res.finished || this._res.headersSent;\n }\n get statusCode() {\n return this._res.statusCode;\n }\n set statusCode(value) {\n this._res.statusCode = value;\n }\n get statusMessage() {\n return this._res.statusMessage;\n }\n set statusMessage(value) {\n this._res.statusMessage = value;\n }\n setHeader(name, value) {\n this._res.setHeader(name, value);\n return this;\n }\n removeHeader(name) {\n this._res.removeHeader(name);\n return this;\n }\n getHeaderValues(name) {\n const values = this._res.getHeader(name);\n if (values === undefined) return undefined;\n return (Array.isArray(values) ? values : [\n values\n ]).map((value)=>value.toString());\n }\n hasHeader(name) {\n return this._res.hasHeader(name);\n }\n getHeader(name) {\n const values = this.getHeaderValues(name);\n return Array.isArray(values) ? values.join(',') : undefined;\n }\n getHeaders() {\n return this._res.getHeaders();\n }\n appendHeader(name, value) {\n const currentValues = this.getHeaderValues(name) ?? [];\n if (!currentValues.includes(value)) {\n this._res.setHeader(name, [\n ...currentValues,\n value\n ]);\n }\n return this;\n }\n body(value) {\n this.textBody = value;\n return this;\n }\n send() {\n this._res.end(this.textBody);\n }\n onClose(callback) {\n this.originalResponse.on('close', callback);\n }\n}\nvar _NEXT_REQUEST_META;\n\n//# sourceMappingURL=node.js.map","import { HeadersAdapter } from '../web/spec-extension/adapters/headers';\nimport { PRERENDER_REVALIDATE_HEADER, PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER } from '../../lib/constants';\nimport { getTracer } from '../lib/trace/tracer';\nimport { NodeSpan } from '../lib/trace/constants';\nexport function wrapApiHandler(page, handler) {\n return (...args)=>{\n getTracer().setRootSpanAttribute('next.route', page);\n // Call API route method\n return getTracer().trace(NodeSpan.runHandler, {\n spanName: `executing api route (pages) ${page}`\n }, ()=>handler(...args));\n };\n}\n/**\n *\n * @param res response object\n * @param statusCode `HTTP` status code of response\n */ export function sendStatusCode(res, statusCode) {\n res.statusCode = statusCode;\n return res;\n}\n/**\n *\n * @param res response object\n * @param [statusOrUrl] `HTTP` status code of redirect\n * @param url URL of redirect\n */ export function redirect(res, statusOrUrl, url) {\n if (typeof statusOrUrl === 'string') {\n url = statusOrUrl;\n statusOrUrl = 307;\n }\n if (typeof statusOrUrl !== 'number' || typeof url !== 'string') {\n throw Object.defineProperty(new Error(`Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').`), \"__NEXT_ERROR_CODE\", {\n value: \"E389\",\n enumerable: false,\n configurable: true\n });\n }\n res.writeHead(statusOrUrl, {\n Location: url\n });\n res.write(url);\n res.end();\n return res;\n}\nexport function checkIsOnDemandRevalidate(req, previewProps) {\n const headers = HeadersAdapter.from(req.headers);\n const previewModeId = headers.get(PRERENDER_REVALIDATE_HEADER);\n const isOnDemandRevalidate = previewModeId === previewProps.previewModeId;\n const revalidateOnlyGenerated = headers.has(PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER);\n return {\n isOnDemandRevalidate,\n revalidateOnlyGenerated\n };\n}\nexport const COOKIE_NAME_PRERENDER_BYPASS = `__prerender_bypass`;\nexport const COOKIE_NAME_PRERENDER_DATA = `__next_preview_data`;\nexport const RESPONSE_LIMIT_DEFAULT = 4 * 1024 * 1024;\nexport const SYMBOL_PREVIEW_DATA = Symbol(COOKIE_NAME_PRERENDER_DATA);\nexport const SYMBOL_CLEARED_COOKIES = Symbol(COOKIE_NAME_PRERENDER_BYPASS);\nexport function clearPreviewData(res, options = {}) {\n if (SYMBOL_CLEARED_COOKIES in res) {\n return res;\n }\n const { serialize } = require('next/dist/compiled/cookie');\n const previous = res.getHeader('Set-Cookie');\n res.setHeader(`Set-Cookie`, [\n ...typeof previous === 'string' ? [\n previous\n ] : Array.isArray(previous) ? previous : [],\n serialize(COOKIE_NAME_PRERENDER_BYPASS, '', {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== 'development' ? 'none' : 'lax',\n secure: process.env.NODE_ENV !== 'development',\n path: '/',\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n }),\n serialize(COOKIE_NAME_PRERENDER_DATA, '', {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== 'development' ? 'none' : 'lax',\n secure: process.env.NODE_ENV !== 'development',\n path: '/',\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n })\n ]);\n Object.defineProperty(res, SYMBOL_CLEARED_COOKIES, {\n value: true,\n enumerable: false\n });\n return res;\n}\n/**\n * Custom error class\n */ export class ApiError extends Error {\n constructor(statusCode, message){\n super(message);\n this.statusCode = statusCode;\n }\n}\n/**\n * Sends error in `response`\n * @param res response object\n * @param statusCode of response\n * @param message of response\n */ export function sendError(res, statusCode, message) {\n res.statusCode = statusCode;\n res.statusMessage = message;\n res.end(message);\n}\n/**\n * Execute getter function only if its needed\n * @param LazyProps `req` and `params` for lazyProp\n * @param prop name of property\n * @param getter function to get data\n */ export function setLazyProp({ req }, prop, getter) {\n const opts = {\n configurable: true,\n enumerable: true\n };\n const optsReset = {\n ...opts,\n writable: true\n };\n Object.defineProperty(req, prop, {\n ...opts,\n get: ()=>{\n const value = getter();\n // we set the property on the object to avoid recalculating it\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n return value;\n },\n set: (value)=>{\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n }\n });\n}\n\n//# sourceMappingURL=index.js.map","/**\n * Parse cookies from the `headers` of request\n * @param req request object\n */ export function getCookieParser(headers) {\n return function parseCookie() {\n const { cookie } = headers;\n if (!cookie) {\n return {};\n }\n const { parse: parseCookieFn } = require('next/dist/compiled/cookie');\n return parseCookieFn(Array.isArray(cookie) ? cookie.join('; ') : cookie);\n };\n}\n\n//# sourceMappingURL=get-cookie-parser.js.map","/**\n * If set to `incremental`, only those leaf pages that export\n * `experimental_ppr = true` will have partial prerendering enabled. If any\n * page exports this value as `false` or does not export it at all will not\n * have partial prerendering enabled. If set to a boolean, the options for\n * `experimental_ppr` will be ignored.\n */\n\nexport type ExperimentalPPRConfig = boolean | 'incremental'\n\n/**\n * Returns true if partial prerendering is enabled for the application. It does\n * not tell you if a given route has PPR enabled, as that requires analysis of\n * the route's configuration.\n *\n * @see {@link checkIsRoutePPREnabled} - for checking if a specific route has PPR enabled.\n */\nexport function checkIsAppPPREnabled(\n config: ExperimentalPPRConfig | undefined\n): boolean {\n // If the config is undefined, partial prerendering is disabled.\n if (typeof config === 'undefined') return false\n\n // If the config is a boolean, use it directly.\n if (typeof config === 'boolean') return config\n\n // If the config is a string, it must be 'incremental' to enable partial\n // prerendering.\n if (config === 'incremental') return true\n\n return false\n}\n\n/**\n * Returns true if partial prerendering is supported for the current page with\n * the provided app configuration. If the application doesn't have partial\n * prerendering enabled, this function will always return false. If you want to\n * check if the application has partial prerendering enabled\n *\n * @see {@link checkIsAppPPREnabled} for checking if the application has PPR enabled.\n */\nexport function checkIsRoutePPREnabled(\n config: ExperimentalPPRConfig | undefined\n): boolean {\n // If the config is undefined, partial prerendering is disabled.\n if (typeof config === 'undefined') return false\n\n // If the config is a boolean, use it directly.\n if (typeof config === 'boolean') return config\n\n return false\n}\n","/**\n * Normalizes the raw RSC header value. Only the literal string \"1\" is treated\n * as a valid RSC request marker; malformed or repeated values are ignored.\n */\nexport function isRSCRequestHeader(\n value: string | string[] | null | undefined\n): boolean {\n return value === '1'\n}\n","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","export function getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\nexport function isGroupSegment(segment) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')');\n}\nexport function isParallelRouteSegment(segment) {\n return segment.startsWith('@') && segment !== '@children';\n}\nexport function addSearchParamsIfPageSegment(segment, searchParams) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY);\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams);\n return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY;\n }\n return segment;\n}\nexport function computeSelectedLayoutSegment(segments, parallelRouteKey) {\n if (!segments || segments.length === 0) {\n return null;\n }\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment = parallelRouteKey === 'children' ? segments[0] : segments[segments.length - 1];\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;\n}\n/** Get the canonical parameters from the current level to the leaf node. */ export function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n let segmentValue = getSegmentValue(segment);\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nexport const PAGE_SEGMENT_KEY = '__PAGE__';\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__';\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found';\n\n//# sourceMappingURL=segment.js.map","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */ export function ensureLeadingSlash(path) {\n return path.startsWith('/') ? path : `/${path}`;\n}\n\n//# sourceMappingURL=ensure-leading-slash.js.map","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash';\nimport { isGroupSegment } from '../../segment';\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */ export function normalizeAppPath(route) {\n return ensureLeadingSlash(route.split('/').reduce((pathname, segment, index, segments)=>{\n // Empty segments are ignored.\n if (!segment) {\n return pathname;\n }\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname;\n }\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname;\n }\n // The last segment (if it's a leaf) should be ignored.\n if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {\n return pathname;\n }\n return `${pathname}/${segment}`;\n }, ''));\n}\n/**\n * Comparator for sorting app paths so that parallel slot paths (containing\n * `/@`) come before the children/root page path. This ensures the last item\n * is always the children page, which is what `renderPageComponent` reads via\n * `appPaths[appPaths.length - 1]`.\n *\n * Without this, route group prefixes like `(group)` (char code 0x28) sort\n * before `@` (0x40), causing the children page to sort first instead of last\n * and leading to a manifest mismatch / 404 in webpack dev mode.\n */ export function compareAppPaths(a, b) {\n const aHasSlot = a.includes('/@');\n const bHasSlot = b.includes('/@');\n if (aHasSlot && !bHasSlot) return -1;\n if (!aHasSlot && bHasSlot) return 1;\n return a.localeCompare(b);\n}\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */ export function normalizeRscURL(url) {\n return url.replace(/\\.rsc($|\\?)/, // $1 ensures `?` is preserved\n '$1');\n}\n\n//# sourceMappingURL=app-paths.js.map","import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n // TODO-APP: add more serious validation\n return (\n path\n .split('/')\n .find((segment) =>\n INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n ) !== undefined\n )\n}\n\ntype InterceptionRouteInformation = {\n /**\n * The intercepting route. This is the route that is being intercepted or the\n * route that the user was coming from. This is matched by the Next-Url\n * header.\n */\n interceptingRoute: string\n\n /**\n * The intercepted route. This is the route that is being intercepted or the\n * route that the user is going to. This is matched by the request pathname.\n */\n interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n path: string\n): InterceptionRouteInformation {\n let interceptingRoute: string | undefined\n let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n let interceptedRoute: string | undefined\n\n for (const segment of path.split('/')) {\n marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n if (marker) {\n ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n break\n }\n }\n\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw new Error(\n `Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`\n )\n }\n\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n switch (marker) {\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute\n }\n break\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n )\n }\n interceptedRoute = interceptingRoute\n .split('/')\n .slice(0, -1)\n .concat(interceptedRoute)\n .join('/')\n break\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute\n break\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n const splitInterceptingRoute = interceptingRoute.split('/')\n if (splitInterceptingRoute.length <= 2) {\n throw new Error(\n `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n )\n }\n\n interceptedRoute = splitInterceptingRoute\n .slice(0, -2)\n .concat(interceptedRoute)\n .join('/')\n break\n default:\n throw new Error('Invariant: unexpected marker')\n }\n\n return { interceptingRoute, interceptedRoute }\n}\n","import { INTERCEPTION_ROUTE_MARKERS } from './interception-routes'\nimport type { DynamicParamTypes } from '../../app-router-types'\n\nexport type SegmentParam = {\n paramName: string\n paramType: DynamicParamTypes\n}\n\n/**\n * Parse dynamic route segment to type of parameter\n */\nexport function getSegmentParam(segment: string): SegmentParam | null {\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((marker) =>\n segment.startsWith(marker)\n )\n\n // if an interception marker is part of the path segment, we need to jump ahead\n // to the relevant portion for param parsing\n if (interceptionMarker) {\n segment = segment.slice(interceptionMarker.length)\n }\n\n if (segment.startsWith('[[...') && segment.endsWith(']]')) {\n return {\n // TODO-APP: Optional catchall does not currently work with parallel routes,\n // so for now aren't handling a potential interception marker.\n paramType: 'optional-catchall',\n paramName: segment.slice(5, -2),\n }\n }\n\n if (segment.startsWith('[...') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker\n ? `catchall-intercepted-${interceptionMarker}`\n : 'catchall',\n paramName: segment.slice(4, -1),\n }\n }\n\n if (segment.startsWith('[') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker\n ? `dynamic-intercepted-${interceptionMarker}`\n : 'dynamic',\n paramName: segment.slice(1, -1),\n }\n }\n\n return null\n}\n\nexport function isCatchAll(\n type: DynamicParamTypes\n): type is\n | 'catchall'\n | 'catchall-intercepted-(..)(..)'\n | 'catchall-intercepted-(.)'\n | 'catchall-intercepted-(..)'\n | 'catchall-intercepted-(...)'\n | 'optional-catchall' {\n return (\n type === 'catchall' ||\n type === 'catchall-intercepted-(..)(..)' ||\n type === 'catchall-intercepted-(.)' ||\n type === 'catchall-intercepted-(..)' ||\n type === 'catchall-intercepted-(...)' ||\n type === 'optional-catchall'\n )\n}\n\nexport function getParamProperties(paramType: DynamicParamTypes): {\n repeat: boolean\n optional: boolean\n} {\n let repeat = false\n let optional = false\n\n switch (paramType) {\n case 'catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n repeat = true\n break\n case 'optional-catchall':\n repeat = true\n optional = true\n break\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n break\n default:\n paramType satisfies never\n }\n\n return { repeat, optional }\n}\n","import { InvariantError } from '../../invariant-error';\nimport { getSegmentParam } from '../utils/get-segment-param';\nimport { INTERCEPTION_ROUTE_MARKERS } from '../utils/interception-routes';\nfunction normalizeEncodedDynamicPlaceholder(segment) {\n if (!/%5b|%5d/i.test(segment)) {\n return segment;\n }\n try {\n const decodedSegment = decodeURIComponent(segment);\n return getSegmentParam(decodedSegment) ? decodedSegment : segment;\n } catch {\n return segment;\n }\n}\nexport function parseAppRouteSegment(segment) {\n if (segment === '') {\n return null;\n }\n // Check if the segment starts with an interception marker\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n const param = getSegmentParam(segment);\n if (param) {\n return {\n type: 'dynamic',\n name: segment,\n param,\n interceptionMarker\n };\n } else if (segment.startsWith('(') && segment.endsWith(')')) {\n return {\n type: 'route-group',\n name: segment,\n interceptionMarker\n };\n } else if (segment.startsWith('@')) {\n return {\n type: 'parallel-route',\n name: segment,\n interceptionMarker\n };\n } else {\n return {\n type: 'static',\n name: segment,\n interceptionMarker\n };\n }\n}\nexport function isNormalizedAppRoute(route) {\n return route.normalized;\n}\nexport function isInterceptionAppRoute(route) {\n return route.interceptionMarker !== undefined && route.interceptingRoute !== undefined && route.interceptedRoute !== undefined;\n}\nexport function parseAppRoute(pathname, normalized) {\n const pathnameSegments = pathname.split('/').filter(Boolean);\n // Build segments array with static and dynamic segments\n const segments = [];\n // Parse if this is an interception route.\n let interceptionMarker;\n let interceptingRoute;\n let interceptedRoute;\n for (const segment of pathnameSegments){\n const normalizedSegment = normalizeEncodedDynamicPlaceholder(segment);\n // Parse the segment into an AppSegment.\n const appSegment = parseAppRouteSegment(normalizedSegment);\n if (!appSegment) {\n continue;\n }\n if (normalized && (appSegment.type === 'route-group' || appSegment.type === 'parallel-route')) {\n throw Object.defineProperty(new InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group or parallel route segment.`), \"__NEXT_ERROR_CODE\", {\n value: \"E923\",\n enumerable: false,\n configurable: true\n });\n }\n segments.push(appSegment);\n if (appSegment.interceptionMarker) {\n const parts = pathname.split(appSegment.interceptionMarker);\n if (parts.length !== 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), \"__NEXT_ERROR_CODE\", {\n value: \"E924\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = normalized ? parseAppRoute(parts[0], true) : parseAppRoute(parts[0], false);\n interceptedRoute = normalized ? parseAppRoute(parts[1], true) : parseAppRoute(parts[1], false);\n interceptionMarker = appSegment.interceptionMarker;\n }\n }\n const dynamicSegments = segments.filter((segment)=>segment.type === 'dynamic');\n return {\n normalized,\n pathname,\n segments,\n dynamicSegments,\n interceptionMarker,\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=app.js.map","import { DEFAULT_SEGMENT_KEY } from '../../segment';\nexport function parseLoaderTree(tree) {\n const [segment, parallelRoutes, modules, staticSiblings] = tree;\n const { layout, template } = modules;\n let { page } = modules;\n // a __DEFAULT__ segment means that this route didn't match any of the\n // segments in the route, so we should use the default page\n page = segment === DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;\n const conventionPath = layout?.[1] || template?.[1] || page?.[1];\n return {\n page,\n segment,\n modules,\n /* it can be either layout / template / page */ conventionPath,\n parallelRoutes,\n staticSiblings\n };\n}\n\n//# sourceMappingURL=parse-loader-tree.js.map","export function interceptionPrefixFromParamType(paramType) {\n switch(paramType){\n case 'catchall-intercepted-(..)(..)':\n case 'dynamic-intercepted-(..)(..)':\n return '(..)(..)';\n case 'catchall-intercepted-(.)':\n case 'dynamic-intercepted-(.)':\n return '(.)';\n case 'catchall-intercepted-(..)':\n case 'dynamic-intercepted-(..)':\n return '(..)';\n case 'catchall-intercepted-(...)':\n case 'dynamic-intercepted-(...)':\n return '(...)';\n case 'catchall':\n case 'dynamic':\n case 'optional-catchall':\n default:\n return null;\n }\n}\n\n//# sourceMappingURL=interception-prefix-from-param-type.js.map","export const dynamicParamTypes = {\n catchall: 'c',\n 'catchall-intercepted-(..)(..)': 'ci(..)(..)',\n 'catchall-intercepted-(.)': 'ci(.)',\n 'catchall-intercepted-(..)': 'ci(..)',\n 'catchall-intercepted-(...)': 'ci(...)',\n 'optional-catchall': 'oc',\n dynamic: 'd',\n 'dynamic-intercepted-(..)(..)': 'di(..)(..)',\n 'dynamic-intercepted-(.)': 'di(.)',\n 'dynamic-intercepted-(..)': 'di(..)',\n 'dynamic-intercepted-(...)': 'di(...)'\n};\n\n//# sourceMappingURL=get-short-dynamic-param-type.js.map","import { InvariantError } from '../../invariant-error';\nimport { interceptionPrefixFromParamType } from './interception-prefix-from-param-type';\n/**\n * Extracts the param value from a path segment, handling interception markers\n * based on the expected param type.\n *\n * @param pathSegment - The path segment to extract the value from\n * @param params - The current params object for resolving dynamic param references\n * @param paramType - The expected param type which may include interception marker info\n * @returns The extracted param value\n */ function getParamValueFromSegment(pathSegment, params, paramType) {\n // If the segment is dynamic, resolve it from the params object\n if (pathSegment.type === 'dynamic') {\n return params[pathSegment.param.paramName];\n }\n // If the paramType indicates this is an intercepted param, strip the marker\n // that matches the interception marker in the param type\n const interceptionPrefix = interceptionPrefixFromParamType(paramType);\n if (interceptionPrefix === pathSegment.interceptionMarker) {\n return pathSegment.name.replace(pathSegment.interceptionMarker, '');\n }\n // For static segments, use the name\n return pathSegment.name;\n}\n/**\n * Resolves a route parameter value from the route segments at the given depth.\n * This shared logic is used by both extractPathnameRouteParamSegmentsFromLoaderTree\n * and resolveRouteParamsFromTree.\n *\n * @param paramName - The parameter name to resolve\n * @param paramType - The parameter type (dynamic, catchall, etc.)\n * @param depth - The current depth in the route tree\n * @param route - The normalized route containing segments\n * @param params - The current params object (used to resolve embedded param references)\n * @param options - Configuration options\n * @returns The resolved parameter value, or undefined if it cannot be resolved\n */ export function resolveParamValue(paramName, paramType, depth, route, params) {\n switch(paramType){\n case 'catchall':\n case 'optional-catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n // For catchall routes, derive from pathname using depth to determine\n // which segments to use\n const processedSegments = [];\n // Process segments to handle any embedded dynamic params\n for(let index = depth; index < route.segments.length; index++){\n const pathSegment = route.segments[index];\n if (pathSegment.type === 'static') {\n let value = pathSegment.name;\n // For intercepted catch-all params, strip the marker from the first segment\n const interceptionPrefix = interceptionPrefixFromParamType(paramType);\n if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {\n // Strip the interception marker from the value\n value = value.replace(pathSegment.interceptionMarker, '');\n }\n processedSegments.push(value);\n } else {\n // If the segment is a param placeholder, check if we have its value\n if (!params.hasOwnProperty(pathSegment.param.paramName)) {\n // If the segment is an optional catchall, we can break out of the\n // loop because it's optional!\n if (pathSegment.param.paramType === 'optional-catchall') {\n break;\n }\n // Unknown param placeholder in pathname - can't derive full value\n return undefined;\n }\n // If the segment matches a param, use the param value\n // We don't encode values here as that's handled during retrieval.\n const paramValue = params[pathSegment.param.paramName];\n if (Array.isArray(paramValue)) {\n processedSegments.push(...paramValue);\n } else {\n processedSegments.push(paramValue);\n }\n }\n }\n if (processedSegments.length > 0) {\n return processedSegments;\n } else if (paramType === 'optional-catchall') {\n return undefined;\n } else {\n // We shouldn't be able to match a catchall segment without any path\n // segments if it's not an optional catchall\n throw Object.defineProperty(new InvariantError(`Unexpected empty path segments match for a route \"${route.pathname}\" with param \"${paramName}\" of type \"${paramType}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E931\",\n enumerable: false,\n configurable: true\n });\n }\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n // For regular dynamic parameters, take the segment at this depth\n if (depth < route.segments.length) {\n const pathSegment = route.segments[depth];\n // Check if the segment at this depth is a placeholder for an unknown param\n if (pathSegment.type === 'dynamic' && !params.hasOwnProperty(pathSegment.param.paramName)) {\n // The segment is a placeholder like [category] and we don't have the value\n return undefined;\n }\n // If the segment matches a param, use the param value from params object\n // Otherwise it's a static segment, just use it directly\n // We don't encode values here as that's handled during retrieval\n return getParamValueFromSegment(pathSegment, params, paramType);\n }\n return undefined;\n default:\n paramType;\n }\n}\n\n//# sourceMappingURL=resolve-param-value.js.map","import { parseAppRouteSegment } from '../../../shared/lib/router/routes/app';\nimport { parseLoaderTree } from '../../../shared/lib/router/utils/parse-loader-tree';\nimport { resolveParamValue } from '../../../shared/lib/router/utils/resolve-param-value';\n/**\n * Validates that the static segments in currentPath match the corresponding\n * segments in targetSegments. This ensures we only extract dynamic parameters\n * that are part of the target pathname structure.\n *\n * Segments are compared literally - interception markers like \"(.)photo\" are\n * part of the pathname and must match exactly.\n *\n * @example\n * // Matching paths\n * currentPath: ['blog', '(.)photo']\n * targetSegments: ['blog', '(.)photo', '[id]']\n * → Returns true (both static segments match exactly)\n *\n * @example\n * // Non-matching paths\n * currentPath: ['blog', '(.)photo']\n * targetSegments: ['blog', 'photo', '[id]']\n * → Returns false (segments don't match - marker is part of pathname)\n *\n * @param currentPath - The accumulated path segments from the loader tree\n * @param targetSegments - The target pathname split into segments\n * @returns true if all static segments match, false otherwise\n */ function validatePrefixMatch(currentPath, route) {\n for(let i = 0; i < currentPath.length; i++){\n const pathSegment = currentPath[i];\n const targetPathSegment = route.segments[i];\n // Type mismatch - one is static, one is dynamic\n if (pathSegment.type !== targetPathSegment.type) {\n return false;\n }\n // One has an interception marker, the other doesn't.\n if (pathSegment.interceptionMarker !== targetPathSegment.interceptionMarker) {\n return false;\n }\n // Both are static but names don't match\n if (pathSegment.type === 'static' && targetPathSegment.type === 'static' && pathSegment.name !== targetPathSegment.name) {\n return false;\n } else if (pathSegment.type === 'dynamic' && targetPathSegment.type === 'dynamic' && pathSegment.param.paramType !== targetPathSegment.param.paramType && pathSegment.param.paramName !== targetPathSegment.param.paramName) {\n return false;\n }\n }\n return true;\n}\n/**\n * Extracts pathname route param segments from a loader tree and resolves\n * parameter values from static segments in the route.\n *\n * @param loaderTree - The loader tree structure containing route hierarchy\n * @param route - The target route to match against\n * @returns Object containing pathname route param segments and resolved params\n */ export function extractPathnameRouteParamSegmentsFromLoaderTree(loaderTree, route) {\n const pathnameRouteParamSegments = [];\n const params = {};\n // BFS traversal with depth and path tracking\n const queue = [\n {\n tree: loaderTree,\n depth: 0,\n currentPath: []\n }\n ];\n while(queue.length > 0){\n const { tree, depth, currentPath } = queue.shift();\n const { segment, parallelRoutes } = parseLoaderTree(tree);\n // Build the path for the current node\n let updatedPath = currentPath;\n let nextDepth = depth;\n const appSegment = parseAppRouteSegment(segment);\n // Only add to path if it's a real segment that appears in the URL\n // Route groups and parallel markers don't contribute to URL pathname\n if (appSegment && appSegment.type !== 'route-group' && appSegment.type !== 'parallel-route') {\n updatedPath = [\n ...currentPath,\n appSegment\n ];\n nextDepth = depth + 1;\n }\n // Check if this segment has a param and matches the target pathname at this depth\n if ((appSegment == null ? void 0 : appSegment.type) === 'dynamic') {\n const { paramName, paramType } = appSegment.param;\n // Check if this segment is at the correct depth in the target pathname\n // A segment matches if:\n // 1. There's a dynamic segment at this depth in the pathname\n // 2. The parameter names match (e.g., [id] matches [id], not [category])\n // 3. The static segments leading up to this point match (prefix check)\n if (depth < route.segments.length) {\n const targetSegment = route.segments[depth];\n // Match if the target pathname has a dynamic segment at this depth\n if (targetSegment.type === 'dynamic') {\n // Check that parameter names match exactly\n // This prevents [category] from matching against /[id]\n if (paramName !== targetSegment.param.paramName) {\n continue; // Different param names, skip this segment\n }\n // Validate that the path leading up to this dynamic segment matches\n // the target pathname. This prevents false matches like extracting\n // [slug] from \"/news/[slug]\" when the tree has \"/blog/[slug]\"\n if (validatePrefixMatch(currentPath, route)) {\n pathnameRouteParamSegments.push({\n name: segment,\n paramName,\n paramType\n });\n }\n }\n }\n // Resolve parameter value if it's not already known.\n if (!params.hasOwnProperty(paramName)) {\n const paramValue = resolveParamValue(paramName, paramType, depth, route, params);\n if (paramValue !== undefined) {\n params[paramName] = paramValue;\n }\n }\n }\n // Continue traversing all parallel routes to find matching segments\n for (const parallelRoute of Object.values(parallelRoutes)){\n queue.push({\n tree: parallelRoute,\n depth: nextDepth,\n currentPath: updatedPath\n });\n }\n }\n return {\n pathnameRouteParamSegments,\n params\n };\n}\n\n//# sourceMappingURL=extract-pathname-route-param-segments-from-loader-tree.js.map","import { resolveRouteParamsFromTree } from '../../build/static-paths/utils';\nimport { dynamicParamTypes } from '../app-render/get-short-dynamic-param-type';\nimport { parseAppRoute } from '../../shared/lib/router/routes/app';\nimport { extractPathnameRouteParamSegmentsFromLoaderTree } from '../../build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree';\nimport { getParamProperties } from '../../shared/lib/router/utils/get-segment-param';\n/**\n * Creates an opaque fallback route params object from the fallback route params.\n *\n * @param fallbackRouteParams the fallback route params\n * @returns the opaque fallback route params\n */ export function createOpaqueFallbackRouteParams(fallbackRouteParams) {\n // If there are no fallback route params, we can return early.\n if (fallbackRouteParams.length === 0) return null;\n // As we're creating unique keys for each of the dynamic route params, we only\n // need to generate a unique ID once per request because each of the keys will\n // be also be unique.\n const uniqueID = Math.random().toString(16).slice(2);\n const keys = new Map();\n // Generate a unique key for the fallback route param, if this key is found\n // in the static output, it represents a bug in cache components.\n for (const { paramName, paramType } of fallbackRouteParams){\n keys.set(paramName, [\n `%%drp:${paramName}:${uniqueID}%%`,\n dynamicParamTypes[paramType]\n ]);\n }\n return keys;\n}\nexport function buildDynamicSegmentPlaceholder(param) {\n const { repeat, optional } = getParamProperties(param.paramType);\n if (optional) {\n return `[[...${param.paramName}]]`;\n }\n if (repeat) {\n return `[...${param.paramName}]`;\n }\n return `[${param.paramName}]`;\n}\nexport function getPlaceholderFallbackRouteParams(params, fallbackRouteParams) {\n return fallbackRouteParams.filter((param)=>{\n const placeholder = buildDynamicSegmentPlaceholder(param);\n const value = params == null ? void 0 : params[param.paramName];\n return value === placeholder || Array.isArray(value) && value.length === 1 && value[0] === placeholder;\n });\n}\n/**\n * Gets the fallback route params for a given page. This is an expensive\n * operation because it requires parsing the loader tree to extract the fallback\n * route params.\n *\n * @param page the page\n * @param routeModule the route module\n * @returns the opaque fallback route params\n */ export function getFallbackRouteParams(page, routeModule) {\n const route = parseAppRoute(page, true);\n // Extract the pathname-contributing segments from the loader tree. This\n // mirrors the logic in buildAppStaticPaths where we determine which segments\n // actually contribute to the pathname.\n const { pathnameRouteParamSegments, params } = extractPathnameRouteParamSegmentsFromLoaderTree(routeModule.userland.loaderTree, route);\n // Create fallback route params for the pathname segments.\n const fallbackRouteParams = pathnameRouteParamSegments.map(({ paramName, paramType })=>({\n paramName,\n paramType\n }));\n // Resolve route params from the loader tree. This mutates the\n // fallbackRouteParams array to add any route params that are\n // unknown at request time.\n //\n // The page parameter contains placeholders like [slug], which helps\n // resolveRouteParamsFromTree determine which params are unknown.\n resolveRouteParamsFromTree(routeModule.userland.loaderTree, params, route, fallbackRouteParams // Will be mutated to add route params\n );\n // Convert the fallback route params to an opaque format that can be safely\n // used in the postponed state without exposing implementation details.\n return createOpaqueFallbackRouteParams(fallbackRouteParams);\n}\n\n//# sourceMappingURL=fallback-params.js.map","import { isAppPageRouteModule } from '../../server/route-modules/checks';\nimport { parseAppRouteSegment } from '../../shared/lib/router/routes/app';\nimport { parseLoaderTree } from '../../shared/lib/router/utils/parse-loader-tree';\nimport { extractPathnameRouteParamSegmentsFromLoaderTree } from './app/extract-pathname-route-param-segments-from-loader-tree';\nimport { resolveParamValue } from '../../shared/lib/router/utils/resolve-param-value';\n/**\n * Encodes a parameter value using the provided encoder.\n *\n * @param value - The value to encode.\n * @param encoder - The encoder to use.\n * @returns The encoded value.\n */ export function encodeParam(value, encoder) {\n let replaceValue;\n if (Array.isArray(value)) {\n replaceValue = value.map(encoder).join('/');\n } else {\n replaceValue = encoder(value);\n }\n return replaceValue;\n}\n/**\n * Normalizes a pathname to a consistent format.\n *\n * @param pathname - The pathname to normalize.\n * @returns The normalized pathname.\n */ export function normalizePathname(pathname) {\n return pathname.replace(/\\\\/g, '/').replace(/(?!^)\\/$/, '');\n}\n/**\n * Extracts segments that contribute to the pathname by traversing the loader tree\n * based on the route module type.\n *\n * @param routeModule - The app route module (page or route handler)\n * @param segments - Array of AppSegment objects collected from the route\n * @param page - The target pathname to match against, INCLUDING interception\n * markers (e.g., \"/blog/[slug]\", \"/(.)photo/[id]\")\n * @returns Array of segments with param info that contribute to the pathname\n */ export function extractPathnameRouteParamSegments(routeModule, segments, route) {\n // For AppPageRouteModule, use the loaderTree traversal approach\n if (isAppPageRouteModule(routeModule)) {\n const { pathnameRouteParamSegments } = extractPathnameRouteParamSegmentsFromLoaderTree(routeModule.userland.loaderTree, route);\n return pathnameRouteParamSegments;\n }\n return extractPathnameRouteParamSegmentsFromSegments(segments);\n}\nexport function extractPathnameRouteParamSegmentsFromSegments(segments) {\n // TODO: should we consider what values are already present in the page?\n // For AppRouteRouteModule, filter the segments array to get the route params\n // that contribute to the pathname.\n const result = [];\n for (const segment of segments){\n // Skip segments without param info.\n if (!segment.paramName || !segment.paramType) continue;\n // Collect all the route param keys that contribute to the pathname.\n result.push({\n name: segment.name,\n paramName: segment.paramName,\n paramType: segment.paramType\n });\n }\n return result;\n}\n/**\n * Resolves all route parameters from the loader tree. This function uses\n * tree-based traversal to correctly handle the hierarchical structure of routes\n * and accurately determine parameter values based on their depth in the tree.\n *\n * This processes both regular route parameters (from the main children route) and\n * parallel route parameters (from slots like @modal, @sidebar).\n *\n * Unlike interpolateParallelRouteParams (which has a complete URL at runtime),\n * this build-time function determines which route params are unknown.\n * The pathname may contain placeholders like [slug], making it incomplete.\n *\n * @param loaderTree - The loader tree structure containing route hierarchy\n * @param params - The current route parameters object (will be mutated)\n * @param route - The current route being processed\n * @param fallbackRouteParams - Array of fallback route parameters (will be mutated)\n */ export function resolveRouteParamsFromTree(loaderTree, params, route, fallbackRouteParams) {\n // Stack-based traversal with depth tracking\n const stack = [\n {\n tree: loaderTree,\n depth: 0\n }\n ];\n while(stack.length > 0){\n const { tree, depth } = stack.pop();\n const { segment, parallelRoutes } = parseLoaderTree(tree);\n const appSegment = parseAppRouteSegment(segment);\n // If this segment is a route parameter, then we should process it if it's\n // not already known and is not already marked as a fallback route param.\n if ((appSegment == null ? void 0 : appSegment.type) === 'dynamic' && !params.hasOwnProperty(appSegment.param.paramName) && !fallbackRouteParams.some((param)=>param.paramName === appSegment.param.paramName)) {\n const { paramName, paramType } = appSegment.param;\n const paramValue = resolveParamValue(paramName, paramType, depth, route, params);\n if (paramValue !== undefined) {\n params[paramName] = paramValue;\n } else if (paramType !== 'optional-catchall') {\n // If we couldn't resolve the param, mark it as a fallback\n fallbackRouteParams.push({\n paramName,\n paramType\n });\n }\n }\n // Calculate next depth - increment if this is not a route group and not empty\n let nextDepth = depth;\n if (appSegment && appSegment.type !== 'route-group' && appSegment.type !== 'parallel-route') {\n nextDepth++;\n }\n // Add all parallel routes to the stack for processing.\n for (const parallelRoute of Object.values(parallelRoutes)){\n stack.push({\n tree: parallelRoute,\n depth: nextDepth\n });\n }\n }\n}\n\n//# sourceMappingURL=utils.js.map","/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */ export function parsePath(path) {\n const hashIndex = path.indexOf('#');\n const queryIndex = path.indexOf('?');\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : '',\n hash: hashIndex > -1 ? path.slice(hashIndex) : ''\n };\n }\n return {\n pathname: path,\n query: '',\n hash: ''\n };\n}\n\n//# sourceMappingURL=parse-path.js.map","import { parsePath } from './parse-path';\n/**\n * Checks if a given path starts with a given prefix. It ensures it matches\n * exactly without containing extra chars. e.g. prefix /docs should replace\n * for /docs, /docs/, /docs/a but not /docsss\n * @param path The path to check.\n * @param prefix The prefix to check against.\n */ export function pathHasPrefix(path, prefix) {\n if (typeof path !== 'string') {\n return false;\n }\n const { pathname } = parsePath(path);\n return pathname === prefix || pathname.startsWith(prefix + '/');\n}\n\n//# sourceMappingURL=path-has-prefix.js.map","import { pathHasPrefix } from './path-has-prefix';\n/**\n * Given a path and a prefix it will remove the prefix when it exists in the\n * given path. It ensures it matches exactly without containing extra chars\n * and if the prefix is not there it will be noop.\n *\n * @param path The path to remove the prefix from.\n * @param prefix The prefix to be removed.\n */ export function removePathPrefix(path, prefix) {\n // If the path doesn't start with the prefix we can return it as is. This\n // protects us from situations where the prefix is a substring of the path\n // prefix such as:\n //\n // For prefix: /blog\n //\n // /blog -> true\n // /blog/ -> true\n // /blog/1 -> true\n // /blogging -> false\n // /blogging/ -> false\n // /blogging/1 -> false\n if (!pathHasPrefix(path, prefix)) {\n return path;\n }\n // Remove the prefix from the path via slicing.\n const withoutPrefix = path.slice(prefix.length);\n // If the path without the prefix starts with a `/` we can return it as is.\n if (withoutPrefix.startsWith('/')) {\n return withoutPrefix;\n }\n // If the path without the prefix doesn't start with a `/` we need to add it\n // back to the path to make sure it's a valid path.\n return `/${withoutPrefix}`;\n}\n\n//# sourceMappingURL=remove-path-prefix.js.map","import type { ActionManifest } from '../../build/webpack/plugins/flight-client-entry-plugin'\nimport type { ClientReferenceManifest } from '../../build/webpack/plugins/flight-manifest-plugin'\nimport type { DeepReadonly } from '../../shared/lib/deep-readonly'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { pathHasPrefix } from '../../shared/lib/router/utils/path-has-prefix'\nimport { removePathPrefix } from '../../shared/lib/router/utils/remove-path-prefix'\nimport { workAsyncStorage } from './work-async-storage.external'\n\nexport interface ServerModuleMap {\n readonly [name: string]: {\n readonly id: string | number\n readonly name: string\n readonly chunks: Readonly> // currently not used\n readonly async?: boolean\n }\n}\n\n// This is a global singleton that is, among other things, also used to\n// encode/decode bound args of server function closures. This can't be using a\n// AsyncLocalStorage as it might happen at the module level.\nconst MANIFESTS_SINGLETON = Symbol.for('next.server.manifests')\n\ninterface ManifestsSingleton {\n readonly clientReferenceManifestsPerRoute: Map<\n string,\n DeepReadonly\n >\n readonly proxiedClientReferenceManifest: DeepReadonly\n serverActionsManifest: DeepReadonly\n serverModuleMap: ServerModuleMap\n}\n\ntype GlobalThisWithManifests = typeof globalThis & {\n [MANIFESTS_SINGLETON]?: ManifestsSingleton\n}\n\ntype ClientReferenceManifestMappingProp =\n | 'clientModules'\n | 'rscModuleMapping'\n | 'edgeRscModuleMapping'\n | 'ssrModuleMapping'\n | 'edgeSSRModuleMapping'\n\nconst globalThisWithManifests = globalThis as GlobalThisWithManifests\n\nfunction createProxiedClientReferenceManifest(\n clientReferenceManifestsPerRoute: Map<\n string,\n DeepReadonly\n >\n): DeepReadonly {\n const createMappingProxy = (prop: ClientReferenceManifestMappingProp) => {\n return new Proxy(\n {},\n {\n get(_, id: string) {\n const workStore = workAsyncStorage.getStore()\n\n if (workStore) {\n const currentManifest = clientReferenceManifestsPerRoute.get(\n workStore.route\n )\n\n if (currentManifest?.[prop][id]) {\n return currentManifest[prop][id]\n }\n\n // In development, we also check all other manifests to see if the\n // module exists there. This is to support a scenario where React's\n // I/O tracking (dev-only) creates a connection from one page to\n // another through an emitted async I/O node that references client\n // components from the other page, e.g. in owner props.\n // TODO: Maybe we need to add a `debugBundlerConfig` option to React\n // to avoid this workaround. The current workaround has the\n // disadvantage that one might accidentally or intentionally share\n // client references across pages (e.g. by storing them in a global\n // variable), which would then only be caught in production.\n if (process.env.NODE_ENV !== 'production') {\n for (const [\n route,\n manifest,\n ] of clientReferenceManifestsPerRoute) {\n if (route === workStore.route) {\n continue\n }\n\n const entry = manifest[prop][id]\n\n if (entry !== undefined) {\n return entry\n }\n }\n }\n } else {\n // If there's no work store defined, we can assume that a client\n // reference manifest is needed during module evaluation, e.g. to\n // create a server function using a higher-order function. This\n // might also use client components which need to be serialized by\n // Flight, and therefore client references need to be resolvable. In\n // that case we search all page manifests to find the module.\n for (const manifest of clientReferenceManifestsPerRoute.values()) {\n const entry = manifest[prop][id]\n\n if (entry !== undefined) {\n return entry\n }\n }\n }\n\n return undefined\n },\n }\n )\n }\n\n const mappingProxies = new Map<\n ClientReferenceManifestMappingProp,\n ReturnType\n >()\n\n return new Proxy(\n {},\n {\n get(_, prop) {\n const workStore = workAsyncStorage.getStore()\n\n switch (prop) {\n case 'moduleLoading':\n case 'entryCSSFiles':\n case 'entryJSFiles': {\n if (!workStore) {\n throw new InvariantError(\n `Cannot access \"${prop}\" without a work store.`\n )\n }\n\n const currentManifest = clientReferenceManifestsPerRoute.get(\n workStore.route\n )\n\n if (!currentManifest) {\n throw new InvariantError(\n `The client reference manifest for route \"${workStore.route}\" does not exist.`\n )\n }\n\n return currentManifest[prop]\n }\n case 'clientModules':\n case 'rscModuleMapping':\n case 'edgeRscModuleMapping':\n case 'ssrModuleMapping':\n case 'edgeSSRModuleMapping': {\n let proxy = mappingProxies.get(prop)\n\n if (!proxy) {\n proxy = createMappingProxy(prop)\n mappingProxies.set(prop, proxy)\n }\n\n return proxy\n }\n default: {\n throw new InvariantError(\n `This is a proxied client reference manifest. The property \"${String(prop)}\" is not handled.`\n )\n }\n }\n },\n }\n ) as DeepReadonly\n}\n\n/**\n * This function creates a Flight-acceptable server module map proxy from our\n * Server Reference Manifest similar to our client module map. This is because\n * our manifest contains a lot of internal Next.js data that are relevant to the\n * runtime, workers, etc. that React doesn't need to know.\n */\nfunction createServerModuleMap(): ServerModuleMap {\n return new Proxy(\n {},\n {\n get: (_, id: string) => {\n const workers =\n getServerActionsManifest()[\n process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node'\n ]?.[id]?.workers\n\n if (!workers) {\n return undefined\n }\n\n const workStore = workAsyncStorage.getStore()\n\n let workerEntry:\n | { moduleId: string | number; async: boolean }\n | undefined\n\n if (workStore) {\n workerEntry = workers[normalizeWorkerPageName(workStore.page)]\n } else {\n // If there's no work store defined, we can assume that a server\n // module map is needed during module evaluation, e.g. to create a\n // server action using a higher-order function. Therefore it should be\n // safe to return any entry from the manifest that matches the action\n // ID. They all refer to the same module ID, which must also exist in\n // the current page bundle. TODO: This is currently not guaranteed in\n // Turbopack, and needs to be fixed.\n workerEntry = Object.values(workers).at(0)\n }\n\n if (!workerEntry) {\n return undefined\n }\n\n const { moduleId, async } = workerEntry\n\n return { id: moduleId, name: id, chunks: [], async }\n },\n }\n )\n}\n\n/**\n * The flight entry loader keys actions by bundlePath. bundlePath corresponds\n * with the relative path (including 'app') to the page entrypoint.\n */\nfunction normalizeWorkerPageName(pageName: string) {\n if (pathHasPrefix(pageName, 'app')) {\n return pageName\n }\n\n return 'app' + pageName\n}\n\n/**\n * Converts a bundlePath (relative path to the entrypoint) to a routable page\n * name.\n */\nfunction denormalizeWorkerPageName(bundlePath: string) {\n return normalizeAppPath(removePathPrefix(bundlePath, 'app'))\n}\n\n/**\n * Checks if the requested action has a worker for the current page.\n * If not, it returns the first worker that has a handler for the action.\n */\nexport function selectWorkerForForwarding(\n actionId: string,\n pageName: string\n): string | undefined {\n const serverActionsManifest = getServerActionsManifest()\n const workers =\n serverActionsManifest[\n process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node'\n ][actionId]?.workers\n\n // There are no workers to handle this action, nothing to forward to.\n if (!workers) {\n return\n }\n\n // If there is an entry for the current page, we don't need to forward.\n if (workers[normalizeWorkerPageName(pageName)]) {\n return\n }\n\n // Otherwise, grab the first worker that has a handler for this action id.\n return denormalizeWorkerPageName(Object.keys(workers)[0])\n}\n\nexport function setManifestsSingleton({\n page,\n clientReferenceManifest,\n serverActionsManifest: rawServerActionsManifest,\n}: {\n page: string\n clientReferenceManifest: DeepReadonly\n serverActionsManifest: DeepReadonly\n}) {\n const existingSingleton = globalThisWithManifests[MANIFESTS_SINGLETON]\n\n const serverActionsManifest: DeepReadonly = {\n encryptionKey: rawServerActionsManifest.encryptionKey,\n // Use null-prototypes for the action objects to prevent prototype pollution\n // from affecting action ID lookups.\n node: Object.assign(Object.create(null), rawServerActionsManifest.node),\n edge: Object.assign(Object.create(null), rawServerActionsManifest.edge),\n }\n\n if (existingSingleton) {\n existingSingleton.clientReferenceManifestsPerRoute.set(\n normalizeAppPath(page),\n clientReferenceManifest\n )\n\n existingSingleton.serverActionsManifest = serverActionsManifest\n } else {\n const clientReferenceManifestsPerRoute = new Map<\n string,\n DeepReadonly\n >([[normalizeAppPath(page), clientReferenceManifest]])\n\n const proxiedClientReferenceManifest = createProxiedClientReferenceManifest(\n clientReferenceManifestsPerRoute\n )\n\n globalThisWithManifests[MANIFESTS_SINGLETON] = {\n clientReferenceManifestsPerRoute,\n proxiedClientReferenceManifest,\n serverActionsManifest,\n serverModuleMap: createServerModuleMap(),\n }\n }\n}\n\nfunction getManifestsSingleton(): ManifestsSingleton {\n const manifestSingleton = globalThisWithManifests[MANIFESTS_SINGLETON]\n\n if (!manifestSingleton) {\n throw new InvariantError('The manifests singleton was not initialized.')\n }\n\n return manifestSingleton\n}\n\nexport function getClientReferenceManifest(): DeepReadonly {\n return getManifestsSingleton().proxiedClientReferenceManifest\n}\n\nexport function getServerActionsManifest(): DeepReadonly {\n return getManifestsSingleton().serverActionsManifest\n}\n\nexport function getServerModuleMap() {\n return getManifestsSingleton().serverModuleMap\n}\n","import { HTML_LIMITED_BOT_UA_RE } from './html-bots';\n// Bot crawler that will spin up a headless browser and execute JS.\n// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.\n// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers\n// This regex specifically matches \"Googlebot\" but NOT \"Mediapartners-Google\", \"AdsBot-Google\", etc.\nconst HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i;\nexport const HTML_LIMITED_BOT_UA_RE_STRING = HTML_LIMITED_BOT_UA_RE.source;\nexport { HTML_LIMITED_BOT_UA_RE };\nfunction isDomBotUA(userAgent) {\n return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent);\n}\nfunction isHtmlLimitedBotUA(userAgent) {\n return HTML_LIMITED_BOT_UA_RE.test(userAgent);\n}\nexport function isBot(userAgent) {\n return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent);\n}\nexport function getBotType(userAgent) {\n if (isDomBotUA(userAgent)) {\n return 'dom';\n }\n if (isHtmlLimitedBotUA(userAgent)) {\n return 'html';\n }\n return undefined;\n}\n\n//# sourceMappingURL=is-bot.js.map","// This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.\n// Note: The pattern [\\w-]+-Google captures all Google crawlers with \"-Google\" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)\n// as well as crawlers starting with \"Google-\" (e.g., Google-PageRenderer, Google-InspectionTool)\nexport const HTML_LIMITED_BOT_UA_RE = /[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;\n\n//# sourceMappingURL=html-bots.js.map","import {\n getBotType,\n HTML_LIMITED_BOT_UA_RE_STRING,\n} from '../../shared/lib/router/utils/is-bot'\nimport type { BaseNextRequest } from '../base-http'\n\nexport function shouldServeStreamingMetadata(\n userAgent: string,\n htmlLimitedBots: string | undefined\n): boolean {\n const blockingMetadataUARegex = new RegExp(\n htmlLimitedBots || HTML_LIMITED_BOT_UA_RE_STRING,\n 'i'\n )\n // Only block metadata for HTML-limited bots\n if (userAgent && blockingMetadataUARegex.test(userAgent)) {\n return false\n }\n return true\n}\n\n// When the request UA is a html-limited bot, we should do a dynamic render.\n// In this case, postpone state is not sent.\nexport function isHtmlBotRequest(req: {\n headers: BaseNextRequest['headers']\n}): boolean {\n const ua = req.headers['user-agent'] || ''\n const botType = getBotType(ua)\n\n return botType === 'html'\n}\n","import type { IncomingMessage } from 'http'\nimport type { BaseNextRequest } from '../base-http'\nimport type { NextRequest } from '../web/exports'\nimport { ACTION_HEADER } from '../../client/components/app-router-headers'\n\nexport function getServerActionRequestMetadata(\n req: IncomingMessage | BaseNextRequest | NextRequest\n): {\n actionId: string | null\n isURLEncodedAction: boolean\n isMultipartAction: boolean\n isFetchAction: boolean\n isPossibleServerAction: boolean\n} {\n let actionId: string | null\n let contentType: string | null\n\n if (req.headers instanceof Headers) {\n actionId = req.headers.get(ACTION_HEADER) ?? null\n contentType = req.headers.get('content-type')\n } else {\n actionId = (req.headers[ACTION_HEADER] as string) ?? null\n contentType = req.headers['content-type'] ?? null\n }\n\n // We don't actually support URL encoded actions, and the action handler will bail out if it sees one.\n // But we still want it to flow through to the action handler, to prevent changes in behavior when a regular\n // page component tries to handle a POST.\n const isURLEncodedAction = Boolean(\n req.method === 'POST' && contentType === 'application/x-www-form-urlencoded'\n )\n const isMultipartAction = Boolean(\n req.method === 'POST' && contentType?.startsWith('multipart/form-data')\n )\n const isFetchAction = Boolean(\n actionId !== undefined &&\n typeof actionId === 'string' &&\n req.method === 'POST'\n )\n\n const isPossibleServerAction = Boolean(\n isFetchAction || isURLEncodedAction || isMultipartAction\n )\n\n return {\n actionId,\n isURLEncodedAction,\n isMultipartAction,\n isFetchAction,\n isPossibleServerAction,\n }\n}\n\nexport function getIsPossibleServerAction(\n req: IncomingMessage | BaseNextRequest | NextRequest\n): boolean {\n return getServerActionRequestMetadata(req).isPossibleServerAction\n}\n","export type ScheduledFn = () => T | PromiseLike\nexport type SchedulerFn = (cb: ScheduledFn) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn) => {\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(() => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n process.nextTick(cb)\n }\n })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn): void => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n setImmediate(cb)\n }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n return new Promise((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r) => setTimeout(r, 0))\n } else {\n return new Promise((r) => setImmediate(r))\n }\n}\n","import type { OutgoingHttpHeaders } from 'http'\nimport type RenderResult from '../render-result'\nimport type { CacheControl, Revalidate } from '../lib/cache-control'\nimport type { RouteKind } from '../route-kind'\n\nexport interface ResponseCacheBase {\n get(\n key: string | null,\n responseGenerator: ResponseGenerator,\n context: {\n isOnDemandRevalidate?: boolean\n isPrefetch?: boolean\n incrementalCache: IncrementalCache\n /**\n * This is a hint to the cache to help it determine what kind of route\n * this is so it knows where to look up the cache entry from. If not\n * provided it will test the filesystem to check.\n */\n routeKind: RouteKind\n\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n }\n ): Promise\n}\n\n// The server components HMR cache might store other data as well in the future,\n// at which point this should be refactored to a discriminated union type.\nexport interface ServerComponentsHmrCache {\n get(key: string): CachedFetchData | undefined\n set(key: string, data: CachedFetchData): void\n}\n\nexport type CachedFetchData = {\n headers: Record\n body: string\n url: string\n status?: number\n}\n\nexport const enum CachedRouteKind {\n APP_PAGE = 'APP_PAGE',\n APP_ROUTE = 'APP_ROUTE',\n PAGES = 'PAGES',\n FETCH = 'FETCH',\n REDIRECT = 'REDIRECT',\n IMAGE = 'IMAGE',\n}\n\nexport interface CachedFetchValue {\n kind: CachedRouteKind.FETCH\n data: CachedFetchData\n // tags are only present with file-system-cache\n // fetch cache stores tags outside of cache entry\n tags?: string[]\n revalidate: number\n}\n\nexport interface CachedRedirectValue {\n kind: CachedRouteKind.REDIRECT\n props: Object\n}\n\nexport interface CachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n html: RenderResult\n rscData: Buffer | undefined\n status: number | undefined\n postponed: string | undefined\n headers: OutgoingHttpHeaders | undefined\n segmentData: Map | undefined\n}\n\nexport interface CachedPageValue {\n kind: CachedRouteKind.PAGES\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n html: RenderResult\n pageData: Object\n status: number | undefined\n headers: OutgoingHttpHeaders | undefined\n}\n\nexport interface CachedRouteValue {\n kind: CachedRouteKind.APP_ROUTE\n // this needs to be a RenderResult so since renderResponse\n // expects that type instead of a string\n body: Buffer\n status: number\n headers: OutgoingHttpHeaders\n}\n\nexport interface CachedImageValue {\n kind: CachedRouteKind.IMAGE\n etag: string\n upstreamEtag: string\n buffer: Buffer\n extension: string\n revalidate?: number\n isMiss?: boolean\n isStale?: boolean\n}\n\nexport interface IncrementalCachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE\n // this needs to be a string since the cache expects to store\n // the string value\n html: string\n rscData: Buffer | undefined\n headers: OutgoingHttpHeaders | undefined\n postponed: string | undefined\n status: number | undefined\n segmentData: Map | undefined\n}\n\nexport interface IncrementalCachedPageValue {\n kind: CachedRouteKind.PAGES\n // this needs to be a string since the cache expects to store\n // the string value\n html: string\n pageData: Object\n headers: OutgoingHttpHeaders | undefined\n status: number | undefined\n}\n\nexport interface IncrementalResponseCacheEntry {\n cacheControl?: CacheControl\n /**\n * timestamp in milliseconds to revalidate after\n */\n revalidateAfter?: Revalidate\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1\n isMiss?: boolean\n isFallback?: boolean\n value: Exclude | null\n}\n\nexport interface IncrementalFetchCacheEntry {\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1\n value: CachedFetchValue\n}\n\nexport type IncrementalCacheEntry =\n | IncrementalResponseCacheEntry\n | IncrementalFetchCacheEntry\n\nexport type IncrementalCacheValue =\n | CachedRedirectValue\n | IncrementalCachedPageValue\n | IncrementalCachedAppPageValue\n | CachedImageValue\n | CachedFetchValue\n | CachedRouteValue\n\nexport type ResponseCacheValue =\n | CachedRedirectValue\n | CachedPageValue\n | CachedAppPageValue\n | CachedImageValue\n | CachedRouteValue\n\nexport type ResponseCacheEntry = {\n cacheControl?: CacheControl\n value: ResponseCacheValue | null\n isStale?: boolean | -1\n isMiss?: boolean\n isFallback?: boolean\n}\n\n/**\n * @param hasResolved whether the responseGenerator has resolved it's promise\n * @param previousCacheEntry the previous cache entry if it exists or the current\n */\nexport type ResponseGenerator = (state: {\n hasResolved: boolean\n previousCacheEntry?: IncrementalResponseCacheEntry | null\n isRevalidating?: boolean\n span?: any\n\n /**\n * When true, this indicates that the response generator is being called in a\n * context where the response must be generated statically.\n *\n * CRITICAL: This should only currently be used when revalidating due to a\n * dynamic RSC request.\n */\n forceStaticRender?: boolean\n}) => Promise\n\nexport const enum IncrementalCacheKind {\n APP_PAGE = 'APP_PAGE',\n APP_ROUTE = 'APP_ROUTE',\n PAGES = 'PAGES',\n FETCH = 'FETCH',\n IMAGE = 'IMAGE',\n}\n\nexport interface GetIncrementalFetchCacheContext {\n kind: IncrementalCacheKind.FETCH\n revalidate?: Revalidate\n fetchUrl?: string\n fetchIdx?: number\n tags?: string[]\n softTags?: string[]\n}\n\nexport interface GetIncrementalResponseCacheContext {\n kind: Exclude\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n\n /**\n * True if this is a fallback request.\n */\n isFallback: boolean\n}\n\nexport interface SetIncrementalFetchCacheContext {\n fetchCache: true\n fetchUrl?: string\n fetchIdx?: number\n tags?: string[]\n isImplicitBuildTimeCache?: boolean\n}\n\nexport interface SetIncrementalResponseCacheContext {\n fetchCache?: false\n cacheControl?: CacheControl\n\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean\n\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean\n}\n\nexport interface IncrementalResponseCache {\n get(\n cacheKey: string,\n ctx: GetIncrementalResponseCacheContext\n ): Promise\n set(\n key: string,\n data: Exclude | null,\n ctx: SetIncrementalResponseCacheContext\n ): Promise\n}\n\nexport interface IncrementalCache extends IncrementalResponseCache {\n get(\n cacheKey: string,\n ctx: GetIncrementalFetchCacheContext\n ): Promise\n get(\n cacheKey: string,\n ctx: GetIncrementalResponseCacheContext\n ): Promise\n set(\n key: string,\n data: CachedFetchValue | null,\n ctx: SetIncrementalFetchCacheContext\n ): Promise\n set(\n key: string,\n data: Exclude | null,\n ctx: SetIncrementalResponseCacheContext\n ): Promise\n revalidateTag(\n tags: string | string[],\n durations?: { expire?: number }\n ): Promise\n}\n","export const ENCODED_TAGS = {\n // opening tags do not have the closing `>` since they can contain other attributes such as ``\n OPENING: {\n // \n HEAD: new Uint8Array([60, 47, 104, 101, 97, 100, 62]),\n // \n BODY: new Uint8Array([60, 47, 98, 111, 100, 121, 62]),\n // \n HTML: new Uint8Array([60, 47, 104, 116, 109, 108, 62]),\n // \n BODY_AND_HTML: new Uint8Array([\n 60, 47, 98, 111, 100, 121, 62, 60, 47, 104, 116, 109, 108, 62,\n ]),\n },\n META: {\n // Only the match the prefix cause the suffix can be different wether it's xml compatible or not \">\" or \"/>\"\n // nextStream.pipeTo(writable, {\n preventClose: true\n }));\n }\n // We can omit the length check because we halted before the last stream and there\n // is at least two streams so the lastStream here will always be defined\n const lastStream = streams[i];\n promise = promise.then(()=>lastStream.pipeTo(writable));\n // Catch any errors from the streams and ignore them, they will be handled\n // by whatever is consuming the readable stream.\n promise.catch(voidCatch);\n return readable;\n}\nexport function streamFromString(str) {\n return new ReadableStream({\n start (controller) {\n controller.enqueue(encoder.encode(str));\n controller.close();\n }\n });\n}\nexport function streamFromBuffer(chunk) {\n return new ReadableStream({\n start (controller) {\n controller.enqueue(chunk);\n controller.close();\n }\n });\n}\nasync function streamToChunks(stream) {\n const reader = stream.getReader();\n const chunks = [];\n while(true){\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n chunks.push(value);\n }\n return chunks;\n}\nfunction concatUint8Arrays(chunks) {\n const totalLength = chunks.reduce((sum, chunk)=>sum + chunk.length, 0);\n const result = new Uint8Array(totalLength);\n let offset = 0;\n for (const chunk of chunks){\n result.set(chunk, offset);\n offset += chunk.length;\n }\n return result;\n}\nexport async function streamToUint8Array(stream) {\n return concatUint8Arrays(await streamToChunks(stream));\n}\nexport async function streamToBuffer(stream) {\n return Buffer.concat(await streamToChunks(stream));\n}\nexport async function streamToString(stream, signal) {\n const decoder = new TextDecoder('utf-8', {\n fatal: true\n });\n let string = '';\n for await (const chunk of stream){\n if (signal == null ? void 0 : signal.aborted) {\n return string;\n }\n string += decoder.decode(chunk, {\n stream: true\n });\n }\n string += decoder.decode();\n return string;\n}\nexport function createBufferedTransformStream(options = {}) {\n const { maxBufferByteLength = Infinity } = options;\n let bufferedChunks = [];\n let bufferByteLength = 0;\n let pending;\n const flush = (controller)=>{\n try {\n if (bufferedChunks.length === 0) {\n return;\n }\n const chunk = new Uint8Array(bufferByteLength);\n let copiedBytes = 0;\n for(let i = 0; i < bufferedChunks.length; i++){\n const bufferedChunk = bufferedChunks[i];\n chunk.set(bufferedChunk, copiedBytes);\n copiedBytes += bufferedChunk.byteLength;\n }\n // We just wrote all the buffered chunks so we need to reset the bufferedChunks array\n // and our bufferByteLength to prepare for the next round of buffered chunks\n bufferedChunks.length = 0;\n bufferByteLength = 0;\n controller.enqueue(chunk);\n } catch {\n // If an error occurs while enqueuing, it can't be due to this\n // transformer. It's most likely caused by the controller having been\n // errored (for example, if the stream was cancelled).\n }\n };\n const scheduleFlush = (controller)=>{\n if (pending) {\n return;\n }\n const detached = new DetachedPromise();\n pending = detached;\n scheduleImmediate(()=>{\n try {\n flush(controller);\n } finally{\n pending = undefined;\n detached.resolve();\n }\n });\n };\n return new TransformStream({\n transform (chunk, controller) {\n // Combine the previous buffer with the new chunk.\n bufferedChunks.push(chunk);\n bufferByteLength += chunk.byteLength;\n if (bufferByteLength >= maxBufferByteLength) {\n flush(controller);\n } else {\n scheduleFlush(controller);\n }\n },\n flush () {\n return pending == null ? void 0 : pending.promise;\n }\n });\n}\n// TODO this is currently unused but once we add proper output:export support, it needs to be\n// revisited. See https://github.com/vercel/next.js/pull/89478 for more details\n//\n// function createPrefetchCommentStream(\n// isBuildTimePrerendering: boolean,\n// buildId: string\n// ): TransformStream {\n// // Insert an extra comment at the beginning of the HTML document. This must\n// // come after the DOCTYPE, which is inserted by React.\n// //\n// // The first chunk sent by React will contain the doctype. After that, we can\n// // pass through the rest of the chunks as-is.\n// let didTransformFirstChunk = false\n// return new TransformStream({\n// transform(chunk, controller) {\n// if (isBuildTimePrerendering && !didTransformFirstChunk) {\n// didTransformFirstChunk = true\n// const decoder = new TextDecoder('utf-8', { fatal: true })\n// const chunkStr = decoder.decode(chunk, {\n// stream: true,\n// })\n// const updatedChunkStr = insertBuildIdComment(chunkStr, buildId)\n// controller.enqueue(encoder.encode(updatedChunkStr))\n// return\n// }\n// controller.enqueue(chunk)\n// },\n// })\n// }\nexport function renderToInitialFizzStream({ ReactDOMServer, element, streamOptions }) {\n return getTracer().trace(AppRenderSpan.renderToReadableStream, async ()=>ReactDOMServer.renderToReadableStream(element, streamOptions));\n}\nfunction createMetadataTransformStream(insert) {\n let chunkIndex = -1;\n let isMarkRemoved = false;\n return new TransformStream({\n async transform (chunk, controller) {\n let iconMarkIndex = -1;\n let closedHeadIndex = -1;\n chunkIndex++;\n if (isMarkRemoved) {\n controller.enqueue(chunk);\n return;\n }\n let iconMarkLength = 0;\n // Only search for the closed head tag once\n if (iconMarkIndex === -1) {\n iconMarkIndex = indexOfUint8Array(chunk, ENCODED_TAGS.META.ICON_MARK);\n if (iconMarkIndex === -1) {\n controller.enqueue(chunk);\n return;\n } else {\n // When we found the `` or `>`, checking the next char to ensure we cover both cases.\n iconMarkLength = ENCODED_TAGS.META.ICON_MARK.length;\n // Check if next char is /, this is for xml mode.\n if (chunk[iconMarkIndex + iconMarkLength] === 47) {\n iconMarkLength += 2;\n } else {\n // The last char is `>`\n iconMarkLength++;\n }\n }\n }\n // Check if icon mark is inside tag in the first chunk.\n if (chunkIndex === 0) {\n closedHeadIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n if (iconMarkIndex !== -1) {\n // The mark icon is located in the 1st chunk before the head tag.\n // We do not need to insert the script tag in this case because it's in the head.\n // Just remove the icon mark from the chunk.\n if (iconMarkIndex < closedHeadIndex) {\n const replaced = new Uint8Array(chunk.length - iconMarkLength);\n // Remove the icon mark from the chunk.\n replaced.set(chunk.subarray(0, iconMarkIndex));\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex);\n chunk = replaced;\n } else {\n // The icon mark is after the head tag, replace and insert the script tag at that position.\n const insertion = await insert();\n const encodedInsertion = encoder.encode(insertion);\n const insertionLength = encodedInsertion.length;\n const replaced = new Uint8Array(chunk.length - iconMarkLength + insertionLength);\n replaced.set(chunk.subarray(0, iconMarkIndex));\n replaced.set(encodedInsertion, iconMarkIndex);\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex + insertionLength);\n chunk = replaced;\n }\n isMarkRemoved = true;\n }\n // If there's no icon mark located, it will be handled later when if present in the following chunks.\n } else {\n // When it's appeared in the following chunks, we'll need to\n // remove the mark and then insert the script tag at that position.\n const insertion = await insert();\n const encodedInsertion = encoder.encode(insertion);\n const insertionLength = encodedInsertion.length;\n // Replace the icon mark with the hoist script or empty string.\n const replaced = new Uint8Array(chunk.length - iconMarkLength + insertionLength);\n // Set the first part of the chunk, before the icon mark.\n replaced.set(chunk.subarray(0, iconMarkIndex));\n // Set the insertion after the icon mark.\n replaced.set(encodedInsertion, iconMarkIndex);\n // Set the rest of the chunk after the icon mark.\n replaced.set(chunk.subarray(iconMarkIndex + iconMarkLength), iconMarkIndex + insertionLength);\n chunk = replaced;\n isMarkRemoved = true;\n }\n controller.enqueue(chunk);\n }\n });\n}\nfunction createHeadInsertionTransformStream(insert) {\n let inserted = false;\n // We need to track if this transform saw any bytes because if it didn't\n // we won't want to insert any server HTML at all\n let hasBytes = false;\n return new TransformStream({\n async transform (chunk, controller) {\n hasBytes = true;\n const insertion = await insert();\n if (inserted) {\n if (insertion) {\n const encodedInsertion = encoder.encode(insertion);\n controller.enqueue(encodedInsertion);\n }\n controller.enqueue(chunk);\n } else {\n // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n // In fully static rendering or non PPR rendering cases:\n // `/head>` will always be found in the chunk in first chunk rendering.\n if (index !== -1) {\n if (insertion) {\n const encodedInsertion = encoder.encode(insertion);\n // Get the total count of the bytes in the chunk and the insertion\n // e.g.\n // chunk = \n // insertion = \n // output = [ ] \n const insertedHeadContent = new Uint8Array(chunk.length + encodedInsertion.length);\n // Append the first part of the chunk, before the head tag\n insertedHeadContent.set(chunk.slice(0, index));\n // Append the server inserted content\n insertedHeadContent.set(encodedInsertion, index);\n // Append the rest of the chunk\n insertedHeadContent.set(chunk.slice(index), index + encodedInsertion.length);\n controller.enqueue(insertedHeadContent);\n } else {\n controller.enqueue(chunk);\n }\n inserted = true;\n } else {\n // This will happens in PPR rendering during next start, when the page is partially rendered.\n // When the page resumes, the head tag will be found in the middle of the chunk.\n // Where we just need to append the insertion and chunk to the current stream.\n // e.g.\n // PPR-static: ... [ resume content ] \n // PPR-resume: [ insertion ] [ rest content ]\n if (insertion) {\n controller.enqueue(encoder.encode(insertion));\n }\n controller.enqueue(chunk);\n inserted = true;\n }\n }\n },\n async flush (controller) {\n // Check before closing if there's anything remaining to insert.\n if (hasBytes) {\n const insertion = await insert();\n if (insertion) {\n controller.enqueue(encoder.encode(insertion));\n }\n }\n }\n });\n}\nasync function createClientResumeScriptInsertionTransformStream() {\n const segmentPath = '/_full';\n const cacheBustingHeader = await computeCacheBustingSearchParam('1', '/_full', undefined, undefined // headers[NEXT_URL]\n );\n const searchStr = `${NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`;\n const NEXT_CLIENT_RESUME_SCRIPT = ``;\n let didAlreadyInsert = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (didAlreadyInsert) {\n // Already inserted the script into the head. Pass through.\n controller.enqueue(chunk);\n return;\n }\n // TODO (@Ethan-Arrowood): Replace the generic `indexOfUint8Array` method with something finely tuned for the subset of things actually being checked for.\n const headClosingTagIndex = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.HEAD);\n if (headClosingTagIndex === -1) {\n // In fully static rendering or non PPR rendering cases:\n // `/head>` will always be found in the chunk in first chunk rendering.\n controller.enqueue(chunk);\n return;\n }\n const encodedInsertion = encoder.encode(NEXT_CLIENT_RESUME_SCRIPT);\n // Get the total count of the bytes in the chunk and the insertion\n // e.g.\n // chunk = \n // insertion = \n // output = [ ] \n const insertedHeadContent = new Uint8Array(chunk.length + encodedInsertion.length);\n // Append the first part of the chunk, before the head tag\n insertedHeadContent.set(chunk.slice(0, headClosingTagIndex));\n // Append the server inserted content\n insertedHeadContent.set(encodedInsertion, headClosingTagIndex);\n // Append the rest of the chunk\n insertedHeadContent.set(chunk.slice(headClosingTagIndex), headClosingTagIndex + encodedInsertion.length);\n controller.enqueue(insertedHeadContent);\n didAlreadyInsert = true;\n }\n });\n}\n/**\n * Creates a transform stream that injects an inline script as the first\n * element inside . Used during instant navigation testing to set\n * self.__next_instant_test before any async bootstrap scripts execute.\n */ export async function createInstantTestScriptInsertionTransformStream(requestId) {\n // Kick off a fetch for the static RSC payload. This is the hydration\n // source for the locked static shell — same as the __NEXT_CLIENT_RESUME\n // fetch used for fallback routes, but with NEXT_INSTANT_PREFETCH_HEADER\n // so the server returns static-only data.\n //\n // The fetch promise is stored as self.__next_instant_test, which doubles\n // as the feature flag (truthy = instant test mode). The client processes\n // this as a fallback prerender payload for hydration.\n const segmentPath = '/_full';\n const cacheBustingHeader = await computeCacheBustingSearchParam('1', segmentPath, undefined, undefined);\n const searchStr = `${NEXT_RSC_UNION_QUERY}=${cacheBustingHeader}`;\n // In dev mode, inject self.__next_r (request ID) so that HMR WebSocket\n // and debug channel initialization don't crash. The static shell\n // bypasses renderToFizzStream which normally injects this via\n // bootstrapScriptContent.\n const requestIdScript = requestId !== null ? `self.__next_r=${JSON.stringify(requestId)};` : '';\n const INSTANT_TEST_SCRIPT = ``;\n let didAlreadyInsert = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (didAlreadyInsert) {\n // Already inserted the script into the head. Pass through.\n controller.enqueue(chunk);\n return;\n }\n // Find the opening )\n const headOpenIndex = indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HEAD);\n if (headOpenIndex === -1) {\n controller.enqueue(chunk);\n return;\n }\n // Find the closing > of the tag\n const headCloseAngle = chunk.indexOf(62, headOpenIndex + ENCODED_TAGS.OPENING.HEAD.length);\n if (headCloseAngle === -1) {\n controller.enqueue(chunk);\n return;\n }\n const encodedInsertion = encoder.encode(INSTANT_TEST_SCRIPT);\n const insertionPoint = headCloseAngle + 1;\n // e.g.\n // chunk = ...\n // insertion = \n // output = [ ] ...\n const insertedHeadContent = new Uint8Array(chunk.length + encodedInsertion.length);\n insertedHeadContent.set(chunk.slice(0, insertionPoint));\n insertedHeadContent.set(encodedInsertion, insertionPoint);\n insertedHeadContent.set(chunk.slice(insertionPoint), insertionPoint + encodedInsertion.length);\n controller.enqueue(insertedHeadContent);\n didAlreadyInsert = true;\n },\n flush (controller) {\n // Append closing tags so the browser can parse the full document.\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n }\n });\n}\n// Suffix after main body content - scripts before ,\n// but wait for the major chunks to be enqueued.\nfunction createDeferredSuffixStream(suffix) {\n let flushed = false;\n let pending;\n const flush = (controller)=>{\n const detached = new DetachedPromise();\n pending = detached;\n scheduleImmediate(()=>{\n try {\n controller.enqueue(encoder.encode(suffix));\n } catch {\n // If an error occurs while enqueuing it can't be due to this\n // transformers fault. It's likely due to the controller being\n // errored due to the stream being cancelled.\n } finally{\n pending = undefined;\n detached.resolve();\n }\n });\n };\n return new TransformStream({\n transform (chunk, controller) {\n controller.enqueue(chunk);\n // If we've already flushed, we're done.\n if (flushed) return;\n // Schedule the flush to happen.\n flushed = true;\n flush(controller);\n },\n flush (controller) {\n if (pending) return pending.promise;\n if (flushed) return;\n // Flush now.\n controller.enqueue(encoder.encode(suffix));\n }\n });\n}\nfunction createFlightDataInjectionTransformStream(stream, delayDataUntilFirstHtmlChunk) {\n let htmlStreamFinished = false;\n let pull = null;\n let donePulling = false;\n function startOrContinuePulling(controller) {\n if (!pull) {\n pull = startPulling(controller);\n }\n return pull;\n }\n async function startPulling(controller) {\n const reader = stream.getReader();\n if (delayDataUntilFirstHtmlChunk) {\n // NOTE: streaming flush\n // We are buffering here for the inlined data stream because the\n // \"shell\" stream might be chunkenized again by the underlying stream\n // implementation, e.g. with a specific high-water mark. To ensure it's\n // the safe timing to pipe the data stream, this extra tick is\n // necessary.\n // We don't start reading until we've left the current Task to ensure\n // that it's inserted after flushing the shell. Note that this implementation\n // might get stale if impl details of Fizz change in the future.\n await atLeastOneTask();\n }\n try {\n while(true){\n const { done, value } = await reader.read();\n if (done) {\n donePulling = true;\n return;\n }\n // We want to prioritize HTML over RSC data.\n // The SSR render is based on the same RSC stream, so when we get a new RSC chunk,\n // we're likely to produce an HTML chunk as well, so give it a chance to flush first.\n if (!delayDataUntilFirstHtmlChunk && !htmlStreamFinished) {\n await atLeastOneTask();\n }\n controller.enqueue(value);\n }\n } catch (err) {\n controller.error(err);\n }\n }\n return new TransformStream({\n start (controller) {\n if (!delayDataUntilFirstHtmlChunk) {\n startOrContinuePulling(controller);\n }\n },\n transform (chunk, controller) {\n controller.enqueue(chunk);\n // Start the streaming if it hasn't already been started yet.\n if (delayDataUntilFirstHtmlChunk) {\n startOrContinuePulling(controller);\n }\n },\n flush (controller) {\n htmlStreamFinished = true;\n if (donePulling) {\n return;\n }\n return startOrContinuePulling(controller);\n }\n });\n}\nconst CLOSE_TAG = '';\n/**\n * This transform stream moves the suffix to the end of the stream, so results\n * like `` will be transformed to\n * ``.\n */ function createMoveSuffixStream() {\n let foundSuffix = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (foundSuffix) {\n return controller.enqueue(chunk);\n }\n const index = indexOfUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n if (index > -1) {\n foundSuffix = true;\n // If the whole chunk is the suffix, then don't write anything, it will\n // be written in the flush.\n if (chunk.length === ENCODED_TAGS.CLOSED.BODY_AND_HTML.length) {\n return;\n }\n // Write out the part before the suffix.\n const before = chunk.slice(0, index);\n controller.enqueue(before);\n // In the case where the suffix is in the middle of the chunk, we need\n // to split the chunk into two parts.\n if (chunk.length > ENCODED_TAGS.CLOSED.BODY_AND_HTML.length + index) {\n // Write out the part after the suffix.\n const after = chunk.slice(index + ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);\n controller.enqueue(after);\n }\n } else {\n controller.enqueue(chunk);\n }\n },\n flush (controller) {\n // Even if we didn't find the suffix, the HTML is not valid if we don't\n // add it, so insert it at the end.\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n }\n });\n}\nfunction createStripDocumentClosingTagsTransform() {\n return new TransformStream({\n transform (chunk, controller) {\n // We rely on the assumption that chunks will never break across a code unit.\n // This is reasonable because we currently concat all of React's output from a single\n // flush into one chunk before streaming it forward which means the chunk will represent\n // a single coherent utf-8 string. This is not safe to use if we change our streaming to no\n // longer do this large buffered chunk\n if (isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY_AND_HTML) || isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.BODY) || isEquivalentUint8Arrays(chunk, ENCODED_TAGS.CLOSED.HTML)) {\n // the entire chunk is the closing tags; return without enqueueing anything.\n return;\n }\n // We assume these tags will go at together at the end of the document and that\n // they won't appear anywhere else in the document. This is not really a safe assumption\n // but until we revamp our streaming infra this is a performant way to string the tags\n chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.BODY);\n chunk = removeFromUint8Array(chunk, ENCODED_TAGS.CLOSED.HTML);\n controller.enqueue(chunk);\n }\n });\n}\nfunction createHtmlDataDplIdTransformStream(dplId) {\n let didTransform = false;\n return new TransformStream({\n transform (chunk, controller) {\n if (didTransform) {\n controller.enqueue(chunk);\n return;\n }\n const htmlTagIndex = indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.HTML);\n if (htmlTagIndex === -1) {\n controller.enqueue(chunk);\n return;\n }\n // Insert the data-dpl-id attribute right after \" -1) {\n foundHtml = true;\n }\n if (!foundBody && indexOfUint8Array(chunk, ENCODED_TAGS.OPENING.BODY) > -1) {\n foundBody = true;\n }\n controller.enqueue(chunk);\n },\n flush (controller) {\n const missingTags = [];\n if (!foundHtml) missingTags.push('html');\n if (!foundBody) missingTags.push('body');\n if (!missingTags.length) return;\n controller.enqueue(encoder.encode(`\n `<${c}>`).join(missingTags.length > 1 ? ' and ' : '')} tags in the root layout.\\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags\"\n data-next-error-digest=\"${MISSING_ROOT_TAGS_ERROR}\"\n data-next-error-stack=\"\"\n >\n `));\n }\n });\n}\nfunction chainTransformers(readable, transformers) {\n let stream = readable;\n for (const transformer of transformers){\n if (!transformer) continue;\n stream = stream.pipeThrough(transformer);\n }\n return stream;\n}\nexport async function continueFizzStream(renderStream, { suffix, inlinedDataStream, isStaticGeneration, deploymentId, getServerInsertedHTML, getServerInsertedMetadata, validateRootLayout }) {\n // Suffix itself might contain close tags at the end, so we need to split it.\n const suffixUnclosed = suffix ? suffix.split(CLOSE_TAG, 1)[0] : null;\n if (isStaticGeneration) {\n // If we're generating static HTML we need to wait for it to resolve before continuing.\n await renderStream.allReady;\n } else {\n // Otherwise, we want to make sure Fizz is done with all microtasky work\n // before we start pulling the stream and cause a flush.\n await waitAtLeastOneReactRenderTask();\n }\n return chainTransformers(renderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n // Insert data-dpl-id attribute on the html tag\n deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata),\n // Insert suffix content\n suffixUnclosed != null && suffixUnclosed.length > 0 ? createDeferredSuffixStream(suffixUnclosed) : null,\n // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n inlinedDataStream ? createFlightDataInjectionTransformStream(inlinedDataStream, true) : null,\n // Validate the root layout for missing html or body tags\n validateRootLayout ? createRootLayoutValidatorStream() : null,\n // Close tags should always be deferred to the end\n createMoveSuffixStream(),\n // Special head insertions\n // TODO-APP: Insert server side html to end of head in app layout rendering, to avoid\n // hydration errors. Remove this once it's ready to be handled by react itself.\n createHeadInsertionTransformStream(getServerInsertedHTML)\n ]);\n}\nexport async function continueDynamicPrerender(prerenderStream, { getServerInsertedHTML, getServerInsertedMetadata, deploymentId }) {\n return chainTransformers(prerenderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n createStripDocumentClosingTagsTransform(),\n // Insert data-dpl-id attribute on the html tag\n deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n // Insert generated tags to head\n createHeadInsertionTransformStream(getServerInsertedHTML),\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata)\n ]);\n}\nexport async function continueStaticPrerender(prerenderStream, { inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata, deploymentId }) {\n return chainTransformers(prerenderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n // Add build id comment to start of the HTML document (in export mode)\n // Insert data-dpl-id attribute on the html tag\n deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n // Insert generated tags to head\n createHeadInsertionTransformStream(getServerInsertedHTML),\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata),\n // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n createFlightDataInjectionTransformStream(inlinedDataStream, true),\n // Close tags should always be deferred to the end\n createMoveSuffixStream()\n ]);\n}\nexport async function continueStaticFallbackPrerender(prerenderStream, { inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata, deploymentId }) {\n // Same as `continueStaticPrerender`, but also inserts an additional script\n // to instruct the client to start fetching the hydration data as early\n // as possible.\n return chainTransformers(prerenderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n // Insert data-dpl-id attribute on the html tag\n deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n // Insert generated tags to head\n createHeadInsertionTransformStream(getServerInsertedHTML),\n // Insert the client resume script into the head\n await createClientResumeScriptInsertionTransformStream(),\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata),\n // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n createFlightDataInjectionTransformStream(inlinedDataStream, true),\n // Close tags should always be deferred to the end\n createMoveSuffixStream()\n ]);\n}\nexport async function continueDynamicHTMLResume(renderStream, { delayDataUntilFirstHtmlChunk, inlinedDataStream, getServerInsertedHTML, getServerInsertedMetadata, deploymentId }) {\n return chainTransformers(renderStream, [\n // Buffer everything to avoid flushing too frequently\n createBufferedTransformStream(),\n // Insert data-dpl-id attribute on the html tag\n deploymentId ? createHtmlDataDplIdTransformStream(deploymentId) : null,\n // Insert generated tags to head\n createHeadInsertionTransformStream(getServerInsertedHTML),\n // Transform metadata\n createMetadataTransformStream(getServerInsertedMetadata),\n // Insert the inlined data (Flight data, form state, etc.) stream into the HTML\n createFlightDataInjectionTransformStream(inlinedDataStream, delayDataUntilFirstHtmlChunk),\n // Close tags should always be deferred to the end\n createMoveSuffixStream()\n ]);\n}\nexport function createDocumentClosingStream() {\n return streamFromString(CLOSE_TAG);\n}\n// ---------------------------------------------------------------------------\n// Runtime prefetch transform (Web streams)\n// ---------------------------------------------------------------------------\n/**\n * Web TransformStream that replaces the runtime prefetch sentinel in an RSC\n * payload stream: `[]` -> `[,]`.\n *\n * This is the web equivalent of createRuntimePrefetchNodeTransform\n * in node-stream-helpers.ts.\n */ export function createRuntimePrefetchTransformStream(sentinel, isPartial, staleTime) {\n const enc = new TextEncoder();\n // Search for: []\n // Replace with: [,]\n const search = enc.encode(`[${sentinel}]`);\n const first = search[0];\n const replace = enc.encode(`[${isPartial},${staleTime}]`);\n const searchLen = search.length;\n let currentChunk = null;\n let found = false;\n function processChunk(controller, nextChunk) {\n if (found) {\n if (nextChunk) {\n controller.enqueue(nextChunk);\n }\n return;\n }\n if (currentChunk) {\n // We can't search past the index that can contain a full match\n let exclusiveUpperBound = currentChunk.length - (searchLen - 1);\n if (nextChunk) {\n // If we have any overflow bytes we can search up to the chunk's final byte\n exclusiveUpperBound += Math.min(nextChunk.length, searchLen - 1);\n }\n if (exclusiveUpperBound < 1) {\n // we can't match the current chunk.\n controller.enqueue(currentChunk);\n currentChunk = nextChunk // advance so we don't process this chunk again\n ;\n return;\n }\n let currentIndex = currentChunk.indexOf(first);\n // check the current candidate match if it is within the bounds of our search space for the currentChunk\n candidateLoop: while(-1 < currentIndex && currentIndex < exclusiveUpperBound){\n // We already know index 0 matches because we used indexOf to find the candidateIndex so we start at index 1\n let matchIndex = 1;\n while(matchIndex < searchLen){\n const candidateIndex = currentIndex + matchIndex;\n const candidateValue = candidateIndex < currentChunk.length ? currentChunk[candidateIndex] : nextChunk[candidateIndex - currentChunk.length];\n if (candidateValue !== search[matchIndex]) {\n // No match, reset and continue the search from the next position\n currentIndex = currentChunk.indexOf(first, currentIndex + 1);\n continue candidateLoop;\n }\n matchIndex++;\n }\n // We found a complete match. currentIndex is our starting point to replace the value.\n found = true;\n // enqueue everything up to the match\n controller.enqueue(currentChunk.subarray(0, currentIndex));\n // enqueue the replacement value\n controller.enqueue(replace);\n // If there are bytes in the currentChunk after the match enqueue them\n if (currentIndex + searchLen < currentChunk.length) {\n controller.enqueue(currentChunk.slice(currentIndex + searchLen));\n }\n // If we have a next chunk we enqueue it now\n if (nextChunk) {\n // if replacement spills over to the next chunk we first exclude the replaced bytes\n const overflowBytes = currentIndex + searchLen - currentChunk.length;\n const truncatedChunk = overflowBytes > 0 ? nextChunk.subarray(overflowBytes) : nextChunk;\n controller.enqueue(truncatedChunk);\n }\n // We are now in found mode and don't need to track currentChunk anymore\n currentChunk = null;\n return;\n }\n // No match found in this chunk, emit it and wait for the next one\n controller.enqueue(currentChunk);\n }\n // Advance to the next chunk\n currentChunk = nextChunk;\n }\n return new TransformStream({\n transform (chunk, controller) {\n processChunk(controller, chunk);\n },\n flush (controller) {\n processChunk(controller, null);\n }\n });\n}\n\n//# sourceMappingURL=node-web-streams-helper.js.map","export const MISSING_ROOT_TAGS_ERROR = 'NEXT_MISSING_ROOT_TAGS';\n\n//# sourceMappingURL=constants.js.map","import { hexHash } from '../../hash';\nconst CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES = 12;\nconst textEncoder = new TextEncoder();\nfunction encodeCacheBustingSearchParam(bytes) {\n let binary = '';\n for(let i = 0; i < bytes.length; i++){\n binary += String.fromCharCode(bytes[i]);\n }\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n}\nfunction normalizeCacheBustingInput(value) {\n if (value === undefined) {\n return '0';\n }\n return Array.isArray(value) ? value.join(',') : value;\n}\nfunction createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) {\n return null;\n }\n return [\n prefetchHeader ?? '0',\n normalizeCacheBustingInput(segmentPrefetchHeader),\n normalizeCacheBustingInput(stateTreeHeader),\n normalizeCacheBustingInput(nextUrlHeader)\n ].join(',');\n}\nasync function computeCacheBustingSearchParamFromInput(input) {\n // Truncate SHA-256 to 96 bits to keep `_rsc` compact\n const digest = await globalThis.crypto.subtle.digest('SHA-256', textEncoder.encode(input));\n return encodeCacheBustingSearchParam(new Uint8Array(digest).subarray(0, CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES));\n}\nexport async function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);\n if (input === null) {\n return '';\n }\n return computeCacheBustingSearchParamFromInput(input);\n}\nexport function computeLegacyCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);\n if (input === null) {\n return '';\n }\n return hexHash(input);\n}\n\n//# sourceMappingURL=cache-busting-search-param.js.map","/**\n * Find the starting index of Uint8Array `b` within Uint8Array `a`.\n */ export function indexOfUint8Array(a, b) {\n if (b.length === 0) return 0;\n if (a.length === 0 || b.length > a.length) return -1;\n // Use Node's native implementation when available.\n if (typeof Buffer !== 'undefined') {\n const haystack = Buffer.isBuffer(a) ? a : Buffer.from(a.buffer, a.byteOffset, a.byteLength);\n return haystack.indexOf(b);\n }\n // start iterating through `a`\n for(let i = 0; i <= a.length - b.length; i++){\n let completeMatch = true;\n // from index `i`, iterate through `b` and check for mismatch\n for(let j = 0; j < b.length; j++){\n // if the values do not match, then this isn't a complete match, exit `b` iteration early and iterate to next index of `a`.\n if (a[i + j] !== b[j]) {\n completeMatch = false;\n break;\n }\n }\n if (completeMatch) {\n return i;\n }\n }\n return -1;\n}\n/**\n * Check if two Uint8Arrays are strictly equivalent.\n */ export function isEquivalentUint8Arrays(a, b) {\n if (a.length !== b.length) return false;\n for(let i = 0; i < a.length; i++){\n if (a[i] !== b[i]) return false;\n }\n return true;\n}\n/**\n * Remove Uint8Array `b` from Uint8Array `a`.\n *\n * If `b` is not in `a`, `a` is returned unchanged.\n *\n * Otherwise, the function returns a new Uint8Array instance with size `a.length - b.length`\n */ export function removeFromUint8Array(a, b) {\n const tagIndex = indexOfUint8Array(a, b);\n if (tagIndex === 0) return a.subarray(b.length);\n if (tagIndex > -1) {\n const removed = new Uint8Array(a.length - b.length);\n removed.set(a.subarray(0, tagIndex));\n removed.set(a.subarray(tagIndex + b.length), tagIndex);\n return removed;\n } else {\n return a;\n }\n}\n\n//# sourceMappingURL=uint8array-helpers.js.map","/**\n * A `Promise.withResolvers` implementation that exposes the `resolve` and\n * `reject` functions on a `Promise`.\n *\n * @see https://tc39.es/proposal-promise-with-resolvers/\n */ export class DetachedPromise {\n constructor(){\n let resolve;\n let reject;\n // Create the promise and assign the resolvers to the object.\n this.promise = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n // We know that resolvers is defined because the Promise constructor runs\n // synchronously.\n this.resolve = resolve;\n this.reject = reject;\n }\n}\n\n//# sourceMappingURL=detached-promise.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n RequestCookies: () => RequestCookies,\n ResponseCookies: () => ResponseCookies,\n parseCookie: () => parseCookie,\n parseSetCookie: () => parseSetCookie,\n stringifyCookie: () => stringifyCookie\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/serialize.ts\nfunction stringifyCookie(c) {\n var _a;\n const attrs = [\n \"path\" in c && c.path && `Path=${c.path}`,\n \"expires\" in c && (c.expires || c.expires === 0) && `Expires=${(typeof c.expires === \"number\" ? new Date(c.expires) : c.expires).toUTCString()}`,\n \"maxAge\" in c && typeof c.maxAge === \"number\" && `Max-Age=${c.maxAge}`,\n \"domain\" in c && c.domain && `Domain=${c.domain}`,\n \"secure\" in c && c.secure && \"Secure\",\n \"httpOnly\" in c && c.httpOnly && \"HttpOnly\",\n \"sameSite\" in c && c.sameSite && `SameSite=${c.sameSite}`,\n \"partitioned\" in c && c.partitioned && \"Partitioned\",\n \"priority\" in c && c.priority && `Priority=${c.priority}`\n ].filter(Boolean);\n const stringified = `${c.name}=${encodeURIComponent((_a = c.value) != null ? _a : \"\")}`;\n return attrs.length === 0 ? stringified : `${stringified}; ${attrs.join(\"; \")}`;\n}\nfunction parseCookie(cookie) {\n const map = /* @__PURE__ */ new Map();\n for (const pair of cookie.split(/; */)) {\n if (!pair)\n continue;\n const splitAt = pair.indexOf(\"=\");\n if (splitAt === -1) {\n map.set(pair, \"true\");\n continue;\n }\n const [key, value] = [pair.slice(0, splitAt), pair.slice(splitAt + 1)];\n try {\n map.set(key, decodeURIComponent(value != null ? value : \"true\"));\n } catch {\n }\n }\n return map;\n}\nfunction parseSetCookie(setCookie) {\n if (!setCookie) {\n return void 0;\n }\n const [[name, value], ...attributes] = parseCookie(setCookie);\n const {\n domain,\n expires,\n httponly,\n maxage,\n path,\n samesite,\n secure,\n partitioned,\n priority\n } = Object.fromEntries(\n attributes.map(([key, value2]) => [\n key.toLowerCase().replace(/-/g, \"\"),\n value2\n ])\n );\n const cookie = {\n name,\n value: decodeURIComponent(value),\n domain,\n ...expires && { expires: new Date(expires) },\n ...httponly && { httpOnly: true },\n ...typeof maxage === \"string\" && { maxAge: Number(maxage) },\n path,\n ...samesite && { sameSite: parseSameSite(samesite) },\n ...secure && { secure: true },\n ...priority && { priority: parsePriority(priority) },\n ...partitioned && { partitioned: true }\n };\n return compact(cookie);\n}\nfunction compact(t) {\n const newT = {};\n for (const key in t) {\n if (t[key]) {\n newT[key] = t[key];\n }\n }\n return newT;\n}\nvar SAME_SITE = [\"strict\", \"lax\", \"none\"];\nfunction parseSameSite(string) {\n string = string.toLowerCase();\n return SAME_SITE.includes(string) ? string : void 0;\n}\nvar PRIORITY = [\"low\", \"medium\", \"high\"];\nfunction parsePriority(string) {\n string = string.toLowerCase();\n return PRIORITY.includes(string) ? string : void 0;\n}\nfunction splitCookiesString(cookiesString) {\n if (!cookiesString)\n return [];\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n cookiesSeparatorFound = true;\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n\n// src/request-cookies.ts\nvar RequestCookies = class {\n constructor(requestHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n this._headers = requestHeaders;\n const header = requestHeaders.get(\"cookie\");\n if (header) {\n const parsed = parseCookie(header);\n for (const [name, value] of parsed) {\n this._parsed.set(name, { name, value });\n }\n }\n }\n [Symbol.iterator]() {\n return this._parsed[Symbol.iterator]();\n }\n /**\n * The amount of cookies received from the client\n */\n get size() {\n return this._parsed.size;\n }\n get(...args) {\n const name = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(name);\n }\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed);\n if (!args.length) {\n return all.map(([_, value]) => value);\n }\n const name = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter(([n]) => n === name).map(([_, value]) => value);\n }\n has(name) {\n return this._parsed.has(name);\n }\n set(...args) {\n const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;\n const map = this._parsed;\n map.set(name, { name, value });\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value2]) => stringifyCookie(value2)).join(\"; \")\n );\n return this;\n }\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(names) {\n const map = this._parsed;\n const result = !Array.isArray(names) ? map.delete(names) : names.map((name) => map.delete(name));\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value]) => stringifyCookie(value)).join(\"; \")\n );\n return result;\n }\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear() {\n this.delete(Array.from(this._parsed.keys()));\n return this;\n }\n /**\n * Format the cookies in the request as a string for logging\n */\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map((v) => `${v.name}=${encodeURIComponent(v.value)}`).join(\"; \");\n }\n};\n\n// src/response-cookies.ts\nvar ResponseCookies = class {\n constructor(responseHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n var _a, _b, _c;\n this._headers = responseHeaders;\n const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get(\"set-cookie\")) != null ? _c : [];\n const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie);\n for (const cookieString of cookieStrings) {\n const parsed = parseSetCookie(cookieString);\n if (parsed)\n this._parsed.set(parsed.name, parsed);\n }\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args) {\n const key = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(key);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed.values());\n if (!args.length) {\n return all;\n }\n const key = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter((c) => c.name === key);\n }\n has(name) {\n return this._parsed.has(name);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args) {\n const [name, value, cookie] = args.length === 1 ? [args[0].name, args[0].value, args[0]] : args;\n const map = this._parsed;\n map.set(name, normalizeCookie({ name, value, ...cookie }));\n replace(map, this._headers);\n return this;\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args) {\n const [name, options] = typeof args[0] === \"string\" ? [args[0]] : [args[0].name, args[0]];\n return this.set({ ...options, name, value: \"\", expires: /* @__PURE__ */ new Date(0) });\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map(stringifyCookie).join(\"; \");\n }\n};\nfunction replace(bag, headers) {\n headers.delete(\"set-cookie\");\n for (const [, value] of bag) {\n const serialized = stringifyCookie(value);\n headers.append(\"set-cookie\", serialized);\n }\n}\nfunction normalizeCookie(cookie = { name: \"\", value: \"\" }) {\n if (typeof cookie.expires === \"number\") {\n cookie.expires = new Date(cookie.expires);\n }\n if (cookie.maxAge) {\n cookie.expires = new Date(Date.now() + cookie.maxAge * 1e3);\n }\n if (cookie.path === null || cookie.path === void 0) {\n cookie.path = \"/\";\n }\n return cookie;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n RequestCookies,\n ResponseCookies,\n parseCookie,\n parseSetCookie,\n stringifyCookie\n});\n","export {\n RequestCookies,\n ResponseCookies,\n stringifyCookie,\n} from 'next/dist/compiled/@edge-runtime/cookies'\n","import { parsePath } from './parse-path';\n/**\n * Adds the provided prefix to the given path. It first ensures that the path\n * is indeed starting with a slash.\n */ export function addPathPrefix(path, prefix) {\n if (!path.startsWith('/') || !prefix) {\n return path;\n }\n const { pathname, query, hash } = parsePath(path);\n return `${prefix}${pathname}${query}${hash}`;\n}\n\n//# sourceMappingURL=add-path-prefix.js.map","/**\n * A cache of lowercased locales for each list of locales. This is stored as a\n * WeakMap so if the locales are garbage collected, the cache entry will be\n * removed as well.\n */ const cache = new WeakMap();\n/**\n * For a pathname that may include a locale from a list of locales, it\n * removes the locale from the pathname returning it alongside with the\n * detected locale.\n *\n * @param pathname A pathname that may include a locale.\n * @param locales A list of locales.\n * @returns The detected locale and pathname without locale\n */ export function normalizeLocalePath(pathname, locales) {\n // If locales is undefined, return the pathname as is.\n if (!locales) return {\n pathname\n };\n // Get the cached lowercased locales or create a new cache entry.\n let lowercasedLocales = cache.get(locales);\n if (!lowercasedLocales) {\n lowercasedLocales = locales.map((locale)=>locale.toLowerCase());\n cache.set(locales, lowercasedLocales);\n }\n let detectedLocale;\n // The first segment will be empty, because it has a leading `/`. If\n // there is no further segment, there is no locale (or it's the default).\n const segments = pathname.split('/', 2);\n // If there's no second segment (ie, the pathname is just `/`), there's no\n // locale.\n if (!segments[1]) return {\n pathname\n };\n // The second segment will contain the locale part if any.\n const segment = segments[1].toLowerCase();\n // See if the segment matches one of the locales. If it doesn't, there is\n // no locale (or it's the default).\n const index = lowercasedLocales.indexOf(segment);\n if (index < 0) return {\n pathname\n };\n // Return the case-sensitive locale.\n detectedLocale = locales[index];\n // Remove the `/${locale}` part of the pathname.\n pathname = pathname.slice(detectedLocale.length + 1) || '/';\n return {\n pathname,\n detectedLocale\n };\n}\n\n//# sourceMappingURL=normalize-locale-path.js.map","import { getRequestMeta } from '../../../request-meta';\nimport { fromNodeOutgoingHttpHeaders } from '../../utils';\nimport { NextRequest } from '../request';\nimport { isNodeNextRequest, isWebNextRequest } from '../../../base-http/helpers';\nexport const ResponseAbortedName = 'ResponseAborted';\nexport class ResponseAborted extends Error {\n constructor(...args){\n super(...args), this.name = ResponseAbortedName;\n }\n}\n/**\n * Creates an AbortController tied to the closing of a ServerResponse (or other\n * appropriate Writable).\n *\n * If the `close` event is fired before the `finish` event, then we'll send the\n * `abort` signal.\n */ export function createAbortController(response) {\n const controller = new AbortController();\n // If `finish` fires first, then `res.end()` has been called and the close is\n // just us finishing the stream on our side. If `close` fires first, then we\n // know the client disconnected before we finished.\n response.once('close', ()=>{\n if (response.writableFinished) return;\n controller.abort(new ResponseAborted());\n });\n return controller;\n}\n/**\n * Creates an AbortSignal tied to the closing of a ServerResponse (or other\n * appropriate Writable).\n *\n * This cannot be done with the request (IncomingMessage or Readable) because\n * the `abort` event will not fire if to data has been fully read (because that\n * will \"close\" the readable stream and nothing fires after that).\n */ export function signalFromNodeResponse(response) {\n const { errored, destroyed } = response;\n if (errored || destroyed) {\n return AbortSignal.abort(errored ?? new ResponseAborted());\n }\n const { signal } = createAbortController(response);\n return signal;\n}\nexport class NextRequestAdapter {\n static fromBaseNextRequest(request, signal) {\n if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME === 'edge' && isWebNextRequest(request)) {\n return NextRequestAdapter.fromWebNextRequest(request);\n } else if (// The type check here ensures that `req` is correctly typed, and the\n // environment variable check provides dead code elimination.\n process.env.NEXT_RUNTIME !== 'edge' && isNodeNextRequest(request)) {\n return NextRequestAdapter.fromNodeNextRequest(request, signal);\n } else {\n throw Object.defineProperty(new Error('Invariant: Unsupported NextRequest type'), \"__NEXT_ERROR_CODE\", {\n value: \"E345\",\n enumerable: false,\n configurable: true\n });\n }\n }\n static fromNodeNextRequest(request, signal) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD' && request.body) {\n // @ts-expect-error - this is handled by undici, when streams/web land use it instead\n body = request.body;\n }\n let url;\n if (request.url.startsWith('http')) {\n url = new URL(request.url);\n } else {\n // Grab the full URL from the request metadata.\n const base = getRequestMeta(request, 'initURL');\n if (!base || !base.startsWith('http')) {\n // Because the URL construction relies on the fact that the URL provided\n // is absolute, we need to provide a base URL. We can't use the request\n // URL because it's relative, so we use a dummy URL instead.\n url = new URL(request.url, 'http://n');\n } else {\n url = new URL(request.url, base);\n }\n }\n return new NextRequest(url, {\n method: request.method,\n headers: fromNodeOutgoingHttpHeaders(request.headers),\n duplex: 'half',\n signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...signal.aborted ? {} : {\n body\n }\n });\n }\n static fromWebNextRequest(request) {\n // HEAD and GET requests can not have a body.\n let body = null;\n if (request.method !== 'GET' && request.method !== 'HEAD') {\n body = request.body;\n }\n return new NextRequest(request.url, {\n method: request.method,\n headers: fromNodeOutgoingHttpHeaders(request.headers),\n duplex: 'half',\n signal: request.request.signal,\n // geo\n // ip\n // nextConfig\n // body can not be passed if request was aborted\n // or we get a Request body was disturbed error\n ...request.request.signal.aborted ? {} : {\n body\n }\n });\n }\n}\n\n//# sourceMappingURL=next-request.js.map","// Combined load times for loading client components\nlet clientComponentLoadStart = 0;\nlet clientComponentLoadTimes = 0;\nlet clientComponentLoadCount = 0;\nexport function wrapClientComponentLoader(ComponentMod) {\n if (!('performance' in globalThis)) {\n return ComponentMod.__next_app__;\n }\n return {\n require: (...args)=>{\n const startTime = performance.now();\n if (clientComponentLoadStart === 0) {\n clientComponentLoadStart = startTime;\n }\n try {\n clientComponentLoadCount += 1;\n return ComponentMod.__next_app__.require(...args);\n } finally{\n clientComponentLoadTimes += performance.now() - startTime;\n }\n },\n loadChunk: (...args)=>{\n const startTime = performance.now();\n const result = ComponentMod.__next_app__.loadChunk(...args);\n // Avoid wrapping `loadChunk`'s result in an extra promise in case something like React depends on its identity.\n // We only need to know when it's settled.\n result.finally(()=>{\n clientComponentLoadTimes += performance.now() - startTime;\n });\n return result;\n }\n };\n}\nexport function getClientComponentLoaderMetrics(options = {}) {\n const metrics = clientComponentLoadStart === 0 ? undefined : {\n clientComponentLoadStart,\n clientComponentLoadTimes,\n clientComponentLoadCount\n };\n if (options.reset) {\n clientComponentLoadStart = 0;\n clientComponentLoadTimes = 0;\n clientComponentLoadCount = 0;\n }\n return metrics;\n}\n\n//# sourceMappingURL=client-component-renderer-logger.js.map","import { chainStreams, streamFromBuffer, streamFromString, streamToString } from './stream-utils/node-web-streams-helper';\nimport { isAbortError, pipeToNodeResponse } from './pipe-readable';\nimport { InvariantError } from '../shared/lib/invariant-error';\nexport default class RenderResult {\n static #_ = /**\n * A render result that represents an empty response. This is used to\n * represent a response that was not found or was already sent.\n */ this.EMPTY = new RenderResult(null, {\n metadata: {},\n contentType: null\n });\n /**\n * Creates a new RenderResult instance from a static response.\n *\n * @param value the static response value\n * @param contentType the content type of the response\n * @returns a new RenderResult instance\n */ static fromStatic(value, contentType) {\n return new RenderResult(value, {\n metadata: {},\n contentType\n });\n }\n constructor(response, { contentType, waitUntil, metadata }){\n this.response = response;\n this.contentType = contentType;\n this.metadata = metadata;\n this.waitUntil = waitUntil;\n }\n assignMetadata(metadata) {\n Object.assign(this.metadata, metadata);\n }\n /**\n * Returns true if the response is null. It can be null if the response was\n * not found or was already sent.\n */ get isNull() {\n return this.response === null;\n }\n /**\n * Returns false if the response is a string. It can be a string if the page\n * was prerendered. If it's not, then it was generated dynamically.\n */ get isDynamic() {\n return typeof this.response !== 'string';\n }\n toUnchunkedString(stream = false) {\n if (this.response === null) {\n // If the response is null, return an empty string. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return '';\n }\n if (typeof this.response !== 'string') {\n if (!stream) {\n throw Object.defineProperty(new InvariantError('dynamic responses cannot be unchunked. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E732\",\n enumerable: false,\n configurable: true\n });\n }\n return streamToString(this.readable);\n }\n return this.response;\n }\n /**\n * Returns a readable stream of the response.\n */ get readable() {\n if (this.response === null) {\n // If the response is null, return an empty stream. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return new ReadableStream({\n start (controller) {\n controller.close();\n }\n });\n }\n if (typeof this.response === 'string') {\n return streamFromString(this.response);\n }\n if (Buffer.isBuffer(this.response)) {\n return streamFromBuffer(this.response);\n }\n // If the response is an array of streams, then chain them together.\n if (Array.isArray(this.response)) {\n return chainStreams(...this.response);\n }\n return this.response;\n }\n /**\n * Coerces the response to an array of streams. This will convert the response\n * to an array of streams if it is not already one.\n *\n * @returns An array of streams\n */ coerce() {\n if (this.response === null) {\n // If the response is null, return an empty stream. This behavior is\n // intentional as we're now providing the `RenderResult.EMPTY` value.\n return [];\n }\n if (typeof this.response === 'string') {\n return [\n streamFromString(this.response)\n ];\n } else if (Array.isArray(this.response)) {\n return this.response;\n } else if (Buffer.isBuffer(this.response)) {\n return [\n streamFromBuffer(this.response)\n ];\n } else {\n return [\n this.response\n ];\n }\n }\n /**\n * Pipes the response through a transform stream. This converts the response\n * to a single readable stream (chaining if needed) and pipes it through the\n * provided transform.\n *\n * @param transform The transform stream to pipe through\n */ pipeThrough(transform) {\n this.response = this.readable.pipeThrough(transform);\n }\n /**\n * Unshifts a new stream to the response. This will convert the response to an\n * array of streams if it is not already one and will add the new stream to\n * the start of the array. When this response is piped, all of the streams\n * will be piped one after the other.\n *\n * @param readable The new stream to unshift\n */ unshift(readable) {\n // Coerce the response to an array of streams.\n this.response = this.coerce();\n // Add the new stream to the start of the array.\n this.response.unshift(readable);\n }\n /**\n * Chains a new stream to the response. This will convert the response to an\n * array of streams if it is not already one and will add the new stream to\n * the end. When this response is piped, all of the streams will be piped\n * one after the other.\n *\n * @param readable The new stream to chain\n */ push(readable) {\n // Coerce the response to an array of streams.\n this.response = this.coerce();\n // Add the new stream to the end of the array.\n this.response.push(readable);\n }\n /**\n * Pipes the response to a writable stream. This will close/cancel the\n * writable stream if an error is encountered. If this doesn't throw, then\n * the writable stream will be closed or aborted.\n *\n * @param writable Writable stream to pipe the response to\n */ async pipeTo(writable) {\n try {\n await this.readable.pipeTo(writable, {\n // We want to close the writable stream ourselves so that we can wait\n // for the waitUntil promise to resolve before closing it. If an error\n // is encountered, we'll abort the writable stream if we swallowed the\n // error.\n preventClose: true\n });\n // If there is a waitUntil promise, wait for it to resolve before\n // closing the writable stream.\n if (this.waitUntil) await this.waitUntil;\n // Close the writable stream.\n await writable.close();\n } catch (err) {\n // If this is an abort error, we should abort the writable stream (as we\n // took ownership of it when we started piping). We don't need to re-throw\n // because we handled the error.\n if (isAbortError(err)) {\n // Abort the writable stream if an error is encountered.\n await writable.abort(err);\n return;\n }\n // We're not aborting the writer here as when this method throws it's not\n // clear as to how so the caller should assume it's their responsibility\n // to clean up the writer.\n throw err;\n }\n }\n /**\n * Pipes the response to a node response. This will close/cancel the node\n * response if an error is encountered.\n *\n * @param res\n */ async pipeToNodeResponse(res) {\n await pipeToNodeResponse(this.readable, res, this.waitUntil);\n }\n}\n\n//# sourceMappingURL=render-result.js.map","export function detectDomainLocale(domainItems, hostname, detectedLocale) {\n if (!domainItems) return;\n if (detectedLocale) {\n detectedLocale = detectedLocale.toLowerCase();\n }\n for (const item of domainItems){\n // remove port if present\n const domainHostname = item.domain?.split(':', 1)[0].toLowerCase();\n if (hostname === domainHostname || detectedLocale === item.defaultLocale.toLowerCase() || item.locales?.some((locale)=>locale.toLowerCase() === detectedLocale)) {\n return item;\n }\n }\n}\n\n//# sourceMappingURL=detect-domain-locale.js.map","export class PageSignatureError extends Error {\n constructor({ page }){\n super(`The middleware \"${page}\" accepts an async API directly with the form:\n \n export function middleware(request, event) {\n return NextResponse.redirect('/new-location')\n }\n \n Read more: https://nextjs.org/docs/messages/middleware-new-signature\n `);\n }\n}\nexport class RemovedPageError extends Error {\n constructor(){\n super(`The request.page has been deprecated in favour of \\`URLPattern\\`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n `);\n }\n}\nexport class RemovedUAError extends Error {\n constructor(){\n super(`The request.ua has been removed in favour of \\`userAgent\\` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n `);\n }\n}\n\n//# sourceMappingURL=error.js.map","import { addPathPrefix } from './add-path-prefix';\nimport { pathHasPrefix } from './path-has-prefix';\n/**\n * For a given path and a locale, if the locale is given, it will prefix the\n * locale. The path shouldn't be an API path. If a default locale is given the\n * prefix will be omitted if the locale is already the default locale.\n */ export function addLocale(path, locale, defaultLocale, ignorePrefix) {\n // If no locale was given or the locale is the default locale, we don't need\n // to prefix the path.\n if (!locale || locale === defaultLocale) return path;\n const lower = path.toLowerCase();\n // If the path is an API path or the path already has the locale prefix, we\n // don't need to prefix the path.\n if (!ignorePrefix) {\n if (pathHasPrefix(lower, '/api')) return path;\n if (pathHasPrefix(lower, `/${locale.toLowerCase()}`)) return path;\n }\n // Add the locale prefix to the path.\n return addPathPrefix(path, `/${locale}`);\n}\n\n//# sourceMappingURL=add-locale.js.map","import { normalizeLocalePath } from '../../i18n/normalize-locale-path';\nimport { removePathPrefix } from './remove-path-prefix';\nimport { pathHasPrefix } from './path-has-prefix';\nexport function getNextPathnameInfo(pathname, options) {\n const { basePath, i18n, trailingSlash } = options.nextConfig ?? {};\n const info = {\n pathname,\n trailingSlash: pathname !== '/' ? pathname.endsWith('/') : trailingSlash\n };\n if (basePath && pathHasPrefix(info.pathname, basePath)) {\n info.pathname = removePathPrefix(info.pathname, basePath);\n info.basePath = basePath;\n }\n let pathnameNoDataPrefix = info.pathname;\n if (info.pathname.startsWith('/_next/data/') && info.pathname.endsWith('.json')) {\n const paths = info.pathname.replace(/^\\/_next\\/data\\//, '').replace(/\\.json$/, '').split('/');\n const buildId = paths[0];\n info.buildId = buildId;\n pathnameNoDataPrefix = paths[1] !== 'index' ? `/${paths.slice(1).join('/')}` : '/';\n // update pathname with normalized if enabled although\n // we use normalized to populate locale info still\n if (options.parseData === true) {\n info.pathname = pathnameNoDataPrefix;\n }\n }\n // If provided, use the locale route normalizer to detect the locale instead\n // of the function below.\n if (i18n) {\n let result = options.i18nProvider ? options.i18nProvider.analyze(info.pathname) : normalizeLocalePath(info.pathname, i18n.locales);\n info.locale = result.detectedLocale;\n info.pathname = result.pathname ?? info.pathname;\n if (!result.detectedLocale && info.buildId) {\n result = options.i18nProvider ? options.i18nProvider.analyze(pathnameNoDataPrefix) : normalizeLocalePath(pathnameNoDataPrefix, i18n.locales);\n if (result.detectedLocale) {\n info.locale = result.detectedLocale;\n }\n }\n }\n return info;\n}\n\n//# sourceMappingURL=get-next-pathname-info.js.map","import { ResponseAbortedName, createAbortController } from './web/spec-extension/adapters/next-request';\nimport { DetachedPromise } from '../lib/detached-promise';\nimport { getTracer } from './lib/trace/tracer';\nimport { NextNodeServerSpan } from './lib/trace/constants';\nimport { getClientComponentLoaderMetrics } from './client-component-renderer-logger';\nexport function isAbortError(e) {\n return (e == null ? void 0 : e.name) === 'AbortError' || (e == null ? void 0 : e.name) === ResponseAbortedName;\n}\nfunction createWriterFromResponse(res, waitUntilForEnd) {\n let started = false;\n // Create a promise that will resolve once the response has drained. See\n // https://nodejs.org/api/stream.html#stream_event_drain\n let drained = new DetachedPromise();\n function onDrain() {\n drained.resolve();\n }\n res.on('drain', onDrain);\n // If the finish event fires, it means we shouldn't block and wait for the\n // drain event.\n res.once('close', ()=>{\n res.off('drain', onDrain);\n drained.resolve();\n });\n // Create a promise that will resolve once the response has finished. See\n // https://nodejs.org/api/http.html#event-finish_1\n const finished = new DetachedPromise();\n res.once('finish', ()=>{\n finished.resolve();\n });\n // Create a writable stream that will write to the response.\n return new WritableStream({\n write: async (chunk)=>{\n // You'd think we'd want to use `start` instead of placing this in `write`\n // but this ensures that we don't actually flush the headers until we've\n // started writing chunks.\n if (!started) {\n started = true;\n if ('performance' in globalThis && process.env.NEXT_OTEL_PERFORMANCE_PREFIX) {\n const metrics = getClientComponentLoaderMetrics();\n if (metrics) {\n performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`, {\n start: metrics.clientComponentLoadStart,\n end: metrics.clientComponentLoadStart + metrics.clientComponentLoadTimes\n });\n }\n }\n res.flushHeaders();\n getTracer().trace(NextNodeServerSpan.startResponse, {\n spanName: 'start response'\n }, ()=>undefined);\n }\n try {\n const ok = res.write(chunk);\n // Added by the `compression` middleware, this is a function that will\n // flush the partially-compressed response to the client.\n if ('flush' in res && typeof res.flush === 'function') {\n res.flush();\n }\n // If the write returns false, it means there's some backpressure, so\n // wait until it's streamed before continuing.\n if (!ok) {\n await drained.promise;\n // Reset the drained promise so that we can wait for the next drain event.\n drained = new DetachedPromise();\n }\n } catch (err) {\n res.end();\n throw Object.defineProperty(new Error('failed to write chunk to response', {\n cause: err\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E321\",\n enumerable: false,\n configurable: true\n });\n }\n },\n abort: (err)=>{\n if (res.writableFinished) return;\n res.destroy(err);\n },\n close: async ()=>{\n // if a waitUntil promise was passed, wait for it to resolve before\n // ending the response.\n if (waitUntilForEnd) {\n await waitUntilForEnd;\n }\n if (res.writableFinished) return;\n res.end();\n return finished.promise;\n }\n });\n}\nexport async function pipeToNodeResponse(readable, res, waitUntilForEnd) {\n try {\n // If the response has already errored, then just return now.\n const { errored, destroyed } = res;\n if (errored || destroyed) return;\n // Create a new AbortController so that we can abort the readable if the\n // client disconnects.\n const controller = createAbortController(res);\n const writer = createWriterFromResponse(res, waitUntilForEnd);\n await readable.pipeTo(writer, {\n signal: controller.signal\n });\n } catch (err) {\n // If this isn't related to an abort error, re-throw it.\n if (isAbortError(err)) return;\n throw Object.defineProperty(new Error('failed to pipe response', {\n cause: err\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E180\",\n enumerable: false,\n configurable: true\n });\n }\n}\n\n//# sourceMappingURL=pipe-readable.js.map","import { NextURL } from '../next-url';\nimport { toNodeOutgoingHttpHeaders, validateURL } from '../utils';\nimport { RemovedUAError, RemovedPageError } from '../error';\nimport { RequestCookies } from './cookies';\nexport const INTERNALS = Symbol('internal request');\n/**\n * This class extends the [Web `Request` API](https://developer.mozilla.org/docs/Web/API/Request) with additional convenience methods.\n *\n * Read more: [Next.js Docs: `NextRequest`](https://nextjs.org/docs/app/api-reference/functions/next-request)\n */ export class NextRequest extends Request {\n constructor(input, init = {}){\n const url = typeof input !== 'string' && 'url' in input ? input.url : String(input);\n validateURL(url);\n // node Request instance requires duplex option when a body\n // is present or it errors, we don't handle this for\n // Request being passed in since it would have already\n // errored if this wasn't configured\n if (process.env.NEXT_RUNTIME !== 'edge') {\n if (init.body && init.duplex !== 'half') {\n init.duplex = 'half';\n }\n }\n if (input instanceof Request) super(input, init);\n else super(url, init);\n const nextUrl = new NextURL(url, {\n headers: toNodeOutgoingHttpHeaders(this.headers),\n nextConfig: init.nextConfig\n });\n this[INTERNALS] = {\n cookies: new RequestCookies(this.headers),\n nextUrl,\n url: process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE ? url : nextUrl.toString()\n };\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n cookies: this.cookies,\n nextUrl: this.nextUrl,\n url: this.url,\n // rest of props come from Request\n bodyUsed: this.bodyUsed,\n cache: this.cache,\n credentials: this.credentials,\n destination: this.destination,\n headers: Object.fromEntries(this.headers),\n integrity: this.integrity,\n keepalive: this.keepalive,\n method: this.method,\n mode: this.mode,\n redirect: this.redirect,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n signal: this.signal\n };\n }\n get cookies() {\n return this[INTERNALS].cookies;\n }\n get nextUrl() {\n return this[INTERNALS].nextUrl;\n }\n /**\n * @deprecated\n * `page` has been deprecated in favour of `URLPattern`.\n * Read more: https://nextjs.org/docs/messages/middleware-request-page\n */ get page() {\n throw new RemovedPageError();\n }\n /**\n * @deprecated\n * `ua` has been removed in favour of \\`userAgent\\` function.\n * Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n */ get ua() {\n throw new RemovedUAError();\n }\n get url() {\n return this[INTERNALS].url;\n }\n}\n\n//# sourceMappingURL=request.js.map","import { detectDomainLocale } from '../../shared/lib/i18n/detect-domain-locale';\nimport { formatNextPathnameInfo } from '../../shared/lib/router/utils/format-next-pathname-info';\nimport { getHostname } from '../../shared/lib/get-hostname';\nimport { getNextPathnameInfo } from '../../shared/lib/router/utils/get-next-pathname-info';\nconst REGEX_LOCALHOST_HOSTNAME = /^(?:127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\\[::1\\]|localhost)$/;\nfunction parseURL(url, base) {\n const parsed = new URL(String(url), base && String(base));\n if (REGEX_LOCALHOST_HOSTNAME.test(parsed.hostname)) {\n parsed.hostname = 'localhost';\n }\n return parsed;\n}\nconst Internal = Symbol('NextURLInternal');\nexport class NextURL {\n constructor(input, baseOrOpts, opts){\n let base;\n let options;\n if (typeof baseOrOpts === 'object' && 'pathname' in baseOrOpts || typeof baseOrOpts === 'string') {\n base = baseOrOpts;\n options = opts || {};\n } else {\n options = opts || baseOrOpts || {};\n }\n this[Internal] = {\n url: parseURL(input, base ?? options.base),\n options: options,\n basePath: ''\n };\n this.analyze();\n }\n analyze() {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig, _this_Internal_domainLocale, _this_Internal_options_nextConfig_i18n1, _this_Internal_options_nextConfig1;\n const info = getNextPathnameInfo(this[Internal].url.pathname, {\n nextConfig: this[Internal].options.nextConfig,\n parseData: !process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,\n i18nProvider: this[Internal].options.i18nProvider\n });\n const hostname = getHostname(this[Internal].url, this[Internal].options.headers);\n this[Internal].domainLocale = this[Internal].options.i18nProvider ? this[Internal].options.i18nProvider.detectDomainLocale(hostname) : detectDomainLocale((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.domains, hostname);\n const defaultLocale = ((_this_Internal_domainLocale = this[Internal].domainLocale) == null ? void 0 : _this_Internal_domainLocale.defaultLocale) || ((_this_Internal_options_nextConfig1 = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n1 = _this_Internal_options_nextConfig1.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n1.defaultLocale);\n this[Internal].url.pathname = info.pathname;\n this[Internal].defaultLocale = defaultLocale;\n this[Internal].basePath = info.basePath ?? '';\n this[Internal].buildId = info.buildId;\n this[Internal].locale = info.locale ?? defaultLocale;\n this[Internal].trailingSlash = info.trailingSlash;\n }\n formatPathname() {\n return formatNextPathnameInfo({\n basePath: this[Internal].basePath,\n buildId: this[Internal].buildId,\n defaultLocale: !this[Internal].options.forceLocale ? this[Internal].defaultLocale : undefined,\n locale: this[Internal].locale,\n pathname: this[Internal].url.pathname,\n trailingSlash: this[Internal].trailingSlash\n });\n }\n formatSearch() {\n return this[Internal].url.search;\n }\n get buildId() {\n return this[Internal].buildId;\n }\n set buildId(buildId) {\n this[Internal].buildId = buildId;\n }\n get locale() {\n return this[Internal].locale ?? '';\n }\n set locale(locale) {\n var _this_Internal_options_nextConfig_i18n, _this_Internal_options_nextConfig;\n if (!this[Internal].locale || !((_this_Internal_options_nextConfig = this[Internal].options.nextConfig) == null ? void 0 : (_this_Internal_options_nextConfig_i18n = _this_Internal_options_nextConfig.i18n) == null ? void 0 : _this_Internal_options_nextConfig_i18n.locales.includes(locale))) {\n throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale \"${locale}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E597\",\n enumerable: false,\n configurable: true\n });\n }\n this[Internal].locale = locale;\n }\n get defaultLocale() {\n return this[Internal].defaultLocale;\n }\n get domainLocale() {\n return this[Internal].domainLocale;\n }\n get searchParams() {\n return this[Internal].url.searchParams;\n }\n get host() {\n return this[Internal].url.host;\n }\n set host(value) {\n this[Internal].url.host = value;\n }\n get hostname() {\n return this[Internal].url.hostname;\n }\n set hostname(value) {\n this[Internal].url.hostname = value;\n }\n get port() {\n return this[Internal].url.port;\n }\n set port(value) {\n this[Internal].url.port = value;\n }\n get protocol() {\n return this[Internal].url.protocol;\n }\n set protocol(value) {\n this[Internal].url.protocol = value;\n }\n get href() {\n const pathname = this.formatPathname();\n const search = this.formatSearch();\n return `${this.protocol}//${this.host}${pathname}${search}${this.hash}`;\n }\n set href(url) {\n this[Internal].url = parseURL(url);\n this.analyze();\n }\n get origin() {\n return this[Internal].url.origin;\n }\n get pathname() {\n return this[Internal].url.pathname;\n }\n set pathname(value) {\n this[Internal].url.pathname = value;\n }\n get hash() {\n return this[Internal].url.hash;\n }\n set hash(value) {\n this[Internal].url.hash = value;\n }\n get search() {\n return this[Internal].url.search;\n }\n set search(value) {\n this[Internal].url.search = value;\n }\n get password() {\n return this[Internal].url.password;\n }\n set password(value) {\n this[Internal].url.password = value;\n }\n get username() {\n return this[Internal].url.username;\n }\n set username(value) {\n this[Internal].url.username = value;\n }\n get basePath() {\n return this[Internal].basePath;\n }\n set basePath(value) {\n this[Internal].basePath = value.startsWith('/') ? value : `/${value}`;\n }\n toString() {\n return this.href;\n }\n toJSON() {\n return this.href;\n }\n [Symbol.for('edge-runtime.inspect.custom')]() {\n return {\n href: this.href,\n origin: this.origin,\n protocol: this.protocol,\n username: this.username,\n password: this.password,\n host: this.host,\n hostname: this.hostname,\n port: this.port,\n pathname: this.pathname,\n search: this.search,\n searchParams: this.searchParams,\n hash: this.hash\n };\n }\n clone() {\n return new NextURL(String(this), this[Internal].options);\n }\n}\n\n//# sourceMappingURL=next-url.js.map","import { removeTrailingSlash } from './remove-trailing-slash';\nimport { addPathPrefix } from './add-path-prefix';\nimport { addPathSuffix } from './add-path-suffix';\nimport { addLocale } from './add-locale';\nexport function formatNextPathnameInfo(info) {\n let pathname = addLocale(info.pathname, info.locale, info.buildId ? undefined : info.defaultLocale, info.ignorePrefix);\n if (info.buildId || !info.trailingSlash) {\n pathname = removeTrailingSlash(pathname);\n }\n if (info.buildId) {\n pathname = addPathSuffix(addPathPrefix(pathname, `/_next/data/${info.buildId}`), info.pathname === '/' ? 'index.json' : '.json');\n }\n pathname = addPathPrefix(pathname, info.basePath);\n return !info.buildId && info.trailingSlash ? !pathname.endsWith('/') ? addPathSuffix(pathname, '/') : pathname : removeTrailingSlash(pathname);\n}\n\n//# sourceMappingURL=format-next-pathname-info.js.map","import { parsePath } from './parse-path';\n/**\n * Similarly to `addPathPrefix`, this function adds a suffix at the end on the\n * provided path. It also works only for paths ensuring the argument starts\n * with a slash.\n */ export function addPathSuffix(path, suffix) {\n if (!path.startsWith('/') || !suffix) {\n return path;\n }\n const { pathname, query, hash } = parsePath(path);\n return `${pathname}${suffix}${query}${hash}`;\n}\n\n//# sourceMappingURL=add-path-suffix.js.map","/**\n * Takes an object with a hostname property (like a parsed URL) and some\n * headers that may contain Host and returns the preferred hostname.\n * @param parsed An object containing a hostname property.\n * @param headers A dictionary with headers containing a `host`.\n */ export function getHostname(parsed, headers) {\n // Get the hostname from the headers if it exists, otherwise use the parsed\n // hostname.\n let hostname;\n if (headers?.host && !Array.isArray(headers.host)) {\n hostname = headers.host.toString().split(':', 1)[0];\n } else if (parsed.hostname) {\n hostname = parsed.hostname;\n } else return;\n return hostname.toLowerCase();\n}\n\n//# sourceMappingURL=get-hostname.js.map","/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */ export function removeTrailingSlash(route) {\n return route.replace(/\\/$/, '') || '/';\n}\n\n//# sourceMappingURL=remove-trailing-slash.js.map","import { NEXT_INTERCEPTION_MARKER_PREFIX, NEXT_QUERY_PARAM_PREFIX } from '../../lib/constants';\n/**\n * Converts a Node.js IncomingHttpHeaders object to a Headers object. Any\n * headers with multiple values will be joined with a comma and space. Any\n * headers that have an undefined value will be ignored and others will be\n * coerced to strings.\n *\n * @param nodeHeaders the headers object to convert\n * @returns the converted headers object\n */ export function fromNodeOutgoingHttpHeaders(nodeHeaders) {\n const headers = new Headers();\n for (let [key, value] of Object.entries(nodeHeaders)){\n const values = Array.isArray(value) ? value : [\n value\n ];\n for (let v of values){\n if (typeof v === 'undefined') continue;\n if (typeof v === 'number') {\n v = v.toString();\n }\n headers.append(key, v);\n }\n }\n return headers;\n}\n/*\n Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas\n that are within a single set-cookie field-value, such as in the Expires portion.\n This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2\n Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128\n React Native's fetch does this for *every* header, including set-cookie.\n \n Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25\n Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation\n*/ export function splitCookiesString(cookiesString) {\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while(pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))){\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== '=' && ch !== ';' && ch !== ',';\n }\n while(pos < cookiesString.length){\n start = pos;\n cookiesSeparatorFound = false;\n while(skipWhitespace()){\n ch = cookiesString.charAt(pos);\n if (ch === ',') {\n // ',' is a cookie separator if we have later first '=', not ';' or ','\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while(pos < cookiesString.length && notSpecialChar()){\n pos += 1;\n }\n // currently special character\n if (pos < cookiesString.length && cookiesString.charAt(pos) === '=') {\n // we found cookies separator\n cookiesSeparatorFound = true;\n // pos is inside the next cookie, so back up and return it.\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n // in param ',' or param separator ';',\n // we continue from that comma\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n/**\n * Converts a Headers object to a Node.js OutgoingHttpHeaders object. This is\n * required to support the set-cookie header, which may have multiple values.\n *\n * @param headers the headers object to convert\n * @returns the converted headers object\n */ export function toNodeOutgoingHttpHeaders(headers) {\n const nodeHeaders = {};\n const cookies = [];\n if (headers) {\n for (const [key, value] of headers.entries()){\n if (key.toLowerCase() === 'set-cookie') {\n // We may have gotten a comma joined string of cookies, or multiple\n // set-cookie headers. We need to merge them into one header array\n // to represent all the cookies.\n cookies.push(...splitCookiesString(value));\n nodeHeaders[key] = cookies.length === 1 ? cookies[0] : cookies;\n } else {\n nodeHeaders[key] = value;\n }\n }\n }\n return nodeHeaders;\n}\n/**\n * Validate the correctness of a user-provided URL.\n */ export function validateURL(url) {\n try {\n return String(new URL(String(url)));\n } catch (error) {\n throw Object.defineProperty(new Error(`URL is malformed \"${String(url)}\". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`, {\n cause: error\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E61\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * Normalizes `nxtP` and `nxtI` query param values to remove the prefix.\n * This function does not mutate the input key.\n */ export function normalizeNextQueryParam(key) {\n const prefixes = [\n NEXT_QUERY_PARAM_PREFIX,\n NEXT_INTERCEPTION_MARKER_PREFIX\n ];\n for (const prefix of prefixes){\n if (key !== prefix && key.startsWith(prefix)) {\n return key.substring(prefix.length);\n }\n }\n return null;\n}\n\n//# sourceMappingURL=utils.js.map","/**\n * This file provides some helpers that should be used in conjunction with\n * explicit environment checks. When combined with the environment checks, it\n * will ensure that the correct typings are used as well as enable code\n * elimination.\n */ /**\n * Type guard to determine if a request is a WebNextRequest. This does not\n * actually check the type of the request, but rather the runtime environment.\n * It's expected that when the runtime environment is the edge runtime, that any\n * base request is a WebNextRequest.\n */ export const isWebNextRequest = (req)=>process.env.NEXT_RUNTIME === 'edge';\n/**\n * Type guard to determine if a response is a WebNextResponse. This does not\n * actually check the type of the response, but rather the runtime environment.\n * It's expected that when the runtime environment is the edge runtime, that any\n * base response is a WebNextResponse.\n */ export const isWebNextResponse = (res)=>process.env.NEXT_RUNTIME === 'edge';\n/**\n * Type guard to determine if a request is a NodeNextRequest. This does not\n * actually check the type of the request, but rather the runtime environment.\n * It's expected that when the runtime environment is the node runtime, that any\n * base request is a NodeNextRequest.\n */ export const isNodeNextRequest = (req)=>process.env.NEXT_RUNTIME !== 'edge';\n/**\n * Type guard to determine if a response is a NodeNextResponse. This does not\n * actually check the type of the response, but rather the runtime environment.\n * It's expected that when the runtime environment is the node runtime, that any\n * base response is a NodeNextResponse.\n */ export const isNodeNextResponse = (res)=>process.env.NEXT_RUNTIME !== 'edge';\n\n//# sourceMappingURL=helpers.js.map","import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n 'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n 'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\nexport const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\nexport const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_'\n\n// in seconds\nexport const CACHE_ONE_YEAR_SECONDS = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n 'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n 'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n 'The `unstable_revalidate` property is available for general use.\\n' +\n 'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */\n shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */\n reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */\n serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */\n actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */\n apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */\n apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */\n middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */\n instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */\n edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */\n appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */\n pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */\n pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */\n pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge,\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware,\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n ],\n },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n","/**\n * Node in the doubly-linked list used for LRU tracking.\n * Each node represents a cache entry with bidirectional pointers.\n */ class LRUNode {\n constructor(key, data, size){\n this.prev = null;\n this.next = null;\n this.key = key;\n this.data = data;\n this.size = size;\n }\n}\n/**\n * Sentinel node used for head/tail boundaries.\n * These nodes don't contain actual cache data but simplify list operations.\n */ class SentinelNode {\n constructor(){\n this.prev = null;\n this.next = null;\n }\n}\n/**\n * LRU (Least Recently Used) Cache implementation using a doubly-linked list\n * and hash map for O(1) operations.\n *\n * Algorithm:\n * - Uses a doubly-linked list to maintain access order (most recent at head)\n * - Hash map provides O(1) key-to-node lookup\n * - Sentinel head/tail nodes simplify edge case handling\n * - Size-based eviction supports custom size calculation functions\n *\n * Data Structure Layout:\n * HEAD <-> [most recent] <-> ... <-> [least recent] <-> TAIL\n *\n * Operations:\n * - get(): Move accessed node to head (mark as most recent)\n * - set(): Add new node at head, evict from tail if over capacity\n * - Eviction: Remove least recent node (tail.prev) when size exceeds limit\n */ export class LRUCache {\n constructor(maxSize, calculateSize, onEvict){\n this.cache = new Map();\n this.totalSize = 0;\n this.maxSize = maxSize;\n this.calculateSize = calculateSize;\n this.onEvict = onEvict;\n // Create sentinel nodes to simplify doubly-linked list operations\n // HEAD <-> TAIL (empty list)\n this.head = new SentinelNode();\n this.tail = new SentinelNode();\n this.head.next = this.tail;\n this.tail.prev = this.head;\n }\n /**\n * Adds a node immediately after the head (marks as most recently used).\n * Used when inserting new items or when an item is accessed.\n * PRECONDITION: node must be disconnected (prev/next should be null)\n */ addToHead(node) {\n node.prev = this.head;\n node.next = this.head.next;\n // head.next is always non-null (points to tail or another node)\n this.head.next.prev = node;\n this.head.next = node;\n }\n /**\n * Removes a node from its current position in the doubly-linked list.\n * Updates the prev/next pointers of adjacent nodes to maintain list integrity.\n * PRECONDITION: node must be connected (prev/next are non-null)\n */ removeNode(node) {\n // Connected nodes always have non-null prev/next\n node.prev.next = node.next;\n node.next.prev = node.prev;\n }\n /**\n * Moves an existing node to the head position (marks as most recently used).\n * This is the core LRU operation - accessed items become most recent.\n */ moveToHead(node) {\n this.removeNode(node);\n this.addToHead(node);\n }\n /**\n * Removes and returns the least recently used node (the one before tail).\n * This is called during eviction when the cache exceeds capacity.\n * PRECONDITION: cache is not empty (ensured by caller)\n */ removeTail() {\n const lastNode = this.tail.prev;\n // tail.prev is always non-null and always LRUNode when cache is not empty\n this.removeNode(lastNode);\n return lastNode;\n }\n /**\n * Sets a key-value pair in the cache.\n * If the key exists, updates the value and moves to head.\n * If new, adds at head and evicts from tail if necessary.\n *\n * Time Complexity:\n * - O(1) for uniform item sizes\n * - O(k) where k is the number of items evicted (can be O(N) for variable sizes)\n */ set(key, value) {\n const size = (this.calculateSize == null ? void 0 : this.calculateSize.call(this, value)) ?? 1;\n if (size <= 0) {\n throw Object.defineProperty(new Error(`LRUCache: calculateSize returned ${size}, but size must be > 0. ` + `Items with size 0 would never be evicted, causing unbounded cache growth.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1045\",\n enumerable: false,\n configurable: true\n });\n }\n if (size > this.maxSize) {\n console.warn('Single item size exceeds maxSize');\n return false;\n }\n const existing = this.cache.get(key);\n if (existing) {\n // Update existing node: adjust size and move to head (most recent)\n existing.data = value;\n this.totalSize = this.totalSize - existing.size + size;\n existing.size = size;\n this.moveToHead(existing);\n } else {\n // Add new node at head (most recent position)\n const newNode = new LRUNode(key, value, size);\n this.cache.set(key, newNode);\n this.addToHead(newNode);\n this.totalSize += size;\n }\n // Evict least recently used items until under capacity\n while(this.totalSize > this.maxSize && this.cache.size > 0){\n const tail = this.removeTail();\n this.cache.delete(tail.key);\n this.totalSize -= tail.size;\n this.onEvict == null ? void 0 : this.onEvict.call(this, tail.key, tail.data);\n }\n return true;\n }\n /**\n * Checks if a key exists in the cache.\n * This is a pure query operation - does NOT update LRU order.\n *\n * Time Complexity: O(1)\n */ has(key) {\n return this.cache.has(key);\n }\n /**\n * Retrieves a value by key and marks it as most recently used.\n * Moving to head maintains the LRU property for future evictions.\n *\n * Time Complexity: O(1)\n */ get(key) {\n const node = this.cache.get(key);\n if (!node) return undefined;\n // Mark as most recently used by moving to head\n this.moveToHead(node);\n return node.data;\n }\n /**\n * Returns an iterator over the cache entries. The order is outputted in the\n * order of most recently used to least recently used.\n */ *[Symbol.iterator]() {\n let current = this.head.next;\n while(current && current !== this.tail){\n // Between head and tail, current is always LRUNode\n const node = current;\n yield [\n node.key,\n node.data\n ];\n current = current.next;\n }\n }\n /**\n * Removes a specific key from the cache.\n * Updates both the hash map and doubly-linked list.\n *\n * Note: This is an explicit removal and does NOT trigger the `onEvict`\n * callback. Use this for intentional deletions where eviction tracking\n * is not needed.\n *\n * Time Complexity: O(1)\n */ remove(key) {\n const node = this.cache.get(key);\n if (!node) return;\n this.removeNode(node);\n this.cache.delete(key);\n this.totalSize -= node.size;\n }\n /**\n * Returns the number of items in the cache.\n */ get size() {\n return this.cache.size;\n }\n /**\n * Returns the current total size of all cached items.\n * This uses the custom size calculation if provided.\n */ get currentSize() {\n return this.totalSize;\n }\n}\n\n//# sourceMappingURL=lru-cache.js.map","import { DetachedPromise } from './detached-promise';\n/**\n * A wrapper for a function that will only allow one call to the function to\n * execute at a time.\n */ export class Batcher {\n constructor(cacheKeyFn, /**\n * A function that will be called to schedule the wrapped function to be\n * executed. This defaults to a function that will execute the function\n * immediately.\n */ schedulerFn = (fn)=>fn()){\n this.cacheKeyFn = cacheKeyFn;\n this.schedulerFn = schedulerFn;\n this.pending = new Map();\n }\n static create(options) {\n return new Batcher(options == null ? void 0 : options.cacheKeyFn, options == null ? void 0 : options.schedulerFn);\n }\n /**\n * Wraps a function in a promise that will be resolved or rejected only once\n * for a given key. This will allow multiple calls to the function to be\n * made, but only one will be executed at a time. The result of the first\n * call will be returned to all callers.\n *\n * @param key the key to use for the cache\n * @param fn the function to wrap\n * @returns a promise that resolves to the result of the function\n */ async batch(key, fn) {\n const cacheKey = this.cacheKeyFn ? await this.cacheKeyFn(key) : key;\n if (cacheKey === null) {\n return fn({\n resolve: (value)=>Promise.resolve(value),\n key\n });\n }\n const pending = this.pending.get(cacheKey);\n if (pending) return pending;\n const { promise, resolve, reject } = new DetachedPromise();\n this.pending.set(cacheKey, promise);\n this.schedulerFn(async ()=>{\n try {\n const result = await fn({\n resolve,\n key\n });\n // Resolving a promise multiple times is a no-op, so we can safely\n // resolve all pending promises with the same result.\n resolve(result);\n } catch (err) {\n reject(err);\n } finally{\n this.pending.delete(cacheKey);\n }\n });\n return promise;\n }\n}\n\n//# sourceMappingURL=batcher.js.map","// ISC License\n// Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov\n// Permission to use, copy, modify, and/or distribute this software for any\n// purpose with or without fee is hereby granted, provided that the above\n// copyright notice and this permission notice appear in all copies.\n// THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n//\n// https://github.com/alexeyraspopov/picocolors/blob/b6261487e7b81aaab2440e397a356732cad9e342/picocolors.js#L1\nvar _globalThis;\nconst { env, stdout } = ((_globalThis = globalThis) == null ? void 0 : _globalThis.process) ?? {};\nconst enabled = env && !env.NO_COLOR && (env.FORCE_COLOR || (stdout == null ? void 0 : stdout.isTTY) && !env.CI && env.TERM !== 'dumb');\nconst replaceClose = (str, close, replace, index)=>{\n const start = str.substring(0, index) + replace;\n const end = str.substring(index + close.length);\n const nextIndex = end.indexOf(close);\n return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;\n};\nconst formatter = (open, close, replace = open)=>{\n if (!enabled) return String;\n return (input)=>{\n const string = '' + input;\n const index = string.indexOf(close, open.length);\n return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;\n };\n};\nexport const reset = enabled ? (s)=>`\\x1b[0m${s}\\x1b[0m` : String;\nexport const bold = formatter('\\x1b[1m', '\\x1b[22m', '\\x1b[22m\\x1b[1m');\nexport const dim = formatter('\\x1b[2m', '\\x1b[22m', '\\x1b[22m\\x1b[2m');\nexport const italic = formatter('\\x1b[3m', '\\x1b[23m');\nexport const underline = formatter('\\x1b[4m', '\\x1b[24m');\nexport const inverse = formatter('\\x1b[7m', '\\x1b[27m');\nexport const hidden = formatter('\\x1b[8m', '\\x1b[28m');\nexport const strikethrough = formatter('\\x1b[9m', '\\x1b[29m');\nexport const black = formatter('\\x1b[30m', '\\x1b[39m');\nexport const red = formatter('\\x1b[31m', '\\x1b[39m');\nexport const green = formatter('\\x1b[32m', '\\x1b[39m');\nexport const yellow = formatter('\\x1b[33m', '\\x1b[39m');\nexport const blue = formatter('\\x1b[34m', '\\x1b[39m');\nexport const magenta = formatter('\\x1b[35m', '\\x1b[39m');\nexport const purple = formatter('\\x1b[38;2;173;127;168m', '\\x1b[39m');\nexport const cyan = formatter('\\x1b[36m', '\\x1b[39m');\nexport const white = formatter('\\x1b[37m', '\\x1b[39m');\nexport const gray = formatter('\\x1b[90m', '\\x1b[39m');\nexport const bgBlack = formatter('\\x1b[40m', '\\x1b[49m');\nexport const bgRed = formatter('\\x1b[41m', '\\x1b[49m');\nexport const bgGreen = formatter('\\x1b[42m', '\\x1b[49m');\nexport const bgYellow = formatter('\\x1b[43m', '\\x1b[49m');\nexport const bgBlue = formatter('\\x1b[44m', '\\x1b[49m');\nexport const bgMagenta = formatter('\\x1b[45m', '\\x1b[49m');\nexport const bgCyan = formatter('\\x1b[46m', '\\x1b[49m');\nexport const bgWhite = formatter('\\x1b[47m', '\\x1b[49m');\n\n//# sourceMappingURL=picocolors.js.map","import { CachedRouteKind, IncrementalCacheKind } from './types';\nimport RenderResult from '../render-result';\nimport { RouteKind } from '../route-kind';\nimport { HTML_CONTENT_TYPE_HEADER } from '../../lib/constants';\nexport async function fromResponseCacheEntry(cacheEntry) {\n var _cacheEntry_value, _cacheEntry_value1;\n return {\n ...cacheEntry,\n value: ((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) === CachedRouteKind.PAGES ? {\n kind: CachedRouteKind.PAGES,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n pageData: cacheEntry.value.pageData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status\n } : ((_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind) === CachedRouteKind.APP_PAGE ? {\n kind: CachedRouteKind.APP_PAGE,\n html: await cacheEntry.value.html.toUnchunkedString(true),\n postponed: cacheEntry.value.postponed,\n rscData: cacheEntry.value.rscData,\n headers: cacheEntry.value.headers,\n status: cacheEntry.value.status,\n segmentData: cacheEntry.value.segmentData\n } : cacheEntry.value\n };\n}\nexport async function toResponseCacheEntry(response) {\n var _response_value, _response_value1;\n if (!response) return null;\n return {\n isMiss: response.isMiss,\n isStale: response.isStale,\n cacheControl: response.cacheControl,\n isFallback: response.isFallback,\n value: ((_response_value = response.value) == null ? void 0 : _response_value.kind) === CachedRouteKind.PAGES ? {\n kind: CachedRouteKind.PAGES,\n html: RenderResult.fromStatic(response.value.html, HTML_CONTENT_TYPE_HEADER),\n pageData: response.value.pageData,\n headers: response.value.headers,\n status: response.value.status\n } : ((_response_value1 = response.value) == null ? void 0 : _response_value1.kind) === CachedRouteKind.APP_PAGE ? {\n kind: CachedRouteKind.APP_PAGE,\n html: RenderResult.fromStatic(response.value.html, HTML_CONTENT_TYPE_HEADER),\n rscData: response.value.rscData,\n headers: response.value.headers,\n status: response.value.status,\n postponed: response.value.postponed,\n segmentData: response.value.segmentData\n } : response.value\n };\n}\nexport function routeKindToIncrementalCacheKind(routeKind) {\n switch(routeKind){\n case RouteKind.PAGES:\n return IncrementalCacheKind.PAGES;\n case RouteKind.APP_PAGE:\n return IncrementalCacheKind.APP_PAGE;\n case RouteKind.IMAGE:\n return IncrementalCacheKind.IMAGE;\n case RouteKind.APP_ROUTE:\n return IncrementalCacheKind.APP_ROUTE;\n case RouteKind.PAGES_API:\n // Pages Router API routes are not cached in the incremental cache.\n throw Object.defineProperty(new Error(`Unexpected route kind ${routeKind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E64\",\n enumerable: false,\n configurable: true\n });\n default:\n return routeKind;\n }\n}\n\n//# sourceMappingURL=utils.js.map","import { bold, green, magenta, red, yellow, white } from '../../lib/picocolors';\nimport { LRUCache } from '../../server/lib/lru-cache';\nexport const prefixes = {\n wait: white(bold('○')),\n error: red(bold('⨯')),\n warn: yellow(bold('⚠')),\n ready: '▲',\n info: white(bold(' ')),\n event: green(bold('✓')),\n trace: magenta(bold('»'))\n};\nconst LOGGING_METHOD = {\n log: 'log',\n warn: 'warn',\n error: 'error'\n};\nfunction prefixedLog(prefixType, ...message) {\n if ((message[0] === '' || message[0] === undefined) && message.length === 1) {\n message.shift();\n }\n const consoleMethod = prefixType in LOGGING_METHOD ? LOGGING_METHOD[prefixType] : 'log';\n const prefix = prefixes[prefixType];\n // If there's no message, don't print the prefix but a new line\n if (message.length === 0) {\n console[consoleMethod]('');\n } else {\n // Ensure if there's ANSI escape codes it's concatenated into one string.\n // Chrome DevTool can only handle color if it's in one string.\n if (message.length === 1 && typeof message[0] === 'string') {\n console[consoleMethod](prefix + ' ' + message[0]);\n } else {\n console[consoleMethod](prefix, ...message);\n }\n }\n}\nexport function bootstrap(message) {\n console.log(message);\n}\nexport function wait(...message) {\n prefixedLog('wait', ...message);\n}\nexport function error(...message) {\n prefixedLog('error', ...message);\n}\nexport function warn(...message) {\n prefixedLog('warn', ...message);\n}\nexport function ready(...message) {\n prefixedLog('ready', ...message);\n}\nexport function info(...message) {\n prefixedLog('info', ...message);\n}\nexport function event(...message) {\n prefixedLog('event', ...message);\n}\nexport function trace(...message) {\n prefixedLog('trace', ...message);\n}\nconst warnOnceCache = new LRUCache(10000, (value)=>value.length);\nexport function warnOnce(...message) {\n const key = message.join(' ');\n if (!warnOnceCache.has(key)) {\n warnOnceCache.set(key, key);\n warn(...message);\n }\n}\nconst errorOnceCache = new LRUCache(10000, (value)=>value.length);\nexport function errorOnce(...message) {\n const key = message.join(' ');\n if (!errorOnceCache.has(key)) {\n errorOnceCache.set(key, key);\n error(...message);\n }\n}\n\n//# sourceMappingURL=log.js.map","import { Batcher } from '../../lib/batcher';\nimport { LRUCache } from '../lib/lru-cache';\nimport { warnOnce } from '../../build/output/log';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { fromResponseCacheEntry, routeKindToIncrementalCacheKind, toResponseCacheEntry } from './utils';\n/**\n * Parses an environment variable as a positive integer, returning the fallback\n * if the value is missing, not a number, or not positive.\n */ function parsePositiveInt(envValue, fallback) {\n if (!envValue) return fallback;\n const parsed = parseInt(envValue, 10);\n return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;\n}\n/**\n * Default TTL (in milliseconds) for minimal mode response cache entries.\n * Used for cache hit validation as a fallback for providers that don't\n * send the x-invocation-id header yet.\n *\n * 10 seconds chosen because:\n * - Long enough to dedupe rapid successive requests (e.g., page + data)\n * - Short enough to not serve stale data across unrelated requests\n *\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_TTL` environment variable.\n */ const DEFAULT_TTL_MS = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_TTL, 10000);\n/**\n * Default maximum number of entries in the response cache.\n * Can be configured via `NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE` environment variable.\n */ const DEFAULT_MAX_SIZE = parsePositiveInt(process.env.NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE, 150);\n/**\n * Separator used in compound cache keys to join pathname and invocationID.\n * Using null byte (\\0) since it cannot appear in valid URL paths or UUIDs.\n */ const KEY_SEPARATOR = '\\0';\n/**\n * Sentinel value used for TTL-based cache entries (when invocationID is undefined).\n * Chosen to be a clearly reserved marker for internal cache keys.\n */ const TTL_SENTINEL = '__ttl_sentinel__';\n/**\n * Creates a compound cache key from pathname and invocationID.\n */ function createCacheKey(pathname, invocationID) {\n return `${pathname}${KEY_SEPARATOR}${invocationID ?? TTL_SENTINEL}`;\n}\n/**\n * Extracts the invocationID from a compound cache key.\n * Returns undefined if the key used TTL_SENTINEL.\n */ function extractInvocationID(compoundKey) {\n const separatorIndex = compoundKey.lastIndexOf(KEY_SEPARATOR);\n if (separatorIndex === -1) return undefined;\n const invocationID = compoundKey.slice(separatorIndex + 1);\n return invocationID === TTL_SENTINEL ? undefined : invocationID;\n}\nexport * from './types';\nexport default class ResponseCache {\n constructor(minimal_mode, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS){\n this.getBatcher = Batcher.create({\n // Ensure on-demand revalidate doesn't block normal requests, it should be\n // safe to run an on-demand revalidate for the same key as a normal request.\n cacheKeyFn: ({ key, isOnDemandRevalidate })=>`${key}-${isOnDemandRevalidate ? '1' : '0'}`,\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: scheduleOnNextTick\n });\n this.revalidateBatcher = Batcher.create({\n // We wait to do any async work until after we've added our promise to\n // `pendingResponses` to ensure that any any other calls will reuse the\n // same promise until we've fully finished our work.\n schedulerFn: scheduleOnNextTick\n });\n /**\n * Set of invocation IDs that have had cache entries evicted.\n * Used to detect when the cache size may be too small.\n * Bounded to prevent memory growth.\n */ this.evictedInvocationIDs = new Set();\n this.minimal_mode = minimal_mode;\n this.maxSize = maxSize;\n this.ttl = ttl;\n // Create the LRU cache with eviction tracking\n this.cache = new LRUCache(maxSize, undefined, (compoundKey)=>{\n const invocationID = extractInvocationID(compoundKey);\n if (invocationID) {\n // Bound to 100 entries to prevent unbounded memory growth.\n // FIFO eviction is acceptable here because:\n // 1. Invocations are short-lived (single request lifecycle), so older\n // invocations are unlikely to still be active after 100 newer ones\n // 2. This warning mechanism is best-effort for developer guidance—\n // missing occasional eviction warnings doesn't affect correctness\n // 3. If a long-running invocation is somehow evicted and then has\n // another cache entry evicted, it will simply be re-added\n if (this.evictedInvocationIDs.size >= 100) {\n const first = this.evictedInvocationIDs.values().next().value;\n if (first) this.evictedInvocationIDs.delete(first);\n }\n this.evictedInvocationIDs.add(invocationID);\n }\n });\n }\n /**\n * Gets the response cache entry for the given key.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @returns The response cache entry.\n */ async get(key, responseGenerator, context) {\n // If there is no key for the cache, we can't possibly look this up in the\n // cache so just return the result of the response generator.\n if (!key) {\n return responseGenerator({\n hasResolved: false,\n previousCacheEntry: null\n });\n }\n // Check minimal mode cache before doing any other work.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n const cachedItem = this.cache.get(cacheKey);\n if (cachedItem) {\n // With invocationID: exact match found - always a hit\n // With TTL mode: must check expiration\n if (context.invocationID !== undefined) {\n return toResponseCacheEntry(cachedItem.entry);\n }\n // TTL mode: check expiration\n const now = Date.now();\n if (cachedItem.expiresAt > now) {\n return toResponseCacheEntry(cachedItem.entry);\n }\n // TTL expired - clean up\n this.cache.remove(cacheKey);\n }\n // Warn if this invocation had entries evicted - indicates cache may be too small.\n if (context.invocationID && this.evictedInvocationIDs.has(context.invocationID)) {\n warnOnce(`Response cache entry was evicted for invocation ${context.invocationID}. ` + `Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`);\n }\n }\n const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, routeKind, invocationID } = context;\n const response = await this.getBatcher.batch({\n key,\n isOnDemandRevalidate\n }, ({ resolve })=>{\n const promise = this.handleGet(key, responseGenerator, {\n incrementalCache,\n isOnDemandRevalidate,\n isFallback,\n isRoutePPREnabled,\n isPrefetch,\n routeKind,\n invocationID\n }, resolve);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n return toResponseCacheEntry(response);\n }\n /**\n * Handles the get request for the response cache.\n *\n * @param key - The key to get the response cache entry for.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param context - The context for the get request.\n * @param resolve - The resolve function to use to resolve the response cache entry.\n * @returns The response cache entry.\n */ async handleGet(key, responseGenerator, context, resolve) {\n let previousIncrementalCacheEntry = null;\n let resolved = false;\n try {\n // Get the previous cache entry if not in minimal mode\n previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, {\n kind: routeKindToIncrementalCacheKind(context.routeKind),\n isRoutePPREnabled: context.isRoutePPREnabled,\n isFallback: context.isFallback\n }) : null;\n if (previousIncrementalCacheEntry && !context.isOnDemandRevalidate) {\n resolve(previousIncrementalCacheEntry);\n resolved = true;\n if (!previousIncrementalCacheEntry.isStale || context.isPrefetch) {\n // The cached value is still valid, so we don't need to update it yet.\n return previousIncrementalCacheEntry;\n }\n }\n // Revalidate the cache entry\n const incrementalResponseCacheEntry = await this.revalidate(key, context.incrementalCache, context.isRoutePPREnabled, context.isFallback, responseGenerator, previousIncrementalCacheEntry, previousIncrementalCacheEntry !== null && !context.isOnDemandRevalidate, undefined, context.invocationID);\n // Handle null response\n if (!incrementalResponseCacheEntry) {\n // Remove the cache item if it was set so we don't use it again.\n if (this.minimal_mode) {\n const cacheKey = createCacheKey(key, context.invocationID);\n this.cache.remove(cacheKey);\n }\n return null;\n }\n // Resolve for on-demand revalidation or if not already resolved\n if (context.isOnDemandRevalidate && !resolved) {\n return incrementalResponseCacheEntry;\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // If we've already resolved the cache entry, we can't reject as we\n // already resolved the cache entry so log the error here.\n if (resolved) {\n console.error(err);\n return null;\n }\n throw err;\n }\n }\n /**\n * Revalidates the cache entry for the given key.\n *\n * @param key - The key to revalidate the cache entry for.\n * @param incrementalCache - The incremental cache to use to revalidate the cache entry.\n * @param isRoutePPREnabled - Whether the route is PPR enabled.\n * @param isFallback - Whether the route is a fallback.\n * @param responseGenerator - The response generator to use to generate the response cache entry.\n * @param previousIncrementalCacheEntry - The previous cache entry to use to revalidate the cache entry.\n * @param hasResolved - Whether the response has been resolved.\n * @param waitUntil - Optional function to register background work.\n * @param invocationID - The invocation ID for cache key scoping.\n * @returns The revalidated cache entry.\n */ async revalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, waitUntil, invocationID) {\n return this.revalidateBatcher.batch(key, ()=>{\n const promise = this.handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID);\n // We need to ensure background revalidates are passed to waitUntil.\n if (waitUntil) waitUntil(promise);\n return promise;\n });\n }\n async handleRevalidate(key, incrementalCache, isRoutePPREnabled, isFallback, responseGenerator, previousIncrementalCacheEntry, hasResolved, invocationID) {\n try {\n // Generate the response cache entry using the response generator.\n const responseCacheEntry = await responseGenerator({\n hasResolved,\n previousCacheEntry: previousIncrementalCacheEntry,\n isRevalidating: true\n });\n if (!responseCacheEntry) {\n return null;\n }\n // Convert the response cache entry to an incremental response cache entry.\n const incrementalResponseCacheEntry = await fromResponseCacheEntry({\n ...responseCacheEntry,\n isMiss: !previousIncrementalCacheEntry\n });\n // We want to persist the result only if it has a cache control value\n // defined.\n if (incrementalResponseCacheEntry.cacheControl) {\n if (this.minimal_mode) {\n // Set TTL expiration for cache hit validation. Entries are validated\n // by invocationID when available, with TTL as a fallback for providers\n // that don't send x-invocation-id. Memory is managed by LRU eviction.\n const cacheKey = createCacheKey(key, invocationID);\n this.cache.set(cacheKey, {\n entry: incrementalResponseCacheEntry,\n expiresAt: Date.now() + this.ttl\n });\n } else {\n await incrementalCache.set(key, incrementalResponseCacheEntry.value, {\n cacheControl: incrementalResponseCacheEntry.cacheControl,\n isRoutePPREnabled,\n isFallback\n });\n }\n }\n return incrementalResponseCacheEntry;\n } catch (err) {\n // When a path is erroring we automatically re-set the existing cache\n // with new revalidate and expire times to prevent non-stop retrying.\n if (previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.cacheControl) {\n const revalidate = Math.min(Math.max(previousIncrementalCacheEntry.cacheControl.revalidate || 3, 3), 30);\n const expire = previousIncrementalCacheEntry.cacheControl.expire === undefined ? undefined : Math.max(revalidate + 3, previousIncrementalCacheEntry.cacheControl.expire);\n await incrementalCache.set(key, previousIncrementalCacheEntry.value, {\n cacheControl: {\n revalidate: revalidate,\n expire: expire\n },\n isRoutePPREnabled,\n isFallback\n });\n }\n // We haven't resolved yet, so let's throw to indicate an error.\n throw err;\n }\n }\n}\n\n//# sourceMappingURL=index.js.map","/**\n * Describes the different fallback modes that a given page can have.\n */\nexport const enum FallbackMode {\n /**\n * A BLOCKING_STATIC_RENDER fallback will block the request until the page is\n * generated. No fallback page will be rendered, and users will have to wait\n * to render the page.\n */\n BLOCKING_STATIC_RENDER = 'BLOCKING_STATIC_RENDER',\n\n /**\n * When set to PRERENDER, a fallback page will be sent to users in place of\n * forcing them to wait for the page to be generated. This allows the user to\n * see a rendered page earlier.\n */\n PRERENDER = 'PRERENDER',\n\n /**\n * When set to NOT_FOUND, pages that are not already prerendered will result\n * in a not found response.\n */\n NOT_FOUND = 'NOT_FOUND',\n}\n\n/**\n * The fallback value returned from the `getStaticPaths` function.\n */\nexport type GetStaticPathsFallback = boolean | 'blocking'\n\n/**\n * Parses the fallback field from the prerender manifest.\n *\n * @param fallbackField The fallback field from the prerender manifest.\n * @returns The fallback mode.\n */\nexport function parseFallbackField(\n fallbackField: string | boolean | null | undefined\n): FallbackMode | undefined {\n if (typeof fallbackField === 'string') {\n return FallbackMode.PRERENDER\n } else if (fallbackField === null) {\n return FallbackMode.BLOCKING_STATIC_RENDER\n } else if (fallbackField === false) {\n return FallbackMode.NOT_FOUND\n } else if (fallbackField === undefined) {\n return undefined\n } else {\n throw new Error(\n `Invalid fallback option: ${fallbackField}. Fallback option must be a string, null, undefined, or false.`\n )\n }\n}\n\nexport function fallbackModeToFallbackField(\n fallback: FallbackMode,\n page: string | undefined\n): string | false | null {\n switch (fallback) {\n case FallbackMode.BLOCKING_STATIC_RENDER:\n return null\n case FallbackMode.NOT_FOUND:\n return false\n case FallbackMode.PRERENDER:\n if (!page) {\n throw new Error(\n `Invariant: expected a page to be provided when fallback mode is \"${fallback}\"`\n )\n }\n\n return page\n default:\n throw new Error(`Invalid fallback mode: ${fallback}`)\n }\n}\n\n/**\n * Parses the fallback from the static paths result.\n *\n * @param result The result from the static paths function.\n * @returns The fallback mode.\n */\nexport function parseStaticPathsResult(\n result: GetStaticPathsFallback\n): FallbackMode {\n if (result === true) {\n return FallbackMode.PRERENDER\n } else if (result === 'blocking') {\n return FallbackMode.BLOCKING_STATIC_RENDER\n } else {\n return FallbackMode.NOT_FOUND\n }\n}\n","(()=>{\"use strict\";var e={695:e=>{\n/*!\n * fresh\n * Copyright(c) 2012 TJ Holowaychuk\n * Copyright(c) 2016-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\nvar r=/(?:^|,)\\s*?no-cache\\s*?(?:,|$)/;e.exports=fresh;function fresh(e,a){var t=e[\"if-modified-since\"];var s=e[\"if-none-match\"];if(!t&&!s){return false}var i=e[\"cache-control\"];if(i&&r.test(i)){return false}if(s&&s!==\"*\"){var f=a[\"etag\"];if(!f){return false}var n=true;var u=parseTokenList(s);for(var _=0;_{\n if (!used) {\n used = true;\n result = fn(...args);\n }\n return result;\n };\n}\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/;\nexport const isAbsoluteUrl = (url)=>ABSOLUTE_URL_REGEX.test(url);\nexport function getLocationOrigin() {\n const { protocol, hostname, port } = window.location;\n return `${protocol}//${hostname}${port ? ':' + port : ''}`;\n}\nexport function getURL() {\n const { href } = window.location;\n const origin = getLocationOrigin();\n return href.substring(origin.length);\n}\nexport function getDisplayName(Component) {\n return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';\n}\nexport function isResSent(res) {\n return res.finished || res.headersSent;\n}\nexport function normalizeRepeatedSlashes(url) {\n const urlParts = url.split('?');\n const urlNoQuery = urlParts[0];\n return urlNoQuery// first we replace any non-encoded backslashes with forward\n // then normalize repeated forward slashes\n .replace(/\\\\/g, '/').replace(/\\/\\/+/g, '/') + (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '');\n}\nexport async function loadGetInitialProps(App, ctx) {\n if (process.env.NODE_ENV !== 'production') {\n if (App.prototype?.getInitialProps) {\n const message = `\"${getDisplayName(App)}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;\n throw Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1035\",\n enumerable: false,\n configurable: true\n });\n }\n }\n // when called from _app `ctx` is nested in `ctx`\n const res = ctx.res || ctx.ctx && ctx.ctx.res;\n if (!App.getInitialProps) {\n if (ctx.ctx && ctx.Component) {\n // @ts-ignore pageProps default\n return {\n pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)\n };\n }\n return {};\n }\n const props = await App.getInitialProps(ctx);\n if (res && isResSent(res)) {\n return props;\n }\n if (!props) {\n const message = `\"${getDisplayName(App)}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`;\n throw Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1025\",\n enumerable: false,\n configurable: true\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(`${getDisplayName(App)} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`);\n }\n }\n return props;\n}\nexport const SP = typeof performance !== 'undefined';\nexport const ST = SP && [\n 'mark',\n 'measure',\n 'getEntriesByName'\n].every((method)=>typeof performance[method] === 'function');\nexport class DecodeError extends Error {\n}\nexport class NormalizeError extends Error {\n}\nexport class PageNotFoundError extends Error {\n constructor(page){\n super();\n this.code = 'ENOENT';\n this.name = 'PageNotFoundError';\n this.message = `Cannot find module for page: ${page}`;\n }\n}\nexport class MissingStaticPage extends Error {\n constructor(page, message){\n super();\n this.message = `Failed to load static file for page: ${page} ${message}`;\n }\n}\nexport class MiddlewareNotFoundError extends Error {\n constructor(){\n super();\n this.code = 'ENOENT';\n this.message = `Cannot find the middleware module`;\n }\n}\nexport function stringifyError(error) {\n return JSON.stringify({\n message: error.message,\n stack: error.stack\n });\n}\n\n//# sourceMappingURL=utils.js.map","/**\n * FNV-1a Hash implementation\n * @author Travis Webb (tjwebb) \n *\n * Ported from https://github.com/tjwebb/fnv-plus/blob/master/index.js\n *\n * Simplified, optimized and add modified for 52 bit, which provides a larger hash space\n * and still making use of Javascript's 53-bit integer space.\n */ export const fnv1a52 = (str)=>{\n const len = str.length;\n let i = 0, t0 = 0, v0 = 0x2325, t1 = 0, v1 = 0x8422, t2 = 0, v2 = 0x9ce4, t3 = 0, v3 = 0xcbf2;\n while(i < len){\n v0 ^= str.charCodeAt(i++);\n t0 = v0 * 435;\n t1 = v1 * 435;\n t2 = v2 * 435;\n t3 = v3 * 435;\n t2 += v0 << 8;\n t3 += v1 << 8;\n t1 += t0 >>> 16;\n v0 = t0 & 65535;\n t2 += t1 >>> 16;\n v1 = t1 & 65535;\n v3 = t3 + (t2 >>> 16) & 65535;\n v2 = t2 & 65535;\n }\n return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4);\n};\nexport const generateETag = (payload, weak = false)=>{\n const prefix = weak ? 'W/\"' : '\"';\n return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '\"';\n};\n\n//# sourceMappingURL=etag.js.map","import type { SizeLimit } from '../../types'\n\nexport const DEFAULT_MAX_POSTPONED_STATE_SIZE: SizeLimit = '100 MB'\n\n// 100MB in bytes. Not using the parseSizeLimit for performance as parseMaxPostponedStateSize is in the hot path for rendering.\nconst DEFAULT_MAX_POSTPONED_STATE_SIZE_BYTES = 104_857_600\n\nfunction parseSizeLimit(size: SizeLimit): number | undefined {\n const bytes = (\n require('next/dist/compiled/bytes') as typeof import('next/dist/compiled/bytes')\n ).parse(size)\n if (bytes === null || isNaN(bytes) || bytes < 1) {\n return undefined\n }\n return bytes\n}\n\n/**\n * Parses the maxPostponedStateSize config value, using the default if not provided.\n */\nexport function parseMaxPostponedStateSize(\n size: SizeLimit | undefined\n): number | undefined {\n if (!size) {\n return DEFAULT_MAX_POSTPONED_STATE_SIZE_BYTES\n }\n return parseSizeLimit(size)\n}\n","import {\n DEFAULT_MAX_POSTPONED_STATE_SIZE,\n parseMaxPostponedStateSize,\n} from '../../shared/lib/size-limit'\nimport type { SizeLimit } from '../../types'\n\nconst INVALID_MAX_POSTPONED_STATE_SIZE_ERROR_MESSAGE =\n 'maxPostponedStateSize must be a valid number (bytes) or filesize format string (e.g., \"5mb\")'\n\nexport type PostponedRequestBodyChunk = Buffer | Uint8Array | string\n\nexport function getMaxPostponedStateSize(\n configuredMaxPostponedStateSize: SizeLimit | undefined\n): {\n maxPostponedStateSize: SizeLimit\n maxPostponedStateSizeBytes: number\n} {\n const maxPostponedStateSize =\n configuredMaxPostponedStateSize ?? DEFAULT_MAX_POSTPONED_STATE_SIZE\n const maxPostponedStateSizeBytes = parseMaxPostponedStateSize(\n configuredMaxPostponedStateSize\n )\n\n if (maxPostponedStateSizeBytes === undefined) {\n throw new Error(INVALID_MAX_POSTPONED_STATE_SIZE_ERROR_MESSAGE)\n }\n\n return { maxPostponedStateSize, maxPostponedStateSizeBytes }\n}\n\nexport function getPostponedStateExceededErrorMessage(\n maxPostponedStateSize: SizeLimit\n): string {\n return (\n `Postponed state exceeded ${maxPostponedStateSize} limit. ` +\n `To configure the limit, see: https://nextjs.org/docs/app/api-reference/config/next-config-js/max-postponed-state-size`\n )\n}\n\nfunction toBuffer(chunk: PostponedRequestBodyChunk): Buffer {\n return Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk)\n}\n\nexport async function readBodyWithSizeLimit(\n body: AsyncIterable,\n maxBodySizeBytes: number\n): Promise {\n const chunks: Array = []\n let size = 0\n\n for await (const chunk of body) {\n const buffer = toBuffer(chunk)\n size += buffer.byteLength\n if (size > maxBodySizeBytes) {\n return null\n }\n chunks.push(buffer)\n }\n\n return Buffer.concat(chunks)\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-rsc']!.ReactServerDOMTurbopackStatic\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/client/components/layout-router.js\"));\n","'use client'\n\nimport type { CacheNode } from '../../shared/lib/app-router-types'\nimport type { LoadingModuleData } from '../../shared/lib/app-router-types'\nimport type {\n FlightRouterState,\n FlightSegmentPath,\n Segment,\n} from '../../shared/lib/app-router-types'\nimport type { ErrorComponent } from './error-boundary'\nimport type { FocusAndScrollRef } from './router-reducer/router-reducer-types'\n\nimport React, {\n Activity,\n Fragment,\n useContext,\n use,\n Suspense,\n useDeferredValue,\n useLayoutEffect,\n type FragmentInstance,\n type JSX,\n type ActivityProps,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport {\n LayoutRouterContext,\n GlobalLayoutRouterContext,\n TemplateContext,\n} from '../../shared/lib/app-router-context.shared-runtime'\nimport { unresolvedThenable } from './unresolved-thenable'\nimport { ErrorBoundary } from './error-boundary'\nimport { disableSmoothScrollDuringRouteTransition } from '../../shared/lib/router/utils/disable-smooth-scroll'\nimport { RedirectBoundary } from './redirect-boundary'\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary'\nimport { createRouterCacheKey } from './router-reducer/create-router-cache-key'\nimport {\n useRouterBFCache,\n type RouterBFCacheEntry,\n} from './bfcache-state-manager'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport {\n NavigationPromisesContext,\n type NavigationPromises,\n} from '../../shared/lib/hooks-client-context.shared-runtime'\nimport { getParamValueFromCacheKey } from '../route-params'\nimport type { Params } from '../../server/request/params'\nimport { isDeferredRsc } from './router-reducer/ppr-navigations'\n\nconst enableNewScrollHandler = process.env.__NEXT_APP_NEW_SCROLL_HANDLER\n\nconst __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = (\n ReactDOM as any\n).__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE\n\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */\nfunction findDOMNode(\n instance: React.ReactInstance | null | undefined\n): Element | Text | null {\n // Tree-shake for server bundle\n if (typeof window === 'undefined') return null\n\n // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init.\n // We need to lazily reference it.\n const internal_reactDOMfindDOMNode =\n __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode\n return internal_reactDOMfindDOMNode(instance)\n}\n\nconst rectProperties = [\n 'bottom',\n 'height',\n 'left',\n 'right',\n 'top',\n 'width',\n 'x',\n 'y',\n] as const\n/**\n * Check if a HTMLElement is hidden or fixed/sticky position\n */\nfunction shouldSkipElement(element: HTMLElement) {\n // we ignore fixed or sticky positioned elements since they'll likely pass the \"in-viewport\" check\n // and will result in a situation we bail on scroll because of something like a fixed nav,\n // even though the actual page content is offscreen\n if (['sticky', 'fixed'].includes(getComputedStyle(element).position)) {\n return true\n }\n\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect()\n return rectProperties.every((item) => rect[item] === 0)\n}\n\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */\nfunction topOfElementInViewport(\n instance: HTMLElement | FragmentInstance,\n viewportHeight: number\n): boolean {\n const rects = instance.getClientRects()\n if (rects.length === 0) {\n // Just to be explicit.\n return false\n }\n let elementTop = Number.POSITIVE_INFINITY\n for (let i = 0; i < rects.length; i++) {\n const rect = rects[i]\n if (rect.top < elementTop) {\n elementTop = rect.top\n }\n }\n return elementTop >= 0 && elementTop <= viewportHeight\n}\n\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */\nfunction getHashFragmentDomNode(hashFragment: string) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === 'top') {\n return document.body\n }\n\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return (\n document.getElementById(hashFragment) ??\n // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0]\n )\n}\ninterface ScrollAndMaybeFocusHandlerProps {\n focusAndScrollRef: FocusAndScrollRef\n children: React.ReactNode\n cacheNode: CacheNode\n}\nclass InnerScrollAndFocusHandlerOld extends React.Component {\n handlePotentialScroll = () => {\n // Handle scroll and focus, it's only applied once.\n const { focusAndScrollRef, cacheNode } = this.props\n\n const scrollRef = focusAndScrollRef.forceScroll\n ? focusAndScrollRef.scrollRef\n : cacheNode.scrollRef\n if (scrollRef === null || !scrollRef.current) return\n\n let domNode:\n | ReturnType\n | ReturnType = null\n const hashFragment = focusAndScrollRef.hashFragment\n\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment)\n }\n\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a in head.\n if (!domNode) {\n domNode = findDOMNode(this)\n }\n\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return\n }\n\n // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior.\n // If the element is skipped, try to select the next sibling and try again.\n while (!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)) {\n if (process.env.NODE_ENV !== 'production') {\n if (domNode.parentElement?.localName === 'head') {\n // We enter this state when metadata was rendered as part of the page or via Next.js.\n // This is always a bug in Next.js and caused by React hoisting metadata.\n // Fixed with `experimental.appNewScrollHandler`\n }\n }\n\n // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return\n }\n domNode = domNode.nextElementSibling\n }\n\n // Mark as scrolled so no other segment scrolls for this navigation.\n scrollRef.current = false\n\n disableSmoothScrollDuringRouteTransition(\n () => {\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n domNode.scrollIntoView()\n\n return\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement\n const viewportHeight = htmlElement.clientHeight\n\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode, viewportHeight)) {\n return\n }\n\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0\n\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n domNode.scrollIntoView()\n }\n },\n {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange,\n }\n )\n\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false\n focusAndScrollRef.hashFragment = null\n\n // Set focus on the element\n domNode.focus()\n }\n\n componentDidMount() {\n this.handlePotentialScroll()\n }\n\n componentDidUpdate() {\n this.handlePotentialScroll()\n }\n\n render() {\n return this.props.children\n }\n}\n\n/**\n * Fork of InnerScrollAndFocusHandlerOld using Fragment refs for scrolling.\n * No longer focuses the first host descendant.\n */\nfunction InnerScrollHandlerNew(props: ScrollAndMaybeFocusHandlerProps) {\n const childrenRef = React.useRef(null)\n\n useLayoutEffect(\n () => {\n const { focusAndScrollRef, cacheNode } = props\n\n const scrollRef = focusAndScrollRef.forceScroll\n ? focusAndScrollRef.scrollRef\n : cacheNode.scrollRef\n if (scrollRef === null || !scrollRef.current) return\n\n let instance: FragmentInstance | HTMLElement | null = null\n const hashFragment = focusAndScrollRef.hashFragment\n\n if (hashFragment) {\n instance = getHashFragmentDomNode(hashFragment)\n }\n\n if (!instance) {\n instance = childrenRef.current\n }\n\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (instance === null) {\n return\n }\n\n // Mark as scrolled so no other segment scrolls for this navigation.\n scrollRef.current = false\n\n const activeElement = document.activeElement\n if (\n activeElement !== null &&\n 'blur' in activeElement &&\n typeof activeElement.blur === 'function'\n ) {\n // Trying to match hard navigations.\n // Ideally we'd move the internal focus cursor either to the top\n // or at least before the segment. But there's no DOM API to do that,\n // so we just blur.\n // We could workaround this by moving focus to a temporary element in\n // the body. But adding elements might trigger layout or other effects\n // so it should be well motivated.\n activeElement.blur()\n }\n\n disableSmoothScrollDuringRouteTransition(\n () => {\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n instance.scrollIntoView()\n\n return\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement\n const viewportHeight = htmlElement.clientHeight\n\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(instance, viewportHeight)) {\n return\n }\n\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0\n\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(instance, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n instance.scrollIntoView()\n }\n },\n {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange,\n }\n )\n\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false\n focusAndScrollRef.hashFragment = null\n },\n // Used to run on every commit. We may be able to be smarter about this\n // but be prepared for lots of manual testing.\n undefined\n )\n\n return {props.children}\n}\n\nconst InnerScrollAndMaybeFocusHandler = enableNewScrollHandler\n ? InnerScrollHandlerNew\n : InnerScrollAndFocusHandlerOld\n\nfunction ScrollAndMaybeFocusHandler({\n children,\n cacheNode,\n}: {\n children: React.ReactNode\n cacheNode: CacheNode\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n return (\n \n {children}\n \n )\n}\n\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */\nfunction InnerLayoutRouter({\n tree,\n segmentPath,\n debugNameContext,\n cacheNode: maybeCacheNode,\n params,\n url,\n isActive,\n}: {\n tree: FlightRouterState\n segmentPath: FlightSegmentPath\n debugNameContext: string\n cacheNode: CacheNode | null\n params: Params\n url: string\n isActive: boolean\n}) {\n const context = useContext(GlobalLayoutRouterContext)\n const parentNavPromises = useContext(NavigationPromisesContext)\n\n if (!context) {\n throw new Error('invariant global layout router not mounted')\n }\n\n const cacheNode =\n maybeCacheNode !== null\n ? maybeCacheNode\n : // This segment is not in the cache. Suspend indefinitely.\n //\n // This should only be reachable for inactive/hidden segments, during\n // prerendering The active segment should always be consistent with the\n // CacheNode tree. Regardless, if we don't have a matching CacheNode, we\n // must suspend rather than render nothing, to prevent showing an\n // inconsistent route.\n\n (use(unresolvedThenable) as never)\n\n // `rsc` represents the renderable node for this segment.\n\n // If this segment has a `prefetchRsc`, it's the statically prefetched data.\n // We should use that on initial render instead of `rsc`. Then we'll switch\n // to `rsc` when the dynamic response streams in.\n //\n // If no prefetch data is available, then we go straight to rendering `rsc`.\n const resolvedPrefetchRsc =\n cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc\n\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n const rsc: any = useDeferredValue(cacheNode.rsc, resolvedPrefetchRsc)\n\n // `rsc` is either a React node or a promise for a React node, except we\n // special case `null` to represent that this segment's data is missing. If\n // it's a promise, we need to unwrap it so we can determine whether or not the\n // data is missing.\n let resolvedRsc: React.ReactNode\n if (isDeferredRsc(rsc)) {\n const unwrappedRsc = use(rsc)\n if (unwrappedRsc === null) {\n // If the promise was resolved to `null`, it means the data for this\n // segment was not returned by the server. Suspend indefinitely. When this\n // happens, the router is responsible for triggering a new state update to\n // un-suspend this segment.\n use(unresolvedThenable) as never\n }\n resolvedRsc = unwrappedRsc\n } else {\n // This is not a deferred RSC promise. Don't need to unwrap it.\n if (rsc === null) {\n use(unresolvedThenable) as never\n }\n resolvedRsc = rsc\n }\n\n // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide\n // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`.\n // Promises are cached outside of render to survive suspense retries.\n let navigationPromises: NavigationPromises | null = null\n if (process.env.NODE_ENV !== 'production') {\n const { createNestedLayoutNavigationPromises } =\n require('./navigation-devtools') as typeof import('./navigation-devtools')\n\n navigationPromises = createNestedLayoutNavigationPromises(\n tree,\n parentNavPromises\n )\n }\n\n let children = resolvedRsc\n\n if (navigationPromises) {\n children = (\n \n {resolvedRsc}\n \n )\n }\n\n children = (\n // The layout router context narrows down tree and childNodes at each level.\n \n {children}\n \n )\n\n return children\n}\n\nexport function LoadingBoundaryProvider({\n loading,\n children,\n}: {\n loading: LoadingModuleData\n children: React.ReactNode\n}) {\n // Provides the data needed to render a loading.tsx boundary, via context.\n //\n // loading.tsx creates a Suspense boundary around each of a layout's child\n // slots. (Might be bit confusing to think about the data flow, but: if\n // loading.tsx and layout.tsx are in the same directory, they are assigned\n // to the same CacheNode.)\n //\n // This provider component does not render the Suspense boundary directly;\n // that's handled by LoadingBoundary.\n //\n // TODO: For simplicity, we should combine this provider with LoadingBoundary\n // and render the Suspense boundary directly. The only real benefit of doing\n // it separately is so that when there are multiple parallel routes, we only\n // send the boundary data once, rather than once per child. But that's a\n // negligible benefit and can be achieved via caching instead.\n const parentContext = use(LayoutRouterContext)\n if (parentContext === null) {\n return children\n }\n // All values except for parentLoadingData are the same as the parent context.\n return (\n \n {children}\n \n )\n}\n\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */\nfunction LoadingBoundary({\n name,\n loading,\n children,\n}: {\n name: ActivityProps['name']\n loading: LoadingModuleData | null\n children: React.ReactNode\n}): JSX.Element {\n // TODO: For LoadingBoundary, and the other built-in boundary types, don't\n // wrap in an extra function component if no user-defined boundary is\n // provided. In other words, inline this conditional wrapping logic into\n // the parent component. More efficient and keeps unnecessary junk out of\n // the component stack.\n if (loading !== null) {\n const loadingRsc = loading[0]\n const loadingStyles = loading[1]\n const loadingScripts = loading[2]\n return (\n \n {loadingStyles}\n {loadingScripts}\n {loadingRsc}\n \n }\n >\n {children}\n \n )\n }\n\n return <>{children}\n}\n\n/**\n * OuterLayoutRouter handles the current segment as well as rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */\nexport default function OuterLayoutRouter({\n parallelRouterKey,\n error,\n errorStyles,\n errorScripts,\n templateStyles,\n templateScripts,\n template,\n notFound,\n forbidden,\n unauthorized,\n segmentViewBoundaries,\n}: {\n parallelRouterKey: string\n error: ErrorComponent | undefined\n errorStyles: React.ReactNode | undefined\n errorScripts: React.ReactNode | undefined\n templateStyles: React.ReactNode | undefined\n templateScripts: React.ReactNode | undefined\n template: React.ReactNode\n notFound: React.ReactNode | undefined\n forbidden: React.ReactNode | undefined\n unauthorized: React.ReactNode | undefined\n segmentViewBoundaries?: React.ReactNode\n}) {\n const context = useContext(LayoutRouterContext)\n if (!context) {\n throw new Error('invariant expected layout router to be mounted')\n }\n\n const {\n parentTree,\n parentCacheNode,\n parentSegmentPath,\n parentParams,\n parentLoadingData,\n url,\n isActive,\n debugNameContext,\n } = context\n\n // Get the CacheNode for this segment by reading it from the parent segment's\n // child map.\n const parentTreeSegment = parentTree[0]\n const segmentPath =\n parentSegmentPath === null\n ? // TODO: The root segment value is currently omitted from the segment\n // path. This has led to a bunch of special cases scattered throughout\n // the code. We should clean this up.\n [parallelRouterKey]\n : parentSegmentPath.concat([parentTreeSegment, parallelRouterKey])\n\n // The \"state\" key of a segment is the one passed to React — it represents the\n // identity of the UI tree. Whenever the state key changes, the tree is\n // recreated and the state is reset. In the App Router model, search params do\n // not cause state to be lost, so two segments with the same segment path but\n // different search params should have the same state key.\n //\n // The \"cache\" key of a segment, however, *does* include the search params, if\n // it's possible that the segment accessed the search params on the server.\n // (This only applies to page segments; layout segments cannot access search\n // params on the server.)\n const activeTree = parentTree[1][parallelRouterKey]\n const maybeParentSlots = parentCacheNode.slots\n if (activeTree === undefined || maybeParentSlots === null) {\n // Could not find a matching segment. The client tree is inconsistent with\n // the server tree. Suspend indefinitely; the router will have already\n // detected the inconsistency when handling the server response, and\n // triggered a refresh of the page to recover.\n use(unresolvedThenable) as never\n }\n\n let maybeValidationBoundaryId: string | null = null\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS) {\n const { InstantValidationBoundaryContext } =\n require('./instant-validation/boundary') as typeof import('./instant-validation/boundary')\n maybeValidationBoundaryId = use(InstantValidationBoundaryContext)\n }\n\n const activeSegment = activeTree[0]\n const activeCacheNode = maybeParentSlots![parallelRouterKey] ?? null\n const activeStateKey = createRouterCacheKey(activeSegment, true) // no search params\n\n // At each level of the route tree, not only do we render the currently\n // active segment — we also render the last N segments that were active at\n // this level inside a hidden boundary, to preserve their state\n // if or when the user navigates to them again.\n //\n // bfcacheEntry is a linked list of FlightRouterStates.\n let bfcacheEntry: RouterBFCacheEntry | null = useRouterBFCache(\n activeTree,\n activeCacheNode,\n activeStateKey\n )\n let children: Array = []\n do {\n const tree = bfcacheEntry.tree\n const cacheNode = bfcacheEntry.cacheNode\n const stateKey = bfcacheEntry.stateKey\n const segment = tree[0]\n\n /*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - When gracefully degrade for bots, skip rendering error boundary.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */\n\n let segmentBoundaryTriggerNode: React.ReactNode = null\n let segmentViewStateNode: React.ReactNode = null\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentBoundaryTriggerNode, SegmentViewStateNode } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n const pagePrefix = normalizeAppPath(url)\n segmentViewStateNode = (\n \n )\n\n segmentBoundaryTriggerNode = (\n <>\n \n \n )\n }\n\n let params = parentParams\n if (Array.isArray(segment)) {\n // This segment contains a route param. Accumulate these as we traverse\n // down the router tree. The result represents the set of params that\n // the layout/page components are permitted to access below this point.\n const paramName = segment[0]\n const paramCacheKey = segment[1]\n const paramType = segment[2]\n const paramValue = getParamValueFromCacheKey(paramCacheKey, paramType)\n if (paramValue !== null) {\n params = {\n ...parentParams,\n [paramName]: paramValue,\n }\n }\n }\n\n const debugName = getBoundaryDebugNameFromSegment(segment)\n // `debugNameContext` represents the nearest non-\"virtual\" parent segment.\n // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments.\n // So if `debugName` is undefined, the context is passed through unchanged.\n const childDebugNameContext = debugName ?? debugNameContext\n\n // In practical terms, clicking this name in the Suspense DevTools\n // should select the child slots of that layout.\n //\n // So the name we apply to the Activity boundary is actually based on\n // the nearest parent segments.\n //\n // We skip over \"virtual\" parents, i.e. ones inserted by Next.js that\n // don't correspond to application-defined code.\n const isVirtual = debugName === undefined\n const debugNameToDisplay = isVirtual ? undefined : debugNameContext\n\n let templateValue = (\n \n \n \n \n \n \n {segmentBoundaryTriggerNode}\n \n \n \n \n {segmentViewStateNode}\n \n )\n\n if (\n typeof window === 'undefined' &&\n process.env.__NEXT_CACHE_COMPONENTS &&\n typeof maybeValidationBoundaryId === 'string'\n ) {\n const { RenderValidationBoundaryAtThisLevel } =\n require('./instant-validation/boundary') as typeof import('./instant-validation/boundary')\n templateValue = (\n \n {templateValue}\n \n )\n }\n\n let child = (\n \n {templateStyles}\n {templateScripts}\n {template}\n \n )\n\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentStateProvider } =\n require('../../next-devtools/userspace/app/segment-explorer-node') as typeof import('../../next-devtools/userspace/app/segment-explorer-node')\n\n child = (\n \n {child}\n {segmentViewBoundaries}\n \n )\n }\n\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n child = (\n \n {child}\n \n )\n }\n\n children.push(child)\n\n bfcacheEntry = bfcacheEntry.next\n } while (bfcacheEntry !== null)\n\n return children\n}\n\nfunction getBoundaryDebugNameFromSegment(segment: Segment): string | undefined {\n if (segment === '/') {\n // Reached the root\n return '/'\n }\n if (typeof segment === 'string') {\n if (isVirtualLayout(segment)) {\n return undefined\n } else {\n return segment + '/'\n }\n }\n const paramCacheKey = segment[1]\n return paramCacheKey + '/'\n}\n\nfunction isVirtualLayout(segment: string): boolean {\n return (\n // This is inserted by the loader. Uses double-underscore convention\n // (like __PAGE__ and __DEFAULT__) to avoid collisions with\n // user-defined route groups.\n segment === '(__SLOT__)'\n )\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js\"));\n","'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'\n\nexport default function RenderFromTemplateContext(): JSX.Element {\n const children = useContext(TemplateContext)\n return <>{children}\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/client/components/client-page.js\"));\n","'use client'\n\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\nimport { urlSearchParamsToParsedUrlQuery } from '../route-params'\nimport { SearchParamsContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * When the Page is a client component we send the params and searchParams to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Page component.\n *\n * additionally we may send promises representing the params and searchParams. We don't ever use these passed\n * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations.\n * It is up to the caller to decide if the promises are needed.\n */\nexport function ClientPageRoot({\n Component,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n serverProvidedParams: null | {\n searchParams: ParsedUrlQuery\n params: Params\n promises: Array> | null\n }\n}) {\n let searchParams: ParsedUrlQuery\n let params: Params\n if (serverProvidedParams !== null) {\n searchParams = serverProvidedParams.searchParams\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params as\n // props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n\n // This is an intentional behavior change: when Cache Components is enabled,\n // client segments receive the \"canonical\" search params, not the\n // rewritten ones. Users should either call useSearchParams directly or pass\n // the rewritten ones in from a Server Component.\n // TODO: Log a deprecation error when this object is accessed\n searchParams = urlSearchParamsToParsedUrlQuery(use(SearchParamsContext)!)\n }\n\n if (typeof window === 'undefined') {\n let clientSearchParams: Promise\n let clientParams: Promise\n\n const { createSearchParamsFromClient } =\n require('../../server/request/search-params') as typeof import('../../server/request/search-params')\n clientSearchParams = createSearchParamsFromClient(searchParams)\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params)\n\n return \n } else {\n const { createRenderSearchParamsFromClient } =\n require('../request/search-params.browser') as typeof import('../request/search-params.browser')\n const clientSearchParams = createRenderSearchParamsFromClient(searchParams)\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n\n return \n }\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/client/components/client-segment.js\"));\n","'use client'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\n\n/**\n * When the Page is a client component we send the params to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Segment component.\n *\n * additionally we may send a promise representing params. We don't ever use this passed\n * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations\n * such as when cacheComponents is enabled. It is up to the caller to decide if the promises are needed.\n */\nexport function ClientSegmentRoot({\n Component,\n slots,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n slots: { [key: string]: React.ReactNode }\n serverProvidedParams: null | {\n params: Params\n promises: Array> | null\n }\n}) {\n let params: Params\n if (serverProvidedParams !== null) {\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params\n // as props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n }\n\n if (typeof window === 'undefined') {\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n const clientParams: Promise = createParamsFromClient(params)\n\n return \n } else {\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n return \n }\n}\n","// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/;\nexport function describeStringPropertyAccess(target, prop) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``;\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``;\n}\nexport function describeHasCheckingStringProperty(target, prop) {\n const stringifiedProp = JSON.stringify(prop);\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`;\n}\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n // Promise prototype\n 'then',\n 'catch',\n 'finally',\n // React Promise extension\n 'status',\n // 'value',\n // 'error',\n // React introspection\n 'displayName',\n '_debugInfo',\n // Common tested properties\n 'toJSON',\n '$$typeof',\n '__esModule',\n // Tested by flight when checking for iterables\n '@@iterator'\n]);\n\n//# sourceMappingURL=reflect-utils.js.map","const INSTANT_VALIDATION_ERROR_DIGEST = 'INSTANT_VALIDATION_ERROR';\n/** Check if an error is an exhaustive samples validation error (by digest). */ export function isInstantValidationError(err) {\n return !!(err && typeof err === 'object' && err instanceof Error && err.digest === INSTANT_VALIDATION_ERROR_DIGEST);\n}\nexport class InstantValidationError extends Error {\n constructor(...args){\n super(...args), this.digest = INSTANT_VALIDATION_ERROR_DIGEST;\n }\n}\n\n//# sourceMappingURL=instant-validation-error.js.map","export class ReflectAdapter {\n static get(target, prop, receiver) {\n const value = Reflect.get(target, prop, receiver);\n if (typeof value === 'function') {\n return value.bind(target);\n }\n return value;\n }\n static set(target, prop, value, receiver) {\n return Reflect.set(target, prop, value, receiver);\n }\n static has(target, prop) {\n return Reflect.has(target, prop);\n }\n static deleteProperty(target, prop) {\n return Reflect.deleteProperty(target, prop);\n }\n}\n\n//# sourceMappingURL=reflect.js.map","import { RequestCookies } from '../../web/spec-extension/cookies';\nimport { RequestCookiesAdapter } from '../../web/spec-extension/adapters/request-cookies';\nimport { HeadersAdapter } from '../../web/spec-extension/adapters/headers';\nimport { getSegmentParam } from '../../../shared/lib/router/utils/get-segment-param';\nimport { parseRelativeUrl } from '../../../shared/lib/router/utils/parse-relative-url';\nimport { InvariantError } from '../../../shared/lib/invariant-error';\nimport { InstantValidationError } from './instant-validation-error';\nimport { workUnitAsyncStorage } from '../work-unit-async-storage.external';\nimport { wellKnownProperties } from '../../../shared/lib/utils/reflect-utils';\nexport function createValidationSampleTracking() {\n return {\n missingSampleErrors: []\n };\n}\nfunction getExpectedSampleTracking() {\n let validationSampleTracking = null;\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'request':\n case 'validation-client':\n // TODO(instant-validation-build): do we need any special handling for caches?\n validationSampleTracking = workUnitStore.validationSampleTracking ?? null;\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n case 'prerender':\n case 'prerender-runtime':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (!validationSampleTracking) {\n throw Object.defineProperty(new InvariantError('Expected to have a workUnitStore that provides validationSampleTracking'), \"__NEXT_ERROR_CODE\", {\n value: \"E1110\",\n enumerable: false,\n configurable: true\n });\n }\n return validationSampleTracking;\n}\nexport function trackMissingSampleError(error) {\n const validationSampleTracking = getExpectedSampleTracking();\n validationSampleTracking.missingSampleErrors.push(error);\n}\nexport function trackMissingSampleErrorAndThrow(error) {\n // TODO(instant-validation-build): this should abort the render\n trackMissingSampleError(error);\n throw error;\n}\n/**\n * Creates ReadonlyRequestCookies from sample cookie data.\n * Accessing a cookie not declared in the sample will throw an error.\n * Cookies with `value: null` are declared (allowed to access) but return no value.\n */ export function createCookiesFromSample(sampleCookies, route) {\n const declaredNames = new Set();\n const cookies = new RequestCookies(new Headers());\n if (sampleCookies) {\n for (const cookie of sampleCookies){\n declaredNames.add(cookie.name);\n if (cookie.value !== null) {\n cookies.set(cookie.name, cookie.value);\n }\n }\n }\n const sealed = RequestCookiesAdapter.seal(cookies);\n return new Proxy(sealed, {\n get (target, prop, receiver) {\n if (prop === 'has') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const wrappedMethod = function(name) {\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingCookieSampleError(route, name));\n }\n return originalMethod.call(target, name);\n };\n return wrappedMethod;\n }\n if (prop === 'get') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const wrappedMethod = function(nameOrCookie) {\n let name;\n if (typeof nameOrCookie === 'string') {\n name = nameOrCookie;\n } else if (nameOrCookie && typeof nameOrCookie === 'object' && typeof nameOrCookie.name === 'string') {\n name = nameOrCookie.name;\n } else {\n // This is an invalid input. Pass it through to the original method so it can error.\n return originalMethod.call(target, nameOrCookie);\n }\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingCookieSampleError(route, name));\n }\n return originalMethod.call(target, name);\n };\n return wrappedMethod;\n }\n // TODO(instant-validation-build): what should getAll do?\n // Maybe we should only allow it if there's an array (possibly empty?)\n return Reflect.get(target, prop, receiver);\n }\n });\n}\nfunction createMissingCookieSampleError(route, name) {\n return Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed cookie \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`cookies\\` array, ` + `or \\`{ name: \"${name}\", value: null }\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1115\",\n enumerable: false,\n configurable: true\n });\n}\n/**\n * Creates ReadonlyHeaders from sample header data.\n * Accessing a header not declared in the sample will throw an error.\n * Headers with `value: null` are declared (allowed to access) but return null.\n */ export function createHeadersFromSample(rawSampleHeaders, sampleCookies, route) {\n // If we have cookie samples, add a `cookie` header to match.\n // Accessing it will be implicitly allowed by the proxy --\n // if the user defined some cookies, accessing the \"cookie\" header is also fine.\n const sampleHeaders = rawSampleHeaders ? [\n ...rawSampleHeaders\n ] : [];\n if (sampleHeaders.find(([name])=>name.toLowerCase() === 'cookie')) {\n throw Object.defineProperty(new InstantValidationError('Invalid sample: Defining cookies via a \"cookie\" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1111\",\n enumerable: false,\n configurable: true\n });\n }\n if (sampleCookies) {\n const cookieHeaderValue = sampleCookies.toString();\n sampleHeaders.push([\n 'cookie',\n // if the `cookies` samples were empty, or they were all `null`, then we have no cookies,\n // and the header isn't present, but should remains readable, so we set it to null.\n cookieHeaderValue !== '' ? cookieHeaderValue : null\n ]);\n }\n const declaredNames = new Set();\n const headersInit = {};\n for (const [name, value] of sampleHeaders){\n declaredNames.add(name.toLowerCase());\n if (value !== null) {\n headersInit[name.toLowerCase()] = value;\n }\n }\n const sealed = HeadersAdapter.seal(HeadersAdapter.from(headersInit));\n return new Proxy(sealed, {\n get (target, prop, receiver) {\n if (prop === 'get' || prop === 'has') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const patchedMethod = function(rawName) {\n const name = rawName.toLowerCase();\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed header \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`headers\\` array, ` + `or \\`[\"${name}\", null]\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1116\",\n enumerable: false,\n configurable: true\n }));\n }\n // typescript can't reconcile a union of functions with a union of return types,\n // so we have to cast the original return type away\n return originalMethod.call(target, name);\n };\n return patchedMethod;\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n}\n/**\n * Creates a DraftModeProvider that always returns isEnabled: false.\n */ export function createDraftModeForValidation() {\n // Create a minimal DraftModeProvider-compatible object\n // that always reports draft mode as disabled.\n //\n // private properties that can't be set from outside the class.\n return {\n get isEnabled () {\n return false;\n },\n enable () {\n throw Object.defineProperty(new Error('Draft mode cannot be enabled during build-time instant validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1092\",\n enumerable: false,\n configurable: true\n });\n },\n disable () {\n throw Object.defineProperty(new Error('Draft mode cannot be disabled during build-time instant validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1094\",\n enumerable: false,\n configurable: true\n });\n }\n };\n}\n/**\n * Creates params wrapped with an exhaustive proxy.\n * Accessing a param not declared in the sample will throw an error.\n */ export function createExhaustiveParamsProxy(underlyingParams, declaredParamNames, route) {\n return new Proxy(underlyingParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && // Only error when accessing a param that is part of the route but wasn't provided.\n // accessing properties that aren't expected to be a valid param value is fine.\n prop in underlyingParams && !declaredParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed param \"${prop}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`params\\` object.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1095\",\n enumerable: false,\n configurable: true\n }));\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n}\n/**\n * Creates searchParams wrapped with an exhaustive proxy.\n * Accessing a searchParam not declared in the sample will throw an error.\n * A searchParam with `value: undefined` means \"declared but absent\" (allowed to access, returns undefined).\n */ export function createExhaustiveSearchParamsProxy(searchParams, declaredSearchParamNames, route) {\n return new Proxy(searchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && !declaredSearchParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, prop));\n }\n return Reflect.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && !declaredSearchParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, prop));\n }\n return Reflect.has(target, prop);\n }\n });\n}\n/**\n * Wraps a URLSearchParams (or subclass like ReadonlyURLSearchParams) with an\n * exhaustive proxy. Accessing a search param not declared in the sample via\n * get/getAll/has will throw an error.\n */ export function createExhaustiveURLSearchParamsProxy(searchParams, declaredSearchParamNames, route) {\n return new Proxy(searchParams, {\n get (target, prop, receiver) {\n // Intercept method calls that access specific param names\n if (prop === 'get' || prop === 'getAll' || prop === 'has') {\n const originalMathod = Reflect.get(target, prop, receiver);\n return (name)=>{\n if (typeof name === 'string' && !declaredSearchParamNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, name));\n }\n return originalMathod.call(target, name);\n };\n }\n const value = Reflect.get(target, prop, receiver);\n // Prevent `TypeError: Value of \"this\" must be of type URLSearchParams` for methods\n if (typeof value === 'function' && !Object.hasOwn(target, prop)) {\n return value.bind(target);\n }\n return value;\n }\n });\n}\nfunction createMissingSearchParamSampleError(route, name) {\n return Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed searchParam \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`searchParams\\` object, ` + `or \\`{ \"${name}\": null }\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1098\",\n enumerable: false,\n configurable: true\n });\n}\nexport function createRelativeURLFromSamples(route, sampleParams, sampleSearchParams) {\n // Build searchParams query object and URL search string from sample\n const pathname = createPathnameFromRouteAndSampleParams(route, sampleParams ?? {});\n let search = '';\n if (sampleSearchParams) {\n const qs = createURLSearchParamsFromSample(sampleSearchParams).toString();\n if (qs) {\n search = '?' + qs;\n }\n }\n return parseRelativeUrl(pathname + search, undefined, true);\n}\nfunction createURLSearchParamsFromSample(sampleSearchParams) {\n const result = new URLSearchParams();\n if (sampleSearchParams) {\n for (const [key, value] of Object.entries(sampleSearchParams)){\n if (value === null || value === undefined) continue;\n if (Array.isArray(value)) {\n for (const v of value){\n result.append(key, v);\n }\n } else {\n result.set(key, value);\n }\n }\n }\n return result;\n}\n/**\n * Substitute sample params into `workStore.route` to create a plausible pathname.\n * TODO(instant-validation-build): this logic is somewhat hacky and likely incomplete,\n * but it should be good enough for some initial testing.\n */ function createPathnameFromRouteAndSampleParams(route, params) {\n let interpolatedSegments = [];\n const rawSegments = route.split('/');\n for (const rawSegment of rawSegments){\n const param = getSegmentParam(rawSegment);\n if (param) {\n switch(param.paramType){\n case 'catchall':\n case 'optional-catchall':\n {\n let paramValue = params[param.paramName];\n if (paramValue === undefined) {\n // The value for the param was not provided. `usePathname` will detect this and throw\n // before this can surface to userspace. Use `[...NAME]` as a placeholder for the param value\n // in case it pops up somewhere unexpectedly.\n paramValue = [\n rawSegment\n ];\n } else if (!Array.isArray(paramValue)) {\n // NOTE: this happens outside of render, so we don't need `trackMissingSampleErrorAndThrow`\n throw Object.defineProperty(new InstantValidationError(`Expected sample param value for segment '${rawSegment}' to be an array of strings, got ${typeof paramValue}`), \"__NEXT_ERROR_CODE\", {\n value: \"E1104\",\n enumerable: false,\n configurable: true\n });\n }\n interpolatedSegments.push(...paramValue.map((v)=>encodeURIComponent(v)));\n break;\n }\n case 'dynamic':\n {\n let paramValue = params[param.paramName];\n if (paramValue === undefined) {\n // The value for the param was not provided. `usePathname` will detect this and throw\n // before this can surface to userspace. Use `[NAME]` as a placeholder for the param value\n // in case it pops up somewhere unexpectedly.\n paramValue = rawSegment;\n } else if (typeof paramValue !== 'string') {\n // NOTE: this happens outside of render, so we don't need `trackMissingSampleErrorAndThrow`\n throw Object.defineProperty(new InstantValidationError(`Expected sample param value for segment '${rawSegment}' to be a string, got ${typeof paramValue}`), \"__NEXT_ERROR_CODE\", {\n value: \"E1108\",\n enumerable: false,\n configurable: true\n });\n }\n interpolatedSegments.push(encodeURIComponent(paramValue));\n break;\n }\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n {\n // TODO(instant-validation-build): i don't know how these are supposed to work, or if we can even get them here\n throw Object.defineProperty(new InvariantError('Not implemented: Validation of interception routes'), \"__NEXT_ERROR_CODE\", {\n value: \"E1106\",\n enumerable: false,\n configurable: true\n });\n }\n default:\n {\n param.paramType;\n }\n }\n } else {\n interpolatedSegments.push(rawSegment);\n }\n }\n return interpolatedSegments.join('/');\n}\nexport function assertRootParamInSamples(workStore, sampleParams, paramName) {\n if (sampleParams && paramName in sampleParams) {\n // The param is defined in the samples.\n } else {\n const route = workStore.route;\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed root param \"${paramName}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`params\\` object.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1114\",\n enumerable: false,\n configurable: true\n }));\n }\n}\n\n//# sourceMappingURL=instant-samples.js.map","export function searchParamsToUrlQuery(searchParams) {\n const query = {};\n for (const [key, value] of searchParams.entries()){\n const existing = query[key];\n if (typeof existing === 'undefined') {\n query[key] = value;\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n query[key] = [\n existing,\n value\n ];\n }\n }\n return query;\n}\nfunction stringifyUrlQueryParam(param) {\n if (typeof param === 'string') {\n return param;\n }\n if (typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {\n return String(param);\n } else {\n return '';\n }\n}\nexport function urlQueryToSearchParams(query) {\n const searchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(query)){\n if (Array.isArray(value)) {\n for (const item of value){\n searchParams.append(key, stringifyUrlQueryParam(item));\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value));\n }\n }\n return searchParams;\n}\nexport function assign(target, ...searchParamsList) {\n for (const searchParams of searchParamsList){\n for (const key of searchParams.keys()){\n target.delete(key);\n }\n for (const [key, value] of searchParams.entries()){\n target.append(key, value);\n }\n }\n return target;\n}\n\n//# sourceMappingURL=querystring.js.map","export const ActionDidNotRevalidate = 0;\nexport const ActionDidRevalidateStaticAndDynamic = 1;\nexport const ActionDidRevalidateDynamicOnly = 2;\n\n//# sourceMappingURL=action-revalidation-kind.js.map","import { RequestCookies } from '../cookies';\nimport { ResponseCookies } from '../cookies';\nimport { ReflectAdapter } from './reflect';\nimport { workAsyncStorage } from '../../../app-render/work-async-storage.external';\nimport { ActionDidRevalidateStaticAndDynamic } from '../../../../shared/lib/action-revalidation-kind';\n/**\n * @internal\n */ export class ReadonlyRequestCookiesError extends Error {\n constructor(){\n super('Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options');\n }\n static callable() {\n throw new ReadonlyRequestCookiesError();\n }\n}\nexport class RequestCookiesAdapter {\n static seal(cookies) {\n return new Proxy(cookies, {\n get (target, prop, receiver) {\n switch(prop){\n case 'clear':\n case 'delete':\n case 'set':\n return ReadonlyRequestCookiesError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\nconst SYMBOL_MODIFY_COOKIE_VALUES = Symbol.for('next.mutated.cookies');\nexport function getModifiedCookieValues(cookies) {\n const modified = cookies[SYMBOL_MODIFY_COOKIE_VALUES];\n if (!modified || !Array.isArray(modified) || modified.length === 0) {\n return [];\n }\n return modified;\n}\nexport function appendMutableCookies(headers, mutableCookies) {\n const modifiedCookieValues = getModifiedCookieValues(mutableCookies);\n if (modifiedCookieValues.length === 0) {\n return false;\n }\n // Return a new response that extends the response with\n // the modified cookies as fallbacks. `res` cookies\n // will still take precedence.\n const resCookies = new ResponseCookies(headers);\n const returnedCookies = resCookies.getAll();\n // Set the modified cookies as fallbacks.\n for (const cookie of modifiedCookieValues){\n resCookies.set(cookie);\n }\n // Set the original cookies as the final values.\n for (const cookie of returnedCookies){\n resCookies.set(cookie);\n }\n return true;\n}\nexport class MutableRequestCookiesAdapter {\n static wrap(cookies, onUpdateCookies) {\n const responseCookies = new ResponseCookies(new Headers());\n for (const cookie of cookies.getAll()){\n responseCookies.set(cookie);\n }\n let modifiedValues = [];\n const modifiedCookies = new Set();\n const updateResponseCookies = ()=>{\n // TODO-APP: change method of getting workStore\n const workStore = workAsyncStorage.getStore();\n if (workStore) {\n workStore.pathWasRevalidated = ActionDidRevalidateStaticAndDynamic;\n }\n const allCookies = responseCookies.getAll();\n modifiedValues = allCookies.filter((c)=>modifiedCookies.has(c.name));\n if (onUpdateCookies) {\n const serializedCookies = [];\n for (const cookie of modifiedValues){\n const tempCookies = new ResponseCookies(new Headers());\n tempCookies.set(cookie);\n serializedCookies.push(tempCookies.toString());\n }\n onUpdateCookies(serializedCookies);\n }\n };\n const wrappedCookies = new Proxy(responseCookies, {\n get (target, prop, receiver) {\n switch(prop){\n // A special symbol to get the modified cookie values\n case SYMBOL_MODIFY_COOKIE_VALUES:\n return modifiedValues;\n // TODO: Throw error if trying to set a cookie after the response\n // headers have been set.\n case 'delete':\n return function(...args) {\n modifiedCookies.add(typeof args[0] === 'string' ? args[0] : args[0].name);\n try {\n target.delete(...args);\n return wrappedCookies;\n } finally{\n updateResponseCookies();\n }\n };\n case 'set':\n return function(...args) {\n modifiedCookies.add(typeof args[0] === 'string' ? args[0] : args[0].name);\n try {\n target.set(...args);\n return wrappedCookies;\n } finally{\n updateResponseCookies();\n }\n };\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n return wrappedCookies;\n }\n}\nexport function createCookiesWithMutableAccessCheck(requestStore) {\n const wrappedCookies = new Proxy(requestStore.mutableCookies, {\n get (target, prop, receiver) {\n switch(prop){\n case 'delete':\n return function(...args) {\n ensureCookiesAreStillMutable(requestStore, 'cookies().delete');\n target.delete(...args);\n return wrappedCookies;\n };\n case 'set':\n return function(...args) {\n ensureCookiesAreStillMutable(requestStore, 'cookies().set');\n target.set(...args);\n return wrappedCookies;\n };\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n return wrappedCookies;\n}\nexport function areCookiesMutableInCurrentPhase(requestStore) {\n return requestStore.phase === 'action';\n}\n/** Ensure that cookies() starts throwing on mutation\n * if we changed phases and can no longer mutate.\n *\n * This can happen when going:\n * 'render' -> 'after'\n * 'action' -> 'render'\n * */ function ensureCookiesAreStillMutable(requestStore, _callingExpression) {\n if (!areCookiesMutableInCurrentPhase(requestStore)) {\n // TODO: maybe we can give a more precise error message based on callingExpression?\n throw new ReadonlyRequestCookiesError();\n }\n}\nexport function responseCookiesToRequestCookies(responseCookies) {\n const requestCookies = new RequestCookies(new Headers());\n for (const cookie of responseCookies.getAll()){\n requestCookies.set(cookie);\n }\n return requestCookies;\n}\n\n//# sourceMappingURL=request-cookies.js.map","import { getLocationOrigin } from '../../utils';\nimport { searchParamsToUrlQuery } from './querystring';\nexport function parseRelativeUrl(url, base, parseQuery = true) {\n const globalBase = new URL(typeof window === 'undefined' ? 'http://n' : getLocationOrigin());\n const resolvedBase = base ? new URL(base, globalBase) : url.startsWith('.') ? new URL(typeof window === 'undefined' ? 'http://n' : window.location.href) : globalBase;\n const { pathname, searchParams, search, hash, href, origin } = url.startsWith('/') ? // See https://nodejs.org/api/http.html#messageurl\n // Not using `origin` to support other protocols\n new URL(`${resolvedBase.protocol}//${resolvedBase.host}${url}`) : new URL(url, resolvedBase);\n if (origin !== globalBase.origin) {\n throw Object.defineProperty(new Error(`invariant: invalid relative URL, router received ${url}`), \"__NEXT_ERROR_CODE\", {\n value: \"E159\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n auth: null,\n host: null,\n hostname: null,\n pathname,\n port: null,\n protocol: null,\n query: parseQuery ? searchParamsToUrlQuery(searchParams) : undefined,\n search,\n hash,\n href: href.slice(origin.length),\n // We don't know for relative URLs at this point since we set a custom, internal\n // base that isn't surfaced to users.\n slashes: null\n };\n}\n\n//# sourceMappingURL=parse-relative-url.js.map","import { ReflectAdapter } from './reflect';\n/**\n * @internal\n */ export class ReadonlyHeadersError extends Error {\n constructor(){\n super('Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers');\n }\n static callable() {\n throw new ReadonlyHeadersError();\n }\n}\nexport class HeadersAdapter extends Headers {\n constructor(headers){\n // We've already overridden the methods that would be called, so we're just\n // calling the super constructor to ensure that the instanceof check works.\n super();\n this.headers = new Proxy(headers, {\n get (target, prop, receiver) {\n // Because this is just an object, we expect that all \"get\" operations\n // are for properties. If it's a \"get\" for a symbol, we'll just return\n // the symbol.\n if (typeof prop === 'symbol') {\n return ReflectAdapter.get(target, prop, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return undefined.\n if (typeof original === 'undefined') return;\n // If the original casing exists, return the value.\n return ReflectAdapter.get(target, original, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'symbol') {\n return ReflectAdapter.set(target, prop, value, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, use the prop as the key.\n return ReflectAdapter.set(target, original ?? prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.has(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return false.\n if (typeof original === 'undefined') return false;\n // If the original casing exists, return true.\n return ReflectAdapter.has(target, original);\n },\n deleteProperty (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.deleteProperty(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return true.\n if (typeof original === 'undefined') return true;\n // If the original casing exists, delete the property.\n return ReflectAdapter.deleteProperty(target, original);\n }\n });\n }\n /**\n * Seals a Headers instance to prevent modification by throwing an error when\n * any mutating method is called.\n */ static seal(headers) {\n return new Proxy(headers, {\n get (target, prop, receiver) {\n switch(prop){\n case 'append':\n case 'delete':\n case 'set':\n return ReadonlyHeadersError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n /**\n * Merges a header value into a string. This stores multiple values as an\n * array, so we need to merge them into a string.\n *\n * @param value a header value\n * @returns a merged header value (a string)\n */ merge(value) {\n if (Array.isArray(value)) return value.join(', ');\n return value;\n }\n /**\n * Creates a Headers instance from a plain object or a Headers instance.\n *\n * @param headers a plain object or a Headers instance\n * @returns a headers instance\n */ static from(headers) {\n if (headers instanceof Headers) return headers;\n return new HeadersAdapter(headers);\n }\n append(name, value) {\n const existing = this.headers[name];\n if (typeof existing === 'string') {\n this.headers[name] = [\n existing,\n value\n ];\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n this.headers[name] = value;\n }\n }\n delete(name) {\n delete this.headers[name];\n }\n get(name) {\n const value = this.headers[name];\n if (typeof value !== 'undefined') return this.merge(value);\n return null;\n }\n has(name) {\n return typeof this.headers[name] !== 'undefined';\n }\n set(name, value) {\n this.headers[name] = value;\n }\n forEach(callbackfn, thisArg) {\n for (const [name, value] of this.entries()){\n callbackfn.call(thisArg, value, name, this);\n }\n }\n *entries() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(name);\n yield [\n name,\n value\n ];\n }\n }\n *keys() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n yield name;\n }\n }\n *values() {\n for (const key of Object.keys(this.headers)){\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(key);\n yield value;\n }\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n}\n\n//# sourceMappingURL=headers.js.map","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js\"));\n","'use client'\n\n/**\n * HTTPAccessFallbackBoundary is a boundary that catches errors and renders a\n * fallback component for HTTP errors.\n *\n * It receives the status code, and determine if it should render fallbacks for few HTTP 4xx errors.\n *\n * e.g. 404\n * 404 represents not found, and the fallback component pair contains the component and its styles.\n *\n */\n\nimport React, { useContext } from 'react'\nimport { useUntrackedPathname } from '../navigation-untracked'\nimport {\n HTTPAccessErrorStatus,\n getAccessFallbackHTTPStatus,\n getAccessFallbackErrorTypeByStatus,\n isHTTPAccessFallbackError,\n} from './http-access-fallback'\nimport { warnOnce } from '../../../shared/lib/utils/warn-once'\nimport { MissingSlotContext } from '../../../shared/lib/app-router-context.shared-runtime'\n\ninterface HTTPAccessFallbackBoundaryProps {\n notFound?: React.ReactNode\n forbidden?: React.ReactNode\n unauthorized?: React.ReactNode\n // TODO: Make this required once `React.createElement` understands that positional args go into children\n children?: React.ReactNode\n missingSlots?: Set\n}\n\ninterface HTTPAccessFallbackErrorBoundaryProps\n extends HTTPAccessFallbackBoundaryProps {\n pathname: string | null\n missingSlots?: Set\n}\n\ninterface HTTPAccessBoundaryState {\n triggeredStatus: number | undefined\n previousPathname: string | null\n}\n\nclass HTTPAccessFallbackErrorBoundary extends React.Component<\n HTTPAccessFallbackErrorBoundaryProps,\n HTTPAccessBoundaryState\n> {\n constructor(props: HTTPAccessFallbackErrorBoundaryProps) {\n super(props)\n this.state = {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n\n componentDidCatch(): void {\n if (\n process.env.NODE_ENV === 'development' &&\n this.props.missingSlots &&\n this.props.missingSlots.size > 0 &&\n // A missing children slot is the typical not-found case, so no need to warn\n !this.props.missingSlots.has('children')\n ) {\n let warningMessage =\n 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\\n' +\n 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\\n\\n'\n\n const formattedSlots = Array.from(this.props.missingSlots)\n .sort((a, b) => a.localeCompare(b))\n .map((slot) => `@${slot}`)\n .join(', ')\n\n warningMessage += 'Missing slots: ' + formattedSlots\n\n warnOnce(warningMessage)\n }\n }\n\n static getDerivedStateFromError(error: any) {\n if (isHTTPAccessFallbackError(error)) {\n const httpStatus = getAccessFallbackHTTPStatus(error)\n return {\n triggeredStatus: httpStatus,\n }\n }\n // Re-throw if error is not for 404\n throw error\n }\n\n static getDerivedStateFromProps(\n props: HTTPAccessFallbackErrorBoundaryProps,\n state: HTTPAccessBoundaryState\n ): HTTPAccessBoundaryState | null {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */\n if (props.pathname !== state.previousPathname && state.triggeredStatus) {\n return {\n triggeredStatus: undefined,\n previousPathname: props.pathname,\n }\n }\n return {\n triggeredStatus: state.triggeredStatus,\n previousPathname: props.pathname,\n }\n }\n\n render() {\n const { notFound, forbidden, unauthorized, children } = this.props\n const { triggeredStatus } = this.state\n const errorComponents = {\n [HTTPAccessErrorStatus.NOT_FOUND]: notFound,\n [HTTPAccessErrorStatus.FORBIDDEN]: forbidden,\n [HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized,\n }\n\n if (triggeredStatus) {\n const isNotFound =\n triggeredStatus === HTTPAccessErrorStatus.NOT_FOUND && notFound\n const isForbidden =\n triggeredStatus === HTTPAccessErrorStatus.FORBIDDEN && forbidden\n const isUnauthorized =\n triggeredStatus === HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized\n\n // If there's no matched boundary in this layer, keep throwing the error by rendering the children\n if (!(isNotFound || isForbidden || isUnauthorized)) {\n return children\n }\n\n return (\n <>\n \n {process.env.NODE_ENV === 'development' && (\n \n )}\n {errorComponents[triggeredStatus]}\n \n )\n }\n\n return children\n }\n}\n\nexport function HTTPAccessFallbackBoundary({\n notFound,\n forbidden,\n unauthorized,\n children,\n}: HTTPAccessFallbackBoundaryProps) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these error can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname()\n const missingSlots = useContext(MissingSlotContext)\n const hasErrorFallback = !!(notFound || forbidden || unauthorized)\n\n if (hasErrorFallback) {\n return (\n \n {children}\n \n )\n }\n\n return <>{children}\n}\n","/**\n * This module is for next.js server internal usage of path module.\n * It will use native path module for nodejs runtime.\n * It will use path-browserify polyfill for edge runtime.\n */\nlet path\n\nif (process.env.NEXT_RUNTIME === 'edge') {\n path = require('next/dist/compiled/path-browserify')\n} else {\n path = require('path')\n}\n\nmodule.exports = path\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js\"));\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from './boundary-constants'\n\n// We use a namespace object to allow us to recover the name of the function\n// at runtime even when production bundling/minification is used.\nconst NameSpace = {\n [METADATA_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [VIEWPORT_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [OUTLET_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [ROOT_LAYOUT_BOUNDARY_NAME]: function ({\n children,\n }: {\n children: ReactNode\n }) {\n return children\n },\n}\n\nexport const MetadataBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[METADATA_BOUNDARY_NAME.slice(0) as typeof METADATA_BOUNDARY_NAME]\n\nexport const ViewportBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[VIEWPORT_BOUNDARY_NAME.slice(0) as typeof VIEWPORT_BOUNDARY_NAME]\n\nexport const OutletBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[OUTLET_BOUNDARY_NAME.slice(0) as typeof OUTLET_BOUNDARY_NAME]\n\nexport const RootLayoutBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[\n ROOT_LAYOUT_BOUNDARY_NAME.slice(0) as typeof ROOT_LAYOUT_BOUNDARY_NAME\n ]\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js\"));\n","'use client'\n\n// This is a client component that only renders during SSR,\n// but will be replaced during streaming with an icon insertion script tag.\n// We don't want it to be presented anywhere so it's only visible during streaming,\n// right after the icon meta tags so that browser can pick it up as soon as it's rendered.\n// Note: we don't just emit the script here because we only need the script if it's not in the head,\n// and we need it to be hoistable alongside the other metadata but sync scripts are not hoistable.\nexport const IconMark = () => {\n if (typeof window !== 'undefined') {\n return null\n }\n return \n}\n","/**\n * @license React\n * react-server-dom-turbopack-client.node.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar util = require(\"util\"),\n ReactDOM = require(\"react-dom\"),\n decoderOptions = { stream: !0 },\n hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction resolveClientReference(bundlerConfig, metadata) {\n if (bundlerConfig) {\n var moduleExports = bundlerConfig[metadata[0]];\n if ((bundlerConfig = moduleExports && moduleExports[metadata[2]]))\n moduleExports = bundlerConfig.name;\n else {\n bundlerConfig = moduleExports && moduleExports[\"*\"];\n if (!bundlerConfig)\n throw Error(\n 'Could not find the module \"' +\n metadata[0] +\n '\" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.'\n );\n moduleExports = metadata[2];\n }\n return 4 === metadata.length\n ? [bundlerConfig.id, bundlerConfig.chunks, moduleExports, 1]\n : [bundlerConfig.id, bundlerConfig.chunks, moduleExports];\n }\n return metadata;\n}\nfunction resolveServerReference(bundlerConfig, id) {\n var name = \"\",\n resolvedModuleData = bundlerConfig[id];\n if (resolvedModuleData) name = resolvedModuleData.name;\n else {\n var idx = id.lastIndexOf(\"#\");\n -1 !== idx &&\n ((name = id.slice(idx + 1)),\n (resolvedModuleData = bundlerConfig[id.slice(0, idx)]));\n if (!resolvedModuleData)\n throw Error(\n 'Could not find the module \"' +\n id +\n '\" in the React Server Manifest. This is probably a bug in the React Server Components bundler.'\n );\n }\n return resolvedModuleData.async\n ? [resolvedModuleData.id, resolvedModuleData.chunks, name, 1]\n : [resolvedModuleData.id, resolvedModuleData.chunks, name];\n}\nfunction requireAsyncModule(id) {\n var promise = globalThis.__next_require__(id);\n if (\"function\" !== typeof promise.then || \"fulfilled\" === promise.status)\n return null;\n promise.then(\n function (value) {\n promise.status = \"fulfilled\";\n promise.value = value;\n },\n function (reason) {\n promise.status = \"rejected\";\n promise.reason = reason;\n }\n );\n return promise;\n}\nvar instrumentedChunks = new WeakSet(),\n loadedChunks = new WeakSet();\nfunction ignoreReject() {}\nfunction preloadModule(metadata) {\n for (var chunks = metadata[1], promises = [], i = 0; i < chunks.length; i++) {\n var thenable = globalThis.__next_chunk_load__(chunks[i]);\n loadedChunks.has(thenable) || promises.push(thenable);\n if (!instrumentedChunks.has(thenable)) {\n var resolve = loadedChunks.add.bind(loadedChunks, thenable);\n thenable.then(resolve, ignoreReject);\n instrumentedChunks.add(thenable);\n }\n }\n return 4 === metadata.length\n ? 0 === promises.length\n ? requireAsyncModule(metadata[0])\n : Promise.all(promises).then(function () {\n return requireAsyncModule(metadata[0]);\n })\n : 0 < promises.length\n ? Promise.all(promises)\n : null;\n}\nfunction requireModule(metadata) {\n var moduleExports = globalThis.__next_require__(metadata[0]);\n if (4 === metadata.length && \"function\" === typeof moduleExports.then)\n if (\"fulfilled\" === moduleExports.status)\n moduleExports = moduleExports.value;\n else throw moduleExports.reason;\n if (\"*\" === metadata[2]) return moduleExports;\n if (\"\" === metadata[2])\n return moduleExports.__esModule ? moduleExports.default : moduleExports;\n if (hasOwnProperty.call(moduleExports, metadata[2]))\n return moduleExports[metadata[2]];\n}\nfunction prepareDestinationWithChunks(moduleLoading, chunks, nonce$jscomp$0) {\n if (null !== moduleLoading)\n for (var i = 0; i < chunks.length; i++) {\n var nonce = nonce$jscomp$0,\n JSCompiler_temp_const = ReactDOMSharedInternals.d,\n JSCompiler_temp_const$jscomp$0 = JSCompiler_temp_const.X,\n JSCompiler_temp_const$jscomp$1 = moduleLoading.prefix + chunks[i];\n var JSCompiler_inline_result = moduleLoading.crossOrigin;\n JSCompiler_inline_result =\n \"string\" === typeof JSCompiler_inline_result\n ? \"use-credentials\" === JSCompiler_inline_result\n ? JSCompiler_inline_result\n : \"\"\n : void 0;\n JSCompiler_temp_const$jscomp$0.call(\n JSCompiler_temp_const,\n JSCompiler_temp_const$jscomp$1,\n { crossOrigin: JSCompiler_inline_result, nonce: nonce }\n );\n }\n}\nvar ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ASYNC_ITERATOR = Symbol.asyncIterator,\n isArrayImpl = Array.isArray,\n getPrototypeOf = Object.getPrototypeOf,\n ObjectPrototype = Object.prototype,\n knownServerReferences = new WeakMap();\nfunction serializeNumber(number) {\n return Number.isFinite(number)\n ? 0 === number && -Infinity === 1 / number\n ? \"$-0\"\n : number\n : Infinity === number\n ? \"$Infinity\"\n : -Infinity === number\n ? \"$-Infinity\"\n : \"$NaN\";\n}\nfunction processReply(\n root,\n formFieldPrefix,\n temporaryReferences,\n resolve,\n reject\n) {\n function serializeTypedArray(tag, typedArray) {\n typedArray = new Blob([\n new Uint8Array(\n typedArray.buffer,\n typedArray.byteOffset,\n typedArray.byteLength\n )\n ]);\n var blobId = nextPartId++;\n null === formData && (formData = new FormData());\n formData.append(formFieldPrefix + blobId, typedArray);\n return \"$\" + tag + blobId.toString(16);\n }\n function serializeBinaryReader(reader) {\n function progress(entry) {\n entry.done\n ? ((entry = nextPartId++),\n data.append(formFieldPrefix + entry, new Blob(buffer)),\n data.append(\n formFieldPrefix + streamId,\n '\"$o' + entry.toString(16) + '\"'\n ),\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data))\n : (buffer.push(entry.value),\n reader.read(new Uint8Array(1024)).then(progress, reject));\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++,\n buffer = [];\n reader.read(new Uint8Array(1024)).then(progress, reject);\n return \"$r\" + streamId.toString(16);\n }\n function serializeReader(reader) {\n function progress(entry) {\n if (entry.done)\n data.append(formFieldPrefix + streamId, \"C\"),\n pendingParts--,\n 0 === pendingParts && resolve(data);\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, partJSON);\n reader.read().then(progress, reject);\n } catch (x) {\n reject(x);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n reader.read().then(progress, reject);\n return \"$R\" + streamId.toString(16);\n }\n function serializeReadableStream(stream) {\n try {\n var binaryReader = stream.getReader({ mode: \"byob\" });\n } catch (x) {\n return serializeReader(stream.getReader());\n }\n return serializeBinaryReader(binaryReader);\n }\n function serializeAsyncIterable(iterable, iterator) {\n function progress(entry) {\n if (entry.done) {\n if (void 0 === entry.value)\n data.append(formFieldPrefix + streamId, \"C\");\n else\n try {\n var partJSON = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, \"C\" + partJSON);\n } catch (x) {\n reject(x);\n return;\n }\n pendingParts--;\n 0 === pendingParts && resolve(data);\n } else\n try {\n var partJSON$21 = JSON.stringify(entry.value, resolveToJSON);\n data.append(formFieldPrefix + streamId, partJSON$21);\n iterator.next().then(progress, reject);\n } catch (x$22) {\n reject(x$22);\n }\n }\n null === formData && (formData = new FormData());\n var data = formData;\n pendingParts++;\n var streamId = nextPartId++;\n iterable = iterable === iterator;\n iterator.next().then(progress, reject);\n return \"$\" + (iterable ? \"x\" : \"X\") + streamId.toString(16);\n }\n function resolveToJSON(key, value) {\n if (null === value) return null;\n if (\"object\" === typeof value) {\n switch (value.$$typeof) {\n case REACT_ELEMENT_TYPE:\n if (void 0 !== temporaryReferences && -1 === key.indexOf(\":\")) {\n var parentReference = writtenObjects.get(this);\n if (void 0 !== parentReference)\n return (\n temporaryReferences.set(parentReference + \":\" + key, value),\n \"$T\"\n );\n }\n if (void 0 !== temporaryReferences && modelRoot === value)\n return (modelRoot = null), \"$T\";\n throw Error(\n \"React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.\"\n );\n case REACT_LAZY_TYPE:\n parentReference = value._payload;\n var init = value._init;\n null === formData && (formData = new FormData());\n pendingParts++;\n try {\n var resolvedModel = init(parentReference),\n lazyId = nextPartId++,\n partJSON = serializeModel(resolvedModel, lazyId);\n formData.append(formFieldPrefix + lazyId, partJSON);\n return \"$\" + lazyId.toString(16);\n } catch (x) {\n if (\n \"object\" === typeof x &&\n null !== x &&\n \"function\" === typeof x.then\n ) {\n pendingParts++;\n var lazyId$23 = nextPartId++;\n parentReference = function () {\n try {\n var partJSON$24 = serializeModel(value, lazyId$23),\n data$25 = formData;\n data$25.append(formFieldPrefix + lazyId$23, partJSON$24);\n pendingParts--;\n 0 === pendingParts && resolve(data$25);\n } catch (reason) {\n reject(reason);\n }\n };\n x.then(parentReference, parentReference);\n return \"$\" + lazyId$23.toString(16);\n }\n reject(x);\n return null;\n } finally {\n pendingParts--;\n }\n }\n parentReference = writtenObjects.get(value);\n if (\"function\" === typeof value.then) {\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n null === formData && (formData = new FormData());\n pendingParts++;\n var promiseId = nextPartId++;\n key = \"$@\" + promiseId.toString(16);\n writtenObjects.set(value, key);\n value.then(function (partValue) {\n try {\n var previousReference = writtenObjects.get(partValue);\n var partJSON$27 =\n void 0 !== previousReference\n ? JSON.stringify(previousReference)\n : serializeModel(partValue, promiseId);\n partValue = formData;\n partValue.append(formFieldPrefix + promiseId, partJSON$27);\n pendingParts--;\n 0 === pendingParts && resolve(partValue);\n } catch (reason) {\n reject(reason);\n }\n }, reject);\n return key;\n }\n if (void 0 !== parentReference)\n if (modelRoot === value) modelRoot = null;\n else return parentReference;\n else\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference &&\n ((key = parentReference + \":\" + key),\n writtenObjects.set(value, key),\n void 0 !== temporaryReferences &&\n temporaryReferences.set(key, value)));\n if (isArrayImpl(value)) return value;\n if (value instanceof FormData) {\n null === formData && (formData = new FormData());\n var data$31 = formData;\n key = nextPartId++;\n var prefix = formFieldPrefix + \"_\" + key + \"_\";\n value.forEach(function (originalValue, originalKey) {\n data$31.append(prefix + originalKey, originalValue);\n });\n return \"$K\" + key.toString(16);\n }\n if (value instanceof Map)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$Q\" + key.toString(16)\n );\n if (value instanceof Set)\n return (\n (key = nextPartId++),\n (parentReference = serializeModel(Array.from(value), key)),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$W\" + key.toString(16)\n );\n if (value instanceof ArrayBuffer)\n return (\n (key = new Blob([value])),\n (parentReference = nextPartId++),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + parentReference, key),\n \"$A\" + parentReference.toString(16)\n );\n if (value instanceof Int8Array) return serializeTypedArray(\"O\", value);\n if (value instanceof Uint8Array) return serializeTypedArray(\"o\", value);\n if (value instanceof Uint8ClampedArray)\n return serializeTypedArray(\"U\", value);\n if (value instanceof Int16Array) return serializeTypedArray(\"S\", value);\n if (value instanceof Uint16Array) return serializeTypedArray(\"s\", value);\n if (value instanceof Int32Array) return serializeTypedArray(\"L\", value);\n if (value instanceof Uint32Array) return serializeTypedArray(\"l\", value);\n if (value instanceof Float32Array) return serializeTypedArray(\"G\", value);\n if (value instanceof Float64Array) return serializeTypedArray(\"g\", value);\n if (value instanceof BigInt64Array)\n return serializeTypedArray(\"M\", value);\n if (value instanceof BigUint64Array)\n return serializeTypedArray(\"m\", value);\n if (value instanceof DataView) return serializeTypedArray(\"V\", value);\n if (\"function\" === typeof Blob && value instanceof Blob)\n return (\n null === formData && (formData = new FormData()),\n (key = nextPartId++),\n formData.append(formFieldPrefix + key, value),\n \"$B\" + key.toString(16)\n );\n if ((key = getIteratorFn(value)))\n return (\n (parentReference = key.call(value)),\n parentReference === value\n ? ((key = nextPartId++),\n (parentReference = serializeModel(\n Array.from(parentReference),\n key\n )),\n null === formData && (formData = new FormData()),\n formData.append(formFieldPrefix + key, parentReference),\n \"$i\" + key.toString(16))\n : Array.from(parentReference)\n );\n if (\n \"function\" === typeof ReadableStream &&\n value instanceof ReadableStream\n )\n return serializeReadableStream(value);\n key = value[ASYNC_ITERATOR];\n if (\"function\" === typeof key)\n return serializeAsyncIterable(value, key.call(value));\n key = getPrototypeOf(value);\n if (\n key !== ObjectPrototype &&\n (null === key || null !== getPrototypeOf(key))\n ) {\n if (void 0 === temporaryReferences)\n throw Error(\n \"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.\"\n );\n return \"$T\";\n }\n return value;\n }\n if (\"string\" === typeof value) {\n if (\"Z\" === value[value.length - 1] && this[key] instanceof Date)\n return \"$D\" + value;\n key = \"$\" === value[0] ? \"$\" + value : value;\n return key;\n }\n if (\"boolean\" === typeof value) return value;\n if (\"number\" === typeof value) return serializeNumber(value);\n if (\"undefined\" === typeof value) return \"$undefined\";\n if (\"function\" === typeof value) {\n parentReference = knownServerReferences.get(value);\n if (void 0 !== parentReference) {\n key = writtenObjects.get(value);\n if (void 0 !== key) return key;\n key = JSON.stringify(\n { id: parentReference.id, bound: parentReference.bound },\n resolveToJSON\n );\n null === formData && (formData = new FormData());\n parentReference = nextPartId++;\n formData.set(formFieldPrefix + parentReference, key);\n key = \"$h\" + parentReference.toString(16);\n writtenObjects.set(value, key);\n return key;\n }\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.\"\n );\n }\n if (\"symbol\" === typeof value) {\n if (\n void 0 !== temporaryReferences &&\n -1 === key.indexOf(\":\") &&\n ((parentReference = writtenObjects.get(this)),\n void 0 !== parentReference)\n )\n return (\n temporaryReferences.set(parentReference + \":\" + key, value), \"$T\"\n );\n throw Error(\n \"Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.\"\n );\n }\n if (\"bigint\" === typeof value) return \"$n\" + value.toString(10);\n throw Error(\n \"Type \" +\n typeof value +\n \" is not supported as an argument to a Server Function.\"\n );\n }\n function serializeModel(model, id) {\n \"object\" === typeof model &&\n null !== model &&\n ((id = \"$\" + id.toString(16)),\n writtenObjects.set(model, id),\n void 0 !== temporaryReferences && temporaryReferences.set(id, model));\n modelRoot = model;\n return JSON.stringify(model, resolveToJSON);\n }\n var nextPartId = 1,\n pendingParts = 0,\n formData = null,\n writtenObjects = new WeakMap(),\n modelRoot = root,\n json = serializeModel(root, 0);\n null === formData\n ? resolve(json)\n : (formData.set(formFieldPrefix + \"0\", json),\n 0 === pendingParts && resolve(formData));\n return function () {\n 0 < pendingParts &&\n ((pendingParts = 0),\n null === formData ? resolve(json) : resolve(formData));\n };\n}\nvar boundCache = new WeakMap();\nfunction encodeFormData(reference) {\n var resolve,\n reject,\n thenable = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n processReply(\n reference,\n \"\",\n void 0,\n function (body) {\n if (\"string\" === typeof body) {\n var data = new FormData();\n data.append(\"0\", body);\n body = data;\n }\n thenable.status = \"fulfilled\";\n thenable.value = body;\n resolve(body);\n },\n function (e) {\n thenable.status = \"rejected\";\n thenable.reason = e;\n reject(e);\n }\n );\n return thenable;\n}\nfunction defaultEncodeFormAction(identifierPrefix) {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n var data = null;\n if (null !== referenceClosure.bound) {\n data = boundCache.get(referenceClosure);\n data ||\n ((data = encodeFormData({\n id: referenceClosure.id,\n bound: referenceClosure.bound\n })),\n boundCache.set(referenceClosure, data));\n if (\"rejected\" === data.status) throw data.reason;\n if (\"fulfilled\" !== data.status) throw data;\n referenceClosure = data.value;\n var prefixedData = new FormData();\n referenceClosure.forEach(function (value, key) {\n prefixedData.append(\"$ACTION_\" + identifierPrefix + \":\" + key, value);\n });\n data = prefixedData;\n referenceClosure = \"$ACTION_REF_\" + identifierPrefix;\n } else referenceClosure = \"$ACTION_ID_\" + referenceClosure.id;\n return {\n name: referenceClosure,\n method: \"POST\",\n encType: \"multipart/form-data\",\n data: data\n };\n}\nfunction isSignatureEqual(referenceId, numberOfBoundArgs) {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n if (referenceClosure.id !== referenceId) return !1;\n var boundPromise = referenceClosure.bound;\n if (null === boundPromise) return 0 === numberOfBoundArgs;\n switch (boundPromise.status) {\n case \"fulfilled\":\n return boundPromise.value.length === numberOfBoundArgs;\n case \"pending\":\n throw boundPromise;\n case \"rejected\":\n throw boundPromise.reason;\n default:\n throw (\n (\"string\" !== typeof boundPromise.status &&\n ((boundPromise.status = \"pending\"),\n boundPromise.then(\n function (boundArgs) {\n boundPromise.status = \"fulfilled\";\n boundPromise.value = boundArgs;\n },\n function (error) {\n boundPromise.status = \"rejected\";\n boundPromise.reason = error;\n }\n )),\n boundPromise)\n );\n }\n}\nfunction registerBoundServerReference(reference, id, bound, encodeFormAction) {\n knownServerReferences.has(reference) ||\n (knownServerReferences.set(reference, {\n id: id,\n originalBind: reference.bind,\n bound: bound\n }),\n Object.defineProperties(reference, {\n $$FORM_ACTION: {\n value:\n void 0 === encodeFormAction\n ? defaultEncodeFormAction\n : function () {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure)\n throw Error(\n \"Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.\"\n );\n var boundPromise = referenceClosure.bound;\n null === boundPromise && (boundPromise = Promise.resolve([]));\n return encodeFormAction(referenceClosure.id, boundPromise);\n }\n },\n $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n bind: { value: bind }\n }));\n}\nvar FunctionBind = Function.prototype.bind,\n ArraySlice = Array.prototype.slice;\nfunction bind() {\n var referenceClosure = knownServerReferences.get(this);\n if (!referenceClosure) return FunctionBind.apply(this, arguments);\n var newFn = referenceClosure.originalBind.apply(this, arguments),\n args = ArraySlice.call(arguments, 1),\n boundPromise = null;\n boundPromise =\n null !== referenceClosure.bound\n ? Promise.resolve(referenceClosure.bound).then(function (boundArgs) {\n return boundArgs.concat(args);\n })\n : Promise.resolve(args);\n knownServerReferences.set(newFn, {\n id: referenceClosure.id,\n originalBind: newFn.bind,\n bound: boundPromise\n });\n Object.defineProperties(newFn, {\n $$FORM_ACTION: { value: this.$$FORM_ACTION },\n $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },\n bind: { value: bind }\n });\n return newFn;\n}\nfunction createBoundServerReference(metaData, callServer, encodeFormAction) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return bound\n ? \"fulfilled\" === bound.status\n ? callServer(id, bound.value.concat(args))\n : Promise.resolve(bound).then(function (boundArgs) {\n return callServer(id, boundArgs.concat(args));\n })\n : callServer(id, args);\n }\n var id = metaData.id,\n bound = metaData.bound;\n registerBoundServerReference(action, id, bound, encodeFormAction);\n return action;\n}\nfunction createServerReference$1(id, callServer, encodeFormAction) {\n function action() {\n var args = Array.prototype.slice.call(arguments);\n return callServer(id, args);\n }\n registerBoundServerReference(action, id, null, encodeFormAction);\n return action;\n}\nfunction ReactPromise(status, value, reason) {\n this.status = status;\n this.value = value;\n this.reason = reason;\n}\nReactPromise.prototype = Object.create(Promise.prototype);\nReactPromise.prototype.then = function (resolve, reject) {\n switch (this.status) {\n case \"resolved_model\":\n initializeModelChunk(this);\n break;\n case \"resolved_module\":\n initializeModuleChunk(this);\n }\n switch (this.status) {\n case \"fulfilled\":\n \"function\" === typeof resolve && resolve(this.value);\n break;\n case \"pending\":\n case \"blocked\":\n \"function\" === typeof resolve &&\n (null === this.value && (this.value = []), this.value.push(resolve));\n \"function\" === typeof reject &&\n (null === this.reason && (this.reason = []), this.reason.push(reject));\n break;\n case \"halted\":\n break;\n default:\n \"function\" === typeof reject && reject(this.reason);\n }\n};\nfunction readChunk(chunk) {\n switch (chunk.status) {\n case \"resolved_model\":\n initializeModelChunk(chunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(chunk);\n }\n switch (chunk.status) {\n case \"fulfilled\":\n return chunk.value;\n case \"pending\":\n case \"blocked\":\n case \"halted\":\n throw chunk;\n default:\n throw chunk.reason;\n }\n}\nfunction createPendingChunk() {\n return new ReactPromise(\"pending\", null, null);\n}\nfunction wakeChunk(response, listeners, value, chunk) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n}\nfunction rejectChunk(response, listeners, error) {\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n \"function\" === typeof listener\n ? listener(error)\n : rejectReference(response, listener.handler, error);\n }\n}\nfunction resolveBlockedCycle(resolvedChunk, reference) {\n var referencedChunk = reference.handler.chunk;\n if (null === referencedChunk) return null;\n if (referencedChunk === resolvedChunk) return reference.handler;\n reference = referencedChunk.value;\n if (null !== reference)\n for (\n referencedChunk = 0;\n referencedChunk < reference.length;\n referencedChunk++\n ) {\n var listener = reference[referencedChunk];\n if (\n \"function\" !== typeof listener &&\n ((listener = resolveBlockedCycle(resolvedChunk, listener)),\n null !== listener)\n )\n return listener;\n }\n return null;\n}\nfunction wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n) {\n switch (chunk.status) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n break;\n case \"blocked\":\n for (var i = 0; i < resolveListeners.length; i++) {\n var listener = resolveListeners[i];\n if (\"function\" !== typeof listener) {\n var cyclicHandler = resolveBlockedCycle(chunk, listener);\n if (null !== cyclicHandler)\n switch (\n (fulfillReference(response, listener, cyclicHandler.value, chunk),\n resolveListeners.splice(i, 1),\n i--,\n null !== rejectListeners &&\n ((listener = rejectListeners.indexOf(listener)),\n -1 !== listener && rejectListeners.splice(listener, 1)),\n chunk.status)\n ) {\n case \"fulfilled\":\n wakeChunk(response, resolveListeners, chunk.value, chunk);\n return;\n case \"rejected\":\n null !== rejectListeners &&\n rejectChunk(response, rejectListeners, chunk.reason);\n return;\n }\n }\n }\n case \"pending\":\n if (chunk.value)\n for (response = 0; response < resolveListeners.length; response++)\n chunk.value.push(resolveListeners[response]);\n else chunk.value = resolveListeners;\n if (chunk.reason) {\n if (rejectListeners)\n for (\n resolveListeners = 0;\n resolveListeners < rejectListeners.length;\n resolveListeners++\n )\n chunk.reason.push(rejectListeners[resolveListeners]);\n } else chunk.reason = rejectListeners;\n break;\n case \"rejected\":\n rejectListeners && rejectChunk(response, rejectListeners, chunk.reason);\n }\n}\nfunction triggerErrorOnChunk(response, chunk, error) {\n if (\"pending\" !== chunk.status && \"blocked\" !== chunk.status)\n chunk.reason.error(error);\n else {\n var listeners = chunk.reason;\n chunk.status = \"rejected\";\n chunk.reason = error;\n null !== listeners && rejectChunk(response, listeners, error);\n }\n}\nfunction createResolvedIteratorResultChunk(response, value, done) {\n return new ReactPromise(\n \"resolved_model\",\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') + value + \"}\",\n response\n );\n}\nfunction resolveIteratorResultChunk(response, chunk, value, done) {\n resolveModelChunk(\n response,\n chunk,\n (done ? '{\"done\":true,\"value\":' : '{\"done\":false,\"value\":') + value + \"}\"\n );\n}\nfunction resolveModelChunk(response, chunk, value) {\n if (\"pending\" !== chunk.status) chunk.reason.enqueueModel(value);\n else {\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_model\";\n chunk.value = value;\n chunk.reason = response;\n null !== resolveListeners &&\n (initializeModelChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n}\nfunction resolveModuleChunk(response, chunk, value) {\n if (\"pending\" === chunk.status || \"blocked\" === chunk.status) {\n var resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"resolved_module\";\n chunk.value = value;\n chunk.reason = null;\n null !== resolveListeners &&\n (initializeModuleChunk(chunk),\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n ));\n }\n}\nvar initializingHandler = null;\nfunction initializeModelChunk(chunk) {\n var prevHandler = initializingHandler;\n initializingHandler = null;\n var resolvedModel = chunk.value,\n response = chunk.reason;\n chunk.status = \"blocked\";\n chunk.value = null;\n chunk.reason = null;\n try {\n var value = parseModel(response, resolvedModel),\n resolveListeners = chunk.value;\n if (null !== resolveListeners)\n for (\n chunk.value = null, chunk.reason = null, resolvedModel = 0;\n resolvedModel < resolveListeners.length;\n resolvedModel++\n ) {\n var listener = resolveListeners[resolvedModel];\n \"function\" === typeof listener\n ? listener(value)\n : fulfillReference(response, listener, value, chunk);\n }\n if (null !== initializingHandler) {\n if (initializingHandler.errored) throw initializingHandler.reason;\n if (0 < initializingHandler.deps) {\n initializingHandler.value = value;\n initializingHandler.chunk = chunk;\n return;\n }\n }\n chunk.status = \"fulfilled\";\n chunk.value = value;\n chunk.reason = null;\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n } finally {\n initializingHandler = prevHandler;\n }\n}\nfunction initializeModuleChunk(chunk) {\n try {\n var value = requireModule(chunk.value);\n chunk.status = \"fulfilled\";\n chunk.value = value;\n chunk.reason = null;\n } catch (error) {\n (chunk.status = \"rejected\"), (chunk.reason = error);\n }\n}\nfunction reportGlobalError(weakResponse, error) {\n weakResponse._closed = !0;\n weakResponse._closedReason = error;\n weakResponse._chunks.forEach(function (chunk) {\n \"pending\" === chunk.status\n ? triggerErrorOnChunk(weakResponse, chunk, error)\n : \"fulfilled\" === chunk.status &&\n null !== chunk.reason &&\n chunk.reason.error(error);\n });\n}\nfunction createLazyChunkWrapper(chunk) {\n return { $$typeof: REACT_LAZY_TYPE, _payload: chunk, _init: readChunk };\n}\nfunction getChunk(response, id) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk ||\n (response._closed\n ? response._allowPartialStream\n ? ((response = chunk = createPendingChunk()),\n (response.status = \"halted\"),\n (response.value = null),\n (response.reason = null))\n : (chunk = new ReactPromise(\"rejected\", null, response._closedReason))\n : (chunk = createPendingChunk()),\n chunks.set(id, chunk));\n return chunk;\n}\nfunction fulfillReference(response, reference, value) {\n var handler = reference.handler,\n parentObject = reference.parentObject,\n key = reference.key,\n map = reference.map,\n path = reference.path;\n try {\n for (var i = 1; i < path.length; i++) {\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var referencedChunk = value._payload;\n if (referencedChunk === handler.chunk) value = handler.value;\n else {\n switch (referencedChunk.status) {\n case \"resolved_model\":\n initializeModelChunk(referencedChunk);\n break;\n case \"resolved_module\":\n initializeModuleChunk(referencedChunk);\n }\n switch (referencedChunk.status) {\n case \"fulfilled\":\n value = referencedChunk.value;\n continue;\n case \"blocked\":\n var cyclicHandler = resolveBlockedCycle(\n referencedChunk,\n reference\n );\n if (null !== cyclicHandler) {\n value = cyclicHandler.value;\n continue;\n }\n case \"pending\":\n path.splice(0, i - 1);\n null === referencedChunk.value\n ? (referencedChunk.value = [reference])\n : referencedChunk.value.push(reference);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [reference])\n : referencedChunk.reason.push(reference);\n return;\n case \"halted\":\n return;\n default:\n rejectReference(\n response,\n reference.handler,\n referencedChunk.reason\n );\n return;\n }\n }\n }\n var name = path[i];\n if (\n \"object\" === typeof value &&\n null !== value &&\n hasOwnProperty.call(value, name)\n )\n value = value[name];\n else throw Error(\"Invalid reference.\");\n }\n for (\n ;\n \"object\" === typeof value &&\n null !== value &&\n value.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n var referencedChunk$44 = value._payload;\n if (referencedChunk$44 === handler.chunk) value = handler.value;\n else {\n switch (referencedChunk$44.status) {\n case \"resolved_model\":\n initializeModelChunk(referencedChunk$44);\n break;\n case \"resolved_module\":\n initializeModuleChunk(referencedChunk$44);\n }\n switch (referencedChunk$44.status) {\n case \"fulfilled\":\n value = referencedChunk$44.value;\n continue;\n }\n break;\n }\n }\n var mappedValue = map(response, value, parentObject, key);\n \"__proto__\" !== key && (parentObject[key] = mappedValue);\n \"\" === key && null === handler.value && (handler.value = mappedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n ) {\n var element = handler.value;\n switch (key) {\n case \"3\":\n element.props = mappedValue;\n }\n }\n } catch (error) {\n rejectReference(response, reference.handler, error);\n return;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((reference = handler.chunk),\n null !== reference &&\n \"blocked\" === reference.status &&\n ((value = reference.value),\n (reference.status = \"fulfilled\"),\n (reference.value = handler.value),\n (reference.reason = handler.reason),\n null !== value && wakeChunk(response, value, handler.value, reference)));\n}\nfunction rejectReference(response, handler, error) {\n handler.errored ||\n ((handler.errored = !0),\n (handler.value = null),\n (handler.reason = error),\n (handler = handler.chunk),\n null !== handler &&\n \"blocked\" === handler.status &&\n triggerErrorOnChunk(response, handler, error));\n}\nfunction waitForReference(\n referencedChunk,\n parentObject,\n key,\n response,\n map,\n path\n) {\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (response = initializingHandler =\n {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n });\n parentObject = {\n handler: response,\n parentObject: parentObject,\n key: key,\n map: map,\n path: path\n };\n null === referencedChunk.value\n ? (referencedChunk.value = [parentObject])\n : referencedChunk.value.push(parentObject);\n null === referencedChunk.reason\n ? (referencedChunk.reason = [parentObject])\n : referencedChunk.reason.push(parentObject);\n return null;\n}\nfunction loadServerReference(response, metaData, parentObject, key) {\n if (!response._serverReferenceConfig)\n return createBoundServerReference(\n metaData,\n response._callServer,\n response._encodeFormAction\n );\n var serverReference = resolveServerReference(\n response._serverReferenceConfig,\n metaData.id\n ),\n promise = preloadModule(serverReference);\n if (promise)\n metaData.bound && (promise = Promise.all([promise, metaData.bound]));\n else if (metaData.bound) promise = Promise.resolve(metaData.bound);\n else\n return (\n (promise = requireModule(serverReference)),\n registerBoundServerReference(\n promise,\n metaData.id,\n metaData.bound,\n response._encodeFormAction\n ),\n promise\n );\n if (initializingHandler) {\n var handler = initializingHandler;\n handler.deps++;\n } else\n handler = initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n };\n promise.then(\n function () {\n var resolvedValue = requireModule(serverReference);\n if (metaData.bound) {\n var boundArgs = metaData.bound.value.slice(0);\n boundArgs.unshift(null);\n resolvedValue = resolvedValue.bind.apply(resolvedValue, boundArgs);\n }\n registerBoundServerReference(\n resolvedValue,\n metaData.id,\n metaData.bound,\n response._encodeFormAction\n );\n \"__proto__\" !== key && (parentObject[key] = resolvedValue);\n \"\" === key && null === handler.value && (handler.value = resolvedValue);\n if (\n parentObject[0] === REACT_ELEMENT_TYPE &&\n \"object\" === typeof handler.value &&\n null !== handler.value &&\n handler.value.$$typeof === REACT_ELEMENT_TYPE\n )\n switch (((boundArgs = handler.value), key)) {\n case \"3\":\n boundArgs.props = resolvedValue;\n }\n handler.deps--;\n 0 === handler.deps &&\n ((resolvedValue = handler.chunk),\n null !== resolvedValue &&\n \"blocked\" === resolvedValue.status &&\n ((boundArgs = resolvedValue.value),\n (resolvedValue.status = \"fulfilled\"),\n (resolvedValue.value = handler.value),\n (resolvedValue.reason = null),\n null !== boundArgs &&\n wakeChunk(response, boundArgs, handler.value, resolvedValue)));\n },\n function (error) {\n if (!handler.errored) {\n handler.errored = !0;\n handler.value = null;\n handler.reason = error;\n var chunk = handler.chunk;\n null !== chunk &&\n \"blocked\" === chunk.status &&\n triggerErrorOnChunk(response, chunk, error);\n }\n }\n );\n return null;\n}\nfunction getOutlinedModel(response, reference, parentObject, key, map) {\n reference = reference.split(\":\");\n var id = parseInt(reference[0], 16);\n id = getChunk(response, id);\n switch (id.status) {\n case \"resolved_model\":\n initializeModelChunk(id);\n break;\n case \"resolved_module\":\n initializeModuleChunk(id);\n }\n switch (id.status) {\n case \"fulfilled\":\n id = id.value;\n for (var i = 1; i < reference.length; i++) {\n for (\n ;\n \"object\" === typeof id &&\n null !== id &&\n id.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n id = id._payload;\n switch (id.status) {\n case \"resolved_model\":\n initializeModelChunk(id);\n break;\n case \"resolved_module\":\n initializeModuleChunk(id);\n }\n switch (id.status) {\n case \"fulfilled\":\n id = id.value;\n break;\n case \"blocked\":\n case \"pending\":\n return waitForReference(\n id,\n parentObject,\n key,\n response,\n map,\n reference.slice(i - 1)\n );\n case \"halted\":\n return (\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = id.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: id.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n }\n id = id[reference[i]];\n }\n for (\n ;\n \"object\" === typeof id &&\n null !== id &&\n id.$$typeof === REACT_LAZY_TYPE;\n\n ) {\n reference = id._payload;\n switch (reference.status) {\n case \"resolved_model\":\n initializeModelChunk(reference);\n break;\n case \"resolved_module\":\n initializeModuleChunk(reference);\n }\n switch (reference.status) {\n case \"fulfilled\":\n id = reference.value;\n continue;\n }\n break;\n }\n return map(response, id, parentObject, key);\n case \"pending\":\n case \"blocked\":\n return waitForReference(id, parentObject, key, response, map, reference);\n case \"halted\":\n return (\n initializingHandler\n ? ((response = initializingHandler), response.deps++)\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: null,\n deps: 1,\n errored: !1\n }),\n null\n );\n default:\n return (\n initializingHandler\n ? ((initializingHandler.errored = !0),\n (initializingHandler.value = null),\n (initializingHandler.reason = id.reason))\n : (initializingHandler = {\n parent: null,\n chunk: null,\n value: null,\n reason: id.reason,\n deps: 0,\n errored: !0\n }),\n null\n );\n }\n}\nfunction createMap(response, model) {\n return new Map(model);\n}\nfunction createSet(response, model) {\n return new Set(model);\n}\nfunction createBlob(response, model) {\n return new Blob(model.slice(1), { type: model[0] });\n}\nfunction createFormData(response, model) {\n response = new FormData();\n for (var i = 0; i < model.length; i++)\n response.append(model[i][0], model[i][1]);\n return response;\n}\nfunction extractIterator(response, model) {\n return model[Symbol.iterator]();\n}\nfunction createModel(response, model) {\n return model;\n}\nfunction parseModelString(response, parentObject, key, value) {\n if (\"$\" === value[0]) {\n if (\"$\" === value)\n return (\n null !== initializingHandler &&\n \"0\" === key &&\n (initializingHandler = {\n parent: initializingHandler,\n chunk: null,\n value: null,\n reason: null,\n deps: 0,\n errored: !1\n }),\n REACT_ELEMENT_TYPE\n );\n switch (value[1]) {\n case \"$\":\n return value.slice(1);\n case \"L\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n (response = getChunk(response, parentObject)),\n createLazyChunkWrapper(response)\n );\n case \"@\":\n return (\n (parentObject = parseInt(value.slice(2), 16)),\n getChunk(response, parentObject)\n );\n case \"S\":\n return Symbol.for(value.slice(2));\n case \"h\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(\n response,\n value,\n parentObject,\n key,\n loadServerReference\n )\n );\n case \"T\":\n parentObject = \"$\" + value.slice(2);\n response = response._tempRefs;\n if (null == response)\n throw Error(\n \"Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.\"\n );\n return response.get(parentObject);\n case \"Q\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createMap)\n );\n case \"W\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createSet)\n );\n case \"B\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createBlob)\n );\n case \"K\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, createFormData)\n );\n case \"Z\":\n return resolveErrorProd();\n case \"i\":\n return (\n (value = value.slice(2)),\n getOutlinedModel(response, value, parentObject, key, extractIterator)\n );\n case \"I\":\n return Infinity;\n case \"-\":\n return \"$-0\" === value ? -0 : -Infinity;\n case \"N\":\n return NaN;\n case \"u\":\n return;\n case \"D\":\n return new Date(Date.parse(value.slice(2)));\n case \"n\":\n return BigInt(value.slice(2));\n default:\n return (\n (value = value.slice(1)),\n getOutlinedModel(response, value, parentObject, key, createModel)\n );\n }\n }\n return value;\n}\nfunction missingCall() {\n throw Error(\n 'Trying to call a function from \"use server\" but the callServer option was not implemented in your router runtime.'\n );\n}\nfunction ResponseInstance(\n bundlerConfig,\n serverReferenceConfig,\n moduleLoading,\n callServer,\n encodeFormAction,\n nonce,\n temporaryReferences,\n allowPartialStream\n) {\n var chunks = new Map();\n this._bundlerConfig = bundlerConfig;\n this._serverReferenceConfig = serverReferenceConfig;\n this._moduleLoading = moduleLoading;\n this._callServer = void 0 !== callServer ? callServer : missingCall;\n this._encodeFormAction = encodeFormAction;\n this._nonce = nonce;\n this._chunks = chunks;\n this._stringDecoder = new util.TextDecoder();\n this._closed = !1;\n this._closedReason = null;\n this._allowPartialStream = allowPartialStream;\n this._tempRefs = temporaryReferences;\n}\nfunction createStreamState() {\n return { _rowState: 0, _rowID: 0, _rowTag: 0, _rowLength: 0, _buffer: [] };\n}\nfunction resolveBuffer(response, id, buffer) {\n response = response._chunks;\n var chunk = response.get(id);\n chunk && \"pending\" !== chunk.status\n ? chunk.reason.enqueueValue(buffer)\n : ((buffer = new ReactPromise(\"fulfilled\", buffer, null)),\n response.set(id, buffer));\n}\nfunction resolveModule(response, id, model) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n model = parseModel(response, model);\n var clientReference = resolveClientReference(response._bundlerConfig, model);\n prepareDestinationWithChunks(\n response._moduleLoading,\n model[1],\n response._nonce\n );\n if ((model = preloadModule(clientReference))) {\n if (chunk) {\n var blockedChunk = chunk;\n blockedChunk.status = \"blocked\";\n } else\n (blockedChunk = new ReactPromise(\"blocked\", null, null)),\n chunks.set(id, blockedChunk);\n model.then(\n function () {\n return resolveModuleChunk(response, blockedChunk, clientReference);\n },\n function (error) {\n return triggerErrorOnChunk(response, blockedChunk, error);\n }\n );\n } else\n chunk\n ? resolveModuleChunk(response, chunk, clientReference)\n : ((chunk = new ReactPromise(\"resolved_module\", clientReference, null)),\n chunks.set(id, chunk));\n}\nfunction resolveStream(response, id, stream, controller) {\n var chunks = response._chunks,\n chunk = chunks.get(id);\n chunk\n ? \"pending\" === chunk.status &&\n ((id = chunk.value),\n (chunk.status = \"fulfilled\"),\n (chunk.value = stream),\n (chunk.reason = controller),\n null !== id && wakeChunk(response, id, chunk.value, chunk))\n : ((response = new ReactPromise(\"fulfilled\", stream, controller)),\n chunks.set(id, response));\n}\nfunction startReadableStream(response, id, type) {\n var controller = null,\n closed = !1;\n type = new ReadableStream({\n type: type,\n start: function (c) {\n controller = c;\n }\n });\n var previousBlockedChunk = null;\n resolveStream(response, id, type, {\n enqueueValue: function (value) {\n null === previousBlockedChunk\n ? controller.enqueue(value)\n : previousBlockedChunk.then(function () {\n controller.enqueue(value);\n });\n },\n enqueueModel: function (json) {\n if (null === previousBlockedChunk) {\n var chunk = new ReactPromise(\"resolved_model\", json, response);\n initializeModelChunk(chunk);\n \"fulfilled\" === chunk.status\n ? controller.enqueue(chunk.value)\n : (chunk.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n ),\n (previousBlockedChunk = chunk));\n } else {\n chunk = previousBlockedChunk;\n var chunk$55 = createPendingChunk();\n chunk$55.then(\n function (v) {\n return controller.enqueue(v);\n },\n function (e) {\n return controller.error(e);\n }\n );\n previousBlockedChunk = chunk$55;\n chunk.then(function () {\n previousBlockedChunk === chunk$55 && (previousBlockedChunk = null);\n resolveModelChunk(response, chunk$55, json);\n });\n }\n },\n close: function () {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk)) controller.close();\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.close();\n });\n }\n },\n error: function (error) {\n if (!closed)\n if (((closed = !0), null === previousBlockedChunk))\n controller.error(error);\n else {\n var blockedChunk = previousBlockedChunk;\n previousBlockedChunk = null;\n blockedChunk.then(function () {\n return controller.error(error);\n });\n }\n }\n });\n}\nfunction asyncIterator() {\n return this;\n}\nfunction createIterator(next) {\n next = { next: next };\n next[ASYNC_ITERATOR] = asyncIterator;\n return next;\n}\nfunction startAsyncIterable(response, id, iterator) {\n var buffer = [],\n closed = !1,\n nextWriteIndex = 0,\n iterable = {};\n iterable[ASYNC_ITERATOR] = function () {\n var nextReadIndex = 0;\n return createIterator(function (arg) {\n if (void 0 !== arg)\n throw Error(\n \"Values cannot be passed to next() of AsyncIterables passed to Client Components.\"\n );\n if (nextReadIndex === buffer.length) {\n if (closed)\n return new ReactPromise(\n \"fulfilled\",\n { done: !0, value: void 0 },\n null\n );\n buffer[nextReadIndex] = createPendingChunk();\n }\n return buffer[nextReadIndex++];\n });\n };\n resolveStream(\n response,\n id,\n iterator ? iterable[ASYNC_ITERATOR]() : iterable,\n {\n enqueueValue: function (value) {\n if (nextWriteIndex === buffer.length)\n buffer[nextWriteIndex] = new ReactPromise(\n \"fulfilled\",\n { done: !1, value: value },\n null\n );\n else {\n var chunk = buffer[nextWriteIndex],\n resolveListeners = chunk.value,\n rejectListeners = chunk.reason;\n chunk.status = \"fulfilled\";\n chunk.value = { done: !1, value: value };\n chunk.reason = null;\n null !== resolveListeners &&\n wakeChunkIfInitialized(\n response,\n chunk,\n resolveListeners,\n rejectListeners\n );\n }\n nextWriteIndex++;\n },\n enqueueModel: function (value) {\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n response,\n value,\n !1\n ))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !1\n );\n nextWriteIndex++;\n },\n close: function (value) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length\n ? (buffer[nextWriteIndex] = createResolvedIteratorResultChunk(\n response,\n value,\n !0\n ))\n : resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex],\n value,\n !0\n ),\n nextWriteIndex++;\n nextWriteIndex < buffer.length;\n\n )\n resolveIteratorResultChunk(\n response,\n buffer[nextWriteIndex++],\n '\"$undefined\"',\n !0\n );\n },\n error: function (error) {\n if (!closed)\n for (\n closed = !0,\n nextWriteIndex === buffer.length &&\n (buffer[nextWriteIndex] = createPendingChunk());\n nextWriteIndex < buffer.length;\n\n )\n triggerErrorOnChunk(response, buffer[nextWriteIndex++], error);\n }\n }\n );\n}\nfunction resolveErrorProd() {\n var error = Error(\n \"An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.\"\n );\n error.stack = \"Error: \" + error.message;\n return error;\n}\nfunction mergeBuffer(buffer, lastChunk) {\n for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)\n byteLength += buffer[i].byteLength;\n byteLength = new Uint8Array(byteLength);\n for (var i$56 = (i = 0); i$56 < l; i$56++) {\n var chunk = buffer[i$56];\n byteLength.set(chunk, i);\n i += chunk.byteLength;\n }\n byteLength.set(lastChunk, i);\n return byteLength;\n}\nfunction resolveTypedArray(\n response,\n id,\n buffer,\n lastChunk,\n constructor,\n bytesPerElement\n) {\n buffer =\n 0 === buffer.length && 0 === lastChunk.byteOffset % bytesPerElement\n ? lastChunk\n : mergeBuffer(buffer, lastChunk);\n constructor = new constructor(\n buffer.buffer,\n buffer.byteOffset,\n buffer.byteLength / bytesPerElement\n );\n resolveBuffer(response, id, constructor);\n}\nfunction processFullBinaryRow(response, streamState, id, tag, buffer, chunk) {\n switch (tag) {\n case 65:\n resolveBuffer(response, id, mergeBuffer(buffer, chunk).buffer);\n return;\n case 79:\n resolveTypedArray(response, id, buffer, chunk, Int8Array, 1);\n return;\n case 111:\n resolveBuffer(\n response,\n id,\n 0 === buffer.length ? chunk : mergeBuffer(buffer, chunk)\n );\n return;\n case 85:\n resolveTypedArray(response, id, buffer, chunk, Uint8ClampedArray, 1);\n return;\n case 83:\n resolveTypedArray(response, id, buffer, chunk, Int16Array, 2);\n return;\n case 115:\n resolveTypedArray(response, id, buffer, chunk, Uint16Array, 2);\n return;\n case 76:\n resolveTypedArray(response, id, buffer, chunk, Int32Array, 4);\n return;\n case 108:\n resolveTypedArray(response, id, buffer, chunk, Uint32Array, 4);\n return;\n case 71:\n resolveTypedArray(response, id, buffer, chunk, Float32Array, 4);\n return;\n case 103:\n resolveTypedArray(response, id, buffer, chunk, Float64Array, 8);\n return;\n case 77:\n resolveTypedArray(response, id, buffer, chunk, BigInt64Array, 8);\n return;\n case 109:\n resolveTypedArray(response, id, buffer, chunk, BigUint64Array, 8);\n return;\n case 86:\n resolveTypedArray(response, id, buffer, chunk, DataView, 1);\n return;\n }\n for (\n var stringDecoder = response._stringDecoder, row = \"\", i = 0;\n i < buffer.length;\n i++\n )\n row += stringDecoder.decode(buffer[i], decoderOptions);\n row += stringDecoder.decode(chunk);\n processFullStringRow(response, streamState, id, tag, row);\n}\nfunction processFullStringRow(response, streamState, id, tag, row) {\n switch (tag) {\n case 73:\n resolveModule(response, id, row);\n break;\n case 72:\n id = row[0];\n row = row.slice(1);\n response = parseModel(response, row);\n row = ReactDOMSharedInternals.d;\n switch (id) {\n case \"D\":\n row.D(response);\n break;\n case \"C\":\n \"string\" === typeof response\n ? row.C(response)\n : row.C(response[0], response[1]);\n break;\n case \"L\":\n id = response[0];\n streamState = response[1];\n 3 === response.length\n ? row.L(id, streamState, response[2])\n : row.L(id, streamState);\n break;\n case \"m\":\n \"string\" === typeof response\n ? row.m(response)\n : row.m(response[0], response[1]);\n break;\n case \"X\":\n \"string\" === typeof response\n ? row.X(response)\n : row.X(response[0], response[1]);\n break;\n case \"S\":\n \"string\" === typeof response\n ? row.S(response)\n : row.S(\n response[0],\n 0 === response[1] ? void 0 : response[1],\n 3 === response.length ? response[2] : void 0\n );\n break;\n case \"M\":\n \"string\" === typeof response\n ? row.M(response)\n : row.M(response[0], response[1]);\n }\n break;\n case 69:\n streamState = response._chunks;\n tag = streamState.get(id);\n row = JSON.parse(row);\n var error = resolveErrorProd();\n error.digest = row.digest;\n tag\n ? triggerErrorOnChunk(response, tag, error)\n : ((response = new ReactPromise(\"rejected\", null, error)),\n streamState.set(id, response));\n break;\n case 84:\n response = response._chunks;\n (streamState = response.get(id)) && \"pending\" !== streamState.status\n ? streamState.reason.enqueueValue(row)\n : ((row = new ReactPromise(\"fulfilled\", row, null)),\n response.set(id, row));\n break;\n case 78:\n case 68:\n case 74:\n case 87:\n throw Error(\n \"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.\"\n );\n case 82:\n startReadableStream(response, id, void 0);\n break;\n case 114:\n startReadableStream(response, id, \"bytes\");\n break;\n case 88:\n startAsyncIterable(response, id, !1);\n break;\n case 120:\n startAsyncIterable(response, id, !0);\n break;\n case 67:\n (id = response._chunks.get(id)) &&\n \"fulfilled\" === id.status &&\n id.reason.close(\"\" === row ? '\"$undefined\"' : row);\n break;\n default:\n (streamState = response._chunks),\n (tag = streamState.get(id))\n ? resolveModelChunk(response, tag, row)\n : ((response = new ReactPromise(\"resolved_model\", row, response)),\n streamState.set(id, response));\n }\n}\nfunction processBinaryChunk(weakResponse, streamState, chunk) {\n for (\n var i = 0,\n rowState = streamState._rowState,\n rowID = streamState._rowID,\n rowTag = streamState._rowTag,\n rowLength = streamState._rowLength,\n buffer = streamState._buffer,\n chunkLength = chunk.length;\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = chunk[i++];\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = chunk[i];\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 98 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 35 === rowState ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = chunk[i++];\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = chunk.indexOf(10, i);\n break;\n case 4:\n (lastIdx = i + rowLength), lastIdx > chunk.length && (lastIdx = -1);\n }\n var offset = chunk.byteOffset + i;\n if (-1 < lastIdx)\n (rowLength = new Uint8Array(chunk.buffer, offset, lastIdx - i)),\n 98 === rowTag\n ? resolveBuffer(\n weakResponse,\n rowID,\n lastIdx === chunkLength ? rowLength : rowLength.slice()\n )\n : processFullBinaryRow(\n weakResponse,\n streamState,\n rowID,\n rowTag,\n buffer,\n rowLength\n ),\n (i = lastIdx),\n 3 === rowState && i++,\n (rowLength = rowID = rowTag = rowState = 0),\n (buffer.length = 0);\n else {\n chunk = new Uint8Array(chunk.buffer, offset, chunk.byteLength - i);\n 98 === rowTag\n ? ((rowLength -= chunk.byteLength),\n resolveBuffer(weakResponse, rowID, chunk))\n : (buffer.push(chunk), (rowLength -= chunk.byteLength));\n break;\n }\n }\n streamState._rowState = rowState;\n streamState._rowID = rowID;\n streamState._rowTag = rowTag;\n streamState._rowLength = rowLength;\n}\nfunction parseModel(response, json) {\n json = JSON.parse(json);\n return reviveModel(response, json, { \"\": json }, \"\");\n}\nfunction reviveModel(response, value, parentObject, key) {\n if (\"string\" === typeof value)\n return \"$\" === value[0]\n ? parseModelString(response, parentObject, key, value)\n : value;\n if (\"object\" !== typeof value || null === value) return value;\n if (isArrayImpl(value)) {\n for (var i = 0; i < value.length; i++)\n value[i] = reviveModel(response, value[i], value, \"\" + i);\n return value[0] === REACT_ELEMENT_TYPE\n ? (value[0] === REACT_ELEMENT_TYPE\n ? ((response = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: value[1],\n key: value[2],\n ref: null,\n props: value[3]\n }),\n null !== initializingHandler &&\n ((value = initializingHandler),\n (initializingHandler = value.parent),\n value.errored\n ? ((response = new ReactPromise(\n \"rejected\",\n null,\n value.reason\n )),\n (response = createLazyChunkWrapper(response)))\n : 0 < value.deps &&\n ((i = new ReactPromise(\"blocked\", null, null)),\n (value.value = response),\n (value.chunk = i),\n (response = createLazyChunkWrapper(i)))))\n : (response = value),\n response)\n : value;\n }\n for (i in value)\n \"__proto__\" === i\n ? delete value[i]\n : ((parentObject = reviveModel(response, value[i], value, i)),\n void 0 !== parentObject ? (value[i] = parentObject) : delete value[i]);\n return value;\n}\nfunction close(weakResponse) {\n weakResponse._allowPartialStream\n ? ((weakResponse._closed = !0),\n weakResponse._chunks.forEach(function (chunk) {\n \"pending\" === chunk.status\n ? ((chunk.status = \"halted\"),\n (chunk.value = null),\n (chunk.reason = null))\n : \"fulfilled\" === chunk.status &&\n null !== chunk.reason &&\n chunk.reason.close('\"$undefined\"');\n }))\n : reportGlobalError(weakResponse, Error(\"Connection closed.\"));\n}\nfunction noServerCall$1() {\n throw Error(\n \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n );\n}\nfunction createResponseFromOptions(options) {\n return new ResponseInstance(\n options.serverConsumerManifest.moduleMap,\n options.serverConsumerManifest.serverModuleMap,\n options.serverConsumerManifest.moduleLoading,\n noServerCall$1,\n options.encodeFormAction,\n \"string\" === typeof options.nonce ? options.nonce : void 0,\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0,\n options && options.unstable_allowPartialStream\n ? options.unstable_allowPartialStream\n : !1\n );\n}\nfunction startReadingFromStream$1(response, stream, onDone) {\n function progress(_ref) {\n var value = _ref.value;\n if (_ref.done) return onDone();\n processBinaryChunk(response, streamState, value);\n return reader.read().then(progress).catch(error);\n }\n function error(e) {\n reportGlobalError(response, e);\n }\n var streamState = createStreamState(),\n reader = stream.getReader();\n reader.read().then(progress).catch(error);\n}\nfunction noServerCall() {\n throw Error(\n \"Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.\"\n );\n}\nfunction startReadingFromStream(response, stream, onEnd) {\n var streamState = createStreamState();\n stream.on(\"data\", function (chunk) {\n if (\"string\" === typeof chunk) {\n for (\n var i = 0,\n rowState = streamState._rowState,\n rowID = streamState._rowID,\n rowTag = streamState._rowTag,\n rowLength = streamState._rowLength,\n buffer = streamState._buffer,\n chunkLength = chunk.length;\n i < chunkLength;\n\n ) {\n var lastIdx = -1;\n switch (rowState) {\n case 0:\n lastIdx = chunk.charCodeAt(i++);\n 58 === lastIdx\n ? (rowState = 1)\n : (rowID =\n (rowID << 4) | (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 1:\n rowState = chunk.charCodeAt(i);\n 84 === rowState ||\n 65 === rowState ||\n 79 === rowState ||\n 111 === rowState ||\n 85 === rowState ||\n 83 === rowState ||\n 115 === rowState ||\n 76 === rowState ||\n 108 === rowState ||\n 71 === rowState ||\n 103 === rowState ||\n 77 === rowState ||\n 109 === rowState ||\n 86 === rowState\n ? ((rowTag = rowState), (rowState = 2), i++)\n : (64 < rowState && 91 > rowState) ||\n 114 === rowState ||\n 120 === rowState\n ? ((rowTag = rowState), (rowState = 3), i++)\n : ((rowTag = 0), (rowState = 3));\n continue;\n case 2:\n lastIdx = chunk.charCodeAt(i++);\n 44 === lastIdx\n ? (rowState = 4)\n : (rowLength =\n (rowLength << 4) |\n (96 < lastIdx ? lastIdx - 87 : lastIdx - 48));\n continue;\n case 3:\n lastIdx = chunk.indexOf(\"\\n\", i);\n break;\n case 4:\n if (84 !== rowTag)\n throw Error(\n \"Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams.\"\n );\n if (rowLength < chunk.length || chunk.length > 3 * rowLength)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n lastIdx = chunk.length;\n }\n if (-1 < lastIdx) {\n if (0 < buffer.length)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n i = chunk.slice(i, lastIdx);\n processFullStringRow(response, streamState, rowID, rowTag, i);\n i = lastIdx;\n 3 === rowState && i++;\n rowLength = rowID = rowTag = rowState = 0;\n buffer.length = 0;\n } else if (chunk.length !== i)\n throw Error(\n \"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.\"\n );\n }\n streamState._rowState = rowState;\n streamState._rowID = rowID;\n streamState._rowTag = rowTag;\n streamState._rowLength = rowLength;\n } else processBinaryChunk(response, streamState, chunk);\n });\n stream.on(\"error\", function (error) {\n reportGlobalError(response, error);\n });\n stream.on(\"end\", onEnd);\n}\nexports.createFromFetch = function (promiseForResponse, options) {\n var response = createResponseFromOptions(options);\n promiseForResponse.then(\n function (r) {\n startReadingFromStream$1(response, r.body, close.bind(null, response));\n },\n function (e) {\n reportGlobalError(response, e);\n }\n );\n return getChunk(response, 0);\n};\nexports.createFromNodeStream = function (\n stream,\n serverConsumerManifest,\n options\n) {\n serverConsumerManifest = new ResponseInstance(\n serverConsumerManifest.moduleMap,\n serverConsumerManifest.serverModuleMap,\n serverConsumerManifest.moduleLoading,\n noServerCall,\n options ? options.encodeFormAction : void 0,\n options && \"string\" === typeof options.nonce ? options.nonce : void 0,\n void 0,\n options && options.unstable_allowPartialStream\n ? options.unstable_allowPartialStream\n : !1\n );\n startReadingFromStream(\n serverConsumerManifest,\n stream,\n close.bind(null, serverConsumerManifest)\n );\n return getChunk(serverConsumerManifest, 0);\n};\nexports.createFromReadableStream = function (stream, options) {\n options = createResponseFromOptions(options);\n startReadingFromStream$1(options, stream, close.bind(null, options));\n return getChunk(options, 0);\n};\nexports.createServerReference = function (id) {\n return createServerReference$1(id, noServerCall$1);\n};\nexports.createTemporaryReferenceSet = function () {\n return new Map();\n};\nexports.encodeReply = function (value, options) {\n return new Promise(function (resolve, reject) {\n var abort = processReply(\n value,\n \"\",\n options && options.temporaryReferences\n ? options.temporaryReferences\n : void 0,\n resolve,\n reject\n );\n if (options && options.signal) {\n var signal = options.signal;\n if (signal.aborted) abort(signal.reason);\n else {\n var listener = function () {\n abort(signal.reason);\n signal.removeEventListener(\"abort\", listener);\n };\n signal.addEventListener(\"abort\", listener);\n }\n }\n });\n};\nexports.registerServerReference = function (reference, id, encodeFormAction) {\n registerBoundServerReference(reference, id, null, encodeFormAction);\n return reference;\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-server-dom-turbopack-client.node.production.js');\n} else {\n module.exports = require('./cjs/react-server-dom-turbopack-client.node.development.js');\n}\n","(()=>{\"use strict\";var e={328:e=>{function hash(e){var r=5381,_=e.length;while(_){r=r*33^e.charCodeAt(--_)}return r>>>0}e.exports=hash}};var r={};function __nccwpck_require__(_){var a=r[_];if(a!==undefined){return a.exports}var t=r[_]={exports:{}};var i=true;try{e[_](t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete r[_]}return t.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var _=__nccwpck_require__(328);module.exports=_})();","function resolveArray(value) {\n if (Array.isArray(value)) {\n return value;\n }\n return [\n value\n ];\n}\nfunction resolveAsArrayOrUndefined(value) {\n if (typeof value === 'undefined' || value === null) {\n return undefined;\n }\n return resolveArray(value);\n}\nfunction getOrigin(url) {\n let origin = undefined;\n if (typeof url === 'string') {\n try {\n url = new URL(url);\n origin = url.origin;\n } catch {}\n }\n return origin;\n}\nexport { resolveAsArrayOrUndefined, resolveArray, getOrigin };\n\n//# sourceMappingURL=utils.js.map","const noop = ()=>{};\nlet registry;\nif (globalThis.FinalizationRegistry) {\n registry = new FinalizationRegistry((weakRef)=>{\n const stream = weakRef.deref();\n if (stream && !stream.locked) {\n stream.cancel('Response object has been garbage collected').then(noop);\n }\n });\n}\n/**\n * Clones a response by teeing the body so we can return two independent\n * ReadableStreams from it. This avoids the bug in the undici library around\n * response cloning.\n *\n * After cloning, the original response's body will be consumed and closed.\n *\n * @see https://github.com/vercel/next.js/pull/73274\n *\n * @param original - The original response to clone.\n * @returns A tuple containing two independent clones of the original response.\n */ export function cloneResponse(original) {\n // If the response has no body, then we can just return the original response\n // twice because it's immutable.\n if (!original.body) {\n return [\n original,\n original\n ];\n }\n const [body1, body2] = original.body.tee();\n const cloned1 = new Response(body1, {\n status: original.status,\n statusText: original.statusText,\n headers: original.headers\n });\n Object.defineProperty(cloned1, 'url', {\n value: original.url,\n // How the original response.url behaves\n configurable: true,\n enumerable: true,\n writable: false\n });\n const cloned2 = new Response(body2, {\n status: original.status,\n statusText: original.statusText,\n headers: original.headers\n });\n Object.defineProperty(cloned2, 'url', {\n value: original.url,\n // How the original response.url behaves\n configurable: true,\n enumerable: true,\n writable: false\n });\n // The Fetch Standard allows users to skip consuming the response body by\n // relying on garbage collection to release connection resources.\n // https://github.com/nodejs/undici?tab=readme-ov-file#garbage-collection\n //\n // To cancel the stream you then need to cancel both resulting branches.\n // Teeing a stream will generally lock it for the duration, preventing other\n // readers from locking it.\n // https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/tee\n if (registry) {\n if (cloned1.body) {\n registry.register(cloned1, new WeakRef(cloned1.body));\n }\n if (cloned2.body) {\n registry.register(cloned2, new WeakRef(cloned2.body));\n }\n }\n return [\n cloned1,\n cloned2\n ];\n}\n\n//# sourceMappingURL=clone-response.js.map","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';\nexport class StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;\n }\n}\nexport function isStaticGenBailoutError(error) {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false;\n }\n return error.code === NEXT_STATIC_GEN_BAILOUT;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","// eslint-disable-next-line import/no-extraneous-dependencies\nexport { createTemporaryReferenceSet, renderToReadableStream, decodeReply, decodeAction, decodeFormState } from 'react-server-dom-webpack/server';\n// eslint-disable-next-line import/no-extraneous-dependencies\nexport { prerender } from 'react-server-dom-webpack/static';\n// TODO: Just re-export `* as ReactServer`\nexport { captureOwnerStack, createElement, Fragment } from 'react';\nexport { default as LayoutRouter, LoadingBoundaryProvider } from '../../client/components/layout-router';\nexport { default as RenderFromTemplateContext } from '../../client/components/render-from-template-context';\nexport { workAsyncStorage } from '../app-render/work-async-storage.external';\nexport { workUnitAsyncStorage } from './work-unit-async-storage.external';\nexport { actionAsyncStorage } from '../app-render/action-async-storage.external';\nexport { ClientPageRoot } from '../../client/components/client-page';\nexport { ClientSegmentRoot } from '../../client/components/client-segment';\nexport { createServerSearchParamsForServerPage, createPrerenderSearchParamsForClientPage } from '../request/search-params';\nexport { createServerParamsForServerSegment, createPrerenderParamsForClientSegment } from '../request/params';\nexport * as serverHooks from '../../client/components/hooks-server-context';\nexport { HTTPAccessFallbackBoundary } from '../../client/components/http-access-fallback/error-boundary';\nexport { createMetadataComponents } from '../../lib/metadata/metadata';\nexport { RootLayoutBoundary } from '../../lib/framework/boundary-components';\nexport { preloadStyle, preloadFont, preconnect } from './rsc/preloads';\nexport { Postpone } from './rsc/postpone';\nexport { taintObjectReference } from './rsc/taint';\nexport { collectSegmentData, collectPrefetchHints } from './collect-segment-data';\nexport const InstantValidation = ()=>{\n if (process.env.NEXT_RUNTIME !== 'edge' && process.env.__NEXT_CACHE_COMPONENTS) {\n return require('./instant-validation/instant-validation');\n } else {\n return undefined;\n }\n};\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { patchFetch as _patchFetch } from '../lib/patch-fetch';\nlet SegmentViewNode = ()=>null;\nlet SegmentViewStateNode = ()=>null;\nif (process.env.NODE_ENV === 'development') {\n const mod = require('../../next-devtools/userspace/app/segment-explorer-node');\n SegmentViewNode = mod.SegmentViewNode;\n SegmentViewStateNode = mod.SegmentViewStateNode;\n}\n// hot-reloader modules are not bundled so we need to inject `__next__clear_chunk_cache__`\n// into globalThis from this file which is bundled.\nif (process.env.TURBOPACK) {\n globalThis.__next__clear_chunk_cache__ = __turbopack_clear_chunk_cache__;\n} else {\n // Webpack does not have chunks on the server\n globalThis.__next__clear_chunk_cache__ = null;\n}\n// patchFetch makes use of APIs such as `React.unstable_postpone` which are only available\n// in the experimental channel of React, so export it from here so that it comes from the bundled runtime\nexport function patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage\n });\n}\n// Development only\nexport { SegmentViewNode, SegmentViewStateNode };\n\n//# sourceMappingURL=entry-base.js.map","import { jsx as _jsx, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React, { Suspense, cache } from 'react';\nimport { resolveMetadata, resolveViewport } from './resolve-metadata';\nimport { isHTTPAccessFallbackError } from '../../client/components/http-access-fallback/http-access-fallback';\nimport { createServerSearchParamsForMetadata } from '../../server/request/search-params';\nimport { createServerPathnameForMetadata } from '../../server/request/pathname';\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone';\nimport { workUnitAsyncStorage, getStagedRenderingController } from '../../server/app-render/work-unit-async-storage.external';\nimport { RenderStage } from '../../server/app-render/staged-rendering';\nimport { MetadataBoundary, ViewportBoundary, OutletBoundary } from '../framework/boundary-components';\nimport { getOrigin } from './generate/utils';\nimport { IconMark } from './generate/icon-mark';\n// Use a promise to share the status of the metadata resolving,\n// returning two components `MetadataTree` and `MetadataOutlet`\n// `MetadataTree` is the one that will be rendered at first in the content sequence for metadata tags.\n// `MetadataOutlet` is the one that will be rendered under error boundaries for metadata resolving errors.\n// In this way we can let the metadata tags always render successfully,\n// and the error will be caught by the error boundary and trigger fallbacks.\nexport function createMetadataComponents({ tree, pathname, parsedQuery, metadataContext, interpolatedParams, errorType, serveStreamingMetadata, isRuntimePrefetchable }) {\n const searchParams = createServerSearchParamsForMetadata(parsedQuery, isRuntimePrefetchable);\n const pathnameForMetadata = createServerPathnameForMetadata(pathname);\n async function Viewport() {\n // Gate metadata to the correct render stage. If the page is not\n // runtime-prefetchable, defer until the Static stage so that\n // prefetchable segments get a head start.\n if (!isRuntimePrefetchable) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n const stagedRendering = getStagedRenderingController(workUnitStore);\n if (stagedRendering) {\n await stagedRendering.waitForStage(RenderStage.Static);\n }\n }\n }\n const tags = await getResolvedViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable, errorType).catch((viewportErr)=>{\n // When Legacy PPR is enabled viewport can reject with a Postpone type\n // This will go away once Legacy PPR is removed and dynamic metadata will\n // stay pending until after the prerender is complete when it is dynamic\n if (isPostpone(viewportErr)) {\n throw viewportErr;\n }\n if (!errorType && isHTTPAccessFallbackError(viewportErr)) {\n return getNotFoundViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable).catch(()=>null);\n }\n // We're going to throw the error from the metadata outlet so we just render null here instead\n return null;\n });\n return tags;\n }\n Viewport.displayName = 'Next.Viewport';\n function ViewportWrapper() {\n return /*#__PURE__*/ _jsx(ViewportBoundary, {\n children: /*#__PURE__*/ _jsx(Viewport, {})\n });\n }\n async function Metadata() {\n // Gate metadata to the correct render stage. If the page is not\n // runtime-prefetchable, defer until the Static stage so that\n // prefetchable segments get a head start.\n if (!isRuntimePrefetchable) {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n const stagedRendering = getStagedRenderingController(workUnitStore);\n if (stagedRendering) {\n await stagedRendering.waitForStage(RenderStage.Static);\n }\n }\n }\n const tags = await getResolvedMetadata(tree, pathnameForMetadata, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, errorType).catch((metadataErr)=>{\n // When Legacy PPR is enabled metadata can reject with a Postpone type\n // This will go away once Legacy PPR is removed and dynamic metadata will\n // stay pending until after the prerender is complete when it is dynamic\n if (isPostpone(metadataErr)) {\n throw metadataErr;\n }\n if (!errorType && isHTTPAccessFallbackError(metadataErr)) {\n return getNotFoundMetadata(tree, pathnameForMetadata, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable).catch(()=>null);\n }\n // We're going to throw the error from the metadata outlet so we just render null here instead\n return null;\n });\n return tags;\n }\n Metadata.displayName = 'Next.Metadata';\n function MetadataWrapper() {\n // TODO: We shouldn't change what we render based on whether we are streaming or not.\n // If we aren't streaming we should just block the response until we have resolved the\n // metadata.\n if (!serveStreamingMetadata) {\n return /*#__PURE__*/ _jsx(MetadataBoundary, {\n children: /*#__PURE__*/ _jsx(Metadata, {})\n });\n }\n return /*#__PURE__*/ _jsx(\"div\", {\n hidden: true,\n children: /*#__PURE__*/ _jsx(MetadataBoundary, {\n children: /*#__PURE__*/ _jsx(Suspense, {\n name: \"Next.Metadata\",\n children: /*#__PURE__*/ _jsx(Metadata, {})\n })\n })\n });\n }\n function MetadataOutlet() {\n const pendingOutlet = Promise.all([\n getResolvedMetadata(tree, pathnameForMetadata, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, errorType),\n getResolvedViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable, errorType)\n ]).then(()=>null);\n // TODO: We shouldn't change what we render based on whether we are streaming or not.\n // If we aren't streaming we should just block the response until we have resolved the\n // metadata.\n if (!serveStreamingMetadata) {\n return /*#__PURE__*/ _jsx(OutletBoundary, {\n children: pendingOutlet\n });\n }\n return /*#__PURE__*/ _jsx(OutletBoundary, {\n children: /*#__PURE__*/ _jsx(Suspense, {\n name: \"Next.MetadataOutlet\",\n children: pendingOutlet\n })\n });\n }\n MetadataOutlet.displayName = 'Next.MetadataOutlet';\n return {\n Viewport: ViewportWrapper,\n Metadata: MetadataWrapper,\n MetadataOutlet\n };\n}\nconst getResolvedMetadata = cache(getResolvedMetadataImpl);\nasync function getResolvedMetadataImpl(tree, pathname, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, errorType) {\n const errorConvention = errorType === 'redirect' ? undefined : errorType;\n return renderMetadata(tree, pathname, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, errorConvention);\n}\nconst getNotFoundMetadata = cache(getNotFoundMetadataImpl);\nasync function getNotFoundMetadataImpl(tree, pathname, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable) {\n const notFoundErrorConvention = 'not-found';\n return renderMetadata(tree, pathname, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, notFoundErrorConvention);\n}\nconst getResolvedViewport = cache(getResolvedViewportImpl);\nasync function getResolvedViewportImpl(tree, searchParams, interpolatedParams, isRuntimePrefetchable, errorType) {\n const errorConvention = errorType === 'redirect' ? undefined : errorType;\n return renderViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable, errorConvention);\n}\nconst getNotFoundViewport = cache(getNotFoundViewportImpl);\nasync function getNotFoundViewportImpl(tree, searchParams, interpolatedParams, isRuntimePrefetchable) {\n const notFoundErrorConvention = 'not-found';\n return renderViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable, notFoundErrorConvention);\n}\nasync function renderMetadata(tree, pathname, searchParams, interpolatedParams, metadataContext, isRuntimePrefetchable, errorConvention) {\n const resolvedMetadata = await resolveMetadata(tree, pathname, searchParams, errorConvention, interpolatedParams, metadataContext, isRuntimePrefetchable);\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: createMetadataElements(resolvedMetadata)\n });\n}\nasync function renderViewport(tree, searchParams, interpolatedParams, isRuntimePrefetchable, errorConvention) {\n const resolvedViewport = await resolveViewport(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable);\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: createViewportElements(resolvedViewport)\n });\n}\n// ---------------------------------------------------------------------------\n// Viewport tag rendering\n// ---------------------------------------------------------------------------\nfunction createViewportElements(viewport) {\n const tags = [];\n let i = 0;\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n charSet: \"utf-8\"\n }, i++));\n // Build viewport content string from layout properties\n const viewportParts = [];\n if (viewport.width != null) {\n viewportParts.push(`width=${viewport.width}`);\n }\n if (viewport.height != null) {\n viewportParts.push(`height=${viewport.height}`);\n }\n if (viewport.initialScale != null) {\n viewportParts.push(`initial-scale=${viewport.initialScale}`);\n }\n if (viewport.minimumScale != null) {\n viewportParts.push(`minimum-scale=${viewport.minimumScale}`);\n }\n if (viewport.maximumScale != null) {\n viewportParts.push(`maximum-scale=${viewport.maximumScale}`);\n }\n if (viewport.userScalable != null) {\n viewportParts.push(`user-scalable=${viewport.userScalable ? 'yes' : 'no'}`);\n }\n if (viewport.viewportFit) {\n viewportParts.push(`viewport-fit=${viewport.viewportFit}`);\n }\n if (viewport.interactiveWidget) {\n viewportParts.push(`interactive-widget=${viewport.interactiveWidget}`);\n }\n if (viewportParts.length) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"viewport\",\n content: viewportParts.join(', ')\n }, i++));\n }\n if (viewport.themeColor) {\n for (const themeColor of viewport.themeColor){\n if (themeColor.media) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"theme-color\",\n content: themeColor.color,\n media: themeColor.media\n }, i++));\n } else {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"theme-color\",\n content: themeColor.color\n }, i++));\n }\n }\n }\n if (viewport.colorScheme) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"color-scheme\",\n content: viewport.colorScheme\n }, i++));\n }\n return tags;\n}\n// ---------------------------------------------------------------------------\n// Metadata tag rendering\n// ---------------------------------------------------------------------------\nfunction createMetadataElements(metadata) {\n var _metadata_robots, _metadata_robots1;\n const tags = [];\n let i = 0;\n // --- Title ---\n if (metadata.title !== null && metadata.title.absolute) {\n tags.push(/*#__PURE__*/ _jsx(\"title\", {\n children: metadata.title.absolute\n }, i++));\n }\n // --- Basic meta tags ---\n if (metadata.description) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"description\",\n content: metadata.description\n }, i++));\n }\n if (metadata.applicationName) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"application-name\",\n content: metadata.applicationName\n }, i++));\n }\n // --- Authors ---\n if (metadata.authors) {\n for (const author of metadata.authors){\n if (author.url) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"author\",\n href: author.url.toString()\n }, i++));\n }\n if (author.name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"author\",\n content: author.name\n }, i++));\n }\n }\n }\n // --- Manifest ---\n if (metadata.manifest) {\n const manifestOrigin = getOrigin(metadata.manifest);\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"manifest\",\n href: metadata.manifest.toString(),\n crossOrigin: !manifestOrigin && process.env.VERCEL_ENV === 'preview' ? 'use-credentials' : undefined\n }, i++));\n }\n if (metadata.generator) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"generator\",\n content: metadata.generator\n }, i++));\n }\n if (metadata.keywords && metadata.keywords.length) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"keywords\",\n content: metadata.keywords.join(',')\n }, i++));\n }\n if (metadata.referrer) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"referrer\",\n content: metadata.referrer\n }, i++));\n }\n if (metadata.creator) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"creator\",\n content: metadata.creator\n }, i++));\n }\n if (metadata.publisher) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"publisher\",\n content: metadata.publisher\n }, i++));\n }\n if ((_metadata_robots = metadata.robots) == null ? void 0 : _metadata_robots.basic) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"robots\",\n content: metadata.robots.basic\n }, i++));\n }\n if ((_metadata_robots1 = metadata.robots) == null ? void 0 : _metadata_robots1.googleBot) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"googlebot\",\n content: metadata.robots.googleBot\n }, i++));\n }\n if (metadata.abstract) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"abstract\",\n content: metadata.abstract\n }, i++));\n }\n // --- Link rel arrays ---\n if (metadata.archives) {\n for (const archive of metadata.archives){\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"archives\",\n href: archive\n }, i++));\n }\n }\n if (metadata.assets) {\n for (const asset of metadata.assets){\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"assets\",\n href: asset\n }, i++));\n }\n }\n if (metadata.bookmarks) {\n for (const bookmark of metadata.bookmarks){\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"bookmarks\",\n href: bookmark\n }, i++));\n }\n }\n // --- Pagination ---\n if (metadata.pagination) {\n if (metadata.pagination.previous) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"prev\",\n href: metadata.pagination.previous\n }, i++));\n }\n if (metadata.pagination.next) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"next\",\n href: metadata.pagination.next\n }, i++));\n }\n }\n if (metadata.category) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"category\",\n content: metadata.category\n }, i++));\n }\n if (metadata.classification) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"classification\",\n content: metadata.classification\n }, i++));\n }\n // --- Other (arbitrary name/value pairs) ---\n if (metadata.other) {\n for (const [name, content] of Object.entries(metadata.other)){\n if (Array.isArray(content)) {\n for (const contentItem of content){\n if (contentItem != null && contentItem !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: name,\n content: String(contentItem)\n }, i++));\n }\n }\n } else if (content != null && content !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: name,\n content: String(content)\n }, i++));\n }\n }\n }\n // --- Alternates ---\n if (metadata.alternates) {\n const { canonical, languages, media, types } = metadata.alternates;\n if (canonical && canonical.url) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"canonical\",\n href: canonical.url.toString(),\n ...canonical.title ? {\n title: canonical.title\n } : undefined\n }, i++));\n }\n if (languages) {\n for (const [locale, descriptors] of Object.entries(languages)){\n if (descriptors) {\n for (const descriptor of descriptors){\n if (descriptor.url) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"alternate\",\n hrefLang: locale,\n href: descriptor.url.toString(),\n ...descriptor.title ? {\n title: descriptor.title\n } : undefined\n }, i++));\n }\n }\n }\n }\n }\n if (media) {\n for (const [mediaName, descriptors] of Object.entries(media)){\n if (descriptors) {\n for (const descriptor of descriptors){\n if (descriptor.url) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"alternate\",\n media: mediaName,\n href: descriptor.url.toString(),\n ...descriptor.title ? {\n title: descriptor.title\n } : undefined\n }, i++));\n }\n }\n }\n }\n }\n if (types) {\n for (const [type, descriptors] of Object.entries(types)){\n if (descriptors) {\n for (const descriptor of descriptors){\n if (descriptor.url) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: \"alternate\",\n type: type,\n href: descriptor.url.toString(),\n ...descriptor.title ? {\n title: descriptor.title\n } : undefined\n }, i++));\n }\n }\n }\n }\n }\n }\n // --- iTunes ---\n if (metadata.itunes) {\n const { appId, appArgument } = metadata.itunes;\n let itunesContent = `app-id=${appId}`;\n if (appArgument) {\n itunesContent += `, app-argument=${appArgument}`;\n }\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"apple-itunes-app\",\n content: itunesContent\n }, i++));\n }\n // --- Facebook ---\n if (metadata.facebook) {\n if (metadata.facebook.appId) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"fb:app_id\",\n content: metadata.facebook.appId\n }, i++));\n }\n if (metadata.facebook.admins) {\n for (const admin of metadata.facebook.admins){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"fb:admins\",\n content: admin\n }, i++));\n }\n }\n }\n // --- Pinterest ---\n if (metadata.pinterest && metadata.pinterest.richPin !== undefined) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"pinterest-rich-pin\",\n content: metadata.pinterest.richPin.toString()\n }, i++));\n }\n // --- Format Detection ---\n if (metadata.formatDetection) {\n const formatDetectionKeys = [\n 'telephone',\n 'date',\n 'address',\n 'email',\n 'url'\n ];\n let formatContent = '';\n for (const key of formatDetectionKeys){\n if (metadata.formatDetection[key] === false) {\n if (formatContent) formatContent += ', ';\n formatContent += `${key}=no`;\n }\n }\n if (formatContent) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"format-detection\",\n content: formatContent\n }, i++));\n }\n }\n // --- Verification ---\n if (metadata.verification) {\n const verification = metadata.verification;\n if (verification.google) {\n for (const value of verification.google){\n if (value != null && value !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"google-site-verification\",\n content: String(value)\n }, i++));\n }\n }\n }\n if (verification.yahoo) {\n for (const value of verification.yahoo){\n if (value != null && value !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"y_key\",\n content: String(value)\n }, i++));\n }\n }\n }\n if (verification.yandex) {\n for (const value of verification.yandex){\n if (value != null && value !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"yandex-verification\",\n content: String(value)\n }, i++));\n }\n }\n }\n if (verification.me) {\n for (const value of verification.me){\n if (value != null && value !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"me\",\n content: String(value)\n }, i++));\n }\n }\n }\n if (verification.other) {\n for (const [name, values] of Object.entries(verification.other)){\n for (const value of values){\n if (value != null && value !== '') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: name,\n content: String(value)\n }, i++));\n }\n }\n }\n }\n }\n // --- Apple Web App ---\n if (metadata.appleWebApp) {\n const { capable, title, startupImage, statusBarStyle } = metadata.appleWebApp;\n if (capable) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"mobile-web-app-capable\",\n content: \"yes\"\n }, i++));\n }\n if (title) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"apple-mobile-web-app-title\",\n content: title\n }, i++));\n }\n if (startupImage) {\n for (const image of startupImage){\n if (image.media) {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n href: image.url,\n media: image.media,\n rel: \"apple-touch-startup-image\"\n }, i++));\n } else {\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n href: image.url,\n rel: \"apple-touch-startup-image\"\n }, i++));\n }\n }\n }\n if (statusBarStyle) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"apple-mobile-web-app-status-bar-style\",\n content: statusBarStyle\n }, i++));\n }\n }\n // --- Open Graph ---\n if (metadata.openGraph) {\n var _og_title;\n const og = metadata.openGraph;\n if (og.determiner) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:determiner\",\n content: og.determiner\n }, i++));\n }\n if ((_og_title = og.title) == null ? void 0 : _og_title.absolute) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:title\",\n content: og.title.absolute\n }, i++));\n }\n if (og.description) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:description\",\n content: og.description\n }, i++));\n }\n if (og.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:url\",\n content: og.url.toString()\n }, i++));\n }\n if (og.siteName) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:site_name\",\n content: og.siteName\n }, i++));\n }\n if (og.locale) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:locale\",\n content: og.locale\n }, i++));\n }\n if (og.countryName) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:country_name\",\n content: og.countryName\n }, i++));\n }\n if (og.ttl != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:ttl\",\n content: og.ttl.toString()\n }, i++));\n }\n // OG images\n if (og.images) {\n for (const image of og.images){\n if (typeof image === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image\",\n content: image\n }, i++));\n } else {\n if (image.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image\",\n content: String(image.url)\n }, i++));\n }\n if (image.secureUrl) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image:secure_url\",\n content: String(image.secureUrl)\n }, i++));\n }\n if (image.type) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image:type\",\n content: image.type\n }, i++));\n }\n if (image.width) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image:width\",\n content: String(image.width)\n }, i++));\n }\n if (image.height) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image:height\",\n content: String(image.height)\n }, i++));\n }\n if (image.alt) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:image:alt\",\n content: image.alt\n }, i++));\n }\n }\n }\n }\n // OG videos\n if (og.videos) {\n for (const video of og.videos){\n if (typeof video === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video\",\n content: video\n }, i++));\n } else {\n if (video.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video\",\n content: String(video.url)\n }, i++));\n }\n if (video.secureUrl) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video:secure_url\",\n content: String(video.secureUrl)\n }, i++));\n }\n if (video.type) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video:type\",\n content: video.type\n }, i++));\n }\n if (video.width) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video:width\",\n content: String(video.width)\n }, i++));\n }\n if (video.height) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:video:height\",\n content: String(video.height)\n }, i++));\n }\n }\n }\n }\n // OG audio\n if (og.audio) {\n for (const audio of og.audio){\n if (typeof audio === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:audio\",\n content: audio\n }, i++));\n } else {\n if (audio.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:audio\",\n content: String(audio.url)\n }, i++));\n }\n if (audio.secureUrl) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:audio:secure_url\",\n content: String(audio.secureUrl)\n }, i++));\n }\n if (audio.type) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:audio:type\",\n content: audio.type\n }, i++));\n }\n }\n }\n }\n // OG simple array properties\n if (og.emails) {\n for (const email of og.emails){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:email\",\n content: email\n }, i++));\n }\n }\n if (og.phoneNumbers) {\n for (const phone of og.phoneNumbers){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:phone_number\",\n content: phone\n }, i++));\n }\n }\n if (og.faxNumbers) {\n for (const fax of og.faxNumbers){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:fax_number\",\n content: fax\n }, i++));\n }\n }\n if (og.alternateLocale) {\n for (const locale of og.alternateLocale){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:locale:alternate\",\n content: locale\n }, i++));\n }\n }\n // OG type-specific tags\n if ('type' in og) {\n const ogType = og.type;\n switch(ogType){\n case 'website':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"website\"\n }, i++));\n break;\n case 'article':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"article\"\n }, i++));\n if (og.publishedTime) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:published_time\",\n content: og.publishedTime.toString()\n }, i++));\n }\n if (og.modifiedTime) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:modified_time\",\n content: og.modifiedTime.toString()\n }, i++));\n }\n if (og.expirationTime) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:expiration_time\",\n content: og.expirationTime.toString()\n }, i++));\n }\n if (og.authors) {\n for (const author of og.authors){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:author\",\n content: String(author)\n }, i++));\n }\n }\n if (og.section) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:section\",\n content: og.section\n }, i++));\n }\n if (og.tags) {\n for (const tag of og.tags){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"article:tag\",\n content: tag\n }, i++));\n }\n }\n break;\n case 'book':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"book\"\n }, i++));\n if (og.isbn) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"book:isbn\",\n content: og.isbn\n }, i++));\n }\n if (og.releaseDate) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"book:release_date\",\n content: og.releaseDate\n }, i++));\n }\n if (og.authors) {\n for (const author of og.authors){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"book:author\",\n content: String(author)\n }, i++));\n }\n }\n if (og.tags) {\n for (const tag of og.tags){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"book:tag\",\n content: tag\n }, i++));\n }\n }\n break;\n case 'profile':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"profile\"\n }, i++));\n if (og.firstName) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"profile:first_name\",\n content: og.firstName\n }, i++));\n }\n if (og.lastName) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"profile:last_name\",\n content: og.lastName\n }, i++));\n }\n if (og.username) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"profile:username\",\n content: og.username\n }, i++));\n }\n if (og.gender) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"profile:gender\",\n content: og.gender\n }, i++));\n }\n break;\n case 'music.song':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"music.song\"\n }, i++));\n if (og.duration != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:duration\",\n content: og.duration.toString()\n }, i++));\n }\n if (og.albums) {\n for (const album of og.albums){\n if (typeof album === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:album\",\n content: album\n }, i++));\n } else {\n if (album.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:album\",\n content: String(album.url)\n }, i++));\n }\n if (album.disc != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:album:disc\",\n content: String(album.disc)\n }, i++));\n }\n if (album.track != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:album:track\",\n content: String(album.track)\n }, i++));\n }\n }\n }\n }\n if (og.musicians) {\n for (const musician of og.musicians){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:musician\",\n content: String(musician)\n }, i++));\n }\n }\n break;\n case 'music.album':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"music.album\"\n }, i++));\n if (og.songs) {\n for (const song of og.songs){\n if (typeof song === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song\",\n content: song\n }, i++));\n } else {\n if (song.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song\",\n content: String(song.url)\n }, i++));\n }\n if (song.disc != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song:disc\",\n content: String(song.disc)\n }, i++));\n }\n if (song.track != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song:track\",\n content: String(song.track)\n }, i++));\n }\n }\n }\n }\n if (og.musicians) {\n for (const musician of og.musicians){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:musician\",\n content: String(musician)\n }, i++));\n }\n }\n if (og.releaseDate) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:release_date\",\n content: og.releaseDate\n }, i++));\n }\n break;\n case 'music.playlist':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"music.playlist\"\n }, i++));\n if (og.songs) {\n for (const song of og.songs){\n if (typeof song === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song\",\n content: song\n }, i++));\n } else {\n if (song.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song\",\n content: String(song.url)\n }, i++));\n }\n if (song.disc != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song:disc\",\n content: String(song.disc)\n }, i++));\n }\n if (song.track != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:song:track\",\n content: String(song.track)\n }, i++));\n }\n }\n }\n }\n if (og.creators) {\n for (const creator of og.creators){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:creator\",\n content: String(creator)\n }, i++));\n }\n }\n break;\n case 'music.radio_station':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"music.radio_station\"\n }, i++));\n if (og.creators) {\n for (const creator of og.creators){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"music:creator\",\n content: String(creator)\n }, i++));\n }\n }\n break;\n case 'video.movie':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"video.movie\"\n }, i++));\n if (og.actors) {\n for (const actor of og.actors){\n if (typeof actor === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor\",\n content: actor\n }, i++));\n } else {\n if (actor.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor\",\n content: String(actor.url)\n }, i++));\n }\n if (actor.role) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor:role\",\n content: actor.role\n }, i++));\n }\n }\n }\n }\n if (og.directors) {\n for (const director of og.directors){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:director\",\n content: String(director)\n }, i++));\n }\n }\n if (og.writers) {\n for (const writer of og.writers){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:writer\",\n content: String(writer)\n }, i++));\n }\n }\n if (og.duration != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:duration\",\n content: String(og.duration)\n }, i++));\n }\n if (og.releaseDate) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:release_date\",\n content: og.releaseDate\n }, i++));\n }\n if (og.tags) {\n for (const tag of og.tags){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:tag\",\n content: tag\n }, i++));\n }\n }\n break;\n case 'video.episode':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"video.episode\"\n }, i++));\n if (og.actors) {\n for (const actor of og.actors){\n if (typeof actor === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor\",\n content: actor\n }, i++));\n } else {\n if (actor.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor\",\n content: String(actor.url)\n }, i++));\n }\n if (actor.role) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:actor:role\",\n content: actor.role\n }, i++));\n }\n }\n }\n }\n if (og.directors) {\n for (const director of og.directors){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:director\",\n content: String(director)\n }, i++));\n }\n }\n if (og.writers) {\n for (const writer of og.writers){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:writer\",\n content: String(writer)\n }, i++));\n }\n }\n if (og.duration != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:duration\",\n content: String(og.duration)\n }, i++));\n }\n if (og.releaseDate) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:release_date\",\n content: og.releaseDate\n }, i++));\n }\n if (og.tags) {\n for (const tag of og.tags){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:tag\",\n content: tag\n }, i++));\n }\n }\n if (og.series) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"video:series\",\n content: String(og.series)\n }, i++));\n }\n break;\n case 'video.tv_show':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"video.tv_show\"\n }, i++));\n break;\n case 'video.other':\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"og:type\",\n content: \"video.other\"\n }, i++));\n break;\n default:\n const _exhaustiveCheck = ogType;\n throw Object.defineProperty(new Error(`Invalid OpenGraph type: ${_exhaustiveCheck}`), \"__NEXT_ERROR_CODE\", {\n value: \"E237\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n // --- Twitter ---\n if (metadata.twitter) {\n var _tw_title;\n const tw = metadata.twitter;\n const { card } = tw;\n if (card) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:card\",\n content: card\n }, i++));\n }\n if (tw.site) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:site\",\n content: tw.site\n }, i++));\n }\n if (tw.siteId) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:site:id\",\n content: tw.siteId\n }, i++));\n }\n if (tw.creator) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:creator\",\n content: tw.creator\n }, i++));\n }\n if (tw.creatorId) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:creator:id\",\n content: tw.creatorId\n }, i++));\n }\n if ((_tw_title = tw.title) == null ? void 0 : _tw_title.absolute) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:title\",\n content: tw.title.absolute\n }, i++));\n }\n if (tw.description) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:description\",\n content: tw.description\n }, i++));\n }\n // Twitter images\n if (tw.images) {\n for (const image of tw.images){\n if (typeof image === 'string') {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image\",\n content: image\n }, i++));\n } else {\n if (image.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image\",\n content: String(image.url)\n }, i++));\n }\n if (image.alt) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image:alt\",\n content: image.alt\n }, i++));\n }\n if (image.secureUrl) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image:secure_url\",\n content: String(image.secureUrl)\n }, i++));\n }\n if (image.type) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image:type\",\n content: image.type\n }, i++));\n }\n if (image.width) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image:width\",\n content: String(image.width)\n }, i++));\n }\n if (image.height) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:image:height\",\n content: String(image.height)\n }, i++));\n }\n }\n }\n }\n // Twitter player cards\n if (card === 'player') {\n for (const player of tw.players){\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:player\",\n content: player.playerUrl.toString()\n }, i++));\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:player:stream\",\n content: player.streamUrl.toString()\n }, i++));\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:player:width\",\n content: String(player.width)\n }, i++));\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: \"twitter:player:height\",\n content: String(player.height)\n }, i++));\n }\n }\n // Twitter app cards\n if (card === 'app') {\n const { app } = tw;\n for (const platform of [\n 'iphone',\n 'ipad',\n 'googleplay'\n ]){\n var _app_url;\n if (app.name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: `twitter:app:name:${platform}`,\n content: app.name\n }, i++));\n }\n if (app.id[platform]) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: `twitter:app:id:${platform}`,\n content: String(app.id[platform])\n }, i++));\n }\n if ((_app_url = app.url) == null ? void 0 : _app_url[platform]) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n name: `twitter:app:url:${platform}`,\n content: app.url[platform].toString()\n }, i++));\n }\n }\n }\n }\n // --- App Links ---\n if (metadata.appLinks) {\n const appLinks = metadata.appLinks;\n // iOS / iPhone / iPad (AppLinksApple: url, app_store_id, app_name)\n if (appLinks.ios) {\n for (const item of appLinks.ios){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ios:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_store_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ios:app_store_id\",\n content: String(item.app_store_id)\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ios:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n if (appLinks.iphone) {\n for (const item of appLinks.iphone){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:iphone:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_store_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:iphone:app_store_id\",\n content: String(item.app_store_id)\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:iphone:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n if (appLinks.ipad) {\n for (const item of appLinks.ipad){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ipad:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_store_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ipad:app_store_id\",\n content: String(item.app_store_id)\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:ipad:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n // Android (AppLinksAndroid: package, url, class, app_name)\n if (appLinks.android) {\n for (const item of appLinks.android){\n if (item.package) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:android:package\",\n content: item.package\n }, i++));\n }\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:android:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.class) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:android:class\",\n content: item.class\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:android:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n // Windows Phone (AppLinksWindows: url, app_id, app_name)\n if (appLinks.windows_phone) {\n for (const item of appLinks.windows_phone){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_phone:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_phone:app_id\",\n content: item.app_id\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_phone:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n // Windows (AppLinksWindows: url, app_id, app_name)\n if (appLinks.windows) {\n for (const item of appLinks.windows){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows:app_id\",\n content: item.app_id\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n // Windows Universal (AppLinksWindows: url, app_id, app_name)\n if (appLinks.windows_universal) {\n for (const item of appLinks.windows_universal){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_universal:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.app_id) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_universal:app_id\",\n content: item.app_id\n }, i++));\n }\n if (item.app_name) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:windows_universal:app_name\",\n content: item.app_name\n }, i++));\n }\n }\n }\n // Web (AppLinksWeb: url, should_fallback)\n if (appLinks.web) {\n for (const item of appLinks.web){\n if (item.url) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:web:url\",\n content: String(item.url)\n }, i++));\n }\n if (item.should_fallback != null) {\n tags.push(/*#__PURE__*/ _jsx(\"meta\", {\n property: \"al:web:should_fallback\",\n content: String(item.should_fallback)\n }, i++));\n }\n }\n }\n }\n // --- Icons ---\n if (metadata.icons) {\n const { shortcut, icon, apple, other } = metadata.icons;\n const hasIcon = Boolean((shortcut == null ? void 0 : shortcut.length) || (icon == null ? void 0 : icon.length) || (apple == null ? void 0 : apple.length) || (other == null ? void 0 : other.length));\n if (shortcut) {\n for (const ic of shortcut){\n const { url, rel, ...props } = ic;\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: rel || 'shortcut icon',\n href: url.toString(),\n ...props\n }, i++));\n }\n }\n if (icon) {\n for (const ic of icon){\n const { url, rel, ...props } = ic;\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: rel || 'icon',\n href: url.toString(),\n ...props\n }, i++));\n }\n }\n if (apple) {\n for (const ic of apple){\n const { url, rel, ...props } = ic;\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: rel || 'apple-touch-icon',\n href: url.toString(),\n ...props\n }, i++));\n }\n }\n if (other) {\n for (const ic of other){\n const { url, rel, ...props } = ic;\n tags.push(/*#__PURE__*/ _jsx(\"link\", {\n rel: rel || 'icon',\n href: url.toString(),\n ...props\n }, i++));\n }\n }\n if (hasIcon) {\n tags.push(/*#__PURE__*/ _jsx(IconMark, {}, i++));\n }\n }\n return tags;\n}\n\n//# sourceMappingURL=metadata.js.map","import { getSegmentParam } from '../../shared/lib/router/utils/get-segment-param';\nimport { workAsyncStorage } from '../../server/app-render/work-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport 'server-only';\nimport { cache } from 'react';\nimport { createDefaultMetadata, createDefaultViewport } from './default-metadata';\nimport { resolveOpenGraph, resolveTwitter } from './resolvers/resolve-opengraph';\nimport { resolveTitle } from './resolvers/resolve-title';\nimport { resolveAsArrayOrUndefined } from './generate/utils';\nimport { getComponentTypeModule, getLayoutOrPageModule } from '../../server/lib/app-dir-module';\nimport { resolveAlternates, resolveAppleWebApp, resolveAppLinks, resolveRobots, resolveThemeColor, resolveVerification, resolveItunes, resolveFacebook, resolvePagination } from './resolvers/resolve-basics';\nimport { resolveIcons } from './resolvers/resolve-icons';\nimport { getTracer } from '../../server/lib/trace/tracer';\nimport { ResolveMetadataSpan } from '../../server/lib/trace/constants';\nimport { PAGE_SEGMENT_KEY } from '../../shared/lib/segment';\nimport * as Log from '../../build/output/log';\nimport { createServerParamsForMetadata } from '../../server/request/params';\nimport { getUseCacheFunctionInfo, isUseCacheFunction } from '../client-and-server-references';\nimport { createLazyResult } from '../../server/lib/lazy-result';\nfunction isFavicon(icon) {\n if (!icon) {\n return false;\n }\n // turbopack appends a hash to all images\n return (icon.url === '/favicon.ico' || icon.url.toString().startsWith('/favicon.ico?')) && icon.type === 'image/x-icon';\n}\nfunction convertUrlsToStrings(input) {\n if (input instanceof URL) {\n return input.toString();\n } else if (Array.isArray(input)) {\n return input.map((item)=>convertUrlsToStrings(item));\n } else if (input && typeof input === 'object') {\n const result = {};\n for (const [key, value] of Object.entries(input)){\n result[key] = convertUrlsToStrings(value);\n }\n return result;\n }\n return input;\n}\nfunction normalizeMetadataBase(metadataBase) {\n if (typeof metadataBase === 'string') {\n try {\n metadataBase = new URL(metadataBase);\n } catch {\n throw Object.defineProperty(new Error(`metadataBase is not a valid URL: ${metadataBase}`), \"__NEXT_ERROR_CODE\", {\n value: \"E850\",\n enumerable: false,\n configurable: true\n });\n }\n }\n return metadataBase;\n}\nasync function mergeStaticMetadata(metadataBase, source, target, staticFilesMetadata, metadataContext, titleTemplates, leafSegmentStaticIcons, pathname) {\n var _source_twitter, _source_openGraph;\n if (!staticFilesMetadata) return target;\n const { icon, apple, openGraph, twitter, manifest } = staticFilesMetadata;\n // Keep updating the static icons in the most leaf node\n if (icon) {\n leafSegmentStaticIcons.icon = icon;\n }\n if (apple) {\n leafSegmentStaticIcons.apple = apple;\n }\n // file based metadata is specified and current level metadata twitter.images is not specified\n if (twitter && !(source == null ? void 0 : (_source_twitter = source.twitter) == null ? void 0 : _source_twitter.hasOwnProperty('images'))) {\n const resolvedTwitter = resolveTwitter({\n ...target.twitter,\n images: twitter\n }, metadataBase, {\n ...metadataContext,\n isStaticMetadataRouteFile: true\n }, titleTemplates.twitter);\n target.twitter = convertUrlsToStrings(resolvedTwitter);\n }\n // file based metadata is specified and current level metadata openGraph.images is not specified\n if (openGraph && !(source == null ? void 0 : (_source_openGraph = source.openGraph) == null ? void 0 : _source_openGraph.hasOwnProperty('images'))) {\n const resolvedOpenGraph = await resolveOpenGraph({\n ...target.openGraph,\n images: openGraph\n }, metadataBase, pathname, {\n ...metadataContext,\n isStaticMetadataRouteFile: true\n }, titleTemplates.openGraph);\n target.openGraph = convertUrlsToStrings(resolvedOpenGraph);\n }\n if (manifest) {\n target.manifest = manifest;\n }\n return target;\n}\n/**\n * Merges the given metadata with the resolved metadata. Returns a new object.\n */ async function mergeMetadata(route, pathname, { metadata, resolvedMetadata, staticFilesMetadata, titleTemplates, metadataContext, buildState, leafSegmentStaticIcons }) {\n const newResolvedMetadata = structuredClone(resolvedMetadata);\n const metadataBase = normalizeMetadataBase((metadata == null ? void 0 : metadata.metadataBase) !== undefined ? metadata.metadataBase : resolvedMetadata.metadataBase);\n for(const key_ in metadata){\n const key = key_;\n switch(key){\n case 'title':\n {\n newResolvedMetadata.title = resolveTitle(metadata.title, titleTemplates.title);\n break;\n }\n case 'alternates':\n {\n newResolvedMetadata.alternates = convertUrlsToStrings(await resolveAlternates(metadata.alternates, metadataBase, pathname, metadataContext));\n break;\n }\n case 'openGraph':\n {\n newResolvedMetadata.openGraph = convertUrlsToStrings(await resolveOpenGraph(metadata.openGraph, metadataBase, pathname, metadataContext, titleTemplates.openGraph));\n break;\n }\n case 'twitter':\n {\n newResolvedMetadata.twitter = convertUrlsToStrings(resolveTwitter(metadata.twitter, metadataBase, metadataContext, titleTemplates.twitter));\n break;\n }\n case 'facebook':\n newResolvedMetadata.facebook = resolveFacebook(metadata.facebook);\n break;\n case 'verification':\n newResolvedMetadata.verification = resolveVerification(metadata.verification);\n break;\n case 'icons':\n {\n newResolvedMetadata.icons = convertUrlsToStrings(resolveIcons(metadata.icons));\n break;\n }\n case 'appleWebApp':\n newResolvedMetadata.appleWebApp = resolveAppleWebApp(metadata.appleWebApp);\n break;\n case 'appLinks':\n newResolvedMetadata.appLinks = convertUrlsToStrings(resolveAppLinks(metadata.appLinks));\n break;\n case 'robots':\n {\n newResolvedMetadata.robots = resolveRobots(metadata.robots);\n break;\n }\n case 'archives':\n case 'assets':\n case 'bookmarks':\n case 'keywords':\n {\n newResolvedMetadata[key] = resolveAsArrayOrUndefined(metadata[key]);\n break;\n }\n case 'authors':\n {\n newResolvedMetadata[key] = convertUrlsToStrings(resolveAsArrayOrUndefined(metadata.authors));\n break;\n }\n case 'itunes':\n {\n newResolvedMetadata[key] = await resolveItunes(metadata.itunes, metadataBase, pathname, metadataContext);\n break;\n }\n case 'pagination':\n {\n newResolvedMetadata.pagination = await resolvePagination(metadata.pagination, metadataBase, pathname, metadataContext);\n break;\n }\n // directly assign fields that fallback to null\n case 'abstract':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'applicationName':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'description':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'generator':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'creator':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'publisher':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'category':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'classification':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'referrer':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'formatDetection':\n newResolvedMetadata[key] = metadata[key] ?? null;\n break;\n case 'manifest':\n newResolvedMetadata[key] = convertUrlsToStrings(metadata[key]) ?? null;\n break;\n case 'pinterest':\n newResolvedMetadata[key] = convertUrlsToStrings(metadata[key]) ?? null;\n break;\n case 'other':\n newResolvedMetadata.other = Object.assign({}, newResolvedMetadata.other, metadata.other);\n if (metadata.other) {\n if ('apple-touch-fullscreen' in metadata.other) {\n buildState.warnings.add(`Use appleWebApp instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n }\n if ('apple-touch-icon-precomposed' in metadata.other) {\n buildState.warnings.add(`Use icons.apple instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n }\n }\n break;\n case 'metadataBase':\n newResolvedMetadata.metadataBase = metadataBase ? metadataBase.toString() : null;\n break;\n case 'apple-touch-fullscreen':\n {\n buildState.warnings.add(`Use appleWebApp instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n break;\n }\n case 'apple-touch-icon-precomposed':\n {\n buildState.warnings.add(`Use icons.apple instead\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);\n break;\n }\n case 'themeColor':\n case 'colorScheme':\n case 'viewport':\n if (metadata[key] != null) {\n buildState.warnings.add(`Unsupported metadata ${key} is configured in metadata export in ${route}. Please move it to viewport export instead.\\nRead more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`);\n }\n break;\n default:\n {\n key;\n }\n }\n }\n return mergeStaticMetadata(metadataBase, metadata, newResolvedMetadata, staticFilesMetadata, metadataContext, titleTemplates, leafSegmentStaticIcons, pathname);\n}\n/**\n * Merges the given viewport with the resolved viewport. Returns a new object.\n */ function mergeViewport({ resolvedViewport, viewport }) {\n const newResolvedViewport = structuredClone(resolvedViewport);\n if (viewport) {\n for(const key_ in viewport){\n const key = key_;\n switch(key){\n case 'themeColor':\n {\n newResolvedViewport.themeColor = resolveThemeColor(viewport.themeColor);\n break;\n }\n case 'colorScheme':\n newResolvedViewport.colorScheme = viewport.colorScheme || null;\n break;\n case 'width':\n case 'height':\n case 'initialScale':\n case 'minimumScale':\n case 'maximumScale':\n case 'userScalable':\n case 'viewportFit':\n case 'interactiveWidget':\n // always override the target with the source\n // @ts-ignore viewport properties\n newResolvedViewport[key] = viewport[key];\n break;\n default:\n key;\n }\n }\n }\n return newResolvedViewport;\n}\nfunction getDefinedViewport(mod, props, tracingProps) {\n if (typeof mod.generateViewport === 'function') {\n const { route } = tracingProps;\n const segmentProps = createSegmentProps(mod.generateViewport, props);\n return Object.assign((parent)=>getTracer().trace(ResolveMetadataSpan.generateViewport, {\n spanName: `generateViewport ${route}`,\n attributes: {\n 'next.page': route\n }\n }, ()=>mod.generateViewport(segmentProps, parent)), {\n $$original: mod.generateViewport\n });\n }\n return mod.viewport || null;\n}\nfunction getDefinedMetadata(mod, props, tracingProps) {\n if (typeof mod.generateMetadata === 'function') {\n const { route } = tracingProps;\n const segmentProps = createSegmentProps(mod.generateMetadata, props);\n return Object.assign((parent)=>getTracer().trace(ResolveMetadataSpan.generateMetadata, {\n spanName: `generateMetadata ${route}`,\n attributes: {\n 'next.page': route\n }\n }, ()=>mod.generateMetadata(segmentProps, parent)), {\n $$original: mod.generateMetadata\n });\n }\n return mod.metadata || null;\n}\n/**\n * If `fn` is a `'use cache'` function, we add special markers to the props,\n * that the cache wrapper reads and removes, before passing the props to the\n * user function.\n */ function createSegmentProps(fn, props) {\n return isUseCacheFunction(fn) ? 'searchParams' in props ? {\n ...props,\n $$isPage: true\n } : {\n ...props,\n $$isLayout: true\n } : props;\n}\nasync function collectStaticImagesFiles(metadata, props, type) {\n if (!(metadata == null ? void 0 : metadata[type])) return undefined;\n const iconPromises = metadata[type].map(async (imageModule)=>await imageModule(props));\n return (iconPromises == null ? void 0 : iconPromises.length) > 0 ? (await Promise.all(iconPromises)).flat() : undefined;\n}\nasync function resolveStaticMetadata(modules, props) {\n const { metadata } = modules;\n if (!metadata) return null;\n const [icon, apple, openGraph, twitter] = await Promise.all([\n collectStaticImagesFiles(metadata, props, 'icon'),\n collectStaticImagesFiles(metadata, props, 'apple'),\n collectStaticImagesFiles(metadata, props, 'openGraph'),\n collectStaticImagesFiles(metadata, props, 'twitter')\n ]);\n const staticMetadata = {\n icon,\n apple,\n openGraph,\n twitter,\n manifest: metadata.manifest\n };\n return staticMetadata;\n}\n// [layout.metadata, static files metadata] -> ... -> [page.metadata, static files metadata]\nasync function collectMetadata({ tree, metadataItems, errorMetadataItem, props, route, errorConvention }) {\n let mod;\n let modType;\n const hasErrorConventionComponent = Boolean(errorConvention && tree[2][errorConvention]);\n if (errorConvention) {\n mod = await getComponentTypeModule(tree, 'layout');\n modType = errorConvention;\n } else {\n const { mod: layoutOrPageMod, modType: layoutOrPageModType } = await getLayoutOrPageModule(tree);\n mod = layoutOrPageMod;\n modType = layoutOrPageModType;\n }\n if (modType) {\n route += `/${modType}`;\n }\n const staticFilesMetadata = await resolveStaticMetadata(tree[2], props);\n const metadataExport = mod ? getDefinedMetadata(mod, props, {\n route\n }) : null;\n metadataItems.push([\n metadataExport,\n staticFilesMetadata\n ]);\n if (hasErrorConventionComponent && errorConvention) {\n const errorMod = await getComponentTypeModule(tree, errorConvention);\n const errorMetadataExport = errorMod ? getDefinedMetadata(errorMod, props, {\n route\n }) : null;\n errorMetadataItem[0] = errorMetadataExport;\n errorMetadataItem[1] = staticFilesMetadata;\n }\n}\n// [layout.metadata, static files metadata] -> ... -> [page.metadata, static files metadata]\nasync function collectViewport({ tree, viewportItems, errorViewportItemRef, props, route, errorConvention }) {\n let mod;\n let modType;\n const hasErrorConventionComponent = Boolean(errorConvention && tree[2][errorConvention]);\n if (errorConvention) {\n mod = await getComponentTypeModule(tree, 'layout');\n modType = errorConvention;\n } else {\n const { mod: layoutOrPageMod, modType: layoutOrPageModType } = await getLayoutOrPageModule(tree);\n mod = layoutOrPageMod;\n modType = layoutOrPageModType;\n }\n if (modType) {\n route += `/${modType}`;\n }\n const viewportExport = mod ? getDefinedViewport(mod, props, {\n route\n }) : null;\n viewportItems.push(viewportExport);\n if (hasErrorConventionComponent && errorConvention) {\n const errorMod = await getComponentTypeModule(tree, errorConvention);\n const errorViewportExport = errorMod ? getDefinedViewport(errorMod, props, {\n route\n }) : null;\n errorViewportItemRef.current = errorViewportExport;\n }\n}\nconst resolveMetadataItems = cache(async function(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable) {\n const parentParams = {};\n const metadataItems = [];\n const errorMetadataItem = [\n null,\n null\n ];\n const treePrefix = undefined;\n return resolveMetadataItemsImpl(metadataItems, tree, treePrefix, parentParams, null, searchParams, errorConvention, errorMetadataItem, interpolatedParams, isRuntimePrefetchable);\n});\nasync function resolveMetadataItemsImpl(metadataItems, tree, /** Provided tree can be nested subtree, this argument says what is the path of such subtree */ treePrefix, parentParams, parentOptionalCatchAllParamName, searchParams, errorConvention, errorMetadataItem, interpolatedParams, isRuntimePrefetchable) {\n const [segment, parallelRoutes, { page }] = tree;\n const currentTreePrefix = treePrefix && treePrefix.length ? [\n ...treePrefix,\n segment\n ] : [\n segment\n ];\n const isPage = typeof page !== 'undefined';\n // Handle dynamic segment params.\n let currentParams = parentParams;\n const segmentParam = getSegmentParam(segment);\n if (segmentParam) {\n const value = interpolatedParams[segmentParam.paramName];\n if (value !== null && value !== undefined) {\n currentParams = {\n ...parentParams,\n [segmentParam.paramName]: value\n };\n }\n }\n // Track optional catch-all params with no value (see comment in\n // create-component-tree.tsx for full explanation).\n const optionalCatchAllParamName = (segmentParam == null ? void 0 : segmentParam.paramType) === 'optional-catchall' && (interpolatedParams[segmentParam.paramName] === null || interpolatedParams[segmentParam.paramName] === undefined) ? segmentParam.paramName : parentOptionalCatchAllParamName;\n const params = createServerParamsForMetadata(currentParams, optionalCatchAllParamName, isRuntimePrefetchable);\n const props = isPage ? {\n params,\n searchParams\n } : {\n params\n };\n await collectMetadata({\n tree,\n metadataItems,\n errorMetadataItem,\n errorConvention,\n props,\n route: currentTreePrefix// __PAGE__ shouldn't be shown in a route\n .filter((s)=>s !== PAGE_SEGMENT_KEY).join('/')\n });\n for(const key in parallelRoutes){\n const childTree = parallelRoutes[key];\n await resolveMetadataItemsImpl(metadataItems, childTree, currentTreePrefix, currentParams, optionalCatchAllParamName, searchParams, errorConvention, errorMetadataItem, interpolatedParams, isRuntimePrefetchable);\n }\n if (Object.keys(parallelRoutes).length === 0 && errorConvention) {\n // If there are no parallel routes, place error metadata as the last item.\n // e.g. layout -> layout -> not-found\n metadataItems.push(errorMetadataItem);\n }\n return metadataItems;\n}\nconst resolveViewportItems = cache(async function(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable) {\n const parentParams = {};\n const viewportItems = [];\n const errorViewportItemRef = {\n current: null\n };\n const treePrefix = undefined;\n return resolveViewportItemsImpl(viewportItems, tree, treePrefix, parentParams, null, searchParams, errorConvention, errorViewportItemRef, interpolatedParams, isRuntimePrefetchable);\n});\nasync function resolveViewportItemsImpl(viewportItems, tree, /** Provided tree can be nested subtree, this argument says what is the path of such subtree */ treePrefix, parentParams, parentOptionalCatchAllParamName, searchParams, errorConvention, errorViewportItemRef, interpolatedParams, isRuntimePrefetchable) {\n const [segment, parallelRoutes, { page }] = tree;\n const currentTreePrefix = treePrefix && treePrefix.length ? [\n ...treePrefix,\n segment\n ] : [\n segment\n ];\n const isPage = typeof page !== 'undefined';\n // Handle dynamic segment params.\n let currentParams = parentParams;\n const segmentParam = getSegmentParam(segment);\n if (segmentParam) {\n const value = interpolatedParams[segmentParam.paramName];\n if (value !== null && value !== undefined) {\n currentParams = {\n ...parentParams,\n [segmentParam.paramName]: value\n };\n }\n }\n // Track optional catch-all params with no value (see comment in\n // create-component-tree.tsx for full explanation).\n const optionalCatchAllParamName = (segmentParam == null ? void 0 : segmentParam.paramType) === 'optional-catchall' && (interpolatedParams[segmentParam.paramName] === null || interpolatedParams[segmentParam.paramName] === undefined) ? segmentParam.paramName : parentOptionalCatchAllParamName;\n const params = createServerParamsForMetadata(currentParams, optionalCatchAllParamName, isRuntimePrefetchable);\n let layerProps;\n if (isPage) {\n layerProps = {\n params,\n searchParams\n };\n } else {\n layerProps = {\n params\n };\n }\n await collectViewport({\n tree,\n viewportItems,\n errorViewportItemRef,\n errorConvention,\n props: layerProps,\n route: currentTreePrefix// __PAGE__ shouldn't be shown in a route\n .filter((s)=>s !== PAGE_SEGMENT_KEY).join('/')\n });\n for(const key in parallelRoutes){\n const childTree = parallelRoutes[key];\n await resolveViewportItemsImpl(viewportItems, childTree, currentTreePrefix, currentParams, optionalCatchAllParamName, searchParams, errorConvention, errorViewportItemRef, interpolatedParams, isRuntimePrefetchable);\n }\n if (Object.keys(parallelRoutes).length === 0 && errorConvention) {\n // If there are no parallel routes, place error metadata as the last item.\n // e.g. layout -> layout -> not-found\n viewportItems.push(errorViewportItemRef.current);\n }\n return viewportItems;\n}\nconst isTitleTruthy = (title)=>!!(title == null ? void 0 : title.absolute);\nconst hasTitle = (metadata)=>isTitleTruthy(metadata == null ? void 0 : metadata.title);\nfunction inheritFromMetadata(target, metadata) {\n if (target) {\n if (!hasTitle(target) && hasTitle(metadata)) {\n target.title = metadata.title;\n }\n if (!target.description && metadata.description) {\n target.description = metadata.description;\n }\n }\n}\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst commonOgKeys = [\n 'title',\n 'description',\n 'images'\n];\nfunction postProcessMetadata(metadata, favicon, titleTemplates, metadataContext) {\n const { openGraph, twitter } = metadata;\n if (openGraph) {\n // If there's openGraph information but not configured in twitter,\n // inherit them from openGraph metadata.\n let autoFillProps = {};\n const hasTwTitle = hasTitle(twitter);\n const hasTwDescription = twitter == null ? void 0 : twitter.description;\n const hasTwImages = Boolean((twitter == null ? void 0 : twitter.hasOwnProperty('images')) && twitter.images);\n if (!hasTwTitle) {\n if (isTitleTruthy(openGraph.title)) {\n autoFillProps.title = openGraph.title;\n } else if (metadata.title && isTitleTruthy(metadata.title)) {\n autoFillProps.title = metadata.title;\n }\n }\n if (!hasTwDescription) autoFillProps.description = openGraph.description || metadata.description || undefined;\n if (!hasTwImages) autoFillProps.images = openGraph.images;\n if (Object.keys(autoFillProps).length > 0) {\n const partialTwitter = resolveTwitter(autoFillProps, normalizeMetadataBase(metadata.metadataBase), metadataContext, titleTemplates.twitter);\n if (metadata.twitter) {\n metadata.twitter = Object.assign({}, metadata.twitter, {\n ...!hasTwTitle && {\n title: partialTwitter == null ? void 0 : partialTwitter.title\n },\n ...!hasTwDescription && {\n description: partialTwitter == null ? void 0 : partialTwitter.description\n },\n ...!hasTwImages && {\n images: partialTwitter == null ? void 0 : partialTwitter.images\n }\n });\n } else {\n metadata.twitter = convertUrlsToStrings(partialTwitter);\n }\n }\n }\n // If there's no title and description configured in openGraph or twitter,\n // use the title and description from metadata.\n inheritFromMetadata(openGraph, metadata);\n inheritFromMetadata(twitter, metadata);\n if (favicon) {\n if (!metadata.icons) {\n metadata.icons = {\n icon: [],\n apple: []\n };\n }\n metadata.icons.icon.unshift(favicon);\n }\n return metadata;\n}\nfunction prerenderMetadata(metadataItems) {\n // If the index is a function then it is a resolver and the next slot\n // is the corresponding result. If the index is not a function it is the result\n // itself.\n const resolversAndResults = [];\n for(let i = 0; i < metadataItems.length; i++){\n const metadataExport = metadataItems[i][0];\n getResult(resolversAndResults, metadataExport);\n }\n return resolversAndResults;\n}\nfunction prerenderViewport(viewportItems) {\n // If the index is a function then it is a resolver and the next slot\n // is the corresponding result. If the index is not a function it is the result\n // itself.\n const resolversAndResults = [];\n for(let i = 0; i < viewportItems.length; i++){\n const viewportExport = viewportItems[i];\n getResult(resolversAndResults, viewportExport);\n }\n return resolversAndResults;\n}\nconst noop = ()=>{};\nfunction getResult(resolversAndResults, exportForResult) {\n if (typeof exportForResult === 'function') {\n // If the function is a 'use cache' function that uses the parent data as\n // the second argument, we don't want to eagerly execute it during\n // metadata/viewport pre-rendering, as the parent data might also be\n // computed from another 'use cache' function. To ensure that the hanging\n // input abort signal handling works in this case (i.e. the depending\n // function waits for the cached input to resolve while encoding its args),\n // they must be called sequentially. This can be accomplished by wrapping\n // the call in a lazy promise, so that the original function is only called\n // when the result is actually awaited.\n const useCacheFunctionInfo = getUseCacheFunctionInfo(exportForResult.$$original);\n if (useCacheFunctionInfo && useCacheFunctionInfo.usedArgs[1]) {\n const promise = new Promise((resolve)=>resolversAndResults.push(resolve));\n resolversAndResults.push(createLazyResult(async ()=>exportForResult(promise)));\n } else {\n let result;\n if (useCacheFunctionInfo) {\n resolversAndResults.push(noop);\n // @ts-expect-error We intentionally omit the parent argument, because\n // we know from the check above that the 'use cache' function does not\n // use it.\n result = exportForResult();\n } else {\n result = exportForResult(new Promise((resolve)=>resolversAndResults.push(resolve)));\n }\n resolversAndResults.push(result);\n if (result instanceof Promise) {\n // since we eager execute generateMetadata and\n // they can reject at anytime we need to ensure\n // we attach the catch handler right away to\n // prevent unhandled rejections crashing the process\n result.catch((err)=>{\n return {\n __nextError: err\n };\n });\n }\n }\n } else if (typeof exportForResult === 'object') {\n resolversAndResults.push(exportForResult);\n } else {\n resolversAndResults.push(null);\n }\n}\nfunction freezeInDev(obj) {\n if (process.env.NODE_ENV === 'development') {\n return require('../../shared/lib/deep-freeze').deepFreeze(obj);\n }\n return obj;\n}\nexport async function accumulateMetadata(route, metadataItems, pathname, metadataContext) {\n let resolvedMetadata = createDefaultMetadata();\n let titleTemplates = {\n title: null,\n twitter: null,\n openGraph: null\n };\n const buildState = {\n warnings: new Set()\n };\n let favicon;\n // Collect the static icons in the most leaf node,\n // since we don't collect all the static metadata icons in the parent segments.\n const leafSegmentStaticIcons = {\n icon: [],\n apple: []\n };\n const resolversAndResults = prerenderMetadata(metadataItems);\n let resultIndex = 0;\n for(let i = 0; i < metadataItems.length; i++){\n var _staticFilesMetadata_icon;\n const staticFilesMetadata = metadataItems[i][1];\n // Treat favicon as special case, it should be the first icon in the list\n // i <= 1 represents root layout, and if current page is also at root\n if (i <= 1 && isFavicon(staticFilesMetadata == null ? void 0 : (_staticFilesMetadata_icon = staticFilesMetadata.icon) == null ? void 0 : _staticFilesMetadata_icon[0])) {\n var _staticFilesMetadata_icon1;\n const iconMod = staticFilesMetadata == null ? void 0 : (_staticFilesMetadata_icon1 = staticFilesMetadata.icon) == null ? void 0 : _staticFilesMetadata_icon1.shift();\n if (i === 0) favicon = iconMod;\n }\n let pendingMetadata = resolversAndResults[resultIndex++];\n if (typeof pendingMetadata === 'function') {\n // This metadata item had a `generateMetadata` and\n // we need to provide the currently resolved metadata\n // to it before we continue;\n const resolveParentMetadata = pendingMetadata;\n // we know that the next item is a result if this item\n // was a resolver\n pendingMetadata = resolversAndResults[resultIndex++];\n resolveParentMetadata(freezeInDev(resolvedMetadata));\n }\n // Otherwise the item was either null or a static export\n let metadata;\n if (isPromiseLike(pendingMetadata)) {\n metadata = await pendingMetadata;\n } else {\n metadata = pendingMetadata;\n }\n resolvedMetadata = await mergeMetadata(route, pathname, {\n resolvedMetadata,\n metadata,\n metadataContext,\n staticFilesMetadata,\n titleTemplates,\n buildState,\n leafSegmentStaticIcons\n });\n // If the layout is the same layer with page, skip the leaf layout and leaf page\n // The leaf layout and page are the last two items\n if (i < metadataItems.length - 2) {\n var _resolvedMetadata_title, _resolvedMetadata_openGraph, _resolvedMetadata_twitter;\n titleTemplates = {\n title: ((_resolvedMetadata_title = resolvedMetadata.title) == null ? void 0 : _resolvedMetadata_title.template) || null,\n openGraph: ((_resolvedMetadata_openGraph = resolvedMetadata.openGraph) == null ? void 0 : _resolvedMetadata_openGraph.title.template) || null,\n twitter: ((_resolvedMetadata_twitter = resolvedMetadata.twitter) == null ? void 0 : _resolvedMetadata_twitter.title.template) || null\n };\n }\n }\n if (leafSegmentStaticIcons.icon.length > 0 || leafSegmentStaticIcons.apple.length > 0) {\n if (!resolvedMetadata.icons) {\n resolvedMetadata.icons = {\n icon: [],\n apple: []\n };\n if (leafSegmentStaticIcons.icon.length > 0) {\n resolvedMetadata.icons.icon.unshift(...leafSegmentStaticIcons.icon);\n }\n if (leafSegmentStaticIcons.apple.length > 0) {\n resolvedMetadata.icons.apple.unshift(...leafSegmentStaticIcons.apple);\n }\n }\n }\n // Only log warnings if there are any, and only once after the metadata resolving process is finished\n if (buildState.warnings.size > 0) {\n for (const warning of buildState.warnings){\n Log.warn(warning);\n }\n }\n return postProcessMetadata(resolvedMetadata, favicon, titleTemplates, metadataContext);\n}\nexport async function accumulateViewport(viewportItems) {\n let resolvedViewport = createDefaultViewport();\n const resolversAndResults = prerenderViewport(viewportItems);\n let i = 0;\n while(i < resolversAndResults.length){\n let pendingViewport = resolversAndResults[i++];\n if (typeof pendingViewport === 'function') {\n // this viewport item had a `generateViewport` and\n // we need to provide the currently resolved viewport\n // to it before we continue;\n const resolveParentViewport = pendingViewport;\n // we know that the next item is a result if this item\n // was a resolver\n pendingViewport = resolversAndResults[i++];\n resolveParentViewport(freezeInDev(resolvedViewport));\n }\n // Otherwise the item was either null or a static export\n let viewport;\n if (isPromiseLike(pendingViewport)) {\n viewport = await pendingViewport;\n } else {\n viewport = pendingViewport;\n }\n resolvedViewport = mergeViewport({\n resolvedViewport,\n viewport\n });\n }\n return resolvedViewport;\n}\n// Exposed API for metadata component, that directly resolve the loader tree and related context as resolved metadata.\nexport async function resolveMetadata(tree, pathname, searchParams, errorConvention, interpolatedParams, metadataContext, isRuntimePrefetchable) {\n const metadataItems = await resolveMetadataItems(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable);\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n return accumulateMetadata(workStore.route, metadataItems, pathname, metadataContext);\n}\n// Exposed API for viewport component, that directly resolve the loader tree and related context as resolved viewport.\nexport async function resolveViewport(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable) {\n const viewportItems = await resolveViewportItems(tree, searchParams, errorConvention, interpolatedParams, isRuntimePrefetchable);\n return accumulateViewport(viewportItems);\n}\nfunction isPromiseLike(value) {\n return typeof value === 'object' && value !== null && typeof value.then === 'function';\n}\n\n//# sourceMappingURL=resolve-metadata.js.map","import path from '../../../shared/lib/isomorphic/path';\nfunction isStringOrURL(icon) {\n return typeof icon === 'string' || icon instanceof URL;\n}\nfunction createLocalMetadataBase() {\n // Check if experimental HTTPS is enabled\n const isExperimentalHttps = Boolean(process.env.__NEXT_EXPERIMENTAL_HTTPS);\n const protocol = isExperimentalHttps ? 'https' : 'http';\n return new URL(`${protocol}://localhost:${process.env.PORT || 3000}`);\n}\nfunction getPreviewDeploymentUrl() {\n const origin = process.env.VERCEL_BRANCH_URL || process.env.VERCEL_URL;\n return origin ? new URL(`https://${origin}`) : undefined;\n}\nfunction getProductionDeploymentUrl() {\n const origin = process.env.VERCEL_PROJECT_PRODUCTION_URL;\n return origin ? new URL(`https://${origin}`) : undefined;\n}\n/**\n * Given an optional user-provided metadataBase, this determines what the metadataBase should\n * fallback to. Specifically:\n * - In dev, it should always be localhost\n * - In Vercel preview builds, it should be the preview build ID\n * - In start, it should be the user-provided metadataBase value. Otherwise,\n * it'll fall back to the Vercel production deployment, and localhost as a last resort.\n */ export function getSocialImageMetadataBaseFallback(metadataBase) {\n const defaultMetadataBase = createLocalMetadataBase();\n const previewDeploymentUrl = getPreviewDeploymentUrl();\n const productionDeploymentUrl = getProductionDeploymentUrl();\n let fallbackMetadataBase;\n if (process.env.NODE_ENV === 'development') {\n fallbackMetadataBase = defaultMetadataBase;\n } else {\n fallbackMetadataBase = process.env.NODE_ENV === 'production' && previewDeploymentUrl && process.env.VERCEL_ENV === 'preview' ? previewDeploymentUrl : metadataBase || productionDeploymentUrl || defaultMetadataBase;\n }\n return fallbackMetadataBase;\n}\nfunction resolveUrl(url, metadataBase) {\n if (url instanceof URL) return url;\n if (!url) return null;\n try {\n // If we can construct a URL instance from url, ignore metadataBase\n const parsedUrl = new URL(url);\n return parsedUrl;\n } catch {}\n if (!metadataBase) {\n metadataBase = createLocalMetadataBase();\n }\n // Handle relative or absolute paths\n const pathname = metadataBase.pathname || '';\n const joinedPath = path.posix.join(pathname, url);\n return new URL(joinedPath, metadataBase);\n}\n// Resolve with `pathname` if `url` is a relative path.\nfunction resolveRelativeUrl(url, pathname) {\n if (typeof url === 'string' && url.startsWith('./')) {\n return path.posix.resolve(pathname, url);\n }\n return url;\n}\n// The regex is matching logic from packages/next/src/lib/load-custom-routes.ts\nconst FILE_REGEX = /^(?:\\/((?!\\.well-known(?:\\/.*)?)(?:[^/]+\\/)*[^/]+\\.\\w+))(\\/?|$)/i;\nfunction isFilePattern(pathname) {\n return FILE_REGEX.test(pathname);\n}\n// Resolve `pathname` if `url` is a relative path the compose with `metadataBase`.\nfunction resolveAbsoluteUrlWithPathname(url, metadataBase, pathname, { trailingSlash }) {\n // Resolve url with pathname that always starts with `/`\n url = resolveRelativeUrl(url, pathname);\n // Convert string url or URL instance to absolute url string,\n // if there's case needs to be resolved with metadataBase\n let resolvedUrl = '';\n const result = metadataBase ? resolveUrl(url, metadataBase) : url;\n if (typeof result === 'string') {\n resolvedUrl = result;\n } else {\n resolvedUrl = result.pathname === '/' && result.searchParams.size === 0 ? result.origin : result.href;\n }\n // Add trailing slash if it's enabled for urls matches the condition\n // - Not external, same origin with metadataBase\n // - Doesn't have query\n if (trailingSlash && !resolvedUrl.endsWith('/')) {\n let isRelative = resolvedUrl.startsWith('/');\n let hasQuery = resolvedUrl.includes('?');\n let isExternal = false;\n let isFileUrl = false;\n if (!isRelative) {\n try {\n const parsedUrl = new URL(resolvedUrl);\n isExternal = metadataBase != null && parsedUrl.origin !== metadataBase.origin;\n isFileUrl = isFilePattern(parsedUrl.pathname);\n } catch {\n // If it's not a valid URL, treat it as external\n isExternal = true;\n }\n if (// Do not apply trailing slash for file like urls, aligning with the behavior with `trailingSlash`\n !isFileUrl && !isExternal && !hasQuery) return `${resolvedUrl}/`;\n }\n }\n return resolvedUrl;\n}\nexport { isStringOrURL, resolveUrl, resolveRelativeUrl, resolveAbsoluteUrlWithPathname, };\n\n//# sourceMappingURL=resolve-url.js.map","function resolveTitleTemplate(template, title) {\n return template ? template.replace(/%s/g, title) : title;\n}\nexport function resolveTitle(title, stashedTemplate) {\n let resolved;\n const template = typeof title !== 'string' && title && 'template' in title ? title.template : null;\n if (typeof title === 'string') {\n resolved = resolveTitleTemplate(stashedTemplate, title);\n } else if (title) {\n if ('default' in title) {\n resolved = resolveTitleTemplate(stashedTemplate, title.default);\n }\n if ('absolute' in title && title.absolute) {\n resolved = title.absolute;\n }\n }\n if (title && typeof title !== 'string') {\n return {\n template,\n absolute: resolved || ''\n };\n } else {\n return {\n absolute: resolved || title || '',\n template\n };\n }\n}\n\n//# sourceMappingURL=resolve-title.js.map","import { DEFAULT_SEGMENT_KEY } from '../../shared/lib/segment';\nexport async function getLayoutOrPageModule(loaderTree) {\n const { layout, page, defaultPage } = loaderTree[2];\n const isLayout = typeof layout !== 'undefined';\n const isPage = typeof page !== 'undefined';\n const isDefaultPage = typeof defaultPage !== 'undefined' && loaderTree[0] === DEFAULT_SEGMENT_KEY;\n let mod = undefined;\n let modType = undefined;\n let filePath = undefined;\n if (isLayout) {\n mod = await layout[0]();\n modType = 'layout';\n filePath = layout[1];\n } else if (isPage) {\n mod = await page[0]();\n modType = 'page';\n filePath = page[1];\n } else if (isDefaultPage) {\n mod = await defaultPage[0]();\n modType = 'page';\n filePath = defaultPage[1];\n }\n return {\n mod,\n modType,\n filePath\n };\n}\nexport async function getComponentTypeModule(loaderTree, moduleType) {\n const { [moduleType]: module } = loaderTree[2];\n if (typeof module !== 'undefined') {\n return await module[0]();\n }\n return undefined;\n}\n\n//# sourceMappingURL=app-dir-module.js.map","const REACT_POSTPONE_TYPE = Symbol.for('react.postpone');\nexport function isPostpone(error) {\n return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;\n}\n\n//# sourceMappingURL=is-postpone.js.map","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nexport class DynamicServerError extends Error {\n constructor(description){\n super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nexport function isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","/*\n\nFiles in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.\n\n*/ import ReactDOM from 'react-dom';\nexport function preloadStyle(href, crossOrigin, nonce) {\n const opts = {\n as: 'style'\n };\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ReactDOM.preload(href, opts);\n}\nexport function preloadFont(href, type, crossOrigin, nonce) {\n const opts = {\n as: 'font',\n type\n };\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ReactDOM.preload(href, opts);\n}\nexport function preconnect(href, crossOrigin, nonce) {\n const opts = {};\n if (typeof crossOrigin === 'string') {\n opts.crossOrigin = crossOrigin;\n }\n if (typeof nonce === 'string') {\n opts.nonce = nonce;\n }\n ;\n ReactDOM.preconnect(href, opts);\n}\n\n//# sourceMappingURL=preloads.js.map","import stringHash from 'next/dist/compiled/string-hash';\nimport { formatServerError } from '../../lib/format-server-error';\nimport { SpanStatusCode, getTracer } from '../lib/trace/tracer';\nimport { isAbortError } from '../pipe-readable';\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { isDynamicServerError } from '../../client/components/hooks-server-context';\nimport { isNextRouterError } from '../../client/components/is-next-router-error';\nimport { isPrerenderInterruptedError } from './dynamic-rendering';\nimport { getProperError } from '../../lib/is-error';\nimport { createDigestWithErrorCode } from '../../lib/error-telemetry-utils';\nimport { isReactLargeShellError } from './react-large-shell-error';\nimport { isInstantValidationError } from './instant-validation/instant-validation-error';\n/**\n * Returns a digest for well-known Next.js errors, otherwise `undefined`. If a\n * digest is returned this also means that the error does not need to be\n * reported.\n */ export function getDigestForWellKnownError(error) {\n // If we're bailing out to CSR, we don't need to log the error.\n if (isBailoutToCSRError(error)) return error.digest;\n // If this is a navigation error, we don't need to log the error.\n if (isNextRouterError(error)) return error.digest;\n // If this error occurs, we know that we should be stopping the static\n // render. This is only thrown in static generation when PPR is not enabled,\n // which causes the whole page to be marked as dynamic. We don't need to\n // tell the user about this error, as it's not actionable.\n if (isDynamicServerError(error)) return error.digest;\n // If this is a prerender interrupted error, we don't need to log the error.\n if (isPrerenderInterruptedError(error)) return error.digest;\n if (isInstantValidationError(error)) return error.digest;\n return undefined;\n}\nexport function createReactServerErrorHandler(shouldFormatError, isBuildTimePrerendering, reactServerErrors, onReactServerRenderError, spanToRecordOn) {\n return (thrownValue)=>{\n var _err_message;\n if (typeof thrownValue === 'string') {\n // TODO-APP: look at using webcrypto instead. Requires a promise to be awaited.\n return stringHash(thrownValue).toString();\n }\n // If the response was closed, we don't need to log the error.\n if (isAbortError(thrownValue)) return;\n const digest = getDigestForWellKnownError(thrownValue);\n if (digest) {\n return digest;\n }\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let err = getProperError(thrownValue);\n let silenceLog = false;\n // If the error already has a digest, respect the original digest,\n // so it won't get re-generated into another new error.\n if (err.digest) {\n if (process.env.NODE_ENV === 'production' && reactServerErrors.has(err.digest)) {\n // This error is likely an obfuscated error from another react-server\n // environment (e.g. 'use cache'). We recover the original error here\n // for reporting purposes.\n err = reactServerErrors.get(err.digest);\n // We don't log it again though, as it was already logged in the\n // original environment.\n silenceLog = true;\n } else {\n // Either we're in development (where we want to keep the transported\n // error with environmentName), or the error is not in reactServerErrors\n // but has a digest from other means. Keep the error as-is.\n }\n } else {\n err.digest = createDigestWithErrorCode(err, // TODO-APP: look at using webcrypto instead. Requires a promise to be awaited.\n stringHash(err.message + (err.stack || '')).toString());\n }\n // @TODO by putting this here and not at the top it is possible that\n // we don't error the build in places we actually expect to\n if (!reactServerErrors.has(err.digest)) {\n reactServerErrors.set(err.digest, err);\n }\n // Format server errors in development to add more helpful error messages\n if (shouldFormatError) {\n formatServerError(err);\n }\n // Don't log the suppressed error during export\n if (!(isBuildTimePrerendering && (err == null ? void 0 : (_err_message = err.message) == null ? void 0 : _err_message.includes('The specific message is omitted in production builds to avoid leaking sensitive details.')))) {\n // Record exception on the provided span if available, otherwise try active span.\n const span = spanToRecordOn ?? getTracer().getActiveScopeSpan();\n if (span) {\n span.recordException(err);\n span.setAttribute('error.type', err.name);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: err.message\n });\n }\n onReactServerRenderError(err, silenceLog);\n }\n return err.digest;\n };\n}\nexport function createHTMLErrorHandler(shouldFormatError, isBuildTimePrerendering, reactServerErrors, allCapturedErrors, onHTMLRenderSSRError, spanToRecordOn) {\n return (thrownValue, errorInfo)=>{\n var _err_message;\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let isSSRError = true;\n allCapturedErrors.push(thrownValue);\n // If the response was closed, we don't need to log the error.\n if (isAbortError(thrownValue)) return;\n const digest = getDigestForWellKnownError(thrownValue);\n if (digest) {\n return digest;\n }\n const err = getProperError(thrownValue);\n // If the error already has a digest, respect the original digest,\n // so it won't get re-generated into another new error.\n if (err.digest) {\n if (reactServerErrors.has(err.digest)) {\n // This error is likely an obfuscated error from react-server.\n // We recover the original error here.\n thrownValue = reactServerErrors.get(err.digest);\n isSSRError = false;\n } else {\n // The error is not from react-server but has a digest\n // from other means so we don't need to produce a new one\n }\n } else {\n err.digest = createDigestWithErrorCode(err, stringHash(err.message + ((errorInfo == null ? void 0 : errorInfo.componentStack) || err.stack || '')).toString());\n }\n // Format server errors in development to add more helpful error messages\n if (shouldFormatError) {\n formatServerError(err);\n }\n // Don't log the suppressed error during export\n if (!(isBuildTimePrerendering && (err == null ? void 0 : (_err_message = err.message) == null ? void 0 : _err_message.includes('The specific message is omitted in production builds to avoid leaking sensitive details.')))) {\n // HTML errors contain RSC errors as well, filter them out before reporting\n if (isSSRError) {\n // Record exception on the provided span if available, otherwise try active span.\n const span = spanToRecordOn ?? getTracer().getActiveScopeSpan();\n if (span) {\n span.recordException(err);\n span.setAttribute('error.type', err.name);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: err.message\n });\n }\n onHTMLRenderSSRError(err, errorInfo);\n }\n }\n return err.digest;\n };\n}\nexport function isUserLandError(err) {\n return !isAbortError(err) && !isBailoutToCSRError(err) && !isNextRouterError(err);\n}\n\n//# sourceMappingURL=create-error-handler.js.map","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING';\n/** An error that should be thrown when we want to bail out to client-side rendering. */ export class BailoutToCSRError extends Error {\n constructor(reason){\n super(`Bail out to client-side rendering: ${reason}`), this.reason = reason, this.digest = BAILOUT_TO_CSR;\n }\n}\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */ export function isBailoutToCSRError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === BAILOUT_TO_CSR;\n}\n\n//# sourceMappingURL=bailout-to-csr.js.map","import { RedirectStatusCode } from './redirect-status-code';\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */ export function isRedirectError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const digest = error.digest.split(';');\n const [errorCode, type] = digest;\n const destination = digest.slice(2, -2).join(';');\n const status = digest.at(-2);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in RedirectStatusCode;\n}\n\n//# sourceMappingURL=redirect-error.js.map","export const INSTANT_VALIDATION_BOUNDARY_NAME = '__next_instant_validation_boundary__';\n\n//# sourceMappingURL=boundary-constants.js.map","export const ViewportMetaKeys = {\n width: 'width',\n height: 'height',\n initialScale: 'initial-scale',\n minimumScale: 'minimum-scale',\n maximumScale: 'maximum-scale',\n viewportFit: 'viewport-fit',\n userScalable: 'user-scalable',\n interactiveWidget: 'interactive-widget'\n};\nexport const IconKeys = [\n 'icon',\n 'shortcut',\n 'apple',\n 'other'\n];\n\n//# sourceMappingURL=constants.js.map","export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401\n};\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus));\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK';\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */ export function isHTTPAccessFallbackError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const [prefix, httpStatus] = error.digest.split(';');\n return prefix === HTTP_ERROR_FALLBACK_ERROR_CODE && ALLOWED_CODES.has(Number(httpStatus));\n}\nexport function getAccessFallbackHTTPStatus(error) {\n const httpStatus = error.digest.split(';')[1];\n return Number(httpStatus);\n}\nexport function getAccessFallbackErrorTypeByStatus(status) {\n switch(status){\n case 401:\n return 'unauthorized';\n case 403:\n return 'forbidden';\n case 404:\n return 'not-found';\n default:\n return;\n }\n}\n\n//# sourceMappingURL=http-access-fallback.js.map","export function createPromiseWithResolvers() {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve;\n let reject;\n const promise = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n return {\n resolve: resolve,\n reject: reject,\n promise\n };\n}\n\n//# sourceMappingURL=promise-with-resolvers.js.map","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__';\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__';\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__';\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__';\n\n//# sourceMappingURL=boundary-constants.js.map","export function createDefaultViewport() {\n return {\n // name=viewport\n width: 'device-width',\n initialScale: 1,\n // visual metadata\n themeColor: null,\n colorScheme: null\n };\n}\nexport function createDefaultMetadata() {\n return {\n // Deprecated ones\n viewport: null,\n themeColor: null,\n colorScheme: null,\n metadataBase: null,\n // Other values are all null\n title: null,\n description: null,\n applicationName: null,\n authors: null,\n generator: null,\n keywords: null,\n referrer: null,\n creator: null,\n publisher: null,\n robots: null,\n manifest: null,\n alternates: {\n canonical: null,\n languages: null,\n media: null,\n types: null\n },\n icons: null,\n openGraph: null,\n twitter: null,\n verification: {},\n appleWebApp: null,\n formatDetection: null,\n itunes: null,\n facebook: null,\n pinterest: null,\n abstract: null,\n appLinks: null,\n archives: null,\n assets: null,\n bookmarks: null,\n category: null,\n classification: null,\n pagination: {\n previous: null,\n next: null\n },\n other: {}\n };\n}\n\n//# sourceMappingURL=default-metadata.js.map","import * as React from 'react';\nconst errorRef = {\n current: null\n};\n// React.cache is currently only available in canary/experimental React channels.\nconst cache = typeof React.cache === 'function' ? React.cache : (fn)=>fn;\n// When Cache Components is enabled, we record these as errors so that they\n// are captured by the dev overlay as it's more critical to fix these\n// when enabled.\nconst logErrorOrWarn = process.env.__NEXT_CACHE_COMPONENTS ? console.error : console.warn;\n// We don't want to dedupe across requests.\n// The developer might've just attempted to fix the warning so we should warn again if it still happens.\nconst flushCurrentErrorIfNew = cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- cache key\n(key)=>{\n try {\n logErrorOrWarn(errorRef.current);\n } finally{\n errorRef.current = null;\n }\n});\n/**\n * Creates a function that logs an error message that is deduped by the userland\n * callsite.\n * This requires no indirection between the call of this function and the userland\n * callsite i.e. there's only a single library frame above this.\n * Do not use on the Client where sourcemaps and ignore listing might be enabled.\n * Only use that for warnings need a fix independent of the callstack.\n *\n * @param getMessage\n * @returns\n */ export function createDedupedByCallsiteServerErrorLoggerDev(getMessage) {\n return function logDedupedError(...args) {\n const message = getMessage(...args);\n if (process.env.NODE_ENV !== 'production') {\n var _stack;\n const callStackFrames = (_stack = new Error().stack) == null ? void 0 : _stack.split('\\n');\n if (callStackFrames === undefined || callStackFrames.length < 4) {\n logErrorOrWarn(message);\n } else {\n // Error:\n // logDedupedError\n // asyncApiBeingAccessedSynchronously\n // \n // TODO: This breaks if sourcemaps with ignore lists are enabled.\n const key = callStackFrames[4];\n errorRef.current = message;\n flushCurrentErrorIfNew(key);\n }\n } else {\n logErrorOrWarn(message);\n }\n };\n}\n\n//# sourceMappingURL=create-deduped-by-callsite-server-error-logger.js.map","import { workUnitAsyncStorage } from './work-unit-async-storage.external';\nfunction createSegmentVaryParamsAccumulator() {\n const accumulator = {\n varyParams: new Set(),\n status: 'pending',\n value: new Set(),\n then (onfulfilled) {\n if (onfulfilled) {\n if (accumulator.status === 'pending') {\n accumulator.resolvers.push(onfulfilled);\n } else {\n onfulfilled(accumulator.value);\n }\n }\n },\n resolvers: []\n };\n return accumulator;\n}\n/**\n * A singleton accumulator that's already resolved to an empty Set. Use this for\n * segments where we know upfront that no params will be accessed, such as\n * client components or segments without user code.\n *\n * Benefits:\n * - No need to accumulate or resolve later\n * - Resilient: resolves correctly even if other tracking fails\n * - Memory efficient: reuses the same object\n */ const emptySet = new Set();\nexport const emptyVaryParamsAccumulator = {\n varyParams: emptySet,\n status: 'fulfilled',\n value: emptySet,\n then (onfulfilled) {\n if (onfulfilled) {\n onfulfilled(emptySet);\n }\n },\n resolvers: []\n};\nexport function createResponseVaryParamsAccumulator() {\n // Create the head and rootParams accumulators as top-level fields.\n // Segment accumulators are added to the segments set as they are created.\n const head = createSegmentVaryParamsAccumulator();\n const rootParams = createSegmentVaryParamsAccumulator();\n const segments = new Set();\n return {\n head,\n rootParams,\n segments\n };\n}\n/**\n * Allocates a new VaryParamsAccumulator and adds it to the response accumulator\n * associated with the current WorkUnitStore.\n *\n * Returns a thenable that resolves to the segment's vary params once rendering\n * is complete. The thenable can be passed directly to React Flight for\n * serialization.\n */ export function createVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n const accumulator = createSegmentVaryParamsAccumulator();\n responseAccumulator.segments.add(accumulator);\n return accumulator;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n return null;\n}\nexport function getMetadataVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n return responseAccumulator.head;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n return null;\n default:\n workUnitStore;\n }\n }\n return null;\n}\nexport function getVaryParamsThenable(accumulator) {\n return accumulator;\n}\nexport function getMetadataVaryParamsThenable() {\n const accumulator = getMetadataVaryParamsAccumulator();\n if (accumulator !== null) {\n return getVaryParamsThenable(accumulator);\n }\n return null;\n}\n// The metadata and viewport are always delivered in a single payload, so they\n// don't need to be tracked separately. This may change in the future, but for\n// now this is just an alias.\nexport const getViewportVaryParamsAccumulator = getMetadataVaryParamsAccumulator;\nexport function getRootParamsVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n return responseAccumulator.rootParams;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n return null;\n default:\n workUnitStore;\n }\n }\n return null;\n}\n/**\n * Records that a param was accessed. Adds the param name to the accumulator's\n * varyParams set.\n */ export function accumulateVaryParam(accumulator, paramName) {\n accumulator.varyParams.add(paramName);\n}\n/**\n * Records a root param access.\n */ export function accumulateRootVaryParam(paramName) {\n const rootParamsAccumulator = getRootParamsVaryParamsAccumulator();\n if (rootParamsAccumulator !== null) {\n accumulateVaryParam(rootParamsAccumulator, paramName);\n }\n}\nexport function createVaryingParams(accumulator, originalParamsObject, optionalCatchAllParamName) {\n if (optionalCatchAllParamName !== null) {\n // When there's an optional catch-all param with no value (e.g.,\n // [[...slug]] at /), the param doesn't exist as a property on the params\n // object. Use a Proxy to track all param access — both existing params\n // and the missing optional param — including enumeration patterns like\n // Object.keys(), spread, for...in, and `in` checks.\n return new Proxy(originalParamsObject, {\n get (target, prop, receiver) {\n if (typeof prop === 'string') {\n if (prop === optionalCatchAllParamName || Object.prototype.hasOwnProperty.call(target, prop)) {\n accumulateVaryParam(accumulator, prop);\n }\n }\n return Reflect.get(target, prop, receiver);\n },\n has (target, prop) {\n if (prop === optionalCatchAllParamName) {\n accumulateVaryParam(accumulator, optionalCatchAllParamName);\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n // Enumerating the params object means the user's code may depend on\n // which params are present, so conservatively track the optional\n // param as accessed.\n accumulateVaryParam(accumulator, optionalCatchAllParamName);\n return Reflect.ownKeys(target);\n }\n });\n }\n // When there's no optional catch-all, all params exist as properties on the\n // object, so we can use defineProperty getters instead of a Proxy. This is\n // faster because the engine can optimize property access on regular objects\n // more aggressively than Proxy trap calls.\n const underlyingParamsWithVarying = {};\n for(const paramName in originalParamsObject){\n Object.defineProperty(underlyingParamsWithVarying, paramName, {\n get () {\n accumulateVaryParam(accumulator, paramName);\n return originalParamsObject[paramName];\n },\n enumerable: true\n });\n }\n return underlyingParamsWithVarying;\n}\nexport function createVaryingSearchParams(accumulator, originalSearchParamsObject) {\n const underlyingSearchParamsWithVarying = {};\n for(const searchParamName in originalSearchParamsObject){\n Object.defineProperty(underlyingSearchParamsWithVarying, searchParamName, {\n get () {\n // TODO: Unlike path params, we don't vary track each search param\n // individually. The entire search string is treated as a single param.\n // This may change in the future.\n accumulateVaryParam(accumulator, '?');\n return originalSearchParamsObject[searchParamName];\n },\n enumerable: true\n });\n }\n return underlyingSearchParamsWithVarying;\n}\n/**\n * Resolves all segment accumulators in a ResponseVaryParamsAccumulator with\n * their final vary params. Call this after rendering is complete.\n *\n * Each segment's thenable is resolved with its vary params merged with the\n * root params. If we can't track vary params (e.g., legacy prerender), simply\n * don't call this function - the client treats unresolved thenables as\n * \"unknown\" vary params.\n */ export async function finishAccumulatingVaryParams(responseAccumulator) {\n const rootVaryParams = responseAccumulator.rootParams.varyParams;\n // Resolve head\n finishSegmentAccumulator(responseAccumulator.head, rootVaryParams);\n // Resolve each segment\n for (const segmentAccumulator of responseAccumulator.segments){\n finishSegmentAccumulator(segmentAccumulator, rootVaryParams);\n }\n // Now that the thenables are resolved, Flight should be able to flush the\n // vary params into the response stream. This work gets scheduled internally\n // by Flight using a microtask as soon as we notify the thenable listeners.\n //\n // We need to ensure that Flight's pending queues are emptied before this\n // function returns; the caller will abort the prerender immediately after.\n // We can't use a macrotask, because that would allow dynamic IO to sneak\n // into the response. So we use microtasks instead.\n //\n // The exact number of awaits here isn't important (indeed, one seems to be\n // sufficient, at the time of writing), as long as we wait enough ticks for\n // Flight to finish writing the response.\n //\n // Anything that remains in Flight's internal queue after these awaits must\n // be actual dynamic IO, not caused by pending vary params tasks. In other\n // words, failing to do this would cause us to treat a fully static prerender\n // as if it were partially dynamic.\n await Promise.resolve();\n await Promise.resolve();\n await Promise.resolve();\n}\nfunction finishSegmentAccumulator(accumulator, rootVaryParams) {\n if (accumulator.status !== 'pending') {\n return;\n }\n const merged = new Set(accumulator.varyParams);\n for (const param of rootVaryParams){\n merged.add(param);\n }\n accumulator.value = merged;\n accumulator.status = 'fulfilled';\n for (const resolver of accumulator.resolvers){\n resolver(merged);\n }\n accumulator.resolvers = [];\n}\n\n//# sourceMappingURL=vary-params.js.map","import { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { afterTaskAsyncStorage } from '../app-render/after-task-async-storage.external';\nexport function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E543\",\n enumerable: false,\n configurable: true\n });\n}\nexport function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) {\n const error = Object.defineProperty(new Error(`Route ${workStore.route} used \\`searchParams\\` inside \"use cache\". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \\`searchParams\\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), \"__NEXT_ERROR_CODE\", {\n value: \"E842\",\n enumerable: false,\n configurable: true\n });\n Error.captureStackTrace(error, constructorOpt);\n workStore.invalidDynamicUsageError ??= error;\n throw error;\n}\nexport function isRequestAPICallableInsideAfter() {\n const afterTaskStore = afterTaskAsyncStorage.getStore();\n return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action';\n}\n\n//# sourceMappingURL=utils.js.map","import { extractInfoFromServerReferenceId } from '../shared/lib/server-reference-info';\nexport function isServerReference(value) {\n return value.$$typeof === Symbol.for('react.server.reference');\n}\nexport function isUseCacheFunction(value) {\n if (!isServerReference(value)) {\n return false;\n }\n const { type } = extractInfoFromServerReferenceId(value.$$id);\n return type === 'use-cache';\n}\nexport function getUseCacheFunctionInfo(value) {\n if (!isServerReference(value)) {\n return null;\n }\n const info = extractInfoFromServerReferenceId(value.$$id);\n return info.type === 'use-cache' ? info : null;\n}\nexport function isClientReference(mod) {\n const defaultExport = (mod == null ? void 0 : mod.default) || mod;\n return (defaultExport == null ? void 0 : defaultExport.$$typeof) === Symbol.for('react.client.reference');\n}\n\n//# sourceMappingURL=client-and-server-references.js.map","import { RenderStage } from './app-render/staged-rendering';\nexport function isHangingPromiseRejectionError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === HANGING_PROMISE_REJECTION;\n}\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION';\nclass HangingPromiseRejectionError extends Error {\n constructor(route, expression){\n super(`During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION;\n }\n}\nconst abortListenersBySignal = new WeakMap();\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */ export function makeHangingPromise(signal, route, expression) {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression));\n } else {\n const hangingPromise = new Promise((_, reject)=>{\n const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression));\n let currentListeners = abortListenersBySignal.get(signal);\n if (currentListeners) {\n currentListeners.push(boundRejection);\n } else {\n const listeners = [\n boundRejection\n ];\n abortListenersBySignal.set(signal, listeners);\n signal.addEventListener('abort', ()=>{\n for(let i = 0; i < listeners.length; i++){\n listeners[i]();\n }\n }, {\n once: true\n });\n }\n });\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject);\n return hangingPromise;\n }\n}\nfunction ignoreReject() {}\nexport function makeDevtoolsIOAwarePromise(underlying, requestStore, stage) {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(stage, undefined, underlying);\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise((resolve)=>{\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(()=>{\n resolve(underlying);\n }, 0);\n });\n}\n/**\n * Returns the appropriate runtime stage for the current point in the render.\n * Runtime-prefetchable segments render in the early stages and should wait\n * for EarlyRuntime. Non-prefetchable segments render in the later stages\n * and should wait for Runtime.\n */ export function getRuntimeStage(stagedRendering) {\n if (stagedRendering.currentStage === RenderStage.EarlyStatic || stagedRendering.currentStage === RenderStage.EarlyRuntime) {\n return RenderStage.EarlyRuntime;\n }\n return RenderStage.Runtime;\n}\n/**\n * Delays until the appropriate runtime stage based on the current stage of\n * the rendering pipeline:\n *\n * - Early stages → wait for EarlyRuntime\n * (for runtime-prefetchable segments)\n * - Later stages → wait for Runtime\n * (for segments not using runtime prefetch)\n *\n * This ensures that cookies()/headers()/etc. resolve at the right time for\n * each segment type.\n */ export function delayUntilRuntimeStage(prerenderStore, result) {\n const { stagedRendering } = prerenderStore;\n if (!stagedRendering) {\n return result;\n }\n return stagedRendering.waitForStage(getRuntimeStage(stagedRendering)).then(()=>result);\n}\n\n//# sourceMappingURL=dynamic-rendering-utils.js.map","import { PAGE_SEGMENT_KEY } from '../segment';\nexport const ROOT_SEGMENT_REQUEST_KEY = '';\nexport const HEAD_REQUEST_KEY = '/_head';\nexport function createSegmentRequestKeyPart(segment) {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY;\n }\n const safeName = // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment);\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName;\n }\n const name = segment[0];\n const paramType = segment[2];\n const safeName = encodeToFilesystemAndURLSafeString(name);\n const encodedName = '$' + paramType + '$' + safeName;\n return encodedName;\n}\nexport function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`;\n return parentRequestKey + '/' + slotKey;\n}\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/;\nfunction encodeToFilesystemAndURLSafeString(value) {\n if (simpleParamValueRegex.test(value)) {\n return value;\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value).replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n ;\n return '!' + base64url;\n}\nexport function convertSegmentPathToStaticExportFilename(segmentPath) {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`;\n}\n\n//# sourceMappingURL=segment-value-encoding.js.map","import { resolveAsArrayOrUndefined } from '../generate/utils';\nimport { resolveAbsoluteUrlWithPathname } from './resolve-url';\nfunction resolveAlternateUrl(url, metadataBase, pathname, metadataContext) {\n // If alter native url is an URL instance,\n // we treat it as a URL base and resolve with current pathname\n if (url instanceof URL) {\n const newUrl = new URL(pathname, url);\n url.searchParams.forEach((value, key)=>newUrl.searchParams.set(key, value));\n url = newUrl;\n }\n return resolveAbsoluteUrlWithPathname(url, metadataBase, pathname, metadataContext);\n}\nexport const resolveThemeColor = (themeColor)=>{\n var _resolveAsArrayOrUndefined;\n if (!themeColor) return null;\n const themeColorDescriptors = [];\n (_resolveAsArrayOrUndefined = resolveAsArrayOrUndefined(themeColor)) == null ? void 0 : _resolveAsArrayOrUndefined.forEach((descriptor)=>{\n if (typeof descriptor === 'string') themeColorDescriptors.push({\n color: descriptor\n });\n else if (typeof descriptor === 'object') themeColorDescriptors.push({\n color: descriptor.color,\n media: descriptor.media\n });\n });\n return themeColorDescriptors;\n};\nasync function resolveUrlValuesOfObject(obj, metadataBase, pathname, metadataContext) {\n if (!obj) return null;\n const result = {};\n for (const [key, value] of Object.entries(obj)){\n if (typeof value === 'string' || value instanceof URL) {\n const pathnameForUrl = await pathname;\n result[key] = [\n {\n url: resolveAlternateUrl(value, metadataBase, pathnameForUrl, metadataContext)\n }\n ];\n } else if (value && value.length) {\n result[key] = [];\n const pathnameForUrl = await pathname;\n value.forEach((item, index)=>{\n const url = resolveAlternateUrl(item.url, metadataBase, pathnameForUrl, metadataContext);\n result[key][index] = {\n url,\n title: item.title\n };\n });\n }\n }\n return result;\n}\nasync function resolveCanonicalUrl(urlOrDescriptor, metadataBase, pathname, metadataContext) {\n if (!urlOrDescriptor) return null;\n const url = typeof urlOrDescriptor === 'string' || urlOrDescriptor instanceof URL ? urlOrDescriptor : urlOrDescriptor.url;\n const pathnameForUrl = await pathname;\n // Return string url because structureClone can't handle URL instance\n return {\n url: resolveAlternateUrl(url, metadataBase, pathnameForUrl, metadataContext)\n };\n}\nexport const resolveAlternates = async (alternates, metadataBase, pathname, context)=>{\n if (!alternates) return null;\n const canonical = await resolveCanonicalUrl(alternates.canonical, metadataBase, pathname, context);\n const languages = await resolveUrlValuesOfObject(alternates.languages, metadataBase, pathname, context);\n const media = await resolveUrlValuesOfObject(alternates.media, metadataBase, pathname, context);\n const types = await resolveUrlValuesOfObject(alternates.types, metadataBase, pathname, context);\n return {\n canonical,\n languages,\n media,\n types\n };\n};\nconst robotsKeys = [\n 'noarchive',\n 'nosnippet',\n 'noimageindex',\n 'nocache',\n 'notranslate',\n 'indexifembedded',\n 'nositelinkssearchbox',\n 'unavailable_after',\n 'max-video-preview',\n 'max-image-preview',\n 'max-snippet'\n];\nconst resolveRobotsValue = (robots)=>{\n if (!robots) return null;\n if (typeof robots === 'string') return robots;\n const values = [];\n if (robots.index) values.push('index');\n else if (typeof robots.index === 'boolean') values.push('noindex');\n if (robots.follow) values.push('follow');\n else if (typeof robots.follow === 'boolean') values.push('nofollow');\n for (const key of robotsKeys){\n const value = robots[key];\n if (typeof value !== 'undefined' && value !== false) {\n values.push(typeof value === 'boolean' ? key : `${key}:${value}`);\n }\n }\n return values.join(', ');\n};\nexport const resolveRobots = (robots)=>{\n if (!robots) return null;\n return {\n basic: resolveRobotsValue(robots),\n googleBot: typeof robots !== 'string' ? resolveRobotsValue(robots.googleBot) : null\n };\n};\nconst VerificationKeys = [\n 'google',\n 'yahoo',\n 'yandex',\n 'me',\n 'other'\n];\nexport const resolveVerification = (verification)=>{\n if (!verification) return null;\n const res = {};\n for (const key of VerificationKeys){\n const value = verification[key];\n if (value) {\n if (key === 'other') {\n res.other = {};\n for(const otherKey in verification.other){\n const otherValue = resolveAsArrayOrUndefined(verification.other[otherKey]);\n if (otherValue) res.other[otherKey] = otherValue;\n }\n } else res[key] = resolveAsArrayOrUndefined(value);\n }\n }\n return res;\n};\nexport const resolveAppleWebApp = (appWebApp)=>{\n var _resolveAsArrayOrUndefined;\n if (!appWebApp) return null;\n if (appWebApp === true) {\n return {\n capable: true\n };\n }\n const startupImages = appWebApp.startupImage ? (_resolveAsArrayOrUndefined = resolveAsArrayOrUndefined(appWebApp.startupImage)) == null ? void 0 : _resolveAsArrayOrUndefined.map((item)=>typeof item === 'string' ? {\n url: item\n } : item) : null;\n return {\n capable: 'capable' in appWebApp ? !!appWebApp.capable : true,\n title: appWebApp.title || null,\n startupImage: startupImages,\n statusBarStyle: appWebApp.statusBarStyle || 'default'\n };\n};\nexport const resolveAppLinks = (appLinks)=>{\n if (!appLinks) return null;\n for(const key in appLinks){\n // @ts-ignore // TODO: type infer\n appLinks[key] = resolveAsArrayOrUndefined(appLinks[key]);\n }\n return appLinks;\n};\nexport const resolveItunes = async (itunes, metadataBase, pathname, context)=>{\n if (!itunes) return null;\n return {\n appId: itunes.appId,\n appArgument: itunes.appArgument ? resolveAlternateUrl(itunes.appArgument, metadataBase, await pathname, context) : undefined\n };\n};\nexport const resolveFacebook = (facebook)=>{\n if (!facebook) return null;\n return {\n appId: facebook.appId,\n admins: resolveAsArrayOrUndefined(facebook.admins)\n };\n};\nexport const resolvePagination = async (pagination, metadataBase, pathname, context)=>{\n return {\n previous: (pagination == null ? void 0 : pagination.previous) ? resolveAlternateUrl(pagination.previous, metadataBase, await pathname, context) : null,\n next: (pagination == null ? void 0 : pagination.next) ? resolveAlternateUrl(pagination.next, metadataBase, await pathname, context) : null\n };\n};\n\n//# sourceMappingURL=resolve-basics.js.map","import { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { createVaryingSearchParams, getMetadataVaryParamsAccumulator } from '../app-render/vary-params';\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking, annotateDynamicAccess } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { describeStringPropertyAccess, describeHasCheckingStringProperty, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { throwWithStaticGenerationBailoutErrorWithDynamicError, throwForSearchParamsAccessInUseCache } from './utils';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createSearchParamsFromClient(underlyingSearchParams) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'validation-client':\n {\n return createClientSearchParamsInValidation(underlyingSearchParams, workStore, workUnitStore);\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E769\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E739\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1133\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n // Client searchParams are not runtime prefetchable\n const isRuntimePrefetchable = false;\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore, isRuntimePrefetchable);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerSearchParamsForMetadata(underlyingSearchParams, isRuntimePrefetchable) {\n const metadataVaryParamsAccumulator = getMetadataVaryParamsAccumulator();\n return createServerSearchParamsForServerPage(underlyingSearchParams, metadataVaryParamsAccumulator, isRuntimePrefetchable);\n}\nexport function createServerSearchParamsForServerPage(underlyingSearchParams, varyParamsAccumulator, isRuntimePrefetchable) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in a client validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1066\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E747\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1128\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable);\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore, isRuntimePrefetchable);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderSearchParamsForClientPage() {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n // We're prerendering in a mode that aborts (cacheComponents) and should stall\n // the promise to ensure the RSC side is considered dynamic\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`searchParams`');\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a client validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1061\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E768\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E746\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1124\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n return Promise.resolve({});\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createStaticPrerenderSearchParams(workStore, prerenderStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n // We are in a cacheComponents (PPR or otherwise) prerender\n return makeHangingSearchParams(workStore, prerenderStore);\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We are in a legacy static generation and need to interrupt the\n // prerender when search params are accessed.\n return makeErroringSearchParams(workStore, prerenderStore);\n default:\n return prerenderStore;\n }\n}\nfunction createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable) {\n const underlyingSearchParamsWithVarying = varyParamsAccumulator !== null ? createVaryingSearchParams(varyParamsAccumulator, underlyingSearchParams) : underlyingSearchParams;\n const result = makeUntrackedSearchParams(underlyingSearchParamsWithVarying);\n const { stagedRendering } = workUnitStore;\n if (!stagedRendering) {\n return result;\n }\n const stage = isRuntimePrefetchable ? RenderStage.EarlyRuntime : RenderStage.Runtime;\n return stagedRendering.waitForStage(stage).then(()=>result);\n}\nfunction createRenderSearchParams(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n } else {\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n } else if (requestStore.asyncApiPromises) {\n if (requestStore.validationSamples) {\n const { createExhaustiveSearchParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredKeys = new Set(Object.keys(requestStore.validationSamples.searchParams ?? {}));\n underlyingSearchParams = createExhaustiveSearchParamsProxy(underlyingSearchParams, declaredKeys, workStore.route);\n }\n return (isRuntimePrefetchable ? requestStore.asyncApiPromises.earlySharedSearchParamsParent : requestStore.asyncApiPromises.sharedSearchParamsParent).then(()=>underlyingSearchParams);\n } else {\n return makeUntrackedSearchParams(underlyingSearchParams);\n }\n }\n}\nconst CachedSearchParams = new WeakMap();\nconst CachedSearchParamsForUseCache = new WeakMap();\nfunction makeHangingSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(prerenderStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`searchParams`');\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n switch(prop){\n case 'then':\n {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n case 'status':\n {\n const expression = '`use(searchParams)`, `searchParams.status`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n default:\n {\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n }\n });\n CachedSearchParams.set(prerenderStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeErroringSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const underlyingSearchParams = {};\n // For search params we don't construct a ReactPromise because we want to interrupt\n // rendering on any property access that was not set from outside and so we only want\n // to have properties like value and status if React sets them.\n const promise = Promise.resolve(underlyingSearchParams);\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && prop === 'then') {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n if (workStore.dynamicShouldError) {\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n } else if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParams.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\n/**\n * This is a variation of `makeErroringSearchParams` that always throws an\n * error on access, because accessing searchParams inside of `\"use cache\"` is\n * not allowed.\n */ export function makeErroringSearchParamsForUseCache() {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve({});\n const proxiedPromise = new Proxy(promise, {\n get: function get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it. We know it\n // isn't a dynamic access because it can only be something that was\n // previously written to the promise and thus not an underlying\n // searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && (prop === 'then' || !wellKnownProperties.has(prop))) {\n throwForSearchParamsAccessInUseCache(workStore, get);\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParamsForUseCache.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeUntrackedSearchParams(underlyingSearchParams) {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve(underlyingSearchParams);\n CachedSearchParams.set(underlyingSearchParams, promise);\n return promise;\n}\nfunction makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n if (requestStore.asyncApiPromises) {\n // Do not cache the resulting promise. If we do, we'll only show the first \"awaited at\"\n // across all segments that receive searchParams.\n return makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n } else {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n CachedSearchParams.set(requestStore, promise);\n return promise;\n }\n}\nfunction makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n const promiseInitialized = {\n current: false\n };\n const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized);\n let promise;\n if (requestStore.asyncApiPromises) {\n // We wrap each instance of searchParams in a `new Promise()`.\n // This is important when all awaits are in third party which would otherwise\n // track all the way to the internal params.\n const sharedSearchParamsParent = isRuntimePrefetchable ? requestStore.asyncApiPromises.earlySharedSearchParamsParent : requestStore.asyncApiPromises.sharedSearchParamsParent;\n promise = new Promise((resolve, reject)=>{\n sharedSearchParamsParent.then(()=>resolve(proxiedUnderlying), reject);\n });\n // @ts-expect-error\n promise.displayName = 'searchParams';\n } else {\n promise = makeDevtoolsIOAwarePromise(proxiedUnderlying, requestStore, RenderStage.Runtime);\n }\n promise.then(()=>{\n promiseInitialized.current = true;\n }, // If we're in staged rendering, this promise will reject if the render\n // is aborted before it can reach the runtime stage.\n // In that case, we have to prevent an unhandled rejection from the promise\n // created by this `.then()` call.\n // This does not affect the `promiseInitialized` logic above,\n // because `proxiedUnderlying` will not be used to resolve the promise,\n // so there's no risk of any of its properties being accessed and triggering\n // an undesireable warning.\n ignoreReject);\n return instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore);\n}\nfunction ignoreReject() {}\nfunction instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized) {\n // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying\n // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender\n // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking\n // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger\n // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce\n // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise.\n return new Proxy(underlyingSearchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && promiseInitialized.current) {\n if (workStore.dynamicShouldError) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (workStore.dynamicShouldError) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n if (workStore.dynamicShouldError) {\n const expression = '`{...searchParams}`, `Object.keys(searchParams)`, or similar';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n return Reflect.ownKeys(target);\n }\n });\n}\nfunction instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingSearchParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (prop === 'then' && workStore.dynamicShouldError) {\n const expression = '`searchParams.then`';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return Reflect.set(target, prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n const expression = '`Object.keys(searchParams)` or similar';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createSearchAccessError);\nfunction createSearchAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`searchParams\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E848\",\n enumerable: false,\n configurable: true\n });\n}\nfunction createClientSearchParamsInValidation(underlyingSearchParams, workStore, workUnitStore) {\n var _workUnitStore_validationSamples;\n const { createExhaustiveSearchParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredKeys = new Set(Object.keys(((_workUnitStore_validationSamples = workUnitStore.validationSamples) == null ? void 0 : _workUnitStore_validationSamples.searchParams) ?? {}));\n underlyingSearchParams = createExhaustiveSearchParamsProxy(underlyingSearchParams, declaredKeys, workStore.route);\n return Promise.resolve(underlyingSearchParams);\n}\n\n//# sourceMappingURL=search-params.js.map","import { AppRenderSpan, NextNodeServerSpan } from './trace/constants';\nimport { getTracer, SpanKind } from './trace/tracer';\nimport { CACHE_ONE_YEAR_SECONDS, INFINITE_CACHE, NEXT_CACHE_TAG_MAX_ITEMS, NEXT_CACHE_TAG_MAX_LENGTH } from '../../lib/constants';\nimport { markCurrentScopeAsDynamic } from '../app-render/dynamic-rendering';\nimport { makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupeFetch } from './dedupe-fetch';\nimport { getCacheSignal } from '../app-render/work-unit-async-storage.external';\nimport { CachedRouteKind, IncrementalCacheKind } from '../response-cache';\nimport { cloneResponse } from './clone-response';\nimport { RenderStage } from '../app-render/staged-rendering';\nconst isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge';\nexport const NEXT_PATCH_SYMBOL = Symbol.for('next-patch');\nfunction isFetchPatched() {\n return globalThis[NEXT_PATCH_SYMBOL] === true;\n}\nexport function validateRevalidate(revalidateVal, route) {\n try {\n let normalizedRevalidate = undefined;\n if (revalidateVal === false) {\n normalizedRevalidate = INFINITE_CACHE;\n } else if (typeof revalidateVal === 'number' && !isNaN(revalidateVal) && revalidateVal > -1) {\n normalizedRevalidate = revalidateVal;\n } else if (typeof revalidateVal !== 'undefined') {\n throw Object.defineProperty(new Error(`Invalid revalidate value \"${revalidateVal}\" on \"${route}\", must be a non-negative number or false`), \"__NEXT_ERROR_CODE\", {\n value: \"E179\",\n enumerable: false,\n configurable: true\n });\n }\n return normalizedRevalidate;\n } catch (err) {\n // handle client component error from attempting to check revalidate value\n if (err instanceof Error && err.message.includes('Invalid revalidate')) {\n throw err;\n }\n return undefined;\n }\n}\nexport function validateTags(tags, description) {\n const validTags = [];\n const invalidTags = [];\n for(let i = 0; i < tags.length; i++){\n const tag = tags[i];\n if (typeof tag !== 'string') {\n invalidTags.push({\n tag,\n reason: 'invalid type, must be a string'\n });\n } else if (tag.length > NEXT_CACHE_TAG_MAX_LENGTH) {\n invalidTags.push({\n tag,\n reason: `exceeded max length of ${NEXT_CACHE_TAG_MAX_LENGTH}`\n });\n } else {\n validTags.push(tag);\n }\n if (validTags.length > NEXT_CACHE_TAG_MAX_ITEMS) {\n console.warn(`Warning: exceeded max tag count for ${description}, dropped tags:`, tags.slice(i).join(', '));\n break;\n }\n }\n if (invalidTags.length > 0) {\n console.warn(`Warning: invalid tags passed to ${description}: `);\n for (const { tag, reason } of invalidTags){\n console.log(`tag: \"${tag}\" ${reason}`);\n }\n }\n return validTags;\n}\nfunction trackFetchMetric(workStore, ctx) {\n if (!workStore.shouldTrackFetchMetrics) {\n return;\n }\n workStore.fetchMetrics ??= [];\n workStore.fetchMetrics.push({\n ...ctx,\n end: performance.timeOrigin + performance.now(),\n idx: workStore.nextFetchId || 0\n });\n}\nasync function createCachedPrerenderResponse(res, cacheKey, incrementalCacheContext, incrementalCache, revalidate, handleUnlock) {\n // We are prerendering at build time or revalidate time with cacheComponents so we\n // need to buffer the response so we can guarantee it can be read in a\n // microtask.\n const bodyBuffer = await res.arrayBuffer();\n const fetchedData = {\n headers: Object.fromEntries(res.headers.entries()),\n body: Buffer.from(bodyBuffer).toString('base64'),\n status: res.status,\n url: res.url\n };\n // We can skip setting the serverComponentsHmrCache because we aren't in dev\n // mode.\n if (incrementalCacheContext) {\n await incrementalCache.set(cacheKey, {\n kind: CachedRouteKind.FETCH,\n data: fetchedData,\n revalidate\n }, incrementalCacheContext);\n }\n await handleUnlock();\n // We return a new Response to the caller.\n return new Response(bodyBuffer, {\n headers: res.headers,\n status: res.status,\n statusText: res.statusText\n });\n}\nasync function createCachedDynamicResponse(workStore, res, cacheKey, incrementalCacheContext, incrementalCache, serverComponentsHmrCache, revalidate, input, handleUnlock, signal) {\n // We're cloning the response using this utility because there exists a bug in\n // the undici library around response cloning. See the following pull request\n // for more details: https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(res);\n // We are dynamically rendering including dev mode. We want to return the\n // response to the caller as soon as possible because it might stream over a\n // very long time.\n const cacheSetPromise = cloned1.arrayBuffer().then(async (arrayBuffer)=>{\n const bodyBuffer = Buffer.from(arrayBuffer);\n const fetchedData = {\n headers: Object.fromEntries(cloned1.headers.entries()),\n body: bodyBuffer.toString('base64'),\n status: cloned1.status,\n url: cloned1.url\n };\n serverComponentsHmrCache == null ? void 0 : serverComponentsHmrCache.set(cacheKey, fetchedData);\n if (incrementalCacheContext) {\n await incrementalCache.set(cacheKey, {\n kind: CachedRouteKind.FETCH,\n data: fetchedData,\n revalidate\n }, incrementalCacheContext);\n }\n }).catch((error)=>{\n // Don't warn if the request was aborted intentionally.\n if (!(signal == null ? void 0 : signal.aborted)) {\n console.warn(`Failed to set fetch cache`, input, error);\n }\n }).finally(handleUnlock);\n const pendingRevalidateKey = `cache-set-${cacheKey}`;\n const pendingRevalidates = workStore.pendingRevalidates ??= {};\n let pendingRevalidatePromise = Promise.resolve();\n if (pendingRevalidateKey in pendingRevalidates) {\n // There is already a pending revalidate entry that we need to await to\n // avoid race conditions.\n pendingRevalidatePromise = pendingRevalidates[pendingRevalidateKey];\n }\n pendingRevalidates[pendingRevalidateKey] = pendingRevalidatePromise.then(()=>cacheSetPromise).finally(()=>{\n // If the pending revalidate is not present in the store, then we have\n // nothing to delete.\n if (!(pendingRevalidates == null ? void 0 : pendingRevalidates[pendingRevalidateKey])) {\n return;\n }\n delete pendingRevalidates[pendingRevalidateKey];\n });\n return cloned2;\n}\nexport function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStorage }) {\n // Create the patched fetch function.\n const patched = async function fetch(input, init) {\n var _init_method, _init_next;\n let url;\n try {\n url = new URL(input instanceof Request ? input.url : input);\n url.username = '';\n url.password = '';\n } catch {\n // Error caused by malformed URL should be handled by native fetch\n url = undefined;\n }\n const fetchUrl = (url == null ? void 0 : url.href) ?? '';\n const method = (init == null ? void 0 : (_init_method = init.method) == null ? void 0 : _init_method.toUpperCase()) || 'GET';\n // Do create a new span trace for internal fetches in the\n // non-verbose mode.\n const isInternal = (init == null ? void 0 : (_init_next = init.next) == null ? void 0 : _init_next.internal) === true;\n const hideSpan = process.env.NEXT_OTEL_FETCH_DISABLED === '1';\n // We don't track fetch metrics for internal fetches\n // so it's not critical that we have a start time, as it won't be recorded.\n // This is to workaround a flaky issue where performance APIs might\n // not be available and will require follow-up investigation.\n const fetchStart = isInternal ? undefined : performance.timeOrigin + performance.now();\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n let cacheSignal = workUnitStore ? getCacheSignal(workUnitStore) : null;\n if (cacheSignal) {\n cacheSignal.beginRead();\n }\n const result = getTracer().trace(isInternal ? NextNodeServerSpan.internalFetch : AppRenderSpan.fetch, {\n hideSpan,\n kind: SpanKind.CLIENT,\n spanName: [\n 'fetch',\n method,\n fetchUrl\n ].filter(Boolean).join(' '),\n attributes: {\n 'http.url': fetchUrl,\n 'http.method': method,\n 'net.peer.name': url == null ? void 0 : url.hostname,\n 'net.peer.port': (url == null ? void 0 : url.port) || undefined\n }\n }, async ()=>{\n var _getRequestMeta;\n // If this is an internal fetch, we should not do any special treatment.\n if (isInternal) {\n return originFetch(input, init);\n }\n // If the workStore is not available, we can't do any\n // special treatment of fetch, therefore fallback to the original\n // fetch implementation.\n if (!workStore) {\n return originFetch(input, init);\n }\n // We should also fallback to the original fetch implementation if we\n // are in draft mode, it does not constitute a static generation.\n if (workStore.isDraftMode) {\n return originFetch(input, init);\n }\n const isRequestInput = input && typeof input === 'object' && typeof input.method === 'string';\n const getRequestMeta = (field)=>{\n // If request input is present but init is not, retrieve from input first.\n const value = init == null ? void 0 : init[field];\n return value || (isRequestInput ? input[field] : null);\n };\n let finalRevalidate = undefined;\n const getNextField = (field)=>{\n var _init_next, _init_next1, _input_next;\n return typeof (init == null ? void 0 : (_init_next = init.next) == null ? void 0 : _init_next[field]) !== 'undefined' ? init == null ? void 0 : (_init_next1 = init.next) == null ? void 0 : _init_next1[field] : isRequestInput ? (_input_next = input.next) == null ? void 0 : _input_next[field] : undefined;\n };\n // RequestInit doesn't keep extra fields e.g. next so it's\n // only available if init is used separate\n const originalFetchRevalidate = getNextField('revalidate');\n let currentFetchRevalidate = originalFetchRevalidate;\n const tags = validateTags(getNextField('tags') || [], `fetch ${input.toString()}`);\n let revalidateStore;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n // TODO: Stop accumulating tags in client prerender. (fallthrough)\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n revalidateStore = workUnitStore;\n break;\n case 'request':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (revalidateStore) {\n if (Array.isArray(tags)) {\n // Collect tags onto parent caches or parent prerenders.\n const collectedTags = revalidateStore.tags ?? (revalidateStore.tags = []);\n for (const tag of tags){\n if (!collectedTags.includes(tag)) {\n collectedTags.push(tag);\n }\n }\n }\n }\n const implicitTags = workUnitStore == null ? void 0 : workUnitStore.implicitTags;\n let pageFetchCacheMode = workStore.fetchCache;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'unstable-cache':\n // Inside unstable-cache we treat it the same as force-no-store on\n // the page.\n pageFetchCacheMode = 'force-no-store';\n break;\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n const isUsingNoStore = !!workStore.isUnstableNoStore;\n let currentFetchCacheConfig = getRequestMeta('cache');\n let cacheReason = '';\n let cacheWarning;\n if (typeof currentFetchCacheConfig === 'string' && typeof currentFetchRevalidate !== 'undefined') {\n // If the revalidate value conflicts with the cache value, we should warn the user and unset the conflicting values.\n const isConflictingRevalidate = // revalidate: 0 and cache: force-cache\n currentFetchCacheConfig === 'force-cache' && currentFetchRevalidate === 0 || // revalidate: >0 or revalidate: false and cache: no-store\n currentFetchCacheConfig === 'no-store' && (currentFetchRevalidate > 0 || currentFetchRevalidate === false);\n if (isConflictingRevalidate) {\n cacheWarning = `Specified \"cache: ${currentFetchCacheConfig}\" and \"revalidate: ${currentFetchRevalidate}\", only one should be specified.`;\n currentFetchCacheConfig = undefined;\n currentFetchRevalidate = undefined;\n }\n }\n const hasExplicitFetchCacheOptOut = // fetch config itself signals not to cache\n currentFetchCacheConfig === 'no-cache' || currentFetchCacheConfig === 'no-store' || // the fetch isn't explicitly caching and the segment level cache config signals not to cache\n // note: `pageFetchCacheMode` is also set by being in an unstable_cache context.\n pageFetchCacheMode === 'force-no-store' || pageFetchCacheMode === 'only-no-store';\n // If no explicit fetch cache mode is set, but dynamic = `force-dynamic` is set,\n // we shouldn't consider caching the fetch. This is because the `dynamic` cache\n // is considered a \"top-level\" cache mode, whereas something like `fetchCache` is more\n // fine-grained. Top-level modes are responsible for setting reasonable defaults for the\n // other configurations.\n const noFetchConfigAndForceDynamic = !pageFetchCacheMode && !currentFetchCacheConfig && !currentFetchRevalidate && workStore.forceDynamic;\n if (// force-cache was specified without a revalidate value. We set the revalidate value to false\n // which will signal the cache to not revalidate\n currentFetchCacheConfig === 'force-cache' && typeof currentFetchRevalidate === 'undefined') {\n currentFetchRevalidate = false;\n } else if (hasExplicitFetchCacheOptOut || noFetchConfigAndForceDynamic) {\n currentFetchRevalidate = 0;\n }\n if (currentFetchCacheConfig === 'no-cache' || currentFetchCacheConfig === 'no-store') {\n cacheReason = `cache: ${currentFetchCacheConfig}`;\n }\n finalRevalidate = validateRevalidate(currentFetchRevalidate, workStore.route);\n const _headers = getRequestMeta('headers');\n const initHeaders = typeof (_headers == null ? void 0 : _headers.get) === 'function' ? _headers : new Headers(_headers || {});\n const hasUnCacheableHeader = initHeaders.get('authorization') || initHeaders.get('cookie');\n const isUnCacheableMethod = ![\n 'get',\n 'head'\n ].includes(((_getRequestMeta = getRequestMeta('method')) == null ? void 0 : _getRequestMeta.toLowerCase()) || 'get');\n /**\n * We automatically disable fetch caching under the following conditions:\n * - Fetch cache configs are not set. Specifically:\n * - A page fetch cache mode is not set (export const fetchCache=...)\n * - A fetch cache mode is not set in the fetch call (fetch(url, { cache: ... }))\n * or the fetch cache mode is set to 'default'\n * - A fetch revalidate value is not set in the fetch call (fetch(url, { revalidate: ... }))\n * - OR the fetch comes after a configuration that triggered dynamic rendering (e.g., reading cookies())\n * and the fetch was considered uncacheable (e.g., POST method or has authorization headers)\n */ const hasNoExplicitCacheConfig = // eslint-disable-next-line eqeqeq\n pageFetchCacheMode == undefined && // eslint-disable-next-line eqeqeq\n (currentFetchCacheConfig == undefined || // when considering whether to opt into the default \"no-cache\" fetch semantics,\n // a \"default\" cache config should be treated the same as no cache config\n currentFetchCacheConfig === 'default') && // eslint-disable-next-line eqeqeq\n currentFetchRevalidate == undefined;\n let autoNoCache = Boolean((hasUnCacheableHeader || isUnCacheableMethod) && (revalidateStore == null ? void 0 : revalidateStore.revalidate) === 0);\n let isImplicitBuildTimeCache = false;\n if (!autoNoCache && hasNoExplicitCacheConfig) {\n // We don't enable automatic no-cache behavior during build-time\n // prerendering so that we can still leverage the fetch cache between\n // export workers.\n if (workStore.isBuildTimePrerendering) {\n isImplicitBuildTimeCache = true;\n } else {\n autoNoCache = true;\n }\n }\n // If we have no cache config, and we're in Dynamic I/O prerendering,\n // it'll be a dynamic call. We don't have to issue that dynamic call.\n if (hasNoExplicitCacheConfig && workUnitStore !== undefined) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n // While we don't want to do caching in the client scope we know the\n // fetch will be dynamic for cacheComponents so we may as well avoid the\n // call here. (fallthrough)\n case 'prerender-client':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'validation-client':\n break;\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n switch(pageFetchCacheMode){\n case 'force-no-store':\n {\n cacheReason = 'fetchCache = force-no-store';\n break;\n }\n case 'only-no-store':\n {\n if (currentFetchCacheConfig === 'force-cache' || typeof finalRevalidate !== 'undefined' && finalRevalidate > 0) {\n throw Object.defineProperty(new Error(`cache: 'force-cache' used on fetch for ${fetchUrl} with 'export const fetchCache = 'only-no-store'`), \"__NEXT_ERROR_CODE\", {\n value: \"E448\",\n enumerable: false,\n configurable: true\n });\n }\n cacheReason = 'fetchCache = only-no-store';\n break;\n }\n case 'only-cache':\n {\n if (currentFetchCacheConfig === 'no-store') {\n throw Object.defineProperty(new Error(`cache: 'no-store' used on fetch for ${fetchUrl} with 'export const fetchCache = 'only-cache'`), \"__NEXT_ERROR_CODE\", {\n value: \"E521\",\n enumerable: false,\n configurable: true\n });\n }\n break;\n }\n case 'force-cache':\n {\n if (typeof currentFetchRevalidate === 'undefined' || currentFetchRevalidate === 0) {\n cacheReason = 'fetchCache = force-cache';\n finalRevalidate = INFINITE_CACHE;\n }\n break;\n }\n case 'default-cache':\n case 'default-no-store':\n case 'auto':\n case undefined:\n break;\n default:\n pageFetchCacheMode;\n }\n if (typeof finalRevalidate === 'undefined') {\n if (pageFetchCacheMode === 'default-cache' && !isUsingNoStore) {\n finalRevalidate = INFINITE_CACHE;\n cacheReason = 'fetchCache = default-cache';\n } else if (pageFetchCacheMode === 'default-no-store') {\n finalRevalidate = 0;\n cacheReason = 'fetchCache = default-no-store';\n } else if (isUsingNoStore) {\n finalRevalidate = 0;\n cacheReason = 'noStore call';\n } else if (autoNoCache) {\n finalRevalidate = 0;\n cacheReason = 'auto no cache';\n } else {\n // TODO: should we consider this case an invariant?\n cacheReason = 'auto cache';\n finalRevalidate = revalidateStore ? revalidateStore.revalidate : INFINITE_CACHE;\n }\n } else if (!cacheReason) {\n cacheReason = `revalidate: ${finalRevalidate}`;\n }\n if (// when force static is configured we don't bail from\n // `revalidate: 0` values\n !(workStore.forceStatic && finalRevalidate === 0) && // we don't consider autoNoCache to switch to dynamic for ISR\n !autoNoCache && // If the revalidate value isn't currently set or the value is less\n // than the current revalidate value, we should update the revalidate\n // value.\n revalidateStore && finalRevalidate < revalidateStore.revalidate) {\n // If we were setting the revalidate value to 0, we should try to\n // postpone instead first.\n if (finalRevalidate === 0) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n // If we're in an instant validation, a dynamic fetch won't\n // have time to resolve during the validation prerender anyway,\n // so we leave it hanging. This can cause false negatives in shared parents,\n // but we accept that for now, because client data fetching is non-idiomatic.\n // eslint-disable-next-line no-fallthrough\n case 'validation-client':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `revalidate: 0 fetch ${input} ${workStore.route}`);\n }\n // We only want to set the revalidate store's revalidate time if it\n // was explicitly set for the fetch call, i.e.\n // originalFetchRevalidate.\n if (revalidateStore && originalFetchRevalidate === finalRevalidate) {\n revalidateStore.revalidate = finalRevalidate;\n }\n }\n const isCacheableRevalidate = typeof finalRevalidate === 'number' && finalRevalidate > 0;\n let cacheKey;\n const { incrementalCache } = workStore;\n let isHmrRefresh = false;\n let serverComponentsHmrCache;\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'request':\n case 'cache':\n case 'private-cache':\n isHmrRefresh = workUnitStore.isHmrRefresh ?? false;\n serverComponentsHmrCache = workUnitStore.serverComponentsHmrCache;\n break;\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (incrementalCache && (isCacheableRevalidate || serverComponentsHmrCache)) {\n try {\n cacheKey = await incrementalCache.generateCacheKey(fetchUrl, isRequestInput ? input : init);\n } catch (err) {\n console.error(`Failed to generate cache key for`, input);\n }\n }\n const fetchIdx = workStore.nextFetchId ?? 1;\n workStore.nextFetchId = fetchIdx + 1;\n let handleUnlock = ()=>{};\n const doOriginalFetch = async (isStale, cacheReasonOverride)=>{\n const requestInputFields = [\n 'cache',\n 'credentials',\n 'headers',\n 'integrity',\n 'keepalive',\n 'method',\n 'mode',\n 'redirect',\n 'referrer',\n 'referrerPolicy',\n 'window',\n 'duplex',\n // don't pass through signal when revalidating\n ...isStale ? [] : [\n 'signal'\n ]\n ];\n if (isRequestInput) {\n const reqInput = input;\n const reqOptions = {\n body: reqInput._ogBody || reqInput.body\n };\n for (const field of requestInputFields){\n // @ts-expect-error custom fields\n reqOptions[field] = reqInput[field];\n }\n input = new Request(reqInput.url, reqOptions);\n } else if (init) {\n const { _ogBody, body, signal, ...otherInput } = init;\n init = {\n ...otherInput,\n body: _ogBody || body,\n signal: isStale ? undefined : signal\n };\n }\n // add metadata to init without editing the original\n const clonedInit = {\n ...init,\n next: {\n ...init == null ? void 0 : init.next,\n fetchType: 'origin',\n fetchIdx\n }\n };\n return originFetch(input, clonedInit).then(async (res)=>{\n if (!isStale && fetchStart) {\n trackFetchMetric(workStore, {\n start: fetchStart,\n url: fetchUrl,\n cacheReason: cacheReasonOverride || cacheReason,\n cacheStatus: finalRevalidate === 0 || cacheReasonOverride ? 'skip' : 'miss',\n cacheWarning,\n status: res.status,\n method: clonedInit.method || 'GET'\n });\n }\n if (res.status === 200 && incrementalCache && cacheKey && (isCacheableRevalidate || serverComponentsHmrCache)) {\n const normalizedRevalidate = finalRevalidate >= INFINITE_CACHE ? CACHE_ONE_YEAR_SECONDS : finalRevalidate;\n const incrementalCacheConfig = isCacheableRevalidate ? {\n fetchCache: true,\n fetchUrl,\n fetchIdx,\n tags,\n isImplicitBuildTimeCache\n } : undefined;\n switch(workUnitStore == null ? void 0 : workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n return createCachedPrerenderResponse(res, cacheKey, incrementalCacheConfig, incrementalCache, normalizedRevalidate, handleUnlock);\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering && workUnitStore.cacheSignal && isCacheableRevalidate) {\n // We're filling caches for a staged render with an\n // explicit cache config, so we need to wait for the\n // response to finish instead of streaming. For HMR-only\n // caching (no explicit revalidate), we fall through to\n // createCachedDynamicResponse which handles streaming\n // and abort gracefully.\n return createCachedPrerenderResponse(res, cacheKey, incrementalCacheConfig, incrementalCache, normalizedRevalidate, handleUnlock);\n }\n // fallthrough\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n case undefined:\n return createCachedDynamicResponse(workStore, res, cacheKey, incrementalCacheConfig, incrementalCache, serverComponentsHmrCache, normalizedRevalidate, input, handleUnlock, getRequestMeta('signal'));\n default:\n workUnitStore;\n }\n }\n // we had response that we determined shouldn't be cached so we return it\n // and don't cache it. This also needs to unlock the cache lock we acquired.\n await handleUnlock();\n return res;\n }).catch((error)=>{\n handleUnlock();\n throw error;\n });\n };\n let cacheReasonOverride;\n let isForegroundRevalidate = false;\n let isHmrRefreshCache = false;\n if (cacheKey && incrementalCache) {\n let cachedFetchData;\n if (isHmrRefresh && serverComponentsHmrCache) {\n cachedFetchData = serverComponentsHmrCache.get(cacheKey);\n isHmrRefreshCache = true;\n }\n if (isCacheableRevalidate && !cachedFetchData) {\n handleUnlock = await incrementalCache.lock(cacheKey);\n const entry = workStore.isOnDemandRevalidate ? null : await incrementalCache.get(cacheKey, {\n kind: IncrementalCacheKind.FETCH,\n revalidate: finalRevalidate,\n fetchUrl,\n fetchIdx,\n tags,\n softTags: implicitTags == null ? void 0 : implicitTags.tags\n });\n if (hasNoExplicitCacheConfig && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-runtime':\n // We sometimes use the cache to dedupe fetches that do not\n // specify a cache configuration. In these cases we want to\n // make sure we still exclude them from prerenders if\n // cacheComponents is on so we introduce an artificial task boundary\n // here.\n await getTimeoutBoundary();\n break;\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (entry) {\n await handleUnlock();\n } else {\n // in dev, incremental cache response will be null in case the browser adds `cache-control: no-cache` in the request headers\n // TODO: it seems like we also hit this after revalidates in dev?\n cacheReasonOverride = 'cache-control: no-cache (hard refresh)';\n }\n if ((entry == null ? void 0 : entry.value) && entry.value.kind === CachedRouteKind.FETCH) {\n // when stale and is revalidating we wait for fresh data\n // so the revalidated entry has the updated data\n if (workStore.isStaticGeneration && entry.isStale) {\n isForegroundRevalidate = true;\n } else {\n if (entry.isStale) {\n workStore.pendingRevalidates ??= {};\n if (!workStore.pendingRevalidates[cacheKey]) {\n const pendingRevalidate = doOriginalFetch(true).then(async (response)=>({\n body: await response.arrayBuffer(),\n headers: response.headers,\n status: response.status,\n statusText: response.statusText\n })).finally(()=>{\n workStore.pendingRevalidates ??= {};\n delete workStore.pendingRevalidates[cacheKey || ''];\n });\n // Attach the empty catch here so we don't get a \"unhandled\n // promise rejection\" warning.\n pendingRevalidate.catch(console.error);\n workStore.pendingRevalidates[cacheKey] = pendingRevalidate;\n }\n }\n cachedFetchData = entry.value.data;\n }\n }\n }\n if (cachedFetchData) {\n if (fetchStart) {\n trackFetchMetric(workStore, {\n start: fetchStart,\n url: fetchUrl,\n cacheReason,\n cacheStatus: isHmrRefreshCache ? 'hmr' : 'hit',\n cacheWarning,\n status: cachedFetchData.status || 200,\n method: (init == null ? void 0 : init.method) || 'GET'\n });\n }\n const response = new Response(Buffer.from(cachedFetchData.body, 'base64'), {\n headers: cachedFetchData.headers,\n status: cachedFetchData.status\n });\n Object.defineProperty(response, 'url', {\n value: cachedFetchData.url\n });\n return response;\n }\n }\n if ((workStore.isStaticGeneration || process.env.NODE_ENV === 'development' && process.env.__NEXT_CACHE_COMPONENTS && workUnitStore && // eslint-disable-next-line no-restricted-syntax\n workUnitStore.type === 'request' && workUnitStore.stagedRendering) && init && typeof init === 'object') {\n const { cache } = init;\n // Delete `cache` property as Cloudflare Workers will throw an error\n if (isEdgeRuntime) delete init.cache;\n if (cache === 'no-store') {\n // If enabled, we should bail out of static generation.\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'validation-client':\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n if (cacheSignal) {\n cacheSignal.endRead();\n cacheSignal = null;\n }\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `no-store fetch ${input} ${workStore.route}`);\n }\n const hasNextConfig = 'next' in init;\n const { next = {} } = init;\n if (typeof next.revalidate === 'number' && revalidateStore && next.revalidate < revalidateStore.revalidate) {\n if (next.revalidate === 0) {\n // If enabled, we should bail out of static generation.\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-runtime':\n case 'validation-client':\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, 'fetch()');\n case 'request':\n if (process.env.NODE_ENV === 'development' && workUnitStore.stagedRendering) {\n await workUnitStore.stagedRendering.waitForStage(RenderStage.Dynamic);\n }\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n markCurrentScopeAsDynamic(workStore, workUnitStore, `revalidate: 0 fetch ${input} ${workStore.route}`);\n }\n if (!workStore.forceStatic || next.revalidate !== 0) {\n revalidateStore.revalidate = next.revalidate;\n }\n }\n if (hasNextConfig) delete init.next;\n }\n // if we are revalidating the whole page via time or on-demand and\n // the fetch cache entry is stale we should still de-dupe the\n // origin hit if it's a cache-able entry\n if (cacheKey && isForegroundRevalidate) {\n const pendingRevalidateKey = cacheKey;\n workStore.pendingRevalidates ??= {};\n let pendingRevalidate = workStore.pendingRevalidates[pendingRevalidateKey];\n if (pendingRevalidate) {\n const revalidatedResult = await pendingRevalidate;\n return new Response(revalidatedResult.body, {\n headers: revalidatedResult.headers,\n status: revalidatedResult.status,\n statusText: revalidatedResult.statusText\n });\n }\n // We used to just resolve the Response and clone it however for\n // static generation with cacheComponents we need the response to be able to\n // be resolved in a microtask and cloning the response will never have\n // a body that can resolve in a microtask in node (as observed through\n // experimentation) So instead we await the body and then when it is\n // available we construct manually cloned Response objects with the\n // body as an ArrayBuffer. This will be resolvable in a microtask\n // making it compatible with cacheComponents.\n const pendingResponse = doOriginalFetch(true, cacheReasonOverride)// We're cloning the response using this utility because there\n // exists a bug in the undici library around response cloning.\n // See the following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n .then(cloneResponse);\n pendingRevalidate = pendingResponse.then(async (responses)=>{\n const response = responses[0];\n return {\n body: await response.arrayBuffer(),\n headers: response.headers,\n status: response.status,\n statusText: response.statusText\n };\n }).finally(()=>{\n var _workStore_pendingRevalidates;\n // If the pending revalidate is not present in the store, then\n // we have nothing to delete.\n if (!((_workStore_pendingRevalidates = workStore.pendingRevalidates) == null ? void 0 : _workStore_pendingRevalidates[pendingRevalidateKey])) {\n return;\n }\n delete workStore.pendingRevalidates[pendingRevalidateKey];\n });\n // Attach the empty catch here so we don't get a \"unhandled promise\n // rejection\" warning\n pendingRevalidate.catch(()=>{});\n workStore.pendingRevalidates[pendingRevalidateKey] = pendingRevalidate;\n return pendingResponse.then((responses)=>responses[1]);\n } else {\n return doOriginalFetch(false, cacheReasonOverride);\n }\n });\n if (cacheSignal) {\n try {\n return await result;\n } finally{\n if (cacheSignal) {\n cacheSignal.endRead();\n }\n }\n }\n return result;\n };\n // Attach the necessary properties to the patched fetch function.\n // We don't use this to determine if the fetch function has been patched,\n // but for external consumers to determine if the fetch function has been\n // patched.\n patched.__nextPatched = true;\n patched.__nextGetStaticStore = ()=>workAsyncStorage;\n patched._nextOriginalFetch = originFetch;\n globalThis[NEXT_PATCH_SYMBOL] = true;\n // Assign the function name also as a name property, so that it's preserved\n // even when mangling is enabled.\n Object.defineProperty(patched, 'name', {\n value: 'fetch',\n writable: false\n });\n return patched;\n}\n// we patch fetch to collect cache information used for\n// determining if a page is static or not\nexport function patchFetch(options) {\n // If we've already patched fetch, we should not patch it again.\n if (isFetchPatched()) return;\n // Grab the original fetch function. We'll attach this so we can use it in\n // the patched fetch function.\n const original = createDedupeFetch(globalThis.fetch);\n // Set the global fetch to the patched fetch.\n globalThis.fetch = createPatchedFetcher(original, options);\n}\nlet currentTimeoutBoundary = null;\nfunction getTimeoutBoundary() {\n if (!currentTimeoutBoundary) {\n currentTimeoutBoundary = new Promise((r)=>{\n setTimeout(()=>{\n currentTimeoutBoundary = null;\n r();\n }, 0);\n });\n }\n return currentTimeoutBoundary;\n}\n\n//# sourceMappingURL=patch-fetch.js.map","// TODO: isWellKnownError -> isNextInternalError\n// isReactLargeShellError -> isWarning\nexport function isReactLargeShellError(error) {\n return typeof error === 'object' && error !== null && 'message' in error && typeof error.message === 'string' && error.message.startsWith('This rendered a large document (>');\n}\n\n//# sourceMappingURL=react-large-shell-error.js.map","import { getDigestForWellKnownError } from './create-error-handler';\nimport { isReactLargeShellError } from './react-large-shell-error';\nexport var Phase = /*#__PURE__*/ function(Phase) {\n Phase[\"ProspectiveRender\"] = \"the prospective render\";\n Phase[\"SegmentCollection\"] = \"segment collection\";\n Phase[\"InstantValidation\"] = \"instant validation\";\n return Phase;\n}({});\nexport function printDebugThrownValueForProspectiveRender(thrownValue, route, phase) {\n // We don't need to print well-known Next.js errors.\n if (getDigestForWellKnownError(thrownValue)) {\n return;\n }\n if (isReactLargeShellError(thrownValue)) {\n // TODO: Aggregate\n console.error(thrownValue);\n return undefined;\n }\n let message;\n if (typeof thrownValue === 'object' && thrownValue !== null && typeof thrownValue.message === 'string') {\n message = thrownValue.message;\n if (typeof thrownValue.stack === 'string') {\n const originalErrorStack = thrownValue.stack;\n const stackStart = originalErrorStack.indexOf('\\n');\n if (stackStart > -1) {\n const error = Object.defineProperty(new Error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled.\n \nOriginal Error: ${message}`), \"__NEXT_ERROR_CODE\", {\n value: \"E949\",\n enumerable: false,\n configurable: true\n });\n error.stack = 'Error: ' + error.message + originalErrorStack.slice(stackStart);\n console.error(error);\n return;\n }\n }\n } else if (typeof thrownValue === 'string') {\n message = thrownValue;\n }\n if (message) {\n console.error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. No stack was provided.\n \nOriginal Message: ${message}`);\n return;\n }\n console.error(`Route ${route} errored during ${phase}. These errors are normally ignored and may not prevent the route from prerendering but are logged here because build debugging is enabled. The thrown value is logged just following this message`);\n console.error(thrownValue);\n return;\n}\n\n//# sourceMappingURL=prospective-render-utils.js.map","import { InvariantError } from '../../shared/lib/invariant-error';\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers';\nexport var RenderStage = /*#__PURE__*/ function(RenderStage) {\n RenderStage[RenderStage[\"Before\"] = 1] = \"Before\";\n RenderStage[RenderStage[\"EarlyStatic\"] = 2] = \"EarlyStatic\";\n RenderStage[RenderStage[\"Static\"] = 3] = \"Static\";\n RenderStage[RenderStage[\"EarlyRuntime\"] = 4] = \"EarlyRuntime\";\n RenderStage[RenderStage[\"Runtime\"] = 5] = \"Runtime\";\n RenderStage[RenderStage[\"Dynamic\"] = 6] = \"Dynamic\";\n RenderStage[RenderStage[\"Abandoned\"] = 7] = \"Abandoned\";\n return RenderStage;\n}({});\nexport class StagedRenderingController {\n constructor(abortSignal, abandonController, shouldTrackSyncIO){\n this.abortSignal = abortSignal;\n this.abandonController = abandonController;\n this.shouldTrackSyncIO = shouldTrackSyncIO;\n this.currentStage = 1;\n this.syncInterruptReason = null;\n this.staticStageEndTime = Infinity;\n this.runtimeStageEndTime = Infinity;\n this.staticStageListeners = [];\n this.earlyRuntimeStageListeners = [];\n this.runtimeStageListeners = [];\n this.dynamicStageListeners = [];\n this.staticStagePromise = createPromiseWithResolvers();\n this.earlyRuntimeStagePromise = createPromiseWithResolvers();\n this.runtimeStagePromise = createPromiseWithResolvers();\n this.dynamicStagePromise = createPromiseWithResolvers();\n if (abortSignal) {\n abortSignal.addEventListener('abort', ()=>{\n // Reject all stage promises that haven't already been resolved.\n // If a promise was already resolved via advanceStage, the reject\n // is a no-op. The ignoreReject handler suppresses unhandled\n // rejection warnings for promises that no one is awaiting.\n const { reason } = abortSignal;\n this.staticStagePromise.promise.catch(ignoreReject);\n this.staticStagePromise.reject(reason);\n this.earlyRuntimeStagePromise.promise.catch(ignoreReject);\n this.earlyRuntimeStagePromise.reject(reason);\n this.runtimeStagePromise.promise.catch(ignoreReject);\n this.runtimeStagePromise.reject(reason);\n this.dynamicStagePromise.promise.catch(ignoreReject);\n this.dynamicStagePromise.reject(reason);\n }, {\n once: true\n });\n }\n if (abandonController) {\n abandonController.signal.addEventListener('abort', ()=>{\n this.abandonRender();\n }, {\n once: true\n });\n }\n }\n onStage(stage, callback) {\n if (this.currentStage >= stage) {\n callback();\n } else if (stage === 3) {\n this.staticStageListeners.push(callback);\n } else if (stage === 4) {\n this.earlyRuntimeStageListeners.push(callback);\n } else if (stage === 5) {\n this.runtimeStageListeners.push(callback);\n } else if (stage === 6) {\n this.dynamicStageListeners.push(callback);\n } else {\n // This should never happen\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n shouldTrackSyncInterrupt() {\n if (!this.shouldTrackSyncIO) {\n return false;\n }\n switch(this.currentStage){\n case 1:\n // If we haven't started the render yet, it can't be interrupted.\n return false;\n case 2:\n case 3:\n return true;\n case 4:\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO\n // should error because it would abort a runtime prefetch.\n return true;\n case 5:\n // Runtime is for non-prefetchable segments. Sync IO is fine there\n // because in practice this segment will never be runtime prefetched\n return false;\n case 6:\n case 7:\n return false;\n default:\n return false;\n }\n }\n syncInterruptCurrentStageWithReason(reason) {\n if (this.currentStage === 1) {\n return;\n }\n // If the render has already been abandoned, there's nothing to interrupt.\n if (this.currentStage === 7) {\n return;\n }\n // If Sync IO occurs during an abandonable render, we trigger the abandon.\n // The abandon listener will call abandonRender which advances through\n // stages to let caches fill before marking as Abandoned.\n if (this.abandonController) {\n this.abandonController.abort();\n return;\n }\n if (this.abortSignal) {\n // If this is an abortable render, we capture the interruption reason and stop advancing.\n // We don't release any more promises.\n // The caller is expected to abort the signal.\n this.syncInterruptReason = reason;\n this.currentStage = 7;\n return;\n }\n // If we're in a non-abandonable & non-abortable render,\n // we need to advance to the Dynamic stage and capture the interruption reason.\n // (in dev, this will be the restarted render)\n switch(this.currentStage){\n case 2:\n case 3:\n case 4:\n {\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO here\n // means the prefetch would be aborted too early.\n this.syncInterruptReason = reason;\n this.advanceStage(6);\n return;\n }\n case 5:\n {\n // canSyncInterrupt returns false for Runtime, so we should\n // never get here. Defensive no-op.\n return;\n }\n case 6:\n default:\n }\n }\n getSyncInterruptReason() {\n return this.syncInterruptReason;\n }\n getStaticStageEndTime() {\n return this.staticStageEndTime;\n }\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime;\n }\n abandonRender() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the next stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this;\n switch(currentStage){\n case 2:\n {\n this.resolveStaticStage();\n }\n // intentional fallthrough\n case 3:\n {\n this.resolveEarlyRuntimeStage();\n }\n // intentional fallthrough\n case 4:\n {\n this.resolveRuntimeStage();\n }\n // intentional fallthrough\n case 5:\n {\n this.currentStage = 7;\n return;\n }\n case 6:\n case 1:\n case 7:\n break;\n default:\n {\n currentStage;\n }\n }\n }\n advanceStage(stage) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return;\n }\n let currentStage = this.currentStage;\n this.currentStage = stage;\n if (currentStage < 3 && stage >= 3) {\n this.resolveStaticStage();\n }\n if (currentStage < 4 && stage >= 4) {\n this.resolveEarlyRuntimeStage();\n }\n if (currentStage < 5 && stage >= 5) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveRuntimeStage();\n }\n if (currentStage < 6 && stage >= 6) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveDynamicStage();\n return;\n }\n }\n /** Fire the `onStage` listeners for the static stage and unblock any promises waiting for it. */ resolveStaticStage() {\n const staticListeners = this.staticStageListeners;\n for(let i = 0; i < staticListeners.length; i++){\n staticListeners[i]();\n }\n staticListeners.length = 0;\n this.staticStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the early runtime stage and unblock any promises waiting for it. */ resolveEarlyRuntimeStage() {\n const earlyRuntimeListeners = this.earlyRuntimeStageListeners;\n for(let i = 0; i < earlyRuntimeListeners.length; i++){\n earlyRuntimeListeners[i]();\n }\n earlyRuntimeListeners.length = 0;\n this.earlyRuntimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */ resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners;\n for(let i = 0; i < runtimeListeners.length; i++){\n runtimeListeners[i]();\n }\n runtimeListeners.length = 0;\n this.runtimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */ resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners;\n for(let i = 0; i < dynamicListeners.length; i++){\n dynamicListeners[i]();\n }\n dynamicListeners.length = 0;\n this.dynamicStagePromise.resolve();\n }\n getStagePromise(stage) {\n switch(stage){\n case 3:\n {\n return this.staticStagePromise.promise;\n }\n case 4:\n {\n return this.earlyRuntimeStagePromise.promise;\n }\n case 5:\n {\n return this.runtimeStagePromise.promise;\n }\n case 6:\n {\n return this.dynamicStagePromise.promise;\n }\n default:\n {\n stage;\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n waitForStage(stage) {\n return this.getStagePromise(stage);\n }\n delayUntilStage(stage, displayName, resolvedValue) {\n const ioTriggerPromise = this.getStagePromise(stage);\n const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject);\n }\n return promise;\n }\n}\nfunction ignoreReject() {}\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise((resolve, reject)=>{\n ioTrigger.then(resolve.bind(null, resolvedValue), reject);\n });\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName;\n }\n return promise;\n}\n\n//# sourceMappingURL=staged-rendering.js.map","import { resolveArray, resolveAsArrayOrUndefined } from '../generate/utils';\nimport { getSocialImageMetadataBaseFallback, isStringOrURL, resolveUrl, resolveAbsoluteUrlWithPathname } from './resolve-url';\nimport { resolveTitle } from './resolve-title';\nimport { isFullStringUrl } from '../../url';\nimport { warnOnce } from '../../../build/output/log';\nconst OgTypeFields = {\n article: [\n 'authors',\n 'tags'\n ],\n song: [\n 'albums',\n 'musicians'\n ],\n playlist: [\n 'albums',\n 'musicians'\n ],\n radio: [\n 'creators'\n ],\n video: [\n 'actors',\n 'directors',\n 'writers',\n 'tags'\n ],\n basic: [\n 'emails',\n 'phoneNumbers',\n 'faxNumbers',\n 'alternateLocale',\n 'audio',\n 'videos'\n ]\n};\nfunction resolveAndValidateImage(item, metadataBase, isStaticMetadataRouteFile) {\n if (!item) return undefined;\n const isItemUrl = isStringOrURL(item);\n const inputUrl = isItemUrl ? item : item.url;\n if (!inputUrl) return undefined;\n // process.env.VERCEL is set to \"1\" when System Environment Variables are\n // exposed. When exposed, validation is not necessary since we are falling back to\n // process.env.VERCEL_PROJECT_PRODUCTION_URL, process.env.VERCEL_BRANCH_URL, or\n // process.env.VERCEL_URL for the `metadataBase`. process.env.VERCEL is undefined\n // when System Environment Variables are not exposed. When not exposed, we cannot\n // detect in the build environment if the deployment is a Vercel deployment or not.\n //\n // x-ref: https://vercel.com/docs/projects/environment-variables/system-environment-variables#system-environment-variables\n const isUsingVercelSystemEnvironmentVariables = Boolean(process.env.VERCEL);\n const isRelativeUrl = typeof inputUrl === 'string' && !isFullStringUrl(inputUrl);\n // When no explicit metadataBase is specified by the user, we'll override it with the fallback metadata\n // under the following conditions:\n // - The provided URL is relative (ie ./og-image).\n // - The image is statically generated by Next.js (such as the special `opengraph-image` route)\n // In both cases, we want to ensure that across all environments, the ogImage is a fully qualified URL.\n // In the `opengraph-image` case, since the user isn't explicitly passing a relative path, this ensures\n // the ogImage will be properly discovered across different environments without the user needing to\n // have a bunch of `process.env` checks when defining their `metadataBase`.\n if (isRelativeUrl && (!metadataBase || isStaticMetadataRouteFile)) {\n const fallbackMetadataBase = getSocialImageMetadataBaseFallback(metadataBase);\n // When not using Vercel environment variables for URL injection, we aren't able to determine\n // a fallback value for `metadataBase`. For self-hosted setups, we want to warn\n // about this since the only fallback we'll be able to generate is `localhost`.\n // In development, we'll only warn for relative metadata that isn't part of the static\n // metadata conventions (eg `opengraph-image`), as otherwise it's currently very noisy\n // for common cases. Eventually we should remove this warning all together in favor of\n // devtools.\n const shouldWarn = !isUsingVercelSystemEnvironmentVariables && !metadataBase && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);\n if (shouldWarn) {\n warnOnce(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using \"${fallbackMetadataBase.origin}\". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`);\n }\n metadataBase = fallbackMetadataBase;\n }\n return isItemUrl ? {\n url: resolveUrl(inputUrl, metadataBase)\n } : {\n ...item,\n // Update image descriptor url\n url: resolveUrl(inputUrl, metadataBase)\n };\n}\nexport function resolveImages(images, metadataBase, isStaticMetadataRouteFile) {\n const resolvedImages = resolveAsArrayOrUndefined(images);\n if (!resolvedImages) return resolvedImages;\n const nonNullableImages = [];\n for (const item of resolvedImages){\n const resolvedItem = resolveAndValidateImage(item, metadataBase, isStaticMetadataRouteFile);\n if (!resolvedItem) continue;\n nonNullableImages.push(resolvedItem);\n }\n return nonNullableImages;\n}\nconst ogTypeToFields = {\n article: OgTypeFields.article,\n book: OgTypeFields.article,\n 'music.song': OgTypeFields.song,\n 'music.album': OgTypeFields.song,\n 'music.playlist': OgTypeFields.playlist,\n 'music.radio_station': OgTypeFields.radio,\n 'video.movie': OgTypeFields.video,\n 'video.episode': OgTypeFields.video\n};\nfunction getFieldsByOgType(ogType) {\n if (!ogType || !(ogType in ogTypeToFields)) return OgTypeFields.basic;\n return ogTypeToFields[ogType].concat(OgTypeFields.basic);\n}\nexport const resolveOpenGraph = async (openGraph, metadataBase, pathname, metadataContext, titleTemplate)=>{\n if (!openGraph) return null;\n function resolveProps(target, og) {\n const ogType = og && 'type' in og ? og.type : undefined;\n const keys = getFieldsByOgType(ogType);\n for (const k of keys){\n const key = k;\n if (key in og && key !== 'url') {\n const value = og[key];\n target[key] = value ? resolveArray(value) : null;\n }\n }\n target.images = resolveImages(og.images, metadataBase, metadataContext.isStaticMetadataRouteFile);\n }\n const resolved = {\n ...openGraph,\n title: resolveTitle(openGraph.title, titleTemplate)\n };\n resolveProps(resolved, openGraph);\n resolved.url = openGraph.url ? resolveAbsoluteUrlWithPathname(openGraph.url, metadataBase, await pathname, metadataContext) : null;\n return resolved;\n};\nconst TwitterBasicInfoKeys = [\n 'site',\n 'siteId',\n 'creator',\n 'creatorId',\n 'description'\n];\nexport const resolveTwitter = (twitter, metadataBase, metadataContext, titleTemplate)=>{\n var _resolved_images;\n if (!twitter) return null;\n let card = 'card' in twitter ? twitter.card : undefined;\n const resolved = {\n ...twitter,\n title: resolveTitle(twitter.title, titleTemplate)\n };\n for (const infoKey of TwitterBasicInfoKeys){\n resolved[infoKey] = twitter[infoKey] || null;\n }\n resolved.images = resolveImages(twitter.images, metadataBase, metadataContext.isStaticMetadataRouteFile);\n card = card || (((_resolved_images = resolved.images) == null ? void 0 : _resolved_images.length) ? 'summary_large_image' : 'summary');\n resolved.card = card;\n if ('card' in resolved) {\n switch(resolved.card){\n case 'player':\n {\n resolved.players = resolveAsArrayOrUndefined(resolved.players) || [];\n break;\n }\n case 'app':\n {\n resolved.app = resolved.app || {};\n break;\n }\n case 'summary':\n case 'summary_large_image':\n break;\n default:\n resolved;\n }\n }\n return resolved;\n};\n\n//# sourceMappingURL=resolve-opengraph.js.map","import { resolveAsArrayOrUndefined } from '../generate/utils';\nimport { isStringOrURL } from './resolve-url';\nimport { IconKeys } from '../constants';\nexport function resolveIcon(icon) {\n if (isStringOrURL(icon)) return {\n url: icon\n };\n else if (Array.isArray(icon)) return icon;\n return icon;\n}\nexport const resolveIcons = (icons)=>{\n if (!icons) {\n return null;\n }\n const resolved = {\n icon: [],\n apple: []\n };\n if (Array.isArray(icons)) {\n resolved.icon = icons.map(resolveIcon).filter(Boolean);\n } else if (isStringOrURL(icons)) {\n resolved.icon = [\n resolveIcon(icons)\n ];\n } else {\n for (const key of IconKeys){\n const values = resolveAsArrayOrUndefined(icons[key]);\n if (values) resolved[key] = values.map(resolveIcon);\n }\n }\n return resolved;\n};\n\n//# sourceMappingURL=resolve-icons.js.map","/* eslint-disable @next/internal/no-ambiguous-jsx -- Bundled in entry-base so it gets the right JSX runtime. */ import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { PrefetchHint } from '../../shared/lib/app-router-types';\nimport { readVaryParams } from '../../shared/lib/segment-cache/vary-params-decoding';\nimport { PAGE_SEGMENT_KEY } from '../../shared/lib/segment';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { createFromReadableStream } from 'react-server-dom-webpack/client';\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { prerender } from 'react-server-dom-webpack/static';\nimport { streamFromBuffer, streamToBuffer } from '../stream-utils/node-web-streams-helper';\nimport { waitAtLeastOneReactRenderTask } from '../../lib/scheduler';\nimport { createSegmentRequestKeyPart, appendSegmentRequestKeyPart, ROOT_SEGMENT_REQUEST_KEY, HEAD_REQUEST_KEY } from '../../shared/lib/segment-cache/segment-value-encoding';\nimport { getDigestForWellKnownError } from './create-error-handler';\nimport { Phase, printDebugThrownValueForProspectiveRender } from './prospective-render-utils';\nimport { workAsyncStorage } from './work-async-storage.external';\nconst filterStackFrame = process.env.NODE_ENV !== 'production' ? require('../lib/source-maps').filterStackFrameDEV : undefined;\nconst findSourceMapURL = process.env.NODE_ENV !== 'production' ? require('../lib/source-maps').findSourceMapURLDEV : undefined;\nfunction onSegmentPrerenderError(error) {\n const digest = getDigestForWellKnownError(error);\n if (digest) {\n return digest;\n }\n // We don't need to log the errors because we would have already done that\n // when generating the original Flight stream for the whole page.\n if (process.env.NEXT_DEBUG_BUILD || process.env.__NEXT_VERBOSE_LOGGING) {\n const workStore = workAsyncStorage.getStore();\n printDebugThrownValueForProspectiveRender(error, (workStore == null ? void 0 : workStore.route) ?? 'unknown route', Phase.SegmentCollection);\n }\n}\n/**\n * Extract the FlightRouterState, seed data, and head from a prerendered\n * InitialRSCPayload. Returns null if the payload doesn't match the expected\n * shape (single path with 3 elements).\n */ function extractFlightData(initialRSCPayload) {\n const flightDataPaths = initialRSCPayload.f;\n // FlightDataPath is an unsound type, hence the additional checks.\n if (flightDataPaths.length !== 1 && flightDataPaths[0].length !== 3) {\n console.error('Internal Next.js error: InitialRSCPayload does not match the expected ' + 'shape for a prerendered page during segment prefetch generation.');\n return null;\n }\n return {\n buildId: initialRSCPayload.b,\n flightRouterState: flightDataPaths[0][0],\n seedData: flightDataPaths[0][1],\n head: flightDataPaths[0][2]\n };\n}\nexport async function collectSegmentData(isCacheComponentsEnabled, fullPageDataBuffer, staleTime, clientModules, serverConsumerManifest, prefetchInlining, hints) {\n // Traverse the router tree and generate a prefetch response for each segment.\n // A mutable map to collect the results as we traverse the route tree.\n const resultMap = new Map();\n // Before we start, warm up the module cache by decoding the page data once.\n // Then we can assume that any remaining async tasks that occur the next time\n // are due to hanging promises caused by dynamic data access. Note we only\n // have to do this once per page, not per individual segment.\n //\n try {\n await createFromReadableStream(streamFromBuffer(fullPageDataBuffer), {\n findSourceMapURL,\n serverConsumerManifest\n });\n await waitAtLeastOneReactRenderTask();\n } catch {}\n // Create an abort controller that we'll use to stop the stream.\n const abortController = new AbortController();\n const onCompletedProcessingRouteTree = async ()=>{\n // Since all we're doing is decoding and re-encoding a cached prerender, if\n // serializing the stream takes longer than a microtask, it must because of\n // hanging promises caused by dynamic data.\n await waitAtLeastOneReactRenderTask();\n abortController.abort();\n };\n // Generate a stream for the route tree prefetch. While we're walking the\n // tree, we'll also spawn additional tasks to generate the segment prefetches.\n // The promises for these tasks are pushed to a mutable array that we will\n // await once the route tree is fully rendered.\n const segmentTasks = [];\n const { prelude: treeStream } = await prerender(// RootTreePrefetch is not a valid return type for a React component, but\n // we need to use a component so that when we decode the original stream\n // inside of it, the side effects are transferred to the new stream.\n // @ts-expect-error\n /*#__PURE__*/ _jsx(PrefetchTreeData, {\n isClientParamParsingEnabled: isCacheComponentsEnabled,\n fullPageDataBuffer: fullPageDataBuffer,\n serverConsumerManifest: serverConsumerManifest,\n clientModules: clientModules,\n staleTime: staleTime,\n segmentTasks: segmentTasks,\n onCompletedProcessingRouteTree: onCompletedProcessingRouteTree,\n prefetchInlining: prefetchInlining,\n hints: hints\n }), clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError: onSegmentPrerenderError\n });\n // Write the route tree to a special `/_tree` segment.\n const treeBuffer = await streamToBuffer(treeStream);\n resultMap.set('/_tree', treeBuffer);\n // Also output the entire full page data response\n resultMap.set('/_full', fullPageDataBuffer);\n // Now that we've finished rendering the route tree, all the segment tasks\n // should have been spawned. Await them in parallel and write the segment\n // prefetches to the result map.\n let hasPageSegment = false;\n for (const [segmentPath, buffer] of (await Promise.all(segmentTasks))){\n resultMap.set(segmentPath, buffer);\n if (segmentPath.endsWith('__PAGE__')) {\n hasPageSegment = true;\n }\n }\n if (!hasPageSegment) {\n // The build requires at least one segment path ending with __PAGE__ to\n // register the catch-all segment data route. When all page segments are\n // disabled (e.g. every leaf has runtime prefetching), no __PAGE__ entry\n // is emitted. Write a dummy entry with a path that doesn't match any\n // real route segment so the client will never request it.\n //\n // TODO: Remove the __PAGE__ requirement from the build instead of\n // working around it here. The invariant is outdated now that segments\n // can be disabled.\n resultMap.set('/todo-remove-fake-segment/__PAGE__', Buffer.alloc(0));\n }\n return resultMap;\n}\n/**\n * Compute prefetch hints for a route by measuring segment sizes and deciding\n * which segments should be inlined. Only runs at build time. The results are\n * written to prefetch-hints.json and loaded at server startup.\n *\n * This is a separate pass from collectSegmentData so that the inlining\n * decisions can be fed back into collectSegmentData to control which segments\n * are output as separate entries vs. inlined into their parent.\n */ export async function collectPrefetchHints(fullPageDataBuffer, staleTime, clientModules, serverConsumerManifest, maxSize, maxBundleSize) {\n // Warm up the module cache, same as collectSegmentData.\n try {\n await createFromReadableStream(streamFromBuffer(fullPageDataBuffer), {\n findSourceMapURL,\n serverConsumerManifest\n });\n await waitAtLeastOneReactRenderTask();\n } catch {}\n // Decode the Flight data to walk the route tree.\n const initialRSCPayload = await createFromReadableStream(createUnclosingPrefetchStream(streamFromBuffer(fullPageDataBuffer)), {\n findSourceMapURL,\n serverConsumerManifest\n });\n const flightData = extractFlightData(initialRSCPayload);\n if (flightData === null) {\n return {\n hints: 0,\n slots: null\n };\n }\n const { buildId, flightRouterState, seedData, head } = flightData;\n // Measure the head (metadata/viewport) gzip size so the main traversal\n // can decide whether to inline it into a page's bundle.\n const headVaryParamsThenable = initialRSCPayload.h;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n const [, headBuffer] = await renderSegmentPrefetch(buildId, staleTime, head, HEAD_REQUEST_KEY, headVaryParams, clientModules);\n const headGzipSize = await getGzipSize(headBuffer);\n // Mutable accumulator: the first page leaf that can fit the head sets\n // this to true. Once set, subsequent leaves skip the check.\n const headInlineState = {\n inlined: false\n };\n // Walk the tree with the parent-first, child-decides algorithm.\n const { node } = await collectPrefetchHintsImpl(flightRouterState, buildId, staleTime, seedData, clientModules, ROOT_SEGMENT_REQUEST_KEY, null, maxSize, maxBundleSize, headGzipSize, headInlineState);\n if (!headInlineState.inlined) {\n // No page could accept the head. Set HeadOutlined on the root so the\n // client knows to fetch the head separately.\n node.hints |= PrefetchHint.HeadOutlined;\n }\n return node;\n}\n// Measure a segment's gzip size and decide whether it should be inlined.\n//\n// These hints are computed once during build and never change for the\n// lifetime of that deployment. The client can assume that hints delivered as\n// part of one request will be the same during a subsequent request, given\n// the same build ID. There's no skew to worry about as long as the build\n// itself is consistent.\n//\n// In the Segment Cache, we split page prefetches into multiple requests so\n// that each one can be cached and deduped independently. However, some\n// segments are small enough that the potential caching benefits are not worth\n// the additional network overhead. For these, we inline a parent's data into\n// one of its children's responses, avoiding a separate request. The parent\n// is inlined into the child (not the other way around) because the parent's\n// response is more likely to be shared across multiple pages. The child's\n// response is already page-specific, so adding the parent's data there\n// doesn't meaningfully reduce deduplication. It's similar to how JS bundlers\n// decide whether to inline a module into a chunk.\n//\n// The algorithm is parent-first, child-decides: the parent measures itself\n// and passes its gzip size down. Each child decides whether to accept. A\n// child rejects if the parent exceeds maxSize or if accepting would push\n// the cumulative inlined bytes past maxBundleSize. This produces\n// both ParentInlinedIntoSelf (on the child) and InlinedIntoChild (on the\n// parent) in a single pass.\nasync function collectPrefetchHintsImpl(route, buildId, staleTime, seedData, clientModules, // TODO: Consider persisting the computed requestKey into the hints output\n// so it doesn't need to be recomputed during the build. This might also\n// suggest renaming prefetch-hints.json to something like\n// segment-manifest.json, since it would contain more than just hints.\nrequestKey, parentGzipSize, maxSize, maxBundleSize, headGzipSize, headInlineState) {\n // Render current segment and measure its gzip size.\n let currentGzipSize = null;\n if (seedData !== null) {\n const varyParamsThenable = seedData[4];\n const varyParams = varyParamsThenable !== null ? readVaryParams(varyParamsThenable) : null;\n const [, buffer] = await renderSegmentPrefetch(buildId, staleTime, seedData[0], requestKey, varyParams, clientModules);\n currentGzipSize = await getGzipSize(buffer);\n }\n // Only offer this segment to its children for inlining if its gzip size\n // is below maxSize. Segments above this get their own response.\n const sizeToInline = currentGzipSize !== null && currentGzipSize < maxSize ? currentGzipSize : null;\n // Process children serially (not in parallel) to ensure deterministic\n // results. Since this only runs at build time and the rendering is just\n // re-encoding cached prerenders, this won't impact build times. Each child\n // receives our gzip size and decides whether to inline us. Once a child\n // accepts, we stop offering to remaining siblings — the parent is only\n // inlined into one child. In parallel routes, this avoids duplicating the\n // parent's data across multiple sibling responses.\n const children = route[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n let slots = null;\n let didInlineIntoChild = false;\n let acceptingChildInlinedBytes = 0;\n // Track the smallest inlinedBytes across all children so we know how much\n // budget remains along the best path. When our own parent asks whether we\n // can accept its data, the parent's bytes would flow through to the child\n // with the most remaining headroom.\n let smallestChildInlinedBytes = Infinity;\n let hasChildren = false;\n for(const parallelRouteKey in children){\n hasChildren = true;\n const childRoute = children[parallelRouteKey];\n const childSegment = childRoute[0];\n const childSeedData = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, createSegmentRequestKeyPart(childSegment));\n const childResult = await collectPrefetchHintsImpl(childRoute, buildId, staleTime, childSeedData, clientModules, childRequestKey, // Once a child has accepted us, stop offering to remaining siblings.\n didInlineIntoChild ? null : sizeToInline, maxSize, maxBundleSize, headGzipSize, headInlineState);\n if (slots === null) {\n slots = {};\n }\n slots[parallelRouteKey] = childResult.node;\n if (childResult.node.hints & PrefetchHint.ParentInlinedIntoSelf) {\n // This child accepted our data — it will include our segment's\n // response in its own. No need to track headroom anymore since\n // we already know which child we're inlined into.\n didInlineIntoChild = true;\n acceptingChildInlinedBytes = childResult.inlinedBytes;\n } else if (!didInlineIntoChild) {\n // Track the child with the most remaining headroom. Used below\n // when deciding whether to accept our own parent's data.\n if (childResult.inlinedBytes < smallestChildInlinedBytes) {\n smallestChildInlinedBytes = childResult.inlinedBytes;\n }\n }\n }\n // Leaf segment: no children have consumed any budget yet.\n if (!hasChildren) {\n smallestChildInlinedBytes = 0;\n }\n // Mark this segment as InlinedIntoChild if one of its children accepted.\n // This means this segment doesn't need its own prefetch response — its\n // data is included in the accepting child's response instead.\n let hints = 0;\n if (didInlineIntoChild) {\n hints |= PrefetchHint.InlinedIntoChild;\n }\n // inlinedBytes represents the total gzipped bytes of parent data inlined\n // into the deepest \"inlining target\" along this branch. It starts at 0 at\n // the leaves and grows as parents are inlined going back up the tree. If a\n // child accepted us, our size is already counted in that child's value.\n let inlinedBytes = didInlineIntoChild ? acceptingChildInlinedBytes : smallestChildInlinedBytes;\n // At leaf nodes (pages), try to inline the head (metadata/viewport) into\n // this page's response. The head is treated like an additional inlined\n // entry — it counts against the same total budget. Only the first page\n // that has room gets the head; subsequent pages skip via the shared\n // headInlineState accumulator.\n if (!hasChildren && !headInlineState.inlined) {\n if (inlinedBytes + headGzipSize < maxBundleSize) {\n hints |= PrefetchHint.HeadInlinedIntoSelf;\n inlinedBytes += headGzipSize;\n headInlineState.inlined = true;\n }\n }\n // Decide whether to accept our own parent's data. Two conditions:\n //\n // 1. The parent offered us a size (parentGzipSize is not null). It's null\n // when the parent is too large to inline or when this is the root.\n //\n // 2. The total inlined bytes along this branch wouldn't exceed the budget.\n // Even if each segment is individually small, at some point it no\n // longer makes sense to keep adding bytes because the combined response\n // is unique per URL and can't be deduped.\n //\n // A node can be both InlinedIntoChild and ParentInlinedIntoSelf. This\n // happens in multi-level chains: GP → P → C where all are small. C\n // accepts P (P is InlinedIntoChild), then P also accepts GP (P is\n // ParentInlinedIntoSelf). The result: C's response includes both P's\n // and GP's data. The parent's data flows through to the deepest\n // accepting descendant.\n if (parentGzipSize !== null) {\n if (inlinedBytes + parentGzipSize < maxBundleSize) {\n hints |= PrefetchHint.ParentInlinedIntoSelf;\n inlinedBytes += parentGzipSize;\n }\n }\n return {\n node: {\n hints,\n slots\n },\n inlinedBytes\n };\n}\n// We use gzip size rather than raw size because it better reflects the actual\n// transfer cost. The inlining trade-off is about whether the overhead of an\n// additional HTTP request (connection setup, headers, round trip) is worth\n// the deduplication benefit of keeping a segment separate. Below some\n// compressed size, the request overhead dominates and inlining is better.\n// Above it, the deduplication benefit of a cacheable standalone response\n// wins out.\nasync function getGzipSize(buffer) {\n const stream = new Blob([\n new Uint8Array(buffer)\n ]).stream().pipeThrough(new CompressionStream('gzip'));\n const compressedBlob = await new Response(stream).blob();\n return compressedBlob.size;\n}\nasync function PrefetchTreeData({ isClientParamParsingEnabled, fullPageDataBuffer, serverConsumerManifest, clientModules, staleTime, segmentTasks, onCompletedProcessingRouteTree, prefetchInlining, hints }) {\n // We're currently rendering a Flight response for the route tree prefetch.\n // Inside this component, decode the Flight stream for the whole page. This is\n // a hack to transfer the side effects from the original Flight stream (e.g.\n // Float preloads) onto the Flight stream for the tree prefetch.\n // TODO: React needs a better way to do this. Needed for Server Actions, too.\n const initialRSCPayload = await createFromReadableStream(createUnclosingPrefetchStream(streamFromBuffer(fullPageDataBuffer)), {\n findSourceMapURL,\n serverConsumerManifest\n });\n const flightData = extractFlightData(initialRSCPayload);\n if (flightData === null) {\n return null;\n }\n const { buildId, flightRouterState, seedData, head } = flightData;\n // Extract the head vary params from the decoded response.\n // The head vary params thenable should be fulfilled by now; if not, treat\n // as unknown (null).\n const headVaryParamsThenable = initialRSCPayload.h;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n // Compute the route metadata tree by traversing the FlightRouterState. As we\n // walk the tree, we will also spawn a task to produce a prefetch response for\n // each segment (unless prefetch inlining is enabled, in which case all\n // segments are bundled into a single /_inlined response).\n const tree = collectSegmentDataImpl(isClientParamParsingEnabled, flightRouterState, buildId, staleTime, seedData, clientModules, ROOT_SEGMENT_REQUEST_KEY, segmentTasks, prefetchInlining, hints);\n if (prefetchInlining) {\n // When prefetch inlining is enabled, bundle all segment data into a single\n // /_inlined response instead of individual per-segment responses. The head\n // is also included in the inlined response.\n segmentTasks.push(waitAtLeastOneReactRenderTask().then(()=>renderInlinedPrefetchResponse(flightRouterState, buildId, staleTime, seedData, head, headVaryParams, clientModules)));\n } else {\n // Also spawn a task to produce a prefetch response for the \"head\" segment.\n // The head contains metadata, like the title; it's not really a route\n // segment, but it contains RSC data, so it's treated like a segment by\n // the client cache.\n segmentTasks.push(waitAtLeastOneReactRenderTask().then(()=>renderSegmentPrefetch(buildId, staleTime, head, HEAD_REQUEST_KEY, headVaryParams, clientModules)));\n }\n // Notify the abort controller that we're done processing the route tree.\n // Anything async that happens after this point must be due to hanging\n // promises in the original stream.\n onCompletedProcessingRouteTree();\n // Render the route tree to a special `/_tree` segment.\n const treePrefetch = {\n tree,\n staleTime\n };\n if (buildId) {\n treePrefetch.buildId = buildId;\n }\n return treePrefetch;\n}\nfunction collectSegmentDataImpl(isClientParamParsingEnabled, route, buildId, staleTime, seedData, clientModules, requestKey, segmentTasks, prefetchInlining, hintTree) {\n // Metadata about the segment. Sent as part of the tree prefetch. Null if\n // there are no children.\n let slotMetadata = null;\n const children = route[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n for(const parallelRouteKey in children){\n const childRoute = children[parallelRouteKey];\n const childSegment = childRoute[0];\n const childSeedData = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, createSegmentRequestKeyPart(childSegment));\n const childHintTree = hintTree !== null && hintTree.slots !== null ? hintTree.slots[parallelRouteKey] ?? null : null;\n const childTree = collectSegmentDataImpl(isClientParamParsingEnabled, childRoute, buildId, staleTime, childSeedData, clientModules, childRequestKey, segmentTasks, prefetchInlining, childHintTree);\n if (slotMetadata === null) {\n slotMetadata = {};\n }\n slotMetadata[parallelRouteKey] = childTree;\n }\n // Union the hints already embedded in the FlightRouterState with the\n // separately-computed build-time hints. During the initial build, the\n // FlightRouterState was produced before collectPrefetchHints ran, so\n // inlining hints (ParentInlinedIntoSelf, InlinedIntoChild) won't be in\n // route[4] yet. On subsequent renders the hints are already in the\n // FlightRouterState, so the union is idempotent.\n const prefetchHints = (route[4] ?? 0) | (hintTree !== null ? hintTree.hints : 0);\n // Determine which params this segment varies on.\n // Read the vary params thenable directly from the seed data. By the time\n // collectSegmentData runs, the thenable should be fulfilled. If it's not\n // fulfilled or null, treat as unknown (null means we can't share cache\n // entries across param values).\n const varyParamsThenable = seedData !== null ? seedData[4] : null;\n const varyParams = varyParamsThenable !== null ? readVaryParams(varyParamsThenable) : null;\n if (!prefetchInlining) {\n // When prefetch inlining is disabled, spawn individual segment tasks.\n // When enabled, segment data is bundled into the /_inlined response\n // instead, so we skip per-segment tasks here.\n if (seedData !== null) {\n // Spawn a task to write the segment data to a new Flight stream.\n segmentTasks.push(// Since we're already in the middle of a render, wait until after the\n // current task to escape the current rendering context.\n waitAtLeastOneReactRenderTask().then(()=>renderSegmentPrefetch(buildId, staleTime, seedData[0], requestKey, varyParams, clientModules)));\n } else {\n // This segment does not have any seed data. Skip generating a prefetch\n // response for it. We'll still include it in the route tree, though.\n // TODO: We should encode in the route tree whether a segment is missing\n // so we don't attempt to fetch it for no reason. As of now this shouldn't\n // ever happen in practice, though.\n }\n }\n const segment = route[0];\n let name;\n let param;\n if (typeof segment === 'string') {\n name = segment;\n param = null;\n } else {\n name = segment[0];\n param = {\n type: segment[2],\n // This value is omitted from the prefetch response when cacheComponents\n // is enabled.\n key: isClientParamParsingEnabled ? null : segment[1],\n siblings: segment[3]\n };\n }\n // Metadata about the segment. Sent to the client as part of the\n // tree prefetch.\n return {\n name,\n param,\n prefetchHints,\n slots: slotMetadata\n };\n}\nasync function renderSegmentPrefetch(buildId, staleTime, rsc, requestKey, varyParams, clientModules) {\n // Render the segment data to a stream.\n const segmentPrefetch = {\n rsc,\n isPartial: await isPartialRSCData(rsc, clientModules),\n staleTime,\n varyParams\n };\n if (buildId) {\n segmentPrefetch.buildId = buildId;\n }\n // Since all we're doing is decoding and re-encoding a cached prerender, if\n // it takes longer than a microtask, it must because of hanging promises\n // caused by dynamic data. Abort the stream at the end of the current task.\n const abortController = new AbortController();\n waitAtLeastOneReactRenderTask().then(()=>abortController.abort());\n const { prelude: segmentStream } = await prerender(segmentPrefetch, clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError: onSegmentPrerenderError\n });\n const segmentBuffer = await streamToBuffer(segmentStream);\n if (requestKey === ROOT_SEGMENT_REQUEST_KEY) {\n return [\n '/_index',\n segmentBuffer\n ];\n } else {\n return [\n requestKey,\n segmentBuffer\n ];\n }\n}\nasync function renderInlinedPrefetchResponse(route, buildId, staleTime, seedData, head, headVaryParams, clientModules) {\n // Build the inlined tree by walking the route and collecting all segments.\n const inlinedTree = await buildInlinedSegmentPrefetch(route, buildId, staleTime, seedData, clientModules);\n // Build the head segment.\n const headPrefetch = {\n rsc: head,\n isPartial: await isPartialRSCData(head, clientModules),\n staleTime,\n varyParams: headVaryParams\n };\n if (buildId) {\n headPrefetch.buildId = buildId;\n }\n const response = {\n tree: inlinedTree,\n head: headPrefetch\n };\n // Render as a single Flight response.\n const abortController = new AbortController();\n waitAtLeastOneReactRenderTask().then(()=>abortController.abort());\n const { prelude } = await prerender(response, clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError: onSegmentPrerenderError\n });\n const buffer = await streamToBuffer(prelude);\n return [\n '/' + PAGE_SEGMENT_KEY,\n buffer\n ];\n}\nasync function buildInlinedSegmentPrefetch(route, buildId, staleTime, seedData, clientModules) {\n let slots = null;\n const children = route[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n for(const parallelRouteKey in children){\n const childRoute = children[parallelRouteKey];\n const childSeedData = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const childPrefetch = await buildInlinedSegmentPrefetch(childRoute, buildId, staleTime, childSeedData, clientModules);\n if (slots === null) {\n slots = {};\n }\n slots[parallelRouteKey] = childPrefetch;\n }\n const rsc = seedData !== null ? seedData[0] : null;\n const varyParamsThenable = seedData !== null ? seedData[4] : null;\n const varyParams = varyParamsThenable !== null ? readVaryParams(varyParamsThenable) : null;\n const segment = {\n rsc,\n isPartial: rsc !== null ? await isPartialRSCData(rsc, clientModules) : true,\n staleTime,\n varyParams\n };\n if (buildId) {\n segment.buildId = buildId;\n }\n return {\n segment,\n slots\n };\n}\nasync function isPartialRSCData(rsc, clientModules) {\n // We can determine if a segment contains only partial data if it takes longer\n // than a task to encode, because dynamic data is encoded as an infinite\n // promise. We must do this in a separate Flight prerender from the one that\n // actually generates the prefetch stream because we need to include\n // `isPartial` in the stream itself.\n let isPartial = false;\n const abortController = new AbortController();\n waitAtLeastOneReactRenderTask().then(()=>{\n // If we haven't yet finished the outer task, then it must be because we\n // accessed dynamic data.\n isPartial = true;\n abortController.abort();\n });\n await prerender(rsc, clientModules, {\n filterStackFrame,\n signal: abortController.signal,\n onError () {}\n });\n return isPartial;\n}\nfunction createUnclosingPrefetchStream(originalFlightStream) {\n // When PPR is enabled, prefetch streams may contain references that never\n // resolve, because that's how we encode dynamic data access. In the decoded\n // object returned by the Flight client, these are reified into hanging\n // promises that suspend during render, which is effectively what we want.\n // The UI resolves when it switches to the dynamic data stream\n // (via useDeferredValue(dynamic, static)).\n //\n // However, the Flight implementation currently errors if the server closes\n // the response before all the references are resolved. As a cheat to work\n // around this, we wrap the original stream in a new stream that never closes,\n // and therefore doesn't error.\n const reader = originalFlightStream.getReader();\n return new ReadableStream({\n async pull (controller) {\n while(true){\n const { done, value } = await reader.read();\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value);\n continue;\n }\n // The server stream has closed. Exit, but intentionally do not close\n // the target stream.\n return;\n }\n }\n });\n}\n\n//# sourceMappingURL=collect-segment-data.js.map","/**\n * Calls the given function only when the returned promise-like object is\n * awaited. Afterwards, it provides the resolved value synchronously as `value`\n * property.\n */ export function createLazyResult(fn) {\n let pendingResult;\n const result = {\n then (onfulfilled, onrejected) {\n if (!pendingResult) {\n pendingResult = Promise.resolve(fn());\n }\n pendingResult.then((value)=>{\n result.value = value;\n }).catch(()=>{\n // The externally awaited result will be rejected via `onrejected`. We\n // don't need to handle it here. But we do want to avoid an unhandled\n // rejection.\n });\n return pendingResult.then(onfulfilled, onrejected);\n }\n };\n return result;\n}\nexport function isResolvedLazyResult(result) {\n return result.hasOwnProperty('value');\n}\n\n//# sourceMappingURL=lazy-result.js.map","/*\n\nFiles in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.\n\n*/ import * as React from 'react';\nfunction notImplemented() {\n throw Object.defineProperty(new Error('Taint can only be used with the taint flag.'), \"__NEXT_ERROR_CODE\", {\n value: \"E354\",\n enumerable: false,\n configurable: true\n });\n}\nexport const taintObjectReference = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintObjectReference : notImplemented;\nexport const taintUniqueValue = process.env.__NEXT_EXPERIMENTAL_REACT ? React.experimental_taintUniqueValue : notImplemented;\n\n//# sourceMappingURL=taint.js.map","/**\n * Based on https://github.com/facebook/react/blob/d4e78c42a94be027b4dc7ed2659a5fddfbf9bd4e/packages/react/src/ReactFetch.js\n */ import * as React from 'react';\nimport { cloneResponse } from './clone-response';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nconst simpleCacheKey = '[\"GET\",[],null,\"follow\",null,null,null,null]' // generateCacheKey(new Request('https://blank'));\n;\n// Headers that should not affect deduplication\n// traceparent and tracestate are used for distributed tracing and should not affect cache keys\nconst headersToExcludeInCacheKey = new Set([\n 'traceparent',\n 'tracestate'\n]);\nfunction generateCacheKey(request) {\n // We pick the fields that goes into the key used to dedupe requests.\n // We don't include the `cache` field, because we end up using whatever\n // caching resulted from the first request.\n // Notably we currently don't consider non-standard (or future) options.\n // This might not be safe. TODO: warn for non-standard extensions differing.\n // IF YOU CHANGE THIS UPDATE THE simpleCacheKey ABOVE.\n const filteredHeaders = Array.from(request.headers.entries()).filter(([key])=>!headersToExcludeInCacheKey.has(key.toLowerCase()));\n return JSON.stringify([\n request.method,\n filteredHeaders,\n request.mode,\n request.redirect,\n request.credentials,\n request.referrer,\n request.referrerPolicy,\n request.integrity\n ]);\n}\nexport function createDedupeFetch(originalFetch) {\n const getCacheEntries = React.cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- url is the cache key\n (url)=>[]);\n return function dedupeFetch(resource, options) {\n if (options && options.signal) {\n // If we're passed a signal, then we assume that\n // someone else controls the lifetime of this object and opts out of\n // caching. It's effectively the opt-out mechanism.\n // Ideally we should be able to check this on the Request but\n // it always gets initialized with its own signal so we don't\n // know if it's supposed to override - unless we also override the\n // Request constructor.\n return originalFetch(resource, options);\n }\n // Normalize the Request\n let url;\n let cacheKey;\n if (typeof resource === 'string' && !options) {\n // Fast path.\n cacheKey = simpleCacheKey;\n url = resource;\n } else {\n // Normalize the request.\n // if resource is not a string or a URL (its an instance of Request)\n // then do not instantiate a new Request but instead\n // reuse the request as to not disturb the body in the event it's a ReadableStream.\n const request = typeof resource === 'string' || resource instanceof URL ? new Request(resource, options) : resource;\n if (request.method !== 'GET' && request.method !== 'HEAD' || request.keepalive) {\n // We currently don't dedupe requests that might have side-effects. Those\n // have to be explicitly cached. We assume that the request doesn't have a\n // body if it's GET or HEAD.\n // keepalive gets treated the same as if you passed a custom cache signal.\n return originalFetch(resource, options);\n }\n cacheKey = generateCacheKey(request);\n url = request.url;\n }\n const cacheEntries = getCacheEntries(url);\n for(let i = 0, j = cacheEntries.length; i < j; i += 1){\n const [key, promise] = cacheEntries[i];\n if (key === cacheKey) {\n return promise.then(()=>{\n const response = cacheEntries[i][2];\n if (!response) throw Object.defineProperty(new InvariantError('No cached response'), \"__NEXT_ERROR_CODE\", {\n value: \"E579\",\n enumerable: false,\n configurable: true\n });\n // We're cloning the response using this utility because there exists\n // a bug in the undici library around response cloning. See the\n // following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(response);\n cacheEntries[i][2] = cloned2;\n return cloned1;\n });\n }\n }\n // We pass the original arguments here in case normalizing the Request\n // doesn't include all the options in this environment.\n const promise = originalFetch(resource, options);\n const entry = [\n cacheKey,\n promise,\n null\n ];\n cacheEntries.push(entry);\n return promise.then((response)=>{\n // We're cloning the response using this utility because there exists\n // a bug in the undici library around response cloning. See the\n // following pull request for more details:\n // https://github.com/vercel/next.js/pull/73274\n const [cloned1, cloned2] = cloneResponse(response);\n entry[2] = cloned2;\n return cloned1;\n });\n };\n}\n\n//# sourceMappingURL=dedupe-fetch.js.map","import { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { postponeWithTracking } from '../app-render/dynamic-rendering';\nimport { throwInvariantForMissingStore, workUnitAsyncStorage } from '../app-render/work-unit-async-storage.external';\nimport { delayUntilRuntimeStage, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nexport function createServerPathnameForMetadata(underlyingPathname) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-ppr':\n case 'prerender-legacy':\n {\n return createPrerenderPathname(underlyingPathname, workStore, workUnitStore);\n }\n case 'prerender-client':\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createServerPathnameForMetadata should not be called in client contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1065\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerPathnameForMetadata should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E740\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createServerPathnameForMetadata should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1129\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return delayUntilRuntimeStage(workUnitStore, createRenderPathname(underlyingPathname));\n case 'request':\n return createRenderPathname(underlyingPathname);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createPrerenderPathname(underlyingPathname, workStore, prerenderStore) {\n switch(prerenderStore.type){\n case 'prerender':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`pathname`');\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return makeErroringPathname(workStore, prerenderStore.dynamicTracking);\n }\n break;\n }\n case 'prerender-legacy':\n break;\n default:\n prerenderStore;\n }\n // We don't have any fallback params so we have an entirely static safe params object\n return Promise.resolve(underlyingPathname);\n}\nfunction makeErroringPathname(workStore, dynamicTracking) {\n let reject = null;\n const promise = new Promise((_, re)=>{\n reject = re;\n });\n const originalThen = promise.then.bind(promise);\n // We instrument .then so that we can generate a tracking event only if you actually\n // await this promise, not just that it is created.\n promise.then = (onfulfilled, onrejected)=>{\n if (reject) {\n try {\n postponeWithTracking(workStore.route, 'metadata relative url resolving', dynamicTracking);\n } catch (error) {\n reject(error);\n reject = null;\n }\n }\n return originalThen(onfulfilled, onrejected);\n };\n // We wrap in a noop proxy to trick the runtime into thinking it\n // isn't a native promise (it's not really). This is so that awaiting\n // the promise will call the `then` property triggering the lazy postpone\n return new Proxy(promise, {});\n}\nfunction createRenderPathname(underlyingPathname) {\n return Promise.resolve(underlyingPathname);\n}\n\n//# sourceMappingURL=pathname.js.map","/**\n * App Router types - Client-safe types for the Next.js App Router\n *\n * This file contains type definitions that can be safely imported\n * by both client-side and server-side code without circular dependencies.\n */ export var PrefetchHint = /*#__PURE__*/ function(PrefetchHint) {\n // This segment has a runtime prefetch enabled (via unstable_instant with\n // prefetch: 'runtime'). Per-segment only, does not propagate to ancestors.\n PrefetchHint[PrefetchHint[\"HasRuntimePrefetch\"] = 1] = \"HasRuntimePrefetch\";\n // This segment or one of its descendants has an instant config defined\n // (any truthy unstable_instant, regardless of prefetch mode). Propagates\n // upward so the root segment reflects the entire subtree.\n PrefetchHint[PrefetchHint[\"SubtreeHasInstant\"] = 2] = \"SubtreeHasInstant\";\n // This segment itself has a loading.tsx boundary.\n PrefetchHint[PrefetchHint[\"SegmentHasLoadingBoundary\"] = 4] = \"SegmentHasLoadingBoundary\";\n // A descendant segment (but not this one) has a loading.tsx boundary.\n // Propagates upward so the root reflects the entire subtree.\n PrefetchHint[PrefetchHint[\"SubtreeHasLoadingBoundary\"] = 8] = \"SubtreeHasLoadingBoundary\";\n // This segment is the root layout of the application.\n PrefetchHint[PrefetchHint[\"IsRootLayout\"] = 16] = \"IsRootLayout\";\n // This segment's response includes its parent's data inlined into it.\n // Set at build time by the segment size measurement pass.\n PrefetchHint[PrefetchHint[\"ParentInlinedIntoSelf\"] = 32] = \"ParentInlinedIntoSelf\";\n // This segment's data is inlined into one of its children — don't fetch\n // it separately. Set at build time by the segment size measurement pass.\n PrefetchHint[PrefetchHint[\"InlinedIntoChild\"] = 64] = \"InlinedIntoChild\";\n // On a __PAGE__: this page's response includes the head (metadata/viewport)\n // at the end of its SegmentPrefetch[] array.\n PrefetchHint[PrefetchHint[\"HeadInlinedIntoSelf\"] = 128] = \"HeadInlinedIntoSelf\";\n // On the root hint node: the head was NOT inlined into any page — fetch\n // it separately. Absence of this bit means the head is bundled into a page.\n PrefetchHint[PrefetchHint[\"HeadOutlined\"] = 256] = \"HeadOutlined\";\n return PrefetchHint;\n}({});\n\n//# sourceMappingURL=app-router-types.js.map","import { isHTTPAccessFallbackError } from './http-access-fallback/http-access-fallback';\nimport { isRedirectError } from './redirect-error';\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */ export function isNextRouterError(error) {\n return isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n\n//# sourceMappingURL=is-next-router-error.js.map","import { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { createVaryingParams, getMetadataVaryParamsAccumulator } from '../app-render/vary-params';\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { describeStringPropertyAccess, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { dynamicAccessAsyncStorage } from '../app-render/dynamic-access-async-storage.external';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createParamsFromClient(underlyingParams) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n // Client params don't need additional vary tracking because by the\n // time they reach the client, the access would have already been\n // tracked by the server.\n const varyParamsAccumulator = null;\n return createStaticPrerenderParams(underlyingParams, null, workStore, workUnitStore, varyParamsAccumulator);\n case 'validation-client':\n return createClientParamsInInstantValidation(underlyingParams, workStore, workUnitStore.validationSamples);\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E736\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E770\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createParamsFromClient should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1122\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams;\n // Client params are not runtime prefetchable\n const isRuntimePrefetchable = false;\n return createRenderParamsInDev(underlyingParams, fallbackParams, workStore, workUnitStore, isRuntimePrefetchable);\n } else if (workUnitStore.validationSamples) {\n return createClientParamsInInstantValidation(underlyingParams, workStore, workUnitStore.validationSamples);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createServerParamsForMetadata(underlyingParams, optionalCatchAllParamName, isRuntimePrefetchable) {\n const metadataVaryParamsAccumulator = getMetadataVaryParamsAccumulator();\n return createServerParamsForServerSegment(underlyingParams, optionalCatchAllParamName, metadataVaryParamsAccumulator, isRuntimePrefetchable);\n}\n// routes always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerParamsForRoute(underlyingParams, varyParamsAccumulator = null) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(underlyingParams, null, workStore, workUnitStore, varyParamsAccumulator);\n case 'prerender-client':\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createServerParamsForRoute should not be called in client contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1064\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerParamsForRoute should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E738\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createServerParamsForRoute should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1131\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n {\n // Route params are not runtime prefetchable\n const isRuntimePrefetchable = false;\n return createRuntimePrerenderParams(underlyingParams, null, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable);\n }\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams;\n // Route params are not runtime prefetchable\n const isRuntimePrefetchable = false;\n return createRenderParamsInDev(underlyingParams, fallbackParams, workStore, workUnitStore, isRuntimePrefetchable);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createServerParamsForServerSegment(underlyingParams, optionalCatchAllParamName, varyParamsAccumulator, isRuntimePrefetchable) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(underlyingParams, optionalCatchAllParamName, workStore, workUnitStore, varyParamsAccumulator);\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createServerParamsForServerSegment should not be called in client contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1101\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerParamsForServerSegment should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E743\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createServerParamsForServerSegment should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1120\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderParams(underlyingParams, optionalCatchAllParamName, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable);\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams;\n return createRenderParamsInDev(underlyingParams, fallbackParams, workStore, workUnitStore, isRuntimePrefetchable);\n } else if (workUnitStore.asyncApiPromises && workUnitStore.validationSamples) {\n return createServerParamsInInstantValidation(underlyingParams, workStore, workUnitStore.validationSamples, workUnitStore.asyncApiPromises, isRuntimePrefetchable);\n } else if (workUnitStore.asyncApiPromises && hasFallbackRouteParams(underlyingParams, workUnitStore.fallbackParams)) {\n return (isRuntimePrefetchable ? workUnitStore.asyncApiPromises.earlySharedParamsParent : workUnitStore.asyncApiPromises.sharedParamsParent).then(()=>underlyingParams);\n } else {\n return createRenderParamsInProd(underlyingParams);\n }\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderParamsForClientSegment(underlyingParams) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Missing workStore in createPrerenderParamsForClientSegment'), \"__NEXT_ERROR_CODE\", {\n value: \"E773\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams) {\n for(let key in underlyingParams){\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`params`');\n }\n }\n }\n break;\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createPrerenderParamsForClientSegment should not be called in validation contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1099\",\n enumerable: false,\n configurable: true\n });\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderParamsForClientSegment should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E734\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createPrerenderParamsForClientSegment should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1126\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'prerender-runtime':\n case 'request':\n break;\n default:\n workUnitStore;\n }\n }\n // We're prerendering in a mode that does not abort. We resolve the promise without\n // any tracking because we're just transporting a value from server to client where the tracking\n // will be applied.\n return Promise.resolve(underlyingParams);\n}\nfunction createStaticPrerenderParams(underlyingParams, optionalCatchAllParamName, workStore, prerenderStore, varyParamsAccumulator) {\n const underlyingParamsWithVarying = varyParamsAccumulator !== null ? createVaryingParams(varyParamsAccumulator, underlyingParams, optionalCatchAllParamName) : underlyingParams;\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams) {\n for(const key in underlyingParams){\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingParams(underlyingParamsWithVarying, workStore, prerenderStore);\n }\n }\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = prerenderStore.fallbackRouteParams;\n if (fallbackParams) {\n for(const key in underlyingParams){\n if (fallbackParams.has(key)) {\n return makeErroringParams(underlyingParamsWithVarying, fallbackParams, workStore, prerenderStore);\n }\n }\n }\n break;\n }\n case 'prerender-legacy':\n break;\n default:\n prerenderStore;\n }\n return makeUntrackedParams(underlyingParamsWithVarying);\n}\nfunction createRuntimePrerenderParams(underlyingParams, optionalCatchAllParamName, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable) {\n const underlyingParamsWithVarying = varyParamsAccumulator !== null ? createVaryingParams(varyParamsAccumulator, underlyingParams, optionalCatchAllParamName) : underlyingParams;\n const result = makeUntrackedParams(underlyingParamsWithVarying);\n const { stagedRendering } = workUnitStore;\n if (!stagedRendering) {\n return result;\n }\n const stage = isRuntimePrefetchable ? RenderStage.EarlyRuntime : RenderStage.Runtime;\n return stagedRendering.waitForStage(stage).then(()=>result);\n}\nfunction hasFallbackRouteParams(underlyingParams, fallbackParams) {\n if (fallbackParams) {\n for(let key in underlyingParams){\n if (fallbackParams.has(key)) {\n return true;\n }\n }\n }\n return false;\n}\nfunction createServerParamsInInstantValidation(underlyingParams, workStore, validationSamples, asyncApiPromises, isRuntimePrefetchable) {\n const { createExhaustiveParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredParams = new Set(Object.keys(validationSamples.params ?? {}));\n const proxiedUnderlying = createExhaustiveParamsProxy(underlyingParams, declaredParams, workStore.route);\n return (isRuntimePrefetchable ? asyncApiPromises.earlySharedParamsParent : asyncApiPromises.sharedParamsParent).then(()=>proxiedUnderlying);\n}\nfunction createClientParamsInInstantValidation(underlyingParams, workStore, validationSamples) {\n const { createExhaustiveParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredParams = new Set(Object.keys((validationSamples == null ? void 0 : validationSamples.params) ?? {}));\n const proxiedUnderlying = createExhaustiveParamsProxy(underlyingParams, declaredParams, workStore.route);\n return Promise.resolve(proxiedUnderlying);\n}\nfunction createRenderParamsInProd(underlyingParams) {\n return makeUntrackedParams(underlyingParams);\n}\nfunction createRenderParamsInDev(underlyingParams, fallbackParams, workStore, requestStore, isRuntimePrefetchable) {\n return makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackRouteParams(underlyingParams, fallbackParams), workStore, requestStore, isRuntimePrefetchable);\n}\nconst CachedParams = new WeakMap();\nconst fallbackParamsProxyHandler = {\n get: function get(target, prop, receiver) {\n if (prop === 'then' || prop === 'catch' || prop === 'finally') {\n const originalMethod = ReflectAdapter.get(target, prop, receiver);\n return ({\n [prop]: (...args)=>{\n const store = dynamicAccessAsyncStorage.getStore();\n if (store) {\n store.abortController.abort(Object.defineProperty(new Error(`Accessed fallback \\`params\\` during prerendering.`), \"__NEXT_ERROR_CODE\", {\n value: \"E691\",\n enumerable: false,\n configurable: true\n }));\n }\n return new Proxy(originalMethod.apply(target, args), fallbackParamsProxyHandler);\n }\n })[prop];\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n};\nfunction makeHangingParams(underlyingParams, workStore, prerenderStore) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const promise = new Proxy(makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`params`'), fallbackParamsProxyHandler);\n CachedParams.set(underlyingParams, promise);\n return promise;\n}\nfunction makeErroringParams(underlyingParams, fallbackParams, workStore, prerenderStore) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const augmentedUnderlying = {\n ...underlyingParams\n };\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(augmentedUnderlying);\n CachedParams.set(underlyingParams, promise);\n Object.keys(underlyingParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n if (fallbackParams.has(prop)) {\n Object.defineProperty(augmentedUnderlying, prop, {\n get () {\n const expression = describeStringPropertyAccess('params', prop);\n // In most dynamic APIs we also throw if `dynamic = \"error\"` however\n // for params is only dynamic when we're generating a fallback shell\n // and even when `dynamic = \"error\"` we still support generating dynamic\n // fallback shells\n // TODO remove this comment when cacheComponents is the default since there\n // will be no `dynamic = \"error\"`\n if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n },\n enumerable: true\n });\n }\n }\n });\n return promise;\n}\nfunction makeUntrackedParams(underlyingParams) {\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n const promise = Promise.resolve(underlyingParams);\n CachedParams.set(underlyingParams, promise);\n return promise;\n}\nfunction makeDynamicallyTrackedParamsWithDevWarnings(underlyingParams, hasFallbackParams, workStore, requestStore, isRuntimePrefetchable) {\n if (requestStore.asyncApiPromises && hasFallbackParams) {\n // We wrap each instance of params in a `new Promise()`, because deduping\n // them across requests doesn't work anyway and this let us show each\n // await a different set of values. This is important when all awaits\n // are in third party which would otherwise track all the way to the\n // internal params.\n const sharedParamsParent = isRuntimePrefetchable ? requestStore.asyncApiPromises.earlySharedParamsParent : requestStore.asyncApiPromises.sharedParamsParent;\n const promise = new Promise((resolve, reject)=>{\n sharedParamsParent.then(()=>resolve(underlyingParams), reject);\n });\n // @ts-expect-error\n promise.displayName = 'params';\n return instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore);\n }\n const cachedParams = CachedParams.get(underlyingParams);\n if (cachedParams) {\n return cachedParams;\n }\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = hasFallbackParams ? makeDevtoolsIOAwarePromise(underlyingParams, requestStore, RenderStage.Runtime) : Promise.resolve(underlyingParams);\n const proxiedPromise = instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore);\n CachedParams.set(underlyingParams, proxiedPromise);\n return proxiedPromise;\n}\nfunction instrumentParamsPromiseWithDevWarnings(underlyingParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (typeof prop === 'string') {\n if (// We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)) {\n const expression = describeStringPropertyAccess('params', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return ReflectAdapter.set(target, prop, value, receiver);\n },\n ownKeys (target) {\n const expression = '`...params` or similar expression';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createParamsAccessError);\nfunction createParamsAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`params\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E834\",\n enumerable: false,\n configurable: true\n });\n}\n\n//# sourceMappingURL=params.js.map","/**\n * Vary Params Decoding\n *\n * This module is shared between server and client.\n */ /**\n * Synchronously reads vary params from a thenable.\n *\n * By the time this is called (client-side or in collectSegmentData), the\n * thenable should already be fulfilled because the Flight stream has been\n * fully received. We check the status synchronously to avoid unnecessary\n * microtasks.\n *\n * Returns null if the thenable is still pending (which shouldn't happen in\n * normal operation - it indicates the server failed to track vary params).\n */ export function readVaryParams(thenable) {\n // Attach a no-op listener to force Flight to synchronously resolve the\n // thenable. When a thenable arrives from the Flight stream, it may be in an\n // intermediate 'resolved_model' state (data received but not unwrapped).\n // Calling .then() triggers Flight to transition it to 'fulfilled', making\n // the value available synchronously. React uses this same optimization\n // internally to avoid unnecessary microtasks.\n thenable.then(noop);\n // If the thenable is still not 'fulfilled' after calling .then(), the server\n // failed to resolve it before the stream ended. Treat as unknown.\n if (thenable.status !== 'fulfilled') {\n return null;\n }\n return thenable.value;\n}\nconst noop = ()=>{};\n\n//# sourceMappingURL=vary-params-decoding.js.map","/**\n * Extracts info about the server reference for the given server reference ID by\n * parsing the first byte of the hex-encoded ID.\n *\n * ```\n * Bit positions: [7] [6] [5] [4] [3] [2] [1] [0]\n * Bits: typeBit argMask restArgs\n * ```\n *\n * If the `typeBit` is `1` the server reference represents a `\"use cache\"`\n * function, otherwise a server action.\n *\n * The `argMask` encodes whether the function uses the argument at the\n * respective position.\n *\n * The `restArgs` bit indicates whether the function uses a rest parameter. It's\n * also set to 1 if the function has more than 6 args.\n *\n * @param id hex-encoded server reference ID\n */ export function extractInfoFromServerReferenceId(id) {\n const infoByte = parseInt(id.slice(0, 2), 16);\n const typeBit = infoByte >> 7 & 0x1;\n const argMask = infoByte >> 1 & 0x3f;\n const restArgs = infoByte & 0x1;\n const usedArgs = Array(6);\n for(let index = 0; index < 6; index++){\n const bitPosition = 5 - index;\n const bit = argMask >> bitPosition & 0x1;\n usedArgs[index] = bit === 1;\n }\n return {\n type: typeBit === 1 ? 'use-cache' : 'server-action',\n usedArgs: usedArgs,\n hasRestArgs: restArgs === 1\n };\n}\n/**\n * Creates a sparse array containing only the used arguments based on the\n * provided action info.\n */ export function omitUnusedArgs(args, info) {\n const filteredArgs = new Array(args.length);\n let length = 0;\n for(let index = 0; index < args.length; index++){\n if (index < 6 && info.usedArgs[index] || // This assumes that the server reference info byte has the restArgs bit\n // set to 1 if there are more than 6 args.\n index >= 6 && info.hasRestArgs) {\n filteredArgs[index] = args[index];\n length = index + 1;\n }\n }\n // Trim trailing unused args from the array.\n filteredArgs.length = length;\n return filteredArgs;\n}\n\n//# sourceMappingURL=server-reference-info.js.map","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */ // Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react';\nimport { DynamicServerError } from '../../client/components/hooks-server-context';\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { throwForMissingRequestStore, workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { makeHangingPromise, getRuntimeStage } from '../dynamic-rendering-utils';\nimport { METADATA_BOUNDARY_NAME, VIEWPORT_BOUNDARY_NAME, OUTLET_BOUNDARY_NAME, ROOT_LAYOUT_BOUNDARY_NAME } from '../../lib/framework/boundary-constants';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { INSTANT_VALIDATION_BOUNDARY_NAME } from './instant-validation/boundary-constants';\nconst hasPostpone = typeof React.unstable_postpone === 'function';\nexport function createDynamicTrackingState(isDebugDynamicAccesses) {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null\n };\n}\nexport function createDynamicValidationState() {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: []\n };\n}\nexport function getFirstDynamicReason(trackingState) {\n var _trackingState_dynamicAccesses_;\n return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression;\n}\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */ export function markCurrentScopeAsDynamic(store, workUnitStore, expression) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return;\n if (store.dynamicShouldError) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E553\",\n enumerable: false,\n configurable: true\n });\n }\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-ppr':\n return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking);\n case 'prerender-legacy':\n workUnitStore.revalidate = 0;\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E550\",\n enumerable: false,\n configurable: true\n });\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n}\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */ export function throwToInterruptStaticGeneration(expression, store, prerenderStore) {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E558\",\n enumerable: false,\n configurable: true\n });\n prerenderStore.revalidate = 0;\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n}\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */ export function trackDynamicDataInDynamicRender(workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n case 'validation-client':\n case 'generate-static-params':\n break;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n}\nfunction abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`;\n const error = createPrerenderInterruptedError(reason);\n prerenderStore.controller.abort(error);\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n}\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */ export function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {\n const prerenderSignal = prerenderStore.controller.signal;\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n }\n throw createPrerenderInterruptedError(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`);\n}\nexport function Postpone({ reason, route }) {\n const prerenderStore = workUnitAsyncStorage.getStore();\n const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null;\n postponeWithTracking(route, reason, dynamicTracking);\n}\nexport function postponeWithTracking(route, expression, dynamicTracking) {\n assertPostpone();\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n React.unstable_postpone(createPostponeReason(route, expression));\n}\nfunction createPostponeReason(route, expression) {\n return `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` + `React throws this special object to indicate where. It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;\n}\nexport function isDynamicPostpone(err) {\n if (typeof err === 'object' && err !== null && typeof err.message === 'string') {\n return isDynamicPostponeReason(err.message);\n }\n return false;\n}\nfunction isDynamicPostponeReason(reason) {\n return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error');\n}\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E296\",\n enumerable: false,\n configurable: true\n });\n}\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED';\nfunction createPrerenderInterruptedError(message) {\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = NEXT_PRERENDER_INTERRUPTED;\n return error;\n}\nexport function isPrerenderInterruptedError(error) {\n return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error;\n}\nexport function accessedDynamicData(dynamicAccesses) {\n return dynamicAccesses.length > 0;\n}\nexport function consumeDynamicAccess(serverDynamic, clientDynamic) {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses);\n return serverDynamic.dynamicAccesses;\n}\nexport function formatDynamicAPIAccesses(dynamicAccesses) {\n return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map(({ expression, stack })=>{\n stack = stack.split('\\n')// Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4).filter((line)=>{\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false;\n }\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' ()')) {\n return false;\n }\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false;\n }\n return true;\n }).join('\\n');\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`;\n });\n}\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw Object.defineProperty(new Error(`Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`), \"__NEXT_ERROR_CODE\", {\n value: \"E224\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */ export function createRenderInBrowserAbortSignal() {\n const controller = new AbortController();\n controller.abort(Object.defineProperty(new BailoutToCSRError('Render in Browser'), \"__NEXT_ERROR_CODE\", {\n value: \"E721\",\n enumerable: false,\n configurable: true\n }));\n return controller.signal;\n}\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */ export function createHangingInputAbortSignal(workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController();\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(()=>{\n controller.abort();\n });\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n if (// eslint-disable-next-line no-restricted-syntax -- We are discriminating between two different refined types and don't need an addition exhaustive switch here\n workUnitStore.type === 'prerender-runtime' && workUnitStore.stagedRendering) {\n const { stagedRendering } = workUnitStore;\n stagedRendering.waitForStage(getRuntimeStage(stagedRendering)).then(()=>scheduleOnNextTick(()=>controller.abort()));\n } else {\n scheduleOnNextTick(()=>controller.abort());\n }\n }\n return controller.signal;\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n return undefined;\n default:\n workUnitStore;\n }\n}\nexport function annotateDynamicAccess(expression, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function useDynamicRouteParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workStore && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-client':\n case 'prerender':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking);\n }\n break;\n }\n case 'validation-client':\n {\n break;\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E771\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1130\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n}\nexport function useDynamicSearchParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workStore) {\n // We assume pages router context and just return\n return;\n }\n if (!workUnitStore) {\n throwForMissingRequestStore(expression);\n }\n switch(workUnitStore.type){\n case 'validation-client':\n // During instant validation we try to behave as close to client as possible,\n // so this shouldn't hang during SSR.\n return;\n case 'prerender-client':\n {\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n break;\n }\n case 'prerender-legacy':\n case 'prerender-ppr':\n {\n if (workStore.forceStatic) {\n return;\n }\n throw Object.defineProperty(new BailoutToCSRError(expression), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n case 'prerender':\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E795\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1130\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return;\n default:\n workUnitStore;\n }\n}\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(\\)/;\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6';\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense ()\n// at __next_root_layout_boundary__ ()\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense ()\n// at SomeComponent ()\n// at __next_root_layout_boundary__ ()\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(`\\\\n\\\\s+at Suspense \\\\(\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`);\nconst hasMetadataRegex = new RegExp(`\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasViewportRegex = new RegExp(`\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasInstantValidationBoundaryRegex = new RegExp(`\\\\n\\\\s+at ${INSTANT_VALIDATION_BOUNDARY_NAME}[\\\\n\\\\s]`);\nexport function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true;\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data was accessed outside of ` + '. This delays the entire page from rendering, resulting in a ' + 'slow user experience. Learn more: ' + 'https://nextjs.org/docs/messages/blocking-route';\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1079\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport var DynamicHoleKind = /*#__PURE__*/ function(DynamicHoleKind) {\n /** We know that this hole is caused by runtime data. */ DynamicHoleKind[DynamicHoleKind[\"Runtime\"] = 1] = \"Runtime\";\n /** We know that this hole is caused by dynamic data. */ DynamicHoleKind[DynamicHoleKind[\"Dynamic\"] = 2] = \"Dynamic\";\n return DynamicHoleKind;\n}({});\nexport function createInstantValidationState(createInstantStack) {\n return {\n hasDynamicMetadata: false,\n hasAllowedClientDynamicAboveBoundary: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n validationPreventingErrors: [],\n thrownErrorsOutsideBoundary: [],\n createInstantStack\n };\n}\nexport function trackDynamicHoleInNavigation(workStore, componentStack, dynamicValidation, clientDynamic, kind, boundaryState) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n }\n if (hasMetadataRegex.test(componentStack)) {\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments.` : `Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1076\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n }\n if (hasViewportRegex.test(componentStack)) {\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`.` : `Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1086\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n const boundaryLocation = hasInstantValidationBoundaryRegex.exec(componentStack);\n if (!boundaryLocation) {\n // We don't see the validation boundary in the component stack,\n // so this hole must be coming from a shared parent.\n // Shared parents are fully resolved and don't have RSC holes,\n // but they can still suspend in a client component during SSR.\n // If we managed to render all the validation boundaries, that means\n // that the client holes aren't blocking validation and we can disregard them.\n // Note that we don't even care whether they have suspense or not.\n if (boundaryState.expectedIds.size === boundaryState.renderedIds.size) {\n dynamicValidation.hasAllowedClientDynamicAboveBoundary = true;\n dynamicValidation.hasAllowedDynamic = true // Holes outside the boundary contribute to allowing dynamic metadata\n ;\n return;\n } else {\n // TODO(instant-validation) TODO(NAR-787)\n // If shared parents blocked us from validating, we should only log\n // the errors from the innermost (segments), i.e. omit layouts whose\n // slots managed to render (because clearly they didn't block validation)\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because a Client Component in a parent segment prevented the page from rendering.`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1082\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.validationPreventingErrors.push(error);\n return;\n }\n } else {\n // The hole originates inside the validation boundary.\n //\n // Check if we have a Suspense above the hole, but below the validation boundary.\n // If we do, then this dynamic usage wouldn't block a navigation to this subtree.\n // Conversely, if the nearest suspense is above the validation boundary, then this subtree would block.\n //\n // Note that in the component stack, children come before parents.\n //\n // Valid:\n // ...\n // at Suspense\n // ...\n // at __next_prefetch_validation_boundary__\n //\n // Invalid:\n // ...\n // at __next_prefetch_validation_boundary__\n // ...\n // at Suspense\n //\n const suspenseLocation = hasSuspenseRegex.exec(componentStack);\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else {\n // invalid - fallthrough\n }\n }\n }\n if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n const syncError = clientDynamic.syncDynamicErrorWithStack;\n if (dynamicValidation.createInstantStack !== null && syncError.cause === undefined) {\n syncError.cause = dynamicValidation.createInstantStack();\n }\n dynamicValidation.dynamicErrors.push(syncError);\n return;\n }\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`.` : `Uncached data or \\`connection()\\` was accessed outside of \\`\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1078\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n}\nexport function trackThrownErrorInNavigation(workStore, dynamicValidation, thrownValue, componentStack) {\n const boundaryLocation = hasInstantValidationBoundaryRegex.exec(componentStack);\n if (!boundaryLocation) {\n // There's no validation boundary on the component stack.\n // This error may have blocked a boundary from rendering.\n // Wrap the error to provide component context.\n // This helps for errors from node_modules which would otherwise\n // have no useful stack information due to ignore-listing,\n // e.g. next/dynamic with `ssr: false`.\n const error = addErrorContext(Object.defineProperty(new Error('An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.', {\n cause: thrownValue\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E1118\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.thrownErrorsOutsideBoundary.push(error);\n } else {\n // There's validation boundary on the component stack,\n // so we know this error didn't block a validation boundary from rendering.\n // However, this error might be hiding be hiding dynamic content that would\n // cause validation to fail.\n const suspenseLocation = hasSuspenseRegex.exec(componentStack);\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n // There's a Suspense below the validation boundary but above this error's location.\n // This subtree can't fail instant validation because any potential\n // dynamic holes would be guarded by the Suspense anyway,\n // so we can allow this.\n return;\n } else {\n // invalid - fallthrough\n }\n }\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because an error prevented the target segment from rendering.`;\n const error = addErrorContext(Object.defineProperty(new Error(message, {\n cause: thrownValue\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E1112\",\n enumerable: false,\n configurable: true\n }), componentStack, null // TODO(instant-validation-build): conflicting use of cause\n );\n dynamicValidation.validationPreventingErrors.push(error);\n }\n}\nexport function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1080\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n // TODO(instant-validation): If the page only has holes caused by runtime data,\n // we won't find out if there's a suspense-above-body and error for dynamic viewport\n // even if there is in fact a suspense-above-body\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1077\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n }\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1084\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n}\nexport function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1085\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1081\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1083\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n *\n * Accepts an already-created Error so the SWC error-code plugin can see the\n * `new Error(...)` call at each call site and auto-assign error codes.\n */ function addErrorContext(error, componentStack, createInstantStack) {\n const ownerStack = process.env.NODE_ENV !== 'production' && React.captureOwnerStack ? React.captureOwnerStack() : null;\n if (createInstantStack !== null) {\n error.cause = createInstantStack();\n }\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + error.message + (ownerStack || componentStack);\n return error;\n}\nexport var PreludeState = /*#__PURE__*/ function(PreludeState) {\n PreludeState[PreludeState[\"Full\"] = 0] = \"Full\";\n PreludeState[PreludeState[\"Empty\"] = 1] = \"Empty\";\n PreludeState[PreludeState[\"Errored\"] = 2] = \"Errored\";\n return PreludeState;\n}({});\nexport function logDisallowedDynamicError(workStore, error) {\n console.error(error);\n if (process.env.NODE_ENV !== 'development') {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`);\n } else if (!process.env.__NEXT_DEV_SERVER) {\n console.error(`To debug the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`);\n }\n}\nexport function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack);\n throw new StaticGenBailoutError();\n }\n if (prelude !== 0) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return;\n }\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n for(let i = 0; i < dynamicErrors.length; i++){\n logDisallowedDynamicError(workStore, dynamicErrors[i]);\n }\n throw new StaticGenBailoutError();\n }\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(`Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`);\n throw new StaticGenBailoutError();\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`);\n throw new StaticGenBailoutError();\n }\n } else {\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) {\n console.error(`Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`);\n throw new StaticGenBailoutError();\n }\n }\n}\nexport function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation, configAllowsBlocking) {\n if (configAllowsBlocking || dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return [];\n }\n if (prelude !== 0) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E936\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\nexport function getNavigationDisallowedDynamicReasons(workStore, prelude, dynamicValidation, validationSampleTracking, boundaryState) {\n // If we have errors related to missing samples, those should take precedence over everything else.\n if (validationSampleTracking) {\n const { missingSampleErrors } = validationSampleTracking;\n if (missingSampleErrors.length > 0) {\n return missingSampleErrors;\n }\n }\n const { validationPreventingErrors } = dynamicValidation;\n if (validationPreventingErrors.length > 0) {\n return validationPreventingErrors;\n }\n if (boundaryState.renderedIds.size < boundaryState.expectedIds.size) {\n const { thrownErrorsOutsideBoundary, createInstantStack } = dynamicValidation;\n if (thrownErrorsOutsideBoundary.length === 0) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering for an unknown reason.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error\n ];\n } else if (thrownErrorsOutsideBoundary.length === 1) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to the following error.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error,\n thrownErrorsOutsideBoundary[0]\n ];\n } else {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to one of the following errors.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error,\n ...thrownErrorsOutsideBoundary\n ];\n }\n }\n // NOTE: We don't care about Suspense above body here,\n // we're only concerned with the validation boundary\n if (prelude !== 0) {\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If a client component suspended prevented us from rendering a shell\n // but didn't block validation, we don't require a prelude.\n if (dynamicValidation.hasAllowedClientDynamicAboveBoundary) {\n return [];\n }\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" failed to render during instant validation and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1055\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\n\n//# sourceMappingURL=dynamic-rendering.js.map"],"names":["RouteKind","getRevalidateReason","params","isOnDemandRevalidate","isStaticGeneration","undefined","BaseServerSpan","LoadComponentsSpan","NextServerSpan","NextNodeServerSpan","StartServerSpan","RenderSpan","AppRenderSpan","RouterSpan","NodeSpan","AppRouteRouteHandlersSpan","ResolveMetadataSpan","MiddlewareSpan","NextVanillaSpanAllowlist","Set","LogSpanAllowList","e","t","r","Object","defineProperty","value","ContextAPI","n","a","o","i","c","NoopContextManager","getInstance","_instance","setGlobalContextManager","registerGlobal","DiagAPI","instance","active","_getContextManager","with","bind","getGlobal","disable","unregisterGlobal","_logProxy","setLogger","logLevel","DiagLogLevel","INFO","s","Error","error","stack","message","u","l","createLogLevelDiagLogger","suppressOverrideMessage","warn","createComponentLogger","DiagComponentLogger","verbose","debug","info","MetricsAPI","setGlobalMeterProvider","getMeterProvider","NOOP_METER_PROVIDER","getMeter","PropagationAPI","NoopTextMapPropagator","createBaggage","getBaggage","getActiveBaggage","setBaggage","deleteBaggage","setGlobalPropagator","inject","defaultTextMapSetter","_getGlobalPropagator","extract","defaultTextMapGetter","fields","TraceAPI","_proxyTracerProvider","ProxyTracerProvider","wrapSpanContext","isSpanContextValid","deleteSpan","getSpan","getActiveSpan","getSpanContext","setSpan","setSpanContext","setGlobalTracerProvider","setDelegate","getTracerProvider","getTracer","createContextKey","getValue","setValue","deleteValue","BaggageImpl","_entries","Map","getEntry","get","assign","getAllEntries","Array","from","entries","map","setEntry","set","removeEntry","delete","removeEntries","clear","baggageEntryMetadataSymbol","Symbol","baggageEntryMetadataFromString","__TYPE__","toString","context","ROOT_CONTEXT","call","enable","for","BaseContext","_currentContext","diag","_namespace","namespace","logProxy","unshift","DiagConsoleLogger","_consoleFunc","console","log","apply","length","NONE","ALL","_filterFunc","ERROR","WARN","DEBUG","VERBOSE","VERSION","split","_globalThis","version","isCompatible","_makeCompatibilityCheck","match","major","minor","patch","prerelease","isExactmatch","_reject","add","_accept","has","metrics","ValueType","createNoopMeter","NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC","NOOP_OBSERVABLE_GAUGE_METRIC","NOOP_OBSERVABLE_COUNTER_METRIC","NOOP_UP_DOWN_COUNTER_METRIC","NOOP_HISTOGRAM_METRIC","NOOP_COUNTER_METRIC","NOOP_METER","NoopObservableUpDownCounterMetric","NoopObservableGaugeMetric","NoopObservableCounterMetric","NoopObservableMetric","NoopHistogramMetric","NoopUpDownCounterMetric","NoopCounterMetric","NoopMetric","NoopMeter","createHistogram","createCounter","createUpDownCounter","createObservableGauge","createObservableCounter","createObservableUpDownCounter","addBatchObservableCallback","removeBatchObservableCallback","record","addCallback","removeCallback","NoopMeterProvider","__createBinding","create","enumerable","__exportStar","prototype","hasOwnProperty","globalThis","propagation","keys","trace","NonRecordingSpan","INVALID_SPAN_CONTEXT","_spanContext","spanContext","setAttribute","setAttributes","addEvent","setStatus","updateName","end","isRecording","recordException","NoopTracer","startSpan","Boolean","root","isSpanContext","startActiveSpan","arguments","g","NoopTracerProvider","ProxyTracer","_provider","name","options","_getTracer","Reflect","_delegate","getDelegateTracer","getDelegate","SamplingDecision","TraceStateImpl","_internalState","_parse","_clone","unset","serialize","_keys","reduce","push","join","reverse","trim","indexOf","slice","validateKey","validateValue","size","RegExp","test","createTraceState","INVALID_TRACEID","INVALID_SPANID","traceId","spanId","traceFlags","TraceFlags","SpanKind","isValidSpanId","isValidTraceId","SpanStatusCode","__nccwpck_require__","exports","ab","p","d","_","f","b","v","O","P","N","S","C","module","promise","isThenable","then","NEXT_REQUEST_META","getRequestMeta","req","key","meta","setRequestMeta","addRequestMeta","request","removeRequestMeta","interopDefault","mod","default","RSC_HEADER","ACTION_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_HMR_REFRESH_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_URL","RSC_CONTENT_TYPE_HEADER","NEXT_INSTANT_PREFETCH_HEADER","NEXT_INSTANT_TEST_COOKIE","FLIGHT_HEADERS","NEXT_RSC_UNION_QUERY","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_REWRITTEN_PATH_HEADER","NEXT_REWRITTEN_QUERY_HEADER","NEXT_IS_PRERENDER_HEADER","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_ACTION_REVALIDATED_HEADER","stripFlightHeaders","headers","header","RedirectStatusCode","wrapApiHandler","page","handler","args","setRootSpanAttribute","runHandler","spanName","res","redirect","sendStatusCode","statusCode","statusOrUrl","url","configurable","writeHead","Location","previewModeId","write","checkIsOnDemandRevalidate","previewProps","revalidateOnlyGenerated","COOKIE_NAME_PRERENDER_BYPASS","COOKIE_NAME_PRERENDER_DATA","RESPONSE_LIMIT_DEFAULT","SYMBOL_PREVIEW_DATA","SYMBOL_CLEARED_COOKIES","clearPreviewData","previous","getHeader","setHeader","isArray","expires","Date","httpOnly","sameSite","secure","path","ApiError","sendError","statusMessage","setLazyProp","prop","getter","opts","optsReset","writable","checkIsAppPPREnabled","config","checkIsRoutePPREnabled","isRSCRequestHeader","InvariantError","constructor","endsWith","ensureLeadingSlash","startsWith","normalizeAppPath","INTERCEPTION_ROUTE_MARKERS","isInterceptionRouteAppPath","find","segment","m","extractInterceptionRouteInformation","interceptingRoute","marker","interceptedRoute","concat","splitInterceptingRoute","getSegmentParam","interceptionMarker","paramType","paramName","isCatchAll","type","getParamProperties","repeat","optional","normalizeEncodedDynamicPlaceholder","decodedSegment","decodeURIComponent","parseAppRouteSegment","param","route","isInterceptionAppRoute","pathname","pathnameSegments","isNormalizedAppRoute","normalized","appSegment","parseAppRoute","filter","segments","normalizedSegment","parts","dynamicSegments","parsePath","hashIndex","queryIndex","hasQuery","substring","query","hash","pathHasPrefix","removePathPrefix","workAsyncStorage","MANIFESTS_SINGLETON","globalThisWithManifests","createProxiedClientReferenceManifest","clientReferenceManifestsPerRoute","createMappingProxy","Proxy","id","workStore","getStore","currentManifest","process","env","NODE_ENV","manifest","entry","values","mappingProxies","proxy","String","createServerModuleMap","getServerActionsManifest","workers","NEXT_RUNTIME","workerEntry","normalizeWorkerPageName","at","moduleId","async","chunks","pageName","denormalizeWorkerPageName","bundlePath","selectWorkerForForwarding","actionId","serverActionsManifest","setManifestsSingleton","clientReferenceManifest","rawServerActionsManifest","existingSingleton","encryptionKey","node","edge","proxiedClientReferenceManifest","serverModuleMap","getManifestsSingleton","manifestSingleton","getClientReferenceManifest","getServerModuleMap","HTML_LIMITED_BOT_UA_RE","getBotType","HTML_LIMITED_BOT_UA_RE_STRING","shouldServeStreamingMetadata","userAgent","htmlLimitedBots","blockingMetadataUARegex","isHtmlBotRequest","ua","botType","getServerActionRequestMetadata","contentType","Headers","isURLEncodedAction","method","isMultipartAction","isFetchAction","isPossibleServerAction","getIsPossibleServerAction","scheduleOnNextTick","cb","Promise","resolve","setTimeout","nextTick","scheduleImmediate","setImmediate","atLeastOneTask","waitAtLeastOneReactRenderTask","CachedRouteKind","IncrementalCacheKind","ENCODED_TAGS","OPENING","HTML","Uint8Array","HEAD","BODY","CLOSED","BODY_AND_HTML","META","ICON_MARK","DetachedPromise","reject","rej","__defProp","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","__export","target","all","__copyProps","to","except","desc","__toCommonJS","src_exports","RequestCookies","ResponseCookies","parseCookie","parseSetCookie","stringifyCookie","_a","attrs","toUTCString","maxAge","domain","partitioned","priority","stringified","encodeURIComponent","cookie","pair","splitAt","setCookie","attributes","httponly","maxage","samesite","fromEntries","value2","toLowerCase","replace","Number","parseSameSite","parsePriority","compact","newT","SAME_SITE","string","includes","PRIORITY","splitCookiesString","cookiesString","cookiesStrings","pos","start","ch","lastComma","nextStart","cookiesSeparatorFound","skipWhitespace","charAt","notSpecialChar","requestHeaders","_parsed","_headers","parsed","iterator","getAll","names","result","JSON","stringify","responseHeaders","_b","_c","getSetCookie","cookieStrings","cookieString","normalizeCookie","bag","serialized","append","now","fromNodeOutgoingHttpHeaders","nodeHeaders","toNodeOutgoingHttpHeaders","validateURL","cookies","cause","URL","normalizeNextQueryParam","prefixes","prefix","TEXT_PLAIN_CONTENT_TYPE_HEADER","HTML_CONTENT_TYPE_HEADER","JSON_CONTENT_TYPE_HEADER","NEXT_QUERY_PARAM_PREFIX","NEXT_INTERCEPTION_MARKER_PREFIX","MATCHED_PATH_HEADER","PRERENDER_REVALIDATE_HEADER","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","RSC_SEGMENTS_DIR_SUFFIX","RSC_SEGMENT_SUFFIX","RSC_SUFFIX","ACTION_SUFFIX","NEXT_DATA_SUFFIX","NEXT_META_SUFFIX","NEXT_BODY_SUFFIX","NEXT_NAV_DEPLOYMENT_ID_HEADER","NEXT_CACHE_TAGS_HEADER","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","NEXT_RESUME_HEADER","NEXT_RESUME_STATE_LENGTH_HEADER","NEXT_CACHE_TAG_MAX_ITEMS","NEXT_CACHE_TAG_MAX_LENGTH","NEXT_CACHE_SOFT_TAG_MAX_LENGTH","NEXT_CACHE_IMPLICIT_TAG_ID","NEXT_CACHE_ROOT_PARAM_TAG_ID","CACHE_ONE_YEAR_SECONDS","INFINITE_CACHE","MIDDLEWARE_FILENAME","MIDDLEWARE_LOCATION_REGEXP","PROXY_FILENAME","PROXY_LOCATION_REGEXP","INSTRUMENTATION_HOOK_FILENAME","PAGES_DIR_ALIAS","DOT_NEXT_ALIAS","ROOT_DIR_ALIAS","APP_DIR_ALIAS","RSC_MOD_REF_PROXY_ALIAS","RSC_ACTION_VALIDATE_ALIAS","RSC_ACTION_PROXY_ALIAS","RSC_CACHE_WRAPPER_ALIAS","RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS","RSC_ACTION_ENCRYPTION_ALIAS","RSC_ACTION_CLIENT_WRAPPER_ALIAS","PUBLIC_DIR_MIDDLEWARE_CONFLICT","SSG_GET_INITIAL_PROPS_CONFLICT","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","SERVER_PROPS_EXPORT_ERROR","GSP_NO_RETURNED_VALUE","GSSP_NO_RETURNED_VALUE","UNSTABLE_REVALIDATE_RENAME_ERROR","GSSP_COMPONENT_MEMBER_ERROR","NON_STANDARD_NODE_ENV","SSG_FALLBACK_EXPORT_ERROR","ESLINT_DEFAULT_DIRS","SERVER_RUNTIME","experimentalEdge","nodejs","WEB_SOCKET_MAX_RECONNECTIONS","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","WEBPACK_LAYERS","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","WEBPACK_RESOURCE_QUERIES","edgeSSREntry","metadata","metadataRoute","metadataImageMeta","stdout","enabled","NO_COLOR","FORCE_COLOR","isTTY","CI","TERM","replaceClose","str","close","index","nextIndex","formatter","open","input","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","black","red","green","yellow","blue","magenta","purple","cyan","white","gray","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","FallbackMode","parseFallbackField","fallbackField","fallbackModeToFallbackField","fallback","parseStaticPathsResult","fresh","parseTokenList","parseHttpDate","parse","NaN","charCodeAt","WEB_VITALS","used","fn","execOnce","isAbsoluteUrl","ABSOLUTE_URL_REGEX","href","location","hostname","getLocationOrigin","protocol","port","window","getDisplayName","Component","getURL","finished","origin","urlNoQuery","displayName","isResSent","headersSent","ctx","normalizeRepeatedSlashes","urlParts","loadGetInitialProps","App","getInitialProps","pageProps","props","SP","performance","ST","every","DecodeError","NormalizeError","PageNotFoundError","code","MissingStaticPage","MiddlewareNotFoundError","stringifyError","DEFAULT_MAX_POSTPONED_STATE_SIZE","DEFAULT_MAX_POSTPONED_STATE_SIZE_BYTES","parseSizeLimit","bytes","require","isNaN","parseMaxPostponedStateSize","INVALID_MAX_POSTPONED_STATE_SIZE_ERROR_MESSAGE","getMaxPostponedStateSize","configuredMaxPostponedStateSize","maxPostponedStateSize","maxPostponedStateSizeBytes","getPostponedStateExceededErrorMessage","toBuffer","chunk","Buffer","isBuffer","readBodyWithSizeLimit","body","maxBodySizeBytes","buffer","byteLength","vendored","ReactServerDOMTurbopackStatic","createClientModuleProxy","__turbopack_context__","React","Activity","Fragment","useContext","use","Suspense","useDeferredValue","useLayoutEffect","ReactDOM","LayoutRouterContext","GlobalLayoutRouterContext","TemplateContext","unresolvedThenable","ErrorBoundary","disableSmoothScrollDuringRouteTransition","RedirectBoundary","HTTPAccessFallbackBoundary","createRouterCacheKey","useRouterBFCache","NavigationPromisesContext","getParamValueFromCacheKey","isDeferredRsc","enableNewScrollHandler","__NEXT_APP_NEW_SCROLL_HANDLER","__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","findDOMNode","internal_reactDOMfindDOMNode","rectProperties","shouldSkipElement","element","getComputedStyle","position","rect","getBoundingClientRect","item","topOfElementInViewport","viewportHeight","rects","getClientRects","elementTop","POSITIVE_INFINITY","top","getHashFragmentDomNode","hashFragment","document","getElementById","getElementsByName","InnerScrollAndFocusHandlerOld","componentDidMount","handlePotentialScroll","componentDidUpdate","render","children","focusAndScrollRef","cacheNode","scrollRef","forceScroll","current","domNode","Element","HTMLElement","parentElement","localName","nextElementSibling","scrollIntoView","htmlElement","documentElement","clientHeight","scrollTop","dontForceLayout","onlyHashChange","focus","InnerScrollHandlerNew","childrenRef","useRef","activeElement","blur","ref","InnerScrollAndMaybeFocusHandler","ScrollAndMaybeFocusHandler","InnerLayoutRouter","tree","segmentPath","debugNameContext","maybeCacheNode","isActive","parentNavPromises","resolvedPrefetchRsc","prefetchRsc","rsc","resolvedRsc","unwrappedRsc","navigationPromises","createNestedLayoutNavigationPromises","Provider","parentTree","parentCacheNode","parentSegmentPath","parentParams","parentLoadingData","LoadingBoundaryProvider","loading","parentContext","LoadingBoundary","loadingRsc","loadingStyles","loadingScripts","OuterLayoutRouter","parallelRouterKey","errorStyles","errorScripts","templateStyles","templateScripts","template","notFound","forbidden","unauthorized","segmentViewBoundaries","parentTreeSegment","activeTree","maybeParentSlots","slots","maybeValidationBoundaryId","__NEXT_CACHE_COMPONENTS","InstantValidationBoundaryContext","activeSegment","activeCacheNode","activeStateKey","bfcacheEntry","stateKey","segmentBoundaryTriggerNode","segmentViewStateNode","SegmentBoundaryTriggerNode","SegmentViewStateNode","pagePrefix","paramCacheKey","paramValue","debugName","getBoundaryDebugNameFromSegment","childDebugNameContext","isVirtual","debugNameToDisplay","templateValue","errorComponent","RenderValidationBoundaryAtThisLevel","child","SegmentStateProvider","mode","next","isVirtualLayout","RenderFromTemplateContext","urlSearchParamsToParsedUrlQuery","SearchParamsContext","ClientPageRoot","serverProvidedParams","searchParams","layoutRouterContext","clientSearchParams","clientParams","createSearchParamsFromClient","createParamsFromClient","createRenderSearchParamsFromClient","createRenderParamsFromClient","ClientSegmentRoot","ReflectAdapter","receiver","deleteProperty","ActionDidNotRevalidate","ActionDidRevalidateStaticAndDynamic","ActionDidRevalidateDynamicOnly","useUntrackedPathname","HTTPAccessErrorStatus","getAccessFallbackHTTPStatus","getAccessFallbackErrorTypeByStatus","isHTTPAccessFallbackError","warnOnce","MissingSlotContext","HTTPAccessFallbackErrorBoundary","state","triggeredStatus","previousPathname","componentDidCatch","missingSlots","warningMessage","formattedSlots","sort","localeCompare","slot","getDerivedStateFromError","httpStatus","getDerivedStateFromProps","errorComponents","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","isNotFound","isForbidden","isUnauthorized","content","hasErrorFallback","METADATA_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","NameSpace","MetadataBoundary","ViewportBoundary","OutletBoundary","RootLayoutBoundary","IconMark","util","decoderOptions","stream","resolveClientReference","bundlerConfig","moduleExports","resolveServerReference","resolvedModuleData","idx","lastIndexOf","requireAsyncModule","__next_require__","status","reason","instrumentedChunks","WeakSet","loadedChunks","ignoreReject","preloadModule","promises","thenable","__next_chunk_load__","requireModule","__esModule","prepareDestinationWithChunks","moduleLoading","nonce$jscomp$0","nonce","JSCompiler_temp_const","ReactDOMSharedInternals","JSCompiler_temp_const$jscomp$0","X","JSCompiler_temp_const$jscomp$1","JSCompiler_inline_result","crossOrigin","REACT_ELEMENT_TYPE","REACT_LAZY_TYPE","MAYBE_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","ASYNC_ITERATOR","asyncIterator","isArrayImpl","getPrototypeOf","ObjectPrototype","knownServerReferences","WeakMap","serializeNumber","number","isFinite","Infinity","processReply","formFieldPrefix","temporaryReferences","serializeTypedArray","tag","typedArray","Blob","byteOffset","blobId","nextPartId","formData","FormData","serializeBinaryReader","reader","progress","done","data","streamId","pendingParts","read","serializeReader","partJSON","resolveToJSON","x","serializeReadableStream","binaryReader","getReader","serializeAsyncIterable","iterable","partJSON$21","x$22","$$typeof","parentReference","writtenObjects","modelRoot","_payload","init","_init","resolvedModel","lazyId","serializeModel","lazyId$23","partJSON$24","data$25","promiseId","partValue","previousReference","partJSON$27","data$31","forEach","originalValue","originalKey","ArrayBuffer","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array","DataView","ReadableStream","bound","model","json","boundCache","encodeFormData","reference","defaultEncodeFormAction","identifierPrefix","referenceClosure","prefixedData","encType","isSignatureEqual","referenceId","numberOfBoundArgs","boundPromise","boundArgs","registerBoundServerReference","encodeFormAction","originalBind","defineProperties","$$FORM_ACTION","$$IS_SIGNATURE_EQUAL","FunctionBind","Function","ArraySlice","newFn","createBoundServerReference","metaData","callServer","action","createServerReference$1","ReactPromise","initializeModelChunk","initializeModuleChunk","readChunk","createPendingChunk","wakeChunk","response","listeners","listener","fulfillReference","rejectChunk","rejectReference","resolveBlockedCycle","resolvedChunk","referencedChunk","wakeChunkIfInitialized","resolveListeners","rejectListeners","cyclicHandler","splice","triggerErrorOnChunk","createResolvedIteratorResultChunk","resolveIteratorResultChunk","resolveModelChunk","enqueueModel","resolveModuleChunk","initializingHandler","prevHandler","parseModel","errored","deps","reportGlobalError","weakResponse","_closed","_closedReason","_chunks","createLazyChunkWrapper","getChunk","_allowPartialStream","parentObject","referencedChunk$44","mappedValue","waitForReference","parent","loadServerReference","_serverReferenceConfig","_callServer","_encodeFormAction","serverReference","resolvedValue","getOutlinedModel","parseInt","createMap","createSet","createBlob","createFormData","extractIterator","createModel","parseModelString","_tempRefs","resolveErrorProd","BigInt","missingCall","ResponseInstance","serverReferenceConfig","allowPartialStream","_bundlerConfig","_moduleLoading","_nonce","_stringDecoder","TextDecoder","createStreamState","_rowState","_rowID","_rowTag","_rowLength","_buffer","resolveBuffer","enqueueValue","resolveModule","clientReference","blockedChunk","resolveStream","controller","startReadableStream","closed","previousBlockedChunk","enqueue","chunk$55","createIterator","startAsyncIterable","nextWriteIndex","nextReadIndex","arg","mergeBuffer","lastChunk","i$56","resolveTypedArray","bytesPerElement","processFullBinaryRow","streamState","stringDecoder","row","decode","processFullStringRow","D","L","M","digest","processBinaryChunk","rowState","rowID","rowTag","rowLength","chunkLength","lastIdx","offset","reviveModel","noServerCall$1","createResponseFromOptions","serverConsumerManifest","moduleMap","unstable_allowPartialStream","startReadingFromStream$1","onDone","_ref","catch","noServerCall","startReadingFromStream","onEnd","on","createFromFetch","promiseForResponse","createFromNodeStream","createFromReadableStream","createServerReference","createTemporaryReferenceSet","encodeReply","abort","signal","aborted","removeEventListener","addEventListener","registerServerReference","createSegmentVaryParamsAccumulator","accumulator","varyParams","onfulfilled","resolvers","emptySet","createResponseVaryParamsAccumulator","rootParams","workUnitStore","head","emptyVaryParamsAccumulator","responseAccumulator","createVaryParamsAccumulator","varyParamsAccumulator","getMetadataVaryParamsAccumulator","getRootParamsVaryParamsAccumulator","getVaryParamsThenable","getViewportVaryParamsAccumulator","accumulateRootVaryParam","optionalCatchAllParamName","getMetadataVaryParamsThenable","accumulateVaryParam","ownKeys","underlyingSearchParamsWithVarying","underlyingParamsWithVarying","rootParamsAccumulator","rootVaryParams","createVaryingParams","originalParamsObject","finishSegmentAccumulator","createVaryingSearchParams","originalSearchParamsObject","merged","searchParamName","finishAccumulatingVaryParams","segmentAccumulator","resolver"],"mappings":"sCAAO,IAAWA,EAAAA,GAGf,IAHeA,GAwBjB,AArBE,EAAA,AAHeA,GAGf,CAAA,OAHeA,CAOf,EAAA,OAAA,EAAA,CAAA,YAKA,EAAA,OAAA,CAAA,CAAA,WAKA,EAAA,OAAA,EAAA,CAAA,YAKA,EAAA,KAAA,CAAA,CAAA,OAtBeA,+ECAX,SAASC,AAAoBC,CAGnC,SACC,AAAIA,EAAOC,oBAAoB,CACtB,CADwB,WAG7BD,EAAOE,kBAAkB,CACpB,CADsB,aAIjC,4BCFA,MAeKG,QAoDAI,MAmBAG,IAvEAP,AAoDAI,EAgCAM,EAbAH,AAtFAR,IAAAA,EAAAA,GAAAA,CAAAA,EAmGAW,KAnG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C,EAAqB,AAC7D,EAAA,EAGkB,KAAK,CAAC,KAAK,GAC7B,EAAU,kBAAkB,CAAC,EAAqB,CAAG,EAC9C,EAAgB,IAAI,CAAC,AAAC,GAAY,CAAS,CAAC,EAAE,CACzD,CAGJ,GACA,GAJW,AAIP,EACA,GAAI,CACA,OAAO,AAFE,MAEI,CACjB,QAAS,CACD,GACA,EAAY,OAAO,CADN,CAGrB,CAEJ,OAAO,CACX,EAeA,OAVA,EAAQ,aAAa,EAAG,EACxB,EAAQ,oBAAoB,CAAG,IAAI,EACnC,EAAQ,kBAAkB,CAAG,EAC7B,UAAU,CAAC,GAAkB,CAAG,GAGhC,OAAO,cAAc,CAAC,EAAS,OAAQ,CACnC,MAAO,QACP,UAAU,CACd,GACO,CACX,EAU4C,EAAU,EACtD,E1Bh3BuB,CACf,iBAAA,EAAA,gBAAgB,CAChB,qBAAA,EAAA,oBAAoB,AACxB,EACJ","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,85,87,89,91,92,93,94,95,96,97,98,99,100,102,103,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js b/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js deleted file mode 100644 index 9b130a1..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports=[57516,a=>{"use strict";let b={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},c=new Set(Object.values(b));a.s(["HTTPAccessErrorStatus",0,b,"getAccessFallbackErrorTypeByStatus",0,function(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}},"getAccessFallbackHTTPStatus",0,function(a){return Number(a.digest.split(";")[1])},"isHTTPAccessFallbackError",0,function(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,d]=a.digest.split(";");return"NEXT_HTTP_ERROR_FALLBACK"===b&&c.has(Number(d))}])},66574,87375,a=>{"use strict";var b,c=a.i(57516),d=((b={})[b.SeeOther=303]="SeeOther",b[b.TemporaryRedirect=307]="TemporaryRedirect",b[b.PermanentRedirect=308]="PermanentRedirect",b);function e(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,e]=b,f=b.slice(2,-2).join(";"),g=Number(b.at(-2));return"NEXT_REDIRECT"===c&&("replace"===e||"push"===e)&&"string"==typeof f&&!isNaN(g)&&g in d}a.s(["isRedirectError",0,e],87375),a.s(["isNextRouterError",0,function(a){return e(a)||(0,c.isHTTPAccessFallbackError)(a)}],66574)},28535,a=>{"use strict";a.s(["InvariantError",0,class extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}])},92397,a=>{"use strict";a.s(["createPromiseWithResolvers",0,function(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}])},27325,a=>{"use strict";a.s(["METADATA_BOUNDARY_NAME",0,"__next_metadata_boundary__","OUTLET_BOUNDARY_NAME",0,"__next_outlet_boundary__","ROOT_LAYOUT_BOUNDARY_NAME",0,"__next_root_layout_boundary__","VIEWPORT_BOUNDARY_NAME",0,"__next_viewport_boundary__"])},24970,53883,28734,66119,92307,64573,a=>{"use strict";var b,c,d,e=a.i(72131);let f="DYNAMIC_SERVER_USAGE";class g extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=f}}a.s(["DynamicServerError",0,g,"isDynamicServerError",0,function(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===f}],53883);class h extends Error{constructor(...a){super(...a),this.code="NEXT_STATIC_GEN_BAILOUT"}}a.s(["StaticGenBailoutError",0,h],28734);var i=a.i(32319),j=a.i(56704),k=a.i(28535);a.i(92397);var l=((b={})[b.Before=1]="Before",b[b.EarlyStatic=2]="EarlyStatic",b[b.Static=3]="Static",b[b.EarlyRuntime=4]="EarlyRuntime",b[b.Runtime=5]="Runtime",b[b.Dynamic=6]="Dynamic",b[b.Abandoned=7]="Abandoned",b);a.s(["RenderStage",0,l],66119);let m="HANGING_PROMISE_REJECTION";class n extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=m}}let o=new WeakMap;function p(a,b,c){if(a.aborted)return Promise.reject(new n(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new n(b,c)),g=o.get(a);if(g)g.push(f);else{let b=[f];o.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a{setTimeout(()=>{b(a)},0)})},"makeHangingPromise",0,p],92307);var s=a.i(27325);let t=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},u="BAILOUT_TO_CLIENT_SIDE_RENDERING";class v extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=u}}a.s(["BailoutToCSRError",0,v,"isBailoutToCSRError",0,function(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===u}],64573);let w="function"==typeof e.default.unstable_postpone;function x(a,b,c){let d=C(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function y(a,b,c){(function(){if(!w)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),e.default.unstable_postpone(z(a,b))}function z(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function A(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===A(z("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let B="NEXT_PRERENDER_INTERRUPTED";function C(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=B,b}let D=/\n\s+at Suspense \(\)/,E=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${s.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),F=RegExp(`\\n\\s+at ${s.METADATA_BOUNDARY_NAME}[\\n\\s]`),G=RegExp(`\\n\\s+at ${s.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),H=RegExp(`\\n\\s+at ${s.OUTLET_BOUNDARY_NAME}[\\n\\s]`),I=RegExp("\\n\\s+at __next_instant_validation_boundary__[\\n\\s]");var J=((c={})[c.Runtime=1]="Runtime",c[c.Dynamic=2]="Dynamic",c);function K(a,b,c){return null!==c&&(a.cause=c()),a.stack=a.name+": "+a.message+b,a}var L=((d={})[d.Full=0]="Full",d[d.Empty=1]="Empty",d[d.Errored=2]="Errored",d);function M(a,b){console.error(b),console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}a.s(["DynamicHoleKind",0,J,"Postpone",0,function({reason:a,route:b}){let c=i.workUnitAsyncStorage.getStore();y(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)},"PreludeState",0,L,"abortAndThrowOnSynchronousRequestDataAccess",0,function(a,b,c,d){if(!1===d.controller.signal.aborted){x(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw C(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)},"abortOnSynchronousPlatformIOAccess",0,function(a,b,c,d){let e=d.dynamicTracking;x(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)},"accessedDynamicData",0,function(a){return a.length>0},"annotateDynamicAccess",0,function(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})},"consumeDynamicAccess",0,function(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses},"createDynamicTrackingState",0,function(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}},"createDynamicValidationState",0,function(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}},"createHangingInputAbortSignal",0,function(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else if("prerender-runtime"===a.type&&a.stagedRendering){let{stagedRendering:c}=a;c.waitForStage(r(c)).then(()=>t(()=>b.abort()))}else t(()=>b.abort());return b.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}},"createInstantValidationState",0,function(a){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:a}},"createRenderInBrowserAbortSignal",0,function(){let a=new AbortController;return a.abort(Object.defineProperty(new v("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal},"formatDynamicAPIAccesses",0,function(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" ()")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: -${b}`))},"getFirstDynamicReason",0,function(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression},"getNavigationDisallowedDynamicReasons",0,function(a,b,c,d,e){if(d){let{missingSampleErrors:a}=d;if(a.length>0)return a}let{validationPreventingErrors:f}=c;if(f.length>0)return f;if(e.renderedIds.size0)return d;if(1===b)return c.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new k.InvariantError(`Route "${a.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})]}else{let a=c.dynamicErrors;if(a.length>0)return a;if(!1===c.hasAllowedDynamic&&c.dynamicMetadata)return[c.dynamicMetadata]}return[]},"getStaticShellDisallowedDynamicReasons",0,function(a,b,c,d){if(d||c.hasSuspenseAboveBody)return[];if(0!==b){let d=c.dynamicErrors;if(d.length>0)return d;if(1===b)return[Object.defineProperty(new k.InvariantError(`Route "${a.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===c.hasAllowedDynamic&&0===c.dynamicErrors.length&&c.dynamicMetadata)return[c.dynamicMetadata];return[]},"isDynamicPostpone",0,function(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&A(a.message)},"isPrerenderInterruptedError",0,function(a){return"object"==typeof a&&null!==a&&a.digest===B&&"name"in a&&"message"in a&&a instanceof Error},"logDisallowedDynamicError",0,M,"markCurrentScopeAsDynamic",0,function(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new h(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return y(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new g(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}},"postponeWithTracking",0,y,"throwIfDisallowedDynamic",0,function(a,b,c,d){if(d.syncDynamicErrorWithStack)throw M(a,d.syncDynamicErrorWithStack),new h;if(0!==b){if(c.hasSuspenseAboveBody)return;let d=c.dynamicErrors;if(d.length>0){for(let b=0;b. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),b,null);return void c.dynamicErrors.push(e)}}},"trackDynamicDataInDynamicRender",0,function(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}},"trackDynamicHoleInNavigation",0,function(a,b,c,d,e,f){if(H.test(b))return;if(F.test(b)){let d=K(Object.defineProperty(Error(`Route "${a.route}": ${1===e?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`."} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicMetadata=d;return}if(G.test(b)){let d=K(Object.defineProperty(Error(`Route "${a.route}": ${1===e?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicErrors.push(d);return}let g=I.exec(b);if(g){let a=D.exec(b);if(a&&a.index`.":"Uncached data or `connection()` was accessed outside of ``."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicErrors.push(h)},"trackDynamicHoleInRuntimeShell",0,function(a,b,c,d){if(H.test(b))return;if(F.test(b)){c.dynamicMetadata=K(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1080",enumerable:!1,configurable:!0}),b,null);return}if(G.test(b)){let d=K(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1077",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(d);return}if(E.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}if(D.test(b)){c.hasAllowedDynamic=!0;return}else if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=K(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(e)},"trackDynamicHoleInStaticShell",0,function(a,b,c,d){if(!H.test(b)){if(F.test(b)){c.dynamicMetadata=K(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,configurable:!0}),b,null);return}if(G.test(b)){let d=K(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(d);return}if(E.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(D.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=K(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),b,null);return void c.dynamicErrors.push(e)}}},"trackThrownErrorInNavigation",0,function(a,b,c,d){let e=I.exec(d);if(e){let f=D.exec(d);if(f&&f.index0&&e.default.use(p(c.renderSignal,b.route,a));break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d&&d.size>0)return y(b.route,a,c.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called in \`generateStaticParams\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}},"useDynamicSearchParams",0,function(a){let b=j.workAsyncStorage.getStore(),c=i.workUnitAsyncStorage.getStore();if(b)switch(!c&&(0,i.throwForMissingRequestStore)(a),c.type){case"validation-client":case"request":return;case"prerender-client":e.default.use(p(c.renderSignal,b.route,a));break;case"prerender-legacy":case"prerender-ppr":if(b.forceStatic)return;throw Object.defineProperty(new v(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new k.InvariantError(`\`${a}\` was called in \`generateStaticParams\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}],24970)},29594,a=>{"use strict";var b=a.i(92307);let c=Symbol.for("react.postpone");var d=a.i(64573),e=a.i(66574),f=a.i(24970),g=a.i(53883);a.s(["unstable_rethrow",0,function a(h){if((0,e.isNextRouterError)(h)||(0,d.isBailoutToCSRError)(h)||(0,g.isDynamicServerError)(h)||(0,f.isDynamicPostpone)(h)||"object"==typeof h&&null!==h&&h.$$typeof===c||(0,b.isHangingPromiseRejectionError)(h)||(0,f.isPrerenderInterruptedError)(h))throw h;h instanceof Error&&"cause"in h&&a(h.cause)}],29594)},61660,14290,1303,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(36313);function e(){return!function(){{let{workUnitAsyncStorage:b}=a.r(32319),c=b.getStore();if(!c)return!1;switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"validation-client":let d=c.fallbackRouteParams;return!!d&&d.size>0}return!1}}()?(0,c.useContext)(d.PathnameContext):null}a.s(["useUntrackedPathname",0,e],14290);var f=a.i(57516);a.s([],1303);var g=a.i(9270);class h extends c.default.Component{constructor(a){super(a),this.state={triggeredStatus:void 0,previousPathname:a.pathname}}componentDidCatch(){}static getDerivedStateFromError(a){if((0,f.isHTTPAccessFallbackError)(a))return{triggeredStatus:(0,f.getAccessFallbackHTTPStatus)(a)};throw a}static getDerivedStateFromProps(a,b){return a.pathname!==b.previousPathname&&b.triggeredStatus?{triggeredStatus:void 0,previousPathname:a.pathname}:{triggeredStatus:b.triggeredStatus,previousPathname:a.pathname}}render(){let{notFound:a,forbidden:c,unauthorized:d,children:e}=this.props,{triggeredStatus:g}=this.state,h={[f.HTTPAccessErrorStatus.NOT_FOUND]:a,[f.HTTPAccessErrorStatus.FORBIDDEN]:c,[f.HTTPAccessErrorStatus.UNAUTHORIZED]:d};if(g){let i=g===f.HTTPAccessErrorStatus.NOT_FOUND&&a,j=g===f.HTTPAccessErrorStatus.FORBIDDEN&&c,k=g===f.HTTPAccessErrorStatus.UNAUTHORIZED&&d;return i||j||k?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("meta",{name:"robots",content:"noindex"}),!1,h[g]]}):e}return e}}a.s(["HTTPAccessFallbackBoundary",0,function({notFound:a,forbidden:d,unauthorized:f,children:i}){let j=e(),k=(0,c.useContext)(g.MissingSlotContext);return a||d||f?(0,b.jsx)(h,{pathname:j,notFound:a,forbidden:d,unauthorized:f,missingSlots:k,children:i}):(0,b.jsx)(b.Fragment,{children:i})}],61660)},51040,a=>{"use strict";a.s(["NEXT_DID_POSTPONE_HEADER",0,"x-nextjs-postponed","NEXT_INSTANT_TEST_COOKIE",0,"next-instant-navigation-testing","NEXT_REWRITTEN_PATH_HEADER",0,"x-nextjs-rewritten-path","NEXT_REWRITTEN_QUERY_HEADER",0,"x-nextjs-rewritten-query","NEXT_ROUTER_PREFETCH_HEADER",0,"next-router-prefetch","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER",0,"next-router-segment-prefetch","NEXT_ROUTER_STALE_TIME_HEADER",0,"x-nextjs-stale-time","NEXT_ROUTER_STATE_TREE_HEADER",0,"next-router-state-tree","NEXT_RSC_UNION_QUERY",0,"_rsc","NEXT_URL",0,"next-url","RSC_CONTENT_TYPE_HEADER",0,"text/x-component","RSC_HEADER",0,"rsc"])},60805,27062,76784,a=>{"use strict";function b(a,b){if(a.includes(c)){let a=JSON.stringify(b);return"{}"!==a?c+"?"+a:c}return a}let c="__PAGE__",d="__DEFAULT__";a.s(["DEFAULT_SEGMENT_KEY",0,d,"PAGE_SEGMENT_KEY",0,c,"addSearchParamsIfPageSegment",0,b],27062);let e=/^[a-zA-Z0-9\-_@]+$/;function f(a){return e.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}a.s(["HEAD_REQUEST_KEY",0,"/_head","ROOT_SEGMENT_REQUEST_KEY",0,"","appendSegmentRequestKeyPart",0,function(a,b,c){return a+"/"+("children"===b?c:`@${f(b)}/${c}`)},"createSegmentRequestKeyPart",0,function(a){if("string"==typeof a)return a.startsWith(c)?c:"/_not-found"===a?"_not-found":f(a);let b=a[0];return"$"+a[2]+"$"+f(b)}],76784);var g=a.i(51040);function h(a){try{return encodeURIComponent(decodeURIComponent(a))}catch{return a}}function i(a){let b=new URL(a);return b.searchParams.delete(g.NEXT_RSC_UNION_QUERY),b}a.s(["doesStaticSegmentAppearInURL",0,function(a){return!(""===a||a.startsWith(c)||"("===a[0]&&a.endsWith(")"))&&a!==d&&"/_not-found"!==a},"getCacheKeyForDynamicParam",0,function(a,c){return"string"==typeof a?b(a,Object.fromEntries(new URLSearchParams(c))):null===a?"":a.join("/")},"getParamValueFromCacheKey",0,function(a,b){return"c"===b||"oc"===b?a.split("/"):a},"getRenderedPathname",0,function(a){return a.headers.get(g.NEXT_REWRITTEN_PATH_HEADER)??i(new URL(a.url)).pathname},"getRenderedSearch",0,function(a){let b=a.headers.get(g.NEXT_REWRITTEN_QUERY_HEADER);return null!==b?""===b?"":"?"+b:i(new URL(a.url)).search},"parseDynamicParamFromURLPart",0,function(a,b,c){switch(a){case"c":return ch(a)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let d=a.length-2;return c0===b?h(a.slice(d)):h(a)):[]}case"oc":return ch(a)):null;case"d":if(c>=b.length)return"";return h(b[c]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let d=a.length-2;if(c>=b.length)return"";return h(b[c].slice(d))}default:return""}},"urlSearchParamsToParsedUrlQuery",0,function(a){let b={};for(let[c,d]of a.entries())void 0===b[c]?b[c]=d:Array.isArray(b[c])?b[c].push(d):b[c]=[b[c],d];return b}],60805)},6634,a=>{"use strict";a.i(72131),a.s(["dispatchAppRouterAction",0,function(a){throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}])},96659,a=>{"use strict";async function b(){}a.i(51040),a.i(6634),a.s(["isNavigationLocked",0,function(){return!1},"startListeningForInstantNavigationCookie",0,function(){},"transitionToCapturedSPA",0,function(a,b){},"updateCapturedSPAToTree",0,function(a,b){},"waitForNavigationLockIfActive",0,b])},2420,a=>{"use strict";var b,c,d=a.i(87924),e=a.i(72131),f=a.i(35112),g=a.i(9270);let h={then:()=>{}};var i=e,j=a.i(14290),k=a.i(66574);let l=a.r(56704).workAsyncStorage;/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i.source;class m extends i.default.Component{static{this.contextType=g.AppRouterContext}constructor(a){super(a),this.reset=()=>{this.setState({error:null})},this.unstable_retry=()=>{(0,i.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(a){if((0,k.isNextRouterError)(a))throw a;return{error:a}}static getDerivedStateFromProps(a,b){let{error:c}=b;return a.pathname!==b.previousPathname&&b.error?{error:null,previousPathname:a.pathname}:{error:b.error,previousPathname:a.pathname}}render(){return this.state.error&&1?(!function({error:a}){if(l){let b=l.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}}({error:this.state.error}),(0,d.jsxs)(d.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,d.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset,unstable_retry:this.unstable_retry})]})):this.props.children}}function n({errorComponent:a,errorStyles:b,errorScripts:c,children:e}){let f=(0,j.useUntrackedPathname)();return a?(0,d.jsx)(m,{pathname:f,errorComponent:a,errorStyles:b,errorScripts:c,children:e}):(0,d.jsx)(d.Fragment,{children:e})}a.i(1303);var o=e,p=a.i(36313);a.i(18341);URLSearchParams;var q=a.i(87375);a.r(20635).actionAsyncStorage,a.r(29594).unstable_rethrow,a.r(24970).useDynamicRouteParams,a.r(24970).useDynamicSearchParams;let{instrumentParamsForClientValidation:r,instrumentSearchParamsForClientValidation:s,expectCompleteParamsInClientValidation:t}={};function u(){let a=(0,e.useContext)(g.AppRouterContext);if(null===a)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return a}function v({redirect:a,reset:b,redirectType:c}){let d=u();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{"push"===c?d.push(a,{}):d.replace(a,{}),b()})},[a,c,b,d]),null}class w extends o.default.Component{constructor(a){super(a),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(a){if((0,q.isRedirectError)(a)){let b=(0,q.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null,c=function(a){if(!(0,q.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}(a);return"handled"in a?{redirect:null,redirectType:null}:{redirect:b,redirectType:c}}throw a}render(){let{redirect:a,redirectType:b}=this.state;return null!==a&&null!==b?(0,d.jsx)(v,{redirect:a,redirectType:b,reset:()=>this.setState({redirect:null})}):this.props.children}}function x({children:a}){let b=u();return(0,d.jsx)(w,{router:b,children:a})}var y=a.i(61660),z=a.i(27062),A=a.i(60805),B=a.i(38783);a.i(51040),a.i(6634),new TextEncoder;var C=((c={})[c.Intent=2]="Intent",c[c.Default=1]="Default",c[c.Background=0]="Background",c);function D(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}"function"==typeof queueMicrotask&&queueMicrotask,a.i(76784);let E="function"==typeof WeakMap?new WeakMap:new Map,F=new Set;"function"==typeof IntersectionObserver&&new IntersectionObserver(function(a){for(let b of a){let a=b.intersectionRatio>0;!function(a,b){let c=E.get(a);void 0!==c&&(c.isVisible=b,b?F.add(c):F.delete(c),C.Default)}(b.target,a)}},{rootMargin:"200px"}),D(),b=Number("300"),a.i(92397);let G={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};({...G,GROUP:{builtinReact:[G.reactServerComponents,G.actionBrowser],serverOnly:[G.reactServerComponents,G.actionBrowser,G.instrument,G.middleware],neutralTarget:[G.apiNode,G.apiEdge],clientOnly:[G.serverSideRendering,G.appPagesBrowser],bundled:[G.reactServerComponents,G.actionBrowser,G.serverSideRendering,G.appPagesBrowser,G.shared,G.instrument,G.middleware],appPages:[G.reactServerComponents,G.serverSideRendering,G.appPagesBrowser,G.actionBrowser]}}),D(),D(),B.createFromReadableStream,B.createFromFetch;let H=Symbol();f.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;let I=["bottom","height","left","right","top","width","x","y"];function J(a,b){let c=a.getClientRects();if(0===c.length)return!1;let d=1/0;for(let a=0;a=0&&d<=b}class K extends e.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.handlePotentialScroll()}render(){return this.props.children}constructor(...a){super(...a),this.handlePotentialScroll=()=>{let{focusAndScrollRef:a,cacheNode:b}=this.props,c=a.forceScroll?a.scrollRef:b.scrollRef;if(null===c||!c.current)return;let d=null,e=a.hashFragment;if(e&&(d="top"===e?document.body:document.getElementById(e)??document.getElementsByName(e)[0]),d||(d=null),d instanceof Element){for(;!(d instanceof HTMLElement)||function(a){if(["sticky","fixed"].includes(getComputedStyle(a).position))return!0;let b=a.getBoundingClientRect();return I.every(a=>0===b[a])}(d);){if(null===d.nextElementSibling)return;d=d.nextElementSibling}c.current=!1,function(a,b={}){if(b.onlyHashChange)return a();let c=document.documentElement;if("smooth"!==c.dataset.scrollBehavior)return a();let d=c.style.scrollBehavior;c.style.scrollBehavior="auto",b.dontForceLayout||c.getClientRects(),a(),c.style.scrollBehavior=d}(()=>{if(e)return void d.scrollIntoView();let a=document.documentElement,b=a.clientHeight;!J(d,b)&&(a.scrollTop=0,J(d,b)||d.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:a.onlyHashChange}),a.onlyHashChange=!1,a.hashFragment=null,d.focus()}}}}function L({children:a,cacheNode:b}){let c=(0,e.useContext)(g.GlobalLayoutRouterContext);if(!c)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,d.jsx)(K,{focusAndScrollRef:c.focusAndScrollRef,cacheNode:b,children:a})}function M({tree:a,segmentPath:b,debugNameContext:c,cacheNode:f,params:i,url:j,isActive:k}){let l,m=(0,e.useContext)(g.GlobalLayoutRouterContext);if((0,e.useContext)(p.NavigationPromisesContext),!m)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let n=null!==f?f:(0,e.use)(h),o=null!==n.prefetchRsc?n.prefetchRsc:n.rsc,q=(0,e.useDeferredValue)(n.rsc,o);if(q&&"object"==typeof q&&q.tag===H){let a=(0,e.use)(q);null===a&&(0,e.use)(h),l=a}else null===q&&(0,e.use)(h),l=q;let r=l;return(0,d.jsx)(g.LayoutRouterContext.Provider,{value:{parentTree:a,parentCacheNode:n,parentSegmentPath:b,parentParams:i,parentLoadingData:null,debugNameContext:c,url:j,isActive:k},children:r})}function N({name:a,loading:b,children:c}){if(null!==b){let f=b[0],g=b[1],h=b[2];return(0,d.jsx)(e.Suspense,{name:a,fallback:(0,d.jsxs)(d.Fragment,{children:[g,h,f]}),children:c})}return(0,d.jsx)(d.Fragment,{children:c})}a.s(["LoadingBoundaryProvider",0,function({loading:a,children:b}){let c=(0,e.use)(g.LayoutRouterContext);return null===c?b:(0,d.jsx)(g.LayoutRouterContext.Provider,{value:{parentTree:c.parentTree,parentCacheNode:c.parentCacheNode,parentSegmentPath:c.parentSegmentPath,parentParams:c.parentParams,parentLoadingData:a,debugNameContext:c.debugNameContext,url:c.url,isActive:c.isActive},children:b})},"default",0,function({parallelRouterKey:a,error:b,errorStyles:c,errorScripts:f,templateStyles:i,templateScripts:j,template:k,notFound:l,forbidden:m,unauthorized:o,segmentViewBoundaries:p}){let q=(0,e.useContext)(g.LayoutRouterContext);if(!q)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:r,parentCacheNode:s,parentSegmentPath:t,parentParams:u,parentLoadingData:v,url:w,isActive:B,debugNameContext:C}=q,D=r[0],E=null===t?[a]:t.concat([D,a]),F=r[1][a],G=s.slots;(void 0===F||null===G)&&(0,e.use)(h);let H=F[0],I=G[a]??null,J=function(a,b=!1){return Array.isArray(a)?`${a[0]}|${a[1]}|${a[2]}`:b&&a.startsWith(z.PAGE_SEGMENT_KEY)?z.PAGE_SEGMENT_KEY:a}(H,!0),K=function(a,b,c){let[d,f]=(0,e.useState)(()=>({tree:a,cacheNode:b,stateKey:c,next:null}));if(d.tree===a)return d;let g={tree:a,cacheNode:b,stateKey:c,next:null},h=1,i=d,j=g;for(;null!==i&&h<1;){if(i.stateKey===c){j.next=i.next;break}{h++;let a={tree:i.tree,cacheNode:i.cacheNode,stateKey:i.stateKey,next:null};j.next=a,j=a}i=i.next}return f(g),g}(F,I,J),O=[];do{let a=K.tree,e=K.cacheNode,h=K.stateKey,p=a[0],q=u;if(Array.isArray(p)){let a=p[0],b=p[1],c=p[2],d=(0,A.getParamValueFromCacheKey)(b,c);null!==d&&(q={...u,[a]:d})}let r=function(a){if("/"===a)return"/";if("string"==typeof a)if("(__SLOT__)"===a)return;else return a+"/";return a[1]+"/"}(p),s=r??C,t=void 0===r?void 0:C,z=(0,d.jsxs)(L,{cacheNode:e,children:[(0,d.jsx)(n,{errorComponent:b,errorStyles:c,errorScripts:f,children:(0,d.jsx)(N,{name:t,loading:v,children:(0,d.jsx)(y.HTTPAccessFallbackBoundary,{notFound:l,forbidden:m,unauthorized:o,children:(0,d.jsxs)(x,{children:[(0,d.jsx)(M,{url:w,tree:a,params:q,cacheNode:e,segmentPath:E,debugNameContext:s,isActive:B&&h===J}),null]})})})}),null]}),D=(0,d.jsxs)(g.TemplateContext.Provider,{value:z,children:[i,j,k]},h);O.push(D),K=K.next}while(null!==K)return O}],2420)},24017,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(9270);a.s(["default",0,function(){let a=(0,c.useContext)(d.TemplateContext);return(0,b.jsx)(b.Fragment,{children:a})}])},39684,18366,a=>{"use strict";var b=a.i(32319);function c(a,b){a.varyParams.add(b)}a.s(["createVaryingParams",0,function(a,b,d){if(null!==d)return new Proxy(b,{get:(b,e,f)=>("string"==typeof e&&(e===d||Object.prototype.hasOwnProperty.call(b,e))&&c(a,e),Reflect.get(b,e,f)),has:(b,e)=>(e===d&&c(a,d),Reflect.has(b,e)),ownKeys:b=>(c(a,d),Reflect.ownKeys(b))});let e={};for(let d in b)Object.defineProperty(e,d,{get:()=>(c(a,d),b[d]),enumerable:!0});return e},"createVaryingSearchParams",0,function(a,b){let d={};for(let e in b)Object.defineProperty(d,e,{get:()=>(c(a,"?"),b[e]),enumerable:!0});return d},"getMetadataVaryParamsAccumulator",0,function(){let a=b.workUnitAsyncStorage.getStore();if(a)switch(a.type){case"prerender":case"prerender-runtime":{let b=a.varyParamsAccumulator;if(null!==b)return b.head}}return null}],39684);var d=a.i(72131);let e={current:null},f="function"==typeof d.cache?d.cache:a=>a,g=console.warn;f(a=>{try{g(e.current)}finally{e.current=null}}),a.s(["createDedupedByCallsiteServerErrorLoggerDev",0,function(a){return function(...b){g(a(...b))}}],18366)},19107,69825,a=>{"use strict";a.s(["ReflectAdapter",0,class{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}],19107);let b=/^[A-Za-z_$][A-Za-z0-9_$]*$/,c=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"]);a.s(["describeHasCheckingStringProperty",0,function(a,b){let c=JSON.stringify(b);return`\`Reflect.has(${a}, ${c})\`, \`${c} in ${a}\`, or similar`},"describeStringPropertyAccess",0,function(a,c){return b.test(c)?`\`${a}.${c}\``:`\`${a}[${JSON.stringify(c)}]\``},"wellKnownProperties",0,c],69825)},87598,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={RequestCookies:()=>p,ResponseCookies:()=>q,parseCookie:()=>l,parseSetCookie:()=>m,stringifyCookie:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});function k(a){var b;let c=["path"in a&&a.path&&`Path=${a.path}`,"expires"in a&&(a.expires||0===a.expires)&&`Expires=${("number"==typeof a.expires?new Date(a.expires):a.expires).toUTCString()}`,"maxAge"in a&&"number"==typeof a.maxAge&&`Max-Age=${a.maxAge}`,"domain"in a&&a.domain&&`Domain=${a.domain}`,"secure"in a&&a.secure&&"Secure","httpOnly"in a&&a.httpOnly&&"HttpOnly","sameSite"in a&&a.sameSite&&`SameSite=${a.sameSite}`,"partitioned"in a&&a.partitioned&&"Partitioned","priority"in a&&a.priority&&`Priority=${a.priority}`].filter(Boolean),d=`${a.name}=${encodeURIComponent(null!=(b=a.value)?b:"")}`;return 0===c.length?d:`${d}; ${c.join("; ")}`}function l(a){let b=new Map;for(let c of a.split(/; */)){if(!c)continue;let a=c.indexOf("=");if(-1===a){b.set(c,"true");continue}let[d,e]=[c.slice(0,a),c.slice(a+1)];try{b.set(d,decodeURIComponent(null!=e?e:"true"))}catch{}}return b}function m(a){if(!a)return;let[[b,c],...d]=l(a),{domain:e,expires:f,httponly:g,maxage:h,path:i,samesite:j,secure:k,partitioned:m,priority:p}=Object.fromEntries(d.map(([a,b])=>[a.toLowerCase().replace(/-/g,""),b]));{var q,r,s={name:b,value:decodeURIComponent(c),domain:e,...f&&{expires:new Date(f)},...g&&{httpOnly:!0},..."string"==typeof h&&{maxAge:Number(h)},path:i,...j&&{sameSite:n.includes(q=(q=j).toLowerCase())?q:void 0},...k&&{secure:!0},...p&&{priority:o.includes(r=(r=p).toLowerCase())?r:void 0},...m&&{partitioned:!0}};let a={};for(let b in s)s[b]&&(a[b]=s[b]);return a}}b.exports=((a,b,c)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let h of f(b))g.call(a,h)||void 0===h||d(a,h,{get:()=>b[h],enumerable:!(c=e(b,h))||c.enumerable});return a})(d({},"__esModule",{value:!0}),h);var n=["strict","lax","none"],o=["low","medium","high"],p=class{constructor(a){this._parsed=new Map,this._headers=a;const b=a.get("cookie");if(b)for(const[a,c]of l(b))this._parsed.set(a,{name:a,value:c})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed);if(!a.length)return c.map(([a,b])=>b);let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(([a])=>a===d).map(([a,b])=>b)}has(a){return this._parsed.has(a)}set(...a){let[b,c]=1===a.length?[a[0].name,a[0].value]:a,d=this._parsed;return d.set(b,{name:b,value:c}),this._headers.set("cookie",Array.from(d).map(([a,b])=>k(b)).join("; ")),this}delete(a){let b=this._parsed,c=Array.isArray(a)?a.map(a=>b.delete(a)):b.delete(a);return this._headers.set("cookie",Array.from(b).map(([a,b])=>k(b)).join("; ")),c}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a=>`${a.name}=${encodeURIComponent(a.value)}`).join("; ")}},q=class{constructor(a){var b,c,d;this._parsed=new Map,this._headers=a;const e=null!=(d=null!=(c=null==(b=a.getSetCookie)?void 0:b.call(a))?c:a.get("set-cookie"))?d:[];for(const a of Array.isArray(e)?e:function(a){if(!a)return[];var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}(e)){const b=m(a);b&&this._parsed.set(b.name,b)}}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed.values());if(!a.length)return c;let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(a=>a.name===d)}has(a){return this._parsed.has(a)}set(...a){let[b,c,d]=1===a.length?[a[0].name,a[0].value,a[0]]:a,e=this._parsed;return e.set(b,function(a={name:"",value:""}){return"number"==typeof a.expires&&(a.expires=new Date(a.expires)),a.maxAge&&(a.expires=new Date(Date.now()+1e3*a.maxAge)),(null===a.path||void 0===a.path)&&(a.path="/"),a}({name:b,value:c,...d})),function(a,b){for(let[,c]of(b.delete("set-cookie"),a)){let a=k(c);b.append("set-cookie",a)}}(e,this._headers),this}delete(...a){let[b,c]="string"==typeof a[0]?[a[0]]:[a[0].name,a[0]];return this.set({...c,name:b,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(k).join("; ")}}},47395,a=>{"use strict";var b=a.i(87598),c=a.i(19107);a.i(56704);class d extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new d}}class e{static seal(a){return new Proxy(a,{get(a,b,e){switch(b){case"clear":case"delete":case"set":return d.callable;default:return c.ReflectAdapter.get(a,b,e)}}})}}Symbol.for("next.mutated.cookies");class f extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new f}}class g extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,d,e){if("symbol"==typeof d)return c.ReflectAdapter.get(b,d,e);let f=d.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);if(void 0!==g)return c.ReflectAdapter.get(b,g,e)},set(b,d,e,f){if("symbol"==typeof d)return c.ReflectAdapter.set(b,d,e,f);let g=d.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return c.ReflectAdapter.set(b,h??d,e,f)},has(b,d){if("symbol"==typeof d)return c.ReflectAdapter.has(b,d);let e=d.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0!==f&&c.ReflectAdapter.has(b,f)},deleteProperty(b,d){if("symbol"==typeof d)return c.ReflectAdapter.deleteProperty(b,d);let e=d.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0===f||c.ReflectAdapter.deleteProperty(b,f)}})}static seal(a){return new Proxy(a,{get(a,b,d){switch(b){case"append":case"delete":case"set":return f.callable;default:return c.ReflectAdapter.get(a,b,d)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new g(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}let h=["(..)(..)","(.)","(..)","(...)"];var i=a.i(28535);class j extends Error{constructor(...a){super(...a),this.digest="INSTANT_VALIDATION_ERROR"}}var k=a.i(32319),l=a.i(69825);function m(a){(function(){let a=null,b=k.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"request":case"validation-client":a=b.validationSampleTracking??null}if(!a)throw Object.defineProperty(new i.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking"),"__NEXT_ERROR_CODE",{value:"E1110",enumerable:!1,configurable:!0});return a})().missingSampleErrors.push(a)}function n(a){throw m(a),a}function o(a,b){return Object.defineProperty(new j(`Route "${a}" accessed cookie "${b}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${b}", value: null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1115",enumerable:!1,configurable:!0})}function p(a,b){return Object.defineProperty(new j(`Route "${a}" accessed searchParam "${b}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${b}": null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1098",enumerable:!1,configurable:!0})}a.s(["assertRootParamInSamples",0,function(a,b,c){if(b&&c in b);else{let b=a.route;n(Object.defineProperty(new j(`Route "${b}" accessed root param "${c}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1114",enumerable:!1,configurable:!0}))}},"createCookiesFromSample",0,function(a,c){let d=new Set,f=new b.RequestCookies(new Headers);if(a)for(let b of a)d.add(b.name),null!==b.value&&f.set(b.name,b.value);return new Proxy(e.seal(f),{get(a,b,e){if("has"===b){let f=Reflect.get(a,b,e);return function(b){return d.has(b)||n(o(c,b)),f.call(a,b)}}if("get"===b){let f=Reflect.get(a,b,e);return function(b){let e;if("string"==typeof b)e=b;else{if(!b||"object"!=typeof b||"string"!=typeof b.name)return f.call(a,b);e=b.name}return d.has(e)||n(o(c,e)),f.call(a,e)}}return Reflect.get(a,b,e)}})},"createDraftModeForValidation",0,function(){return{get isEnabled(){return!1},enable(){throw Object.defineProperty(Error("Draft mode cannot be enabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1092",enumerable:!1,configurable:!0})},disable(){throw Object.defineProperty(Error("Draft mode cannot be disabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1094",enumerable:!1,configurable:!0})}}},"createExhaustiveParamsProxy",0,function(a,b,c){return new Proxy(a,{get:(d,e,f)=>("string"==typeof e&&!l.wellKnownProperties.has(e)&&e in a&&!b.has(e)&&n(Object.defineProperty(new j(`Route "${c}" accessed param "${e}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1095",enumerable:!1,configurable:!0})),Reflect.get(d,e,f))})},"createExhaustiveSearchParamsProxy",0,function(a,b,c){return new Proxy(a,{get:(a,d,e)=>("string"!=typeof d||l.wellKnownProperties.has(d)||b.has(d)||n(p(c,d)),Reflect.get(a,d,e)),has:(a,d)=>("string"!=typeof d||l.wellKnownProperties.has(d)||b.has(d)||n(p(c,d)),Reflect.has(a,d))})},"createExhaustiveURLSearchParamsProxy",0,function(a,b,c){return new Proxy(a,{get(a,d,e){if("get"===d||"getAll"===d||"has"===d){let f=Reflect.get(a,d,e);return d=>("string"!=typeof d||b.has(d)||n(p(c,d)),f.call(a,d))}let f=Reflect.get(a,d,e);return"function"!=typeof f||Object.hasOwn(a,d)?f:f.bind(a)}})},"createHeadersFromSample",0,function(a,b,c){let d=a?[...a]:[];if(d.find(([a])=>"cookie"===a.toLowerCase()))throw Object.defineProperty(new j('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'),"__NEXT_ERROR_CODE",{value:"E1111",enumerable:!1,configurable:!0});if(b){let a=b.toString();d.push(["cookie",""!==a?a:null])}let e=new Set,f={};for(let[a,b]of d)e.add(a.toLowerCase()),null!==b&&(f[a.toLowerCase()]=b);return new Proxy(g.seal(g.from(f)),{get(a,b,d){if("get"===b||"has"===b){let f=Reflect.get(a,b,d);return function(b){let d=b.toLowerCase();return e.has(d)||n(Object.defineProperty(new j(`Route "${c}" accessed header "${d}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`headers\` array, or \`["${d}", null]\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1116",enumerable:!1,configurable:!0})),f.call(a,d)}}return Reflect.get(a,b,d)}})},"createRelativeURLFromSamples",0,function(a,b,c){let d=function(a,b){let c=[];for(let d of a.split("/")){let a=function(a){let b=h.find(b=>a.startsWith(b));return(b&&(a=a.slice(b.length)),a.startsWith("[[...")&&a.endsWith("]]"))?{paramType:"optional-catchall",paramName:a.slice(5,-2)}:a.startsWith("[...")&&a.endsWith("]")?{paramType:b?`catchall-intercepted-${b}`:"catchall",paramName:a.slice(4,-1)}:a.startsWith("[")&&a.endsWith("]")?{paramType:b?`dynamic-intercepted-${b}`:"dynamic",paramName:a.slice(1,-1)}:null}(d);if(a)switch(a.paramType){case"catchall":case"optional-catchall":{let e=b[a.paramName];if(void 0===e)e=[d];else if(!Array.isArray(e))throw Object.defineProperty(new j(`Expected sample param value for segment '${d}' to be an array of strings, got ${typeof e}`),"__NEXT_ERROR_CODE",{value:"E1104",enumerable:!1,configurable:!0});c.push(...e.map(a=>encodeURIComponent(a)));break}case"dynamic":{let e=b[a.paramName];if(void 0===e)e=d;else if("string"!=typeof e)throw Object.defineProperty(new j(`Expected sample param value for segment '${d}' to be a string, got ${typeof e}`),"__NEXT_ERROR_CODE",{value:"E1108",enumerable:!1,configurable:!0});c.push(encodeURIComponent(e));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw Object.defineProperty(new i.InvariantError("Not implemented: Validation of interception routes"),"__NEXT_ERROR_CODE",{value:"E1106",enumerable:!1,configurable:!0});default:a.paramType}else c.push(d)}return c.join("/")}(a,b??{}),e="";if(c){let a=(function(a){let b=new URLSearchParams;if(a){for(let[c,d]of Object.entries(a))if(null!=d)if(Array.isArray(d))for(let a of d)b.append(c,a);else b.set(c,d)}return b})(c).toString();a&&(e="?"+a)}return function(a,b,c=!0){let d=new URL("http://n"),e=b?new URL(b,d):a.startsWith(".")?new URL("http://n"):d,{pathname:f,searchParams:g,search:h,hash:i,href:j,origin:k}=a.startsWith("/")?new URL(`${e.protocol}//${e.host}${a}`):new URL(a,e);if(k!==d.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${a}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:f,port:null,protocol:null,query:c?function(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}(g):void 0,search:h,hash:i,href:j.slice(k.length),slashes:null}}(d+e,void 0,!0)},"createValidationSampleTracking",0,function(){return{missingSampleErrors:[]}},"trackMissingSampleError",0,m,"trackMissingSampleErrorAndThrow",0,n],47395)},61737,a=>{"use strict";var b=a.i(56704),c=a.i(39684),d=a.i(19107),e=a.i(24970),f=a.i(32319),g=a.i(28535),h=a.i(92307),i=a.i(18366),j=a.i(69825),k=a.i(28734);a.i(24725);var l=a.i(66119);function m(a,d,e){let h=b.workAsyncStorage.getStore();if(!h)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let i=f.workUnitAsyncStorage.getStore();if(i)switch(i.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return n(h,i);case"validation-client":throw Object.defineProperty(new g.InvariantError("createServerSearchParamsForServerPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1066",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createServerSearchParamsForServerPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1128",enumerable:!1,configurable:!0});case"prerender-runtime":return function(a,b,d,e){let f=r(null!==d?(0,c.createVaryingSearchParams)(d,a):a),{stagedRendering:g}=b;if(!g)return f;let h=e?l.RenderStage.EarlyRuntime:l.RenderStage.Runtime;return g.waitForStage(h).then(()=>f)}(a,i,d,e);case"request":return o(a,h,i,e)}(0,f.throwInvariantForMissingStore)()}function n(a,b){if(a.forceStatic)return Promise.resolve({});switch(b.type){case"prerender":case"prerender-client":var c=a,f=b;let g=p.get(f);if(g)return g;let i=(0,h.makeHangingPromise)(f.renderSignal,c.route,"`searchParams`"),j=new Proxy(i,{get(a,b,c){if(Object.hasOwn(i,b))return d.ReflectAdapter.get(a,b,c);switch(b){case"then":return(0,e.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",f),d.ReflectAdapter.get(a,b,c);case"status":return(0,e.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",f),d.ReflectAdapter.get(a,b,c);default:return d.ReflectAdapter.get(a,b,c)}}});return p.set(f,j),j;case"prerender-ppr":case"prerender-legacy":var l=a,m=b;let n=p.get(l);if(n)return n;let o=Promise.resolve({}),q=new Proxy(o,{get(a,b,c){if(Object.hasOwn(o,b))return d.ReflectAdapter.get(a,b,c);if("string"==typeof b&&"then"===b){let a="`await searchParams`, `searchParams.then`, or similar";if(l.dynamicShouldError){var f=l.route;throw Object.defineProperty(new k.StaticGenBailoutError(`Route ${f} with \`dynamic = "error"\` couldn't be rendered statically because it used ${a}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}"prerender-ppr"===m.type?(0,e.postponeWithTracking)(l.route,a,m.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,l,m)}return d.ReflectAdapter.get(a,b,c)}});return p.set(l,q),q;default:return b}}function o(b,c,d,e){if(c.forceStatic)return Promise.resolve({});if(!d.asyncApiPromises)return r(b);if(d.validationSamples){let{createExhaustiveSearchParamsProxy:e}=a.r(47395),f=new Set(Object.keys(d.validationSamples.searchParams??{}));b=e(b,f,c.route)}return(e?d.asyncApiPromises.earlySharedSearchParamsParent:d.asyncApiPromises.sharedSearchParamsParent).then(()=>b)}let p=new WeakMap,q=new WeakMap;function r(a){let b=p.get(a);if(b)return b;let c=Promise.resolve(a);return p.set(a,c),c}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})}),a.s(["createPrerenderSearchParamsForClientPage",0,function(){let a=b.workAsyncStorage.getStore();if(!a)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve({});let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":return(0,h.makeHangingPromise)(c.renderSignal,a.route,"`searchParams`");case"validation-client":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1061",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1124",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,f.throwInvariantForMissingStore)()},"createSearchParamsFromClient",0,function(c){let d=b.workAsyncStorage.getStore();if(!d)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let e=f.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return n(d,e);case"validation-client":return function(b,c,d){var e;let{createExhaustiveSearchParamsProxy:f}=a.r(47395);return Promise.resolve(b=f(b,new Set(Object.keys((null==(e=d.validationSamples)?void 0:e.searchParams)??{})),c.route))}(c,d,e);case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1133",enumerable:!1,configurable:!0});case"request":return o(c,d,e,!1)}(0,f.throwInvariantForMissingStore)()},"createServerSearchParamsForMetadata",0,function(a,b){return m(a,(0,c.getMetadataVaryParamsAccumulator)(),b)},"createServerSearchParamsForServerPage",0,m,"makeErroringSearchParamsForUseCache",0,function(){let a=b.workAsyncStorage.getStore();if(!a)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let c=q.get(a);if(c)return c;let e=Promise.resolve({}),f=new Proxy(e,{get:function b(c,f,g){return Object.hasOwn(e,f)||"string"!=typeof f||"then"!==f&&j.wellKnownProperties.has(f)||function(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}(a,b),d.ReflectAdapter.get(c,f,g)}});return q.set(a,f),f}],61737)},39340,a=>{"use strict";var b=a.i(56704),c=a.i(39684),d=a.i(19107),e=a.i(24970),f=a.i(32319),g=a.i(28535),h=a.i(69825),i=a.i(92307),j=a.i(18366),k=a.i(43285),l=a.i(66119);function m(c,d,e,h){let i=b.workAsyncStorage.getStore();if(!i)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let j=f.workUnitAsyncStorage.getStore();if(j)switch(j.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return n(c,d,i,j,e);case"validation-client":throw Object.defineProperty(new g.InvariantError("createServerParamsForServerSegment should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1101",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createServerParamsForServerSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1120",enumerable:!1,configurable:!0});case"prerender-runtime":return o(c,d,j,e,h);case"request":if(j.asyncApiPromises&&j.validationSamples)return function(b,c,d,e,f){let{createExhaustiveParamsProxy:g}=a.r(47395),h=g(b,new Set(Object.keys(d.params??{})),c.route);return(f?e.earlySharedParamsParent:e.sharedParamsParent).then(()=>h)}(c,i,j.validationSamples,j.asyncApiPromises,h);if(j.asyncApiPromises&&function(a,b){if(b){for(let c in a)if(b.has(c))return!0}return!1}(c,j.fallbackParams))return(h?j.asyncApiPromises.earlySharedParamsParent:j.asyncApiPromises.sharedParamsParent).then(()=>c);return s(c)}(0,f.throwInvariantForMissingStore)()}function n(a,b,d,f,g){let j=null!==g?(0,c.createVaryingParams)(g,a,b):a;switch(f.type){case"prerender":case"prerender-client":{let b=f.fallbackRouteParams;if(b){for(let c in a)if(b.has(c))return function(a,b,c){let d=q.get(a);if(d)return d;let e=new Proxy((0,i.makeHangingPromise)(c.renderSignal,b.route,"`params`"),r);return q.set(a,e),e}(j,d,f)}break}case"prerender-ppr":{let b=f.fallbackRouteParams;if(b){for(let c in a)if(b.has(c))return function(a,b,c,d){let f=q.get(a);if(f)return f;let g={...a},i=Promise.resolve(g);return q.set(a,i),Object.keys(a).forEach(a=>{h.wellKnownProperties.has(a)||b.has(a)&&Object.defineProperty(g,a,{get(){let b=(0,h.describeStringPropertyAccess)("params",a);"prerender-ppr"===d.type?(0,e.postponeWithTracking)(c.route,b,d.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(b,c,d)},enumerable:!0})}),i}(j,b,d,f)}}}return s(j)}function o(a,b,d,e,f){let g=s(null!==e?(0,c.createVaryingParams)(e,a,b):a),{stagedRendering:h}=d;if(!h)return g;let i=f?l.RenderStage.EarlyRuntime:l.RenderStage.Runtime;return h.waitForStage(i).then(()=>g)}function p(b,c,d){let{createExhaustiveParamsProxy:e}=a.r(47395);return Promise.resolve(e(b,new Set(Object.keys((null==d?void 0:d.params)??{})),c.route))}let q=new WeakMap,r={get:function(a,b,c){if("then"===b||"catch"===b||"finally"===b){let e=d.ReflectAdapter.get(a,b,c);return({[b]:(...b)=>{let c=k.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(e.apply(a,b),r)}})[b]}return d.ReflectAdapter.get(a,b,c)}};function s(a){let b=q.get(a);if(b)return b;let c=Promise.resolve(a);return q.set(a,c),c}(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})}),a.s(["createParamsFromClient",0,function(a){let c=b.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let d=f.workUnitAsyncStorage.getStore();if(d)switch(d.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return n(a,null,c,d,null);case"validation-client":return p(a,c,d.validationSamples);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1122",enumerable:!1,configurable:!0});case"request":if(d.validationSamples)return p(a,c,d.validationSamples);return s(a)}(0,f.throwInvariantForMissingStore)()},"createPrerenderParamsForClientSegment",0,function(a){let c=b.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new g.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let d=f.workUnitAsyncStorage.getStore();if(d)switch(d.type){case"prerender":case"prerender-client":let e=d.fallbackRouteParams;if(e){for(let b in a)if(e.has(b))return(0,i.makeHangingPromise)(d.renderSignal,c.route,"`params`")}break;case"validation-client":throw Object.defineProperty(new g.InvariantError("createPrerenderParamsForClientSegment should not be called in validation contexts."),"__NEXT_ERROR_CODE",{value:"E1099",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createPrerenderParamsForClientSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1126",enumerable:!1,configurable:!0})}return Promise.resolve(a)},"createServerParamsForMetadata",0,function(a,b,d){return m(a,b,(0,c.getMetadataVaryParamsAccumulator)(),d)},"createServerParamsForRoute",0,function(a,c=null){let d=b.workAsyncStorage.getStore();if(!d)throw Object.defineProperty(new g.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let e=f.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return n(a,null,d,e,c);case"prerender-client":case"validation-client":throw Object.defineProperty(new g.InvariantError("createServerParamsForRoute should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1064",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new g.InvariantError("createServerParamsForRoute should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1131",enumerable:!1,configurable:!0});case"prerender-runtime":return o(a,null,e,c,!1);case"request":return s(a)}(0,f.throwInvariantForMissingStore)()},"createServerParamsForServerSegment",0,m])},77682,a=>{"use strict";var b=a.i(87924),c=a.i(9270),d=a.i(72131),e=a.i(60805),f=a.i(36313);a.s(["ClientPageRoot",0,function({Component:g,serverProvidedParams:h}){let i,j;if(null!==h)i=h.searchParams,j=h.params;else{let a=(0,d.use)(c.LayoutRouterContext);j=null!==a?a.parentParams:{},i=(0,e.urlSearchParamsToParsedUrlQuery)((0,d.use)(f.SearchParamsContext))}{let c,d,{createSearchParamsFromClient:e}=a.r(61737);c=e(i);let{createParamsFromClient:f}=a.r(39340);return d=f(j),(0,b.jsx)(g,{params:d,searchParams:c})}}])},97296,a=>{"use strict";var b=a.i(87924),c=a.i(9270),d=a.i(72131);a.s(["ClientSegmentRoot",0,function({Component:e,slots:f,serverProvidedParams:g}){let h;if(null!==g)h=g.params;else{let a=(0,d.use)(c.LayoutRouterContext);h=null!==a?a.parentParams:{}}{let{createParamsFromClient:c}=a.r(39340),d=c(h);return(0,b.jsx)(e,{...f,params:d})}}])},90574,a=>{"use strict";var b=a.i(27325);let c={[b.METADATA_BOUNDARY_NAME]:function({children:a}){return a},[b.VIEWPORT_BOUNDARY_NAME]:function({children:a}){return a},[b.OUTLET_BOUNDARY_NAME]:function({children:a}){return a},[b.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:a}){return a}},d=c[b.METADATA_BOUNDARY_NAME.slice(0)],e=c[b.VIEWPORT_BOUNDARY_NAME.slice(0)],f=c[b.OUTLET_BOUNDARY_NAME.slice(0)],g=c[b.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)];a.s(["MetadataBoundary",0,d,"OutletBoundary",0,f,"RootLayoutBoundary",0,g,"ViewportBoundary",0,e])},60704,a=>{"use strict";var b=a.i(87924);a.s(["IconMark",0,()=>(0,b.jsx)("meta",{name:"«nxt-icon»"})])}]; - -//# sourceMappingURL=node_modules_next_dist_0h9llsw._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js.map deleted file mode 100644 index 9eab61d..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_0h9llsw._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/client/components/http-access-fallback/http-access-fallback.ts","../../../../node_modules/next/dist/esm/client/components/is-next-router-error.js","../../../../node_modules/next/dist/esm/client/components/redirect-status-code.js","../../../../node_modules/next/dist/esm/client/components/redirect-error.js","../../../../node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/next/src/shared/lib/promise-with-resolvers.ts","../../../../node_modules/next/src/lib/framework/boundary-constants.tsx","../../../../node_modules/next/dist/esm/client/components/static-generation-bailout.js","../../../../node_modules/next/dist/esm/server/app-render/staged-rendering.js","../../../../node_modules/next/dist/esm/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../node_modules/next/dist/esm/client/components/hooks-server-context.js","../../../../node_modules/next/dist/esm/server/app-render/dynamic-rendering.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/boundary-constants.js","../../../../node_modules/next/dist/esm/server/dynamic-rendering-utils.js","../../../../node_modules/next/dist/esm/lib/scheduler.js","../../../../node_modules/next/dist/esm/server/lib/router-utils/is-postpone.js","../../../../node_modules/next/dist/esm/client/components/unstable-rethrow.server.js","../../../../node_modules/next/dist/esm/shared/lib/utils/warn-once.js","../../../../node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js","../../../../node_modules/next/dist/esm/client/components/navigation-untracked.js","../../../../node_modules/next/src/client/components/app-router-headers.ts","../../../../node_modules/next/dist/esm/shared/lib/segment.js","../../../../node_modules/next/dist/esm/shared/lib/segment-cache/segment-value-encoding.js","../../../../node_modules/next/dist/esm/client/route-params.js","../../../../node_modules/next/src/client/components/use-action-queue.ts","../../../../node_modules/next/src/client/components/segment-cache/navigation-testing-lock.ts","../../../../node_modules/next/dist/esm/client/components/layout-router.js","../../../../node_modules/next/dist/esm/client/components/error-boundary.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/disable-smooth-scroll.js","../../../../node_modules/next/dist/esm/client/components/readonly-url-search-params.js","../../../../node_modules/next/dist/esm/client/components/redirect-boundary.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/create-router-cache-key.js","../../../../node_modules/next/dist/esm/client/app-find-source-map-url.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/set-cache-busting-search-param.js","../../../../node_modules/next/dist/esm/shared/lib/deployment-id.js","../../../../node_modules/next/dist/esm/client/components/handle-isr-error.js","../../../../node_modules/next/dist/esm/client/navigation-build-id.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/fetch-server-response.js","../../../../node_modules/next/dist/esm/client/components/match-segments.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/create-href-from-url.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/router-reducer-types.js","../../../../node_modules/next/dist/esm/lib/constants.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/cache-busting-search-param.js","../../../../node_modules/next/dist/esm/client/components/bfcache-state-manager.js","../../../../node_modules/next/dist/esm/client/components/redirect.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/is-bot.js","../../../../node_modules/next/dist/esm/client/components/navigation.react-server.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/cache-key.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/cache-map.js","../../../../node_modules/next/dist/esm/client/app-call-server.js","../../../../node_modules/next/dist/esm/client/components/navigation.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/lru.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/vary-path.js","../../../../node_modules/next/dist/esm/client/components/nav-failure-handler.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/types.js","../../../../node_modules/next/dist/esm/client/components/unresolved-thenable.js","../../../../node_modules/next/dist/esm/client/components/links.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/html-bots.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/bfcache.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/reducers/navigate-reducer.js","../../../../node_modules/next/dist/esm/shared/lib/app-router-types.js","../../../../node_modules/next/dist/esm/client/components/unstable-rethrow.js","../../../../node_modules/next/dist/esm/shared/lib/hash.js","../../../../node_modules/next/dist/esm/client/flight-data-helpers.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/scheduler.js","../../../../node_modules/next/dist/esm/shared/lib/segment-cache/vary-params-decoding.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/cache.js","../../../../node_modules/next/dist/esm/client/components/router-reducer/ppr-navigations.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/navigation.js","../../../../node_modules/next/dist/esm/client/components/segment-cache/optimistic-routes.js","../../../../node_modules/next/src/client/components/render-from-template-context.tsx","../../../../node_modules/next/dist/esm/server/create-deduped-by-callsite-server-error-logger.js","../../../../node_modules/next/dist/esm/server/app-render/vary-params.js","../../../../node_modules/next/dist/esm/shared/lib/utils/reflect-utils.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/reflect.js","../../../../node_modules/next/dist/compiled/%40edge-runtime/cookies/index.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/cookies.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/instant-validation-error.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/querystring.js","../../../../node_modules/next/dist/esm/shared/lib/action-revalidation-kind.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/request-cookies.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/interception-routes.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/parse-relative-url.js","../../../../node_modules/next/dist/esm/shared/lib/router/utils/get-segment-param.js","../../../../node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js","../../../../node_modules/next/dist/esm/server/app-render/instant-validation/instant-samples.js","../../../../node_modules/next/dist/esm/server/request/utils.js","../../../../node_modules/next/dist/esm/server/request/search-params.js","../../../../node_modules/next/src/server/request/params.ts","../../../../node_modules/next/src/client/components/client-page.tsx","../../../../node_modules/next/src/client/components/client-segment.tsx","../../../../node_modules/next/src/lib/framework/boundary-components.tsx","../../../../node_modules/next/src/lib/metadata/generate/icon-mark.tsx"],"sourcesContent":["export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401,\n}\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus))\n\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'\n\nexport type HTTPAccessFallbackError = Error & {\n digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`\n}\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(\n error: unknown\n): error is HTTPAccessFallbackError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n const [prefix, httpStatus] = error.digest.split(';')\n\n return (\n prefix === HTTP_ERROR_FALLBACK_ERROR_CODE &&\n ALLOWED_CODES.has(Number(httpStatus))\n )\n}\n\nexport function getAccessFallbackHTTPStatus(\n error: HTTPAccessFallbackError\n): number {\n const httpStatus = error.digest.split(';')[1]\n return Number(httpStatus)\n}\n\nexport function getAccessFallbackErrorTypeByStatus(\n status: number\n): 'not-found' | 'forbidden' | 'unauthorized' | undefined {\n switch (status) {\n case 401:\n return 'unauthorized'\n case 403:\n return 'forbidden'\n case 404:\n return 'not-found'\n default:\n return\n }\n}\n","import { isHTTPAccessFallbackError } from './http-access-fallback/http-access-fallback';\nimport { isRedirectError } from './redirect-error';\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */ export function isNextRouterError(error) {\n return isRedirectError(error) || isHTTPAccessFallbackError(error);\n}\n\n//# sourceMappingURL=is-next-router-error.js.map","export var RedirectStatusCode = /*#__PURE__*/ function(RedirectStatusCode) {\n RedirectStatusCode[RedirectStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n RedirectStatusCode[RedirectStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n RedirectStatusCode[RedirectStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n return RedirectStatusCode;\n}({});\n\n//# sourceMappingURL=redirect-status-code.js.map","import { RedirectStatusCode } from './redirect-status-code';\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT';\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */ export function isRedirectError(error) {\n if (typeof error !== 'object' || error === null || !('digest' in error) || typeof error.digest !== 'string') {\n return false;\n }\n const digest = error.digest.split(';');\n const [errorCode, type] = digest;\n const destination = digest.slice(2, -2).join(';');\n const status = digest.at(-2);\n const statusCode = Number(status);\n return errorCode === REDIRECT_ERROR_CODE && (type === 'replace' || type === 'push') && typeof destination === 'string' && !isNaN(statusCode) && statusCode in RedirectStatusCode;\n}\n\n//# sourceMappingURL=redirect-error.js.map","export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","export function createPromiseWithResolvers(): PromiseWithResolvers {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike) => void\n let reject: (reason: any) => void\n const promise = new Promise((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'\n","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT';\nexport class StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args), this.code = NEXT_STATIC_GEN_BAILOUT;\n }\n}\nexport function isStaticGenBailoutError(error) {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false;\n }\n return error.code === NEXT_STATIC_GEN_BAILOUT;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","import { InvariantError } from '../../shared/lib/invariant-error';\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers';\nexport var RenderStage = /*#__PURE__*/ function(RenderStage) {\n RenderStage[RenderStage[\"Before\"] = 1] = \"Before\";\n RenderStage[RenderStage[\"EarlyStatic\"] = 2] = \"EarlyStatic\";\n RenderStage[RenderStage[\"Static\"] = 3] = \"Static\";\n RenderStage[RenderStage[\"EarlyRuntime\"] = 4] = \"EarlyRuntime\";\n RenderStage[RenderStage[\"Runtime\"] = 5] = \"Runtime\";\n RenderStage[RenderStage[\"Dynamic\"] = 6] = \"Dynamic\";\n RenderStage[RenderStage[\"Abandoned\"] = 7] = \"Abandoned\";\n return RenderStage;\n}({});\nexport class StagedRenderingController {\n constructor(abortSignal, abandonController, shouldTrackSyncIO){\n this.abortSignal = abortSignal;\n this.abandonController = abandonController;\n this.shouldTrackSyncIO = shouldTrackSyncIO;\n this.currentStage = 1;\n this.syncInterruptReason = null;\n this.staticStageEndTime = Infinity;\n this.runtimeStageEndTime = Infinity;\n this.staticStageListeners = [];\n this.earlyRuntimeStageListeners = [];\n this.runtimeStageListeners = [];\n this.dynamicStageListeners = [];\n this.staticStagePromise = createPromiseWithResolvers();\n this.earlyRuntimeStagePromise = createPromiseWithResolvers();\n this.runtimeStagePromise = createPromiseWithResolvers();\n this.dynamicStagePromise = createPromiseWithResolvers();\n if (abortSignal) {\n abortSignal.addEventListener('abort', ()=>{\n // Reject all stage promises that haven't already been resolved.\n // If a promise was already resolved via advanceStage, the reject\n // is a no-op. The ignoreReject handler suppresses unhandled\n // rejection warnings for promises that no one is awaiting.\n const { reason } = abortSignal;\n this.staticStagePromise.promise.catch(ignoreReject);\n this.staticStagePromise.reject(reason);\n this.earlyRuntimeStagePromise.promise.catch(ignoreReject);\n this.earlyRuntimeStagePromise.reject(reason);\n this.runtimeStagePromise.promise.catch(ignoreReject);\n this.runtimeStagePromise.reject(reason);\n this.dynamicStagePromise.promise.catch(ignoreReject);\n this.dynamicStagePromise.reject(reason);\n }, {\n once: true\n });\n }\n if (abandonController) {\n abandonController.signal.addEventListener('abort', ()=>{\n this.abandonRender();\n }, {\n once: true\n });\n }\n }\n onStage(stage, callback) {\n if (this.currentStage >= stage) {\n callback();\n } else if (stage === 3) {\n this.staticStageListeners.push(callback);\n } else if (stage === 4) {\n this.earlyRuntimeStageListeners.push(callback);\n } else if (stage === 5) {\n this.runtimeStageListeners.push(callback);\n } else if (stage === 6) {\n this.dynamicStageListeners.push(callback);\n } else {\n // This should never happen\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n shouldTrackSyncInterrupt() {\n if (!this.shouldTrackSyncIO) {\n return false;\n }\n switch(this.currentStage){\n case 1:\n // If we haven't started the render yet, it can't be interrupted.\n return false;\n case 2:\n case 3:\n return true;\n case 4:\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO\n // should error because it would abort a runtime prefetch.\n return true;\n case 5:\n // Runtime is for non-prefetchable segments. Sync IO is fine there\n // because in practice this segment will never be runtime prefetched\n return false;\n case 6:\n case 7:\n return false;\n default:\n return false;\n }\n }\n syncInterruptCurrentStageWithReason(reason) {\n if (this.currentStage === 1) {\n return;\n }\n // If the render has already been abandoned, there's nothing to interrupt.\n if (this.currentStage === 7) {\n return;\n }\n // If Sync IO occurs during an abandonable render, we trigger the abandon.\n // The abandon listener will call abandonRender which advances through\n // stages to let caches fill before marking as Abandoned.\n if (this.abandonController) {\n this.abandonController.abort();\n return;\n }\n if (this.abortSignal) {\n // If this is an abortable render, we capture the interruption reason and stop advancing.\n // We don't release any more promises.\n // The caller is expected to abort the signal.\n this.syncInterruptReason = reason;\n this.currentStage = 7;\n return;\n }\n // If we're in a non-abandonable & non-abortable render,\n // we need to advance to the Dynamic stage and capture the interruption reason.\n // (in dev, this will be the restarted render)\n switch(this.currentStage){\n case 2:\n case 3:\n case 4:\n {\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO here\n // means the prefetch would be aborted too early.\n this.syncInterruptReason = reason;\n this.advanceStage(6);\n return;\n }\n case 5:\n {\n // canSyncInterrupt returns false for Runtime, so we should\n // never get here. Defensive no-op.\n return;\n }\n case 6:\n default:\n }\n }\n getSyncInterruptReason() {\n return this.syncInterruptReason;\n }\n getStaticStageEndTime() {\n return this.staticStageEndTime;\n }\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime;\n }\n abandonRender() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the next stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this;\n switch(currentStage){\n case 2:\n {\n this.resolveStaticStage();\n }\n // intentional fallthrough\n case 3:\n {\n this.resolveEarlyRuntimeStage();\n }\n // intentional fallthrough\n case 4:\n {\n this.resolveRuntimeStage();\n }\n // intentional fallthrough\n case 5:\n {\n this.currentStage = 7;\n return;\n }\n case 6:\n case 1:\n case 7:\n break;\n default:\n {\n currentStage;\n }\n }\n }\n advanceStage(stage) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return;\n }\n let currentStage = this.currentStage;\n this.currentStage = stage;\n if (currentStage < 3 && stage >= 3) {\n this.resolveStaticStage();\n }\n if (currentStage < 4 && stage >= 4) {\n this.resolveEarlyRuntimeStage();\n }\n if (currentStage < 5 && stage >= 5) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveRuntimeStage();\n }\n if (currentStage < 6 && stage >= 6) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin;\n this.resolveDynamicStage();\n return;\n }\n }\n /** Fire the `onStage` listeners for the static stage and unblock any promises waiting for it. */ resolveStaticStage() {\n const staticListeners = this.staticStageListeners;\n for(let i = 0; i < staticListeners.length; i++){\n staticListeners[i]();\n }\n staticListeners.length = 0;\n this.staticStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the early runtime stage and unblock any promises waiting for it. */ resolveEarlyRuntimeStage() {\n const earlyRuntimeListeners = this.earlyRuntimeStageListeners;\n for(let i = 0; i < earlyRuntimeListeners.length; i++){\n earlyRuntimeListeners[i]();\n }\n earlyRuntimeListeners.length = 0;\n this.earlyRuntimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */ resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners;\n for(let i = 0; i < runtimeListeners.length; i++){\n runtimeListeners[i]();\n }\n runtimeListeners.length = 0;\n this.runtimeStagePromise.resolve();\n }\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */ resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners;\n for(let i = 0; i < dynamicListeners.length; i++){\n dynamicListeners[i]();\n }\n dynamicListeners.length = 0;\n this.dynamicStagePromise.resolve();\n }\n getStagePromise(stage) {\n switch(stage){\n case 3:\n {\n return this.staticStagePromise.promise;\n }\n case 4:\n {\n return this.earlyRuntimeStagePromise.promise;\n }\n case 5:\n {\n return this.runtimeStagePromise.promise;\n }\n case 6:\n {\n return this.dynamicStagePromise.promise;\n }\n default:\n {\n stage;\n throw Object.defineProperty(new InvariantError(`Invalid render stage: ${stage}`), \"__NEXT_ERROR_CODE\", {\n value: \"E881\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n waitForStage(stage) {\n return this.getStagePromise(stage);\n }\n delayUntilStage(stage, displayName, resolvedValue) {\n const ioTriggerPromise = this.getStagePromise(stage);\n const promise = makeDevtoolsIOPromiseFromIOTrigger(ioTriggerPromise, displayName, resolvedValue);\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject);\n }\n return promise;\n }\n}\nfunction ignoreReject() {}\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger(ioTrigger, displayName, resolvedValue) {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise((resolve, reject)=>{\n ioTrigger.then(resolve.bind(null, resolvedValue), reject);\n });\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName;\n }\n return promise;\n}\n\n//# sourceMappingURL=staged-rendering.js.map","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING';\n/** An error that should be thrown when we want to bail out to client-side rendering. */ export class BailoutToCSRError extends Error {\n constructor(reason){\n super(`Bail out to client-side rendering: ${reason}`), this.reason = reason, this.digest = BAILOUT_TO_CSR;\n }\n}\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */ export function isBailoutToCSRError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === BAILOUT_TO_CSR;\n}\n\n//# sourceMappingURL=bailout-to-csr.js.map","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE';\nexport class DynamicServerError extends Error {\n constructor(description){\n super(`Dynamic server usage: ${description}`), this.description = description, this.digest = DYNAMIC_ERROR_CODE;\n }\n}\nexport function isDynamicServerError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err) || typeof err.digest !== 'string') {\n return false;\n }\n return err.digest === DYNAMIC_ERROR_CODE;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */ // Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react';\nimport { DynamicServerError } from '../../client/components/hooks-server-context';\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { throwForMissingRequestStore, workUnitAsyncStorage } from './work-unit-async-storage.external';\nimport { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { makeHangingPromise, getRuntimeStage } from '../dynamic-rendering-utils';\nimport { METADATA_BOUNDARY_NAME, VIEWPORT_BOUNDARY_NAME, OUTLET_BOUNDARY_NAME, ROOT_LAYOUT_BOUNDARY_NAME } from '../../lib/framework/boundary-constants';\nimport { scheduleOnNextTick } from '../../lib/scheduler';\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { INSTANT_VALIDATION_BOUNDARY_NAME } from './instant-validation/boundary-constants';\nconst hasPostpone = typeof React.unstable_postpone === 'function';\nexport function createDynamicTrackingState(isDebugDynamicAccesses) {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null\n };\n}\nexport function createDynamicValidationState() {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: []\n };\n}\nexport function getFirstDynamicReason(trackingState) {\n var _trackingState_dynamicAccesses_;\n return (_trackingState_dynamicAccesses_ = trackingState.dynamicAccesses[0]) == null ? void 0 : _trackingState_dynamicAccesses_.expression;\n}\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */ export function markCurrentScopeAsDynamic(store, workUnitStore, expression) {\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return;\n if (store.dynamicShouldError) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E553\",\n enumerable: false,\n configurable: true\n });\n }\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-ppr':\n return postponeWithTracking(store.route, expression, workUnitStore.dynamicTracking);\n case 'prerender-legacy':\n workUnitStore.revalidate = 0;\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E550\",\n enumerable: false,\n configurable: true\n });\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n}\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */ export function throwToInterruptStaticGeneration(expression, store, prerenderStore) {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = Object.defineProperty(new DynamicServerError(`Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E558\",\n enumerable: false,\n configurable: true\n });\n prerenderStore.revalidate = 0;\n store.dynamicUsageDescription = expression;\n store.dynamicUsageStack = err.stack;\n throw err;\n}\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */ export function trackDynamicDataInDynamicRender(workUnitStore) {\n switch(workUnitStore.type){\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return;\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return;\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n case 'validation-client':\n case 'generate-static-params':\n break;\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true;\n }\n break;\n default:\n workUnitStore;\n }\n}\nfunction abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore) {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`;\n const error = createPrerenderInterruptedError(reason);\n prerenderStore.controller.abort(error);\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function abortOnSynchronousPlatformIOAccess(route, expression, errorWithStack, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n}\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */ export function abortAndThrowOnSynchronousRequestDataAccess(route, expression, errorWithStack, prerenderStore) {\n const prerenderSignal = prerenderStore.controller.signal;\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore);\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack;\n }\n }\n }\n throw createPrerenderInterruptedError(`Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`);\n}\nexport function Postpone({ reason, route }) {\n const prerenderStore = workUnitAsyncStorage.getStore();\n const dynamicTracking = prerenderStore && prerenderStore.type === 'prerender-ppr' ? prerenderStore.dynamicTracking : null;\n postponeWithTracking(route, reason, dynamicTracking);\n}\nexport function postponeWithTracking(route, expression, dynamicTracking) {\n assertPostpone();\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n React.unstable_postpone(createPostponeReason(route, expression));\n}\nfunction createPostponeReason(route, expression) {\n return `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` + `React throws this special object to indicate where. It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;\n}\nexport function isDynamicPostpone(err) {\n if (typeof err === 'object' && err !== null && typeof err.message === 'string') {\n return isDynamicPostponeReason(err.message);\n }\n return false;\n}\nfunction isDynamicPostponeReason(reason) {\n return reason.includes('needs to bail out of prerendering at this point because it used') && reason.includes('Learn more: https://nextjs.org/docs/messages/ppr-caught-error');\n}\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw Object.defineProperty(new Error('Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'), \"__NEXT_ERROR_CODE\", {\n value: \"E296\",\n enumerable: false,\n configurable: true\n });\n}\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED';\nfunction createPrerenderInterruptedError(message) {\n const error = Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = NEXT_PRERENDER_INTERRUPTED;\n return error;\n}\nexport function isPrerenderInterruptedError(error) {\n return typeof error === 'object' && error !== null && error.digest === NEXT_PRERENDER_INTERRUPTED && 'name' in error && 'message' in error && error instanceof Error;\n}\nexport function accessedDynamicData(dynamicAccesses) {\n return dynamicAccesses.length > 0;\n}\nexport function consumeDynamicAccess(serverDynamic, clientDynamic) {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses);\n return serverDynamic.dynamicAccesses;\n}\nexport function formatDynamicAPIAccesses(dynamicAccesses) {\n return dynamicAccesses.filter((access)=>typeof access.stack === 'string' && access.stack.length > 0).map(({ expression, stack })=>{\n stack = stack.split('\\n')// Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4).filter((line)=>{\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false;\n }\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' ()')) {\n return false;\n }\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false;\n }\n return true;\n }).join('\\n');\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`;\n });\n}\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw Object.defineProperty(new Error(`Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`), \"__NEXT_ERROR_CODE\", {\n value: \"E224\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */ export function createRenderInBrowserAbortSignal() {\n const controller = new AbortController();\n controller.abort(Object.defineProperty(new BailoutToCSRError('Render in Browser'), \"__NEXT_ERROR_CODE\", {\n value: \"E721\",\n enumerable: false,\n configurable: true\n }));\n return controller.signal;\n}\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */ export function createHangingInputAbortSignal(workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController();\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(()=>{\n controller.abort();\n });\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n if (// eslint-disable-next-line no-restricted-syntax -- We are discriminating between two different refined types and don't need an addition exhaustive switch here\n workUnitStore.type === 'prerender-runtime' && workUnitStore.stagedRendering) {\n const { stagedRendering } = workUnitStore;\n stagedRendering.waitForStage(getRuntimeStage(stagedRendering)).then(()=>scheduleOnNextTick(()=>controller.abort()));\n } else {\n scheduleOnNextTick(()=>controller.abort());\n }\n }\n return controller.signal;\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n return undefined;\n default:\n workUnitStore;\n }\n}\nexport function annotateDynamicAccess(expression, prerenderStore) {\n const dynamicTracking = prerenderStore.dynamicTracking;\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses ? new Error().stack : undefined,\n expression\n });\n }\n}\nexport function useDynamicRouteParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workStore && workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender-client':\n case 'prerender':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n }\n break;\n }\n case 'prerender-ppr':\n {\n const fallbackParams = workUnitStore.fallbackRouteParams;\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(workStore.route, expression, workUnitStore.dynamicTracking);\n }\n break;\n }\n case 'validation-client':\n {\n break;\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E771\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1130\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break;\n default:\n workUnitStore;\n }\n }\n}\nexport function useDynamicSearchParams(expression) {\n const workStore = workAsyncStorage.getStore();\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workStore) {\n // We assume pages router context and just return\n return;\n }\n if (!workUnitStore) {\n throwForMissingRequestStore(expression);\n }\n switch(workUnitStore.type){\n case 'validation-client':\n // During instant validation we try to behave as close to client as possible,\n // so this shouldn't hang during SSR.\n return;\n case 'prerender-client':\n {\n React.use(makeHangingPromise(workUnitStore.renderSignal, workStore.route, expression));\n break;\n }\n case 'prerender-legacy':\n case 'prerender-ppr':\n {\n if (workStore.forceStatic) {\n return;\n }\n throw Object.defineProperty(new BailoutToCSRError(expression), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n case 'prerender':\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E795\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E745\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError(`\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1130\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n return;\n default:\n workUnitStore;\n }\n}\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(\\)/;\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags = 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6';\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense ()\n// at __next_root_layout_boundary__ ()\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense ()\n// at SomeComponent ()\n// at __next_root_layout_boundary__ ()\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(`\\\\n\\\\s+at Suspense \\\\(\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`);\nconst hasMetadataRegex = new RegExp(`\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasViewportRegex = new RegExp(`\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`);\nconst hasInstantValidationBoundaryRegex = new RegExp(`\\\\n\\\\s+at ${INSTANT_VALIDATION_BOUNDARY_NAME}[\\\\n\\\\s]`);\nexport function trackAllowedDynamicAccess(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true;\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Uncached data was accessed outside of ` + '. This delays the entire page from rendering, resulting in a ' + 'slow user experience. Learn more: ' + 'https://nextjs.org/docs/messages/blocking-route';\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1079\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\nexport var DynamicHoleKind = /*#__PURE__*/ function(DynamicHoleKind) {\n /** We know that this hole is caused by runtime data. */ DynamicHoleKind[DynamicHoleKind[\"Runtime\"] = 1] = \"Runtime\";\n /** We know that this hole is caused by dynamic data. */ DynamicHoleKind[DynamicHoleKind[\"Dynamic\"] = 2] = \"Dynamic\";\n return DynamicHoleKind;\n}({});\nexport function createInstantValidationState(createInstantStack) {\n return {\n hasDynamicMetadata: false,\n hasAllowedClientDynamicAboveBoundary: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n validationPreventingErrors: [],\n thrownErrorsOutsideBoundary: [],\n createInstantStack\n };\n}\nexport function trackDynamicHoleInNavigation(workStore, componentStack, dynamicValidation, clientDynamic, kind, boundaryState) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n }\n if (hasMetadataRegex.test(componentStack)) {\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments.` : `Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1076\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicMetadata = error;\n return;\n }\n if (hasViewportRegex.test(componentStack)) {\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`.` : `Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1086\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n const boundaryLocation = hasInstantValidationBoundaryRegex.exec(componentStack);\n if (!boundaryLocation) {\n // We don't see the validation boundary in the component stack,\n // so this hole must be coming from a shared parent.\n // Shared parents are fully resolved and don't have RSC holes,\n // but they can still suspend in a client component during SSR.\n // If we managed to render all the validation boundaries, that means\n // that the client holes aren't blocking validation and we can disregard them.\n // Note that we don't even care whether they have suspense or not.\n if (boundaryState.expectedIds.size === boundaryState.renderedIds.size) {\n dynamicValidation.hasAllowedClientDynamicAboveBoundary = true;\n dynamicValidation.hasAllowedDynamic = true // Holes outside the boundary contribute to allowing dynamic metadata\n ;\n return;\n } else {\n // TODO(instant-validation) TODO(NAR-787)\n // If shared parents blocked us from validating, we should only log\n // the errors from the innermost (segments), i.e. omit layouts whose\n // slots managed to render (because clearly they didn't block validation)\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because a Client Component in a parent segment prevented the page from rendering.`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1082\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.validationPreventingErrors.push(error);\n return;\n }\n } else {\n // The hole originates inside the validation boundary.\n //\n // Check if we have a Suspense above the hole, but below the validation boundary.\n // If we do, then this dynamic usage wouldn't block a navigation to this subtree.\n // Conversely, if the nearest suspense is above the validation boundary, then this subtree would block.\n //\n // Note that in the component stack, children come before parents.\n //\n // Valid:\n // ...\n // at Suspense\n // ...\n // at __next_prefetch_validation_boundary__\n //\n // Invalid:\n // ...\n // at __next_prefetch_validation_boundary__\n // ...\n // at Suspense\n //\n const suspenseLocation = hasSuspenseRegex.exec(componentStack);\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else {\n // invalid - fallthrough\n }\n }\n }\n if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n const syncError = clientDynamic.syncDynamicErrorWithStack;\n if (dynamicValidation.createInstantStack !== null && syncError.cause === undefined) {\n syncError.cause = dynamicValidation.createInstantStack();\n }\n dynamicValidation.dynamicErrors.push(syncError);\n return;\n }\n const usageDescription = kind === 1 ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`.` : `Uncached data or \\`connection()\\` was accessed outside of \\`\\`.`;\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1078\",\n enumerable: false,\n configurable: true\n }), componentStack, dynamicValidation.createInstantStack);\n dynamicValidation.dynamicErrors.push(error);\n return;\n}\nexport function trackThrownErrorInNavigation(workStore, dynamicValidation, thrownValue, componentStack) {\n const boundaryLocation = hasInstantValidationBoundaryRegex.exec(componentStack);\n if (!boundaryLocation) {\n // There's no validation boundary on the component stack.\n // This error may have blocked a boundary from rendering.\n // Wrap the error to provide component context.\n // This helps for errors from node_modules which would otherwise\n // have no useful stack information due to ignore-listing,\n // e.g. next/dynamic with `ssr: false`.\n const error = addErrorContext(Object.defineProperty(new Error('An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.', {\n cause: thrownValue\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E1118\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.thrownErrorsOutsideBoundary.push(error);\n } else {\n // There's validation boundary on the component stack,\n // so we know this error didn't block a validation boundary from rendering.\n // However, this error might be hiding be hiding dynamic content that would\n // cause validation to fail.\n const suspenseLocation = hasSuspenseRegex.exec(componentStack);\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n // There's a Suspense below the validation boundary but above this error's location.\n // This subtree can't fail instant validation because any potential\n // dynamic holes would be guarded by the Suspense anyway,\n // so we can allow this.\n return;\n } else {\n // invalid - fallthrough\n }\n }\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because an error prevented the target segment from rendering.`;\n const error = addErrorContext(Object.defineProperty(new Error(message, {\n cause: thrownValue\n }), \"__NEXT_ERROR_CODE\", {\n value: \"E1112\",\n enumerable: false,\n configurable: true\n }), componentStack, null // TODO(instant-validation-build): conflicting use of cause\n );\n dynamicValidation.validationPreventingErrors.push(error);\n }\n}\nexport function trackDynamicHoleInRuntimeShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1080\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n // TODO(instant-validation): If the page only has holes caused by runtime data,\n // we won't find out if there's a suspense-above-body and error for dynamic viewport\n // even if there is in fact a suspense-above-body\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1077\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n }\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1084\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n}\nexport function trackDynamicHoleInStaticShell(workStore, componentStack, dynamicValidation, clientDynamic) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return;\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1085\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicMetadata = error;\n return;\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1081\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n } else if (hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(componentStack)) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true;\n dynamicValidation.hasSuspenseAboveBody = true;\n return;\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true;\n return;\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(clientDynamic.syncDynamicErrorWithStack);\n return;\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`;\n const error = addErrorContext(Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E1083\",\n enumerable: false,\n configurable: true\n }), componentStack, null);\n dynamicValidation.dynamicErrors.push(error);\n return;\n }\n}\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n *\n * Accepts an already-created Error so the SWC error-code plugin can see the\n * `new Error(...)` call at each call site and auto-assign error codes.\n */ function addErrorContext(error, componentStack, createInstantStack) {\n const ownerStack = process.env.NODE_ENV !== 'production' && React.captureOwnerStack ? React.captureOwnerStack() : null;\n if (createInstantStack !== null) {\n error.cause = createInstantStack();\n }\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack = error.name + ': ' + error.message + (ownerStack || componentStack);\n return error;\n}\nexport var PreludeState = /*#__PURE__*/ function(PreludeState) {\n PreludeState[PreludeState[\"Full\"] = 0] = \"Full\";\n PreludeState[PreludeState[\"Empty\"] = 1] = \"Empty\";\n PreludeState[PreludeState[\"Errored\"] = 2] = \"Errored\";\n return PreludeState;\n}({});\nexport function logDisallowedDynamicError(workStore, error) {\n console.error(error);\n if (process.env.NODE_ENV !== 'development') {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`);\n } else if (!process.env.__NEXT_DEV_SERVER) {\n console.error(`To debug the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`);\n }\n}\nexport function throwIfDisallowedDynamic(workStore, prelude, dynamicValidation, serverDynamic) {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(workStore, serverDynamic.syncDynamicErrorWithStack);\n throw new StaticGenBailoutError();\n }\n if (prelude !== 0) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return;\n }\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n for(let i = 0; i < dynamicErrors.length; i++){\n logDisallowedDynamicError(workStore, dynamicErrors[i]);\n }\n throw new StaticGenBailoutError();\n }\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(`Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`);\n throw new StaticGenBailoutError();\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`);\n throw new StaticGenBailoutError();\n }\n } else {\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.hasDynamicMetadata) {\n console.error(`Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`);\n throw new StaticGenBailoutError();\n }\n }\n}\nexport function getStaticShellDisallowedDynamicReasons(workStore, prelude, dynamicValidation, configAllowsBlocking) {\n if (configAllowsBlocking || dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return [];\n }\n if (prelude !== 0) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E936\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicErrors.length === 0 && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\nexport function getNavigationDisallowedDynamicReasons(workStore, prelude, dynamicValidation, validationSampleTracking, boundaryState) {\n // If we have errors related to missing samples, those should take precedence over everything else.\n if (validationSampleTracking) {\n const { missingSampleErrors } = validationSampleTracking;\n if (missingSampleErrors.length > 0) {\n return missingSampleErrors;\n }\n }\n const { validationPreventingErrors } = dynamicValidation;\n if (validationPreventingErrors.length > 0) {\n return validationPreventingErrors;\n }\n if (boundaryState.renderedIds.size < boundaryState.expectedIds.size) {\n const { thrownErrorsOutsideBoundary, createInstantStack } = dynamicValidation;\n if (thrownErrorsOutsideBoundary.length === 0) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering for an unknown reason.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error\n ];\n } else if (thrownErrorsOutsideBoundary.length === 1) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to the following error.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error,\n thrownErrorsOutsideBoundary[0]\n ];\n } else {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to one of the following errors.`;\n const error = createInstantStack !== null ? createInstantStack() : new Error();\n error.name = 'Error';\n error.message = message;\n return [\n error,\n ...thrownErrorsOutsideBoundary\n ];\n }\n }\n // NOTE: We don't care about Suspense above body here,\n // we're only concerned with the validation boundary\n if (prelude !== 0) {\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (prelude === 1) {\n // If a client component suspended prevented us from rendering a shell\n // but didn't block validation, we don't require a prelude.\n if (dynamicValidation.hasAllowedClientDynamicAboveBoundary) {\n return [];\n }\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n return [\n Object.defineProperty(new InvariantError(`Route \"${workStore.route}\" failed to render during instant validation and Next.js was unable to determine a reason.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1055\",\n enumerable: false,\n configurable: true\n })\n ];\n }\n } else {\n const dynamicErrors = dynamicValidation.dynamicErrors;\n if (dynamicErrors.length > 0) {\n return dynamicErrors;\n }\n if (dynamicValidation.hasAllowedDynamic === false && dynamicValidation.dynamicMetadata) {\n return [\n dynamicValidation.dynamicMetadata\n ];\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return [];\n}\n\n//# sourceMappingURL=dynamic-rendering.js.map","export const INSTANT_VALIDATION_BOUNDARY_NAME = '__next_instant_validation_boundary__';\n\n//# sourceMappingURL=boundary-constants.js.map","import { RenderStage } from './app-render/staged-rendering';\nexport function isHangingPromiseRejectionError(err) {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false;\n }\n return err.digest === HANGING_PROMISE_REJECTION;\n}\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION';\nclass HangingPromiseRejectionError extends Error {\n constructor(route, expression){\n super(`During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`), this.route = route, this.expression = expression, this.digest = HANGING_PROMISE_REJECTION;\n }\n}\nconst abortListenersBySignal = new WeakMap();\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */ export function makeHangingPromise(signal, route, expression) {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression));\n } else {\n const hangingPromise = new Promise((_, reject)=>{\n const boundRejection = reject.bind(null, new HangingPromiseRejectionError(route, expression));\n let currentListeners = abortListenersBySignal.get(signal);\n if (currentListeners) {\n currentListeners.push(boundRejection);\n } else {\n const listeners = [\n boundRejection\n ];\n abortListenersBySignal.set(signal, listeners);\n signal.addEventListener('abort', ()=>{\n for(let i = 0; i < listeners.length; i++){\n listeners[i]();\n }\n }, {\n once: true\n });\n }\n });\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject);\n return hangingPromise;\n }\n}\nfunction ignoreReject() {}\nexport function makeDevtoolsIOAwarePromise(underlying, requestStore, stage) {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(stage, undefined, underlying);\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise((resolve)=>{\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(()=>{\n resolve(underlying);\n }, 0);\n });\n}\n/**\n * Returns the appropriate runtime stage for the current point in the render.\n * Runtime-prefetchable segments render in the early stages and should wait\n * for EarlyRuntime. Non-prefetchable segments render in the later stages\n * and should wait for Runtime.\n */ export function getRuntimeStage(stagedRendering) {\n if (stagedRendering.currentStage === RenderStage.EarlyStatic || stagedRendering.currentStage === RenderStage.EarlyRuntime) {\n return RenderStage.EarlyRuntime;\n }\n return RenderStage.Runtime;\n}\n/**\n * Delays until the appropriate runtime stage based on the current stage of\n * the rendering pipeline:\n *\n * - Early stages → wait for EarlyRuntime\n * (for runtime-prefetchable segments)\n * - Later stages → wait for Runtime\n * (for segments not using runtime prefetch)\n *\n * This ensures that cookies()/headers()/etc. resolve at the right time for\n * each segment type.\n */ export function delayUntilRuntimeStage(prerenderStore, result) {\n const { stagedRendering } = prerenderStore;\n if (!stagedRendering) {\n return result;\n }\n return stagedRendering.waitForStage(getRuntimeStage(stagedRendering)).then(()=>result);\n}\n\n//# sourceMappingURL=dynamic-rendering-utils.js.map","/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */ export const scheduleOnNextTick = (cb)=>{\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(()=>{\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0);\n } else {\n process.nextTick(cb);\n }\n });\n};\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */ export const scheduleImmediate = (cb)=>{\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0);\n } else {\n setImmediate(cb);\n }\n};\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */ export function atLeastOneTask() {\n return new Promise((resolve)=>scheduleImmediate(resolve));\n}\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */ export function waitAtLeastOneReactRenderTask() {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r)=>setTimeout(r, 0));\n } else {\n return new Promise((r)=>setImmediate(r));\n }\n}\n\n//# sourceMappingURL=scheduler.js.map","const REACT_POSTPONE_TYPE = Symbol.for('react.postpone');\nexport function isPostpone(error) {\n return typeof error === 'object' && error !== null && error.$$typeof === REACT_POSTPONE_TYPE;\n}\n\n//# sourceMappingURL=is-postpone.js.map","import { isHangingPromiseRejectionError } from '../../server/dynamic-rendering-utils';\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone';\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr';\nimport { isNextRouterError } from './is-next-router-error';\nimport { isDynamicPostpone, isPrerenderInterruptedError } from '../../server/app-render/dynamic-rendering';\nimport { isDynamicServerError } from './hooks-server-context';\nexport function unstable_rethrow(error) {\n if (isNextRouterError(error) || isBailoutToCSRError(error) || isDynamicServerError(error) || isDynamicPostpone(error) || isPostpone(error) || isHangingPromiseRejectionError(error) || isPrerenderInterruptedError(error)) {\n throw error;\n }\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause);\n }\n}\n\n//# sourceMappingURL=unstable-rethrow.server.js.map","let warnOnce = (_)=>{};\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set();\n warnOnce = (msg)=>{\n if (!warnings.has(msg)) {\n console.warn(msg);\n }\n warnings.add(msg);\n };\n}\nexport { warnOnce };\n\n//# sourceMappingURL=warn-once.js.map","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\n/**\n * HTTPAccessFallbackBoundary is a boundary that catches errors and renders a\n * fallback component for HTTP errors.\n *\n * It receives the status code, and determine if it should render fallbacks for few HTTP 4xx errors.\n *\n * e.g. 404\n * 404 represents not found, and the fallback component pair contains the component and its styles.\n *\n */ import React, { useContext } from 'react';\nimport { useUntrackedPathname } from '../navigation-untracked';\nimport { HTTPAccessErrorStatus, getAccessFallbackHTTPStatus, getAccessFallbackErrorTypeByStatus, isHTTPAccessFallbackError } from './http-access-fallback';\nimport { warnOnce } from '../../../shared/lib/utils/warn-once';\nimport { MissingSlotContext } from '../../../shared/lib/app-router-context.shared-runtime';\nclass HTTPAccessFallbackErrorBoundary extends React.Component {\n constructor(props){\n super(props);\n this.state = {\n triggeredStatus: undefined,\n previousPathname: props.pathname\n };\n }\n componentDidCatch() {\n if (process.env.NODE_ENV === 'development' && this.props.missingSlots && this.props.missingSlots.size > 0 && // A missing children slot is the typical not-found case, so no need to warn\n !this.props.missingSlots.has('children')) {\n let warningMessage = 'No default component was found for a parallel route rendered on this page. Falling back to nearest NotFound boundary.\\n' + 'Learn more: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#defaultjs\\n\\n';\n const formattedSlots = Array.from(this.props.missingSlots).sort((a, b)=>a.localeCompare(b)).map((slot)=>`@${slot}`).join(', ');\n warningMessage += 'Missing slots: ' + formattedSlots;\n warnOnce(warningMessage);\n }\n }\n static getDerivedStateFromError(error) {\n if (isHTTPAccessFallbackError(error)) {\n const httpStatus = getAccessFallbackHTTPStatus(error);\n return {\n triggeredStatus: httpStatus\n };\n }\n // Re-throw if error is not for 404\n throw error;\n }\n static getDerivedStateFromProps(props, state) {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.triggeredStatus) {\n return {\n triggeredStatus: undefined,\n previousPathname: props.pathname\n };\n }\n return {\n triggeredStatus: state.triggeredStatus,\n previousPathname: props.pathname\n };\n }\n render() {\n const { notFound, forbidden, unauthorized, children } = this.props;\n const { triggeredStatus } = this.state;\n const errorComponents = {\n [HTTPAccessErrorStatus.NOT_FOUND]: notFound,\n [HTTPAccessErrorStatus.FORBIDDEN]: forbidden,\n [HTTPAccessErrorStatus.UNAUTHORIZED]: unauthorized\n };\n if (triggeredStatus) {\n const isNotFound = triggeredStatus === HTTPAccessErrorStatus.NOT_FOUND && notFound;\n const isForbidden = triggeredStatus === HTTPAccessErrorStatus.FORBIDDEN && forbidden;\n const isUnauthorized = triggeredStatus === HTTPAccessErrorStatus.UNAUTHORIZED && unauthorized;\n // If there's no matched boundary in this layer, keep throwing the error by rendering the children\n if (!(isNotFound || isForbidden || isUnauthorized)) {\n return children;\n }\n return /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n /*#__PURE__*/ _jsx(\"meta\", {\n name: \"robots\",\n content: \"noindex\"\n }),\n process.env.NODE_ENV === 'development' && /*#__PURE__*/ _jsx(\"meta\", {\n name: \"boundary-next-error\",\n content: getAccessFallbackErrorTypeByStatus(triggeredStatus)\n }),\n errorComponents[triggeredStatus]\n ]\n });\n }\n return children;\n }\n}\nexport function HTTPAccessFallbackBoundary({ notFound, forbidden, unauthorized, children }) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these error can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname();\n const missingSlots = useContext(MissingSlotContext);\n const hasErrorFallback = !!(notFound || forbidden || unauthorized);\n if (hasErrorFallback) {\n return /*#__PURE__*/ _jsx(HTTPAccessFallbackErrorBoundary, {\n pathname: pathname,\n notFound: notFound,\n forbidden: forbidden,\n unauthorized: unauthorized,\n missingSlots: missingSlots,\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n\n//# sourceMappingURL=error-boundary.js.map","import { useContext } from 'react';\nimport { PathnameContext } from '../../shared/lib/hooks-client-context.shared-runtime';\n/**\n * This checks to see if the current render has any unknown route parameters that\n * would cause the pathname to be dynamic. It's used to trigger a different\n * render path in the error boundary.\n *\n * @returns true if there are any unknown route parameters, false otherwise\n */ function hasFallbackRouteParams() {\n if (typeof window === 'undefined') {\n // AsyncLocalStorage should not be included in the client bundle.\n const { workUnitAsyncStorage } = require('../../server/app-render/work-unit-async-storage.external');\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (!workUnitStore) return false;\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'validation-client':\n const fallbackParams = workUnitStore.fallbackRouteParams;\n return fallbackParams ? fallbackParams.size > 0 : false;\n case 'prerender-legacy':\n case 'request':\n case 'prerender-runtime':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n return false;\n }\n return false;\n}\n/**\n * This returns a `null` value if there are any unknown route parameters, and\n * otherwise returns the pathname from the context. This is an alternative to\n * `usePathname` that is used in the error boundary to avoid rendering the\n * error boundary when there are unknown route parameters. This doesn't throw\n * when accessed with unknown route parameters.\n *\n * @returns\n *\n * @internal\n */ export function useUntrackedPathname() {\n // If there are any unknown route parameters we would typically throw\n // an error, but this internal method allows us to return a null value instead\n // for components that do not propagate the pathname to the static shell (like\n // the error boundary).\n if (hasFallbackRouteParams()) {\n return null;\n }\n // This shouldn't cause any issues related to conditional rendering because\n // the environment will be consistent for the render.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useContext(PathnameContext);\n}\n\n//# sourceMappingURL=navigation-untracked.js.map","export const RSC_HEADER = 'rsc' as const\nexport const ACTION_HEADER = 'next-action' as const\n// TODO: Instead of sending the full router state, we only need to send the\n// segment path. Saves bytes. Then we could also use this field for segment\n// prefetches, which also need to specify a particular segment.\nexport const NEXT_ROUTER_STATE_TREE_HEADER = 'next-router-state-tree' as const\nexport const NEXT_ROUTER_PREFETCH_HEADER = 'next-router-prefetch' as const\n// This contains the path to the segment being prefetched.\n// TODO: If we change next-router-state-tree to be a segment path, we can use\n// that instead. Then next-router-prefetch and next-router-segment-prefetch can\n// be merged into a single enum.\nexport const NEXT_ROUTER_SEGMENT_PREFETCH_HEADER =\n 'next-router-segment-prefetch' as const\nexport const NEXT_HMR_REFRESH_HEADER = 'next-hmr-refresh' as const\nexport const NEXT_HMR_REFRESH_HASH_COOKIE = '__next_hmr_refresh_hash__' as const\nexport const NEXT_URL = 'next-url' as const\nexport const RSC_CONTENT_TYPE_HEADER = 'text/x-component' as const\n\n// Header for the Instant Navigation Testing API. In development and testing\n// builds, static pre-renders normally don't happen. This header tells the\n// server to perform a static pre-render anyway, allowing tests to assert on\n// the prefetched UI. Not exposed in production builds by default.\nexport const NEXT_INSTANT_PREFETCH_HEADER =\n 'next-instant-navigation-testing-prefetch' as const\n\n// Cookie for the Instant Navigation Testing API. Used for MPA navigations\n// (page reload, full page load) where we can't set request headers. When set,\n// the server renders only the static shell. Not exposed in production builds\n// by default.\nexport const NEXT_INSTANT_TEST_COOKIE =\n 'next-instant-navigation-testing' as const\n\nexport const FLIGHT_HEADERS = [\n RSC_HEADER,\n NEXT_ROUTER_STATE_TREE_HEADER,\n NEXT_ROUTER_PREFETCH_HEADER,\n NEXT_HMR_REFRESH_HEADER,\n NEXT_ROUTER_SEGMENT_PREFETCH_HEADER,\n] as const\n\nexport const NEXT_RSC_UNION_QUERY = '_rsc' as const\n\nexport const NEXT_ROUTER_STALE_TIME_HEADER = 'x-nextjs-stale-time' as const\nexport const NEXT_DID_POSTPONE_HEADER = 'x-nextjs-postponed' as const\nexport const NEXT_REWRITTEN_PATH_HEADER = 'x-nextjs-rewritten-path' as const\nexport const NEXT_REWRITTEN_QUERY_HEADER = 'x-nextjs-rewritten-query' as const\nexport const NEXT_IS_PRERENDER_HEADER = 'x-nextjs-prerender' as const\nexport const NEXT_ACTION_NOT_FOUND_HEADER = 'x-nextjs-action-not-found' as const\nexport const NEXT_REQUEST_ID_HEADER = 'x-nextjs-request-id' as const\nexport const NEXT_HTML_REQUEST_ID_HEADER = 'x-nextjs-html-request-id' as const\n\n// TODO: Should this include nextjs in the name, like the others?\nexport const NEXT_ACTION_REVALIDATED_HEADER = 'x-action-revalidated' as const\n","export function getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\nexport function isGroupSegment(segment) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')');\n}\nexport function isParallelRouteSegment(segment) {\n return segment.startsWith('@') && segment !== '@children';\n}\nexport function addSearchParamsIfPageSegment(segment, searchParams) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY);\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams);\n return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY;\n }\n return segment;\n}\nexport function computeSelectedLayoutSegment(segments, parallelRouteKey) {\n if (!segments || segments.length === 0) {\n return null;\n }\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment = parallelRouteKey === 'children' ? segments[0] : segments[segments.length - 1];\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment;\n}\n/** Get the canonical parameters from the current level to the leaf node. */ export function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first = true, segmentPath = []) {\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n let segmentValue = getSegmentValue(segment);\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath;\n }\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nexport const PAGE_SEGMENT_KEY = '__PAGE__';\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__';\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found';\n\n//# sourceMappingURL=segment.js.map","import { PAGE_SEGMENT_KEY } from '../segment';\nexport const ROOT_SEGMENT_REQUEST_KEY = '';\nexport const HEAD_REQUEST_KEY = '/_head';\nexport function createSegmentRequestKeyPart(segment) {\n if (typeof segment === 'string') {\n if (segment.startsWith(PAGE_SEGMENT_KEY)) {\n // The Flight Router State type sometimes includes the search params in\n // the page segment. However, the Segment Cache tracks this as a separate\n // key. So, we strip the search params here, and then add them back when\n // the cache entry is turned back into a FlightRouterState. This is an\n // unfortunate consequence of the FlightRouteState being used both as a\n // transport type and as a cache key; we'll address this once more of the\n // Segment Cache implementation has settled.\n // TODO: We should hoist the search params out of the FlightRouterState\n // type entirely, This is our plan for dynamic route params, too.\n return PAGE_SEGMENT_KEY;\n }\n const safeName = // TODO: FlightRouterState encodes Not Found routes as \"/_not-found\".\n // But params typically don't include the leading slash. We should use\n // a different encoding to avoid this special case.\n segment === '/_not-found' ? '_not-found' : encodeToFilesystemAndURLSafeString(segment);\n // Since this is not a dynamic segment, it's fully encoded. It does not\n // need to be \"hydrated\" with a param value.\n return safeName;\n }\n const name = segment[0];\n const paramType = segment[2];\n const safeName = encodeToFilesystemAndURLSafeString(name);\n const encodedName = '$' + paramType + '$' + safeName;\n return encodedName;\n}\nexport function appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, childRequestKeyPart) {\n // Aside from being filesystem safe, segment keys are also designed so that\n // each segment and parallel route creates its own subdirectory. Roughly in\n // the same shape as the source app directory. This is mostly just for easier\n // debugging (you can open up the build folder and navigate the output); if\n // we wanted to do we could just use a flat structure.\n // Omit the parallel route key for children, since this is the most\n // common case. Saves some bytes (and it's what the app directory does).\n const slotKey = parallelRouteKey === 'children' ? childRequestKeyPart : `@${encodeToFilesystemAndURLSafeString(parallelRouteKey)}/${childRequestKeyPart}`;\n return parentRequestKey + '/' + slotKey;\n}\n// Define a regex pattern to match the most common characters found in a route\n// param. It excludes anything that might not be cross-platform filesystem\n// compatible, like |. It does not need to be precise because the fallback is to\n// just base64url-encode the whole parameter, which is fine; we just don't do it\n// by default for compactness, and for easier debugging.\nconst simpleParamValueRegex = /^[a-zA-Z0-9\\-_@]+$/;\nfunction encodeToFilesystemAndURLSafeString(value) {\n if (simpleParamValueRegex.test(value)) {\n return value;\n }\n // If there are any unsafe characters, base64url-encode the entire value.\n // We also add a ! prefix so it doesn't collide with the simple case.\n const base64url = btoa(value).replace(/\\+/g, '-') // Replace '+' with '-'\n .replace(/\\//g, '_') // Replace '/' with '_'\n .replace(/=+$/, '') // Remove trailing '='\n ;\n return '!' + base64url;\n}\nexport function convertSegmentPathToStaticExportFilename(segmentPath) {\n return `__next${segmentPath.replace(/\\//g, '.')}.txt`;\n}\n\n//# sourceMappingURL=segment-value-encoding.js.map","import { addSearchParamsIfPageSegment, DEFAULT_SEGMENT_KEY, PAGE_SEGMENT_KEY } from '../shared/lib/segment';\nimport { ROOT_SEGMENT_REQUEST_KEY } from '../shared/lib/segment-cache/segment-value-encoding';\nimport { NEXT_REWRITTEN_PATH_HEADER, NEXT_REWRITTEN_QUERY_HEADER, NEXT_RSC_UNION_QUERY } from './components/app-router-headers';\nexport function getRenderedSearch(response) {\n // If the server performed a rewrite, the search params used to render the\n // page will be different from the params in the request URL. In this case,\n // the response will include a header that gives the rewritten search query.\n const rewrittenQuery = response.headers.get(NEXT_REWRITTEN_QUERY_HEADER);\n if (rewrittenQuery !== null) {\n return rewrittenQuery === '' ? '' : '?' + rewrittenQuery;\n }\n // If the header is not present, there was no rewrite, so we use the search\n // query of the response URL.\n return urlToUrlWithoutFlightMarker(new URL(response.url)).search;\n}\nexport function getRenderedPathname(response) {\n // If the server performed a rewrite, the pathname used to render the\n // page will be different from the pathname in the request URL. In this case,\n // the response will include a header that gives the rewritten pathname.\n const rewrittenPath = response.headers.get(NEXT_REWRITTEN_PATH_HEADER);\n return rewrittenPath ?? urlToUrlWithoutFlightMarker(new URL(response.url)).pathname;\n}\n// Pathname parts come from `URL.pathname.split('/')`, so they are already\n// in the encoded form the URL parser produces. The server-side equivalent\n// (`get-dynamic-param.ts`) starts from a decoded param value and applies\n// `encodeURIComponent` once. The two encodings are not the same — for\n// example, the URL parser leaves `,` and `:` untouched while\n// `encodeURIComponent` percent-encodes them. To produce the same canonical\n// form on the client (and avoid double-encoding `%xx` sequences such as\n// `%2F` → `%252F`), we decode the URL part first and re-encode it.\nfunction canonicalizeURLPart(part) {\n try {\n return encodeURIComponent(decodeURIComponent(part));\n } catch {\n // `decodeURIComponent` throws on malformed sequences. Fall back to the\n // already-encoded form rather than failing the navigation.\n return part;\n }\n}\nexport function parseDynamicParamFromURLPart(paramType, pathnameParts, partIndex) {\n // This needs to match the behavior in get-dynamic-param.ts.\n switch(paramType){\n // Catchalls\n case 'c':\n {\n // Catchalls receive all the remaining URL parts. If there are no\n // remaining pathname parts, return an empty array.\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>canonicalizeURLPart(s)) : [];\n }\n // Catchall intercepted\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)':\n {\n const prefix = paramType.length - 2;\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s, i)=>{\n if (i === 0) {\n return canonicalizeURLPart(s.slice(prefix));\n }\n return canonicalizeURLPart(s);\n }) : [];\n }\n // Optional catchalls\n case 'oc':\n {\n // Optional catchalls receive all the remaining URL parts, unless this is\n // the end of the pathname, in which case they return null.\n return partIndex < pathnameParts.length ? pathnameParts.slice(partIndex).map((s)=>canonicalizeURLPart(s)) : null;\n }\n // Dynamic\n case 'd':\n {\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return '';\n }\n return canonicalizeURLPart(pathnameParts[partIndex]);\n }\n // Dynamic intercepted\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)':\n {\n const prefix = paramType.length - 2;\n if (partIndex >= pathnameParts.length) {\n // The route tree expected there to be more parts in the URL than there\n // actually are. This could happen if the x-nextjs-rewritten-path header\n // is incorrectly set, or potentially due to bug in Next.js. TODO:\n // Should this be a hard error? During a prefetch, we can just abort.\n // During a client navigation, we could trigger a hard refresh. But if\n // it happens during initial render, we don't really have any\n // recovery options.\n return '';\n }\n return canonicalizeURLPart(pathnameParts[partIndex].slice(prefix));\n }\n default:\n paramType;\n return '';\n }\n}\nexport function doesStaticSegmentAppearInURL(segment) {\n // This is not a parameterized segment; however, we need to determine\n // whether or not this segment appears in the URL. For example, this route\n // groups do not appear in the URL, so they should be skipped. Any other\n // special cases must be handled here.\n // TODO: Consider encoding this directly into the router tree instead of\n // inferring it on the client based on the segment type. Something like\n // a `doesAppearInURL` flag in FlightRouterState.\n if (segment === ROOT_SEGMENT_REQUEST_KEY || // For some reason, the loader tree sometimes includes extra __PAGE__\n // \"layouts\" when part of a parallel route. But it's not a leaf node.\n // Otherwise, we wouldn't need this special case because pages are\n // always leaf nodes.\n // TODO: Investigate why the loader produces these fake page segments.\n segment.startsWith(PAGE_SEGMENT_KEY) || // Route groups.\n segment[0] === '(' && segment.endsWith(')') || segment === DEFAULT_SEGMENT_KEY || segment === '/_not-found') {\n return false;\n } else {\n // All other segment types appear in the URL\n return true;\n }\n}\nexport function getCacheKeyForDynamicParam(paramValue, renderedSearch) {\n // This needs to match the logic in get-dynamic-param.ts, until we're able to\n // unify the various implementations so that these are always computed on\n // the client.\n if (typeof paramValue === 'string') {\n // TODO: Refactor or remove this helper function to accept a string rather\n // than the whole segment type. Also we can probably just append the\n // search string instead of turning it into JSON.\n const pageSegmentWithSearchParams = addSearchParamsIfPageSegment(paramValue, Object.fromEntries(new URLSearchParams(renderedSearch)));\n return pageSegmentWithSearchParams;\n } else if (paramValue === null) {\n return '';\n } else {\n return paramValue.join('/');\n }\n}\nexport function urlToUrlWithoutFlightMarker(url) {\n const urlWithoutFlightParameters = new URL(url);\n urlWithoutFlightParameters.searchParams.delete(NEXT_RSC_UNION_QUERY);\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export' && urlWithoutFlightParameters.pathname.endsWith('.txt')) {\n const { pathname } = urlWithoutFlightParameters;\n const length = pathname.endsWith('/index.txt') ? 10 : 4;\n // Slice off `/index.txt` or `.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = pathname.slice(0, -length);\n }\n }\n return urlWithoutFlightParameters;\n}\nexport function getParamValueFromCacheKey(paramCacheKey, paramType) {\n // Turn the cache key string sent by the server (as part of FlightRouterState)\n // into a value that can be passed to `useParams` and client components.\n const isCatchAll = paramType === 'c' || paramType === 'oc';\n if (isCatchAll) {\n // Catch-all param keys are a concatenation of the path segments.\n // See equivalent logic in `getSelectedParams`.\n // TODO: We should just pass the array directly, rather than concatenate\n // it to a string and then split it back to an array. It needs to be an\n // array in some places, like when passing a key React, but we can convert\n // it at runtime in those places.\n return paramCacheKey.split('/');\n }\n return paramCacheKey;\n}\nexport function urlSearchParamsToParsedUrlQuery(searchParams) {\n // Converts a URLSearchParams object to the same type used by the server when\n // creating search params props, i.e. the type returned by Node's\n // \"querystring\" module.\n const result = {};\n for (const [key, value] of searchParams.entries()){\n if (result[key] === undefined) {\n result[key] = value;\n } else if (Array.isArray(result[key])) {\n result[key].push(value);\n } else {\n result[key] = [\n result[key],\n value\n ];\n }\n }\n return result;\n}\n\n//# sourceMappingURL=route-params.js.map","import type { Dispatch } from 'react'\nimport React, { use, useMemo, useOptimistic } from 'react'\nimport { isThenable } from '../../shared/lib/is-thenable'\nimport type { AppRouterActionQueue } from './app-router-instance'\nimport {\n ACTION_REFRESH,\n type AppRouterState,\n type ReducerActions,\n type ReducerState,\n} from './router-reducer/router-reducer-types'\n\n// The app router state lives outside of React, so we can import the dispatch\n// method directly wherever we need it, rather than passing it around via props\n// or context.\nlet dispatch: Dispatch | null = null\n\n/**\n * Called when the instant navigation test lock is released. If the router\n * is initialized, dispatches a soft refresh to fetch dynamic data. If not\n * (e.g. the lock was released before hydration finished), falls back to a\n * hard reload.\n */\nexport function refreshOnInstantNavigationUnlock() {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n if (dispatch !== null) {\n dispatch({ type: ACTION_REFRESH, bypassCacheInvalidation: true })\n } else {\n window.location.reload()\n }\n }\n}\n\nexport function dispatchAppRouterAction(action: ReducerActions) {\n if (dispatch === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n dispatch(action)\n}\n\n// Optimistic state setter for experimental_gesturePush. Only should be used\n// during a gesture transition.\nlet setGestureRouterState: ((state: ReducerState) => void) | null = null\n\nexport function dispatchGestureState(state: ReducerState) {\n if (setGestureRouterState === null) {\n throw new Error(\n 'Internal Next.js error: Router action dispatched before initialization.'\n )\n }\n setGestureRouterState(state)\n}\n\nconst __DEV__ = process.env.NODE_ENV !== 'production'\nconst promisesWithDebugInfo: WeakMap<\n Promise,\n Promise & { _debugInfo?: Array }\n> = __DEV__ ? new WeakMap() : (null as any)\n\nexport function useActionQueue(\n actionQueue: AppRouterActionQueue\n): AppRouterState {\n const [canonicalState, setState] = React.useState(\n actionQueue.state\n )\n\n // Wrap the canonical state in useOptimistic to support\n // experimental_gesturePush. During a gesture transition, this returns a fork\n // of the router state that represents the eventual target if/when the gesture\n // completes. Otherwise it returns the canonical state.\n const [state, setGesture] = useOptimistic(canonicalState)\n if (typeof window !== 'undefined') {\n setGestureRouterState = setGesture\n }\n\n // Because of a known issue that requires to decode Flight streams inside the\n // render phase, we have to be a bit clever and assign the dispatch method to\n // a module-level variable upon initialization. The useState hook in this\n // module only exists to synchronize state that lives outside of React.\n // Ideally, what we'd do instead is pass the state as a prop to root.render;\n // this is conceptually how we're modeling the app router state, despite the\n // weird implementation details.\n let nextDispatch: Dispatch\n\n if (process.env.NODE_ENV !== 'production') {\n const { useAppDevRenderingIndicator } =\n require('../../next-devtools/userspace/use-app-dev-rendering-indicator') as typeof import('../../next-devtools/userspace/use-app-dev-rendering-indicator')\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const appDevRenderingIndicator = useAppDevRenderingIndicator()\n\n nextDispatch = (action: ReducerActions) => {\n appDevRenderingIndicator(() => {\n actionQueue.dispatch(action, setState)\n })\n }\n } else {\n nextDispatch = (action: ReducerActions) =>\n actionQueue.dispatch(action, setState)\n }\n\n if (typeof window !== 'undefined') {\n dispatch = nextDispatch\n }\n\n // When navigating to a non-prefetched route, then App Router state will be\n // blocked until the server responds. We need to transfer the `_debugInfo`\n // from the underlying Flight response onto the top-level promise that is\n // passed to React (via `use`) so that the latency is accurately represented\n // in the React DevTools.\n const stateWithDebugInfo = useMemo(() => {\n if (!__DEV__) {\n return state\n }\n\n if (isThenable(state)) {\n // useMemo can't be used to cache a Promise since the memoized value is thrown\n // away when we suspend. So we use a WeakMap to cache the Promise with debug info.\n let promiseWithDebugInfo = promisesWithDebugInfo.get(state)\n if (promiseWithDebugInfo === undefined) {\n const debugInfo: Array = []\n promiseWithDebugInfo = Promise.resolve(state).then((asyncState) => {\n if (asyncState.debugInfo !== null) {\n debugInfo.push(...asyncState.debugInfo)\n }\n return asyncState\n }) as Promise & { _debugInfo?: Array }\n promiseWithDebugInfo._debugInfo = debugInfo\n\n promisesWithDebugInfo.set(state, promiseWithDebugInfo)\n }\n\n return promiseWithDebugInfo\n }\n return state\n }, [state])\n\n return isThenable(stateWithDebugInfo)\n ? use(stateWithDebugInfo)\n : stateWithDebugInfo\n}\n","/**\n * Navigation lock for the Instant Navigation Testing API.\n *\n * Manages the in-memory lock (a promise) that gates dynamic data writes\n * during instant navigation captures, and owns all cookie state\n * transitions (pending → captured-MPA, pending → captured-SPA).\n *\n * External actors (Playwright, devtools) set [0] to start a lock scope\n * and delete the cookie to end one. Next.js writes captured values.\n * The CookieStore handler distinguishes them by value: pending = external,\n * captured = self-write (ignored).\n */\n\nimport type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport { NEXT_INSTANT_TEST_COOKIE } from '../app-router-headers'\nimport { refreshOnInstantNavigationUnlock } from '../use-action-queue'\n\ntype InstantNavCookieState = 'pending' | 'mpa' | 'spa'\n\ntype InstantCookie =\n // pending (waiting to capture)\n | [captured: 0, id: string]\n // captured MPA page load\n | [captured: 1, id: string, state: null]\n // captured SPA navigation (from/to route trees)\n | [\n captured: 1,\n id: string,\n state: { from: FlightRouterState; to: FlightRouterState | null },\n ]\n\nfunction parseCookieValue(raw: string): InstantNavCookieState {\n try {\n const parsed = JSON.parse(raw)\n if (Array.isArray(parsed) && parsed.length >= 3) {\n const rawState = parsed[2]\n return rawState === null ? 'mpa' : 'spa'\n }\n } catch {}\n return 'pending'\n}\n\nfunction writeCookieValue(value: InstantCookie): void {\n if (typeof cookieStore === 'undefined') {\n return\n }\n // Read the existing cookie to preserve its attributes (domain, path),\n // then write back with the new value. This updates the same cookie\n // entry that the external actor created, regardless of how it was\n // scoped.\n cookieStore.get(NEXT_INSTANT_TEST_COOKIE).then((existing: any) => {\n if (existing) {\n const options: any = {\n name: NEXT_INSTANT_TEST_COOKIE,\n value: JSON.stringify(value),\n path: existing.path ?? '/',\n }\n if (existing.domain) {\n options.domain = existing.domain\n }\n cookieStore.set(options)\n }\n })\n}\n\ntype NavigationLockState = {\n promise: Promise\n resolve: () => void\n}\n\nlet lockState: NavigationLockState | null = null\n\nfunction acquireLock(): void {\n if (lockState !== null) {\n return\n }\n let resolve: () => void\n const promise = new Promise((r) => {\n resolve = r\n })\n lockState = { promise, resolve: resolve! }\n}\n\nfunction releaseLock(): void {\n if (lockState !== null) {\n lockState.resolve()\n lockState = null\n }\n}\n\n/**\n * Sets up the cookie-based lock. Handles the initial page load state and\n * registers a CookieStore listener for runtime changes.\n *\n * Called once during page initialization from app-globals.ts.\n */\nexport function startListeningForInstantNavigationCookie(): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // If the server served a static shell, this is an MPA page load\n // while the lock is held. Transition to captured-MPA and acquire.\n if (self.__next_instant_test) {\n if (typeof cookieStore !== 'undefined') {\n // If the cookie was already cleared during the MPA page\n // transition, reload to get the full dynamic page.\n cookieStore.get(NEXT_INSTANT_TEST_COOKIE).then((cookie: any) => {\n if (!cookie) {\n window.location.reload()\n }\n })\n }\n\n writeCookieValue([1, `c${Math.random()}`, null])\n acquireLock()\n }\n\n if (typeof cookieStore === 'undefined') {\n return\n }\n\n cookieStore.addEventListener('change', (event: CookieChangeEvent) => {\n for (const cookie of event.changed) {\n if (cookie.name === NEXT_INSTANT_TEST_COOKIE) {\n const state = parseCookieValue(cookie.value ?? '')\n\n if (state !== 'pending') {\n // Captured value — our own transition. Ignore.\n return\n }\n\n // Pending value — external actor starting a new lock scope.\n if (lockState !== null) {\n releaseLock()\n }\n acquireLock()\n return\n }\n }\n\n for (const cookie of event.deleted) {\n if (cookie.name === NEXT_INSTANT_TEST_COOKIE) {\n releaseLock()\n refreshOnInstantNavigationUnlock()\n return\n }\n }\n })\n }\n}\n\n/**\n * Transitions the cookie from pending to captured-SPA. Called when a\n * client-side navigation is captured by the lock.\n *\n * @param fromTree - The flight router state of the from-route\n * @param toTree - The flight router state of the to-route (null if not yet known)\n */\nexport function transitionToCapturedSPA(\n fromTree: FlightRouterState,\n toTree: FlightRouterState | null\n): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n writeCookieValue([1, `c${Math.random()}`, { from: fromTree, to: toTree }])\n }\n}\n\n/**\n * Updates the captured-SPA cookie with the resolved route trees.\n * Called after the prefetch resolves and the target route tree is known.\n */\nexport function updateCapturedSPAToTree(\n fromTree: FlightRouterState,\n toTree: FlightRouterState\n): void {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n writeCookieValue([1, `c${Math.random()}`, { from: fromTree, to: toTree }])\n }\n}\n\n/**\n * Returns true if the navigation lock is currently active.\n */\nexport function isNavigationLocked(): boolean {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n return lockState !== null\n }\n return false\n}\n\n/**\n * Waits for the navigation lock to be released, if it's currently held.\n * No-op if the lock is not acquired.\n */\nexport async function waitForNavigationLockIfActive(): Promise {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n if (lockState !== null) {\n await lockState.promise\n }\n }\n}\n","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React, { Activity, Fragment, useContext, use, Suspense, useDeferredValue, useLayoutEffect } from 'react';\nimport ReactDOM from 'react-dom';\nimport { LayoutRouterContext, GlobalLayoutRouterContext, TemplateContext } from '../../shared/lib/app-router-context.shared-runtime';\nimport { unresolvedThenable } from './unresolved-thenable';\nimport { ErrorBoundary } from './error-boundary';\nimport { disableSmoothScrollDuringRouteTransition } from '../../shared/lib/router/utils/disable-smooth-scroll';\nimport { RedirectBoundary } from './redirect-boundary';\nimport { HTTPAccessFallbackBoundary } from './http-access-fallback/error-boundary';\nimport { createRouterCacheKey } from './router-reducer/create-router-cache-key';\nimport { useRouterBFCache } from './bfcache-state-manager';\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths';\nimport { NavigationPromisesContext } from '../../shared/lib/hooks-client-context.shared-runtime';\nimport { getParamValueFromCacheKey } from '../route-params';\nimport { isDeferredRsc } from './router-reducer/ppr-navigations';\nconst enableNewScrollHandler = process.env.__NEXT_APP_NEW_SCROLL_HANDLER;\nconst __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */ function findDOMNode(instance) {\n // Tree-shake for server bundle\n if (typeof window === 'undefined') return null;\n // __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode is null during module init.\n // We need to lazily reference it.\n const internal_reactDOMfindDOMNode = __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE.findDOMNode;\n return internal_reactDOMfindDOMNode(instance);\n}\nconst rectProperties = [\n 'bottom',\n 'height',\n 'left',\n 'right',\n 'top',\n 'width',\n 'x',\n 'y'\n];\n/**\n * Check if a HTMLElement is hidden or fixed/sticky position\n */ function shouldSkipElement(element) {\n // we ignore fixed or sticky positioned elements since they'll likely pass the \"in-viewport\" check\n // and will result in a situation we bail on scroll because of something like a fixed nav,\n // even though the actual page content is offscreen\n if ([\n 'sticky',\n 'fixed'\n ].includes(getComputedStyle(element).position)) {\n return true;\n }\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect();\n return rectProperties.every((item)=>rect[item] === 0);\n}\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */ function topOfElementInViewport(instance, viewportHeight) {\n const rects = instance.getClientRects();\n if (rects.length === 0) {\n // Just to be explicit.\n return false;\n }\n let elementTop = Number.POSITIVE_INFINITY;\n for(let i = 0; i < rects.length; i++){\n const rect = rects[i];\n if (rect.top < elementTop) {\n elementTop = rect.top;\n }\n }\n return elementTop >= 0 && elementTop <= viewportHeight;\n}\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */ function getHashFragmentDomNode(hashFragment) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === 'top') {\n return document.body;\n }\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return document.getElementById(hashFragment) ?? // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0];\n}\nclass InnerScrollAndFocusHandlerOld extends React.Component {\n componentDidMount() {\n this.handlePotentialScroll();\n }\n componentDidUpdate() {\n this.handlePotentialScroll();\n }\n render() {\n return this.props.children;\n }\n constructor(...args){\n super(...args), this.handlePotentialScroll = ()=>{\n // Handle scroll and focus, it's only applied once.\n const { focusAndScrollRef, cacheNode } = this.props;\n const scrollRef = focusAndScrollRef.forceScroll ? focusAndScrollRef.scrollRef : cacheNode.scrollRef;\n if (scrollRef === null || !scrollRef.current) return;\n let domNode = null;\n const hashFragment = focusAndScrollRef.hashFragment;\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment);\n }\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a in head.\n if (!domNode) {\n domNode = findDOMNode(this);\n }\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return;\n }\n // Verify if the element is a HTMLElement and if we want to consider it for scroll behavior.\n // If the element is skipped, try to select the next sibling and try again.\n while(!(domNode instanceof HTMLElement) || shouldSkipElement(domNode)){\n if (process.env.NODE_ENV !== 'production') {\n if (domNode.parentElement?.localName === 'head') {\n // We enter this state when metadata was rendered as part of the page or via Next.js.\n // This is always a bug in Next.js and caused by React hoisting metadata.\n // Fixed with `experimental.appNewScrollHandler`\n }\n }\n // No siblings found that match the criteria are found, so handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return;\n }\n domNode = domNode.nextElementSibling;\n }\n // Mark as scrolled so no other segment scrolls for this navigation.\n scrollRef.current = false;\n disableSmoothScrollDuringRouteTransition(()=>{\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n domNode.scrollIntoView();\n return;\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement;\n const viewportHeight = htmlElement.clientHeight;\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode, viewportHeight)) {\n return;\n }\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0;\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n domNode.scrollIntoView();\n }\n }, {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange\n });\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false;\n focusAndScrollRef.hashFragment = null;\n // Set focus on the element\n domNode.focus();\n };\n }\n}\n/**\n * Fork of InnerScrollAndFocusHandlerOld using Fragment refs for scrolling.\n * No longer focuses the first host descendant.\n */ function InnerScrollHandlerNew(props) {\n const childrenRef = React.useRef(null);\n useLayoutEffect(()=>{\n const { focusAndScrollRef, cacheNode } = props;\n const scrollRef = focusAndScrollRef.forceScroll ? focusAndScrollRef.scrollRef : cacheNode.scrollRef;\n if (scrollRef === null || !scrollRef.current) return;\n let instance = null;\n const hashFragment = focusAndScrollRef.hashFragment;\n if (hashFragment) {\n instance = getHashFragmentDomNode(hashFragment);\n }\n if (!instance) {\n instance = childrenRef.current;\n }\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (instance === null) {\n return;\n }\n // Mark as scrolled so no other segment scrolls for this navigation.\n scrollRef.current = false;\n const activeElement = document.activeElement;\n if (activeElement !== null && 'blur' in activeElement && typeof activeElement.blur === 'function') {\n // Trying to match hard navigations.\n // Ideally we'd move the internal focus cursor either to the top\n // or at least before the segment. But there's no DOM API to do that,\n // so we just blur.\n // We could workaround this by moving focus to a temporary element in\n // the body. But adding elements might trigger layout or other effects\n // so it should be well motivated.\n activeElement.blur();\n }\n disableSmoothScrollDuringRouteTransition(()=>{\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n instance.scrollIntoView();\n return;\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement;\n const viewportHeight = htmlElement.clientHeight;\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(instance, viewportHeight)) {\n return;\n }\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0;\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(instance, viewportHeight)) {\n // Scroll into view doesn't scroll horizontally by default when not needed\n instance.scrollIntoView();\n }\n }, {\n // We will force layout by querying domNode position\n dontForceLayout: true,\n onlyHashChange: focusAndScrollRef.onlyHashChange\n });\n // Mutate after scrolling so that it can be read by `disableSmoothScrollDuringRouteTransition`\n focusAndScrollRef.onlyHashChange = false;\n focusAndScrollRef.hashFragment = null;\n }, // Used to run on every commit. We may be able to be smarter about this\n // but be prepared for lots of manual testing.\n undefined);\n return /*#__PURE__*/ _jsx(Fragment, {\n ref: childrenRef,\n children: props.children\n });\n}\nconst InnerScrollAndMaybeFocusHandler = enableNewScrollHandler ? InnerScrollHandlerNew : InnerScrollAndFocusHandlerOld;\nfunction ScrollAndMaybeFocusHandler({ children, cacheNode }) {\n const context = useContext(GlobalLayoutRouterContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant global layout router not mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E473\",\n enumerable: false,\n configurable: true\n });\n }\n return /*#__PURE__*/ _jsx(InnerScrollAndMaybeFocusHandler, {\n focusAndScrollRef: context.focusAndScrollRef,\n cacheNode: cacheNode,\n children: children\n });\n}\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */ function InnerLayoutRouter({ tree, segmentPath, debugNameContext, cacheNode: maybeCacheNode, params, url, isActive }) {\n const context = useContext(GlobalLayoutRouterContext);\n const parentNavPromises = useContext(NavigationPromisesContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant global layout router not mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E473\",\n enumerable: false,\n configurable: true\n });\n }\n const cacheNode = maybeCacheNode !== null ? maybeCacheNode : //\n // This should only be reachable for inactive/hidden segments, during\n // prerendering The active segment should always be consistent with the\n // CacheNode tree. Regardless, if we don't have a matching CacheNode, we\n // must suspend rather than render nothing, to prevent showing an\n // inconsistent route.\n use(unresolvedThenable);\n // `rsc` represents the renderable node for this segment.\n // If this segment has a `prefetchRsc`, it's the statically prefetched data.\n // We should use that on initial render instead of `rsc`. Then we'll switch\n // to `rsc` when the dynamic response streams in.\n //\n // If no prefetch data is available, then we go straight to rendering `rsc`.\n const resolvedPrefetchRsc = cacheNode.prefetchRsc !== null ? cacheNode.prefetchRsc : cacheNode.rsc;\n // We use `useDeferredValue` to handle switching between the prefetched and\n // final values. The second argument is returned on initial render, then it\n // re-renders with the first argument.\n const rsc = useDeferredValue(cacheNode.rsc, resolvedPrefetchRsc);\n // `rsc` is either a React node or a promise for a React node, except we\n // special case `null` to represent that this segment's data is missing. If\n // it's a promise, we need to unwrap it so we can determine whether or not the\n // data is missing.\n let resolvedRsc;\n if (isDeferredRsc(rsc)) {\n const unwrappedRsc = use(rsc);\n if (unwrappedRsc === null) {\n // If the promise was resolved to `null`, it means the data for this\n // segment was not returned by the server. Suspend indefinitely. When this\n // happens, the router is responsible for triggering a new state update to\n // un-suspend this segment.\n use(unresolvedThenable);\n }\n resolvedRsc = unwrappedRsc;\n } else {\n // This is not a deferred RSC promise. Don't need to unwrap it.\n if (rsc === null) {\n use(unresolvedThenable);\n }\n resolvedRsc = rsc;\n }\n // In dev, we create a NavigationPromisesContext containing the instrumented promises that provide\n // `useSelectedLayoutSegment` and `useSelectedLayoutSegments`.\n // Promises are cached outside of render to survive suspense retries.\n let navigationPromises = null;\n if (process.env.NODE_ENV !== 'production') {\n const { createNestedLayoutNavigationPromises } = require('./navigation-devtools');\n navigationPromises = createNestedLayoutNavigationPromises(tree, parentNavPromises);\n }\n let children = resolvedRsc;\n if (navigationPromises) {\n children = /*#__PURE__*/ _jsx(NavigationPromisesContext.Provider, {\n value: navigationPromises,\n children: resolvedRsc\n });\n }\n children = // The layout router context narrows down tree and childNodes at each level.\n /*#__PURE__*/ _jsx(LayoutRouterContext.Provider, {\n value: {\n parentTree: tree,\n parentCacheNode: cacheNode,\n parentSegmentPath: segmentPath,\n parentParams: params,\n // This is always set to null as we enter a child segment. It's\n // populated by LoadingBoundaryProvider the next time we reach a\n // loading boundary.\n parentLoadingData: null,\n debugNameContext: debugNameContext,\n // TODO-APP: overriding of url for parallel routes\n url: url,\n isActive: isActive\n },\n children: children\n });\n return children;\n}\nexport function LoadingBoundaryProvider({ loading, children }) {\n // Provides the data needed to render a loading.tsx boundary, via context.\n //\n // loading.tsx creates a Suspense boundary around each of a layout's child\n // slots. (Might be bit confusing to think about the data flow, but: if\n // loading.tsx and layout.tsx are in the same directory, they are assigned\n // to the same CacheNode.)\n //\n // This provider component does not render the Suspense boundary directly;\n // that's handled by LoadingBoundary.\n //\n // TODO: For simplicity, we should combine this provider with LoadingBoundary\n // and render the Suspense boundary directly. The only real benefit of doing\n // it separately is so that when there are multiple parallel routes, we only\n // send the boundary data once, rather than once per child. But that's a\n // negligible benefit and can be achieved via caching instead.\n const parentContext = use(LayoutRouterContext);\n if (parentContext === null) {\n return children;\n }\n // All values except for parentLoadingData are the same as the parent context.\n return /*#__PURE__*/ _jsx(LayoutRouterContext.Provider, {\n value: {\n parentTree: parentContext.parentTree,\n parentCacheNode: parentContext.parentCacheNode,\n parentSegmentPath: parentContext.parentSegmentPath,\n parentParams: parentContext.parentParams,\n parentLoadingData: loading,\n debugNameContext: parentContext.debugNameContext,\n url: parentContext.url,\n isActive: parentContext.isActive\n },\n children: children\n });\n}\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */ function LoadingBoundary({ name, loading, children }) {\n // TODO: For LoadingBoundary, and the other built-in boundary types, don't\n // wrap in an extra function component if no user-defined boundary is\n // provided. In other words, inline this conditional wrapping logic into\n // the parent component. More efficient and keeps unnecessary junk out of\n // the component stack.\n if (loading !== null) {\n const loadingRsc = loading[0];\n const loadingStyles = loading[1];\n const loadingScripts = loading[2];\n return /*#__PURE__*/ _jsx(Suspense, {\n name: name,\n fallback: /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n loadingStyles,\n loadingScripts,\n loadingRsc\n ]\n }),\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n/**\n * OuterLayoutRouter handles the current segment as well as rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */ export default function OuterLayoutRouter({ parallelRouterKey, error, errorStyles, errorScripts, templateStyles, templateScripts, template, notFound, forbidden, unauthorized, segmentViewBoundaries }) {\n const context = useContext(LayoutRouterContext);\n if (!context) {\n throw Object.defineProperty(new Error('invariant expected layout router to be mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E56\",\n enumerable: false,\n configurable: true\n });\n }\n const { parentTree, parentCacheNode, parentSegmentPath, parentParams, parentLoadingData, url, isActive, debugNameContext } = context;\n // Get the CacheNode for this segment by reading it from the parent segment's\n // child map.\n const parentTreeSegment = parentTree[0];\n const segmentPath = parentSegmentPath === null ? // path. This has led to a bunch of special cases scattered throughout\n // the code. We should clean this up.\n [\n parallelRouterKey\n ] : parentSegmentPath.concat([\n parentTreeSegment,\n parallelRouterKey\n ]);\n // The \"state\" key of a segment is the one passed to React — it represents the\n // identity of the UI tree. Whenever the state key changes, the tree is\n // recreated and the state is reset. In the App Router model, search params do\n // not cause state to be lost, so two segments with the same segment path but\n // different search params should have the same state key.\n //\n // The \"cache\" key of a segment, however, *does* include the search params, if\n // it's possible that the segment accessed the search params on the server.\n // (This only applies to page segments; layout segments cannot access search\n // params on the server.)\n const activeTree = parentTree[1][parallelRouterKey];\n const maybeParentSlots = parentCacheNode.slots;\n if (activeTree === undefined || maybeParentSlots === null) {\n // Could not find a matching segment. The client tree is inconsistent with\n // the server tree. Suspend indefinitely; the router will have already\n // detected the inconsistency when handling the server response, and\n // triggered a refresh of the page to recover.\n use(unresolvedThenable);\n }\n let maybeValidationBoundaryId = null;\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS) {\n const { InstantValidationBoundaryContext } = require('./instant-validation/boundary');\n maybeValidationBoundaryId = use(InstantValidationBoundaryContext);\n }\n const activeSegment = activeTree[0];\n const activeCacheNode = maybeParentSlots[parallelRouterKey] ?? null;\n const activeStateKey = createRouterCacheKey(activeSegment, true) // no search params\n ;\n // At each level of the route tree, not only do we render the currently\n // active segment — we also render the last N segments that were active at\n // this level inside a hidden boundary, to preserve their state\n // if or when the user navigates to them again.\n //\n // bfcacheEntry is a linked list of FlightRouterStates.\n let bfcacheEntry = useRouterBFCache(activeTree, activeCacheNode, activeStateKey);\n let children = [];\n do {\n const tree = bfcacheEntry.tree;\n const cacheNode = bfcacheEntry.cacheNode;\n const stateKey = bfcacheEntry.stateKey;\n const segment = tree[0];\n /*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - When gracefully degrade for bots, skip rendering error boundary.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */ let segmentBoundaryTriggerNode = null;\n let segmentViewStateNode = null;\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentBoundaryTriggerNode, SegmentViewStateNode } = require('../../next-devtools/userspace/app/segment-explorer-node');\n const pagePrefix = normalizeAppPath(url);\n segmentViewStateNode = /*#__PURE__*/ _jsx(SegmentViewStateNode, {\n page: pagePrefix\n }, pagePrefix);\n segmentBoundaryTriggerNode = /*#__PURE__*/ _jsx(_Fragment, {\n children: /*#__PURE__*/ _jsx(SegmentBoundaryTriggerNode, {})\n });\n }\n let params = parentParams;\n if (Array.isArray(segment)) {\n // This segment contains a route param. Accumulate these as we traverse\n // down the router tree. The result represents the set of params that\n // the layout/page components are permitted to access below this point.\n const paramName = segment[0];\n const paramCacheKey = segment[1];\n const paramType = segment[2];\n const paramValue = getParamValueFromCacheKey(paramCacheKey, paramType);\n if (paramValue !== null) {\n params = {\n ...parentParams,\n [paramName]: paramValue\n };\n }\n }\n const debugName = getBoundaryDebugNameFromSegment(segment);\n // `debugNameContext` represents the nearest non-\"virtual\" parent segment.\n // `getBoundaryDebugNameFromSegment` returns undefined for virtual segments.\n // So if `debugName` is undefined, the context is passed through unchanged.\n const childDebugNameContext = debugName ?? debugNameContext;\n // In practical terms, clicking this name in the Suspense DevTools\n // should select the child slots of that layout.\n //\n // So the name we apply to the Activity boundary is actually based on\n // the nearest parent segments.\n //\n // We skip over \"virtual\" parents, i.e. ones inserted by Next.js that\n // don't correspond to application-defined code.\n const isVirtual = debugName === undefined;\n const debugNameToDisplay = isVirtual ? undefined : debugNameContext;\n let templateValue = /*#__PURE__*/ _jsxs(ScrollAndMaybeFocusHandler, {\n cacheNode: cacheNode,\n children: [\n /*#__PURE__*/ _jsx(ErrorBoundary, {\n errorComponent: error,\n errorStyles: errorStyles,\n errorScripts: errorScripts,\n children: /*#__PURE__*/ _jsx(LoadingBoundary, {\n name: debugNameToDisplay,\n // TODO: The loading module data for a segment is stored on the\n // parent, then applied to each of that parent segment's\n // parallel route slots. In the simple case where there's only\n // one parallel route (the `children` slot), this is no\n // different from if the loading module data were stored on the\n // child directly. But I'm not sure this actually makes sense\n // when there are multiple parallel routes. It's not a huge\n // issue because you always have the option to define a narrower\n // loading boundary for a particular slot. But this sort of\n // smells like an implementation accident to me.\n loading: parentLoadingData,\n children: /*#__PURE__*/ _jsx(HTTPAccessFallbackBoundary, {\n notFound: notFound,\n forbidden: forbidden,\n unauthorized: unauthorized,\n children: /*#__PURE__*/ _jsxs(RedirectBoundary, {\n children: [\n /*#__PURE__*/ _jsx(InnerLayoutRouter, {\n url: url,\n tree: tree,\n params: params,\n cacheNode: cacheNode,\n segmentPath: segmentPath,\n debugNameContext: childDebugNameContext,\n isActive: isActive && stateKey === activeStateKey\n }),\n segmentBoundaryTriggerNode\n ]\n })\n })\n })\n }),\n segmentViewStateNode\n ]\n });\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS && typeof maybeValidationBoundaryId === 'string') {\n const { RenderValidationBoundaryAtThisLevel } = require('./instant-validation/boundary');\n templateValue = /*#__PURE__*/ _jsx(RenderValidationBoundaryAtThisLevel, {\n id: maybeValidationBoundaryId,\n children: templateValue\n });\n }\n let child = /*#__PURE__*/ _jsxs(TemplateContext.Provider, {\n value: templateValue,\n children: [\n templateStyles,\n templateScripts,\n template\n ]\n }, stateKey);\n if (process.env.NODE_ENV !== 'production') {\n const { SegmentStateProvider } = require('../../next-devtools/userspace/app/segment-explorer-node');\n child = /*#__PURE__*/ _jsxs(SegmentStateProvider, {\n children: [\n child,\n segmentViewBoundaries\n ]\n }, stateKey);\n }\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n child = /*#__PURE__*/ _jsx(Activity, {\n name: debugNameToDisplay,\n mode: stateKey === activeStateKey ? 'visible' : 'hidden',\n children: child\n }, stateKey);\n }\n children.push(child);\n bfcacheEntry = bfcacheEntry.next;\n }while (bfcacheEntry !== null);\n return children;\n}\nfunction getBoundaryDebugNameFromSegment(segment) {\n if (segment === '/') {\n // Reached the root\n return '/';\n }\n if (typeof segment === 'string') {\n if (isVirtualLayout(segment)) {\n return undefined;\n } else {\n return segment + '/';\n }\n }\n const paramCacheKey = segment[1];\n return paramCacheKey + '/';\n}\nfunction isVirtualLayout(segment) {\n return(// This is inserted by the loader. Uses double-underscore convention\n // (like __PAGE__ and __DEFAULT__) to avoid collisions with\n // user-defined route groups.\n segment === '(__SLOT__)');\n}\n\n//# sourceMappingURL=layout-router.js.map","'use client';\nimport { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport React, { startTransition } from 'react';\nimport { useUntrackedPathname } from './navigation-untracked';\nimport { isNextRouterError } from './is-next-router-error';\nimport { handleHardNavError } from './nav-failure-handler';\nimport { handleISRError } from './handle-isr-error';\nimport { isBot } from '../../shared/lib/router/utils/is-bot';\nimport { AppRouterContext } from '../../shared/lib/app-router-context.shared-runtime';\nconst isBotUserAgent = typeof window !== 'undefined' && isBot(window.navigator.userAgent);\nexport class ErrorBoundaryHandler extends React.Component {\n static{\n this.contextType = AppRouterContext;\n }\n constructor(props){\n super(props), this.reset = ()=>{\n this.setState({\n error: null\n });\n }, this.unstable_retry = ()=>{\n startTransition(()=>{\n this.context?.refresh();\n this.reset();\n });\n };\n this.state = {\n error: null,\n previousPathname: this.props.pathname\n };\n }\n static getDerivedStateFromError(error) {\n if (isNextRouterError(error)) {\n // Re-throw if an expected internal Next.js router error occurs\n // this means it should be handled by a different boundary (such as a NotFound boundary in a parent segment)\n throw error;\n }\n return {\n error\n };\n }\n static getDerivedStateFromProps(props, state) {\n const { error } = state;\n // if we encounter an error while\n // a navigation is pending we shouldn't render\n // the error boundary and instead should fallback\n // to a hard navigation to attempt recovering\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n if (error && handleHardNavError(error)) {\n // clear error so we don't render anything\n return {\n error: null,\n previousPathname: props.pathname\n };\n }\n }\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.error) {\n return {\n error: null,\n previousPathname: props.pathname\n };\n }\n return {\n error: state.error,\n previousPathname: props.pathname\n };\n }\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render() {\n //When it's bot request, segment level error boundary will keep rendering the children,\n // the final error will be caught by the root error boundary and determine wether need to apply graceful degrade.\n if (this.state.error && !isBotUserAgent) {\n handleISRError({\n error: this.state.error\n });\n return /*#__PURE__*/ _jsxs(_Fragment, {\n children: [\n this.props.errorStyles,\n this.props.errorScripts,\n /*#__PURE__*/ _jsx(this.props.errorComponent, {\n error: this.state.error,\n reset: this.reset,\n unstable_retry: this.unstable_retry\n })\n ]\n });\n }\n return this.props.children;\n }\n}\n/**\n * Handles errors through `getDerivedStateFromError`.\n * Renders the provided error component and provides a way to `reset` the error boundary state.\n */ /**\n * Renders error boundary with the provided \"errorComponent\" property as the fallback.\n * If no \"errorComponent\" property is provided it renders the children without an error boundary.\n */ export function ErrorBoundary({ errorComponent, errorStyles, errorScripts, children }) {\n // When we're rendering the missing params shell, this will return null. This\n // is because we won't be rendering any not found boundaries or error\n // boundaries for the missing params shell. When this runs on the client\n // (where these errors can occur), we will get the correct pathname.\n const pathname = useUntrackedPathname();\n if (errorComponent) {\n return /*#__PURE__*/ _jsx(ErrorBoundaryHandler, {\n pathname: pathname,\n errorComponent: errorComponent,\n errorStyles: errorStyles,\n errorScripts: errorScripts,\n children: children\n });\n }\n return /*#__PURE__*/ _jsx(_Fragment, {\n children: children\n });\n}\n\n//# sourceMappingURL=error-boundary.js.map","import { warnOnce } from '../../utils/warn-once';\n/**\n * Run function with `scroll-behavior: auto` applied to ``.\n * This css change will be reverted after the function finishes.\n */ export function disableSmoothScrollDuringRouteTransition(fn, options = {}) {\n // if only the hash is changed, we don't need to disable smooth scrolling\n // we only care to prevent smooth scrolling when navigating to a new page to avoid jarring UX\n if (options.onlyHashChange) {\n fn();\n return;\n }\n const htmlElement = document.documentElement;\n const hasDataAttribute = htmlElement.dataset.scrollBehavior === 'smooth';\n if (!hasDataAttribute) {\n // Warn if smooth scrolling is detected but no data attribute is present\n if (process.env.NODE_ENV === 'development' && getComputedStyle(htmlElement).scrollBehavior === 'smooth') {\n warnOnce('Detected `scroll-behavior: smooth` on the `` element. To disable smooth scrolling during route transitions, ' + 'add `data-scroll-behavior=\"smooth\"` to your element. ' + 'Learn more: https://nextjs.org/docs/messages/missing-data-scroll-behavior');\n }\n // No smooth scrolling configured, run directly without style manipulation\n fn();\n return;\n }\n // Proceed with temporarily disabling smooth scrolling\n const existing = htmlElement.style.scrollBehavior;\n htmlElement.style.scrollBehavior = 'auto';\n if (!options.dontForceLayout) {\n // In Chrome-based browsers we need to force reflow before calling `scrollTo`.\n // Otherwise it will not pickup the change in scrollBehavior\n // More info here: https://github.com/vercel/next.js/issues/40719#issuecomment-1336248042\n htmlElement.getClientRects();\n }\n fn();\n htmlElement.style.scrollBehavior = existing;\n}\n\n//# sourceMappingURL=disable-smooth-scroll.js.map","/**\n * ReadonlyURLSearchParams implementation shared between client and server.\n * This file is intentionally not marked as 'use client' or 'use server'\n * so it can be imported by both environments.\n */ /** @internal */ class ReadonlyURLSearchParamsError extends Error {\n constructor(){\n super('Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams');\n }\n}\n/**\n * A read-only version of URLSearchParams that throws errors when mutation methods are called.\n * This ensures that the URLSearchParams returned by useSearchParams() cannot be mutated.\n */ export class ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ append() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ delete() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ set() {\n throw new ReadonlyURLSearchParamsError();\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */ sort() {\n throw new ReadonlyURLSearchParamsError();\n }\n}\n\n//# sourceMappingURL=readonly-url-search-params.js.map","'use client';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { useEffect } from 'react';\nimport { useRouter } from './navigation';\nimport { getRedirectTypeFromError, getURLFromRedirectError } from './redirect';\nimport { isRedirectError } from './redirect-error';\nfunction HandleRedirect({ redirect, reset, redirectType }) {\n const router = useRouter();\n useEffect(()=>{\n React.startTransition(()=>{\n if (redirectType === 'push') {\n router.push(redirect, {});\n } else {\n router.replace(redirect, {});\n }\n reset();\n });\n }, [\n redirect,\n redirectType,\n reset,\n router\n ]);\n return null;\n}\nexport class RedirectErrorBoundary extends React.Component {\n constructor(props){\n super(props);\n this.state = {\n redirect: null,\n redirectType: null\n };\n }\n static getDerivedStateFromError(error) {\n if (isRedirectError(error)) {\n const url = getURLFromRedirectError(error);\n const redirectType = getRedirectTypeFromError(error);\n if ('handled' in error) {\n // The redirect was already handled. We'll still catch the redirect error\n // so that we can remount the subtree, but we don't actually need to trigger the\n // router.push.\n return {\n redirect: null,\n redirectType: null\n };\n }\n return {\n redirect: url,\n redirectType\n };\n }\n // Re-throw if error is not for redirect\n throw error;\n }\n // Explicit type is needed to avoid the generated `.d.ts` having a wide return type that could be specific to the `@types/react` version.\n render() {\n const { redirect, redirectType } = this.state;\n if (redirect !== null && redirectType !== null) {\n return /*#__PURE__*/ _jsx(HandleRedirect, {\n redirect: redirect,\n redirectType: redirectType,\n reset: ()=>this.setState({\n redirect: null\n })\n });\n }\n return this.props.children;\n }\n}\nexport function RedirectBoundary({ children }) {\n const router = useRouter();\n return /*#__PURE__*/ _jsx(RedirectErrorBoundary, {\n router: router,\n children: children\n });\n}\n\n//# sourceMappingURL=redirect-boundary.js.map","import { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nexport function createRouterCacheKey(segment, withoutSearchParameters = false) {\n // if the segment is an array, it means it's a dynamic segment\n // for example, ['lang', 'en', 'd']. We need to convert it to a string to store it as a cache node key.\n if (Array.isArray(segment)) {\n return `${segment[0]}|${segment[1]}|${segment[2]}`;\n }\n // Page segments might have search parameters, ie __PAGE__?foo=bar\n // When `withoutSearchParameters` is true, we only want to return the page segment\n if (withoutSearchParameters && segment.startsWith(PAGE_SEGMENT_KEY)) {\n return PAGE_SEGMENT_KEY;\n }\n return segment;\n}\n\n//# sourceMappingURL=create-router-cache-key.js.map","const basePath = process.env.__NEXT_ROUTER_BASEPATH || '';\nconst pathname = `${basePath}/__nextjs_source-map`;\nexport const findSourceMapURL = // Source maps are only served by the dev server.\nprocess.env.__NEXT_DEV_SERVER ? function findSourceMapURL(filename) {\n if (filename === '') {\n return null;\n }\n if (filename.startsWith(document.location.origin) && filename.includes('/_next/static')) {\n // This is a request for a client chunk. This can only happen when\n // using Turbopack. In this case, since we control how those source\n // maps are generated, we can safely assume that the sourceMappingURL\n // is relative to the filename, with an added `.map` extension. The\n // browser can just request this file, and it gets served through the\n // normal dev server, without the need to route this through\n // the `/__nextjs_source-map` dev middleware.\n return `${filename}.map`;\n }\n const url = new URL(pathname, document.location.origin);\n url.searchParams.set('filename', filename);\n return url.href;\n} : undefined;\n\n//# sourceMappingURL=app-find-source-map-url.js.map","'use client';\nimport { computeCacheBustingSearchParam, computeLegacyCacheBustingSearchParam } from '../../../shared/lib/router/utils/cache-busting-search-param';\nimport { NEXT_ROUTER_PREFETCH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER, NEXT_ROUTER_STATE_TREE_HEADER, NEXT_URL, NEXT_RSC_UNION_QUERY } from '../app-router-headers';\nasync function computeClientCacheBustingSearchParam(headers) {\n if (typeof globalThis.crypto?.subtle?.digest === 'function') {\n return computeCacheBustingSearchParam(headers[NEXT_ROUTER_PREFETCH_HEADER], headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER], headers[NEXT_ROUTER_STATE_TREE_HEADER], headers[NEXT_URL]);\n }\n return computeLegacyCacheBustingSearchParam(headers[NEXT_ROUTER_PREFETCH_HEADER], headers[NEXT_ROUTER_SEGMENT_PREFETCH_HEADER], headers[NEXT_ROUTER_STATE_TREE_HEADER], headers[NEXT_URL]);\n}\n/**\n * Mutates the provided URL by adding a cache-busting search parameter for CDNs that don't\n * support custom headers. This helps avoid caching conflicts by making each request unique.\n *\n * Rather than relying on the Vary header which some CDNs ignore, we append a search param\n * to create a unique URL that forces a fresh request.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * Note: This function mutates the input URL directly and resolves once the\n * cache-busting value has been computed and applied.\n *\n * TODO: Since we need to use a search param anyway, we could simplify by removing the custom\n * headers approach entirely and just use search params.\n */ export const setCacheBustingSearchParam = async (url, headers)=>{\n const uniqueCacheKey = await computeClientCacheBustingSearchParam(headers);\n setCacheBustingSearchParamWithHash(url, uniqueCacheKey);\n};\n/**\n * Sets a cache-busting search parameter on a URL using a provided hash value.\n *\n * This function performs the same logic as `setCacheBustingSearchParam` but accepts\n * a pre-computed hash instead of computing it from headers.\n *\n * Example:\n * URL before: https://example.com/path?query=1\n * hash: \"abc123\"\n * URL after: https://example.com/path?query=1&_rsc=abc123\n *\n * If the hash is empty, we will set `_rsc` search param without a value.\n * Like this: https://example.com/path?query=1&_rsc\n *\n * Note: This function mutates the input URL directly and does not return anything.\n */ export const setCacheBustingSearchParamWithHash = (url, hash)=>{\n /**\n * Note that we intentionally do not use `url.searchParams.set` here:\n *\n * const url = new URL('https://example.com/search?q=custom%20spacing');\n * url.searchParams.set('_rsc', 'abc123');\n * console.log(url.toString()); // Outputs: https://example.com/search?q=custom+spacing&_rsc=abc123\n * ^ <--- this is causing confusion\n * This is in fact intended based on https://url.spec.whatwg.org/#interface-urlsearchparams, but\n * we want to preserve the %20 as %20 if that's what the user passed in, hence the custom\n * logic below.\n */ const existingSearch = url.search;\n const rawQuery = existingSearch.startsWith('?') ? existingSearch.slice(1) : existingSearch;\n // Always remove any existing cache busting param and add a fresh one to ensure\n // we have the correct value based on current request headers\n const pairs = rawQuery.split('&').filter((pair)=>pair && !pair.startsWith(`${NEXT_RSC_UNION_QUERY}=`));\n if (hash.length > 0) {\n pairs.push(`${NEXT_RSC_UNION_QUERY}=${hash}`);\n } else {\n pairs.push(`${NEXT_RSC_UNION_QUERY}`);\n }\n url.search = pairs.length ? `?${pairs.join('&')}` : '';\n};\n\n//# sourceMappingURL=set-cache-busting-search-param.js.map","let deploymentId;\nif (typeof window !== 'undefined') {\n deploymentId = document.documentElement.dataset.dplId;\n // Immediately remove the attribute to prevent hydration errors (the dplId was inserted into the\n // HTML only), React isn't aware of it at all.\n delete document.documentElement.dataset.dplId;\n} else {\n // Client side: replaced with globalThis.NEXT_DEPLOYMENT_ID\n // Server side: left as is or replaced with a string or replaced with false\n deploymentId = process.env.NEXT_DEPLOYMENT_ID || undefined;\n}\nexport function getDeploymentId() {\n return deploymentId;\n}\nexport function getDeploymentIdQuery(ampersand = false) {\n let id = getDeploymentId();\n if (id) {\n return `${ampersand ? '&' : '?'}dpl=${id}`;\n }\n return '';\n}\nexport function getAssetToken() {\n return process.env.NEXT_IMMUTABLE_ASSET_TOKEN || process.env.NEXT_DEPLOYMENT_ID;\n}\nexport function getAssetTokenQuery(ampersand = false) {\n let id = getAssetToken();\n if (id) {\n return `${ampersand ? '&' : '?'}dpl=${id}`;\n }\n return '';\n}\n\n//# sourceMappingURL=deployment-id.js.map","const workAsyncStorage = typeof window === 'undefined' ? require('../../server/app-render/work-async-storage.external').workAsyncStorage : undefined;\n// if we are revalidating we want to re-throw the error so the\n// function crashes so we can maintain our previous cache\n// instead of caching the error page\nexport function handleISRError({ error }) {\n if (workAsyncStorage) {\n const store = workAsyncStorage.getStore();\n if (store?.isStaticGeneration) {\n if (error) {\n console.error(error);\n }\n throw error;\n }\n }\n}\n\n//# sourceMappingURL=handle-isr-error.js.map","// This gets assigned as a side-effect during app initialization. Because it\n// represents the build used to create the JS bundle, it should never change\n// after being set, so we store it in a global variable.\n//\n// When performing RSC requests, if the incoming data has a different build ID,\n// we perform an MPA navigation/refresh to load the updated build and ensure\n// that the client and server in sync.\n//\n// Starts as an empty string. In practice, because setNavigationBuildId is called during initialization\n// before hydration starts, this will always get reassigned to the actual ID before it's ever needed\n// by a navigation. If for some reasons it didn't, due to a bug or race condition, then on\n// navigation the build comparision would fail and trigger an MPA navigation.\n//\n// Note that this can also be initialized with the deployment id instead (if available). So it's not\n// the same as \"the build id\", but we are running out of alternative names for \"build id or\n// deployment id\".\nlet globalBuildId = '';\nexport function setNavigationBuildId(buildId) {\n globalBuildId = buildId;\n}\nexport function getNavigationBuildId() {\n return globalBuildId;\n}\n\n//# sourceMappingURL=navigation-build-id.js.map","'use client';\n// TODO: Explicitly import from client.browser\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport { createFromReadableStream as createFromReadableStreamBrowser, createFromFetch as createFromFetchBrowser } from 'react-server-dom-webpack/client';\nimport { InvariantError } from '../../../shared/lib/invariant-error';\nimport { NEXT_ROUTER_STATE_TREE_HEADER, NEXT_RSC_UNION_QUERY, NEXT_URL, RSC_HEADER, RSC_CONTENT_TYPE_HEADER, NEXT_HMR_REFRESH_HEADER, NEXT_DID_POSTPONE_HEADER, NEXT_HTML_REQUEST_ID_HEADER, NEXT_REQUEST_ID_HEADER } from '../app-router-headers';\nimport { callServer } from '../../app-call-server';\nimport { findSourceMapURL } from '../../app-find-source-map-url';\nimport { normalizeFlightData, prepareFlightRouterStateForRequest } from '../../flight-data-helpers';\nimport { setCacheBustingSearchParam } from './set-cache-busting-search-param';\nimport { urlToUrlWithoutFlightMarker } from '../../route-params';\nimport { getDeploymentId } from '../../../shared/lib/deployment-id';\nimport { getNavigationBuildId } from '../../navigation-build-id';\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants';\nimport { stripIsPartialByte } from '../segment-cache/cache';\nimport { UnknownDynamicStaleTime } from '../segment-cache/bfcache';\nconst createFromReadableStream = createFromReadableStreamBrowser;\nconst createFromFetch = createFromFetchBrowser;\nlet createDebugChannel;\nif (process.env.__NEXT_DEV_SERVER && process.env.__NEXT_REACT_DEBUG_CHANNEL) {\n createDebugChannel = require('../../dev/debug-channel').createDebugChannel;\n}\nfunction doMpaNavigation(url) {\n return urlToUrlWithoutFlightMarker(new URL(url, location.origin)).toString();\n}\nlet isPageUnloading = false;\nif (typeof window !== 'undefined') {\n // Track when the page is unloading, e.g. due to reloading the page or\n // performing hard navigations. This allows us to suppress error logging when\n // the browser cancels in-flight requests during page unload.\n window.addEventListener('pagehide', ()=>{\n isPageUnloading = true;\n });\n // Reset the flag on pageshow, e.g. when navigating back and the JavaScript\n // execution context is restored by the browser.\n window.addEventListener('pageshow', ()=>{\n isPageUnloading = false;\n });\n}\n/**\n * Fetch the flight data for the provided url. Takes in the current router state\n * to decide what to render server-side.\n */ export async function fetchServerResponse(url, options) {\n const { flightRouterState, nextUrl } = options;\n const headers = {\n // Enable flight response\n [RSC_HEADER]: '1',\n // Provide the current router state\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(flightRouterState, options.isHmrRefresh)\n };\n if (process.env.NODE_ENV === 'development' && options.isHmrRefresh) {\n headers[NEXT_HMR_REFRESH_HEADER] = '1';\n }\n if (nextUrl) {\n headers[NEXT_URL] = nextUrl;\n }\n // In static export mode, we need to modify the URL to request the .txt file,\n // but we should preserve the original URL for the canonical URL and error handling.\n const originalUrl = url;\n try {\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n // In \"output: export\" mode, we can't rely on headers to distinguish\n // between HTML and RSC requests. Instead, we append an extra prefix\n // to the request.\n url = new URL(url);\n if (url.pathname.endsWith('/')) {\n url.pathname += 'index.txt';\n } else {\n url.pathname += '.txt';\n }\n }\n }\n // Typically, during a navigation, we decode the response using Flight's\n // `createFromFetch` API, which accepts a `fetch` promise.\n // TODO: Remove this check once the old PPR flag is removed\n const isLegacyPPR = process.env.__NEXT_PPR && !process.env.__NEXT_CACHE_COMPONENTS;\n const shouldImmediatelyDecode = !isLegacyPPR;\n const res = await createFetch(url, headers, 'auto', shouldImmediatelyDecode);\n const responseUrl = urlToUrlWithoutFlightMarker(new URL(res.url));\n const canonicalUrl = res.redirected ? responseUrl : originalUrl;\n const contentType = res.headers.get('content-type') || '';\n const interception = !!res.headers.get('vary')?.includes(NEXT_URL);\n const postponed = !!res.headers.get(NEXT_DID_POSTPONE_HEADER);\n let isFlightResponse = contentType.startsWith(RSC_CONTENT_TYPE_HEADER);\n if (process.env.NODE_ENV === 'production') {\n if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n if (!isFlightResponse) {\n isFlightResponse = contentType.startsWith('text/plain');\n }\n }\n }\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also handle it like a mpa navigation\n if (!isFlightResponse || !res.ok || !res.body) {\n // in case the original URL came with a hash, preserve it before redirecting to the new URL\n if (url.hash) {\n responseUrl.hash = url.hash;\n }\n return doMpaNavigation(responseUrl.toString());\n }\n // We may navigate to a page that requires a different Webpack runtime.\n // In prod, every page will have the same Webpack runtime.\n // In dev, the Webpack runtime is minimal for each page.\n // We need to ensure the Webpack runtime is updated before executing client-side JS of the new page.\n // TODO: This needs to happen in the Flight Client.\n // Or Webpack needs to include the runtime update in the Flight response as\n // a blocking script.\n if (process.env.NODE_ENV !== 'production' && !process.env.TURBOPACK) {\n await require('../../dev/hot-reloader/app/hot-reloader-app').waitForWebpackRuntimeHotUpdate();\n }\n let flightResponsePromise = res.flightResponsePromise;\n if (flightResponsePromise === null) {\n // Typically, `createFetch` would have already started decoding the\n // Flight response. If it hasn't, though, we need to decode it now.\n // TODO: This should only be reachable if legacy PPR is enabled (i.e. PPR\n // without Cache Components). Remove this branch once legacy PPR\n // is deleted.\n flightResponsePromise = createFromNextReadableStream(res.body, headers, {\n allowPartialStream: postponed\n });\n }\n const [flightResponse, cacheData] = await Promise.all([\n flightResponsePromise,\n res.cacheData\n ]);\n if ((res.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? flightResponse.b) !== getNavigationBuildId()) {\n // The server build does not match the client build.\n return doMpaNavigation(res.url);\n }\n const normalizedFlightData = normalizeFlightData(flightResponse.f);\n if (typeof normalizedFlightData === 'string') {\n return doMpaNavigation(normalizedFlightData);\n }\n const staticStageData = cacheData !== null ? await resolveStaticStageData(cacheData, flightResponse, headers) : null;\n return {\n flightData: normalizedFlightData,\n canonicalUrl: canonicalUrl,\n // TODO: We should be able to read this from the rewrite header, not the\n // Flight response. Theoretically they should always agree, but there are\n // currently some cases where it's incorrect for interception routes. We\n // can always trust the value in the response body. However, per-segment\n // prefetch responses don't embed the value in the body; they rely on the\n // header alone. So we need to investigate why the header is sometimes\n // wrong for interception routes.\n renderedSearch: flightResponse.q,\n couldBeIntercepted: interception,\n supportsPerSegmentPrefetching: flightResponse.S,\n postponed,\n // The dynamicStaleTime is only present in the response body when\n // a page exports unstable_dynamicStaleTime and this is a dynamic render.\n // When absent (UnknownDynamicStaleTime), the client falls back to the\n // global DYNAMIC_STALETIME_MS. The value is in seconds.\n dynamicStaleTime: flightResponse.d ?? UnknownDynamicStaleTime,\n staticStageData,\n runtimePrefetchStream: flightResponse.p ?? null,\n responseHeaders: res.headers,\n debugInfo: flightResponsePromise._debugInfo ?? null\n };\n } catch (err) {\n if (!isPageUnloading) {\n console.error(`Failed to fetch RSC payload for ${originalUrl}. Falling back to browser navigation.`, err);\n }\n // If fetch fails handle it like a mpa navigation\n // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response.\n // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction.\n return originalUrl.toString();\n }\n}\n/**\n * Strips the leading isPartial byte from an RSC navigation response and\n * clones the body for segment cache extraction.\n *\n * When cache components is enabled, the server prepends a single byte:\n * '~' (0x7e) for partial, '#' (0x23) for complete. This must be stripped\n * before Flight decoding because it's not valid RSC data. The body is\n * cloned before Flight can consume it so the clone is available for later use.\n *\n * When cache components is disabled, returns the original response with\n * cacheData: null.\n */ export async function processFetch(response) {\n if (process.env.__NEXT_CACHE_COMPONENTS) {\n if (!response.body) {\n throw Object.defineProperty(new InvariantError('Expected RSC navigation response to have a body'), \"__NEXT_ERROR_CODE\", {\n value: \"E1088\",\n enumerable: false,\n configurable: true\n });\n }\n const { stream, isPartial } = await stripIsPartialByte(response.body);\n let responseStream;\n let cacheData;\n if (process.env.__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS) {\n const [stream1, stream2] = stream.tee();\n responseStream = stream1;\n cacheData = {\n isResponsePartial: isPartial,\n responseBodyClone: stream2\n };\n } else {\n responseStream = stream;\n cacheData = {\n isResponsePartial: isPartial\n };\n }\n const strippedResponse = new Response(responseStream, {\n headers: response.headers,\n status: response.status,\n statusText: response.statusText\n });\n // The Response constructor doesn't preserve `url` or `redirected` from\n // the original. We need both: `url` for React DevTools and `redirected`\n // for the redirect replay logic below.\n Object.defineProperty(strippedResponse, 'url', {\n value: response.url\n });\n Object.defineProperty(strippedResponse, 'redirected', {\n value: response.redirected\n });\n return {\n response: strippedResponse,\n cacheData\n };\n }\n return {\n response,\n cacheData: null\n };\n}\n/**\n * Resolves the static stage response from the raw `processFetch` outputs and\n * the decoded flight response, for writing into the segment cache.\n *\n * - Fully static: use the decoded flight response as-is, no truncation needed.\n * - Not fully static + `l` field: truncate the body clone at the static stage\n * byte boundary and decode.\n * - Otherwise: no cache-worthy data.\n */ export async function resolveStaticStageData(cacheData, flightResponse, headers) {\n const { isResponsePartial, responseBodyClone } = cacheData;\n if (responseBodyClone) {\n if (!isResponsePartial) {\n // Fully static — cache the entire decoded response as-is.\n responseBodyClone.cancel();\n return {\n response: flightResponse,\n isResponsePartial: false\n };\n }\n if (flightResponse.l !== undefined) {\n // Partially static — truncate the body clone at the byte boundary and\n // decode it.\n const response = await decodeStaticStage(responseBodyClone, flightResponse.l, headers);\n return {\n response,\n isResponsePartial: true\n };\n }\n // No caching — cancel the unused clone.\n responseBodyClone.cancel();\n }\n return null;\n}\n/**\n * Truncates a Flight stream clone at the given byte boundary and decodes the\n * static stage prefix. Used by both the navigation path and the initial HTML\n * hydration path.\n */ export async function decodeStaticStage(responseBodyClone, staticStageByteLengthPromise, headers) {\n const staticStageByteLength = await staticStageByteLengthPromise;\n const truncatedStream = truncateStream(responseBodyClone, staticStageByteLength);\n return createFromNextReadableStream(truncatedStream, headers, {\n allowPartialStream: true\n });\n}\nexport async function createFetch(url, headers, fetchPriority, shouldImmediatelyDecode, signal) {\n // TODO: In output: \"export\" mode, the headers do nothing. Omit them (and the\n // cache busting search param) from the request so they're\n // maximally cacheable.\n if (process.env.__NEXT_TEST_MODE && fetchPriority !== null) {\n headers['Next-Test-Fetch-Priority'] = fetchPriority;\n }\n const deploymentId = getDeploymentId();\n if (deploymentId) {\n headers['x-deployment-id'] = deploymentId;\n }\n if (process.env.__NEXT_DEV_SERVER) {\n if (self.__next_r) {\n headers[NEXT_HTML_REQUEST_ID_HEADER] = self.__next_r;\n }\n // Create a new request ID for the server action request. The server uses\n // this to tag debug information sent via WebSocket to the client, which\n // then routes those chunks to the debug channel associated with this ID.\n headers[NEXT_REQUEST_ID_HEADER] = crypto.getRandomValues(new Uint32Array(1))[0].toString(16);\n }\n const fetchOptions = {\n // Backwards compat for older browsers. `same-origin` is the default in modern browsers.\n credentials: 'same-origin',\n headers,\n priority: fetchPriority || undefined,\n signal\n };\n // `fetchUrl` is slightly different from `url` because we add a cache-busting\n // search param to it. This should not leak outside of this function, so we\n // track them separately.\n let fetchUrl = new URL(url);\n await setCacheBustingSearchParam(fetchUrl, headers);\n let processed = fetch(fetchUrl, fetchOptions).then(processFetch);\n let fetchPromise = processed.then(({ response })=>response);\n // Immediately pass the fetch promise to the Flight client so that the debug\n // info includes the latency from the client to the server. The internal timer\n // in React starts as soon as `createFromFetch` is called.\n //\n // The only case where we don't do this is during a prefetch, because a\n // top-level prefetch response never blocks a navigation; if it hasn't already\n // been written into the cache by the time the navigation happens, the router\n // will go straight to a dynamic request.\n let flightResponsePromise = shouldImmediatelyDecode ? createFromNextFetch(fetchPromise, headers) : null;\n let browserResponse = await fetchPromise;\n // If the server responds with a redirect (e.g. 307), and the redirected\n // location does not contain the cache busting search param set in the\n // original request, the response is likely invalid — when following the\n // redirect, the browser forwards the request headers, but since the cache\n // busting search param is missing, the server will reject the request due to\n // a mismatch.\n //\n // Ideally, we would be able to intercept the redirect response and perform it\n // manually, instead of letting the browser automatically follow it, but this\n // is not allowed by the fetch API.\n //\n // So instead, we must \"replay\" the redirect by fetching the new location\n // again, but this time we'll append the cache busting search param to prevent\n // a mismatch.\n //\n // TODO: We can optimize Next.js's built-in middleware APIs by returning a\n // custom status code, to prevent the browser from automatically following it.\n //\n // This does not affect Server Action-based redirects; those are encoded\n // differently, as part of the Flight body. It only affects redirects that\n // occur in a middleware or a third-party proxy.\n let redirected = browserResponse.redirected;\n if (process.env.__NEXT_CLIENT_VALIDATE_RSC_REQUEST_HEADERS) {\n // This is to prevent a redirect loop. Same limit used by Chrome.\n const MAX_REDIRECTS = 20;\n for(let n = 0; n < MAX_REDIRECTS; n++){\n if (!browserResponse.redirected) {\n break;\n }\n const responseUrl = new URL(browserResponse.url, fetchUrl);\n if (responseUrl.origin !== fetchUrl.origin) {\n break;\n }\n if (responseUrl.searchParams.get(NEXT_RSC_UNION_QUERY) === fetchUrl.searchParams.get(NEXT_RSC_UNION_QUERY)) {\n break;\n }\n // The RSC request was redirected. Assume the response is invalid.\n //\n // Append the cache busting search param to the redirected URL and\n // fetch again.\n // TODO: We should abort the previous request.\n fetchUrl = new URL(responseUrl);\n await setCacheBustingSearchParam(fetchUrl, headers);\n processed = fetch(fetchUrl, fetchOptions).then(processFetch);\n fetchPromise = processed.then(({ response })=>response);\n flightResponsePromise = shouldImmediatelyDecode ? createFromNextFetch(fetchPromise, headers) : null;\n browserResponse = await fetchPromise;\n // We just performed a manual redirect, so this is now true.\n redirected = true;\n }\n }\n // Remove the cache busting search param from the response URL, to prevent it\n // from leaking outside of this function.\n const responseUrl = new URL(browserResponse.url, fetchUrl);\n responseUrl.searchParams.delete(NEXT_RSC_UNION_QUERY);\n const rscResponse = {\n url: responseUrl.href,\n // This is true if any redirects occurred, either automatically by the\n // browser, or manually by us. So it's different from\n // `browserResponse.redirected`, which only tells us whether the browser\n // followed a redirect, and only for the last response in the chain.\n redirected,\n // These can be copied from the last browser response we received. We\n // intentionally only expose the subset of fields that are actually used\n // elsewhere in the codebase.\n ok: browserResponse.ok,\n headers: browserResponse.headers,\n body: browserResponse.body,\n status: browserResponse.status,\n // This is the exact promise returned by `createFromFetch`. It contains\n // debug information that we need to transfer to any derived promises that\n // are later rendered by React.\n flightResponsePromise: flightResponsePromise,\n cacheData: processed.then(({ cacheData })=>cacheData)\n };\n return rscResponse;\n}\nexport function createFromNextReadableStream(flightStream, requestHeaders, options) {\n return createFromReadableStream(flightStream, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders),\n unstable_allowPartialStream: options?.allowPartialStream\n });\n}\nfunction createFromNextFetch(promiseForResponse, requestHeaders) {\n return createFromFetch(promiseForResponse, {\n callServer,\n findSourceMapURL,\n debugChannel: createDebugChannel && createDebugChannel(requestHeaders)\n });\n}\nfunction truncateStream(stream, byteLength) {\n const reader = stream.getReader();\n let remaining = byteLength;\n return new ReadableStream({\n async pull (controller) {\n if (remaining <= 0) {\n reader.cancel();\n controller.close();\n return;\n }\n const { done, value } = await reader.read();\n if (done) {\n controller.close();\n return;\n }\n if (value.byteLength <= remaining) {\n controller.enqueue(value);\n remaining -= value.byteLength;\n } else {\n controller.enqueue(value.subarray(0, remaining));\n remaining = 0;\n reader.cancel();\n controller.close();\n }\n },\n cancel () {\n reader.cancel();\n }\n });\n}\n\n//# sourceMappingURL=fetch-server-response.js.map","export const matchSegment = (existingSegment, segment)=>{\n // segment is either Array or string\n if (typeof existingSegment === 'string') {\n if (typeof segment === 'string') {\n // Common case: segment is just a string\n return existingSegment === segment;\n }\n return false;\n }\n if (typeof segment === 'string') {\n return false;\n }\n return existingSegment[0] === segment[0] && existingSegment[1] === segment[1];\n};\n\n//# sourceMappingURL=match-segments.js.map","export function createHrefFromUrl(url, includeHash = true) {\n return url.pathname + url.search + (includeHash ? url.hash : '');\n}\n\n//# sourceMappingURL=create-href-from-url.js.map","export const ACTION_REFRESH = 'refresh';\nexport const ACTION_NAVIGATE = 'navigate';\nexport const ACTION_RESTORE = 'restore';\nexport const ACTION_SERVER_PATCH = 'server-patch';\nexport const ACTION_HMR_REFRESH = 'hmr-refresh';\nexport const ACTION_SERVER_ACTION = 'server-action';\n/**\n * PrefetchKind defines the type of prefetching that should be done.\n * - `auto` - if the page is dynamic, prefetch the page data partially, if static prefetch the page data fully.\n * - `full` - prefetch the page data fully.\n */ export var PrefetchKind = /*#__PURE__*/ function(PrefetchKind) {\n PrefetchKind[\"AUTO\"] = \"auto\";\n PrefetchKind[\"FULL\"] = \"full\";\n return PrefetchKind;\n}({});\n/**\n * Controls the scroll behavior for a navigation.\n */ export var ScrollBehavior = /*#__PURE__*/ function(ScrollBehavior) {\n /** Use per-node ScrollRef to decide whether to scroll. */ ScrollBehavior[ScrollBehavior[\"Default\"] = 0] = \"Default\";\n /** Suppress scroll entirely (e.g. scroll={false} on Link or router.push). */ ScrollBehavior[ScrollBehavior[\"NoScroll\"] = 1] = \"NoScroll\";\n return ScrollBehavior;\n}({});\n\n//# sourceMappingURL=router-reducer-types.js.map","export const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain';\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8';\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8';\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP';\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI';\nexport const MATCHED_PATH_HEADER = 'x-matched-path';\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate';\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER = 'x-prerender-revalidate-if-generated';\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments';\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc';\nexport const RSC_SUFFIX = '.rsc';\nexport const ACTION_SUFFIX = '.action';\nexport const NEXT_DATA_SUFFIX = '.json';\nexport const NEXT_META_SUFFIX = '.meta';\nexport const NEXT_BODY_SUFFIX = '.body';\nexport const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id';\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags';\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags';\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER = 'x-next-revalidate-tag-token';\nexport const NEXT_RESUME_HEADER = 'next-resume';\nexport const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length';\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128;\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256;\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024;\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_';\nexport const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_';\n// in seconds\nexport const CACHE_ONE_YEAR_SECONDS = 31536000;\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe;\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware';\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`;\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy';\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`;\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation';\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages';\nexport const DOT_NEXT_ALIAS = 'private-dot-next';\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir';\nexport const APP_DIR_ALIAS = 'private-next-app-dir';\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy';\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate';\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference';\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper';\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS = 'private-next-rsc-track-dynamic-import';\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption';\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS = 'private-next-rsc-action-client-wrapper';\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`;\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`;\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`;\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`;\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`;\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`;\nexport const GSP_NO_RETURNED_VALUE = 'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?';\nexport const GSSP_NO_RETURNED_VALUE = 'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?';\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR = 'The `unstable_revalidate` property is available for general use.\\n' + 'Please use `revalidate` instead.';\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`;\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`;\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`;\nexport const ESLINT_DEFAULT_DIRS = [\n 'app',\n 'pages',\n 'components',\n 'lib',\n 'src'\n];\nexport const SERVER_RUNTIME = {\n edge: 'edge',\n experimentalEdge: 'experimental-edge',\n nodejs: 'nodejs'\n};\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12;\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */ const WEBPACK_LAYERS_NAMES = {\n /**\n * The layer for the shared code between the client and server bundles.\n */ shared: 'shared',\n /**\n * The layer for server-only runtime and picking up `react-server` export conditions.\n * Including app router RSC pages and app router custom routes and metadata routes.\n */ reactServerComponents: 'rsc',\n /**\n * Server Side Rendering layer for app (ssr).\n */ serverSideRendering: 'ssr',\n /**\n * The browser client bundle layer for actions.\n */ actionBrowser: 'action-browser',\n /**\n * The Node.js bundle layer for the API routes.\n */ apiNode: 'api-node',\n /**\n * The Edge Lite bundle layer for the API routes.\n */ apiEdge: 'api-edge',\n /**\n * The layer for the middleware code.\n */ middleware: 'middleware',\n /**\n * The layer for the instrumentation hooks.\n */ instrument: 'instrument',\n /**\n * The layer for assets on the edge.\n */ edgeAsset: 'edge-asset',\n /**\n * The browser client bundle layer for App directory.\n */ appPagesBrowser: 'app-pages-browser',\n /**\n * The browser client bundle layer for Pages directory.\n */ pagesDirBrowser: 'pages-dir-browser',\n /**\n * The Edge Lite bundle layer for Pages directory.\n */ pagesDirEdge: 'pages-dir-edge',\n /**\n * The Node.js bundle layer for Pages directory.\n */ pagesDirNode: 'pages-dir-node'\n};\nconst WEBPACK_LAYERS = {\n ...WEBPACK_LAYERS_NAMES,\n GROUP: {\n builtinReact: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser\n ],\n serverOnly: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware\n ],\n neutralTarget: [\n // pages api\n WEBPACK_LAYERS_NAMES.apiNode,\n WEBPACK_LAYERS_NAMES.apiEdge\n ],\n clientOnly: [\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser\n ],\n bundled: [\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.actionBrowser,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.shared,\n WEBPACK_LAYERS_NAMES.instrument,\n WEBPACK_LAYERS_NAMES.middleware\n ],\n appPages: [\n // app router pages and layouts\n WEBPACK_LAYERS_NAMES.reactServerComponents,\n WEBPACK_LAYERS_NAMES.serverSideRendering,\n WEBPACK_LAYERS_NAMES.appPagesBrowser,\n WEBPACK_LAYERS_NAMES.actionBrowser\n ]\n }\n};\nconst WEBPACK_RESOURCE_QUERIES = {\n edgeSSREntry: '__next_edge_ssr_entry__',\n metadata: '__next_metadata__',\n metadataRoute: '__next_metadata_route__',\n metadataImageMeta: '__next_metadata_image_meta__'\n};\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES };\n\n//# sourceMappingURL=constants.js.map","import { hexHash } from '../../hash';\nconst CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES = 12;\nconst textEncoder = new TextEncoder();\nfunction encodeCacheBustingSearchParam(bytes) {\n let binary = '';\n for(let i = 0; i < bytes.length; i++){\n binary += String.fromCharCode(bytes[i]);\n }\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n}\nfunction normalizeCacheBustingInput(value) {\n if (value === undefined) {\n return '0';\n }\n return Array.isArray(value) ? value.join(',') : value;\n}\nfunction createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n if ((prefetchHeader === undefined || prefetchHeader === '0') && segmentPrefetchHeader === undefined && stateTreeHeader === undefined && nextUrlHeader === undefined) {\n return null;\n }\n return [\n prefetchHeader ?? '0',\n normalizeCacheBustingInput(segmentPrefetchHeader),\n normalizeCacheBustingInput(stateTreeHeader),\n normalizeCacheBustingInput(nextUrlHeader)\n ].join(',');\n}\nasync function computeCacheBustingSearchParamFromInput(input) {\n // Truncate SHA-256 to 96 bits to keep `_rsc` compact\n const digest = await globalThis.crypto.subtle.digest('SHA-256', textEncoder.encode(input));\n return encodeCacheBustingSearchParam(new Uint8Array(digest).subarray(0, CACHE_BUSTING_SEARCH_PARAM_DIGEST_BYTES));\n}\nexport async function computeCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);\n if (input === null) {\n return '';\n }\n return computeCacheBustingSearchParamFromInput(input);\n}\nexport function computeLegacyCacheBustingSearchParam(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader) {\n const input = createCacheBustingSearchParamInput(prefetchHeader, segmentPrefetchHeader, stateTreeHeader, nextUrlHeader);\n if (input === null) {\n return '';\n }\n return hexHash(input);\n}\n\n//# sourceMappingURL=cache-busting-search-param.js.map","import { useState } from 'react';\n// When the flag is disabled, only track the currently active tree\nconst MAX_BF_CACHE_ENTRIES = process.env.__NEXT_CACHE_COMPONENTS ? 3 : 1;\n/**\n * Keeps track of the most recent N trees (FlightRouterStates) that were active\n * at a certain segment level. E.g. for a segment \"/a/b/[param]\", this hook\n * tracks the last N param values that the router rendered for N.\n *\n * The result of this hook precisely determines the number and order of\n * trees that are rendered in parallel at their segment level.\n *\n * The purpose of this cache is to we can preserve the React and DOM state of\n * some number of inactive trees, by rendering them in an boundary.\n * That means it would not make sense for the the lifetime of the cache to be\n * any longer than the lifetime of the React tree; e.g. if the hook were\n * unmounted, then the React tree would be, too. So, we use React state to\n * manage it.\n *\n * Note that we don't store the RSC data for the cache entries in this hook —\n * the data for inactive segments is stored in the parent CacheNode, which\n * *does* have a longer lifetime than the React tree. This hook only determines\n * which of those trees should have their *state* preserved, by .\n */ export function useRouterBFCache(activeTree, activeCacheNode, activeStateKey) {\n // The currently active entry. The entries form a linked list, sorted in\n // order of most recently active. This allows us to reuse parts of the list\n // without cloning, unless there's a reordering or removal.\n // TODO: Once we start tracking back/forward history at each route level,\n // we should use the history order instead. In other words, when traversing\n // to an existing entry as a result of a popstate event, we should maintain\n // the existing order instead of moving it to the front of the list. I think\n // an initial implementation of this could be to pass an incrementing id\n // to history.pushState/replaceState, then use that here for ordering.\n const [prevActiveEntry, setPrevActiveEntry] = useState(()=>{\n const initialEntry = {\n tree: activeTree,\n cacheNode: activeCacheNode,\n stateKey: activeStateKey,\n next: null\n };\n return initialEntry;\n });\n if (prevActiveEntry.tree === activeTree) {\n // Fast path. The active tree hasn't changed, so we can reuse the\n // existing state.\n return prevActiveEntry;\n }\n // The route tree changed. Note that this doesn't mean that the tree changed\n // *at this level* — the change may be due to a child route. Either way, we\n // need to either add or update the router tree in the bfcache.\n //\n // The rest of the code looks more complicated than it actually is because we\n // can't mutate the state in place; we have to copy-on-write.\n // Create a new entry for the active cache key. This is the head of the new\n // linked list.\n const newActiveEntry = {\n tree: activeTree,\n cacheNode: activeCacheNode,\n stateKey: activeStateKey,\n next: null\n };\n // We need to append the old list onto the new list. If the head of the new\n // list was already present in the cache, then we'll need to clone everything\n // that came before it. Then we can reuse the rest.\n let n = 1;\n let oldEntry = prevActiveEntry;\n let clonedEntry = newActiveEntry;\n while(oldEntry !== null && n < MAX_BF_CACHE_ENTRIES){\n if (oldEntry.stateKey === activeStateKey) {\n // Fast path. This entry in the old list that corresponds to the key that\n // is now active. We've already placed a clone of this entry at the front\n // of the new list. We can reuse the rest of the old list without cloning.\n // NOTE: We don't need to worry about eviction in this case because we\n // haven't increased the size of the cache, and we assume the max size\n // is constant across renders. If we were to change it to a dynamic limit,\n // then the implementation would need to account for that.\n clonedEntry.next = oldEntry.next;\n break;\n } else {\n // Clone the entry and append it to the list.\n n++;\n const entry = {\n tree: oldEntry.tree,\n cacheNode: oldEntry.cacheNode,\n stateKey: oldEntry.stateKey,\n next: null\n };\n clonedEntry.next = entry;\n clonedEntry = entry;\n }\n oldEntry = oldEntry.next;\n }\n setPrevActiveEntry(newActiveEntry);\n return newActiveEntry;\n}\n\n//# sourceMappingURL=bfcache-state-manager.js.map","import { RedirectStatusCode } from './redirect-status-code';\nimport { isRedirectError, REDIRECT_ERROR_CODE } from './redirect-error';\nconst actionAsyncStorage = typeof window === 'undefined' ? require('../../server/app-render/action-async-storage.external').actionAsyncStorage : undefined;\nexport function getRedirectError(url, type, statusCode = RedirectStatusCode.TemporaryRedirect) {\n const error = Object.defineProperty(new Error(REDIRECT_ERROR_CODE), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n error.digest = `${REDIRECT_ERROR_CODE};${type};${url};${statusCode};`;\n return error;\n}\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 307/303 to the caller.\n * - In a Server Action, type defaults to 'push' and 'replace' elsewhere.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */ export function redirect(/** The URL to redirect to */ url, type) {\n type ??= actionAsyncStorage?.getStore()?.isAction ? 'push' : 'replace';\n throw getRedirectError(url, type, RedirectStatusCode.TemporaryRedirect);\n}\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 308/303 to the caller.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */ export function permanentRedirect(/** The URL to redirect to */ url, type = 'replace') {\n throw getRedirectError(url, type, RedirectStatusCode.PermanentRedirect);\n}\nexport function getURLFromRedirectError(error) {\n if (!isRedirectError(error)) return null;\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(';').slice(2, -2).join(';');\n}\nexport function getRedirectTypeFromError(error) {\n if (!isRedirectError(error)) {\n throw Object.defineProperty(new Error('Not a redirect error'), \"__NEXT_ERROR_CODE\", {\n value: \"E260\",\n enumerable: false,\n configurable: true\n });\n }\n return error.digest.split(';', 2)[1];\n}\nexport function getRedirectStatusCodeFromError(error) {\n if (!isRedirectError(error)) {\n throw Object.defineProperty(new Error('Not a redirect error'), \"__NEXT_ERROR_CODE\", {\n value: \"E260\",\n enumerable: false,\n configurable: true\n });\n }\n return Number(error.digest.split(';').at(-2));\n}\n\n//# sourceMappingURL=redirect.js.map","import { HTML_LIMITED_BOT_UA_RE } from './html-bots';\n// Bot crawler that will spin up a headless browser and execute JS.\n// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.\n// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers\n// This regex specifically matches \"Googlebot\" but NOT \"Mediapartners-Google\", \"AdsBot-Google\", etc.\nconst HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i;\nexport const HTML_LIMITED_BOT_UA_RE_STRING = HTML_LIMITED_BOT_UA_RE.source;\nexport { HTML_LIMITED_BOT_UA_RE };\nfunction isDomBotUA(userAgent) {\n return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent);\n}\nfunction isHtmlLimitedBotUA(userAgent) {\n return HTML_LIMITED_BOT_UA_RE.test(userAgent);\n}\nexport function isBot(userAgent) {\n return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent);\n}\nexport function getBotType(userAgent) {\n if (isDomBotUA(userAgent)) {\n return 'dom';\n }\n if (isHtmlLimitedBotUA(userAgent)) {\n return 'html';\n }\n return undefined;\n}\n\n//# sourceMappingURL=is-bot.js.map","import { ReadonlyURLSearchParams } from './readonly-url-search-params';\nexport function unstable_isUnrecognizedActionError() {\n throw Object.defineProperty(new Error('`unstable_isUnrecognizedActionError` can only be used on the client.'), \"__NEXT_ERROR_CODE\", {\n value: \"E776\",\n enumerable: false,\n configurable: true\n });\n}\nexport { redirect, permanentRedirect } from './redirect';\nexport { notFound } from './not-found';\nexport { forbidden } from './forbidden';\nexport { unauthorized } from './unauthorized';\nexport { unstable_rethrow } from './unstable-rethrow';\nexport { ReadonlyURLSearchParams };\nexport const RedirectType = {\n push: 'push',\n replace: 'replace'\n};\n\n//# sourceMappingURL=navigation.react-server.js.map","// TypeScript trick to simulate opaque types, like in Flow.\nexport function createCacheKey(originalHref, nextUrl) {\n const originalUrl = new URL(originalHref);\n const cacheKey = {\n pathname: originalUrl.pathname,\n search: originalUrl.search,\n nextUrl: nextUrl\n };\n return cacheKey;\n}\n\n//# sourceMappingURL=cache-key.js.map","import { lruPut, updateLruSize, deleteFromLru } from './lru';\nexport const Fallback = {};\n// This is a special internal key that is used for \"revalidation\" entries. It's\n// an implementation detail that shouldn't leak outside of this module.\nconst Revalidation = {};\nexport function createCacheMap() {\n const cacheMap = {\n parent: null,\n key: null,\n value: null,\n map: null,\n // LRU-related fields\n prev: null,\n next: null,\n size: 0\n };\n return cacheMap;\n}\nfunction getOrInitialize(cacheMap, keys, isRevalidation) {\n // Go through each level of keys until we find the entry that matches, or\n // create a new entry if one doesn't exist.\n //\n // This function will only return entries that match the keypath _exactly_.\n // Unlike getWithFallback, it will not access fallback entries unless it's\n // explicitly part of the keypath.\n let entry = cacheMap;\n let remainingKeys = keys;\n let key = null;\n while(true){\n const previousKey = key;\n if (remainingKeys !== null) {\n key = remainingKeys.value;\n remainingKeys = remainingKeys.parent;\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath. The \"normal\" entry is its parent.\n // However, if the parent entry is currently empty, we don't need to store\n // this as a revalidation entry. Just insert the revalidation into the\n // normal slot.\n if (entry.value === null) {\n return entry;\n }\n // Otheriwse, create a child entry.\n key = Revalidation;\n } else {\n break;\n }\n let map = entry.map;\n if (map !== null) {\n const existingEntry = map.get(key);\n if (existingEntry !== undefined) {\n // Found a match. Keep going.\n entry = existingEntry;\n continue;\n }\n } else {\n map = new Map();\n entry.map = map;\n }\n // No entry exists yet at this level. Create a new one.\n const newEntry = {\n parent: entry,\n key,\n value: null,\n map: null,\n // LRU-related fields\n prev: null,\n next: null,\n size: 0\n };\n map.set(key, newEntry);\n entry = newEntry;\n }\n return entry;\n}\nexport function getFromCacheMap(now, currentCacheVersion, rootEntry, keys, isRevalidation) {\n const entry = getEntryWithFallbackImpl(now, currentCacheVersion, rootEntry, keys, isRevalidation, 0);\n if (entry === null || entry.value === null) {\n return null;\n }\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry);\n return entry.value;\n}\nexport function isValueExpired(now, currentCacheVersion, value) {\n return value.staleAt <= now || value.version < currentCacheVersion;\n}\nfunction lazilyEvictIfNeeded(now, currentCacheVersion, entry) {\n // We have a matching entry, but before we can return it, we need to check if\n // it's still fresh. Otherwise it should be treated the same as a cache miss.\n if (entry.value === null) {\n // This entry has no value, so there's nothing to evict.\n return entry;\n }\n const value = entry.value;\n if (isValueExpired(now, currentCacheVersion, value)) {\n // The value expired. Lazily evict it from the cache, and return null. This\n // is conceptually the same as a cache miss.\n deleteMapEntry(entry);\n return null;\n }\n // The matched entry has not expired. Return it.\n return entry;\n}\nfunction getEntryWithFallbackImpl(now, currentCacheVersion, entry, keys, isRevalidation, previousKey) {\n // This is similar to getExactEntry, but if an exact match is not found for\n // a key, it will return the fallback entry instead. This is recursive at\n // every level, e.g. an entry with keypath [a, Fallback, c, Fallback] is\n // valid match for [a, b, c, d].\n //\n // It will return the most specific match available.\n let key;\n let remainingKeys;\n if (keys !== null) {\n key = keys.value;\n remainingKeys = keys.parent;\n } else if (isRevalidation && previousKey !== Revalidation) {\n // During a revalidation, we append an internal \"Revalidation\" key to\n // the end of the keypath.\n key = Revalidation;\n remainingKeys = null;\n } else {\n // There are no more keys. This is the terminal entry.\n // TODO: When performing a lookup during a navigation, as opposed to a\n // prefetch, we may want to skip entries that are Pending if there's also\n // a Fulfilled fallback entry. Tricky to say, though, since if it's\n // already pending, it's likely to stream in soon. Maybe we could do this\n // just on slow connections and offline mode.\n return lazilyEvictIfNeeded(now, currentCacheVersion, entry);\n }\n const map = entry.map;\n if (map !== null) {\n const existingEntry = map.get(key);\n if (existingEntry !== undefined) {\n // Found an exact match for this key. Keep searching.\n const result = getEntryWithFallbackImpl(now, currentCacheVersion, existingEntry, remainingKeys, isRevalidation, key);\n if (result !== null) {\n return result;\n }\n }\n // No match found for this key. Check if there's a fallback.\n const fallbackEntry = map.get(Fallback);\n if (fallbackEntry !== undefined) {\n // Found a fallback for this key. Keep searching.\n return getEntryWithFallbackImpl(now, currentCacheVersion, fallbackEntry, remainingKeys, isRevalidation, key);\n }\n }\n return null;\n}\nexport function setInCacheMap(cacheMap, keys, value, isRevalidation) {\n // Add a value to the map at the given keypath. If the value is already\n // part of the map, it's removed from its previous keypath. (NOTE: This is\n // unlike a regular JS map, but the behavior is intentional.)\n const entry = getOrInitialize(cacheMap, keys, isRevalidation);\n setMapEntryValue(entry, value);\n // This is an LRU access. Move the entry to the front of the list.\n lruPut(entry);\n updateLruSize(entry, value.size);\n}\nfunction setMapEntryValue(entry, value) {\n if (entry.value !== null) {\n // There's already a value at the given keypath. Disconnect the old value\n // from the map. We're not calling `deleteMapEntry` here because the\n // entry itself is still in the map. We just want to overwrite its value.\n dropRef(entry.value);\n entry.value = null;\n }\n // This value may already be in the map at a different keypath.\n // Grab a reference before we overwrite it.\n const oldEntry = value.ref;\n entry.value = value;\n value.ref = entry;\n updateLruSize(entry, value.size);\n if (oldEntry !== null && oldEntry !== entry && oldEntry.value === value) {\n // This value is already in the map at a different keypath in the map.\n // Values only exist at a single keypath at a time. Remove it from the\n // previous keypath.\n //\n // Note that only the internal map entry is garbage collected; we don't\n // call `dropRef` here because it's still in the map, just\n // at a new keypath (the one we just set, above).\n deleteMapEntry(oldEntry);\n }\n}\nexport function deleteFromCacheMap(value) {\n const entry = value.ref;\n if (entry === null) {\n // This value is not a member of any map.\n return;\n }\n dropRef(value);\n deleteMapEntry(entry);\n}\nfunction dropRef(value) {\n // Drop the value from the map by setting its `ref` backpointer to\n // null. This is a separate operation from `deleteMapEntry` because when\n // re-keying a value we need to be able to delete the old, internal map\n // entry without garbage collecting the value itself.\n value.ref = null;\n}\nexport function deleteMapEntry(entry) {\n // Delete the entry from the cache.\n entry.value = null;\n deleteFromLru(entry);\n // Check if we can garbage collect the entry.\n const map = entry.map;\n if (map === null) {\n // Since this entry has no value, and also no child entries, we can\n // garbage collect it. Remove it from its parent, and keep garbage\n // collecting the parents until we reach a non-empty entry.\n let parent = entry.parent;\n let key = entry.key;\n while(parent !== null){\n const parentMap = parent.map;\n if (parentMap !== null) {\n parentMap.delete(key);\n if (parentMap.size === 0) {\n // We just removed the last entry in the parent map.\n parent.map = null;\n if (parent.value === null) {\n // The parent node has no child entries, nor does it have a value\n // on itself. It can be garbage collected. Keep going.\n key = parent.key;\n parent = parent.parent;\n continue;\n }\n }\n }\n break;\n }\n } else {\n // Check if there's a revalidating entry. If so, promote it to a\n // \"normal\" entry, since the normal one was just deleted.\n const revalidatingEntry = map.get(Revalidation);\n if (revalidatingEntry !== undefined && revalidatingEntry.value !== null) {\n setMapEntryValue(entry, revalidatingEntry.value);\n }\n }\n}\nexport function setSizeInCacheMap(value, size) {\n const entry = value.ref;\n if (entry === null) {\n // This value is not a member of any map.\n return;\n }\n // Except during initialization (when the size is set to 0), this is the only\n // place the `size` field should be updated, to ensure it's in sync with the\n // the LRU.\n value.size = size;\n updateLruSize(entry, size);\n}\n\n//# sourceMappingURL=cache-map.js.map","import { startTransition } from 'react';\nimport { ACTION_SERVER_ACTION } from './components/router-reducer/router-reducer-types';\nimport { dispatchAppRouterAction } from './components/use-action-queue';\nexport async function callServer(actionId, actionArgs) {\n return new Promise((resolve, reject)=>{\n startTransition(()=>{\n dispatchAppRouterAction({\n type: ACTION_SERVER_ACTION,\n actionId,\n actionArgs,\n resolve,\n reject\n });\n });\n });\n}\n\n//# sourceMappingURL=app-call-server.js.map","import React, { useContext, useMemo, use } from 'react';\nimport { AppRouterContext, LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime';\nimport { SearchParamsContext, PathnameContext, PathParamsContext, NavigationPromisesContext, ReadonlyURLSearchParams } from '../../shared/lib/hooks-client-context.shared-runtime';\nimport { computeSelectedLayoutSegment, getSelectedLayoutSegmentPath } from '../../shared/lib/segment';\nconst useDynamicRouteParams = typeof window === 'undefined' ? require('../../server/app-render/dynamic-rendering').useDynamicRouteParams : undefined;\nconst useDynamicSearchParams = typeof window === 'undefined' ? require('../../server/app-render/dynamic-rendering').useDynamicSearchParams : undefined;\nconst { instrumentParamsForClientValidation, instrumentSearchParamsForClientValidation, expectCompleteParamsInClientValidation } = typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS ? require('../../server/app-render/instant-validation/instant-samples-client') : {};\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you *read* the current URL's search parameters.\n *\n * Learn more about [`URLSearchParams` on MDN](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useSearchParams } from 'next/navigation'\n *\n * export default function Page() {\n * const searchParams = useSearchParams()\n * searchParams.get('foo') // returns 'bar' when ?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSearchParams`](https://nextjs.org/docs/app/api-reference/functions/use-search-params)\n */ // Client components API\nexport function useSearchParams() {\n useDynamicSearchParams?.('useSearchParams()');\n const searchParams = useContext(SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = useMemo(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n // During build-time instant validation, wrap with an proxy\n // so that accessing undeclared search params throws an error.\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS && readonlySearchParams) {\n return instrumentSearchParamsForClientValidation(readonlySearchParams);\n }\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.searchParams);\n }\n }\n return readonlySearchParams;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the current URL's pathname.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { usePathname } from 'next/navigation'\n *\n * export default function Page() {\n * const pathname = usePathname() // returns \"/dashboard\" on /dashboard?foo=bar\n * // ...\n * }\n * ```\n *\n * Read more: [Next.js Docs: `usePathname`](https://nextjs.org/docs/app/api-reference/functions/use-pathname)\n */ // Client components API\nexport function usePathname() {\n useDynamicRouteParams?.('usePathname()');\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n const pathname = useContext(PathnameContext);\n // During build-time instant validation, error if fallback params exist\n // because usePathname() can't return a sensible value without all params.\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS && pathname) {\n expectCompleteParamsInClientValidation('usePathname()');\n return pathname;\n }\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.pathname);\n }\n }\n return pathname;\n}\n// Client components API\nexport { ServerInsertedHTMLContext, useServerInsertedHTML } from '../../shared/lib/server-inserted-html.shared-runtime';\n/**\n *\n * This hook allows you to programmatically change routes inside [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components).\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useRouter } from 'next/navigation'\n *\n * export default function Page() {\n * const router = useRouter()\n * // ...\n * router.push('/dashboard') // Navigate to /dashboard\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useRouter`](https://nextjs.org/docs/app/api-reference/functions/use-router)\n */ // Client components API\nexport function useRouter() {\n const router = useContext(AppRouterContext);\n if (router === null) {\n throw Object.defineProperty(new Error('invariant expected app router to be mounted'), \"__NEXT_ERROR_CODE\", {\n value: \"E238\",\n enumerable: false,\n configurable: true\n });\n }\n return router;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read a route's dynamic params filled in by the current URL.\n *\n * @example\n * ```ts\n * \"use client\"\n * import { useParams } from 'next/navigation'\n *\n * export default function Page() {\n * // on /dashboard/[team] where pathname is /dashboard/nextjs\n * const { team } = useParams() // team === \"nextjs\"\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useParams`](https://nextjs.org/docs/app/api-reference/functions/use-params)\n */ // Client components API\nexport function useParams() {\n useDynamicRouteParams?.('useParams()');\n const params = useContext(PathParamsContext);\n // During build-time instant validation, wrap with a proxy\n // so that accessing undeclared params throws an error.\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS && params) {\n return instrumentParamsForClientValidation(params);\n }\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n return use(navigationPromises.params);\n }\n }\n return params;\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segments **below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n *\n * import { useSelectedLayoutSegments } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segments = useSelectedLayoutSegments()\n *\n * return (\n *

    \n * {segments.map((segment, index) => (\n *
  • {segment}
  • \n * ))}\n *
\n * )\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegments`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segments)\n */ // Client components API\nexport function useSelectedLayoutSegments(parallelRouteKey = 'children') {\n useDynamicRouteParams?.('useSelectedLayoutSegments()');\n const context = useContext(LayoutRouterContext);\n // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts\n if (!context) return null;\n // During build-time instant validation, error if fallback params exist\n // because useSelectedLayoutSegments() can't return a sensible value without all params.\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS && context) {\n expectCompleteParamsInClientValidation('useSelectedLayoutSegments()');\n }\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && 'use' in React) {\n const navigationPromises = use(NavigationPromisesContext);\n if (navigationPromises) {\n const promise = navigationPromises.selectedLayoutSegmentsPromises?.get(parallelRouteKey);\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise);\n }\n }\n }\n return getSelectedLayoutSegmentPath(context.parentTree, parallelRouteKey);\n}\n/**\n * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook\n * that lets you read the active route segment **one level below** the Layout it is called from.\n *\n * @example\n * ```ts\n * 'use client'\n * import { useSelectedLayoutSegment } from 'next/navigation'\n *\n * export default function ExampleClientComponent() {\n * const segment = useSelectedLayoutSegment()\n *\n * return

Active segment: {segment}

\n * }\n * ```\n *\n * Read more: [Next.js Docs: `useSelectedLayoutSegment`](https://nextjs.org/docs/app/api-reference/functions/use-selected-layout-segment)\n */ // Client components API\nexport function useSelectedLayoutSegment(parallelRouteKey = 'children') {\n useDynamicRouteParams?.('useSelectedLayoutSegment()');\n const navigationPromises = useContext(NavigationPromisesContext);\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n // During build-time instant validation, error if fallback params exist\n // because useSelectedLayoutSegment() can't return a sensible value without all params.\n if (typeof window === 'undefined' && process.env.__NEXT_CACHE_COMPONENTS) {\n expectCompleteParamsInClientValidation('useSelectedLayoutSegment()');\n }\n // Instrument with Suspense DevTools (dev-only)\n if (process.env.NODE_ENV !== 'production' && navigationPromises && 'use' in React) {\n const promise = navigationPromises.selectedLayoutSegmentPromises?.get(parallelRouteKey);\n if (promise) {\n // We should always have a promise here, but if we don't, it's not worth erroring over.\n // We just won't be able to instrument it, but can still provide the value.\n return use(promise);\n }\n }\n return computeSelectedLayoutSegment(selectedLayoutSegments, parallelRouteKey);\n}\nexport { unstable_isUnrecognizedActionError } from './unrecognized-action-error';\n// Shared components APIs\nexport { // We need the same class that was used to instantiate the context value\n// Otherwise instanceof checks will fail in usercode\nReadonlyURLSearchParams, };\nexport { notFound, forbidden, unauthorized, redirect, permanentRedirect, RedirectType, unstable_rethrow } from './navigation.react-server';\n\n//# sourceMappingURL=navigation.js.map","import { deleteMapEntry } from './cache-map';\nimport { pingPrefetchScheduler } from './scheduler';\n// We use an LRU for memory management. We must update this whenever we add or\n// remove a new cache entry, or when an entry changes size.\nlet head = null;\nlet lruSize = 0;\n// TODO: I chose the max size somewhat arbitrarily. Consider setting this based\n// on navigator.deviceMemory, or some other heuristic. We should make this\n// customizable via the Next.js config, too.\nconst maxLruSize = 50 * 1024 * 1024 // 50 MB\n;\nexport function lruPut(node) {\n if (head === node) {\n // Already at the head\n return;\n }\n const prev = node.prev;\n const next = node.next;\n if (next === null || prev === null) {\n // This is an insertion\n lruSize += node.size;\n // Whenever we add an entry, we need to check if we've exceeded the\n // max size. We don't evict entries immediately; they're evicted later in\n // an asynchronous task.\n ensureCleanupIsScheduled();\n } else {\n // This is a move. Remove from its current position.\n prev.next = next;\n next.prev = prev;\n }\n // Move to the front of the list\n if (head === null) {\n // This is the first entry\n node.prev = node;\n node.next = node;\n } else {\n // Add to the front of the list\n const tail = head.prev;\n node.prev = tail;\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n tail.next = node;\n }\n node.next = head;\n head.prev = node;\n }\n head = node;\n}\nexport function updateLruSize(node, newNodeSize) {\n // This is a separate function from `put` so that we can resize the entry\n // regardless of whether it's currently being tracked by the LRU.\n const prevNodeSize = node.size;\n node.size = newNodeSize;\n if (node.next === null) {\n // This entry is not currently being tracked by the LRU.\n return;\n }\n // Update the total LRU size\n lruSize = lruSize - prevNodeSize + newNodeSize;\n ensureCleanupIsScheduled();\n}\nexport function deleteFromLru(deleted) {\n const next = deleted.next;\n const prev = deleted.prev;\n if (next !== null && prev !== null) {\n lruSize -= deleted.size;\n deleted.next = null;\n deleted.prev = null;\n // Remove from the list\n if (head === deleted) {\n // Update the head\n if (next === head) {\n // This was the last entry\n head = null;\n } else {\n head = next;\n prev.next = next;\n next.prev = prev;\n }\n } else {\n prev.next = next;\n next.prev = prev;\n }\n } else {\n // Already deleted\n }\n}\nfunction ensureCleanupIsScheduled() {\n if (lruSize <= maxLruSize) {\n return;\n }\n // To schedule cleanup, ping the prefetch scheduler. At the end of its work\n // loop, once there are no queued tasks and no in-progress requests, it will\n // call cleanup().\n pingPrefetchScheduler();\n}\nexport function cleanup() {\n if (lruSize <= maxLruSize) {\n return;\n }\n // Evict entries until we're at 90% capacity. We can assume this won't\n // infinite loop because even if `maxLruSize` were 0, eventually\n // `deleteFromLru` sets `head` to `null` when we run out entries.\n const ninetyPercentMax = maxLruSize * 0.9;\n while(lruSize > ninetyPercentMax && head !== null){\n const tail = head.prev;\n // In practice, this is never null, but that isn't encoded in the type\n if (tail !== null) {\n // Delete the entry from the map. In turn, this will remove it from\n // the LRU.\n deleteMapEntry(tail);\n }\n }\n}\n\n//# sourceMappingURL=lru.js.map","import { FetchStrategy } from './types';\nimport { Fallback } from './cache-map';\nimport { HEAD_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding';\nexport function getRouteVaryPath(pathname, search, nextUrl) {\n // requestKey -> searchParams -> nextUrl\n const varyPath = {\n id: null,\n value: pathname,\n parent: {\n id: '?',\n value: search,\n parent: {\n id: null,\n value: nextUrl,\n parent: null\n }\n }\n };\n return varyPath;\n}\nexport function getFulfilledRouteVaryPath(pathname, search, nextUrl, couldBeIntercepted) {\n // This is called when a route's data is fulfilled. The cache entry will be\n // re-keyed based on which inputs the response varies by.\n // requestKey -> searchParams -> nextUrl\n const varyPath = {\n id: null,\n value: pathname,\n parent: {\n id: '?',\n value: search,\n parent: {\n id: null,\n value: couldBeIntercepted ? nextUrl : Fallback,\n parent: null\n }\n }\n };\n return varyPath;\n}\nexport function appendLayoutVaryPath(parentPath, cacheKey, paramName) {\n const varyPathPart = {\n id: paramName,\n value: cacheKey,\n parent: parentPath\n };\n return varyPathPart;\n}\nexport function finalizeLayoutVaryPath(requestKey, varyPath) {\n const layoutVaryPath = {\n id: null,\n value: requestKey,\n parent: varyPath\n };\n return layoutVaryPath;\n}\nexport function getPartialLayoutVaryPath(finalizedVaryPath) {\n // This is the inverse of finalizeLayoutVaryPath.\n return finalizedVaryPath.parent;\n}\nexport function finalizePageVaryPath(requestKey, renderedSearch, varyPath) {\n // Unlike layouts, a page segment's vary path also includes the search string.\n // requestKey -> searchParams -> pathParams\n const pageVaryPath = {\n id: null,\n value: requestKey,\n parent: {\n id: '?',\n value: renderedSearch,\n parent: varyPath\n }\n };\n return pageVaryPath;\n}\nexport function getPartialPageVaryPath(finalizedVaryPath) {\n // This is the inverse of finalizePageVaryPath.\n return finalizedVaryPath.parent.parent;\n}\nexport function finalizeMetadataVaryPath(pageRequestKey, renderedSearch, varyPath) {\n // The metadata \"segment\" is not a real segment because it doesn't exist in\n // the normal structure of the route tree, but in terms of caching, it\n // behaves like a page segment because it varies by all the same params as\n // a page.\n //\n // To keep the protocol for querying the server simple, the request key for\n // the metadata does not include any path information. It's unnecessary from\n // the server's perspective, because unlike page segments, there's only one\n // metadata response per URL, i.e. there's no need to distinguish multiple\n // parallel pages.\n //\n // However, this means the metadata request key is insufficient for\n // caching the the metadata in the client cache, because on the client we\n // use the request key to distinguish the metadata entry from all other\n // page's metadata entries.\n //\n // So instead we create a simulated request key based on the page segment.\n // Conceptually this is equivalent to the request key the server would have\n // assigned the metadata segment if it treated it as part of the actual\n // route structure.\n // If there are multiple parallel pages, we use whichever is the first one.\n // This is fine because the only difference between request keys for\n // different parallel pages are things like route groups and parallel\n // route slots. As long as it's always the same one, it doesn't matter.\n const pageVaryPath = {\n id: null,\n // Append the actual metadata request key to the page request key. Note\n // that we're not using a separate vary path part; it's unnecessary because\n // these are not conceptually separate inputs.\n value: pageRequestKey + HEAD_REQUEST_KEY,\n parent: {\n id: '?',\n value: renderedSearch,\n parent: varyPath\n }\n };\n return pageVaryPath;\n}\nexport function getSegmentVaryPathForRequest(fetchStrategy, tree) {\n // This is used for storing pending requests in the cache. We want to choose\n // the most generic vary path based on the strategy used to fetch it, i.e.\n // static/PPR versus runtime prefetching, so that it can be reused as much\n // as possible.\n //\n // We may be able to re-key the response to something even more generic once\n // we receive it — for example, if the server tells us that the response\n // doesn't vary on a particular param — but even before we send the request,\n // we know some params are reusable based on the fetch strategy alone. For\n // example, a static prefetch will never vary on search params.\n //\n // The original vary path with all the params filled in is stored on the\n // route tree object. We will clone this one to create a new vary path\n // where certain params are replaced with Fallback.\n //\n // This result of this function is not stored anywhere. It's only used to\n // access the cache a single time.\n //\n // TODO: Rather than create a new list object just to access the cache, the\n // plan is to add the concept of a \"vary mask\". This will represent all the\n // params that can be treated as Fallback. (Or perhaps the inverse.)\n const originalVaryPath = tree.varyPath;\n // Only page segments (and the special \"metadata\" segment, which is treated\n // like a page segment for the purposes of caching) may contain search\n // params. There's no reason to include them in the vary path otherwise.\n if (tree.isPage) {\n // Only a runtime prefetch will include search params in the vary path.\n // Static prefetches never include search params, so they can be reused\n // across all possible search param values.\n const doesVaryOnSearchParams = fetchStrategy === FetchStrategy.Full || fetchStrategy === FetchStrategy.PPRRuntime;\n if (!doesVaryOnSearchParams) {\n // The response from the the server will not vary on search params. Clone\n // the end of the original vary path to replace the search params\n // with Fallback.\n //\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with Fallback\n const searchParamsVaryPath = originalVaryPath.parent;\n const pathParamsVaryPath = searchParamsVaryPath.parent;\n const patchedVaryPath = {\n id: null,\n value: originalVaryPath.value,\n parent: {\n id: '?',\n value: Fallback,\n parent: pathParamsVaryPath\n }\n };\n return patchedVaryPath;\n }\n }\n // The request does vary on search params. We don't need to modify anything.\n return originalVaryPath;\n}\nexport function clonePageVaryPathWithNewSearchParams(originalVaryPath, newSearch) {\n // requestKey -> searchParams -> pathParams\n // ^ This part gets replaced with newSearch\n const searchParamsVaryPath = originalVaryPath.parent;\n const clonedVaryPath = {\n id: null,\n value: originalVaryPath.value,\n parent: {\n id: '?',\n value: newSearch,\n parent: searchParamsVaryPath.parent\n }\n };\n return clonedVaryPath;\n}\nexport function getRenderedSearchFromVaryPath(varyPath) {\n const searchParams = varyPath.parent.value;\n return typeof searchParams === 'string' ? searchParams : null;\n}\nexport function getFulfilledSegmentVaryPath(original, varyParams) {\n // Re-keys a segment's vary path based on which params the segment actually\n // depends on. Params that are NOT in the varyParams set are replaced with\n // Fallback, allowing the cache entry to be reused across different values of\n // those params.\n // This is called when a segment is fulfilled with data from the server. The\n // varyParams set comes from the server and indicates which params were\n // accessed during rendering.\n const clone = {\n id: original.id,\n // If the id is null, this node is not a param (e.g., it's a request key).\n // If the id is in the varyParams set, keep the original value.\n // Otherwise, replace with Fallback to make it reusable.\n value: original.id === null || varyParams.has(original.id) ? original.value : Fallback,\n parent: original.parent === null ? null : getFulfilledSegmentVaryPath(original.parent, varyParams)\n };\n return clone;\n}\n\n//# sourceMappingURL=vary-path.js.map","import { useEffect } from 'react';\nimport { createHrefFromUrl } from './router-reducer/create-href-from-url';\nexport function handleHardNavError(error) {\n if (error && typeof window !== 'undefined' && window.next.__pendingUrl && createHrefFromUrl(new URL(window.location.href)) !== createHrefFromUrl(window.next.__pendingUrl)) {\n console.error(`Error occurred during navigation, falling back to hard navigation`, error);\n window.location.href = window.next.__pendingUrl.toString();\n return true;\n }\n return false;\n}\nexport function useNavFailureHandler() {\n if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) {\n // this if is only for DCE of the feature flag not conditional\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(()=>{\n const uncaughtExceptionHandler = (evt)=>{\n const error = 'reason' in evt ? evt.reason : evt.error;\n // if we have an unhandled exception/rejection during\n // a navigation we fall back to a hard navigation to\n // attempt recovering to a good state\n handleHardNavError(error);\n };\n window.addEventListener('unhandledrejection', uncaughtExceptionHandler);\n window.addEventListener('error', uncaughtExceptionHandler);\n return ()=>{\n window.removeEventListener('error', uncaughtExceptionHandler);\n window.removeEventListener('unhandledrejection', uncaughtExceptionHandler);\n };\n }, []);\n }\n}\n\n//# sourceMappingURL=nav-failure-handler.js.map","/**\n * Shared types and constants for the Segment Cache.\n */ export var NavigationResultTag = /*#__PURE__*/ function(NavigationResultTag) {\n NavigationResultTag[NavigationResultTag[\"MPA\"] = 0] = \"MPA\";\n NavigationResultTag[NavigationResultTag[\"Success\"] = 1] = \"Success\";\n NavigationResultTag[NavigationResultTag[\"NoOp\"] = 2] = \"NoOp\";\n NavigationResultTag[NavigationResultTag[\"Async\"] = 3] = \"Async\";\n return NavigationResultTag;\n}({});\n/**\n * The priority of the prefetch task. Higher numbers are higher priority.\n */ export var PrefetchPriority = /*#__PURE__*/ function(PrefetchPriority) {\n /**\n * Assigned to the most recently hovered/touched link. Special network\n * bandwidth is reserved for this task only. There's only ever one Intent-\n * priority task at a time; when a new Intent task is scheduled, the previous\n * one is bumped down to Default.\n */ PrefetchPriority[PrefetchPriority[\"Intent\"] = 2] = \"Intent\";\n /**\n * The default priority for prefetch tasks.\n */ PrefetchPriority[PrefetchPriority[\"Default\"] = 1] = \"Default\";\n /**\n * Assigned to tasks when they spawn non-blocking background work, like\n * revalidating a partially cached entry to see if more data is available.\n */ PrefetchPriority[PrefetchPriority[\"Background\"] = 0] = \"Background\";\n return PrefetchPriority;\n}({});\nexport var FetchStrategy = /*#__PURE__*/ function(FetchStrategy) {\n // Deliberately ordered so we can easily compare two segments\n // and determine if one segment is \"more specific\" than another\n // (i.e. if it's likely that it contains more data)\n FetchStrategy[FetchStrategy[\"LoadingBoundary\"] = 0] = \"LoadingBoundary\";\n FetchStrategy[FetchStrategy[\"PPR\"] = 1] = \"PPR\";\n FetchStrategy[FetchStrategy[\"PPRRuntime\"] = 2] = \"PPRRuntime\";\n FetchStrategy[FetchStrategy[\"Full\"] = 3] = \"Full\";\n return FetchStrategy;\n}({});\n\n//# sourceMappingURL=types.js.map","/**\n * Create a \"Thenable\" that does not resolve. This is used to suspend indefinitely when data is not available yet.\n */ export const unresolvedThenable = {\n then: ()=>{}\n};\n\n//# sourceMappingURL=unresolved-thenable.js.map","import { FetchStrategy, PrefetchPriority } from './segment-cache/types';\nimport { createCacheKey } from './segment-cache/cache-key';\nimport { schedulePrefetchTask as scheduleSegmentPrefetchTask, cancelPrefetchTask, reschedulePrefetchTask, isPrefetchTaskDirty } from './segment-cache/scheduler';\nimport { startTransition } from 'react';\n// Tracks the most recently navigated link instance. When null, indicates\n// the current navigation was not initiated by a link click.\nlet linkForMostRecentNavigation = null;\n// Status object indicating link is pending\nexport const PENDING_LINK_STATUS = {\n pending: true\n};\n// Status object indicating link is idle\nexport const IDLE_LINK_STATUS = {\n pending: false\n};\n// Updates the loading state when navigating between links\n// - Resets the previous link's loading state\n// - Sets the new link's loading state\n// - Updates tracking of current navigation\nexport function setLinkForCurrentNavigation(link) {\n startTransition(()=>{\n linkForMostRecentNavigation?.setOptimisticLinkStatus(IDLE_LINK_STATUS);\n link?.setOptimisticLinkStatus(PENDING_LINK_STATUS);\n linkForMostRecentNavigation = link;\n });\n}\n// Unmounts the current link instance from navigation tracking\nexport function unmountLinkForCurrentNavigation(link) {\n if (linkForMostRecentNavigation === link) {\n linkForMostRecentNavigation = null;\n }\n}\n/**\n * Returns the link instance that initiated the most recent navigation.\n * Returns null if the navigation was not initiated by a link click.\n *\n * Used by the Instant Navigation Testing API in dev mode to match the\n * fetch strategy of the link during cache-miss navigations.\n */ export function getLinkForCurrentNavigation() {\n return linkForMostRecentNavigation;\n}\n// Use a WeakMap to associate a Link instance with its DOM element. This is\n// used by the IntersectionObserver to track the link's visibility.\nconst prefetchable = typeof WeakMap === 'function' ? new WeakMap() : new Map();\n// A Set of the currently visible links. We re-prefetch visible links after a\n// cache invalidation, or when the current URL changes. It's a separate data\n// structure from the WeakMap above because only the visible links need to\n// be enumerated.\nconst prefetchableAndVisible = new Set();\n// A single IntersectionObserver instance shared by all components.\nconst observer = typeof IntersectionObserver === 'function' ? new IntersectionObserver(handleIntersect, {\n rootMargin: '200px'\n}) : null;\nfunction observeVisibility(element, instance) {\n const existingInstance = prefetchable.get(element);\n if (existingInstance !== undefined) {\n // This shouldn't happen because each component should have its own\n // anchor tag instance, but it's defensive coding to avoid a memory leak in\n // case there's a logical error somewhere else.\n unmountPrefetchableInstance(element);\n }\n // Only track prefetchable links that have a valid prefetch URL\n prefetchable.set(element, instance);\n if (observer !== null) {\n observer.observe(element);\n }\n}\nfunction coercePrefetchableUrl(href) {\n if (typeof window !== 'undefined') {\n const { createPrefetchURL } = require('./app-router-utils');\n try {\n return createPrefetchURL(href);\n } catch {\n // createPrefetchURL sometimes throws an error if an invalid URL is\n // provided, though I'm not sure if it's actually necessary.\n // TODO: Consider removing the throw from the inner function, or change it\n // to reportError. Or maybe the error isn't even necessary for automatic\n // prefetches, just navigations.\n const reportErrorFn = typeof reportError === 'function' ? reportError : console.error;\n reportErrorFn(`Cannot prefetch '${href}' because it cannot be converted to a URL.`);\n return null;\n }\n } else {\n return null;\n }\n}\nexport function mountLinkInstance(element, href, router, fetchStrategy, prefetchEnabled, setOptimisticLinkStatus) {\n if (prefetchEnabled) {\n const prefetchURL = coercePrefetchableUrl(href);\n if (prefetchURL !== null) {\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus\n };\n // We only observe the link's visibility if it's prefetchable. For\n // example, this excludes links to external URLs.\n observeVisibility(element, instance);\n return instance;\n }\n }\n // If the link is not prefetchable, we still create an instance so we can\n // track its optimistic state (i.e. useLinkStatus).\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: null,\n setOptimisticLinkStatus\n };\n return instance;\n}\nexport function mountFormInstance(element, href, router, fetchStrategy) {\n const prefetchURL = coercePrefetchableUrl(href);\n if (prefetchURL === null) {\n // This href is not prefetchable, so we don't track it.\n // TODO: We currently observe/unobserve a form every time its href changes.\n // For Links, this isn't a big deal because the href doesn't usually change,\n // but for forms it's extremely common. We should optimize this.\n return;\n }\n const instance = {\n router,\n fetchStrategy,\n isVisible: false,\n prefetchTask: null,\n prefetchHref: prefetchURL.href,\n setOptimisticLinkStatus: null\n };\n observeVisibility(element, instance);\n}\nexport function unmountPrefetchableInstance(element) {\n const instance = prefetchable.get(element);\n if (instance !== undefined) {\n prefetchable.delete(element);\n prefetchableAndVisible.delete(instance);\n const prefetchTask = instance.prefetchTask;\n if (prefetchTask !== null) {\n cancelPrefetchTask(prefetchTask);\n }\n }\n if (observer !== null) {\n observer.unobserve(element);\n }\n}\nfunction handleIntersect(entries) {\n for (const entry of entries){\n // Some extremely old browsers or polyfills don't reliably support\n // isIntersecting so we check intersectionRatio instead. (Do we care? Not\n // really. But whatever this is fine.)\n const isVisible = entry.intersectionRatio > 0;\n onLinkVisibilityChanged(entry.target, isVisible);\n }\n}\nexport function onLinkVisibilityChanged(element, isVisible) {\n if (process.env.NODE_ENV !== 'production') {\n // Prefetching on viewport is disabled in development for performance\n // reasons, because it requires compiling the target page.\n // TODO: Investigate re-enabling this.\n return;\n }\n const instance = prefetchable.get(element);\n if (instance === undefined) {\n return;\n }\n instance.isVisible = isVisible;\n if (isVisible) {\n prefetchableAndVisible.add(instance);\n } else {\n prefetchableAndVisible.delete(instance);\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Default);\n}\nexport function onNavigationIntent(element, unstable_upgradeToDynamicPrefetch) {\n const instance = prefetchable.get(element);\n if (instance === undefined) {\n return;\n }\n // Prefetch the link on hover/touchstart.\n if (instance !== undefined) {\n if (process.env.__NEXT_DYNAMIC_ON_HOVER && unstable_upgradeToDynamicPrefetch) {\n // Switch to a full prefetch\n instance.fetchStrategy = FetchStrategy.Full;\n }\n rescheduleLinkPrefetch(instance, PrefetchPriority.Intent);\n }\n}\nfunction rescheduleLinkPrefetch(instance, priority) {\n // Ensures that app-router-instance is not compiled in the server bundle\n if (typeof window !== 'undefined') {\n const existingPrefetchTask = instance.prefetchTask;\n if (!instance.isVisible) {\n // Cancel any in-progress prefetch task. (If it already finished then this\n // is a no-op.)\n if (existingPrefetchTask !== null) {\n cancelPrefetchTask(existingPrefetchTask);\n }\n // We don't need to reset the prefetchTask to null upon cancellation; an\n // old task object can be rescheduled with reschedulePrefetchTask. This is a\n // micro-optimization but also makes the code simpler (don't need to\n // worry about whether an old task object is stale).\n return;\n }\n const { getCurrentAppRouterState } = require('./app-router-instance');\n const appRouterState = getCurrentAppRouterState();\n if (appRouterState !== null) {\n const treeAtTimeOfPrefetch = appRouterState.tree;\n if (existingPrefetchTask === null) {\n // Initiate a prefetch task.\n const nextUrl = appRouterState.nextUrl;\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl);\n instance.prefetchTask = scheduleSegmentPrefetchTask(cacheKey, treeAtTimeOfPrefetch, instance.fetchStrategy, priority, null);\n } else {\n // We already have an old task object that we can reschedule. This is\n // effectively the same as canceling the old task and creating a new one.\n reschedulePrefetchTask(existingPrefetchTask, treeAtTimeOfPrefetch, instance.fetchStrategy, priority);\n }\n }\n }\n}\nexport function pingVisibleLinks(nextUrl, tree) {\n // For each currently visible link, cancel the existing prefetch task (if it\n // exists) and schedule a new one. This is effectively the same as if all the\n // visible links left and then re-entered the viewport.\n //\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n for (const instance of prefetchableAndVisible){\n const task = instance.prefetchTask;\n if (task !== null && !isPrefetchTaskDirty(task, nextUrl, tree)) {\n continue;\n }\n // Something changed. Cancel the existing prefetch task and schedule a\n // new one.\n if (task !== null) {\n cancelPrefetchTask(task);\n }\n const cacheKey = createCacheKey(instance.prefetchHref, nextUrl);\n instance.prefetchTask = scheduleSegmentPrefetchTask(cacheKey, tree, instance.fetchStrategy, PrefetchPriority.Default, null);\n }\n}\n\n//# sourceMappingURL=links.js.map","// This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.\n// Note: The pattern [\\w-]+-Google captures all Google crawlers with \"-Google\" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)\n// as well as crawlers starting with \"Google-\" (e.g., Google-PageRenderer, Google-InspectionTool)\nexport const HTML_LIMITED_BOT_UA_RE = /[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;\n\n//# sourceMappingURL=html-bots.js.map","import { DYNAMIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer';\n/**\n * Sentinel value indicating that no per-page dynamic stale time was provided.\n * When this is the dynamicStaleTime, the default DYNAMIC_STALETIME_MS is used.\n */ export const UnknownDynamicStaleTime = -1;\n/**\n * Converts a dynamic stale time (in seconds, as sent by the server in the `d`\n * field of the Flight response) to an absolute staleAt timestamp. When the\n * value is unknown, falls back to the global DYNAMIC_STALETIME_MS.\n */ export function computeDynamicStaleAt(now, dynamicStaleTimeSeconds) {\n return dynamicStaleTimeSeconds !== UnknownDynamicStaleTime ? now + dynamicStaleTimeSeconds * 1000 : now + DYNAMIC_STALETIME_MS;\n}\nimport { setInCacheMap, getFromCacheMap, createCacheMap } from './cache-map';\nconst bfcacheMap = createCacheMap();\nlet currentBfCacheVersion = 0;\nexport function invalidateBfCache() {\n if (typeof window === 'undefined') {\n return;\n }\n currentBfCacheVersion++;\n}\nexport function writeToBFCache(now, varyPath, rsc, prefetchRsc, head, prefetchHead, dynamicStaleAt) {\n if (typeof window === 'undefined') {\n return;\n }\n const entry = {\n rsc,\n prefetchRsc,\n // TODO: These fields will be removed from both BFCacheEntry and\n // SegmentCacheEntry. The head has its own separate cache entry.\n head,\n prefetchHead,\n ref: null,\n // TODO: This is just a heuristic. Getting the actual size of the segment\n // isn't feasible because it's part of a larger streaming response. The\n // LRU will still evict it, we just won't have a fully accurate total\n // LRU size. However, we'll probably remove the size tracking from the LRU\n // entirely and use memory pressure events instead.\n size: 100,\n navigatedAt: now,\n // A back/forward navigation will disregard the stale time. This field is\n // only relevant when staleTimes.dynamic is enabled or unstable_dynamicStaleTime\n // is exported by a page.\n staleAt: dynamicStaleAt,\n version: currentBfCacheVersion\n };\n const isRevalidation = false;\n setInCacheMap(bfcacheMap, varyPath, entry, isRevalidation);\n}\nexport function writeHeadToBFCache(now, varyPath, head, prefetchHead, dynamicStaleAt) {\n // Read the special \"segment\" that represents the head data.\n writeToBFCache(now, varyPath, head, prefetchHead, null, null, dynamicStaleAt);\n}\n/**\n * Update the staleAt of an existing BFCache entry. Used after a dynamic\n * response arrives with a per-page stale time from `unstable_dynamicStaleTime`.\n * The per-page value is authoritative — it overrides whatever staleAt was set\n * by the default DYNAMIC_STALETIME_MS.\n */ export function updateBFCacheEntryStaleAt(varyPath, newStaleAt) {\n if (typeof window === 'undefined') {\n return;\n }\n const isRevalidation = false;\n // Read with staleness bypass (-1) so we can update even stale entries\n const entry = getFromCacheMap(-1, currentBfCacheVersion, bfcacheMap, varyPath, isRevalidation);\n if (entry !== null) {\n entry.staleAt = newStaleAt;\n }\n}\nexport function readFromBFCache(varyPath) {\n if (typeof window === 'undefined') {\n return null;\n }\n const isRevalidation = false;\n return getFromCacheMap(// During a back/forward navigation, it doesn't matter how stale the data\n // might be. Pass -1 instead of the actual current time to bypass\n // staleness checks.\n -1, currentBfCacheVersion, bfcacheMap, varyPath, isRevalidation);\n}\nexport function readFromBFCacheDuringRegularNavigation(now, varyPath) {\n if (typeof window === 'undefined') {\n return null;\n }\n const isRevalidation = false;\n return getFromCacheMap(now, currentBfCacheVersion, bfcacheMap, varyPath, isRevalidation);\n}\n\n//# sourceMappingURL=bfcache.js.map","import { completeHardNavigation, navigate as navigateUsingSegmentCache } from '../../segment-cache/navigation';\nimport { getStaleTimeMs } from '../../segment-cache/cache';\nimport { FreshnessPolicy } from '../ppr-navigations';\n// These values are set by `define-env-plugin` (based on `nextConfig.experimental.staleTimes`)\n// and default to 5 minutes (static) / 0 seconds (dynamic)\nexport const DYNAMIC_STALETIME_MS = Number(process.env.__NEXT_CLIENT_ROUTER_DYNAMIC_STALETIME) * 1000;\nexport const STATIC_STALETIME_MS = getStaleTimeMs(Number(process.env.__NEXT_CLIENT_ROUTER_STATIC_STALETIME));\nexport function navigateReducer(state, action) {\n const { url, isExternalUrl, navigateType, scrollBehavior } = action;\n if (isExternalUrl) {\n return completeHardNavigation(state, url, navigateType);\n }\n // Handles case where `` tag is present,\n // which will trigger an MPA navigation.\n if (document.getElementById('__next-page-redirect')) {\n return completeHardNavigation(state, url, navigateType);\n }\n // Temporary glue code between the router reducer and the new navigation\n // implementation. Eventually we'll rewrite the router reducer to a\n // state machine.\n const currentUrl = new URL(state.canonicalUrl, location.origin);\n const currentRenderedSearch = state.renderedSearch;\n return navigateUsingSegmentCache(state, url, currentUrl, currentRenderedSearch, state.cache, state.tree, state.nextUrl, FreshnessPolicy.Default, scrollBehavior, navigateType);\n}\n\n//# sourceMappingURL=navigate-reducer.js.map","/**\n * App Router types - Client-safe types for the Next.js App Router\n *\n * This file contains type definitions that can be safely imported\n * by both client-side and server-side code without circular dependencies.\n */ export var PrefetchHint = /*#__PURE__*/ function(PrefetchHint) {\n // This segment has a runtime prefetch enabled (via unstable_instant with\n // prefetch: 'runtime'). Per-segment only, does not propagate to ancestors.\n PrefetchHint[PrefetchHint[\"HasRuntimePrefetch\"] = 1] = \"HasRuntimePrefetch\";\n // This segment or one of its descendants has an instant config defined\n // (any truthy unstable_instant, regardless of prefetch mode). Propagates\n // upward so the root segment reflects the entire subtree.\n PrefetchHint[PrefetchHint[\"SubtreeHasInstant\"] = 2] = \"SubtreeHasInstant\";\n // This segment itself has a loading.tsx boundary.\n PrefetchHint[PrefetchHint[\"SegmentHasLoadingBoundary\"] = 4] = \"SegmentHasLoadingBoundary\";\n // A descendant segment (but not this one) has a loading.tsx boundary.\n // Propagates upward so the root reflects the entire subtree.\n PrefetchHint[PrefetchHint[\"SubtreeHasLoadingBoundary\"] = 8] = \"SubtreeHasLoadingBoundary\";\n // This segment is the root layout of the application.\n PrefetchHint[PrefetchHint[\"IsRootLayout\"] = 16] = \"IsRootLayout\";\n // This segment's response includes its parent's data inlined into it.\n // Set at build time by the segment size measurement pass.\n PrefetchHint[PrefetchHint[\"ParentInlinedIntoSelf\"] = 32] = \"ParentInlinedIntoSelf\";\n // This segment's data is inlined into one of its children — don't fetch\n // it separately. Set at build time by the segment size measurement pass.\n PrefetchHint[PrefetchHint[\"InlinedIntoChild\"] = 64] = \"InlinedIntoChild\";\n // On a __PAGE__: this page's response includes the head (metadata/viewport)\n // at the end of its SegmentPrefetch[] array.\n PrefetchHint[PrefetchHint[\"HeadInlinedIntoSelf\"] = 128] = \"HeadInlinedIntoSelf\";\n // On the root hint node: the head was NOT inlined into any page — fetch\n // it separately. Absence of this bit means the head is bundled into a page.\n PrefetchHint[PrefetchHint[\"HeadOutlined\"] = 256] = \"HeadOutlined\";\n return PrefetchHint;\n}({});\n\n//# sourceMappingURL=app-router-types.js.map","/**\n * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.\n * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.\n * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.\n *\n * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)\n */ export const unstable_rethrow = typeof window === 'undefined' ? require('./unstable-rethrow.server').unstable_rethrow : require('./unstable-rethrow.browser').unstable_rethrow;\n\n//# sourceMappingURL=unstable-rethrow.js.map","// http://www.cse.yorku.ca/~oz/hash.html\n// More specifically, 32-bit hash via djbxor\n// (ref: https://gist.github.com/eplawless/52813b1d8ad9af510d85?permalink_comment_id=3367765#gistcomment-3367765)\n// This is due to number type differences between rust for turbopack to js number types,\n// where rust does not have easy way to repreesnt js's 53-bit float number type for the matching\n// overflow behavior. This is more `correct` in terms of having canonical hash across different runtime / implementation\n// as can gaurantee determinstic output from 32bit hash.\nexport function djb2Hash(str) {\n let hash = 5381;\n for(let i = 0; i < str.length; i++){\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash + char & 0xffffffff;\n }\n return hash >>> 0;\n}\nexport function hexHash(str) {\n return djb2Hash(str).toString(36).slice(0, 5);\n}\n\n//# sourceMappingURL=hash.js.map","import { PAGE_SEGMENT_KEY } from '../shared/lib/segment';\nimport { getCacheKeyForDynamicParam, parseDynamicParamFromURLPart, doesStaticSegmentAppearInURL, getRenderedPathname, getRenderedSearch } from './route-params';\nimport { createHrefFromUrl } from './components/router-reducer/create-href-from-url';\n// TODO: We should only have to export `normalizeFlightData`, however because the initial flight data\n// that gets passed to `createInitialRouterState` doesn't conform to the `FlightDataPath` type (it's missing the root segment)\n// we're currently exporting it so we can use it directly. This should be fixed as part of the unification of\n// the different ways we express `FlightSegmentPath`.\nexport function getFlightDataPartsFromPath(flightDataPath) {\n // Pick the last 4 items from the `FlightDataPath` to get the [tree, seedData, viewport, isHeadPartial].\n const flightDataPathLength = 4;\n // tree, seedData, and head are *always* the last three items in the `FlightDataPath`.\n const [tree, seedData, head, isHeadPartial] = flightDataPath.slice(-flightDataPathLength);\n // The `FlightSegmentPath` is everything except the last three items. For a root render, it won't be present.\n const segmentPath = flightDataPath.slice(0, -flightDataPathLength);\n return {\n // TODO: Unify these two segment path helpers. We are inconsistently pushing an empty segment (\"\")\n // to the start of the segment path in some places which makes it hard to use solely the segment path.\n // Look for \"// TODO-APP: remove ''\" in the codebase.\n pathToSegment: segmentPath.slice(0, -1),\n segmentPath,\n // if the `FlightDataPath` corresponds with the root, there'll be no segment path,\n // in which case we default to ''.\n segment: segmentPath[segmentPath.length - 1] ?? '',\n tree,\n seedData,\n head,\n isHeadPartial,\n isRootRender: flightDataPath.length === flightDataPathLength\n };\n}\nexport function createInitialRSCPayloadFromFallbackPrerender(response, fallbackInitialRSCPayload) {\n // This is a static fallback page. In order to hydrate the page, we need to\n // parse the client params from the URL, but to account for the possibility\n // that the page was rewritten, we need to check the response headers\n // for x-nextjs-rewritten-path or x-nextjs-rewritten-query headers. Since\n // we can't access the headers of the initial document response, the client\n // performs a fetch request to the current location. Since it's possible that\n // the fetch request will be dynamically rewritten to a different path than\n // the initial document, this fetch request delivers _all_ the hydration data\n // for the page; it was not inlined into the document, like it normally\n // would be.\n //\n // TODO: Consider treating the case where fetch is rewritten to a different\n // path from the document as a special deopt case. We should optimistically\n // assume this won't happen, inline the data into the document, and perform\n // a minimal request (like a HEAD or range request) to verify that the\n // response matches. Tricky to get right because we need to account for\n // all the different deployment environments we support, like output:\n // \"export\" mode, where we currently don't assume that custom response\n // headers are present.\n // Patch the Flight data sent by the server with the correct params parsed\n // from the URL + response object.\n const renderedPathname = getRenderedPathname(response);\n const renderedSearch = getRenderedSearch(response);\n const canonicalUrl = createHrefFromUrl(new URL(location.href));\n const originalFlightDataPath = fallbackInitialRSCPayload.f[0];\n const originalFlightRouterState = originalFlightDataPath[0];\n const payload = {\n c: canonicalUrl.split('/'),\n q: renderedSearch,\n i: fallbackInitialRSCPayload.i,\n f: [\n [\n fillInFallbackFlightRouterState(originalFlightRouterState, renderedPathname, renderedSearch),\n originalFlightDataPath[1],\n originalFlightDataPath[2],\n originalFlightDataPath[2]\n ]\n ],\n m: fallbackInitialRSCPayload.m,\n G: fallbackInitialRSCPayload.G,\n S: fallbackInitialRSCPayload.S,\n h: fallbackInitialRSCPayload.h\n };\n if (fallbackInitialRSCPayload.b) {\n payload.b = fallbackInitialRSCPayload.b;\n }\n return payload;\n}\nfunction fillInFallbackFlightRouterState(flightRouterState, renderedPathname, renderedSearch) {\n const pathnameParts = renderedPathname.split('/').filter((p)=>p !== '');\n const index = 0;\n return fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, index);\n}\nfunction fillInFallbackFlightRouterStateImpl(flightRouterState, renderedSearch, pathnameParts, pathnamePartsIndex) {\n const originalSegment = flightRouterState[0];\n let newSegment;\n let doesAppearInURL;\n if (typeof originalSegment === 'string') {\n newSegment = originalSegment;\n doesAppearInURL = doesStaticSegmentAppearInURL(originalSegment);\n } else {\n const paramName = originalSegment[0];\n const paramType = originalSegment[2];\n const staticSiblings = originalSegment[3];\n const paramValue = parseDynamicParamFromURLPart(paramType, pathnameParts, pathnamePartsIndex);\n const cacheKey = getCacheKeyForDynamicParam(paramValue, renderedSearch);\n newSegment = [\n paramName,\n cacheKey,\n paramType,\n staticSiblings\n ];\n doesAppearInURL = true;\n }\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = doesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex;\n const children = flightRouterState[1];\n const newChildren = {};\n for(let key in children){\n const childFlightRouterState = children[key];\n newChildren[key] = fillInFallbackFlightRouterStateImpl(childFlightRouterState, renderedSearch, pathnameParts, childPathnamePartsIndex);\n }\n const newState = [\n newSegment,\n newChildren,\n null,\n flightRouterState[3],\n flightRouterState[4]\n ];\n return newState;\n}\nexport function getNextFlightSegmentPath(flightSegmentPath) {\n // Since `FlightSegmentPath` is a repeated tuple of `Segment` and `ParallelRouteKey`, we slice off two items\n // to get the next segment path.\n return flightSegmentPath.slice(2);\n}\nexport function normalizeFlightData(flightData) {\n // FlightData can be a string when the server didn't respond with a proper flight response,\n // or when a redirect happens, to signal to the client that it needs to perform an MPA navigation.\n if (typeof flightData === 'string') {\n return flightData;\n }\n return flightData.map((flightDataPath)=>getFlightDataPartsFromPath(flightDataPath));\n}\n/**\n * This function is used to prepare the flight router state for the request.\n * It removes markers that are not needed by the server, and are purely used\n * for stashing state on the client.\n * @param flightRouterState - The flight router state to prepare.\n * @param isHmrRefresh - Whether this is an HMR refresh request.\n * @returns The prepared flight router state.\n */ export function prepareFlightRouterStateForRequest(flightRouterState, isHmrRefresh) {\n // HMR requests need the complete, unmodified state for proper functionality\n if (isHmrRefresh) {\n return encodeURIComponent(JSON.stringify(flightRouterState));\n }\n return encodeURIComponent(JSON.stringify(stripClientOnlyDataFromFlightRouterState(flightRouterState)));\n}\n/**\n * Recursively strips client-only data from FlightRouterState while preserving\n * server-needed information for proper rendering decisions.\n */ function stripClientOnlyDataFromFlightRouterState(flightRouterState) {\n const [segment, parallelRoutes, _refreshState, refreshMarker, prefetchHints] = flightRouterState;\n // Strip client-only data from the segment\n const cleanedSegment = stripClientOnlyDataFromSegment(segment);\n // Recursively process parallel routes\n const cleanedParallelRoutes = {};\n for (const [key, childState] of Object.entries(parallelRoutes)){\n cleanedParallelRoutes[key] = stripClientOnlyDataFromFlightRouterState(childState);\n }\n const result = [\n cleanedSegment,\n cleanedParallelRoutes\n ];\n if (refreshMarker) {\n result[2] = null // null slightly more compact than undefined\n ;\n result[3] = refreshMarker;\n }\n // Append optional fields if present\n if (prefetchHints !== undefined) {\n result[4] = prefetchHints;\n }\n // Everything else is used only by the client and is not needed for requests.\n return result;\n}\n/**\n * Strips client-only data from segments:\n * - Search parameters from __PAGE__ segments\n * - staticSiblings from dynamic segment tuples (only needed for client-side\n * prefetch reuse decisions)\n */ function stripClientOnlyDataFromSegment(segment) {\n if (typeof segment === 'string') {\n // Strip search params from __PAGE__ segments\n if (segment.startsWith(PAGE_SEGMENT_KEY + '?')) {\n return PAGE_SEGMENT_KEY;\n }\n return segment;\n }\n // Dynamic segment tuple: [paramName, paramCacheKey, paramType, staticSiblings]\n // Strip staticSiblings (4th element) since server doesn't need it\n const [paramName, paramCacheKey, paramType] = segment;\n return [\n paramName,\n paramCacheKey,\n paramType,\n null\n ];\n}\n\n//# sourceMappingURL=flight-data-helpers.js.map","import { PrefetchHint } from '../../../shared/lib/app-router-types';\nimport { matchSegment } from '../match-segments';\nimport { readOrCreateRouteCacheEntry, readOrCreateSegmentCacheEntry, fetchRouteOnCacheMiss, fetchSegmentOnCacheMiss, fetchInlinedSegmentsOnCacheMiss, EntryStatus, fetchSegmentPrefetchesUsingDynamicRequest, convertRouteTreeToFlightRouterState, readOrCreateRevalidatingSegmentEntry, upgradeToPendingSegment, overwriteRevalidatingSegmentCacheEntry, canNewFetchStrategyProvideMoreContent, attemptToFulfillDynamicSegmentFromBFCache, attemptToUpgradeSegmentFromBFCache } from './cache';\nimport { createCacheKey } from './cache-key';\nimport { FetchStrategy, PrefetchPriority } from './types';\nimport { getCurrentRouteCacheVersion, getCurrentSegmentCacheVersion } from './cache';\nimport { addSearchParamsIfPageSegment, PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { cleanup } from './lru';\nconst scheduleMicrotask = typeof queueMicrotask === 'function' ? queueMicrotask : (fn)=>Promise.resolve().then(fn).catch((error)=>setTimeout(()=>{\n throw error;\n }));\nconst taskHeap = [];\nlet inProgressRequests = 0;\nlet sortIdCounter = 0;\nlet didScheduleMicrotask = false;\n// The most recently hovered (or touched, etc) link, i.e. the most recent task\n// scheduled at Intent priority. There's only ever a single task at Intent\n// priority at a time. We reserve special network bandwidth for this task only.\nlet mostRecentlyHoveredLink = null;\n// CDN cache propagation delay after revalidation (in milliseconds)\nconst REVALIDATION_COOLDOWN_MS = 300;\n// Timeout handle for the revalidation cooldown. When non-null, prefetch\n// requests are blocked to allow CDN cache propagation.\nlet revalidationCooldownTimeoutHandle = null;\n/**\n * Called by the cache when revalidation occurs. Starts a cooldown period\n * during which prefetch requests are blocked to allow CDN cache propagation.\n */ export function startRevalidationCooldown() {\n // Clear any existing timeout in case multiple revalidations happen\n // in quick succession.\n if (revalidationCooldownTimeoutHandle !== null) {\n clearTimeout(revalidationCooldownTimeoutHandle);\n }\n // Schedule the cooldown to expire after the delay.\n revalidationCooldownTimeoutHandle = setTimeout(()=>{\n revalidationCooldownTimeoutHandle = null;\n // Retry the prefetch queue now that the cooldown has expired.\n pingPrefetchScheduler();\n }, REVALIDATION_COOLDOWN_MS);\n}\n/**\n * Initiates a prefetch task for the given URL. If a prefetch for the same URL\n * is already in progress, this will bump it to the top of the queue.\n *\n * This is not a user-facing function. By the time this is called, the href is\n * expected to be validated and normalized.\n *\n * @param key The RouteCacheKey to prefetch.\n * @param treeAtTimeOfPrefetch The app's current FlightRouterState\n * @param fetchStrategy Whether to prefetch dynamic data, in addition to\n * static data. This is used by ``.\n * @param _onComplete Called when the prefetch task finishes. Testing API only.\n */ export function schedulePrefetchTask(key, treeAtTimeOfPrefetch, fetchStrategy, priority, onInvalidate, _onComplete) {\n // Spawn a new prefetch task\n const task = {\n key,\n treeAtTimeOfPrefetch,\n routeCacheVersion: getCurrentRouteCacheVersion(),\n segmentCacheVersion: getCurrentSegmentCacheVersion(),\n priority,\n phase: 1,\n hasBackgroundWork: false,\n spawnedRuntimePrefetches: null,\n fetchStrategy,\n sortId: sortIdCounter++,\n isCanceled: false,\n onInvalidate,\n _heapIndex: -1\n };\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n task._onComplete = _onComplete;\n }\n trackMostRecentlyHoveredLink(task);\n heapPush(taskHeap, task);\n // Schedule an async task to process the queue.\n //\n // The main reason we process the queue in an async task is for batching.\n // It's common for a single JS task/event to trigger multiple prefetches.\n // By deferring to a microtask, we only process the queue once per JS task.\n // If they have different priorities, it also ensures they are processed in\n // the optimal order.\n pingPrefetchScheduler();\n return task;\n}\nexport function cancelPrefetchTask(task) {\n // Remove the prefetch task from the queue. If the task already completed,\n // then this is a no-op.\n //\n // We must also explicitly mark the task as canceled so that a blocked task\n // does not get added back to the queue when it's pinged by the network.\n task.isCanceled = true;\n heapDelete(taskHeap, task);\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // Call completion callback. In practice this shouldn't be reached for\n // test-initiated prefetches since cancellation is only used by the Link\n // component when elements scroll out of viewport.\n const onComplete = task._onComplete;\n task._onComplete = undefined;\n onComplete?.();\n }\n}\nexport function reschedulePrefetchTask(task, treeAtTimeOfPrefetch, fetchStrategy, priority) {\n // Bump the prefetch task to the top of the queue, as if it were a fresh\n // task. This is essentially the same as canceling the task and scheduling\n // a new one, except it reuses the original object.\n //\n // The primary use case is to increase the priority of a Link-initated\n // prefetch on hover.\n //\n // Note: _onComplete is not reset here because it's preserved on the same\n // task object. When the rescheduled task completes, the original callback\n // will still be invoked.\n // Un-cancel the task, in case it was previously canceled.\n task.isCanceled = false;\n task.phase = 1;\n // Assign a new sort ID to move it ahead of all other tasks at the same\n // priority level. (Higher sort IDs are processed first.)\n task.sortId = sortIdCounter++;\n task.priority = // If this task is the most recently hovered link, maintain its\n // Intent priority, even if the rescheduled priority is lower.\n task === mostRecentlyHoveredLink ? PrefetchPriority.Intent : priority;\n task.treeAtTimeOfPrefetch = treeAtTimeOfPrefetch;\n task.fetchStrategy = fetchStrategy;\n trackMostRecentlyHoveredLink(task);\n if (task._heapIndex !== -1) {\n // The task is already in the queue.\n heapResift(taskHeap, task);\n } else {\n heapPush(taskHeap, task);\n }\n pingPrefetchScheduler();\n}\nexport function isPrefetchTaskDirty(task, nextUrl, tree) {\n // This is used to quickly bail out of a prefetch task if the result is\n // guaranteed to not have changed since the task was initiated. This is\n // strictly an optimization — theoretically, if it always returned true, no\n // behavior should change because a full prefetch task will effectively\n // perform the same checks.\n return task.routeCacheVersion !== getCurrentRouteCacheVersion() || task.segmentCacheVersion !== getCurrentSegmentCacheVersion() || task.treeAtTimeOfPrefetch !== tree || task.key.nextUrl !== nextUrl;\n}\nfunction trackMostRecentlyHoveredLink(task) {\n // Track the mostly recently hovered link, i.e. the most recently scheduled\n // task at Intent priority. There must only be one such task at a time.\n if (task.priority === PrefetchPriority.Intent && task !== mostRecentlyHoveredLink) {\n if (mostRecentlyHoveredLink !== null) {\n // Bump the previously hovered link's priority down to Default.\n if (mostRecentlyHoveredLink.priority !== PrefetchPriority.Background) {\n mostRecentlyHoveredLink.priority = PrefetchPriority.Default;\n heapResift(taskHeap, mostRecentlyHoveredLink);\n }\n }\n mostRecentlyHoveredLink = task;\n }\n}\nexport function pingPrefetchScheduler() {\n if (didScheduleMicrotask) {\n // Already scheduled a task to process the queue\n return;\n }\n didScheduleMicrotask = true;\n scheduleMicrotask(processQueueInMicrotask);\n}\n/**\n * Checks if we've exceeded the maximum number of concurrent prefetch requests,\n * to avoid saturating the browser's internal network queue. This is a\n * cooperative limit — prefetch tasks should check this before issuing\n * new requests.\n *\n * Also checks if we're within the revalidation cooldown window, during which\n * prefetch requests are delayed to allow CDN cache propagation.\n */ function hasNetworkBandwidth(task) {\n // Check if we're within the revalidation cooldown window\n if (revalidationCooldownTimeoutHandle !== null) {\n // We're within the cooldown window. Return false to prevent prefetching.\n // When the cooldown expires, the timeout will call ensureWorkIsScheduled()\n // to retry the queue.\n return false;\n }\n // TODO: Also check if there's an in-progress navigation. We should never\n // add prefetch requests to the network queue if an actual navigation is\n // taking place, to ensure there's sufficient bandwidth for render-blocking\n // data and resources.\n // TODO: Consider reserving some amount of bandwidth for static prefetches.\n if (task.priority === PrefetchPriority.Intent) {\n // The most recently hovered link is allowed to exceed the default limit.\n //\n // The goal is to always have enough bandwidth to start a new prefetch\n // request when hovering over a link.\n //\n // However, because we don't abort in-progress requests, it's still possible\n // we'll run out of bandwidth. When links are hovered in quick succession,\n // there could be multiple hover requests running simultaneously.\n return inProgressRequests < 12;\n }\n // The default limit is lower than the limit for a hovered link.\n return inProgressRequests < 4;\n}\nfunction spawnPrefetchSubtask(prefetchSubtask) {\n // When the scheduler spawns an async task, we don't await its result.\n // Instead, the async task writes its result directly into the cache, then\n // pings the scheduler to continue.\n //\n // We process server responses streamingly, so the prefetch subtask will\n // likely resolve before we're finished receiving all the data. The subtask\n // result includes a promise that resolves once the network connection is\n // closed. The scheduler uses this to control network bandwidth by tracking\n // and limiting the number of concurrent requests.\n inProgressRequests++;\n return prefetchSubtask.then((result)=>{\n if (result === null) {\n // The prefetch task errored before it could start processing the\n // network stream. Assume the connection is closed.\n onPrefetchConnectionClosed();\n return null;\n }\n // Wait for the connection to close before freeing up more bandwidth.\n result.closed.then(onPrefetchConnectionClosed);\n return result.value;\n });\n}\nfunction onPrefetchConnectionClosed() {\n inProgressRequests--;\n // Notify the scheduler that we have more bandwidth, and can continue\n // processing tasks.\n pingPrefetchScheduler();\n}\n/**\n * Notify the scheduler that we've received new data for an in-progress\n * prefetch. The corresponding task will be added back to the queue (unless the\n * task has been canceled in the meantime).\n */ export function pingPrefetchTask(task) {\n // \"Ping\" a prefetch that's already in progress to notify it of new data.\n if (// Check if prefetch was canceled.\n task.isCanceled || // Check if prefetch is already queued.\n task._heapIndex !== -1) {\n return;\n }\n // Add the task back to the queue.\n heapPush(taskHeap, task);\n pingPrefetchScheduler();\n}\nfunction processQueueInMicrotask() {\n didScheduleMicrotask = false;\n // We aim to minimize how often we read the current time. Since nearly all\n // functions in the prefetch scheduler are synchronous, we can read the time\n // once and pass it as an argument wherever it's needed.\n const now = Date.now();\n // Process the task queue until we run out of network bandwidth.\n let task = heapPeek(taskHeap);\n while(task !== null && hasNetworkBandwidth(task)){\n task.routeCacheVersion = getCurrentRouteCacheVersion();\n task.segmentCacheVersion = getCurrentSegmentCacheVersion();\n const exitStatus = pingRoute(now, task);\n // These fields are only valid for a single attempt. Reset them after each\n // iteration of the task queue.\n const hasBackgroundWork = task.hasBackgroundWork;\n task.hasBackgroundWork = false;\n task.spawnedRuntimePrefetches = null;\n switch(exitStatus){\n case 0:\n // The task yielded because there are too many requests in progress.\n // Stop processing tasks until we have more bandwidth.\n return;\n case 1:\n // The task is blocked. It needs more data before it can proceed.\n // Keep the task out of the queue until the server responds.\n heapPop(taskHeap);\n // Continue to the next task\n task = heapPeek(taskHeap);\n continue;\n case 2:\n if (task.phase === 1) {\n // Finished prefetching the route tree. Proceed to prefetching\n // the segments.\n task.phase = 0;\n heapResift(taskHeap, task);\n } else if (hasBackgroundWork) {\n // The task spawned additional background work. Reschedule the task\n // at background priority.\n task.priority = PrefetchPriority.Background;\n heapResift(taskHeap, task);\n } else {\n // The prefetch is complete. Continue to the next task.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n // Notify the Instant Navigation Testing API that the prefetch has\n // completed, so it can proceed with navigation.\n const onComplete = task._onComplete;\n task._onComplete = undefined;\n onComplete?.();\n }\n heapPop(taskHeap);\n }\n task = heapPeek(taskHeap);\n continue;\n default:\n exitStatus;\n }\n }\n // Run LRU cleanup only when the scheduler is fully idle: no queued tasks and\n // no in-progress requests. At that point, all active prefetch tasks have\n // finished reading from the cache (moving recently used entries to the front\n // of the list), so only genuinely stale data gets evicted.\n if (task === null && inProgressRequests === 0) {\n cleanup();\n }\n}\n/**\n * Check this during a prefetch task to determine if background work can be\n * performed. If so, it evaluates to `true`. Otherwise, it returns `false`,\n * while also scheduling a background task to run later. Usage:\n *\n * @example\n * if (background(task)) {\n * // Perform background-pri work\n * }\n */ function background(task) {\n if (task.priority === PrefetchPriority.Background) {\n return true;\n }\n task.hasBackgroundWork = true;\n return false;\n}\nfunction pingRoute(now, task) {\n const key = task.key;\n const route = readOrCreateRouteCacheEntry(now, task, key);\n const exitStatus = pingRootRouteTree(now, task, route);\n if (exitStatus !== 0 && key.search !== '') {\n // If the URL has a non-empty search string, also prefetch the pathname\n // without the search string. We use the searchless route tree as a base for\n // optimistic routing; see requestOptimisticRouteCacheEntry for details.\n //\n // Note that we don't need to prefetch any of the segment data. Just the\n // route tree.\n //\n // TODO: This is a temporary solution; the plan is to replace this by adding\n // a wildcard lookup method to the TupleMap implementation. This is\n // non-trivial to implement because it needs to account for things like\n // fallback route entries, hence this temporary workaround.\n const url = new URL(key.pathname, location.origin);\n const keyWithoutSearch = createCacheKey(url.href, key.nextUrl);\n const routeWithoutSearch = readOrCreateRouteCacheEntry(now, task, keyWithoutSearch);\n switch(routeWithoutSearch.status){\n case EntryStatus.Empty:\n {\n if (background(task)) {\n routeWithoutSearch.status = EntryStatus.Pending;\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(routeWithoutSearch, keyWithoutSearch));\n }\n break;\n }\n case EntryStatus.Pending:\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n routeWithoutSearch;\n }\n }\n return exitStatus;\n}\nfunction pingRootRouteTree(now, task, route) {\n switch(route.status){\n case EntryStatus.Empty:\n {\n // Route is not yet cached, and there's no request already in progress.\n // Spawn a task to request the route, load it into the cache, and ping\n // the task to continue.\n // TODO: There are multiple strategies in the API for prefetching\n // a route. Currently we've only implemented the main one: per-segment,\n // static-data only.\n //\n // There's also ``\n // which prefetch both static *and* dynamic data.\n // Similarly, we need to fallback to the old, per-page\n // behavior if PPR is disabled for a route (via the incremental opt-in).\n //\n // Those cases will be handled here.\n spawnPrefetchSubtask(fetchRouteOnCacheMiss(route, task.key));\n // If the request takes longer than a minute, a subsequent request should\n // retry instead of waiting for this one. When the response is received,\n // this value will be replaced by a new value based on the stale time sent\n // from the server.\n // TODO: We should probably also manually abort the fetch task, to reclaim\n // server bandwidth.\n route.staleAt = now + 60 * 1000;\n // Upgrade to Pending so we know there's already a request in progress\n route.status = EntryStatus.Pending;\n // Intentional fallthrough to the Pending branch\n }\n case EntryStatus.Pending:\n {\n // Still pending. We can't start prefetching the segments until the route\n // tree has loaded. Add the task to the set of blocked tasks so that it\n // is notified when the route tree is ready.\n const blockedTasks = route.blockedTasks;\n if (blockedTasks === null) {\n route.blockedTasks = new Set([\n task\n ]);\n } else {\n blockedTasks.add(task);\n }\n return 1;\n }\n case EntryStatus.Rejected:\n {\n // Route tree failed to load. Treat as a 404.\n return 2;\n }\n case EntryStatus.Fulfilled:\n {\n if (task.phase !== 0) {\n // Do not prefetch segment data until we've entered the segment phase.\n return 2;\n }\n // Recursively fill in the segment tree.\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n const tree = route.tree;\n // A task's fetch strategy gets set to `PPR` for any \"auto\" prefetch.\n // If it turned out that the route isn't PPR-enabled, we need to use `LoadingBoundary` instead.\n // We don't need to do this for runtime prefetches, because those are only available in\n // `cacheComponents`, where every route is PPR.\n let fetchStrategy;\n if (tree.prefetchHints & PrefetchHint.SubtreeHasInstant) {\n // If `instant` is defined anywhere on the target route, ignore the\n // fetch strategy and switch to unified strategy used by Cache\n // Components (called `PPR` for now, will likely be renamed).\n //\n // In practice, this just means that a \"full\" prefetch () has no effect. You're meant to use Runtime\n // Prefetching instead — that's the new pattern that replaces\n // prefetch={true}.\n //\n // The reason we check for `instant` rather than the `cacheComponents`\n // flag is to support incremental adoption. `prefetch={true}` will\n // continue to work until you opt into `instant`.\n fetchStrategy = FetchStrategy.PPR;\n } else if (task.fetchStrategy === FetchStrategy.PPR) {\n fetchStrategy = route.supportsPerSegmentPrefetching ? FetchStrategy.PPR : FetchStrategy.LoadingBoundary;\n } else {\n fetchStrategy = task.fetchStrategy;\n }\n switch(fetchStrategy){\n case FetchStrategy.PPR:\n {\n // For Cache Components pages, each segment may be prefetched\n // statically or using a runtime request, based on various\n // configurations and heuristics. We'll do this in two passes: first\n // traverse the tree and perform all the static prefetches.\n //\n // Then, if there are any segments that need a runtime request,\n // do another pass to perform a runtime prefetch.\n pingStaticHead(now, task, route);\n const exitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, task.treeAtTimeOfPrefetch, tree);\n if (exitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n const spawnedRuntimePrefetches = task.spawnedRuntimePrefetches;\n if (spawnedRuntimePrefetches !== null) {\n // During the first pass, we discovered segments that require a\n // runtime prefetch. Do a second pass to construct a request tree.\n const spawnedEntries = new Map();\n pingRuntimeHead(now, task, route, spawnedEntries, FetchStrategy.PPRRuntime);\n const requestTree = pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries);\n let needsDynamicRequest = spawnedEntries.size > 0;\n if (needsDynamicRequest) {\n // Perform a dynamic prefetch request and populate the cache with\n // the result.\n spawnPrefetchSubtask(fetchSegmentPrefetchesUsingDynamicRequest(task, route, FetchStrategy.PPRRuntime, requestTree, spawnedEntries));\n }\n }\n return 2;\n }\n case FetchStrategy.Full:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.LoadingBoundary:\n {\n // Prefetch multiple segments using a single dynamic request.\n // TODO: We can consolidate this branch with previous one by modeling\n // it as if the first segment in the new tree has runtime prefetching\n // enabled. Will do this as a follow-up refactor. Might want to remove\n // the special metatdata case below first. In the meantime, it's not\n // really that much duplication, just would be nice to remove one of\n // these codepaths.\n const spawnedEntries = new Map();\n pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy);\n const dynamicRequestTree = diffRouteTreeAgainstCurrent(now, task, route, task.treeAtTimeOfPrefetch, tree, spawnedEntries, fetchStrategy);\n let needsDynamicRequest = spawnedEntries.size > 0;\n if (needsDynamicRequest) {\n spawnPrefetchSubtask(fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries));\n }\n return 2;\n }\n default:\n fetchStrategy;\n }\n break;\n }\n default:\n {\n route;\n }\n }\n return 2;\n}\nfunction pingStaticHead(now, task, route) {\n // The Head data for a page (metadata, viewport) is not really a route\n // segment, in the sense that it doesn't appear in the route tree. But we\n // store it in the cache as if it were, using a special key.\n pingStaticSegmentData(now, task, route, readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, route.metadata), task.key, route.metadata);\n}\nfunction pingRuntimeHead(now, task, route, spawnedEntries, fetchStrategy) {\n pingRouteTreeAndIncludeDynamicData(now, task, route, route.metadata, false, spawnedEntries, // When prefetching the head, there's no difference between Full\n // and LoadingBoundary\n fetchStrategy === FetchStrategy.LoadingBoundary ? FetchStrategy.Full : fetchStrategy);\n}\n// TODO: Rename dynamic -> runtime throughout this module\nfunction pingSharedPartOfCacheComponentsTree(now, task, route, oldTree, newTree) {\n // When Cache Components is enabled (or PPR, or a fully static route when PPR\n // is disabled; those cases are treated equivalently to Cache Components), we\n // start by prefetching each segment individually. Once we reach the \"new\"\n // part of the tree — the part that doesn't exist on the current page — we\n // may choose to switch to a runtime prefetch instead, based on the\n // information sent by the server in the route tree.\n //\n // The traversal starts in the \"shared\" part of the tree. Once we reach the\n // \"new\" part of the tree, we switch to a different traversal,\n // pingNewPartOfCacheComponentsTree.\n // Prefetch this segment's static data.\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, newTree);\n pingStaticSegmentData(now, task, route, segment, task.key, newTree);\n // Recursively ping the children.\n const oldTreeChildren = oldTree[1];\n const newTreeChildren = newTree.slots;\n if (newTreeChildren !== null) {\n for(const parallelRouteKey in newTreeChildren){\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n const newTreeChild = newTreeChildren[parallelRouteKey];\n const newTreeChildSegment = newTreeChild.segment;\n const oldTreeChild = oldTreeChildren[parallelRouteKey];\n const oldTreeChildSegment = oldTreeChild?.[0];\n let childExitStatus;\n if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) {\n // We're still in the \"shared\" part of the tree.\n childExitStatus = pingSharedPartOfCacheComponentsTree(now, task, route, oldTreeChild, newTreeChild);\n } else {\n // We've entered the \"new\" part of the tree. Switch\n // traversal functions.\n childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, newTreeChild);\n }\n if (childExitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n }\n }\n return 2;\n}\nfunction pingNewPartOfCacheComponentsTree(now, task, route, tree) {\n // We're now prefetching in the \"new\" part of the tree, the part that doesn't\n // exist on the current page. (In other words, we're deeper than the\n // shared layouts.) Segments in here default to being prefetched statically.\n // However, if the server instructs us to, we may switch to a runtime\n // prefetch instead. Traverse the tree and check at each segment.\n if (tree.prefetchHints & PrefetchHint.HasRuntimePrefetch) {\n // This route has a runtime prefetch response. Since we're below the shared\n // layout, everything from this point should be prefetched using a single,\n // combined runtime request, rather than using per-segment static requests.\n // This is true even if some of the child segments are known to be fully\n // static — once we've decided to perform a runtime prefetch, we might as\n // well respond with the static segments in the same roundtrip. (That's how\n // regular navigations work, too.) We'll still skip over segments that are\n // already cached, though.\n //\n // It's the server's responsibility to set a reasonable value of\n // `hasRuntimePrefetch`. Currently it's user-defined, but eventually, the\n // server may send a value of `false` even if the user opts in, if it\n // determines during build that the route is always fully static. There are\n // more optimizations we can do once we implement fallback param\n // tracking, too.\n //\n // Use the task object to collect the segments that need a runtime prefetch.\n // This will signal to the outer task queue that a second traversal is\n // required to construct a request tree.\n if (task.spawnedRuntimePrefetches === null) {\n task.spawnedRuntimePrefetches = new Set([\n tree.requestKey\n ]);\n } else {\n task.spawnedRuntimePrefetches.add(tree.requestKey);\n }\n // Then exit the traversal without prefetching anything further.\n return 2;\n }\n // This segment should not be runtime prefetched. Prefetch its static data.\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, tree);\n pingStaticSegmentData(now, task, route, segment, task.key, tree);\n if (tree.slots !== null) {\n if (!hasNetworkBandwidth(task)) {\n // Stop prefetching segments until there's more bandwidth.\n return 0;\n }\n // Recursively ping the children.\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n const childExitStatus = pingNewPartOfCacheComponentsTree(now, task, route, childTree);\n if (childExitStatus === 0) {\n // Child yielded without finishing.\n return 0;\n }\n }\n }\n // This segment and all its children have finished prefetching.\n return 2;\n}\nfunction diffRouteTreeAgainstCurrent(now, task, route, oldTree, newTree, spawnedEntries, fetchStrategy) {\n // This is a single recursive traversal that does multiple things:\n // - Finds the parts of the target route (newTree) that are not part of\n // of the current page (oldTree) by diffing them, using the same algorithm\n // as a real navigation.\n // - Constructs a request tree (FlightRouterState) that describes which\n // segments need to be prefetched and which ones are already cached.\n // - Creates a set of pending cache entries for the segments that need to\n // be prefetched, so that a subsequent prefetch task does not request the\n // same segments again.\n const oldTreeChildren = oldTree[1];\n const newTreeChildren = newTree.slots;\n let requestTreeChildren = {};\n if (newTreeChildren !== null) {\n for(const parallelRouteKey in newTreeChildren){\n const newTreeChild = newTreeChildren[parallelRouteKey];\n const newTreeChildSegment = newTreeChild.segment;\n const oldTreeChild = oldTreeChildren[parallelRouteKey];\n const oldTreeChildSegment = oldTreeChild?.[0];\n if (oldTreeChildSegment !== undefined && doesCurrentSegmentMatchCachedSegment(route, newTreeChildSegment, oldTreeChildSegment)) {\n // This segment is already part of the current route. Keep traversing.\n const requestTreeChild = diffRouteTreeAgainstCurrent(now, task, route, oldTreeChild, newTreeChild, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n } else {\n // This segment is not part of the current route. We're entering a\n // part of the tree that we need to prefetch (unless everything is\n // already cached).\n switch(fetchStrategy){\n case FetchStrategy.LoadingBoundary:\n {\n // When PPR is disabled, we can't prefetch per segment. We must\n // fallback to the old prefetch behavior and send a dynamic request.\n // Only routes that include a loading boundary can be prefetched in\n // this way.\n //\n // This is simlar to a \"full\" prefetch, but we're much more\n // conservative about which segments to include in the request.\n //\n // The server will only render up to the first loading boundary\n // inside new part of the tree. If there's no loading boundary\n // anywhere in the tree, the server will never return any data, so\n // we can skip the request.\n const subtreeHasLoadingBoundary = (newTreeChild.prefetchHints & (PrefetchHint.SegmentHasLoadingBoundary | PrefetchHint.SubtreeHasLoadingBoundary)) !== 0;\n const requestTreeChild = subtreeHasLoadingBoundary ? pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, newTreeChild, null, spawnedEntries) : convertRouteTreeToFlightRouterState(newTreeChild);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n case FetchStrategy.PPRRuntime:\n {\n // This is a runtime prefetch. Fetch all cacheable data in the tree,\n // not just the static PPR shell.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n case FetchStrategy.Full:\n {\n // This is a \"full\" prefetch. Fetch all the data in the tree, both\n // static and dynamic. We issue roughly the same request that we\n // would during a real navigation. The goal is that once the\n // navigation occurs, the router should not have to fetch any\n // additional data.\n //\n // Although the response will include dynamic data, opting into a\n // Full prefetch — via — implicitly\n // instructs the cache to treat the response as \"static\", or non-\n // dynamic, since the whole point is to cache it for\n // future navigations.\n //\n // Construct a tree (currently a FlightRouterState) that represents\n // which segments need to be prefetched and which ones are already\n // cached. If the tree is empty, then we can exit. Otherwise, we'll\n // send the request tree to the server and use the response to\n // populate the segment cache.\n const requestTreeChild = pingRouteTreeAndIncludeDynamicData(now, task, route, newTreeChild, false, spawnedEntries, fetchStrategy);\n requestTreeChildren[parallelRouteKey] = requestTreeChild;\n break;\n }\n default:\n fetchStrategy;\n }\n }\n }\n }\n const requestTree = [\n newTree.segment,\n requestTreeChildren,\n null,\n null\n ];\n return requestTree;\n}\nfunction pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, tree, refetchMarkerContext, spawnedEntries) {\n // This function is similar to pingRouteTreeAndIncludeDynamicData, except the\n // server is only going to return a minimal loading state — it will stop\n // rendering at the first loading boundary. Whereas a Full prefetch is\n // intentionally aggressive and tries to pretfetch all the data that will be\n // needed for a navigation, a LoadingBoundary prefetch is much more\n // conservative. For example, it will omit from the request tree any segment\n // that is already cached, regardles of whether it's partial or full. By\n // contrast, a Full prefetch will refetch partial segments.\n // \"inside-shared-layout\" tells the server where to start looking for a\n // loading boundary.\n let refetchMarker = refetchMarkerContext === null ? 'inside-shared-layout' : null;\n const segment = readOrCreateSegmentCacheEntry(now, task.fetchStrategy, tree);\n switch(segment.status){\n case EntryStatus.Empty:\n {\n // This segment is not cached. Add a refetch marker so the server knows\n // to start rendering here.\n // TODO: Instead of a \"refetch\" marker, we could just omit this subtree's\n // FlightRouterState from the request tree. I think this would probably\n // already work even without any updates to the server. For consistency,\n // though, I'll send the full tree and we'll look into this later as part\n // of a larger redesign of the request protocol.\n // Add the pending cache entry to the result map.\n spawnedEntries.set(tree.requestKey, upgradeToPendingSegment(segment, // Set the fetch strategy to LoadingBoundary to indicate that the server\n // might not include it in the pending response. If another route is able\n // to issue a per-segment request, we'll do that in the background.\n FetchStrategy.LoadingBoundary));\n if (refetchMarkerContext !== 'refetch') {\n refetchMarker = refetchMarkerContext = 'refetch';\n } else {\n // There's already a parent with a refetch marker, so we don't need\n // to add another one.\n }\n break;\n }\n case EntryStatus.Fulfilled:\n {\n // The segment is already cached.\n const segmentHasLoadingBoundary = (tree.prefetchHints & PrefetchHint.SegmentHasLoadingBoundary) !== 0;\n if (segmentHasLoadingBoundary) {\n // This segment has a loading boundary, which means the server won't\n // render its children. So there's nothing left to prefetch along this\n // path. We can bail out.\n return convertRouteTreeToFlightRouterState(tree);\n }\n break;\n }\n case EntryStatus.Pending:\n {\n break;\n }\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n segment;\n }\n const requestTreeChildren = {};\n if (tree.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingPPRDisabledRouteTreeUpToLoadingBoundary(now, task, route, childTree, refetchMarkerContext, spawnedEntries);\n }\n }\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker\n ];\n return requestTree;\n}\nfunction pingRouteTreeAndIncludeDynamicData(now, task, route, tree, isInsideRefetchingParent, spawnedEntries, fetchStrategy) {\n // The tree we're constructing is the same shape as the tree we're navigating\n // to. But even though this is a \"new\" tree, some of the individual segments\n // may be cached as a result of other route prefetches.\n //\n // So we need to find the first uncached segment along each path add an\n // explicit \"refetch\" marker so the server knows where to start rendering.\n // Once the server starts rendering along a path, it keeps rendering the\n // entire subtree.\n const segment = readOrCreateSegmentCacheEntry(now, // Note that `fetchStrategy` might be different from `task.fetchStrategy`,\n // and we have to use the former here.\n // We can have a task with `FetchStrategy.PPR` where some of its segments are configured to\n // always use runtime prefetching (via `export const prefetch`), and those should check for\n // entries that include search params.\n fetchStrategy, tree);\n let spawnedSegment = null;\n switch(segment.status){\n case EntryStatus.Empty:\n {\n // This segment is not cached.\n if (fetchStrategy === FetchStrategy.Full) {\n // Check if there's a matching entry in the bfcache. If so, fulfill the\n // segment using the bfcache entry instead of issuing a new request.\n const fulfilled = attemptToFulfillDynamicSegmentFromBFCache(now, segment, tree);\n if (fulfilled !== null) {\n break;\n }\n }\n // Include it in the request.\n spawnedSegment = upgradeToPendingSegment(segment, fetchStrategy);\n break;\n }\n case EntryStatus.Fulfilled:\n {\n // The segment is already cached.\n if (segment.isPartial && canNewFetchStrategyProvideMoreContent(segment.fetchStrategy, fetchStrategy)) {\n // The cached segment contains dynamic holes, and was prefetched using a\n // less specific strategy than the current one. This means we're in one\n // of these cases:\n // - we have a static prefetch, and we're doing a runtime prefetch\n // - we have a static or runtime prefetch, and we're doing a Full\n // prefetch (or a navigation).\n // In either case, we need to include it in the request to get a more\n // specific (or full) version. However, if there's a non-stale bfcache\n // entry from a previous navigation, prefer that over making a new\n // request.\n if (fetchStrategy === FetchStrategy.Full) {\n const fulfilled = attemptToUpgradeSegmentFromBFCache(now, tree);\n if (fulfilled !== null) {\n break;\n }\n }\n spawnedSegment = pingFullSegmentRevalidation(now, tree, fetchStrategy);\n }\n break;\n }\n case EntryStatus.Pending:\n case EntryStatus.Rejected:\n {\n // There's either another prefetch currently in progress, or the previous\n // attempt failed. If the new strategy can provide more content, fetch it again.\n if (canNewFetchStrategyProvideMoreContent(segment.fetchStrategy, fetchStrategy)) {\n spawnedSegment = pingFullSegmentRevalidation(now, tree, fetchStrategy);\n }\n break;\n }\n default:\n segment;\n }\n const requestTreeChildren = {};\n if (tree.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingRouteTreeAndIncludeDynamicData(now, task, route, childTree, isInsideRefetchingParent || spawnedSegment !== null, spawnedEntries, fetchStrategy);\n }\n }\n if (spawnedSegment !== null) {\n // Add the pending entry to the result map.\n spawnedEntries.set(tree.requestKey, spawnedSegment);\n }\n // Don't bother to add a refetch marker if one is already present in a parent.\n const refetchMarker = !isInsideRefetchingParent && spawnedSegment !== null ? 'refetch' : null;\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n refetchMarker\n ];\n return requestTree;\n}\nfunction pingRuntimePrefetches(now, task, route, tree, spawnedRuntimePrefetches, spawnedEntries) {\n // Construct a request tree (FlightRouterState) for a runtime prefetch. If\n // a segment is part of the runtime prefetch, the tree is constructed by\n // diffing against what's already in the prefetch cache. Otherwise, we send\n // a regular FlightRouterState with no special markers.\n //\n // See pingRouteTreeAndIncludeDynamicData for details.\n if (spawnedRuntimePrefetches.has(tree.requestKey)) {\n // This segment needs a runtime prefetch.\n return pingRouteTreeAndIncludeDynamicData(now, task, route, tree, false, spawnedEntries, FetchStrategy.PPRRuntime);\n }\n let requestTreeChildren = {};\n const slots = tree.slots;\n if (slots !== null) {\n for(const parallelRouteKey in slots){\n const childTree = slots[parallelRouteKey];\n requestTreeChildren[parallelRouteKey] = pingRuntimePrefetches(now, task, route, childTree, spawnedRuntimePrefetches, spawnedEntries);\n }\n }\n // This segment is not part of the runtime prefetch. Clone the base tree.\n const requestTree = [\n tree.segment,\n requestTreeChildren,\n null,\n null\n ];\n return requestTree;\n}\nfunction pingStaticSegmentData(now, task, route, segment, routeKey, tree) {\n switch(segment.status){\n case EntryStatus.Empty:\n if (process.env.__NEXT_PREFETCH_INLINING) {\n // All segment data for this route is bundled into a single\n // /_inlined response. Walk the full route tree to collect all\n // Empty segments, upgrade them to Pending, and spawn one\n // bundled request. Subsequent calls for other segments in the\n // same tree will see them as Pending and skip.\n const inlinedEntries = collectInlinedEntries(now, route);\n if (inlinedEntries.size > 0) {\n spawnPrefetchSubtask(fetchInlinedSegmentsOnCacheMiss(route, routeKey, route.tree, inlinedEntries));\n }\n break;\n }\n // Upgrade to Pending so we know there's already a request in progress\n spawnPrefetchSubtask(fetchSegmentOnCacheMiss(route, upgradeToPendingSegment(segment, FetchStrategy.PPR), routeKey, tree));\n break;\n case EntryStatus.Pending:\n {\n // There's already a request in progress. Depending on what kind of\n // request it is, we may want to revalidate it.\n switch(segment.fetchStrategy){\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n break;\n case FetchStrategy.LoadingBoundary:\n // There's a pending request, but because it's using the old\n // prefetching strategy, we can't be sure if it will be fulfilled by\n // the response — it might be inside the loading boundary. Perform\n // a revalidation, but because it's speculative, wait to do it at\n // background priority.\n if (background(task)) {\n // TODO: Instead of speculatively revalidating, consider including\n // `hasLoading` in the route tree prefetch response.\n pingPPRSegmentRevalidation(now, route, routeKey, tree);\n }\n break;\n default:\n segment.fetchStrategy;\n }\n break;\n }\n case EntryStatus.Rejected:\n {\n // The existing entry in the cache was rejected. Depending on how it\n // was originally fetched, we may or may not want to revalidate it.\n switch(segment.fetchStrategy){\n case FetchStrategy.PPR:\n case FetchStrategy.PPRRuntime:\n case FetchStrategy.Full:\n break;\n case FetchStrategy.LoadingBoundary:\n // There's a rejected entry, but it was fetched using the loading\n // boundary strategy. So the reason it wasn't returned by the server\n // might just be because it was inside a loading boundary. Or because\n // there was a dynamic rewrite. Revalidate it using the per-\n // segment strategy.\n //\n // Because a rejected segment will definitely prevent the segment (and\n // all of its children) from rendering, we perform this revalidation\n // immediately instead of deferring it to a background task.\n pingPPRSegmentRevalidation(now, route, routeKey, tree);\n break;\n default:\n segment.fetchStrategy;\n }\n break;\n }\n case EntryStatus.Fulfilled:\n break;\n default:\n segment;\n }\n// Segments do not have dependent tasks, so once the prefetch is initiated,\n// there's nothing else for us to do (except write the server data into the\n// entry, which is handled by `fetchSegmentOnCacheMiss`).\n}\n/**\n * Walks the RouteTree (including the head metadata) and collects any segments\n * that are still Empty into a Map, upgrading them to Pending. These entries\n * will be fulfilled by the inlined prefetch response.\n */ function collectInlinedEntries(now, route) {\n const entries = new Map();\n collectInlinedEntriesImpl(now, route.tree, entries);\n // Also collect the head/metadata entry.\n const headEntry = readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, route.metadata);\n if (headEntry.status === EntryStatus.Empty) {\n entries.set(route.metadata.requestKey, upgradeToPendingSegment(headEntry, FetchStrategy.PPR));\n }\n return entries;\n}\nfunction collectInlinedEntriesImpl(now, tree, entries) {\n const entry = readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, tree);\n if (entry.status === EntryStatus.Empty) {\n entries.set(tree.requestKey, upgradeToPendingSegment(entry, FetchStrategy.PPR));\n }\n if (tree.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n collectInlinedEntriesImpl(now, tree.slots[parallelRouteKey], entries);\n }\n }\n}\nfunction pingPPRSegmentRevalidation(now, route, routeKey, tree) {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(now, FetchStrategy.PPR, tree);\n switch(revalidatingSegment.status){\n case EntryStatus.Empty:\n // Spawn a prefetch request. The fetch function handles upserting\n // the entry at the correct fulfilled vary path upon completion.\n spawnPrefetchSubtask(fetchSegmentOnCacheMiss(route, upgradeToPendingSegment(revalidatingSegment, FetchStrategy.PPR), routeKey, tree));\n break;\n case EntryStatus.Pending:\n break;\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n break;\n default:\n revalidatingSegment;\n }\n}\nfunction pingFullSegmentRevalidation(now, tree, fetchStrategy) {\n const revalidatingSegment = readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, tree);\n if (revalidatingSegment.status === EntryStatus.Empty) {\n // During a Full/PPRRuntime prefetch, a single dynamic request is made for all the\n // segments that we need. So we don't initiate a request here directly. By\n // returning a pending entry from this function, it signals to the caller\n // that this segment should be included in the request that's sent to\n // the server.\n const pendingSegment = upgradeToPendingSegment(revalidatingSegment, fetchStrategy);\n // The upsert is handled by fulfillEntrySpawnedByRuntimePrefetch\n // when the dynamic prefetch response is written into the cache.\n return pendingSegment;\n } else {\n // There's already a revalidation in progress.\n const nonEmptyRevalidatingSegment = revalidatingSegment;\n if (canNewFetchStrategyProvideMoreContent(nonEmptyRevalidatingSegment.fetchStrategy, fetchStrategy)) {\n // The existing revalidation was fetched using a less specific strategy.\n // Reset it and start a new revalidation.\n const emptySegment = overwriteRevalidatingSegmentCacheEntry(now, fetchStrategy, tree);\n const pendingSegment = upgradeToPendingSegment(emptySegment, fetchStrategy);\n // The upsert is handled by fulfillEntrySpawnedByRuntimePrefetch\n // when the dynamic prefetch response is written into the cache.\n return pendingSegment;\n }\n switch(nonEmptyRevalidatingSegment.status){\n case EntryStatus.Pending:\n // There's already an in-progress prefetch that includes this segment.\n return null;\n case EntryStatus.Fulfilled:\n case EntryStatus.Rejected:\n // A previous revalidation attempt finished, but we chose not to replace\n // the existing entry in the cache. Don't try again until or unless the\n // revalidation entry expires.\n return null;\n default:\n nonEmptyRevalidatingSegment;\n return null;\n }\n }\n}\nfunction doesCurrentSegmentMatchCachedSegment(route, currentSegment, cachedSegment) {\n if (cachedSegment === PAGE_SEGMENT_KEY) {\n // In the FlightRouterState stored by the router, the page segment has the\n // rendered search params appended to the name of the segment. In the\n // prefetch cache, however, this is stored separately. So, when comparing\n // the router's current FlightRouterState to the cached FlightRouterState,\n // we need to make sure we compare both parts of the segment.\n // TODO: This is not modeled clearly. We use the same type,\n // FlightRouterState, for both the CacheNode tree _and_ the prefetch cache\n // _and_ the server response format, when conceptually those are three\n // different things and treated in different ways. We should encode more of\n // this information into the type design so mistakes are less likely.\n return currentSegment === addSearchParamsIfPageSegment(PAGE_SEGMENT_KEY, Object.fromEntries(new URLSearchParams(route.renderedSearch)));\n }\n // Non-page segments are compared using the same function as the server\n return matchSegment(cachedSegment, currentSegment);\n}\n// -----------------------------------------------------------------------------\n// The remainder of the module is a MinHeap implementation. Try not to put any\n// logic below here unless it's related to the heap algorithm. We can extract\n// this to a separate module if/when we need multiple kinds of heaps.\n// -----------------------------------------------------------------------------\nfunction compareQueuePriority(a, b) {\n // Since the queue is a MinHeap, this should return a positive number if b is\n // higher priority than a, and a negative number if a is higher priority\n // than b.\n // `priority` is an integer, where higher numbers are higher priority.\n const priorityDiff = b.priority - a.priority;\n if (priorityDiff !== 0) {\n return priorityDiff;\n }\n // If the priority is the same, check which phase the prefetch is in — is it\n // prefetching the route tree, or the segments? Route trees are prioritized.\n const phaseDiff = b.phase - a.phase;\n if (phaseDiff !== 0) {\n return phaseDiff;\n }\n // Finally, check the insertion order. `sortId` is an incrementing counter\n // assigned to prefetches. We want to process the newest prefetches first.\n return b.sortId - a.sortId;\n}\nfunction heapPush(heap, node) {\n const index = heap.length;\n heap.push(node);\n node._heapIndex = index;\n heapSiftUp(heap, node, index);\n}\nfunction heapPeek(heap) {\n return heap.length === 0 ? null : heap[0];\n}\nfunction heapPop(heap) {\n if (heap.length === 0) {\n return null;\n }\n const first = heap[0];\n first._heapIndex = -1;\n const last = heap.pop();\n if (last !== first) {\n heap[0] = last;\n last._heapIndex = 0;\n heapSiftDown(heap, last, 0);\n }\n return first;\n}\nfunction heapDelete(heap, node) {\n const index = node._heapIndex;\n if (index !== -1) {\n node._heapIndex = -1;\n if (heap.length !== 0) {\n const last = heap.pop();\n if (last !== node) {\n heap[index] = last;\n last._heapIndex = index;\n heapSiftDown(heap, last, index);\n }\n }\n }\n}\nfunction heapResift(heap, node) {\n const index = node._heapIndex;\n if (index !== -1) {\n if (index === 0) {\n heapSiftDown(heap, node, 0);\n } else {\n const parentIndex = index - 1 >>> 1;\n const parent = heap[parentIndex];\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Sift up.\n heapSiftUp(heap, node, index);\n } else {\n // The parent is smaller (or equal). Sift down.\n heapSiftDown(heap, node, index);\n }\n }\n }\n}\nfunction heapSiftUp(heap, node, i) {\n let index = i;\n while(index > 0){\n const parentIndex = index - 1 >>> 1;\n const parent = heap[parentIndex];\n if (compareQueuePriority(parent, node) > 0) {\n // The parent is larger. Swap positions.\n heap[parentIndex] = node;\n node._heapIndex = parentIndex;\n heap[index] = parent;\n parent._heapIndex = index;\n index = parentIndex;\n } else {\n // The parent is smaller. Exit.\n return;\n }\n }\n}\nfunction heapSiftDown(heap, node, i) {\n let index = i;\n const length = heap.length;\n const halfLength = length >>> 1;\n while(index < halfLength){\n const leftIndex = (index + 1) * 2 - 1;\n const left = heap[leftIndex];\n const rightIndex = leftIndex + 1;\n const right = heap[rightIndex];\n // If the left or right node is smaller, swap with the smaller of those.\n if (compareQueuePriority(left, node) < 0) {\n if (rightIndex < length && compareQueuePriority(right, left) < 0) {\n heap[index] = right;\n right._heapIndex = index;\n heap[rightIndex] = node;\n node._heapIndex = rightIndex;\n index = rightIndex;\n } else {\n heap[index] = left;\n left._heapIndex = index;\n heap[leftIndex] = node;\n node._heapIndex = leftIndex;\n index = leftIndex;\n }\n } else if (rightIndex < length && compareQueuePriority(right, node) < 0) {\n heap[index] = right;\n right._heapIndex = index;\n heap[rightIndex] = node;\n node._heapIndex = rightIndex;\n index = rightIndex;\n } else {\n // Neither child is smaller. Exit.\n return;\n }\n }\n}\n\n//# sourceMappingURL=scheduler.js.map","/**\n * Vary Params Decoding\n *\n * This module is shared between server and client.\n */ /**\n * Synchronously reads vary params from a thenable.\n *\n * By the time this is called (client-side or in collectSegmentData), the\n * thenable should already be fulfilled because the Flight stream has been\n * fully received. We check the status synchronously to avoid unnecessary\n * microtasks.\n *\n * Returns null if the thenable is still pending (which shouldn't happen in\n * normal operation - it indicates the server failed to track vary params).\n */ export function readVaryParams(thenable) {\n // Attach a no-op listener to force Flight to synchronously resolve the\n // thenable. When a thenable arrives from the Flight stream, it may be in an\n // intermediate 'resolved_model' state (data received but not unwrapped).\n // Calling .then() triggers Flight to transition it to 'fulfilled', making\n // the value available synchronously. React uses this same optimization\n // internally to avoid unnecessary microtasks.\n thenable.then(noop);\n // If the thenable is still not 'fulfilled' after calling .then(), the server\n // failed to resolve it before the stream ended. Treat as unknown.\n if (thenable.status !== 'fulfilled') {\n return null;\n }\n return thenable.value;\n}\nconst noop = ()=>{};\n\n//# sourceMappingURL=vary-params-decoding.js.map","import { readVaryParams } from '../../../shared/lib/segment-cache/vary-params-decoding';\nimport { NEXT_DID_POSTPONE_HEADER, NEXT_INSTANT_PREFETCH_HEADER, NEXT_ROUTER_PREFETCH_HEADER, NEXT_ROUTER_SEGMENT_PREFETCH_HEADER, NEXT_ROUTER_STALE_TIME_HEADER, NEXT_ROUTER_STATE_TREE_HEADER, NEXT_URL, RSC_CONTENT_TYPE_HEADER, RSC_HEADER } from '../app-router-headers';\nimport { createFetch, createFromNextReadableStream } from '../router-reducer/fetch-server-response';\nimport { pingPrefetchTask, isPrefetchTaskDirty } from './scheduler';\nimport { getRouteVaryPath, getFulfilledRouteVaryPath, getFulfilledSegmentVaryPath, getSegmentVaryPathForRequest, appendLayoutVaryPath, finalizeLayoutVaryPath, finalizePageVaryPath, clonePageVaryPathWithNewSearchParams, finalizeMetadataVaryPath, getPartialPageVaryPath, getPartialLayoutVaryPath, getRenderedSearchFromVaryPath } from './vary-path';\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url';\nimport { createCacheKey as createPrefetchRequestKey } from './cache-key';\nimport { doesStaticSegmentAppearInURL, getCacheKeyForDynamicParam, getRenderedPathname, getRenderedSearch, parseDynamicParamFromURLPart } from '../../route-params';\nimport { createCacheMap, getFromCacheMap, setInCacheMap, setSizeInCacheMap, deleteFromCacheMap, isValueExpired } from './cache-map';\nimport { appendSegmentRequestKeyPart, convertSegmentPathToStaticExportFilename, createSegmentRequestKeyPart, HEAD_REQUEST_KEY, ROOT_SEGMENT_REQUEST_KEY } from '../../../shared/lib/segment-cache/segment-value-encoding';\nimport { normalizeFlightData, prepareFlightRouterStateForRequest } from '../../flight-data-helpers';\nimport { STATIC_STALETIME_MS } from '../router-reducer/reducers/navigate-reducer';\nimport { pingVisibleLinks } from '../links';\nimport { PAGE_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { FetchStrategy } from './types';\nimport { createPromiseWithResolvers } from '../../../shared/lib/promise-with-resolvers';\nimport { readFromBFCache, UnknownDynamicStaleTime } from './bfcache';\nimport { discoverKnownRoute, matchKnownRoute } from './optimistic-routes';\nimport { convertServerPatchToFullTree } from './navigation';\nimport { getNavigationBuildId } from '../../navigation-build-id';\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants';\n/**\n * Ensures a minimum stale time of 30s to avoid issues where the server sends a too\n * short-lived stale time, which would prevent anything from being prefetched.\n */ export function getStaleTimeMs(staleTimeSeconds) {\n return Math.max(staleTimeSeconds, 30) * 1000;\n}\n/**\n * Tracks the status of a cache entry as it progresses from no data (Empty),\n * waiting for server data (Pending), and finished (either Fulfilled or\n * Rejected depending on the response from the server.\n */ export var EntryStatus = /*#__PURE__*/ function(EntryStatus) {\n EntryStatus[EntryStatus[\"Empty\"] = 0] = \"Empty\";\n EntryStatus[EntryStatus[\"Pending\"] = 1] = \"Pending\";\n EntryStatus[EntryStatus[\"Fulfilled\"] = 2] = \"Fulfilled\";\n EntryStatus[EntryStatus[\"Rejected\"] = 3] = \"Rejected\";\n return EntryStatus;\n}({});\nconst isOutputExportMode = process.env.NODE_ENV === 'production' && process.env.__NEXT_CONFIG_OUTPUT === 'export';\nconst MetadataOnlyRequestTree = [\n '',\n {},\n null,\n 'metadata-only'\n];\nlet routeCacheMap = createCacheMap();\nlet segmentCacheMap = createCacheMap();\n// All invalidation listeners for the whole cache are tracked in single set.\n// Since we don't yet support tag or path-based invalidation, there's no point\n// tracking them any more granularly than this. Once we add granular\n// invalidation, that may change, though generally the model is to just notify\n// the listeners and allow the caller to poll the prefetch cache with a new\n// prefetch task if desired.\nlet invalidationListeners = null;\n// Incrementing counters used to track cache invalidations. Route and segment\n// caches have separate versions so they can be invalidated independently.\n// Invalidation does not eagerly evict anything from the cache; entries are\n// lazily evicted when read.\nlet currentRouteCacheVersion = 0;\nlet currentSegmentCacheVersion = 0;\nexport function getCurrentRouteCacheVersion() {\n return currentRouteCacheVersion;\n}\nexport function getCurrentSegmentCacheVersion() {\n return currentSegmentCacheVersion;\n}\n/**\n * Invalidates all prefetch cache entries (both route and segment caches).\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */ export function invalidateEntirePrefetchCache(nextUrl, tree) {\n currentRouteCacheVersion++;\n currentSegmentCacheVersion++;\n pingVisibleLinks(nextUrl, tree);\n pingInvalidationListeners(nextUrl, tree);\n}\n/**\n * Invalidates all route cache entries. Route entries contain the tree structure\n * (which segments exist at a given URL) but not the segment data itself.\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */ export function invalidateRouteCacheEntries(nextUrl, tree) {\n currentRouteCacheVersion++;\n pingVisibleLinks(nextUrl, tree);\n pingInvalidationListeners(nextUrl, tree);\n}\n/**\n * Invalidates all segment cache entries. Segment entries contain the actual\n * RSC data for each segment.\n *\n * After invalidation, triggers re-prefetching of visible links and notifies\n * invalidation listeners.\n */ export function invalidateSegmentCacheEntries(nextUrl, tree) {\n currentSegmentCacheVersion++;\n pingVisibleLinks(nextUrl, tree);\n pingInvalidationListeners(nextUrl, tree);\n}\nfunction attachInvalidationListener(task) {\n // This function is called whenever a prefetch task reads a cache entry. If\n // the task has an onInvalidate function associated with it — i.e. the one\n // optionally passed to router.prefetch(onInvalidate) — then we attach that\n // listener to the every cache entry that the task reads. Then, if an entry\n // is invalidated, we call the function.\n if (task.onInvalidate !== null) {\n if (invalidationListeners === null) {\n invalidationListeners = new Set([\n task\n ]);\n } else {\n invalidationListeners.add(task);\n }\n }\n}\nfunction notifyInvalidationListener(task) {\n const onInvalidate = task.onInvalidate;\n if (onInvalidate !== null) {\n // Clear the callback from the task object to guarantee it's not called more\n // than once.\n task.onInvalidate = null;\n // This is a user-space function, so we must wrap in try/catch.\n try {\n onInvalidate();\n } catch (error) {\n if (typeof reportError === 'function') {\n reportError(error);\n } else {\n console.error(error);\n }\n }\n }\n}\nexport function pingInvalidationListeners(nextUrl, tree) {\n // The rough equivalent of pingVisibleLinks, but for onInvalidate callbacks.\n // This is called when the Next-Url or the base tree changes, since those\n // may affect the result of a prefetch task. It's also called after a\n // cache invalidation.\n if (invalidationListeners !== null) {\n const tasks = invalidationListeners;\n invalidationListeners = null;\n for (const task of tasks){\n if (isPrefetchTaskDirty(task, nextUrl, tree)) {\n notifyInvalidationListener(task);\n }\n }\n }\n}\nexport function readRouteCacheEntry(now, key) {\n const varyPath = getRouteVaryPath(key.pathname, key.search, key.nextUrl);\n const isRevalidation = false;\n const existingEntry = getFromCacheMap(now, getCurrentRouteCacheVersion(), routeCacheMap, varyPath, isRevalidation);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // No cache hit. Attempt to construct from template using the new\n // optimistic routing mechanism (pattern-based matching).\n if (process.env.__NEXT_OPTIMISTIC_ROUTING) {\n return matchKnownRoute(key.pathname, key.search);\n }\n return null;\n}\nexport function readSegmentCacheEntry(now, varyPath) {\n const isRevalidation = false;\n return getFromCacheMap(now, getCurrentSegmentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);\n}\nfunction readRevalidatingSegmentCacheEntry(now, varyPath) {\n const isRevalidation = true;\n return getFromCacheMap(now, getCurrentSegmentCacheVersion(), segmentCacheMap, varyPath, isRevalidation);\n}\nexport function waitForSegmentCacheEntry(pendingEntry) {\n // Because the entry is pending, there's already a in-progress request.\n // Attach a promise to the entry that will resolve when the server responds.\n let promiseWithResolvers = pendingEntry.promise;\n if (promiseWithResolvers === null) {\n promiseWithResolvers = pendingEntry.promise = createPromiseWithResolvers();\n } else {\n // There's already a promise we can use\n }\n return promiseWithResolvers.promise;\n}\nfunction createDetachedRouteCacheEntry() {\n return {\n canonicalUrl: null,\n status: 0,\n blockedTasks: null,\n tree: null,\n metadata: null,\n // This is initialized to true because we don't know yet whether the route\n // could be intercepted. It's only set to false once we receive a response\n // from the server.\n couldBeIntercepted: true,\n // Similarly, we don't yet know if the route supports PPR.\n supportsPerSegmentPrefetching: false,\n renderedSearch: null,\n // Map-related fields\n ref: null,\n size: 0,\n // Since this is an empty entry, there's no reason to ever evict it. It will\n // be updated when the data is populated.\n staleAt: Infinity,\n version: getCurrentRouteCacheVersion()\n };\n}\n/**\n * Checks if an entry for a route exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */ export function readOrCreateRouteCacheEntry(now, task, key) {\n attachInvalidationListener(task);\n const existingEntry = readRouteCacheEntry(now, key);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache.\n const pendingEntry = createDetachedRouteCacheEntry();\n const varyPath = getRouteVaryPath(key.pathname, key.search, key.nextUrl);\n const isRevalidation = false;\n setInCacheMap(routeCacheMap, varyPath, pendingEntry, isRevalidation);\n return pendingEntry;\n}\n// TODO: This function predates the new optimisticRouting feature and will be\n// removed once optimisticRouting is stable. The new mechanism (matchKnownRoute)\n// handles search param variations more robustly as part of the general route\n// prediction system. This fallback remains for when optimisticRouting is\n// disabled (staticChildren is null).\nexport function deprecated_requestOptimisticRouteCacheEntry(now, requestedUrl, nextUrl) {\n // This function is called during a navigation when there was no matching\n // route tree in the prefetch cache. Before de-opting to a blocking,\n // unprefetched navigation, we will first attempt to construct an \"optimistic\"\n // route tree by checking the cache for similar routes.\n //\n // Check if there's a route with the same pathname, but with different\n // search params. We can then base our optimistic route tree on this entry.\n //\n // Conceptually, we are simulating what would happen if we did perform a\n // prefetch the requested URL, under the assumption that the server will\n // not redirect or rewrite the request in a different manner than the\n // base route tree. This assumption might not hold, in which case we'll have\n // to recover when we perform the dynamic navigation request. However, this\n // is what would happen if a route were dynamically rewritten/redirected\n // in between the prefetch and the navigation. So the logic needs to exist\n // to handle this case regardless.\n // Look for a route with the same pathname, but with an empty search string.\n // TODO: There's nothing inherently special about the empty search string;\n // it's chosen somewhat arbitrarily, with the rationale that it's the most\n // likely one to exist. But we should update this to match _any_ search\n // string. The plan is to generalize this logic alongside other improvements\n // related to \"fallback\" cache entries.\n const requestedSearch = requestedUrl.search;\n if (requestedSearch === '') {\n // The caller would have already checked if a route with an empty search\n // string is in the cache. So we can bail out here.\n return null;\n }\n const urlWithoutSearchParams = new URL(requestedUrl);\n urlWithoutSearchParams.search = '';\n const routeWithNoSearchParams = readRouteCacheEntry(now, createPrefetchRequestKey(urlWithoutSearchParams.href, nextUrl));\n if (routeWithNoSearchParams === null || routeWithNoSearchParams.status !== 2) {\n // Bail out of constructing an optimistic route tree. This will result in\n // a blocking, unprefetched navigation.\n return null;\n }\n // Now we have a base route tree we can \"patch\" with our optimistic values.\n // Optimistically assume that redirects for the requested pathname do\n // not vary on the search string. Therefore, if the base route was\n // redirected to a different search string, then the optimistic route\n // should be redirected to the same search string. Otherwise, we use\n // the requested search string.\n const canonicalUrlForRouteWithNoSearchParams = new URL(routeWithNoSearchParams.canonicalUrl, requestedUrl.origin);\n const optimisticCanonicalSearch = canonicalUrlForRouteWithNoSearchParams.search !== '' ? canonicalUrlForRouteWithNoSearchParams.search : requestedSearch;\n // Similarly, optimistically assume that rewrites for the requested\n // pathname do not vary on the search string. Therefore, if the base\n // route was rewritten to a different search string, then the optimistic\n // route should be rewritten to the same search string. Otherwise, we use\n // the requested search string.\n const optimisticRenderedSearch = routeWithNoSearchParams.renderedSearch !== '' ? routeWithNoSearchParams.renderedSearch : requestedSearch;\n const optimisticUrl = new URL(routeWithNoSearchParams.canonicalUrl, location.origin);\n optimisticUrl.search = optimisticCanonicalSearch;\n const optimisticCanonicalUrl = createHrefFromUrl(optimisticUrl);\n const optimisticRouteTree = deprecated_createOptimisticRouteTree(routeWithNoSearchParams.tree, optimisticRenderedSearch);\n const optimisticMetadataTree = deprecated_createOptimisticRouteTree(routeWithNoSearchParams.metadata, optimisticRenderedSearch);\n // Clone the base route tree, and override the relevant fields with our\n // optimistic values.\n const optimisticEntry = {\n canonicalUrl: optimisticCanonicalUrl,\n status: 2,\n // This isn't cloned because it's instance-specific\n blockedTasks: null,\n tree: optimisticRouteTree,\n metadata: optimisticMetadataTree,\n couldBeIntercepted: routeWithNoSearchParams.couldBeIntercepted,\n supportsPerSegmentPrefetching: routeWithNoSearchParams.supportsPerSegmentPrefetching,\n hasDynamicRewrite: routeWithNoSearchParams.hasDynamicRewrite,\n // Override the rendered search with the optimistic value.\n renderedSearch: optimisticRenderedSearch,\n // Map-related fields\n ref: null,\n size: 0,\n staleAt: routeWithNoSearchParams.staleAt,\n version: routeWithNoSearchParams.version\n };\n // Do not insert this entry into the cache. It only exists so we can\n // perform the current navigation. Just return it to the caller.\n return optimisticEntry;\n}\nfunction deprecated_createOptimisticRouteTree(tree, newRenderedSearch) {\n // Create a new route tree that identical to the original one except for\n // the rendered search string, which is contained in the vary path.\n let clonedSlots = null;\n const originalSlots = tree.slots;\n if (originalSlots !== null) {\n clonedSlots = {};\n for(const parallelRouteKey in originalSlots){\n const childTree = originalSlots[parallelRouteKey];\n clonedSlots[parallelRouteKey] = deprecated_createOptimisticRouteTree(childTree, newRenderedSearch);\n }\n }\n // We only need to clone the vary path if the route is a page.\n if (tree.isPage) {\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n refreshState: tree.refreshState,\n varyPath: clonePageVaryPathWithNewSearchParams(tree.varyPath, newRenderedSearch),\n isPage: true,\n slots: clonedSlots,\n prefetchHints: tree.prefetchHints\n };\n }\n return {\n requestKey: tree.requestKey,\n segment: tree.segment,\n refreshState: tree.refreshState,\n varyPath: tree.varyPath,\n isPage: false,\n slots: clonedSlots,\n prefetchHints: tree.prefetchHints\n };\n}\n/**\n * Checks if an entry for a segment exists in the cache. If so, it returns the\n * entry, If not, it adds an empty entry to the cache and returns it.\n */ export function readOrCreateSegmentCacheEntry(now, fetchStrategy, tree) {\n const existingEntry = readSegmentCacheEntry(now, tree.varyPath);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache. The stale time is set to a\n // default value; the actual stale time will be set when the entry is\n // fulfilled with data from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(now);\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function readOrCreateRevalidatingSegmentEntry(now, fetchStrategy, tree) {\n // This function is called when we've already confirmed that a particular\n // segment is cached, but we want to perform another request anyway in case it\n // returns more complete and/or fresher data than we already have. The logic\n // for deciding whether to replace the existing entry is handled elsewhere;\n // this function just handles retrieving a cache entry that we can use to\n // track the revalidation.\n //\n // The reason revalidations are stored in the cache is because we need to be\n // able to dedupe multiple revalidation requests. The reason they have to be\n // handled specially is because we shouldn't overwrite a \"normal\" entry if\n // one exists at the same keypath. So, for each internal cache location, there\n // is a special \"revalidation\" slot that is used solely for this purpose.\n //\n // You can think of it as if all the revalidation entries were stored in a\n // separate cache map from the canonical entries, and then transfered to the\n // canonical cache map once the request is complete — this isn't how it's\n // actually implemented, since it's more efficient to store them in the same\n // data structure as the normal entries, but that's how it's modeled\n // conceptually.\n // TODO: Once we implement Fallback behavior for params, where an entry is\n // re-keyed based on response information, we'll need to account for the\n // possibility that the keypath of the previous entry is more generic than\n // the keypath of the revalidating entry. In other words, the server could\n // return a less generic entry upon revalidation. For now, though, this isn't\n // a concern because the keypath is based solely on the prefetch strategy,\n // not on data contained in the response.\n const existingEntry = readRevalidatingSegmentCacheEntry(now, tree.varyPath);\n if (existingEntry !== null) {\n return existingEntry;\n }\n // Create a pending entry and add it to the cache. The stale time is set to a\n // default value; the actual stale time will be set when the entry is\n // fulfilled with data from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(now);\n const isRevalidation = true;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function overwriteRevalidatingSegmentCacheEntry(now, fetchStrategy, tree) {\n // This function is called when we've already decided to replace an existing\n // revalidation entry. Create a new entry and write it into the cache,\n // overwriting the previous value. The stale time is set to a default value;\n // the actual stale time will be set when the entry is fulfilled with data\n // from the server response.\n const varyPathForRequest = getSegmentVaryPathForRequest(fetchStrategy, tree);\n const pendingEntry = createDetachedSegmentCacheEntry(now);\n const isRevalidation = true;\n setInCacheMap(segmentCacheMap, varyPathForRequest, pendingEntry, isRevalidation);\n return pendingEntry;\n}\nexport function upsertSegmentEntry(now, varyPath, candidateEntry) {\n // We have a new entry that has not yet been inserted into the cache. Before\n // we do so, we need to confirm whether it takes precedence over the existing\n // entry (if one exists).\n // TODO: We should not upsert an entry if its key was invalidated in the time\n // since the request was made. We can do that by passing the \"owner\" entry to\n // this function and confirming it's the same as `existingEntry`.\n if (isValueExpired(now, getCurrentSegmentCacheVersion(), candidateEntry)) {\n // The entry is expired. We cannot upsert it.\n return null;\n }\n const existingEntry = readSegmentCacheEntry(now, varyPath);\n if (existingEntry !== null) {\n // Don't replace a more specific segment with a less-specific one. A case where this\n // might happen is if the existing segment was fetched via\n // ``.\n if (// We fetched the new segment using a different, less specific fetch strategy\n // than the segment we already have in the cache, so it can't have more content.\n candidateEntry.fetchStrategy !== existingEntry.fetchStrategy && !canNewFetchStrategyProvideMoreContent(existingEntry.fetchStrategy, candidateEntry.fetchStrategy) || // The existing entry isn't partial, but the new one is.\n // (TODO: can this be true if `candidateEntry.fetchStrategy >= existingEntry.fetchStrategy`?)\n !existingEntry.isPartial && candidateEntry.isPartial) {\n // We're going to leave revalidating entry in the cache so that it doesn't\n // get revalidated again unnecessarily. Downgrade the Fulfilled entry to\n // Rejected and null out the data so it can be garbage collected. We leave\n // `staleAt` intact to prevent subsequent revalidation attempts only until\n // the entry expires.\n const rejectedEntry = candidateEntry;\n rejectedEntry.status = 3;\n rejectedEntry.rsc = null;\n return null;\n }\n // Evict the existing entry from the cache.\n deleteFromCacheMap(existingEntry);\n }\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, varyPath, candidateEntry, isRevalidation);\n return candidateEntry;\n}\nexport function createDetachedSegmentCacheEntry(now) {\n // Default stale time for pending segment cache entries. The actual stale time\n // is set when the entry is fulfilled with data from the server response.\n const staleAt = now + 30 * 1000;\n const emptyEntry = {\n status: 0,\n // Default to assuming the fetch strategy will be PPR. This will be updated\n // when a fetch is actually initiated.\n fetchStrategy: FetchStrategy.PPR,\n rsc: null,\n isPartial: true,\n promise: null,\n // Map-related fields\n ref: null,\n size: 0,\n staleAt,\n version: 0\n };\n return emptyEntry;\n}\nexport function upgradeToPendingSegment(emptyEntry, fetchStrategy) {\n const pendingEntry = emptyEntry;\n pendingEntry.status = 1;\n pendingEntry.fetchStrategy = fetchStrategy;\n if (fetchStrategy === FetchStrategy.Full) {\n // We can assume the response will contain the full segment data. Set this\n // to false so we know it's OK to omit this segment from any navigation\n // requests that may happen while the data is still pending.\n pendingEntry.isPartial = false;\n }\n // Set the version here, since this is right before the request is initiated.\n // The next time the segment cache version is incremented, the entry will\n // effectively be evicted. This happens before initiating the request, rather\n // than when receiving the response, because it's guaranteed to happen\n // before the data is read on the server.\n pendingEntry.version = getCurrentSegmentCacheVersion();\n return pendingEntry;\n}\nexport function attemptToFulfillDynamicSegmentFromBFCache(now, segment, tree) {\n // Attempts to fulfill an empty segment cache entry using data from the\n // bfcache. This is only valid during a Full prefetch (i.e. one that includes\n // dynamic data), because the bfcache stores data from navigations which\n // always include dynamic data.\n // We always use the canonical vary path when checking the bfcache. This is\n // the same operation we'd use to access the cache during a\n // regular navigation.\n const varyPath = tree.varyPath;\n // Read from the BFCache without expiring it (pass -1). We check freshness\n // ourselves using navigatedAt, because the BFCache's staleAt may have been\n // overridden by a per-page unstable_dynamicStaleTime and can't be used to\n // derive the original request time.\n const bfcacheEntry = readFromBFCache(varyPath);\n if (bfcacheEntry !== null) {\n // The stale time for dynamic prefetches (default: 5 mins) is different\n // from the stale time for regular navigations (default: 0 secs). Use\n // navigatedAt to compute the correct expiry for prefetch purposes.\n const dynamicPrefetchStaleAt = bfcacheEntry.navigatedAt + STATIC_STALETIME_MS;\n if (now > dynamicPrefetchStaleAt) {\n return null;\n }\n const pendingSegment = upgradeToPendingSegment(segment, FetchStrategy.Full);\n const isPartial = false;\n return fulfillSegmentCacheEntry(pendingSegment, bfcacheEntry.rsc, dynamicPrefetchStaleAt, isPartial);\n }\n return null;\n}\n/**\n * Attempts to replace an existing segment cache entry with data from the\n * bfcache. Unlike `attemptToFulfillDynamicSegmentFromBFCache` (which fills an\n * empty entry), this creates a new entry and upserts it, so it works even when\n * the segment is already fulfilled.\n */ export function attemptToUpgradeSegmentFromBFCache(now, tree) {\n const varyPath = tree.varyPath;\n const bfcacheEntry = readFromBFCache(varyPath);\n if (bfcacheEntry !== null) {\n const dynamicPrefetchStaleAt = bfcacheEntry.navigatedAt + STATIC_STALETIME_MS;\n if (now > dynamicPrefetchStaleAt) {\n return null;\n }\n const pendingSegment = upgradeToPendingSegment(createDetachedSegmentCacheEntry(now), FetchStrategy.Full);\n const isPartial = false;\n const newEntry = fulfillSegmentCacheEntry(pendingSegment, bfcacheEntry.rsc, dynamicPrefetchStaleAt, isPartial);\n const segmentVaryPath = getSegmentVaryPathForRequest(FetchStrategy.Full, tree);\n const upserted = upsertSegmentEntry(now, segmentVaryPath, newEntry);\n if (upserted !== null && upserted.status === 2) {\n return upserted;\n }\n }\n return null;\n}\nfunction pingBlockedTasks(entry) {\n const blockedTasks = entry.blockedTasks;\n if (blockedTasks !== null) {\n for (const task of blockedTasks){\n pingPrefetchTask(task);\n }\n entry.blockedTasks = null;\n }\n}\nexport function createMetadataRouteTree(metadataVaryPath) {\n // The Head is not actually part of the route tree, but other than that, it's\n // fetched and cached like a segment. Some functions expect a RouteTree\n // object, so rather than fork the logic in all those places, we use this\n // \"fake\" one.\n const metadata = {\n requestKey: HEAD_REQUEST_KEY,\n segment: HEAD_REQUEST_KEY,\n refreshState: null,\n varyPath: metadataVaryPath,\n // The metadata isn't really a \"page\" (though it isn't really a \"segment\"\n // either) but for the purposes of how this field is used, it behaves like\n // one. If this logic ever gets more complex we can change this to an enum.\n isPage: true,\n slots: null,\n prefetchHints: 0\n };\n return metadata;\n}\nexport function fulfillRouteCacheEntry(now, entry, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching) {\n // Get the rendered search from the vary path\n const renderedSearch = getRenderedSearchFromVaryPath(metadataVaryPath) ?? '';\n const fulfilledEntry = entry;\n fulfilledEntry.status = 2;\n fulfilledEntry.tree = tree;\n fulfilledEntry.metadata = createMetadataRouteTree(metadataVaryPath);\n // Route structure is essentially static — it only changes on deploy.\n // Always use the static stale time.\n // NOTE: An exception is rewrites/redirects in middleware or proxy, which can\n // change routes dynamically. We have other strategies for handling those.\n fulfilledEntry.staleAt = now + STATIC_STALETIME_MS;\n fulfilledEntry.couldBeIntercepted = couldBeIntercepted;\n fulfilledEntry.canonicalUrl = canonicalUrl;\n fulfilledEntry.renderedSearch = renderedSearch;\n fulfilledEntry.supportsPerSegmentPrefetching = supportsPerSegmentPrefetching;\n fulfilledEntry.hasDynamicRewrite = false;\n pingBlockedTasks(entry);\n return fulfilledEntry;\n}\nexport function writeRouteIntoCache(now, pathname, nextUrl, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching) {\n const pendingEntry = createDetachedRouteCacheEntry();\n const fulfilledEntry = fulfillRouteCacheEntry(now, pendingEntry, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);\n const renderedSearch = fulfilledEntry.renderedSearch;\n const varyPath = getFulfilledRouteVaryPath(pathname, renderedSearch, nextUrl, couldBeIntercepted);\n const isRevalidation = false;\n setInCacheMap(routeCacheMap, varyPath, fulfilledEntry, isRevalidation);\n return fulfilledEntry;\n}\n/**\n * Marks a route cache entry as having a dynamic rewrite. Called when we\n * discover that a route pattern has dynamic rewrite behavior - i.e., we used\n * an optimistic route tree for prediction, but the server responded with a\n * different rendered pathname.\n *\n * Once marked, attempts to use this entry as a template for prediction will\n * bail out to server resolution.\n */ export function markRouteEntryAsDynamicRewrite(entry) {\n entry.hasDynamicRewrite = true;\n// Note: The caller is responsible for also calling invalidateRouteCacheEntries\n// to invalidate other entries that may have been derived from this template\n// before we knew it had a dynamic rewrite.\n}\nfunction fulfillSegmentCacheEntry(segmentCacheEntry, rsc, staleAt, isPartial) {\n const fulfilledEntry = segmentCacheEntry;\n fulfilledEntry.status = 2;\n fulfilledEntry.rsc = rsc;\n fulfilledEntry.staleAt = staleAt;\n fulfilledEntry.isPartial = isPartial;\n // Resolve any listeners that were waiting for this data.\n if (segmentCacheEntry.promise !== null) {\n segmentCacheEntry.promise.resolve(fulfilledEntry);\n // Free the promise for garbage collection.\n fulfilledEntry.promise = null;\n }\n return fulfilledEntry;\n}\nfunction rejectRouteCacheEntry(entry, staleAt) {\n const rejectedEntry = entry;\n rejectedEntry.status = 3;\n rejectedEntry.staleAt = staleAt;\n pingBlockedTasks(entry);\n}\nfunction rejectSegmentCacheEntry(entry, staleAt) {\n const rejectedEntry = entry;\n rejectedEntry.status = 3;\n rejectedEntry.staleAt = staleAt;\n if (entry.promise !== null) {\n // NOTE: We don't currently propagate the reason the prefetch was canceled\n // but we could by accepting a `reason` argument.\n entry.promise.resolve(null);\n entry.promise = null;\n }\n}\nfunction convertRootTreePrefetchToRouteTree(rootTree, renderedPathname, renderedSearch, acc) {\n // Remove trailing and leading slashes\n const pathnameParts = renderedPathname.split('/').filter((p)=>p !== '');\n const index = 0;\n const rootSegment = ROOT_SEGMENT_REQUEST_KEY;\n return convertTreePrefetchToRouteTree(rootTree.tree, rootSegment, null, ROOT_SEGMENT_REQUEST_KEY, pathnameParts, index, renderedSearch, acc);\n}\nfunction convertTreePrefetchToRouteTree(prefetch, segment, partialVaryPath, requestKey, pathnameParts, pathnamePartsIndex, renderedSearch, acc) {\n // Converts the route tree sent by the server into the format used by the\n // cache. The cached version of the tree includes additional fields, such as a\n // cache key for each segment. Since this is frequently accessed, we compute\n // it once instead of on every access. This same cache key is also used to\n // request the segment from the server.\n let slots = null;\n let isPage;\n let varyPath;\n const prefetchSlots = prefetch.slots;\n if (prefetchSlots !== null) {\n isPage = false;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n slots = {};\n for(let parallelRouteKey in prefetchSlots){\n const childPrefetch = prefetchSlots[parallelRouteKey];\n const childSegmentName = childPrefetch.name;\n const childParam = childPrefetch.param;\n let childDoesAppearInURL;\n let childSegment;\n let childPartialVaryPath;\n if (childParam !== null) {\n // This segment is parameterized. Get the param from the pathname.\n const childParamValue = parseDynamicParamFromURLPart(childParam.type, pathnameParts, pathnamePartsIndex);\n // Assign a cache key to the segment, based on the param value. In the\n // pre-Segment Cache implementation, the server computes this and sends\n // it in the body of the response. In the Segment Cache implementation,\n // the server sends an empty string and we fill it in here.\n // TODO: We're intentionally not adding the search param to page\n // segments here; it's tracked separately and added back during a read.\n // This would clearer if we waited to construct the segment until it's\n // read from the cache, since that's effectively what we're\n // doing anyway.\n const childParamKey = // The server omits this field from the prefetch response when\n // cacheComponents is enabled.\n childParam.key !== null ? childParam.key : getCacheKeyForDynamicParam(childParamValue, '');\n childPartialVaryPath = appendLayoutVaryPath(partialVaryPath, childParamKey, childSegmentName);\n childSegment = [\n childSegmentName,\n childParamKey,\n childParam.type,\n childParam.siblings\n ];\n childDoesAppearInURL = true;\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n childPartialVaryPath = partialVaryPath;\n childSegment = childSegmentName;\n childDoesAppearInURL = doesStaticSegmentAppearInURL(childSegmentName);\n }\n // Only increment the index if the segment appears in the URL. If it's a\n // \"virtual\" segment, like a route group, it remains the same.\n const childPathnamePartsIndex = childDoesAppearInURL ? pathnamePartsIndex + 1 : pathnamePartsIndex;\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment);\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, childRequestKeyPart);\n slots[parallelRouteKey] = convertTreePrefetchToRouteTree(childPrefetch, childSegment, childPartialVaryPath, childRequestKey, pathnameParts, childPathnamePartsIndex, renderedSearch, acc);\n }\n } else {\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true;\n varyPath = finalizePageVaryPath(requestKey, renderedSearch, partialVaryPath);\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(requestKey, renderedSearch, partialVaryPath);\n }\n } else {\n // This is a layout segment.\n isPage = false;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n }\n }\n return {\n requestKey,\n segment,\n refreshState: null,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n varyPath: varyPath,\n isPage: isPage,\n slots,\n prefetchHints: prefetch.prefetchHints\n };\n}\nexport function convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc) {\n return convertFlightRouterStateToRouteTree(flightRouterState, ROOT_SEGMENT_REQUEST_KEY, null, renderedSearch, acc);\n}\nexport function convertReusedFlightRouterStateToRouteTree(parentRouteTree, parallelRouteKey, flightRouterState, renderedSearch, acc) {\n // Create a RouteTree for a FlightRouterState that was reused from an older\n // route. This happens during a navigation when a parallel route slot does not\n // match the target route; we reuse whatever slot was already active.\n // Unlike a FlightRouterState, the RouteTree type contains backreferences to\n // the parent segments. Append the vary path to the parent's vary path.\n const parentPartialVaryPath = parentRouteTree.isPage ? getPartialPageVaryPath(parentRouteTree.varyPath) : getPartialLayoutVaryPath(parentRouteTree.varyPath);\n const segment = flightRouterState[0];\n // And the request key.\n const parentRequestKey = parentRouteTree.requestKey;\n const requestKeyPart = createSegmentRequestKeyPart(segment);\n const requestKey = appendSegmentRequestKeyPart(parentRequestKey, parallelRouteKey, requestKeyPart);\n return convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, renderedSearch, acc);\n}\nfunction convertFlightRouterStateToRouteTree(flightRouterState, requestKey, parentPartialVaryPath, parentRenderedSearch, acc) {\n const originalSegment = flightRouterState[0];\n // If the FlightRouterState has a refresh state, then this segment is part of\n // an inactive parallel route. It has a different rendered search query than\n // the outer parent route. In order to construct the inactive route correctly,\n // we must restore the query that was originally used to render it.\n const compressedRefreshState = flightRouterState[2] ?? null;\n const refreshState = compressedRefreshState !== null ? {\n canonicalUrl: compressedRefreshState[0],\n renderedSearch: compressedRefreshState[1]\n } : null;\n const renderedSearch = refreshState !== null ? refreshState.renderedSearch : parentRenderedSearch;\n let segment;\n let partialVaryPath;\n let isPage;\n let varyPath;\n if (Array.isArray(originalSegment)) {\n isPage = false;\n const paramCacheKey = originalSegment[1];\n const paramName = originalSegment[0];\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, paramCacheKey, paramName);\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n segment = originalSegment;\n } else {\n // This segment does not have a param. Inherit the partial vary path of\n // the parent.\n partialVaryPath = parentPartialVaryPath;\n if (requestKey.endsWith(PAGE_SEGMENT_KEY)) {\n // This is a page segment.\n isPage = true;\n // The navigation implementation expects the search params to be included\n // in the segment. However, in the case of a static response, the search\n // params are omitted. So the client needs to add them back in when reading\n // from the Segment Cache.\n //\n // For consistency, we'll do this for dynamic responses, too.\n //\n // TODO: We should move search params out of FlightRouterState and handle\n // them entirely on the client, similar to our plan for dynamic params.\n segment = PAGE_SEGMENT_KEY;\n varyPath = finalizePageVaryPath(requestKey, renderedSearch, partialVaryPath);\n // The metadata \"segment\" is not part the route tree, but it has the same\n // conceptual params as a page segment. Write the vary path into the\n // accumulator object. If there are multiple parallel pages, we use the\n // first one. Which page we choose is arbitrary as long as it's\n // consistently the same one every time every time. See\n // finalizeMetadataVaryPath for more details.\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(requestKey, renderedSearch, partialVaryPath);\n }\n } else {\n // This is a layout segment.\n isPage = false;\n segment = originalSegment;\n varyPath = finalizeLayoutVaryPath(requestKey, partialVaryPath);\n }\n }\n let slots = null;\n const parallelRoutes = flightRouterState[1];\n for(let parallelRouteKey in parallelRoutes){\n const childRouterState = parallelRoutes[parallelRouteKey];\n const childSegment = childRouterState[0];\n // TODO: Eventually, the param values will not be included in the response\n // from the server. We'll instead fill them in on the client by parsing\n // the URL. This is where we'll do that.\n const childRequestKeyPart = createSegmentRequestKeyPart(childSegment);\n const childRequestKey = appendSegmentRequestKeyPart(requestKey, parallelRouteKey, childRequestKeyPart);\n const childTree = convertFlightRouterStateToRouteTree(childRouterState, childRequestKey, partialVaryPath, renderedSearch, acc);\n if (slots === null) {\n slots = {\n [parallelRouteKey]: childTree\n };\n } else {\n slots[parallelRouteKey] = childTree;\n }\n }\n return {\n requestKey,\n segment,\n refreshState,\n // TODO: Cheating the type system here a bit because TypeScript can't tell\n // that the type of isPage and varyPath are consistent. The fix would be to\n // create separate constructors and call the appropriate one from each of\n // the branches above. Just seems a bit overkill only for one field so I'll\n // leave it as-is for now. If isPage were wrong it would break the behavior\n // and we'd catch it quickly, anyway.\n varyPath: varyPath,\n isPage: isPage,\n slots,\n prefetchHints: flightRouterState[4] ?? 0\n };\n}\nexport function convertRouteTreeToFlightRouterState(routeTree) {\n const parallelRoutes = {};\n if (routeTree.slots !== null) {\n for(const parallelRouteKey in routeTree.slots){\n parallelRoutes[parallelRouteKey] = convertRouteTreeToFlightRouterState(routeTree.slots[parallelRouteKey]);\n }\n }\n const flightRouterState = [\n routeTree.segment,\n parallelRoutes,\n null,\n null\n ];\n return flightRouterState;\n}\nexport async function fetchRouteOnCacheMiss(entry, key) {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n const pathname = key.pathname;\n const search = key.search;\n const nextUrl = key.nextUrl;\n const segmentPath = '/_tree';\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: segmentPath\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n // Tell the server to perform a static pre-render for the Instant Navigation\n // Testing API. Static pre-renders don't normally happen during development.\n addInstantPrefetchHeaderIfLocked(headers);\n try {\n const url = new URL(pathname + search, location.origin);\n let response;\n let urlAfterRedirects;\n if (isOutputExportMode) {\n // In output: \"export\" mode, we can't use headers to request a particular\n // segment. Instead, we encode the extra request information into the URL.\n // This is not part of the \"public\" interface of the app; it's an internal\n // Next.js implementation detail that the app developer should not need to\n // concern themselves with.\n //\n // For example, to request a segment:\n //\n // Path passed to : /path/to/page\n // Path passed to fetch: /path/to/page/__next-segments/_tree\n //\n // (This is not the exact protocol, just an illustration.)\n //\n // Before we do that, though, we need to account for redirects. Even in\n // output: \"export\" mode, a proxy might redirect the page to a different\n // location, but we shouldn't assume or expect that they also redirect all\n // the segment files, too.\n //\n // To check whether the page is redirected, previously we perform a range\n // request of 64 bytes of the HTML document to check if the target page\n // is part of this app (by checking if build id matches). Only if the target\n // page is part of this app do we determine the final canonical URL.\n //\n // However, as mentioned in https://github.com/vercel/next.js/pull/85903,\n // some popular static hosting providers (like Cloudflare Pages or Render.com)\n // do not support range requests, in the worst case, the entire HTML instead\n // of 64 bytes could be returned, which is wasteful.\n //\n // So instead, we drops the check for build id here, and simply perform\n // a HEAD request to rejects 1xx/4xx/5xx responses, and then determine the\n // final URL after redirects.\n //\n // NOTE: We could embed the route tree into the HTML document, to avoid\n // a second request. We're not doing that currently because it would make\n // the HTML document larger and affect normal page loads.\n const headResponse = await fetch(url, {\n method: 'HEAD'\n });\n if (headResponse.status < 200 || headResponse.status >= 400) {\n // The target page responded w/o a successful status code\n // Could be a WAF serving a 403, or a 5xx from a backend\n //\n // Note that we can't use headResponse.ok here, because\n // Response#ok returns `false` with 3xx responses.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n urlAfterRedirects = headResponse.redirected ? new URL(headResponse.url) : url;\n response = await fetchPrefetchResponse(addSegmentPathToUrlInOutputExportMode(urlAfterRedirects, segmentPath), headers);\n } else {\n // \"Server\" mode. We can use request headers instead of the pathname.\n // TODO: The eventual plan is to get rid of our custom request headers and\n // encode everything into the URL, using a similar strategy to the\n // \"output: export\" block above.\n response = await fetchPrefetchResponse(url, headers);\n urlAfterRedirects = response !== null && response.redirected ? new URL(response.url) : url;\n }\n if (!response || !response.ok || // 204 is a Cache miss. Though theoretically this shouldn't happen when\n // PPR is enabled, because we always respond to route tree requests, even\n // if it needs to be blockingly generated on demand.\n response.status === 204 || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n // TODO: The canonical URL is the href without the origin. I think\n // historically the reason for this is because the initial canonical URL\n // gets passed as a prop to the top-level React component, which means it\n // needs to be computed during SSR. If it were to include the origin, it\n // would need to always be same as location.origin on the client, to prevent\n // a hydration mismatch. To sidestep this complexity, we omit the origin.\n //\n // However, since this is neither a native URL object nor a fully qualified\n // URL string, we need to be careful about how we use it. To prevent subtle\n // mistakes, we should create a special type for it, instead of just string.\n // Or, we should just use a (readonly) URL object instead. The type of the\n // prop that we pass to seed the initial state does not need to be the same\n // type as the state itself.\n const canonicalUrl = createHrefFromUrl(urlAfterRedirects);\n // Check whether the response varies based on the Next-Url header.\n const varyHeader = response.headers.get('vary');\n const couldBeIntercepted = varyHeader !== null && varyHeader.includes(NEXT_URL);\n // TODO: The `closed` promise was originally used to track when a streaming\n // network connection closes, so the scheduler could limit concurrent\n // connections. Now that prefetch responses are buffered, `closed` is\n // resolved immediately after buffering — before the outer function even\n // returns. This mechanism is only still meaningful for dynamic (Full)\n // prefetches, which use incremental streaming. Consider removing the\n // `closed` plumbing for buffered prefetch paths.\n const closed = createPromiseWithResolvers();\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route.\n const routeIsPPREnabled = response.headers.get(NEXT_DID_POSTPONE_HEADER) === '2' || // In output: \"export\" mode, we can't rely on response headers. But if we\n // receive a well-formed response, we can assume it's a static response,\n // because all data is static in this mode.\n isOutputExportMode;\n if (routeIsPPREnabled) {\n const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);\n closed.resolve();\n setSizeInCacheMap(entry, responseSize);\n const serverData = await createFromNextReadableStream(prefetchStream, headers, {\n allowPartialStream: true\n });\n if ((response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.buildId) !== getNavigationBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n // Get the params that were used to render the target page. These may\n // be different from the params in the request URL, if the page\n // was rewritten.\n const renderedPathname = getRenderedPathname(response);\n const renderedSearch = getRenderedSearch(response);\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc = {\n metadataVaryPath: null\n };\n const routeTree = convertRootTreePrefetchToRouteTree(serverData, renderedPathname, renderedSearch, acc);\n const metadataVaryPath = acc.metadataVaryPath;\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n discoverKnownRoute(Date.now(), pathname, nextUrl, entry, routeTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, false // hasDynamicRewrite\n );\n } else {\n // PPR is not enabled for this route. The server responds with a\n // different format (FlightRouterState) that we need to convert.\n // TODO: We will unify the responses eventually. I'm keeping the types\n // separate for now because FlightRouterState has so many\n // overloaded concerns.\n const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);\n closed.resolve();\n setSizeInCacheMap(entry, responseSize);\n const serverData = await createFromNextReadableStream(prefetchStream, headers, {\n allowPartialStream: true\n });\n if ((response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b) !== getNavigationBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n // TODO: We should cache the fact that this is an MPA navigation.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n // Read head vary params synchronously. Individual segments carry their\n // own thenables in CacheNodeSeedData.\n const headVaryParamsThenable = serverData.h;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n writeDynamicTreeResponseIntoCache(Date.now(), // The non-PPR response format is what we'd get if we prefetched these segments\n // using the LoadingBoundary fetch strategy, so mark their cache entries accordingly.\n FetchStrategy.LoadingBoundary, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, headVaryParams, pathname, nextUrl);\n }\n if (!couldBeIntercepted) {\n // This route will never be intercepted. So we can use this entry for all\n // requests to this route, regardless of the Next-Url header. This works\n // because when reading the cache we always check for a valid\n // non-intercepted entry first.\n // Re-key the entry. The `set` implementation handles removing it from\n // its previous position in the cache. We don't need to do anything to\n // update the LRU, because the entry is already in it.\n // TODO: Treat this as an upsert — should check if an entry already\n // exists at the new keypath, and if so, whether we should keep that\n // one instead.\n const fulfilledVaryPath = getFulfilledRouteVaryPath(pathname, search, nextUrl, couldBeIntercepted);\n const isRevalidation = false;\n setInCacheMap(routeCacheMap, fulfilledVaryPath, entry, isRevalidation);\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return {\n value: null,\n closed: closed.promise\n };\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectRouteCacheEntry(entry, Date.now() + 10 * 1000);\n return null;\n }\n}\nexport async function fetchSegmentOnCacheMiss(route, segmentCacheEntry, routeKey, tree) {\n // This function is allowed to use async/await because it contains the actual\n // fetch that gets issued on a cache miss. Notice it writes the result to the\n // cache entry directly, rather than return data that is then written by\n // the caller.\n //\n // Segment fetches are non-blocking so we don't need to ping the scheduler\n // on completion.\n // Use the canonical URL to request the segment, not the original URL. These\n // are usually the same, but the canonical URL will be different if the route\n // tree response was redirected. To avoid an extra waterfall on every segment\n // request, we pass the redirected URL instead of the original one.\n const url = new URL(route.canonicalUrl, location.origin);\n const nextUrl = routeKey.nextUrl;\n const requestKey = tree.requestKey;\n const normalizedRequestKey = requestKey === ROOT_SEGMENT_REQUEST_KEY ? // handling of these requests, we encode the root segment path as\n // `_index` instead of as an empty string. This should be treated as\n // an implementation detail and not as a stable part of the protocol.\n // It just needs to match the equivalent logic that happens when\n // prerendering the responses. It should not leak outside of Next.js.\n '/_index' : requestKey;\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: normalizedRequestKey\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n // Tell the server to perform a static pre-render for the Instant Navigation\n // Testing API. Static pre-renders don't normally happen during development.\n addInstantPrefetchHeaderIfLocked(headers);\n const requestUrl = isOutputExportMode ? addSegmentPathToUrlInOutputExportMode(url, normalizedRequestKey) : url;\n try {\n const response = await fetchPrefetchResponse(requestUrl, headers);\n if (!response || !response.ok || response.status === 204 || // Cache miss\n // This checks whether the response was served from the per-segment cache,\n // rather than the old prefetching flow. If it fails, it implies that PPR\n // is disabled on this route. Theoretically this should never happen\n // because we only issue requests for segments once we've verified that\n // the route supports PPR.\n response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' && // In output: \"export\" mode, we can't rely on response headers. But if\n // we receive a well-formed response, we can assume it's a static\n // response, because all data is static in this mode.\n !isOutputExportMode || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n // See TODO in fetchRouteOnCacheMiss about removing `closed` for\n // buffered prefetch paths.\n const closed = createPromiseWithResolvers();\n const { stream: prefetchStream, size: responseSize } = await createNonTaskyPrefetchResponseStream(response.body);\n closed.resolve();\n setSizeInCacheMap(segmentCacheEntry, responseSize);\n const serverData = await createFromNextReadableStream(prefetchStream, headers, {\n allowPartialStream: true\n });\n if ((response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.buildId) !== getNavigationBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n const now = Date.now();\n const staleAt = now + getStaleTimeMs(serverData.staleTime);\n const fulfilledEntry = fulfillSegmentCacheEntry(segmentCacheEntry, serverData.rsc, staleAt, serverData.isPartial);\n // If the server tells us which params the segment varies by, we can re-key\n // the entry to a more generic vary path. This allows the entry to be reused\n // across different param values for params that the segment doesn't\n // actually depend on.\n const varyParams = serverData.varyParams;\n const fulfilledVaryPath = process.env.__NEXT_VARY_PARAMS && varyParams !== null ? getFulfilledSegmentVaryPath(tree.varyPath, varyParams) : getSegmentVaryPathForRequest(segmentCacheEntry.fetchStrategy, tree);\n // Re-key and upsert the entry at the fulfilled vary path. This ensures\n // the entry is stored at the most generic path possible based on which\n // params the segment actually depends on.\n upsertSegmentEntry(now, fulfilledVaryPath, fulfilledEntry);\n return {\n value: fulfilledEntry,\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n closed: closed.promise\n };\n } catch (error) {\n // Either the connection itself failed, or something bad happened while\n // decoding the response.\n rejectSegmentCacheEntry(segmentCacheEntry, Date.now() + 10 * 1000);\n return null;\n }\n}\n// TODO: The inlined prefetch flow below is temporary. Eventually, inlining\n// will be the default behavior controlled by a size heuristic rather than a\n// boolean flag. At that point, the per-segment and inlined fetch paths will\n// merge, and these separate functions will be removed.\n//\n// The call site in the scheduler is guarded by\n// process.env.__NEXT_PREFETCH_INLINING, so these functions are\n// dead-code-eliminated from the client bundle when the feature is disabled.\nexport async function fetchInlinedSegmentsOnCacheMiss(route, routeKey, tree, spawnedEntries) {\n // When prefetch inlining is enabled, all segment data for a route is bundled\n // into a single /_inlined response instead of individual per-segment\n // requests. This function fetches that response and walks the tree to fill\n // all segment cache entries at once.\n const url = new URL(route.canonicalUrl, location.origin);\n const nextUrl = routeKey.nextUrl;\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_PREFETCH_HEADER]: '1',\n [NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]: '/' + PAGE_SEGMENT_KEY\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n addInstantPrefetchHeaderIfLocked(headers);\n try {\n const response = await fetchPrefetchResponse(url, headers);\n if (!response || !response.ok || response.status === 204 || response.headers.get(NEXT_DID_POSTPONE_HEADER) !== '2' && !isOutputExportMode || !response.body) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n // See TODO in fetchRouteOnCacheMiss about removing `closed` for\n // buffered prefetch paths.\n const closed = createPromiseWithResolvers();\n const { stream: prefetchStream } = await createNonTaskyPrefetchResponseStream(response.body);\n closed.resolve();\n const serverData = await createFromNextReadableStream(prefetchStream, headers, {\n allowPartialStream: true\n });\n if ((response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.tree.segment.buildId) !== getNavigationBuildId()) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n const now = Date.now();\n // Walk the inlined tree in parallel with the RouteTree and fill\n // segment cache entries.\n fillInlinedSegmentEntries(now, route, tree, serverData.tree, spawnedEntries);\n // Fill the head entry.\n const headStaleAt = now + getStaleTimeMs(serverData.head.staleTime);\n const headKey = route.metadata.requestKey;\n const ownedHeadEntry = spawnedEntries.get(headKey);\n if (ownedHeadEntry !== undefined) {\n fulfillSegmentCacheEntry(ownedHeadEntry, serverData.head.rsc, headStaleAt, serverData.head.isPartial);\n } else {\n // The head was already cached. Try to upsert if the entry is empty.\n const existingEntry = readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, route.metadata);\n if (existingEntry.status === 0) {\n fulfillSegmentCacheEntry(upgradeToPendingSegment(existingEntry, FetchStrategy.PPR), serverData.head.rsc, headStaleAt, serverData.head.isPartial);\n }\n }\n // Reject any remaining entries that were not fulfilled by the response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return {\n value: null,\n closed: closed.promise\n };\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n}\nfunction fillInlinedSegmentEntries(now, route, tree, inlinedNode, spawnedEntries) {\n // Check if the spawned entries map has an entry for this segment's key.\n const segment = inlinedNode.segment;\n const staleAt = now + getStaleTimeMs(segment.staleTime);\n const ownedEntry = spawnedEntries.get(tree.requestKey);\n if (ownedEntry !== undefined) {\n // We own this entry. Fulfill it directly.\n fulfillSegmentCacheEntry(ownedEntry, segment.rsc, staleAt, segment.isPartial);\n } else {\n // Not owned by us — this is extra data from the inlined response for a\n // segment that was already cached. Try to upsert if the entry is empty.\n const existingEntry = readOrCreateSegmentCacheEntry(now, FetchStrategy.PPR, tree);\n if (existingEntry.status === 0) {\n fulfillSegmentCacheEntry(upgradeToPendingSegment(existingEntry, FetchStrategy.PPR), segment.rsc, staleAt, segment.isPartial);\n }\n }\n // Recurse into children.\n if (tree.slots !== null && inlinedNode.slots !== null) {\n for(const parallelRouteKey in tree.slots){\n const childTree = tree.slots[parallelRouteKey];\n const childInlinedNode = inlinedNode.slots[parallelRouteKey];\n if (childInlinedNode !== undefined) {\n fillInlinedSegmentEntries(now, route, childTree, childInlinedNode, spawnedEntries);\n }\n }\n }\n}\nexport async function fetchSegmentPrefetchesUsingDynamicRequest(task, route, fetchStrategy, dynamicRequestTree, spawnedEntries) {\n const key = task.key;\n const url = new URL(route.canonicalUrl, location.origin);\n const nextUrl = key.nextUrl;\n if (spawnedEntries.size === 1 && spawnedEntries.has(route.metadata.requestKey)) {\n // The only thing pending is the head. Instruct the server to\n // skip over everything else.\n dynamicRequestTree = MetadataOnlyRequestTree;\n }\n const headers = {\n [RSC_HEADER]: '1',\n [NEXT_ROUTER_STATE_TREE_HEADER]: prepareFlightRouterStateForRequest(dynamicRequestTree)\n };\n if (nextUrl !== null) {\n headers[NEXT_URL] = nextUrl;\n }\n switch(fetchStrategy){\n case FetchStrategy.Full:\n {\n break;\n }\n case FetchStrategy.PPRRuntime:\n {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '2';\n break;\n }\n case FetchStrategy.LoadingBoundary:\n {\n headers[NEXT_ROUTER_PREFETCH_HEADER] = '1';\n break;\n }\n default:\n {\n fetchStrategy;\n }\n }\n try {\n const response = await fetchPrefetchResponse(url, headers);\n if (!response || !response.ok || !response.body) {\n // Server responded with an error, or with a miss. We should still cache\n // the response, but we can try again after 10 seconds.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n const renderedSearch = getRenderedSearch(response);\n if (renderedSearch !== route.renderedSearch) {\n // The search params that were used to render the target page are\n // different from the search params in the request URL. This only happens\n // when there's a dynamic rewrite in between the tree prefetch and the\n // data prefetch.\n // TODO: For now, since this is an edge case, we reject the prefetch, but\n // the proper way to handle this is to evict the stale route tree entry\n // then fill the cache with the new response.\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n // Track when the network connection closes. Only meaningful for Full\n // (dynamic) prefetches which use incremental streaming. For buffered\n // paths, this is resolved immediately — see TODO in fetchRouteOnCacheMiss.\n const closed = createPromiseWithResolvers();\n let fulfilledEntries = null;\n let prefetchStream;\n let bufferedResponseSize = null;\n if (fetchStrategy === FetchStrategy.Full) {\n // Full prefetches are dynamic responses stored in the prefetch cache.\n // They don't carry vary params or other cache metadata, so there's no\n // need to buffer them. Use the incremental version to allow data to be\n // processed as it arrives.\n prefetchStream = createIncrementalPrefetchResponseStream(response.body, closed.resolve, function onResponseSizeUpdate(totalBytesReceivedSoFar) {\n // When processing a dynamic response, we don't know how large each\n // individual segment is, so approximate by assigning each segment\n // the average of the total response size.\n if (fulfilledEntries === null) {\n // Haven't received enough data yet to know which segments\n // were included.\n return;\n }\n const averageSize = totalBytesReceivedSoFar / fulfilledEntries.length;\n for (const entry of fulfilledEntries){\n setSizeInCacheMap(entry, averageSize);\n }\n });\n } else {\n const { stream, size } = await createNonTaskyPrefetchResponseStream(response.body);\n closed.resolve();\n prefetchStream = stream;\n bufferedResponseSize = size;\n }\n const [serverData, cacheData] = await Promise.all([\n createFromNextReadableStream(prefetchStream, headers, {\n allowPartialStream: true\n }),\n response.cacheData\n ]);\n // Read head vary params synchronously. Individual segments carry their\n // own thenables in CacheNodeSeedData.\n const headVaryParamsThenable = serverData.h;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n const now = Date.now();\n const staleAt = await getStaleAt(now, serverData.s, response);\n // PPRRuntime prefetches are partial when the server marks the response\n // as '~' (Partial). Full/LoadingBoundary prefetches are always complete.\n const isResponsePartial = fetchStrategy === FetchStrategy.PPRRuntime && (cacheData?.isResponsePartial ?? false);\n // Aside from writing the data into the cache, this function also returns\n // the entries that were fulfilled, so we can streamingly update their sizes\n // in the LRU as more data comes in.\n const buildId = response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b;\n const flightDatas = normalizeFlightData(serverData.f);\n if (typeof flightDatas === 'string') {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n const navigationSeed = convertServerPatchToFullTree(now, dynamicRequestTree, flightDatas, renderedSearch, // Not needed for prefetch responses; pass unknown to use the default.\n UnknownDynamicStaleTime);\n fulfilledEntries = writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, spawnedEntries);\n // For buffered responses, update LRU sizes now that we know which\n // entries were fulfilled.\n if (bufferedResponseSize !== null && fulfilledEntries !== null && fulfilledEntries.length > 0) {\n const averageSize = bufferedResponseSize / fulfilledEntries.length;\n for (const entry of fulfilledEntries){\n setSizeInCacheMap(entry, averageSize);\n }\n }\n // Return a promise that resolves when the network connection closes, so\n // the scheduler can track the number of concurrent network connections.\n return {\n value: null,\n closed: closed.promise\n };\n } catch (error) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, Date.now() + 10 * 1000);\n return null;\n }\n}\nfunction writeDynamicTreeResponseIntoCache(now, fetchStrategy, response, serverData, entry, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, headVaryParams, originalPathname, nextUrl) {\n const renderedSearch = getRenderedSearch(response);\n const normalizedFlightDataResult = normalizeFlightData(serverData.f);\n if (// A string result means navigating to this route will result in an\n // MPA navigation.\n typeof normalizedFlightDataResult === 'string' || normalizedFlightDataResult.length !== 1) {\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n const flightData = normalizedFlightDataResult[0];\n if (!flightData.isRootRender) {\n // Unexpected response format.\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n const flightRouterState = flightData.tree;\n // If the response was postponed, segments may contain dynamic holes.\n // The head has its own partiality flag (flightDataEntry.isHeadPartial)\n // which is handled separately in writeDynamicRenderResponseIntoCache.\n const isResponsePartial = response.headers.get(NEXT_DID_POSTPONE_HEADER) === '1';\n // Convert the server-sent data into the RouteTree format used by the\n // client cache.\n //\n // During this traversal, we accumulate additional data into this\n // \"accumulator\" object.\n const acc = {\n metadataVaryPath: null\n };\n const routeTree = convertRootFlightRouterStateToRouteTree(flightRouterState, renderedSearch, acc);\n const metadataVaryPath = acc.metadataVaryPath;\n if (metadataVaryPath === null) {\n rejectRouteCacheEntry(entry, now + 10 * 1000);\n return;\n }\n discoverKnownRoute(now, originalPathname, nextUrl, entry, routeTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, routeIsPPREnabled, false // hasDynamicRewrite\n );\n // If the server sent segment data as part of the response, we should write\n // it into the cache to prevent a second, redundant prefetch request.\n // TODO: This is a leftover branch from before Client Segment Cache was\n // enabled everywhere. Tree prefetches should never include segment data. We\n // can delete it. Leaving for a subsequent PR.\n const navigationSeed = convertServerPatchToFullTree(now, flightRouterState, normalizedFlightDataResult, renderedSearch, UnknownDynamicStaleTime);\n const buildId = response.headers.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? serverData.b;\n writeDynamicRenderResponseIntoCache(now, fetchStrategy, normalizedFlightDataResult, buildId, isResponsePartial, headVaryParams, getStaleAtFromHeader(now, response), navigationSeed, null);\n}\nfunction rejectSegmentEntriesIfStillPending(entries, staleAt) {\n const fulfilledEntries = [];\n for (const entry of entries.values()){\n if (entry.status === 1) {\n rejectSegmentCacheEntry(entry, staleAt);\n } else if (entry.status === 2) {\n fulfilledEntries.push(entry);\n }\n }\n return fulfilledEntries;\n}\nexport function writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, spawnedEntries) {\n if (buildId && buildId !== getNavigationBuildId()) {\n // The server build does not match the client. Treat as a 404. During\n // an actual navigation, the router will trigger an MPA navigation.\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n }\n return null;\n }\n const routeTree = navigationSeed.routeTree;\n const metadataTree = navigationSeed.metadataVaryPath !== null ? createMetadataRouteTree(navigationSeed.metadataVaryPath) : null;\n for (const flightDataEntry of flightDatas){\n const seedData = flightDataEntry.seedData;\n if (seedData !== null) {\n // The data sent by the server represents only a subtree of the app. We\n // need to find the part of the task tree that matches the response.\n //\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n const segmentPath = flightDataEntry.segmentPath;\n let tree = routeTree;\n for(let i = 0; i < segmentPath.length; i += 2){\n const parallelRouteKey = segmentPath[i];\n if (tree?.slots?.[parallelRouteKey] !== undefined) {\n tree = tree.slots[parallelRouteKey];\n } else {\n if (spawnedEntries !== null) {\n rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n }\n return null;\n }\n }\n writeSeedDataIntoCache(now, fetchStrategy, tree, staleAt, seedData, isResponsePartial, spawnedEntries);\n }\n const head = flightDataEntry.head;\n if (head !== null && metadataTree !== null) {\n // When Cache Components is enabled, the server conservatively marks\n // the head as partial during static generation (isPossiblyPartialHead\n // in app-render.tsx), even for fully static pages where the head is\n // actually complete. When the response is non-partial, we override\n // this since the server confirmed no dynamic content exists.\n //\n // Without Cache Components, the server always sends the correct\n // isHeadPartial value, so no override is needed.\n const isHeadPartial = !isResponsePartial && process.env.__NEXT_CACHE_COMPONENTS ? false : flightDataEntry.isHeadPartial;\n fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, head, isHeadPartial, staleAt, // For head entries, use the head-specific vary params passed as\n // parameter.\n headVaryParams, metadataTree, spawnedEntries);\n }\n }\n // Any entry that's still pending was intentionally not rendered by the\n // server, because it was inside the loading boundary. Mark them as rejected\n // so we know not to fetch them again.\n // TODO: If PPR is enabled on some routes but not others, then it's possible\n // that a different page is able to do a per-segment prefetch of one of the\n // segments we're marking as rejected here. We should mark on the segment\n // somehow that the reason for the rejection is because of a non-PPR prefetch.\n // That way a per-segment prefetch knows to disregard the rejection.\n if (spawnedEntries !== null) {\n const fulfilledEntries = rejectSegmentEntriesIfStillPending(spawnedEntries, now + 10 * 1000);\n return fulfilledEntries;\n }\n return null;\n}\nfunction writeSeedDataIntoCache(now, fetchStrategy, tree, staleAt, seedData, isResponsePartial, entriesOwnedByCurrentTask) {\n // This function is used to write the result of a runtime server request\n // (CacheNodeSeedData) into the prefetch cache.\n const rsc = seedData[0];\n const isPartial = rsc === null || isResponsePartial;\n const varyParamsThenable = seedData[4];\n // Each segment carries its own vary params thenable in the seed data. The\n // thenable resolves to the set of params the segment accessed during render.\n // A null thenable means tracking was not enabled (not a prerender).\n const varyParams = varyParamsThenable !== null ? readVaryParams(varyParamsThenable) : null;\n fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, rsc, isPartial, staleAt, varyParams, tree, entriesOwnedByCurrentTask);\n // Recursively write the child data into the cache.\n const slots = tree.slots;\n if (slots !== null) {\n const seedDataChildren = seedData[1];\n for(const parallelRouteKey in slots){\n const childTree = slots[parallelRouteKey];\n const childSeedData = seedDataChildren[parallelRouteKey];\n if (childSeedData !== null && childSeedData !== undefined) {\n writeSeedDataIntoCache(now, fetchStrategy, childTree, staleAt, childSeedData, isResponsePartial, entriesOwnedByCurrentTask);\n }\n }\n }\n}\nfunction fulfillEntrySpawnedByRuntimePrefetch(now, fetchStrategy, rsc, isPartial, staleAt, segmentVaryParams, tree, entriesOwnedByCurrentTask) {\n // We should only write into cache entries that are owned by us. Or create\n // a new one and write into that. We must never write over an entry that was\n // created by a different task, because that causes data races.\n const ownedEntry = entriesOwnedByCurrentTask !== null ? entriesOwnedByCurrentTask.get(tree.requestKey) : undefined;\n if (ownedEntry !== undefined) {\n const fulfilledEntry = fulfillSegmentCacheEntry(ownedEntry, rsc, staleAt, isPartial);\n // Re-key the entry based on which params the segment actually depends on.\n if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {\n const fulfilledVaryPath = getFulfilledSegmentVaryPath(tree.varyPath, segmentVaryParams);\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, fulfilledVaryPath, fulfilledEntry, isRevalidation);\n }\n } else {\n // There's no matching entry. Attempt to create a new one.\n const possiblyNewEntry = readOrCreateSegmentCacheEntry(now, fetchStrategy, tree);\n if (possiblyNewEntry.status === 0) {\n // Confirmed this is a new entry. We can fulfill it.\n const newEntry = possiblyNewEntry;\n const fulfilledEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(newEntry, fetchStrategy), rsc, staleAt, isPartial);\n // Re-key the entry based on which params the segment actually depends on.\n if (process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null) {\n const fulfilledVaryPath = getFulfilledSegmentVaryPath(tree.varyPath, segmentVaryParams);\n const isRevalidation = false;\n setInCacheMap(segmentCacheMap, fulfilledVaryPath, fulfilledEntry, isRevalidation);\n }\n } else {\n // There was already an entry in the cache. But we may be able to\n // replace it with the new one from the server.\n const newEntry = fulfillSegmentCacheEntry(upgradeToPendingSegment(createDetachedSegmentCacheEntry(now), fetchStrategy), rsc, staleAt, isPartial);\n // Use the fulfilled vary path if available, otherwise fall back to\n // the request vary path.\n const varyPath = process.env.__NEXT_VARY_PARAMS && segmentVaryParams !== null ? getFulfilledSegmentVaryPath(tree.varyPath, segmentVaryParams) : getSegmentVaryPathForRequest(fetchStrategy, tree);\n upsertSegmentEntry(now, varyPath, newEntry);\n }\n }\n}\nasync function fetchPrefetchResponse(url, headers) {\n const fetchPriority = 'low';\n // When issuing a prefetch request, don't immediately decode the response; we\n // use the lower level `createFromResponse` API instead because we need to do\n // some extra processing of the response stream. See\n // `createNonTaskyPrefetchResponseStream` for more details.\n const shouldImmediatelyDecode = false;\n const response = await createFetch(url, headers, fetchPriority, shouldImmediatelyDecode);\n if (!response.ok) {\n return null;\n }\n // Check the content type\n if (isOutputExportMode) {\n // In output: \"export\" mode, we relaxed about the content type, since it's\n // not Next.js that's serving the response. If the status is OK, assume the\n // response is valid. If it's not a valid response, the Flight client won't\n // be able to decode it, and we'll treat it as a miss.\n } else {\n const contentType = response.headers.get('content-type');\n const isFlightResponse = contentType && contentType.startsWith(RSC_CONTENT_TYPE_HEADER);\n if (!isFlightResponse) {\n return null;\n }\n }\n return response;\n}\nasync function createNonTaskyPrefetchResponseStream(body) {\n // Buffer the entire response before passing it to the Flight client. This\n // ensures that when Flight processes the stream, all model data is available\n // synchronously. This is important for readVaryParams, which synchronously\n // checks the thenable status — if data arrived in multiple network chunks,\n // the thenables might not yet be fulfilled.\n //\n // TODO: There are too many intermediate stream transformations in the\n // prefetch response pipeline (e.g. stripIsPartialByte, this function).\n // These could all be consolidated into a single transformation. Refactor\n // once the cached navigations experiment lands.\n //\n // Read the entire response from the network.\n const reader = body.getReader();\n const chunks = [];\n let size = 0;\n while(true){\n const { done, value } = await reader.read();\n if (done) break;\n chunks.push(value);\n size += value.byteLength;\n }\n // Concatenate into a single chunk so that Flight's processBinaryChunk\n // processes all rows synchronously in one call. Multiple chunks would not\n // be sufficient: even though reader.read() resolves as a microtask for\n // already-enqueued data, the `await` continuation from\n // createFromReadableStream can interleave between chunks. If the root\n // model row isn't the first row (e.g. outlined values come first), the\n // PromiseResolveThenableJob from `await` can cause the root to initialize\n // eagerly, scheduling the continuation before remaining chunks (including\n // promise value rows) are processed. A single chunk avoids this.\n let buffer;\n if (chunks.length === 1) {\n buffer = chunks[0];\n } else if (chunks.length > 1) {\n buffer = new Uint8Array(size);\n let offset = 0;\n for (const chunk of chunks){\n buffer.set(chunk, offset);\n offset += chunk.byteLength;\n }\n } else {\n buffer = new Uint8Array(0);\n }\n const stream = new ReadableStream({\n start (controller) {\n controller.enqueue(buffer);\n controller.close();\n }\n });\n return {\n stream,\n size\n };\n}\n/**\n * Creates a streaming (non-buffered) prefetch response stream for dynamic/Full\n * prefetches. These are essentially dynamic responses that get stored in the\n * prefetch cache — they don't carry vary params or other cache metadata that\n * requires synchronous thenable resolution, so there's no need to buffer them.\n * They should continue to stream so consumers can process data as it arrives.\n */ function createIncrementalPrefetchResponseStream(originalFlightStream, onStreamClose, onResponseSizeUpdate) {\n // While processing the original stream, we incrementally update the size\n // of the cache entry in the LRU.\n let totalByteLength = 0;\n const reader = originalFlightStream.getReader();\n return new ReadableStream({\n async pull (controller) {\n while(true){\n const { done, value } = await reader.read();\n if (!done) {\n // Pass to the target stream and keep consuming the Flight response\n // from the server.\n controller.enqueue(value);\n // Incrementally update the size of the cache entry in the LRU.\n totalByteLength += value.byteLength;\n onResponseSizeUpdate(totalByteLength);\n continue;\n }\n controller.close();\n onStreamClose();\n return;\n }\n }\n });\n}\nfunction addSegmentPathToUrlInOutputExportMode(url, segmentPath) {\n if (isOutputExportMode) {\n // In output: \"export\" mode, we cannot use a header to encode the segment\n // path. Instead, we append it to the end of the pathname.\n const staticUrl = new URL(url);\n const routeDir = staticUrl.pathname.endsWith('/') ? staticUrl.pathname.slice(0, -1) : staticUrl.pathname;\n const staticExportFilename = convertSegmentPathToStaticExportFilename(segmentPath);\n staticUrl.pathname = `${routeDir}/${staticExportFilename}`;\n return staticUrl;\n }\n return url;\n}\n/**\n * Checks whether the new fetch strategy is likely to provide more content than the old one.\n *\n * Generally, when an app uses dynamic data, a \"more specific\" fetch strategy is expected to provide more content:\n * - `LoadingBoundary` only provides static layouts\n * - `PPR` can provide shells for each segment (even for segments that use dynamic data)\n * - `PPRRuntime` can additionally include content that uses searchParams, params, or cookies\n * - `Full` includes all the content, even if it uses dynamic data\n *\n * However, it's possible that a more specific fetch strategy *won't* give us more content if:\n * - a segment is fully static\n * (then, `PPR`/`PPRRuntime`/`Full` will all yield equivalent results)\n * - providing searchParams/params/cookies doesn't reveal any more content, e.g. because of an `await connection()`\n * (then, `PPR` and `PPRRuntime` will yield equivalent results, only `Full` will give us more)\n * Because of this, when comparing two segments, we should also check if the existing segment is partial.\n * If it's not partial, then there's no need to prefetch it again, even using a \"more specific\" strategy.\n * There's currently no way to know if `PPRRuntime` will yield more data that `PPR`, so we have to assume it will.\n *\n * Also note that, in practice, we don't expect to be comparing `LoadingBoundary` to `PPR`/`PPRRuntime`,\n * because a non-PPR-enabled route wouldn't ever use the latter strategies. It might however use `Full`.\n */ export function canNewFetchStrategyProvideMoreContent(currentStrategy, newStrategy) {\n return currentStrategy < newStrategy;\n}\n/**\n * Adds the instant prefetch header if the navigation lock is active.\n * Uses a lazy require to ensure dead code elimination.\n */ function addInstantPrefetchHeaderIfLocked(headers) {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { isNavigationLocked } = require('./navigation-testing-lock');\n if (isNavigationLocked()) {\n headers[NEXT_INSTANT_PREFETCH_HEADER] = '1';\n }\n }\n}\nfunction getStaleAtFromHeader(now, response) {\n const staleTimeSeconds = parseInt(response.headers.get(NEXT_ROUTER_STALE_TIME_HEADER) ?? '', 10);\n const staleTimeMs = !isNaN(staleTimeSeconds) ? getStaleTimeMs(staleTimeSeconds) : STATIC_STALETIME_MS;\n return now + staleTimeMs;\n}\n/**\n * Reads the stale time from an async iterable or a response header and\n * returns a staleAt timestamp.\n *\n * TODO: Buffer the response and then read the iterable values\n * synchronously, similar to readVaryParams. This would avoid the need to\n * make this async, and we could also use it in\n * writeDynamicTreeResponseIntoCache. This will also be needed when React\n * starts leaving async iterables hanging when the outer RSC stream is\n * aborted e.g. due to sync I/O (with unstable_allowPartialStream).\n */ export async function getStaleAt(now, staleTimeIterable, response) {\n if (staleTimeIterable !== undefined) {\n // Iterate the async iterable and take the last yielded value. The server\n // yields updated staleTime values during the render; the last one is the\n // final staleTime.\n let staleTimeSeconds;\n for await (const value of staleTimeIterable){\n staleTimeSeconds = value;\n }\n if (staleTimeSeconds !== undefined) {\n const staleTimeMs = isNaN(staleTimeSeconds) ? STATIC_STALETIME_MS : getStaleTimeMs(staleTimeSeconds);\n return now + staleTimeMs;\n }\n }\n if (response !== undefined) {\n return getStaleAtFromHeader(now, response);\n }\n return now + STATIC_STALETIME_MS;\n}\n/**\n * Writes the static stage of a navigation response into the segment cache.\n * When `isResponsePartial` is false, segments are written as non-partial with\n * `FetchStrategy.Full` so no dynamic follow-up is needed. Default segments\n * are skipped (by `writeSeedDataIntoCache`) to avoid caching fallback content\n * that would block refreshes from overwriting with dynamic data.\n */ export function writeStaticStageResponseIntoCache(now, flightData, buildId, headVaryParamsThenable, staleAt, baseTree, renderedSearch, isResponsePartial) {\n const fetchStrategy = isResponsePartial ? FetchStrategy.PPR : FetchStrategy.Full;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n const flightDatas = normalizeFlightData(flightData);\n if (typeof flightDatas === 'string') {\n return;\n }\n const navigationSeed = convertServerPatchToFullTree(now, baseTree, flightDatas, renderedSearch, UnknownDynamicStaleTime);\n writeDynamicRenderResponseIntoCache(now, fetchStrategy, flightDatas, buildId, isResponsePartial, headVaryParams, staleAt, navigationSeed, null // spawnedEntries — no pre-created entries; will create or upsert\n );\n}\n/**\n * Decodes an embedded runtime prefetch Flight stream, normalizes the flight\n * data, and derives a `NavigationSeed` from the base tree.\n *\n * Returns `null` if the response triggers an MPA navigation.\n */ export async function processRuntimePrefetchStream(now, runtimePrefetchStream, baseTree, renderedSearch) {\n const { stream, isPartial } = await stripIsPartialByte(runtimePrefetchStream);\n const serverData = await createFromNextReadableStream(stream, undefined, {\n allowPartialStream: true\n });\n const headVaryParamsThenable = serverData.h;\n const headVaryParams = headVaryParamsThenable !== null ? readVaryParams(headVaryParamsThenable) : null;\n const staleAt = await getStaleAt(now, serverData.s);\n const flightDatas = normalizeFlightData(serverData.f);\n if (typeof flightDatas === 'string') {\n return null;\n }\n const navigationSeed = convertServerPatchToFullTree(now, baseTree, flightDatas, renderedSearch, UnknownDynamicStaleTime);\n return {\n flightDatas,\n navigationSeed,\n buildId: serverData.b,\n isResponsePartial: isPartial,\n headVaryParams,\n staleAt\n };\n}\n/**\n * Strips the leading isPartial byte from an RSC response stream.\n *\n * The server prepends a single byte: '~' (0x7e) for partial, '#' (0x23) for\n * complete. These bytes cannot appear as the first byte of a valid RSC Flight\n * response (Flight rows start with a hex digit or ':').\n *\n * If the first byte is not a recognized marker, the stream is returned intact\n * and `isPartial` is determined by the cachedNavigations experimental flag.\n */ export async function stripIsPartialByte(stream) {\n // When there is no recognized marker byte, the fallback depends on whether\n // Cached Navigations is enabled. When enabled, dynamic navigation responses\n // don't have a marker but may contain dynamic holes, so they are treated as\n // partial. When disabled, unmarked responses are treated as non-partial.\n const defaultIsPartial = !!process.env.__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS;\n const reader = stream.getReader();\n const { done, value } = await reader.read();\n if (done || !value || value.byteLength === 0) {\n return {\n stream: new ReadableStream({\n start: (c)=>c.close()\n }),\n isPartial: defaultIsPartial\n };\n }\n const firstByte = value[0];\n const hasMarker = firstByte === 0x23 || firstByte === 0x7e;\n const isPartial = hasMarker ? firstByte === 0x7e : defaultIsPartial;\n const remainder = hasMarker ? value.byteLength > 1 ? value.subarray(1) : null : value;\n return {\n isPartial,\n stream: new ReadableStream({\n start (controller) {\n if (remainder) {\n controller.enqueue(remainder);\n }\n },\n async pull (controller) {\n const result = await reader.read();\n if (result.done) {\n controller.close();\n } else {\n controller.enqueue(result.value);\n }\n }\n })\n };\n}\n\n//# sourceMappingURL=cache.js.map","import { PrefetchHint } from '../../../shared/lib/app-router-types';\nimport { PAGE_SEGMENT_KEY, DEFAULT_SEGMENT_KEY, NOT_FOUND_SEGMENT_KEY } from '../../../shared/lib/segment';\nimport { matchSegment } from '../match-segments';\nimport { createHrefFromUrl } from './create-href-from-url';\nimport { fetchServerResponse } from './fetch-server-response';\nimport { dispatchAppRouterAction } from '../use-action-queue';\nimport { ACTION_SERVER_PATCH } from './router-reducer-types';\nimport { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout';\nimport { getLastCommittedTree } from './reducers/committed-state';\nimport { convertServerPatchToFullTree } from '../segment-cache/navigation';\nimport { convertReusedFlightRouterStateToRouteTree, readSegmentCacheEntry, waitForSegmentCacheEntry, markRouteEntryAsDynamicRewrite, invalidateRouteCacheEntries, getStaleAt, writeStaticStageResponseIntoCache, processRuntimePrefetchStream, writeDynamicRenderResponseIntoCache, EntryStatus } from '../segment-cache/cache';\nimport { FetchStrategy } from '../segment-cache/types';\nimport { discoverKnownRoute } from '../segment-cache/optimistic-routes';\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants';\nimport { getRenderedSearchFromVaryPath } from '../segment-cache/vary-path';\nimport { readFromBFCache, readFromBFCacheDuringRegularNavigation, writeToBFCache, writeHeadToBFCache, updateBFCacheEntryStaleAt, computeDynamicStaleAt } from '../segment-cache/bfcache';\nexport var FreshnessPolicy = /*#__PURE__*/ function(FreshnessPolicy) {\n FreshnessPolicy[FreshnessPolicy[\"Default\"] = 0] = \"Default\";\n FreshnessPolicy[FreshnessPolicy[\"Hydration\"] = 1] = \"Hydration\";\n FreshnessPolicy[FreshnessPolicy[\"HistoryTraversal\"] = 2] = \"HistoryTraversal\";\n FreshnessPolicy[FreshnessPolicy[\"RefreshAll\"] = 3] = \"RefreshAll\";\n FreshnessPolicy[FreshnessPolicy[\"HMRRefresh\"] = 4] = \"HMRRefresh\";\n FreshnessPolicy[FreshnessPolicy[\"Gesture\"] = 5] = \"Gesture\";\n return FreshnessPolicy;\n}({});\nconst noop = ()=>{};\nexport function createInitialCacheNodeForHydration(navigatedAt, initialTree, seedData, seedHead, seedDynamicStaleAt) {\n // Create the initial cache node tree, using the data embedded into the\n // HTML document.\n const accumulation = {\n separateRefreshUrls: null,\n scrollRef: null\n };\n const task = createCacheNodeOnNavigation(navigatedAt, initialTree, null, 1, seedData, seedHead, seedDynamicStaleAt, false, accumulation);\n return task;\n}\n// Creates a new Cache Node tree (i.e. copy-on-write) that represents the\n// optimistic result of a navigation, using both the current Cache Node tree and\n// data that was prefetched prior to navigation.\n//\n// At the moment we call this function, we haven't yet received the navigation\n// response from the server. It could send back something completely different\n// from the tree that was prefetched — due to rewrites, default routes, parallel\n// routes, etc.\n//\n// But in most cases, it will return the same tree that we prefetched, just with\n// the dynamic holes filled in. So we optimistically assume this will happen,\n// and accept that the real result could be arbitrarily different.\n//\n// We'll reuse anything that was already in the previous tree, since that's what\n// the server does.\n//\n// New segments (ones that don't appear in the old tree) are assigned an\n// unresolved promise. The data for these promises will be fulfilled later, when\n// the navigation response is received.\n//\n// The tree can be rendered immediately after it is created (that's why this is\n// a synchronous function). Any new trees that do not have prefetch data will\n// suspend during rendering, until the dynamic data streams in.\n//\n// Returns a Task object, which contains both the updated Cache Node and a path\n// to the pending subtrees that need to be resolved by the navigation response.\n//\n// A return value of `null` means there were no changes, and the previous tree\n// can be reused without initiating a server request.\nexport function startPPRNavigation(navigatedAt, oldUrl, oldRenderedSearch, oldCacheNode, oldRouterState, newRouteTree, newMetadataVaryPath, freshness, seedData, seedHead, seedDynamicStaleAt, isSamePageNavigation, accumulation) {\n const didFindRootLayout = false;\n const parentNeedsDynamicRequest = false;\n const parentRefreshState = null;\n const oldRootRefreshState = {\n canonicalUrl: createHrefFromUrl(oldUrl),\n renderedSearch: oldRenderedSearch\n };\n return updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode !== null ? oldCacheNode : undefined, oldRouterState, newRouteTree, newMetadataVaryPath, freshness, didFindRootLayout, seedData, seedHead, seedDynamicStaleAt, isSamePageNavigation, parentNeedsDynamicRequest, oldRootRefreshState, parentRefreshState, accumulation);\n}\nfunction updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNode, oldRouterState, newRouteTree, newMetadataVaryPath, freshness, didFindRootLayout, seedData, seedHead, seedDynamicStaleAt, isSamePageNavigation, parentNeedsDynamicRequest, oldRootRefreshState, parentRefreshState, accumulation) {\n // Check if this segment matches the one in the previous route.\n const oldSegment = oldRouterState[0];\n const newSegment = createSegmentFromRouteTree(newRouteTree);\n if (!matchSegment(newSegment, oldSegment)) {\n // This segment does not match the previous route. We're now entering the\n // new part of the target route. Switch to the \"create\" path.\n if (// Check if the route tree changed before we reached a layout. (The\n // highest-level layout in a route tree is referred to as the \"root\"\n // layout.) This could mean that we're navigating between two different\n // root layouts. When this happens, we perform a full-page (MPA-style)\n // navigation.\n //\n // However, the algorithm for deciding where to start rendering a route\n // (i.e. the one performed in order to reach this function) is stricter\n // than the one used to detect a change in the root layout. So just\n // because we're re-rendering a segment outside of the root layout does\n // not mean we should trigger a full-page navigation.\n //\n // Specifically, we handle dynamic parameters differently: two segments\n // are considered the same even if their parameter values are different.\n //\n // Refer to isNavigatingToNewRootLayout for details.\n //\n // Note that we only have to perform this extra traversal if we didn't\n // already discover a root layout in the part of the tree that is\n // unchanged. We also only need to compare the subtree that is not\n // shared. In the common case, this branch is skipped completely.\n !didFindRootLayout && isNavigatingToNewRootLayout(oldRouterState, newRouteTree) || // The global Not Found route (app/global-not-found.tsx) is a special\n // case, because it acts like a root layout, but in the router tree, it\n // is rendered in the same position as app/layout.tsx.\n //\n // Any navigation to the global Not Found route should trigger a\n // full-page navigation.\n //\n // TODO: We should probably model this by changing the key of the root\n // segment when this happens. Then the root layout check would work\n // as expected, without a special case.\n newSegment === NOT_FOUND_SEGMENT_KEY) {\n return null;\n }\n return createCacheNodeOnNavigation(navigatedAt, newRouteTree, newMetadataVaryPath, freshness, seedData, seedHead, seedDynamicStaleAt, parentNeedsDynamicRequest, accumulation);\n }\n const newSlots = newRouteTree.slots;\n const oldRouterStateChildren = oldRouterState[1];\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n // We're currently traversing the part of the tree that was also part of\n // the previous route. If we discover a root layout, then we don't need to\n // trigger an MPA navigation.\n const childDidFindRootLayout = didFindRootLayout || (newRouteTree.prefetchHints & PrefetchHint.IsRootLayout) !== 0;\n let shouldRefreshDynamicData = false;\n switch(freshness){\n case 0:\n case 2:\n case 1:\n case 5:\n shouldRefreshDynamicData = false;\n break;\n case 3:\n case 4:\n shouldRefreshDynamicData = true;\n break;\n default:\n freshness;\n break;\n }\n // TODO: We're not consistent about how we do this check. Some places\n // check if the segment starts with PAGE_SEGMENT_KEY, but most seem to\n // check if there any any children, which is why I'm doing it here. We\n // should probably encode an empty children set as `null` though. Either\n // way, we should update all the checks to be consistent.\n const isLeafSegment = newSlots === null;\n // Get the data for this segment. Since it was part of the previous route,\n // usually we just clone the data from the old CacheNode. However, during a\n // refresh or a revalidation, there won't be any existing CacheNode. So we\n // may need to consult the prefetch cache, like we would for a new segment.\n let newCacheNode;\n let needsDynamicRequest;\n if (oldCacheNode !== undefined && !shouldRefreshDynamicData && // During a same-page navigation, we always refetch the page segments\n !(isLeafSegment && isSamePageNavigation)) {\n // Reuse the existing CacheNode\n const dropPrefetchRsc = false;\n newCacheNode = reuseSharedCacheNode(dropPrefetchRsc, oldCacheNode);\n needsDynamicRequest = false;\n } else {\n // If this is part of a refresh, ignore the existing CacheNode and create a\n // new one.\n const seedRsc = seedData !== null ? seedData[0] : null;\n const result = createCacheNodeForSegment(navigatedAt, newRouteTree, seedRsc, newMetadataVaryPath, seedHead, freshness, seedDynamicStaleAt);\n newCacheNode = result.cacheNode;\n needsDynamicRequest = result.needsDynamicRequest;\n // Carry forward the old node's scrollRef. This preserves scroll\n // intent when a prior navigation's cache node is replaced by a\n // refresh before the scroll handler has had a chance to fire —\n // e.g. when router.push() and router.refresh() are called in the\n // same startTransition batch.\n if (oldCacheNode !== undefined) {\n newCacheNode.scrollRef = oldCacheNode.scrollRef;\n }\n }\n // During a refresh navigation, there's a special case that happens when\n // entering a \"default\" slot. The default slot may not be part of the\n // current route; it may have been reused from an older route. If so,\n // we need to fetch its data from the old route's URL rather than current\n // route's URL. Keep track of this as we traverse the tree.\n const maybeRefreshState = newRouteTree.refreshState;\n const refreshState = maybeRefreshState !== undefined && maybeRefreshState !== null ? // refresh URL as we continue traversing the tree.\n maybeRefreshState : parentRefreshState;\n // If this segment itself needs to fetch new data from the server, then by\n // definition it is being refreshed. Track its refresh URL so we know which\n // URL to request the data from.\n if (needsDynamicRequest && refreshState !== null) {\n accumulateRefreshUrl(accumulation, refreshState);\n }\n // As we diff the trees, we may sometimes modify (copy-on-write, not mutate)\n // the Route Tree that was returned by the server — for example, in the case\n // of default parallel routes, we preserve the currently active segment. To\n // avoid mutating the original tree, we clone the router state children along\n // the return path.\n let patchedRouterStateChildren = {};\n let taskChildren = null;\n // Most navigations require a request to fetch additional data from the\n // server, either because the data was not already prefetched, or because the\n // target route contains dynamic data that cannot be prefetched.\n //\n // However, if the target route is fully static, and it's already completely\n // loaded into the segment cache, then we can skip the server request.\n //\n // This starts off as `false`, and is set to `true` if any of the child\n // routes requires a dynamic request.\n let childNeedsDynamicRequest = false;\n // As we traverse the children, we'll construct a FlightRouterState that can\n // be sent to the server to request the dynamic data. If it turns out that\n // nothing in the subtree is dynamic (i.e. childNeedsDynamicRequest is false\n // at the end), then this will be discarded.\n // TODO: We can probably optimize the format of this data structure to only\n // include paths that are dynamic. Instead of reusing the\n // FlightRouterState type.\n let dynamicRequestTreeChildren = {};\n let newCacheNodeSlots = null;\n if (newSlots !== null) {\n const oldCacheNodeSlots = oldCacheNode !== undefined ? oldCacheNode.slots : null;\n newCacheNode.slots = newCacheNodeSlots = {};\n taskChildren = new Map();\n for(let parallelRouteKey in newSlots){\n let newRouteTreeChild = newSlots[parallelRouteKey];\n const oldRouterStateChild = oldRouterStateChildren[parallelRouteKey];\n if (oldRouterStateChild === undefined) {\n // This should never happen, but if it does, it suggests a malformed\n // server response. Trigger a full-page navigation.\n return null;\n }\n let seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const oldSegmentChild = oldRouterStateChild[0];\n let newSegmentChild = createSegmentFromRouteTree(newRouteTreeChild);\n let seedHeadChild = seedHead;\n if (// Skip this branch during a history traversal. We restore the tree that\n // was stashed in the history entry as-is.\n freshness !== 2 && newSegmentChild === DEFAULT_SEGMENT_KEY && oldSegmentChild !== DEFAULT_SEGMENT_KEY) {\n // This is a \"default\" segment. These are never sent by the server during\n // a soft navigation; instead, the client reuses whatever segment was\n // already active in that slot on the previous route.\n newRouteTreeChild = reuseActiveSegmentInDefaultSlot(newRouteTree, parallelRouteKey, oldRootRefreshState, oldRouterStateChild);\n newSegmentChild = createSegmentFromRouteTree(newRouteTreeChild);\n // Since we're switching to a different route tree, these are no\n // longer valid, because they correspond to the outer tree.\n seedDataChild = null;\n seedHeadChild = null;\n }\n const oldCacheNodeChild = oldCacheNodeSlots !== null ? oldCacheNodeSlots[parallelRouteKey] : undefined;\n const taskChild = updateCacheNodeOnNavigation(navigatedAt, oldUrl, oldCacheNodeChild, oldRouterStateChild, newRouteTreeChild, newMetadataVaryPath, freshness, childDidFindRootLayout, seedDataChild ?? null, seedHeadChild, seedDynamicStaleAt, isSamePageNavigation, parentNeedsDynamicRequest || needsDynamicRequest, oldRootRefreshState, refreshState, accumulation);\n if (taskChild === null) {\n // One of the child tasks discovered a change to the root layout.\n // Immediately unwind from this recursive traversal. This will trigger a\n // full-page navigation.\n return null;\n }\n // Recursively propagate up the child tasks.\n taskChildren.set(parallelRouteKey, taskChild);\n newCacheNodeSlots[parallelRouteKey] = taskChild.node;\n // The child tree's route state may be different from the prefetched\n // route sent by the server. We need to clone it as we traverse back up\n // the tree.\n const taskChildRoute = taskChild.route;\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute;\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree;\n if (dynamicRequestTreeChild !== null) {\n // Something in the child tree is dynamic.\n childNeedsDynamicRequest = true;\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild;\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute;\n }\n }\n }\n const newFlightRouterState = [\n createSegmentFromRouteTree(newRouteTree),\n patchedRouterStateChildren,\n refreshState !== null ? [\n refreshState.canonicalUrl,\n refreshState.renderedSearch\n ] : null,\n null,\n newRouteTree.prefetchHints\n ];\n return {\n status: needsDynamicRequest ? 0 : 1,\n route: newFlightRouterState,\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(newFlightRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest),\n refreshState,\n children: taskChildren\n };\n}\n/**\n * Assigns a ScrollRef to a new leaf CacheNode so the scroll handler\n * knows to scroll to it after navigation. All leaves in the same\n * navigation share the same ScrollRef — the first segment to scroll\n * consumes it, preventing others from also scrolling.\n *\n * This is only called inside `createCacheNodeOnNavigation`, which only\n * runs when segments diverge from the previous route. So for a refresh\n * where the route structure stays the same, segments match, the update\n * path is taken, and this function is never called — no scroll ref is\n * assigned. A scroll ref is only assigned when the route actually\n * changed (e.g. a redirect, or a dynamic condition on the server that\n * produces a different route).\n *\n * Skipped during hydration (initial render should not scroll) and\n * history traversal (scroll restoration is handled separately).\n */ function accumulateScrollRef(freshness, cacheNode, accumulation) {\n switch(freshness){\n case 0:\n case 5:\n case 3:\n case 4:\n if (accumulation.scrollRef === null) {\n accumulation.scrollRef = {\n current: true\n };\n }\n cacheNode.scrollRef = accumulation.scrollRef;\n break;\n case 1:\n break;\n case 2:\n break;\n default:\n freshness;\n break;\n }\n}\nfunction createCacheNodeOnNavigation(navigatedAt, newRouteTree, newMetadataVaryPath, freshness, seedData, seedHead, seedDynamicStaleAt, parentNeedsDynamicRequest, accumulation) {\n // Same traversal as updateCacheNodeNavigation, but simpler. We switch to this\n // path once we reach the part of the tree that was not in the previous route.\n // We don't need to diff against the old tree, we just need to create a new\n // one. We also don't need to worry about any refresh-related logic.\n //\n // For the most part, this is a subset of updateCacheNodeOnNavigation, so any\n // change that happens in this function likely needs to be applied to that\n // one, too. However there are some places where the behavior intentionally\n // diverges, which is why we keep them separate.\n const newSegment = createSegmentFromRouteTree(newRouteTree);\n const newSlots = newRouteTree.slots;\n const seedDataChildren = seedData !== null ? seedData[1] : null;\n const seedRsc = seedData !== null ? seedData[0] : null;\n const result = createCacheNodeForSegment(navigatedAt, newRouteTree, seedRsc, newMetadataVaryPath, seedHead, freshness, seedDynamicStaleAt);\n const newCacheNode = result.cacheNode;\n const needsDynamicRequest = result.needsDynamicRequest;\n const isLeafSegment = newSlots === null;\n if (isLeafSegment) {\n accumulateScrollRef(freshness, newCacheNode, accumulation);\n }\n let patchedRouterStateChildren = {};\n let taskChildren = null;\n let childNeedsDynamicRequest = false;\n let dynamicRequestTreeChildren = {};\n let newCacheNodeSlots = null;\n if (newSlots !== null) {\n newCacheNode.slots = newCacheNodeSlots = {};\n taskChildren = new Map();\n for(let parallelRouteKey in newSlots){\n const newRouteTreeChild = newSlots[parallelRouteKey];\n const seedDataChild = seedDataChildren !== null ? seedDataChildren[parallelRouteKey] : null;\n const taskChild = createCacheNodeOnNavigation(navigatedAt, newRouteTreeChild, newMetadataVaryPath, freshness, seedDataChild ?? null, seedHead, seedDynamicStaleAt, parentNeedsDynamicRequest || needsDynamicRequest, accumulation);\n taskChildren.set(parallelRouteKey, taskChild);\n newCacheNodeSlots[parallelRouteKey] = taskChild.node;\n const taskChildRoute = taskChild.route;\n patchedRouterStateChildren[parallelRouteKey] = taskChildRoute;\n const dynamicRequestTreeChild = taskChild.dynamicRequestTree;\n if (dynamicRequestTreeChild !== null) {\n childNeedsDynamicRequest = true;\n dynamicRequestTreeChildren[parallelRouteKey] = dynamicRequestTreeChild;\n } else {\n dynamicRequestTreeChildren[parallelRouteKey] = taskChildRoute;\n }\n }\n }\n const newFlightRouterState = [\n newSegment,\n patchedRouterStateChildren,\n null,\n null,\n newRouteTree.prefetchHints\n ];\n return {\n status: needsDynamicRequest ? 0 : 1,\n route: newFlightRouterState,\n node: newCacheNode,\n dynamicRequestTree: createDynamicRequestTree(newFlightRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest),\n // This route is not part of the current tree, so there's no reason to\n // track the refresh URL.\n refreshState: null,\n children: taskChildren\n };\n}\nfunction createSegmentFromRouteTree(newRouteTree) {\n if (newRouteTree.isPage) {\n // In a dynamic server response, the server embeds the search params into\n // the segment key, but in a static one it's omitted. The client handles\n // this inconsistency by adding the search params back right at the end.\n //\n // TODO: The only thing this is used for is to create a cache key for\n // ChildSegmentMap. But we already track the `renderedSearch` everywhere as\n // part of the varyPath. The plan is get rid of ChildSegmentMap and\n // store the page data in a CacheMap using the varyPath, like we do\n // for prefetches. Then we can remove it from the segment key.\n //\n // As an incremental step, we can grab the search params from the varyPath.\n const renderedSearch = getRenderedSearchFromVaryPath(newRouteTree.varyPath);\n if (renderedSearch === null) {\n return PAGE_SEGMENT_KEY;\n }\n // This is based on equivalent logic in addSearchParamsIfPageSegment, used\n // on the server.\n const stringifiedQuery = JSON.stringify(Object.fromEntries(new URLSearchParams(renderedSearch)));\n return stringifiedQuery !== '{}' ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery : PAGE_SEGMENT_KEY;\n }\n return newRouteTree.segment;\n}\nfunction patchRouterStateWithNewChildren(baseRouterState, newChildren) {\n const clone = [\n baseRouterState[0],\n newChildren\n ];\n // Based on equivalent logic in apply-router-state-patch-to-tree, but should\n // confirm whether we need to copy all of these fields. Not sure the server\n // ever sends, e.g. the refetch marker.\n if (2 in baseRouterState) {\n clone[2] = baseRouterState[2];\n }\n if (3 in baseRouterState) {\n clone[3] = baseRouterState[3];\n }\n if (4 in baseRouterState) {\n clone[4] = baseRouterState[4];\n }\n return clone;\n}\nfunction createDynamicRequestTree(newRouterState, dynamicRequestTreeChildren, needsDynamicRequest, childNeedsDynamicRequest, parentNeedsDynamicRequest) {\n // Create a FlightRouterState that instructs the server how to render the\n // requested segment.\n //\n // Or, if neither this segment nor any of the children require a new data,\n // then we return `null` to skip the request.\n let dynamicRequestTree = null;\n if (needsDynamicRequest) {\n dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren);\n // The \"refetch\" marker is set on the top-most segment that requires new\n // data. We can omit it if a parent was already marked.\n if (!parentNeedsDynamicRequest) {\n dynamicRequestTree[3] = 'refetch';\n }\n } else if (childNeedsDynamicRequest) {\n // This segment does not request new data, but at least one of its\n // children does.\n dynamicRequestTree = patchRouterStateWithNewChildren(newRouterState, dynamicRequestTreeChildren);\n } else {\n dynamicRequestTree = null;\n }\n return dynamicRequestTree;\n}\nfunction accumulateRefreshUrl(accumulation, refreshState) {\n // This is a refresh navigation, and we're inside a \"default\" slot that's\n // not part of the current route; it was reused from an older route. In\n // order to get fresh data for this reused route, we need to issue a\n // separate request using the old route's URL.\n //\n // Track these extra URLs in the accumulated result. Later, we'll construct\n // an appropriate request for each unique URL in the final set. The reason\n // we don't do it immediately here is so we can deduplicate multiple\n // instances of the same URL into a single request. See\n // listenForDynamicRequest for more details.\n const refreshUrl = refreshState.canonicalUrl;\n const separateRefreshUrls = accumulation.separateRefreshUrls;\n if (separateRefreshUrls === null) {\n accumulation.separateRefreshUrls = new Set([\n refreshUrl\n ]);\n } else {\n separateRefreshUrls.add(refreshUrl);\n }\n}\nfunction reuseActiveSegmentInDefaultSlot(parentRouteTree, parallelRouteKey, oldRootRefreshState, oldRouterState) {\n // This is a \"default\" segment. These are never sent by the server during a\n // soft navigation; instead, the client reuses whatever segment was already\n // active in that slot on the previous route. This means if we later need to\n // refresh the segment, it will have to be refetched from the previous route's\n // URL. We store it in the Flight Router State.\n let reusedUrl;\n let reusedRenderedSearch;\n const oldRefreshState = oldRouterState[2];\n if (oldRefreshState !== undefined && oldRefreshState !== null) {\n // This segment was already reused from an even older route. Keep its\n // existing URL and refresh state.\n reusedUrl = oldRefreshState[0];\n reusedRenderedSearch = oldRefreshState[1];\n } else {\n // Since this route didn't already have a refresh state, it must have been\n // reachable from the root of the old route. So we use the refresh state\n // that represents the old route.\n reusedUrl = oldRootRefreshState.canonicalUrl;\n reusedRenderedSearch = oldRootRefreshState.renderedSearch;\n }\n const acc = {\n metadataVaryPath: null\n };\n const reusedRouteTree = convertReusedFlightRouterStateToRouteTree(parentRouteTree, parallelRouteKey, oldRouterState, reusedRenderedSearch, acc);\n reusedRouteTree.refreshState = {\n canonicalUrl: reusedUrl,\n renderedSearch: reusedRenderedSearch\n };\n return reusedRouteTree;\n}\nfunction reuseSharedCacheNode(dropPrefetchRsc, existingCacheNode) {\n // Clone the CacheNode that was already present in the previous tree.\n // Carry forward the scrollRef so scroll intent from a prior navigation\n // survives tree rebuilds (e.g. push + refresh in the same batch).\n return createCacheNode(existingCacheNode.rsc, dropPrefetchRsc ? null : existingCacheNode.prefetchRsc, existingCacheNode.head, dropPrefetchRsc ? null : existingCacheNode.prefetchHead, existingCacheNode.scrollRef);\n}\nfunction createCacheNodeForSegment(now, tree, seedRsc, metadataVaryPath, seedHead, freshness, dynamicStaleAt) {\n // Construct a new CacheNode using data from the BFCache, the client's\n // Segment Cache, or seeded from a server response.\n //\n // If there's a cache miss, or if we only have a partial hit, we'll render\n // the partial state immediately, and spawn a request to the server to fill\n // in the missing data.\n //\n // If the segment is fully cached on the client already, we can omit this\n // segment from the server request.\n //\n // If we already have a dynamic data response associated with this navigation,\n // as in the case of a Server Action-initiated redirect or refresh, we may\n // also be able to use that data without spawning a new request. (This is\n // referred to as the \"seed\" data.)\n const isPage = tree.isPage;\n // During certain kinds of navigations, we may be able to render from\n // the BFCache.\n switch(freshness){\n case 0:\n {\n // Check BFCache during regular navigations. The entry's staleAt\n // determines whether it's still fresh. This is used when\n // staleTimes.dynamic is configured globally or when a page exports\n // unstable_dynamicStaleTime for per-page control.\n const bfcacheEntry = readFromBFCacheDuringRegularNavigation(now, tree.varyPath);\n if (bfcacheEntry !== null) {\n return {\n cacheNode: createCacheNode(bfcacheEntry.rsc, bfcacheEntry.prefetchRsc, bfcacheEntry.head, bfcacheEntry.prefetchHead),\n needsDynamicRequest: false\n };\n }\n break;\n }\n case 1:\n {\n // This is not related to the BFCache but it is a special case.\n //\n // We should never spawn network requests during hydration. We must treat\n // the initial payload as authoritative, because the initial page load is\n // used as a last-ditch mechanism for recovering the app.\n //\n // This is also an important safety check because if this leaks into the\n // server rendering path (which theoretically it never should because the\n // server payload should be consistent), the server would hang because these\n // promises would never resolve.\n //\n // TODO: There is an existing case where the global \"not found\" boundary\n // triggers this path. But it does render correctly despite that. That's an\n // unusual render path so it's not surprising, but we should look into\n // modeling it in a more consistent way. See also the /_notFound special\n // case in updateCacheNodeOnNavigation.\n const rsc = seedRsc;\n const prefetchRsc = null;\n const head = isPage ? seedHead : null;\n const prefetchHead = null;\n writeToBFCache(now, tree.varyPath, rsc, prefetchRsc, head, prefetchHead, dynamicStaleAt);\n if (isPage && metadataVaryPath !== null) {\n writeHeadToBFCache(now, metadataVaryPath, head, prefetchHead, dynamicStaleAt);\n }\n return {\n cacheNode: createCacheNode(rsc, prefetchRsc, head, prefetchHead),\n needsDynamicRequest: false\n };\n }\n case 2:\n const bfcacheEntry = readFromBFCache(tree.varyPath);\n if (bfcacheEntry !== null) {\n // Only show prefetched data if the dynamic data is still pending. This\n // avoids a flash back to the prefetch state in a case where it's highly\n // likely to have already streamed in.\n //\n // Tehnically, what we're actually checking is whether the dynamic\n // network response was received. But since it's a streaming response,\n // this does not mean that all the dynamic data has fully streamed in.\n // It just means that _some_ of the dynamic data was received. But as a\n // heuristic, we assume that the rest dynamic data will stream in\n // quickly, so it's still better to skip the prefetch state.\n const oldRsc = bfcacheEntry.rsc;\n const oldRscDidResolve = !isDeferredRsc(oldRsc) || oldRsc.status !== 'pending';\n const dropPrefetchRsc = oldRscDidResolve;\n return {\n cacheNode: createCacheNode(bfcacheEntry.rsc, dropPrefetchRsc ? null : bfcacheEntry.prefetchRsc, bfcacheEntry.head, dropPrefetchRsc ? null : bfcacheEntry.prefetchHead),\n needsDynamicRequest: false\n };\n }\n break;\n case 3:\n case 4:\n case 5:\n break;\n default:\n freshness;\n break;\n }\n let cachedRsc = null;\n let isCachedRscPartial = true;\n const segmentEntry = readSegmentCacheEntry(now, tree.varyPath);\n if (segmentEntry !== null) {\n switch(segmentEntry.status){\n case EntryStatus.Fulfilled:\n {\n // Happy path: a cache hit\n cachedRsc = segmentEntry.rsc;\n isCachedRscPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Pending:\n {\n // We haven't received data for this segment yet, but there's already\n // an in-progress request. Since it's extremely likely to arrive\n // before the dynamic data response, we might as well use it.\n const promiseForFulfilledEntry = waitForSegmentCacheEntry(segmentEntry);\n cachedRsc = promiseForFulfilledEntry.then((entry)=>entry !== null ? entry.rsc : null);\n // Because the request is still pending, we typically don't know yet\n // whether the response will be partial. We shouldn't skip this segment\n // during the dynamic navigation request. Otherwise, we might need to\n // do yet another request to fill in the remaining data, creating\n // a waterfall.\n //\n // The one exception is if this segment is being fetched with via\n // prefetch={true} (i.e. the \"force stale\" or \"full\" strategy). If so,\n // we can assume the response will be full. This field is set to `false`\n // for such segments.\n isCachedRscPartial = segmentEntry.isPartial;\n break;\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n {\n segmentEntry;\n break;\n }\n }\n }\n // Now combine the cached data with the seed data to determine what we can\n // render immediately, versus what needs to stream in later.\n // A partial state to show immediately while we wait for the final data to\n // arrive. If `rsc` is already a complete value (not partial), or if we\n // don't have any useful partial state, this will be `null`.\n let prefetchRsc;\n // The final, resolved segment data. If the data is missing, this will be a\n // promise that resolves to the eventual data. A resolved value of `null`\n // means the data failed to load; the LayoutRouter will suspend indefinitely\n // until the router updates again (refer to finishNavigationTask).\n let rsc;\n let doesSegmentNeedDynamicRequest;\n if (seedRsc !== null) {\n // We already have a dynamic server response for this segment.\n if (isCachedRscPartial) {\n // The seed data may still be streaming in, so it's worth showing the\n // partial cached state in the meantime.\n prefetchRsc = cachedRsc;\n rsc = seedRsc;\n } else {\n // We already have a completely cached segment. Ignore the seed data,\n // which may still be streaming in. This shouldn't happen in the normal\n // case because the client will inform the server which segments are\n // already fully cached, and the server will skip rendering them.\n prefetchRsc = null;\n rsc = cachedRsc;\n }\n doesSegmentNeedDynamicRequest = false;\n } else {\n if (isCachedRscPartial) {\n // The cached data contains dynamic holes, or it's missing entirely. We'll\n // show the partial state immediately (if available), and stream in the\n // final data.\n //\n // Create a pending promise that we can later write to when the\n // data arrives from the server.\n prefetchRsc = cachedRsc;\n rsc = createDeferredRsc();\n } else {\n // The data is fully cached.\n prefetchRsc = null;\n rsc = cachedRsc;\n }\n doesSegmentNeedDynamicRequest = isCachedRscPartial;\n }\n // If this is a page segment, we need to do the same for the head. This\n // follows analogous logic to the segment data above.\n // TODO: We don't need to store the head on the page segment's CacheNode; we\n // can lift it to the main state object. Then we can also delete\n // findHeadCache.\n let prefetchHead = null;\n let head = null;\n let doesHeadNeedDynamicRequest = isPage;\n if (isPage) {\n let cachedHead = null;\n let isCachedHeadPartial = true;\n if (metadataVaryPath !== null) {\n const metadataEntry = readSegmentCacheEntry(now, metadataVaryPath);\n if (metadataEntry !== null) {\n switch(metadataEntry.status){\n case EntryStatus.Fulfilled:\n {\n cachedHead = metadataEntry.rsc;\n isCachedHeadPartial = metadataEntry.isPartial;\n break;\n }\n case EntryStatus.Pending:\n {\n cachedHead = waitForSegmentCacheEntry(metadataEntry).then((entry)=>entry !== null ? entry.rsc : null);\n isCachedHeadPartial = metadataEntry.isPartial;\n break;\n }\n case EntryStatus.Empty:\n case EntryStatus.Rejected:\n {\n break;\n }\n default:\n {\n metadataEntry;\n break;\n }\n }\n }\n }\n if (process.env.__NEXT_OPTIMISTIC_ROUTING && isCachedHeadPartial) {\n // TODO: When optimistic routing is enabled, don't block on waiting for\n // the viewport to resolve. This is a temporary workaround until Vary\n // Params are tracked when rendering the metadata. We'll fix it before\n // this feature is stable. However, it's not a critical issue because 1)\n // it will stream in eventually anyway 2) metadata is wrapped in an\n // internal Suspense boundary, so is always non-blocking; this only\n // affects the viewport node, which is meant to blocking, however... 3)\n // before Segment Cache landed this wasn't always the case, anyway, so\n // it's unlikely that many people are relying on this behavior. Still,\n // will be fixed before stable. It's the very next step in the sequence of\n // work on this project.\n //\n // This line of code works because the App Router treats `null` as\n // \"no renderable head available\", rather than an empty head. React treats\n // an empty string as empty.\n cachedHead = '';\n }\n if (seedHead !== null) {\n if (isCachedHeadPartial) {\n prefetchHead = cachedHead;\n head = seedHead;\n } else {\n prefetchHead = null;\n head = cachedHead;\n }\n doesHeadNeedDynamicRequest = false;\n } else {\n if (isCachedHeadPartial) {\n prefetchHead = cachedHead;\n head = createDeferredRsc();\n } else {\n prefetchHead = null;\n head = cachedHead;\n }\n doesHeadNeedDynamicRequest = isCachedHeadPartial;\n }\n }\n // Now that we're creating a new segment, write its data to the BFCache. A\n // subsequent back/forward navigation will reuse this same data, until or\n // unless it's cleared by a refresh/revalidation.\n //\n // Skip BFCache writes for optimistic navigations since they are transient\n // and will be replaced by the canonical navigation.\n if (freshness !== 5) {\n writeToBFCache(now, tree.varyPath, rsc, prefetchRsc, head, prefetchHead, dynamicStaleAt);\n if (isPage && metadataVaryPath !== null) {\n writeHeadToBFCache(now, metadataVaryPath, head, prefetchHead, dynamicStaleAt);\n }\n }\n return {\n cacheNode: createCacheNode(rsc, prefetchRsc, head, prefetchHead),\n // TODO: We should store this field on the CacheNode itself. I think we can\n // probably unify NavigationTask, CacheNode, and DeferredRsc into a\n // single type. Or at least CacheNode and DeferredRsc.\n needsDynamicRequest: doesSegmentNeedDynamicRequest || doesHeadNeedDynamicRequest\n };\n}\nfunction createCacheNode(rsc, prefetchRsc, head, prefetchHead, scrollRef = null) {\n return {\n rsc,\n prefetchRsc,\n head,\n prefetchHead,\n slots: null,\n scrollRef\n };\n}\n// Represents whether the previuos navigation resulted in a route tree mismatch.\n// A mismatch results in a refresh of the page. If there are two successive\n// mismatches, we will fall back to an MPA navigation, to prevent a retry loop.\nlet previousNavigationDidMismatch = false;\n// Writes a dynamic server response into the tree created by\n// updateCacheNodeOnNavigation. All pending promises that were spawned by the\n// navigation will be resolved, either with dynamic data from the server, or\n// `null` to indicate that the data is missing.\n//\n// A `null` value will trigger a lazy fetch during render, which will then patch\n// up the tree using the same mechanism as the non-PPR implementation\n// (serverPatchReducer).\n//\n// Usually, the server will respond with exactly the subset of data that we're\n// waiting for — everything below the nearest shared layout. But technically,\n// the server can return anything it wants.\n//\n// This does _not_ create a new tree; it modifies the existing one in place.\n// Which means it must follow the Suspense rules of cache safety.\nexport function spawnDynamicRequests(task, primaryUrl, nextUrl, freshnessPolicy, accumulation, // The route cache entry used for this navigation, if it came from route\n// prediction. Passed through so it can be marked as having a dynamic rewrite\n// if the server returns a different pathname than expected (indicating\n// dynamic rewrite behavior that varies by param value).\nrouteCacheEntry, // The original navigation's push/replace intent. Threaded through to the\n// server-patch retry logic so it can inherit the intent if the original\n// transition hasn't committed yet.\nnavigateType) {\n const dynamicRequestTree = task.dynamicRequestTree;\n if (dynamicRequestTree === null) {\n // This navigation was fully cached. There are no dynamic requests to spawn.\n previousNavigationDidMismatch = false;\n return;\n }\n // This is intentionally not an async function to discourage the caller from\n // awaiting the result. Any subsequent async operations spawned by this\n // function should result in a separate navigation task, rather than\n // block the original one.\n //\n // In this function we spawn (but do not await) all the network requests that\n // block the navigation, and collect the promises. The next function,\n // `finishNavigationTask`, can await the promises in any order without\n // accidentally introducing a network waterfall.\n const primaryRequestPromise = fetchMissingDynamicData(task, dynamicRequestTree, primaryUrl, nextUrl, freshnessPolicy, routeCacheEntry);\n const separateRefreshUrls = accumulation.separateRefreshUrls;\n let refreshRequestPromises = null;\n if (separateRefreshUrls !== null) {\n // There are multiple URLs that we need to request the data from. This\n // happens when a \"default\" parallel route slot is present in the tree, and\n // its data cannot be fetched from the current route. We need to split the\n // combined dynamic request tree into separate requests per URL.\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // Construct a request tree for each additional refresh URL. This will\n // prune away everything except the parts of the tree that match the\n // given refresh URL.\n refreshRequestPromises = [];\n const canonicalUrl = createHrefFromUrl(primaryUrl);\n for (const refreshUrl of separateRefreshUrls){\n if (refreshUrl === canonicalUrl) {\n continue;\n }\n // TODO: Create a scoped dynamic request tree that omits anything that\n // is not relevant to the given URL. Without doing this, the server may\n // sometimes render more data than necessary; this is not a regression\n // compared to the pre-Segment Cache implementation, though, just an\n // optimization we can make in the future.\n // const scopedDynamicRequestTree = splitTaskByURL(task, refreshUrl)\n const scopedDynamicRequestTree = dynamicRequestTree;\n if (scopedDynamicRequestTree !== null) {\n refreshRequestPromises.push(fetchMissingDynamicData(task, scopedDynamicRequestTree, new URL(refreshUrl, location.origin), // TODO: Just noticed that this should actually the Next-Url at the\n // time the refresh URL was set, not the current Next-Url. Need to\n // start tracking this alongside the refresh URL. In the meantime,\n // if a refresh fails due to a mismatch, it will trigger a\n // hard refresh.\n nextUrl, freshnessPolicy, routeCacheEntry));\n }\n }\n }\n // Further async operations are moved into this separate function to\n // discourage sequential network requests.\n const voidPromise = finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises, routeCacheEntry, navigateType);\n // `finishNavigationTask` is responsible for error handling, so we can attach\n // noop callbacks to this promise.\n voidPromise.then(noop, noop);\n}\nasync function finishNavigationTask(task, nextUrl, primaryRequestPromise, refreshRequestPromises, routeCacheEntry, navigateType) {\n // Wait for all the requests to finish, or for the first one to fail.\n let exitStatus = await waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises);\n // Once the all the requests have finished, check the tree for any remaining\n // pending tasks. If anything is still pending, it means the server response\n // does not match the client, and we must refresh to get back to a consistent\n // state. We can skip this step if we already detected a mismatch during the\n // first phase; it doesn't matter in that case because we're going to refresh\n // the whole tree regardless.\n if (exitStatus === 0) {\n exitStatus = abortRemainingPendingTasks(task, null, null);\n }\n switch(exitStatus){\n case 0:\n {\n // The task has completely finished. There's no missing data. Exit.\n previousNavigationDidMismatch = false;\n return;\n }\n case 1:\n {\n // Some data failed to finish loading. Trigger a soft retry.\n // TODO: As an extra precaution against soft retry loops, consider\n // tracking whether a navigation was itself triggered by a retry. If two\n // happen in a row, fall back to a hard retry.\n const isHardRetry = false;\n const primaryRequestResult = await primaryRequestPromise;\n dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route, routeCacheEntry, navigateType);\n return;\n }\n case 2:\n {\n // Some data failed to finish loading in a non-recoverable way, such as a\n // network error. Trigger an MPA navigation.\n //\n // Hard navigating/refreshing is how we prevent an infinite retry loop\n // caused by a network error — when the network fails, we fall back to the\n // browser behavior for offline navigations. In the future, Next.js may\n // introduce its own custom handling of offline navigations, but that\n // doesn't exist yet.\n const isHardRetry = true;\n const primaryRequestResult = await primaryRequestPromise;\n dispatchRetryDueToTreeMismatch(isHardRetry, primaryRequestResult.url, nextUrl, primaryRequestResult.seed, task.route, routeCacheEntry, navigateType);\n return;\n }\n default:\n {\n return exitStatus;\n }\n }\n}\nfunction waitForRequestsToFinish(primaryRequestPromise, refreshRequestPromises) {\n // Custom async combinator logic. This could be replaced by Promise.any but\n // we don't assume that's available.\n //\n // Each promise resolves once the server responsds and the data is written\n // into the CacheNode tree. Resolve the combined promise once all the\n // requests finish.\n //\n // Or, resolve as soon as one of the requests fails, without waiting for the\n // others to finish.\n return new Promise((resolve)=>{\n const onFulfill = (result)=>{\n if (result.exitStatus === 0) {\n remainingCount--;\n if (remainingCount === 0) {\n // All the requests finished successfully.\n resolve(0);\n }\n } else {\n // One of the requests failed. Exit with a failing status.\n // NOTE: It's possible for one of the requests to fail with SoftRetry\n // and a later one to fail with HardRetry. In this case, we choose to\n // retry immediately, rather than delay the retry until all the requests\n // finish. If it fails again, we will hard retry on the next\n // attempt, anyway.\n resolve(result.exitStatus);\n }\n };\n // onReject shouldn't ever be called because fetchMissingDynamicData's\n // entire body is wrapped in a try/catch. This is just defensive.\n const onReject = ()=>resolve(2);\n // Attach the listeners to the promises.\n let remainingCount = 1;\n primaryRequestPromise.then(onFulfill, onReject);\n if (refreshRequestPromises !== null) {\n remainingCount += refreshRequestPromises.length;\n refreshRequestPromises.forEach((refreshRequestPromise)=>refreshRequestPromise.then(onFulfill, onReject));\n }\n });\n}\nfunction dispatchRetryDueToTreeMismatch(isHardRetry, retryUrl, retryNextUrl, seed, baseTree, // The route cache entry used for this navigation, if it came from route\n// prediction. If the navigation results in a mismatch, we mark it as having\n// a dynamic rewrite so future predictions bail out.\nrouteCacheEntry, // The original navigation's push/replace intent.\noriginalNavigateType) {\n // If the navigation used a route prediction, mark it as having a dynamic\n // rewrite since it resulted in a mismatch.\n if (routeCacheEntry !== null) {\n markRouteEntryAsDynamicRewrite(routeCacheEntry);\n } else if (seed !== null) {\n // Even without a direct reference to the route cache entry, we can still\n // mark the route as having a dynamic rewrite by traversing the known route\n // tree. This handles cases where the navigation didn't originate from a\n // route prediction, but still needs to mark the pattern.\n const metadataVaryPath = seed.metadataVaryPath;\n if (metadataVaryPath !== null) {\n const now = Date.now();\n discoverKnownRoute(now, retryUrl.pathname, retryNextUrl, null, seed.routeTree, metadataVaryPath, false, createHrefFromUrl(retryUrl), false, true // hasDynamicRewrite\n );\n }\n }\n // Invalidate all route cache entries. Other entries may have been derived\n // from the template before we knew it had a dynamic rewrite. This also\n // triggers re-prefetching of visible links.\n invalidateRouteCacheEntries(retryNextUrl, baseTree);\n // If this is the second time in a row that a navigation resulted in a\n // mismatch, fall back to a hard (MPA) refresh.\n isHardRetry = isHardRetry || previousNavigationDidMismatch;\n previousNavigationDidMismatch = true;\n // If the original navigation hasn't committed to the browser history yet\n // (the transition suspended before React committed), inherit its push/replace\n // intent. Otherwise, the pushState already ran, so use 'replace' to avoid\n // creating a duplicate history entry.\n //\n // This works because React entangles the retry's state update with the\n // original pending transition — they commit together as a single batch,\n // so the navigate type from the retry is what HistoryUpdater ultimately sees.\n //\n // TODO: Ideally this check would happen right before we schedule the React\n // update (i.e., closer to where the action is dispatched into the queue),\n // not here where the action is constructed. But the current action queue\n // doesn't provide a natural place for that. Revisit when we refactor the\n // action queue into a more reactive navigation model.\n const lastCommitted = getLastCommittedTree();\n const retryNavigateType = lastCommitted !== null && baseTree !== lastCommitted ? originalNavigateType : 'replace';\n const retryAction = {\n type: ACTION_SERVER_PATCH,\n previousTree: baseTree,\n url: retryUrl,\n nextUrl: retryNextUrl,\n seed,\n mpa: isHardRetry,\n navigateType: retryNavigateType\n };\n dispatchAppRouterAction(retryAction);\n}\nasync function fetchMissingDynamicData(task, dynamicRequestTree, url, nextUrl, freshnessPolicy, routeCacheEntry) {\n try {\n const result = await fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl,\n isHmrRefresh: freshnessPolicy === 4\n });\n if (typeof result === 'string') {\n // fetchServerResponse will return an href to indicate that the SPA\n // navigation failed. For example, if the server triggered a hard\n // redirect, or the fetch request errored. Initiate an MPA navigation\n // to the given href.\n return {\n exitStatus: 2,\n url: new URL(result, location.origin),\n seed: null\n };\n }\n const now = Date.now();\n const seed = convertServerPatchToFullTree(now, task.route, result.flightData, result.renderedSearch, result.dynamicStaleTime);\n // If the navigation lock is active, wait for it to be released before\n // writing the dynamic data. This allows tests to assert on the prefetched\n // UI state.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n await waitForNavigationLock();\n }\n if (routeCacheEntry !== null && result.staticStageData !== null) {\n const { response: staticStageResponse, isResponsePartial } = result.staticStageData;\n getStaleAt(now, staticStageResponse.s).then((staleAt)=>{\n const buildId = result.responseHeaders.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? staticStageResponse.b;\n writeStaticStageResponseIntoCache(now, staticStageResponse.f, buildId, staticStageResponse.h, staleAt, dynamicRequestTree, result.renderedSearch, isResponsePartial);\n }).catch(()=>{\n // The static stage processing failed. Not fatal — the navigation\n // completed normally, we just won't write into the cache.\n });\n }\n if (routeCacheEntry !== null && result.runtimePrefetchStream !== null) {\n processRuntimePrefetchStream(now, result.runtimePrefetchStream, dynamicRequestTree, result.renderedSearch).then((processed)=>{\n if (processed !== null) {\n writeDynamicRenderResponseIntoCache(now, FetchStrategy.PPRRuntime, processed.flightDatas, processed.buildId, processed.isResponsePartial, processed.headVaryParams, processed.staleAt, processed.navigationSeed, null);\n }\n }).catch(()=>{\n // The runtime prefetch cache write failed. Not fatal — the\n // navigation completed normally, we just won't cache runtime data.\n });\n }\n // result.dynamicStaleTime is in seconds (from the server's `d` field).\n // Convert to an absolute timestamp using the centralized helper.\n const dynamicStaleAt = computeDynamicStaleAt(now, result.dynamicStaleTime);\n const didReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(task, seed.routeTree, seed.data, seed.head, dynamicStaleAt, result.debugInfo);\n return {\n exitStatus: didReceiveUnknownParallelRoute ? 1 : 0,\n url: new URL(result.canonicalUrl, location.origin),\n seed\n };\n } catch {\n // This shouldn't happen because fetchServerResponse's entire body is\n // wrapped in a try/catch. If it does, though, it implies the server failed\n // to respond with any tree at all. So we must fall back to a hard retry.\n return {\n exitStatus: 2,\n url: url,\n seed: null\n };\n }\n}\nfunction writeDynamicDataIntoNavigationTask(task, serverRouteTree, dynamicData, dynamicHead, dynamicStaleAt, debugInfo) {\n if (task.status === 0 && dynamicData !== null) {\n task.status = 1;\n finishPendingCacheNode(task.node, dynamicData, dynamicHead, debugInfo);\n // Update the BFCache entry's staleAt for this segment with the value\n // from the dynamic response. This applies the per-page\n // unstable_dynamicStaleTime if set, or the default DYNAMIC_STALETIME_MS.\n // We only update segments that received dynamic data — static segments\n // are unaffected.\n updateBFCacheEntryStaleAt(serverRouteTree.varyPath, dynamicStaleAt);\n }\n const taskChildren = task.children;\n const serverChildren = serverRouteTree.slots;\n const dynamicDataChildren = dynamicData !== null ? dynamicData[1] : null;\n // Detect whether the server sends a parallel route slot that the client\n // doesn't know about.\n let didReceiveUnknownParallelRoute = false;\n if (taskChildren !== null) {\n if (serverChildren !== null) {\n for(const parallelRouteKey in serverChildren){\n const serverRouteTreeChild = serverChildren[parallelRouteKey];\n const dynamicDataChild = dynamicDataChildren !== null ? dynamicDataChildren[parallelRouteKey] : null;\n const taskChild = taskChildren.get(parallelRouteKey);\n if (taskChild === undefined) {\n // The server sent a child segment that the client doesn't know about.\n //\n // When we receive an unknown parallel route, we must consider it a\n // mismatch. This is unlike the case where the segment itself\n // mismatches, because multiple routes can be active simultaneously.\n // But a given layout should never have a mismatching set of\n // child slots.\n //\n // Theoretically, this should only happen in development during an HMR\n // refresh, because the set of parallel routes for a layout does not\n // change over the lifetime of a build/deployment. In production, we\n // should have already mismatched on either the build id or the segment\n // path. But as an extra precaution, we validate in prod, too.\n didReceiveUnknownParallelRoute = true;\n } else {\n const taskSegment = taskChild.route[0];\n const serverSegment = createSegmentFromRouteTree(serverRouteTreeChild);\n if (matchSegment(serverSegment, taskSegment) && dynamicDataChild !== null && dynamicDataChild !== undefined) {\n // Found a match for this task. Keep traversing down the task tree.\n const childDidReceiveUnknownParallelRoute = writeDynamicDataIntoNavigationTask(taskChild, serverRouteTreeChild, dynamicDataChild, dynamicHead, dynamicStaleAt, debugInfo);\n if (childDidReceiveUnknownParallelRoute) {\n didReceiveUnknownParallelRoute = true;\n }\n }\n }\n }\n } else {\n if (serverChildren !== null) {\n // The server sent a child segment that the client doesn't know about.\n didReceiveUnknownParallelRoute = true;\n }\n }\n }\n return didReceiveUnknownParallelRoute;\n}\nfunction finishPendingCacheNode(cacheNode, dynamicData, dynamicHead, debugInfo) {\n // Writes a dynamic response into an existing Cache Node tree. This does _not_\n // create a new tree, it updates the existing tree in-place. So it must follow\n // the Suspense rules of cache safety — it can resolve pending promises, but\n // it cannot overwrite existing data. It can add segments to the tree (because\n // a missing segment will cause the layout router to suspend).\n // but it cannot delete them.\n //\n // We must resolve every promise in the tree, or else it will suspend\n // indefinitely. If we did not receive data for a segment, we will resolve its\n // data promise to `null` to trigger a lazy fetch during render.\n // Use the dynamic data from the server to fulfill the deferred RSC promise\n // on the Cache Node.\n const rsc = cacheNode.rsc;\n const dynamicSegmentData = dynamicData[0];\n if (dynamicSegmentData === null) {\n // This is an empty CacheNode; this particular server request did not\n // render this segment. There may be a separate pending request that will,\n // though, so we won't abort the task until all pending requests finish.\n return;\n }\n if (rsc === null) {\n // This is a lazy cache node. We can overwrite it. This is only safe\n // because we know that the LayoutRouter suspends if `rsc` is `null`.\n cacheNode.rsc = dynamicSegmentData;\n } else if (isDeferredRsc(rsc)) {\n // This is a deferred RSC promise. We can fulfill it with the data we just\n // received from the server. If it was already resolved by a different\n // navigation, then this does nothing because we can't overwrite data.\n rsc.resolve(dynamicSegmentData, debugInfo);\n } else {\n // This is not a deferred RSC promise, nor is it empty, so it must have\n // been populated by a different navigation. We must not overwrite it.\n }\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved with the dynamic head from\n // the server.\n const head = cacheNode.head;\n if (isDeferredRsc(head)) {\n head.resolve(dynamicHead, debugInfo);\n }\n}\nfunction abortRemainingPendingTasks(task, error, debugInfo) {\n let exitStatus;\n if (task.status === 0) {\n // The data for this segment is still missing.\n task.status = 2;\n abortPendingCacheNode(task.node, error, debugInfo);\n // If the server failed to fulfill the data for this segment, it implies\n // that the route tree received from the server mismatched the tree that\n // was previously prefetched.\n //\n // In an app with fully static routes and no proxy-driven redirects or\n // rewrites, this should never happen, because the route for a URL would\n // always be the same across multiple requests. So, this implies that some\n // runtime routing condition changed, likely in a proxy, without being\n // pushed to the client.\n //\n // When this happens, we treat this the same as a refresh(). The entire\n // tree will be re-rendered from the root.\n if (task.refreshState === null) {\n // Trigger a \"soft\" refresh. Essentially the same as calling `refresh()`\n // in a Server Action.\n exitStatus = 1;\n } else {\n // The mismatch was discovered inside an inactive parallel route. This\n // implies the inactive parallel route is no longer reachable at the URL\n // that originally rendered it. Fall back to an MPA refresh.\n // TODO: An alternative could be to trigger a soft refresh but to _not_\n // re-use the inactive parallel routes this time. Similar to what would\n // happen if were to do a hard refrehs, but without the HTML page.\n exitStatus = 2;\n }\n } else {\n // This segment finished. (An error here is treated as Done because they are\n // surfaced to the application during render.)\n exitStatus = 0;\n }\n const taskChildren = task.children;\n if (taskChildren !== null) {\n for (const [, taskChild] of taskChildren){\n const childExitStatus = abortRemainingPendingTasks(taskChild, error, debugInfo);\n // Propagate the exit status up the tree. The statuses are ordered by\n // their precedence.\n if (childExitStatus > exitStatus) {\n exitStatus = childExitStatus;\n }\n }\n }\n return exitStatus;\n}\nfunction abortPendingCacheNode(cacheNode, error, debugInfo) {\n const rsc = cacheNode.rsc;\n if (isDeferredRsc(rsc)) {\n if (error === null) {\n // This will trigger a lazy fetch during render.\n rsc.resolve(null, debugInfo);\n } else {\n // This will trigger an error during rendering.\n rsc.reject(error, debugInfo);\n }\n }\n // Check if this is a leaf segment. If so, it will have a `head` property with\n // a pending promise that needs to be resolved. If an error was provided, we\n // will not resolve it with an error, since this is rendered at the root of\n // the app. We want the segment to error, not the entire app.\n const head = cacheNode.head;\n if (isDeferredRsc(head)) {\n head.resolve(null, debugInfo);\n }\n}\nconst DEFERRED = Symbol();\n// This type exists to distinguish a DeferredRsc from a Flight promise. It's a\n// compromise to avoid adding an extra field on every Cache Node, which would be\n// awkward because the pre-PPR parts of codebase would need to account for it,\n// too. We can remove it once type Cache Node type is more settled.\nexport function isDeferredRsc(value) {\n return value && typeof value === 'object' && value.tag === DEFERRED;\n}\nfunction createDeferredRsc() {\n // Create an unresolved promise that represents data derived from a Flight\n // response. The promise will be resolved later as soon as we start receiving\n // data from the server, i.e. as soon as the Flight client decodes and returns\n // the top-level response object.\n // The `_debugInfo` field contains profiling information. Promises that are\n // created by Flight already have this info added by React; for any derived\n // promise created by the router, we need to transfer the Flight debug info\n // onto the derived promise.\n //\n // The debug info represents the latency between the start of the navigation\n // and the start of rendering. (It does not represent the time it takes for\n // whole stream to finish.)\n const debugInfo = [];\n let resolve;\n let reject;\n const pendingRsc = new Promise((res, rej)=>{\n resolve = res;\n reject = rej;\n });\n pendingRsc.status = 'pending';\n pendingRsc.resolve = (value, responseDebugInfo)=>{\n if (pendingRsc.status === 'pending') {\n const fulfilledRsc = pendingRsc;\n fulfilledRsc.status = 'fulfilled';\n fulfilledRsc.value = value;\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo);\n }\n resolve(value);\n }\n };\n pendingRsc.reject = (error, responseDebugInfo)=>{\n if (pendingRsc.status === 'pending') {\n const rejectedRsc = pendingRsc;\n rejectedRsc.status = 'rejected';\n rejectedRsc.reason = error;\n if (responseDebugInfo !== null) {\n // Transfer the debug info to the derived promise.\n debugInfo.push.apply(debugInfo, responseDebugInfo);\n }\n reject(error);\n }\n };\n pendingRsc.tag = DEFERRED;\n pendingRsc._debugInfo = debugInfo;\n return pendingRsc;\n}\n/**\n * Helper for the Instant Navigation Testing API. Waits for the navigation lock\n * to be released before returning. The network request has already completed by\n * the time this is called, so this only delays writing the dynamic data.\n *\n * Not exposed in production builds by default.\n */ async function waitForNavigationLock() {\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { waitForNavigationLockIfActive } = require('../segment-cache/navigation-testing-lock');\n await waitForNavigationLockIfActive();\n }\n}\n\n//# sourceMappingURL=ppr-navigations.js.map","import { fetchServerResponse } from '../router-reducer/fetch-server-response';\nimport { startPPRNavigation, spawnDynamicRequests, FreshnessPolicy } from '../router-reducer/ppr-navigations';\nimport { createHrefFromUrl } from '../router-reducer/create-href-from-url';\nimport { NEXT_NAV_DEPLOYMENT_ID_HEADER } from '../../../lib/constants';\nimport { EntryStatus, readRouteCacheEntry, deprecated_requestOptimisticRouteCacheEntry, convertRootFlightRouterStateToRouteTree, getStaleAt, writeStaticStageResponseIntoCache, processRuntimePrefetchStream, writeDynamicRenderResponseIntoCache } from './cache';\nimport { discoverKnownRoute } from './optimistic-routes';\nimport { createCacheKey } from './cache-key';\nimport { schedulePrefetchTask } from './scheduler';\nimport { PrefetchPriority, FetchStrategy } from './types';\nimport { getLinkForCurrentNavigation } from '../links';\nimport { ScrollBehavior } from '../router-reducer/router-reducer-types';\nimport { computeChangedPath } from '../router-reducer/compute-changed-path';\nimport { isJavaScriptURLString } from '../../lib/javascript-url';\nimport { UnknownDynamicStaleTime, computeDynamicStaleAt } from './bfcache';\n/**\n * Navigate to a new URL, using the Segment Cache to construct a response.\n *\n * To allow for synchronous navigations whenever possible, this is not an async\n * function. It returns a promise only if there's no matching prefetch in\n * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to\n * stream in any missing data.\n */ export function navigate(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType) {\n // Instant Navigation Testing API: when the lock is active, ensure a\n // prefetch task has been initiated before proceeding with the navigation.\n // This guarantees that segment data requests are at least pending, even\n // for routes that already have a cached route tree. Without this, the\n // static shell might be incomplete because some segments were never\n // requested.\n if (process.env.__NEXT_EXPOSE_TESTING_API) {\n const { isNavigationLocked } = require('./navigation-testing-lock');\n if (isNavigationLocked()) {\n return ensurePrefetchThenNavigate(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType);\n }\n }\n return navigateImpl(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType);\n}\nfunction navigateImpl(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType) {\n const now = Date.now();\n const href = url.href;\n const cacheKey = createCacheKey(href, nextUrl);\n const route = readRouteCacheEntry(now, cacheKey);\n if (route !== null && route.status === EntryStatus.Fulfilled) {\n // We have a matching prefetch.\n return navigateUsingPrefetchedRouteTree(now, state, url, currentUrl, currentRenderedSearch, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, scrollBehavior, navigateType, route);\n }\n // There was no matching route tree in the cache. Let's see if we can\n // construct an \"optimistic\" route tree using the deprecated search-params\n // based matching. This is only used when the new optimisticRouting flag is\n // disabled.\n //\n // Do not construct an optimistic route tree if there was a cache hit, but\n // the entry has a rejected status, since it may have been rejected due to a\n // rewrite or redirect based on the search params.\n //\n // TODO: There are multiple reasons a prefetch might be rejected; we should\n // track them explicitly and choose what to do here based on that.\n if (!process.env.__NEXT_OPTIMISTIC_ROUTING) {\n if (route === null || route.status !== EntryStatus.Rejected) {\n const optimisticRoute = deprecated_requestOptimisticRouteCacheEntry(now, url, nextUrl);\n if (optimisticRoute !== null) {\n // We have an optimistic route tree. Proceed with the normal flow.\n return navigateUsingPrefetchedRouteTree(now, state, url, currentUrl, currentRenderedSearch, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, scrollBehavior, navigateType, optimisticRoute);\n }\n }\n }\n // There's no matching prefetch for this route in the cache. We must lazily\n // fetch it from the server before we can perform the navigation.\n //\n // TODO: If this is a gesture navigation, instead of performing a\n // dynamic request, we should do a runtime prefetch.\n return navigateToUnknownRoute(now, state, url, currentUrl, currentRenderedSearch, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, scrollBehavior, navigateType).catch(()=>{\n // If the navigation fails, return the current state\n return state;\n });\n}\nexport function navigateToKnownRoute(now, state, url, canonicalUrl, navigationSeed, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, scrollBehavior, navigateType, debugInfo, // The route cache entry used for this navigation, if it came from route\n// prediction. Passed through so it can be marked as having a dynamic rewrite\n// if the server returns a different pathname (indicating dynamic rewrite\n// behavior).\n//\n// When null, the navigation did not use route prediction - either because\n// the route was already fully cached, or it's a navigation that doesn't\n// involve prediction (refresh, history traversal, server action, etc.).\n// In these cases, if a mismatch occurs, we still mark the route as having a\n// dynamic rewrite by traversing the known route tree (see\n// dispatchRetryDueToTreeMismatch).\nrouteCacheEntry) {\n // A version of navigate() that accepts the target route tree as an argument\n // rather than reading it from the prefetch cache.\n const accumulation = {\n separateRefreshUrls: null,\n scrollRef: null\n };\n // We special case navigations to the exact same URL as the current location.\n // It's a common UI pattern for apps to refresh when you click a link to the\n // current page. So when this happens, we refresh the dynamic data in the page\n // segments.\n //\n // Note that this does not apply if the any part of the hash or search query\n // has changed. This might feel a bit weird but it makes more sense when you\n // consider that the way to trigger this behavior is to click the same link\n // multiple times.\n //\n // TODO: We should probably refresh the *entire* route when this case occurs,\n // not just the page segments. Essentially treating it the same as a refresh()\n // triggered by an action, which is the more explicit way of modeling the UI\n // pattern described above.\n //\n // Also note that this only refreshes the dynamic data, not static/ cached\n // data. If the page segment is fully static and prefetched, the request is\n // skipped. (This is also how refresh() works.)\n const isSamePageNavigation = url.href === currentUrl.href;\n const task = startPPRNavigation(now, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, navigationSeed.routeTree, navigationSeed.metadataVaryPath, freshnessPolicy, navigationSeed.data, navigationSeed.head, navigationSeed.dynamicStaleAt, isSamePageNavigation, accumulation);\n if (task !== null) {\n if (freshnessPolicy !== FreshnessPolicy.Gesture) {\n spawnDynamicRequests(task, url, nextUrl, freshnessPolicy, accumulation, routeCacheEntry, navigateType);\n }\n return completeSoftNavigation(state, url, nextUrl, task.route, task.node, navigationSeed.renderedSearch, canonicalUrl, navigateType, scrollBehavior, accumulation.scrollRef, debugInfo);\n }\n // Could not perform a SPA navigation. Revert to a full-page (MPA) navigation.\n return completeHardNavigation(state, url, navigateType);\n}\nfunction navigateUsingPrefetchedRouteTree(now, state, url, currentUrl, currentRenderedSearch, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, scrollBehavior, navigateType, route) {\n const routeTree = route.tree;\n const canonicalUrl = route.canonicalUrl + url.hash;\n const renderedSearch = route.renderedSearch;\n const prefetchSeed = {\n renderedSearch,\n routeTree,\n metadataVaryPath: route.metadata.varyPath,\n data: null,\n head: null,\n dynamicStaleAt: computeDynamicStaleAt(now, UnknownDynamicStaleTime)\n };\n return navigateToKnownRoute(now, state, url, canonicalUrl, prefetchSeed, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, scrollBehavior, navigateType, null, route);\n}\n// Used to request all the dynamic data for a route, rather than just a subset,\n// e.g. during a refresh or a revalidation. Typically this gets constructed\n// during the normal flow when diffing the route tree, but for an unprefetched\n// navigation, where we don't know the structure of the target route, we use\n// this instead.\nconst DynamicRequestTreeForEntireRoute = [\n '',\n {},\n null,\n 'refetch'\n];\nasync function navigateToUnknownRoute(now, state, url, currentUrl, currentRenderedSearch, nextUrl, currentCacheNode, currentFlightRouterState, freshnessPolicy, scrollBehavior, navigateType) {\n // Runs when a navigation happens but there's no cached prefetch we can use.\n // Don't bother to wait for a prefetch response; go straight to a full\n // navigation that contains both static and dynamic data in a single stream.\n // (This is unlike the old navigation implementation, which instead blocks\n // the dynamic request until a prefetch request is received.)\n //\n // To avoid duplication of logic, we're going to pretend that the tree\n // returned by the dynamic request is, in fact, a prefetch tree. Then we can\n // use the same server response to write the actual data into the CacheNode\n // tree. So it's the same flow as the \"happy path\" (prefetch, then\n // navigation), except we use a single server response for both stages.\n let dynamicRequestTree;\n switch(freshnessPolicy){\n case FreshnessPolicy.Default:\n case FreshnessPolicy.HistoryTraversal:\n case FreshnessPolicy.Gesture:\n dynamicRequestTree = currentFlightRouterState;\n break;\n case FreshnessPolicy.Hydration:\n case FreshnessPolicy.RefreshAll:\n case FreshnessPolicy.HMRRefresh:\n dynamicRequestTree = DynamicRequestTreeForEntireRoute;\n break;\n default:\n freshnessPolicy;\n dynamicRequestTree = currentFlightRouterState;\n break;\n }\n const promiseForDynamicServerResponse = fetchServerResponse(url, {\n flightRouterState: dynamicRequestTree,\n nextUrl\n });\n const result = await promiseForDynamicServerResponse;\n if (typeof result === 'string') {\n // This is an MPA navigation.\n const redirectUrl = new URL(result, location.origin);\n return completeHardNavigation(state, redirectUrl, navigateType);\n }\n const { flightData, canonicalUrl, renderedSearch, couldBeIntercepted, supportsPerSegmentPrefetching, dynamicStaleTime, staticStageData, runtimePrefetchStream, responseHeaders, debugInfo } = result;\n // Since the response format of dynamic requests and prefetches is slightly\n // different, we'll need to massage the data a bit. Create FlightRouterState\n // tree that simulates what we'd receive as the result of a prefetch.\n const navigationSeed = convertServerPatchToFullTree(now, currentFlightRouterState, flightData, renderedSearch, dynamicStaleTime);\n // Learn the route pattern so we can predict it for future navigations.\n // hasDynamicRewrite is false because this is a fresh navigation to an\n // unknown route - any rewrite detection happens during the traversal inside\n // discoverKnownRoute. The hasDynamicRewrite param is only set to true when\n // retrying after a tree mismatch (see dispatchRetryDueToTreeMismatch).\n const metadataVaryPath = navigationSeed.metadataVaryPath;\n if (metadataVaryPath !== null) {\n discoverKnownRoute(now, url.pathname, nextUrl, null, navigationSeed.routeTree, metadataVaryPath, couldBeIntercepted, createHrefFromUrl(canonicalUrl), supportsPerSegmentPrefetching, false // hasDynamicRewrite - not a retry, rewrite detection happens during traversal\n );\n if (staticStageData !== null) {\n const { response: staticStageResponse, isResponsePartial } = staticStageData;\n // Write the static stage of the response into the segment cache so that\n // subsequent navigations can serve cached static segments instantly.\n getStaleAt(now, staticStageResponse.s).then((staleAt)=>{\n const buildId = responseHeaders.get(NEXT_NAV_DEPLOYMENT_ID_HEADER) ?? staticStageResponse.b;\n writeStaticStageResponseIntoCache(now, staticStageResponse.f, buildId, staticStageResponse.h, staleAt, currentFlightRouterState, renderedSearch, isResponsePartial);\n }).catch(()=>{\n // The static stage processing failed. Not fatal — the navigation\n // completed normally, we just won't write into the cache.\n });\n }\n if (runtimePrefetchStream !== null) {\n processRuntimePrefetchStream(now, runtimePrefetchStream, currentFlightRouterState, renderedSearch).then((processed)=>{\n if (processed !== null) {\n writeDynamicRenderResponseIntoCache(now, FetchStrategy.PPRRuntime, processed.flightDatas, processed.buildId, processed.isResponsePartial, processed.headVaryParams, processed.staleAt, processed.navigationSeed, null);\n }\n }).catch(()=>{\n // The runtime prefetch cache write failed. Not fatal — the\n // navigation completed normally, we just won't cache runtime data.\n });\n }\n }\n return navigateToKnownRoute(now, state, url, createHrefFromUrl(canonicalUrl), navigationSeed, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, freshnessPolicy, nextUrl, scrollBehavior, navigateType, debugInfo, // Unknown route navigations don't use route prediction - the route tree\n // came directly from the server. If a mismatch occurs during dynamic data\n // fetch, the retry handler will traverse the known route tree to mark the\n // entry as having a dynamic rewrite.\n null);\n}\nexport function completeHardNavigation(state, url, navigateType) {\n if (isJavaScriptURLString(url.href)) {\n console.error('Next.js has blocked a javascript: URL as a security precaution.');\n return state;\n }\n const newState = {\n canonicalUrl: url.origin === location.origin ? createHrefFromUrl(url) : url.href,\n pushRef: {\n pendingPush: navigateType === 'push',\n mpaNavigation: true,\n preserveCustomHistoryState: false\n },\n // TODO: None of the rest of these values are consistent with the incoming\n // navigation. We rely on the fact that AppRouter will suspend and trigger\n // a hard navigation before it accesses any of these values. But instead\n // we should trigger the hard navigation and blocking any subsequent\n // router updates without updating React.\n renderedSearch: state.renderedSearch,\n focusAndScrollRef: state.focusAndScrollRef,\n cache: state.cache,\n tree: state.tree,\n nextUrl: state.nextUrl,\n previousNextUrl: state.previousNextUrl,\n debugInfo: null\n };\n return newState;\n}\nexport function completeSoftNavigation(oldState, url, referringNextUrl, tree, cache, renderedSearch, canonicalUrl, navigateType, scrollBehavior, scrollRef, collectedDebugInfo) {\n // The \"Next-Url\" is a special representation of the URL that Next.js\n // uses to implement interception routes.\n // TODO: Get rid of this extra traversal by computing this during the\n // same traversal that computes the tree itself. We should also figure out\n // what is the minimum information needed for the server to correctly\n // intercept the route.\n const changedPath = computeChangedPath(oldState.tree, tree);\n const nextUrlForNewRoute = changedPath ? changedPath : oldState.nextUrl;\n // This value is stored on the state as `previousNextUrl`; the naming is\n // confusing. What it represents is the \"Next-Url\" header that was used to\n // fetch the incoming route. It's essentially the refererer URL, but in a\n // Next.js specific format. During refreshes, this is sent back to the server\n // instead of the current route's \"Next-Url\" so that the same interception\n // logic is applied as during the original navigation.\n const previousNextUrl = referringNextUrl;\n // Check if the only thing that changed was the hash fragment.\n const oldUrl = new URL(oldState.canonicalUrl, url);\n const onlyHashChange = // We don't need to compare the origins, because client-driven\n // navigations are always same-origin.\n url.pathname === oldUrl.pathname && url.search === oldUrl.search && url.hash !== oldUrl.hash;\n // Determine whether and how the page should scroll after this\n // navigation.\n //\n // By default, we scroll to the segments that were navigated to — i.e.\n // segments in the new part of the route, as opposed to shared segments\n // that were already part of the previous route. All newly navigated\n // segments share a single ScrollRef. When they mount, the first one\n // to mount initiates the scroll. They share a ref so that only one\n // scroll happens per navigation.\n //\n // If a subsequent navigation produces new segments, those supersede\n // any pending scroll from the previous navigation by invalidating its\n // ScrollRef. If a navigation doesn't produce any new segments (e.g.\n // a refresh where the route structure didn't change), any pending\n // scrolls from previous navigations are unaffected.\n //\n // The branches below handle special cases layered on top of this\n // default model.\n let activeScrollRef;\n let forceScroll;\n if (scrollBehavior === ScrollBehavior.NoScroll) {\n // The user explicitly opted out of scrolling (e.g. scroll={false}\n // on a Link or router.push).\n //\n // If this navigation created new scroll targets (scrollRef !== null),\n // neutralize them. If it didn't, any prior scroll targets carried\n // forward on the cache nodes via reuseSharedCacheNode remain active.\n if (scrollRef !== null) {\n scrollRef.current = false;\n }\n activeScrollRef = oldState.focusAndScrollRef.scrollRef;\n forceScroll = false;\n } else if (onlyHashChange) {\n // Hash-only navigations should scroll regardless of per-node state.\n // Create a fresh ref so the first segment to scroll consumes it.\n //\n // Invalidate any scroll ref from a prior navigation that hasn't\n // been consumed yet.\n const oldScrollRef = oldState.focusAndScrollRef.scrollRef;\n if (oldScrollRef !== null) {\n oldScrollRef.current = false;\n }\n // Also invalidate any per-node refs that were accumulated during\n // this navigation's tree construction — the hash-only ref\n // supersedes them.\n if (scrollRef !== null) {\n scrollRef.current = false;\n }\n activeScrollRef = {\n current: true\n };\n forceScroll = true;\n } else {\n // Default case. Use the accumulated scrollRef (may be null if no\n // new segments were created). The handler checks per-node refs, so\n // unchanged parallel route slots won't scroll.\n activeScrollRef = scrollRef;\n // If this navigation created new scroll targets, invalidate any\n // pending scroll from a previous navigation.\n if (scrollRef !== null) {\n const oldScrollRef = oldState.focusAndScrollRef.scrollRef;\n if (oldScrollRef !== null) {\n oldScrollRef.current = false;\n }\n }\n forceScroll = false;\n }\n const newState = {\n canonicalUrl,\n renderedSearch,\n pushRef: {\n pendingPush: navigateType === 'push',\n mpaNavigation: false,\n preserveCustomHistoryState: false\n },\n focusAndScrollRef: {\n scrollRef: activeScrollRef,\n forceScroll,\n onlyHashChange,\n hashFragment: // Remove leading # and decode hash to make non-latin hashes work.\n //\n // Empty hash should trigger default behavior of scrolling layout into\n // view. #top is handled in layout-router.\n //\n // Refer to `ScrollAndFocusHandler` for details on how this is used.\n scrollBehavior !== ScrollBehavior.NoScroll && url.hash !== '' ? decodeURIComponent(url.hash.slice(1)) : oldState.focusAndScrollRef.hashFragment\n },\n cache,\n tree,\n nextUrl: nextUrlForNewRoute,\n previousNextUrl,\n debugInfo: collectedDebugInfo\n };\n return newState;\n}\nexport function completeTraverseNavigation(state, url, renderedSearch, cache, tree, nextUrl) {\n return {\n // Set canonical url\n canonicalUrl: createHrefFromUrl(url),\n renderedSearch,\n pushRef: {\n pendingPush: false,\n mpaNavigation: false,\n // Ensures that the custom history state that was set is preserved when applying this update.\n preserveCustomHistoryState: true\n },\n focusAndScrollRef: state.focusAndScrollRef,\n cache,\n // Restore provided tree\n tree,\n nextUrl,\n // TODO: We need to restore previousNextUrl, too, which represents the\n // Next-Url that was used to fetch the data. Anywhere we fetch using the\n // canonical URL, there should be a corresponding Next-Url.\n previousNextUrl: null,\n debugInfo: null\n };\n}\nexport function convertServerPatchToFullTree(now, currentTree, flightData, renderedSearch, dynamicStaleTimeSeconds) {\n // During a client navigation or prefetch, the server sends back only a patch\n // for the parts of the tree that have changed.\n //\n // This applies the patch to the base tree to create a full representation of\n // the resulting tree.\n //\n // The return type includes a full FlightRouterState tree and a full\n // CacheNodeSeedData tree. (Conceptually these are the same tree, and should\n // eventually be unified, but there's still lots of existing code that\n // operates on FlightRouterState trees alone without the CacheNodeSeedData.)\n //\n // TODO: This similar to what apply-router-state-patch-to-tree does. It\n // will eventually fully replace it. We should get rid of all the remaining\n // places where we iterate over the server patch format. This should also\n // eventually replace normalizeFlightData.\n let baseTree = currentTree;\n let baseData = null;\n let head = null;\n if (flightData !== null) {\n for (const { segmentPath, tree: treePatch, seedData: dataPatch, head: headPatch } of flightData){\n const result = convertServerPatchToFullTreeImpl(baseTree, baseData, treePatch, dataPatch, segmentPath, renderedSearch, 0);\n baseTree = result.tree;\n baseData = result.data;\n // This is the same for all patches per response, so just pick an\n // arbitrary one\n head = headPatch;\n }\n }\n const finalFlightRouterState = baseTree;\n // Convert the final FlightRouterState into a RouteTree type.\n //\n // TODO: Eventually, FlightRouterState will evolve to being a transport format\n // only. The RouteTree type will become the main type used for dealing with\n // routes on the client, and we'll store it in the state directly.\n const acc = {\n metadataVaryPath: null\n };\n const routeTree = convertRootFlightRouterStateToRouteTree(finalFlightRouterState, renderedSearch, acc);\n return {\n routeTree,\n metadataVaryPath: acc.metadataVaryPath,\n data: baseData,\n renderedSearch,\n head,\n dynamicStaleAt: computeDynamicStaleAt(now, dynamicStaleTimeSeconds)\n };\n}\nfunction convertServerPatchToFullTreeImpl(baseRouterState, baseData, treePatch, dataPatch, segmentPath, renderedSearch, index) {\n if (index === segmentPath.length) {\n // We reached the part of the tree that we need to patch.\n return {\n tree: treePatch,\n data: dataPatch\n };\n }\n // segmentPath represents the parent path of subtree. It's a repeating\n // pattern of parallel route key and segment:\n //\n // [string, Segment, string, Segment, string, Segment, ...]\n //\n // This path tells us which part of the base tree to apply the tree patch.\n //\n // NOTE: We receive the FlightRouterState patch in the same request as the\n // seed data patch. Therefore we don't need to worry about diffing the segment\n // values; we can assume the server sent us a correct result.\n const updatedParallelRouteKey = segmentPath[index];\n // const segment: Segment = segmentPath[index + 1] <-- Not used, see note above\n const baseTreeChildren = baseRouterState[1];\n const baseSeedDataChildren = baseData !== null ? baseData[1] : null;\n const newTreeChildren = {};\n const newSeedDataChildren = {};\n for(const parallelRouteKey in baseTreeChildren){\n const childBaseRouterState = baseTreeChildren[parallelRouteKey];\n const childBaseSeedData = baseSeedDataChildren !== null ? baseSeedDataChildren[parallelRouteKey] ?? null : null;\n if (parallelRouteKey === updatedParallelRouteKey) {\n const result = convertServerPatchToFullTreeImpl(childBaseRouterState, childBaseSeedData, treePatch, dataPatch, segmentPath, renderedSearch, // Advance the index by two and keep cloning until we reach\n // the end of the segment path.\n index + 2);\n newTreeChildren[parallelRouteKey] = result.tree;\n newSeedDataChildren[parallelRouteKey] = result.data;\n } else {\n // This child is not being patched. Copy it over as-is.\n newTreeChildren[parallelRouteKey] = childBaseRouterState;\n newSeedDataChildren[parallelRouteKey] = childBaseSeedData;\n }\n }\n let clonedTree;\n let clonedSeedData;\n // Clone all the fields except the children.\n // Clone the FlightRouterState tree. Based on equivalent logic in\n // apply-router-state-patch-to-tree, but should confirm whether we need to\n // copy all of these fields. Not sure the server ever sends, e.g. the\n // refetch marker.\n clonedTree = [\n baseRouterState[0],\n newTreeChildren\n ];\n if (2 in baseRouterState) {\n const compressedRefreshState = baseRouterState[2];\n if (compressedRefreshState !== undefined && compressedRefreshState !== null) {\n // Since this part of the tree was patched with new data, any parent\n // refresh states should be updated to reflect the new rendered search\n // value. (The refresh state acts like a \"context provider\".) All pages\n // within the same server response share the same renderedSearch value,\n // but the same RouteTree could be composed from multiple different\n // routes, and multiple responses.\n clonedTree[2] = [\n compressedRefreshState[0],\n renderedSearch\n ];\n }\n }\n if (3 in baseRouterState) {\n clonedTree[3] = baseRouterState[3];\n }\n if (4 in baseRouterState) {\n clonedTree[4] = baseRouterState[4];\n }\n // Clone the CacheNodeSeedData tree.\n const isEmptySeedDataPartial = true;\n clonedSeedData = [\n null,\n newSeedDataChildren,\n null,\n isEmptySeedDataPartial,\n null\n ];\n return {\n tree: clonedTree,\n data: clonedSeedData\n };\n}\n/**\n * Instant Navigation Testing API: ensures a prefetch task has been initiated\n * and completed before proceeding with the navigation. This guarantees that\n * segment data requests are at least pending, even for routes whose route\n * tree is already cached.\n *\n * After the prefetch completes, delegates to the normal navigation flow.\n */ async function ensurePrefetchThenNavigate(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType) {\n const link = getLinkForCurrentNavigation();\n const fetchStrategy = link !== null ? link.fetchStrategy : FetchStrategy.PPR;\n // Transition the cookie to captured-SPA immediately, before waiting\n // for the prefetch. This ensures the devtools panel can update its UI\n // right away, even if the prefetch takes time (e.g. dev compilation).\n // The \"to\" tree starts as null and is filled in after the prefetch\n // resolves and the navigation produces a new router state.\n const { transitionToCapturedSPA, updateCapturedSPAToTree } = require('./navigation-testing-lock');\n transitionToCapturedSPA(currentFlightRouterState, null);\n const cacheKey = createCacheKey(url.href, nextUrl);\n await new Promise((resolve)=>{\n schedulePrefetchTask(cacheKey, currentFlightRouterState, fetchStrategy, PrefetchPriority.Default, null, resolve // _onComplete callback\n );\n });\n // Prefetch is complete. Proceed with the normal navigation flow, which\n // will now find the route in the cache.\n const result = await navigateImpl(state, url, currentUrl, currentRenderedSearch, currentCacheNode, currentFlightRouterState, nextUrl, freshnessPolicy, scrollBehavior, navigateType);\n // Update the cookie with the resolved \"to\" tree so the devtools\n // panel can display both routes immediately.\n updateCapturedSPAToTree(currentFlightRouterState, result.tree);\n return result;\n}\n\n//# sourceMappingURL=navigation.js.map","/**\n * Optimistic Routing (Known Routes)\n *\n * This module enables the client to predict route structure for URLs that\n * haven't been prefetched yet, based on previously learned route patterns.\n * When successful, this allows skipping the route tree prefetch request\n * entirely.\n *\n * The core idea is that many URLs map to the same route structure. For example,\n * /blog/post-1 and /blog/post-2 both resolve to /blog/[slug]. Once we've\n * prefetched one, we can predict the structure of the other.\n *\n * However, we can't always make this prediction. Static siblings (like\n * /blog/featured alongside /blog/[slug]) have different route structures.\n * When we learn a dynamic route, we also learn its static siblings so we\n * know when NOT to apply the prediction.\n *\n * Main entry points:\n *\n * 1. discoverKnownRoute: Called after receiving a route tree from the server.\n * Traverses the route tree, compares URL parts to segments, and populates\n * the known route tree if they match. Routes are always inserted into the\n * cache.\n *\n * 2. matchKnownRoute: Called when looking up a route with no cache entry.\n * Matches the candidate URL against learned patterns. Returns a synthetic\n * cache entry if successful, or null to fall back to server resolution.\n *\n * Rewrite detection happens during traversal: if a URL path part doesn't match\n * the corresponding route segment, we stop populating the known route tree\n * (since the mapping is incorrect) but still insert the route into the cache.\n *\n * The known route tree is append-only with no eviction. Route patterns are\n * derived from the filesystem, so they don't become stale within a session.\n * Cache invalidation on deploy clears everything anyway.\n *\n * Current limitations (deopt to server resolution):\n * - Rewrites: Detected during traversal (tree not populated, but route cached)\n * - Intercepted routes: The route tree varies by referrer (Next-Url header),\n * so we can't predict the correct structure from the URL alone. Patterns are\n * still stored during discovery (so the trie stays populated for non-\n * intercepted siblings), but matching bails out when the pattern is marked\n * as interceptable.\n */ import { EntryStatus, writeRouteIntoCache, fulfillRouteCacheEntry, createMetadataRouteTree } from './cache';\nimport { doesStaticSegmentAppearInURL } from '../../route-params';\nimport { appendLayoutVaryPath, finalizeLayoutVaryPath, finalizePageVaryPath, finalizeMetadataVaryPath } from './vary-path';\nfunction createEmptyPart() {\n return {\n staticChildren: null,\n dynamicChild: null,\n dynamicChildParamName: null,\n dynamicChildParamType: null,\n pattern: null\n };\n}\n// The root of the known route tree.\nlet knownRouteTreeRoot = createEmptyPart();\n/**\n * Learns a route pattern from a server response and inserts it into the cache.\n *\n * Called after receiving a route tree from the server (initial load, navigation,\n * or prefetch). Traverses the route tree, compares URL parts to segments, and\n * populates the known route tree if they match. Routes are always inserted into\n * the cache regardless of whether the URL matches the route structure.\n *\n * When pendingEntry is provided, it's fulfilled and used. When null, an entry\n * is created and inserted into the route cache map.\n *\n * When hasDynamicRewrite is true, the route entry is marked as having a\n * dynamic rewrite, which prevents it from being used as a template for future\n * predictions. This is set when we detect a mismatch between what we predicted\n * and what the server returned.\n *\n * Returns the fulfilled route cache entry.\n */ export function discoverKnownRoute(now, pathname, nextUrl, pendingEntry, routeTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching, hasDynamicRewrite) {\n const tree = routeTree;\n const pathnameParts = pathname.split('/').filter((p)=>p !== '');\n const firstPart = pathnameParts.length > 0 ? pathnameParts[0] : null;\n const remainingParts = pathnameParts.length > 0 ? pathnameParts.slice(1) : [];\n if (pendingEntry !== null) {\n // Fulfill the pending entry first\n const fulfilledEntry = fulfillRouteCacheEntry(now, pendingEntry, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);\n if (hasDynamicRewrite) {\n fulfilledEntry.hasDynamicRewrite = true;\n }\n // Populate the known route tree (handles rewrite detection internally).\n // The entry is already in the cache; this just stores it as a pattern\n // if the URL matches the route structure.\n discoverKnownRoutePart(knownRouteTreeRoot, tree, firstPart, remainingParts, fulfilledEntry, now, pathname, nextUrl, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching, hasDynamicRewrite);\n return fulfilledEntry;\n }\n // No pending entry - discoverKnownRoutePart will create one and insert it\n // into the cache, or return an existing pattern if one exists.\n return discoverKnownRoutePart(knownRouteTreeRoot, tree, firstPart, remainingParts, null, now, pathname, nextUrl, tree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching, hasDynamicRewrite);\n}\n/**\n * Gets or creates the dynamic child node for a KnownRoutePart.\n * A node can have at most one dynamic child (you can't have both [slug] and\n * [id] at the same route level), so we either return existing or create new.\n */ function discoverDynamicChild(part, paramName, paramType) {\n if (part.dynamicChild !== null) {\n return part.dynamicChild;\n }\n const newChild = createEmptyPart();\n // Type assertion needed because we're converting from \"without\" to \"with\"\n // dynamic child variant.\n const mutablePart = part;\n mutablePart.dynamicChild = newChild;\n mutablePart.dynamicChildParamName = paramName;\n mutablePart.dynamicChildParamType = paramType;\n return newChild;\n}\n/**\n * Recursive workhorse for discoverKnownRoute.\n *\n * Walks the route tree and URL parts in parallel, building out the known\n * route tree as it goes. At each step:\n * 1. Determines if the current segment appears in the URL (dynamic/static)\n * 2. Validates URL matches route structure (detects rewrites)\n * 3. Creates/updates the corresponding KnownRoutePart node\n * 4. Records static siblings for future matching\n * 5. Recurses into child slots (parallel routes)\n *\n * If a URL/route mismatch is detected (rewrite), we stop building the known\n * route tree but still cache the route entry for direct lookup.\n */ function discoverKnownRoutePart(parentKnownRoutePart, routeTree, urlPart, remainingParts, existingEntry, // These are passed through unchanged for entry creation at the leaf\nnow, pathname, nextUrl, fullTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching, hasDynamicRewrite) {\n const segment = routeTree.segment;\n let segmentAppearsInURL;\n let paramName = null;\n let paramType = null;\n let staticSiblings = null;\n if (typeof segment === 'string') {\n segmentAppearsInURL = doesStaticSegmentAppearInURL(segment);\n } else {\n // Dynamic segment tuple: [paramName, paramCacheKey, paramType, staticSiblings]\n paramName = segment[0];\n paramType = segment[2];\n staticSiblings = segment[3];\n segmentAppearsInURL = true;\n }\n let knownRoutePart = parentKnownRoutePart;\n let nextUrlPart = urlPart;\n let nextRemainingParts = remainingParts;\n if (segmentAppearsInURL) {\n // Check for mismatch: if this is a static segment, the URL part must match\n if (paramName === null && urlPart !== segment) {\n // URL doesn't match route structure (likely a rewrite).\n // Don't populate the known route tree, just write the route into the\n // cache and return immediately.\n if (existingEntry !== null) {\n return existingEntry;\n }\n return writeRouteIntoCache(now, pathname, nextUrl, fullTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);\n }\n // URL matches route structure. Build the known route tree.\n if (paramName !== null && paramType !== null) {\n // Dynamic segment\n knownRoutePart = discoverDynamicChild(parentKnownRoutePart, paramName, paramType);\n // Record static siblings as placeholder parts.\n // IMPORTANT: We use the null vs Map distinction to track whether\n // siblings are known at this level:\n // - staticChildren: null = siblings unknown (can't safely match dynamic)\n // - staticChildren: Map = siblings known (even if empty)\n // This matters in dev mode where webpack may not know all siblings yet.\n if (staticSiblings !== null) {\n // Siblings are known - ensure we have a Map (even if empty)\n if (parentKnownRoutePart.staticChildren === null) {\n parentKnownRoutePart.staticChildren = new Map();\n }\n for (const sibling of staticSiblings){\n if (!parentKnownRoutePart.staticChildren.has(sibling)) {\n parentKnownRoutePart.staticChildren.set(sibling, createEmptyPart());\n }\n }\n }\n } else {\n // Static segment\n if (parentKnownRoutePart.staticChildren === null) {\n parentKnownRoutePart.staticChildren = new Map();\n }\n let existingChild = parentKnownRoutePart.staticChildren.get(urlPart);\n if (existingChild === undefined) {\n existingChild = createEmptyPart();\n parentKnownRoutePart.staticChildren.set(urlPart, existingChild);\n }\n knownRoutePart = existingChild;\n }\n // Advance to next URL part\n nextUrlPart = remainingParts.length > 0 ? remainingParts[0] : null;\n nextRemainingParts = remainingParts.length > 0 ? remainingParts.slice(1) : [];\n }\n // else: Transparent segment (route group, __PAGE__, etc.)\n // Stay at the same known route part, don't advance URL parts\n // Recurse into child routes. A route tree can have multiple parallel routes\n // (e.g., @modal alongside children). Each parallel route is a separate\n // branch, but they all share the same URL - we just need to traverse all\n // branches to build out the known route tree.\n const slots = routeTree.slots;\n let resultFromChildren = null;\n if (slots !== null) {\n for(const parallelRouteKey in slots){\n const childRouteTree = slots[parallelRouteKey];\n // Skip branches with refreshState set - these were reused from a\n // different route (e.g., a \"default\" parallel slot) and don't represent\n // the actual route structure for this URL.\n if (childRouteTree.refreshState !== null) {\n continue;\n }\n const result = discoverKnownRoutePart(knownRoutePart, childRouteTree, nextUrlPart, nextRemainingParts, existingEntry, now, pathname, nextUrl, fullTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching, hasDynamicRewrite);\n // All parallel route branches share the same URL, so they should all\n // reach compatible leaf nodes. We capture any result.\n resultFromChildren = result;\n }\n if (resultFromChildren !== null) {\n return resultFromChildren;\n }\n // Defensive fallback: no children returned a result. This shouldn't happen\n // for valid route trees, but handle it gracefully.\n if (existingEntry !== null) {\n return existingEntry;\n }\n return writeRouteIntoCache(now, pathname, nextUrl, fullTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);\n }\n // Reached a page node. Create/get the route cache entry and store as a\n // pattern. First, check if there's already a pattern for this route.\n if (knownRoutePart.pattern !== null) {\n // If this route has a dynamic rewrite, mark the existing pattern.\n if (hasDynamicRewrite) {\n knownRoutePart.pattern.hasDynamicRewrite = true;\n }\n return knownRoutePart.pattern;\n }\n // Get or create the entry\n let entry;\n if (existingEntry !== null) {\n // Already have a fulfilled entry, use it directly. It's already in the\n // route cache map.\n entry = existingEntry;\n } else {\n // Create the entry and insert it into the route cache map.\n entry = writeRouteIntoCache(now, pathname, nextUrl, fullTree, metadataVaryPath, couldBeIntercepted, canonicalUrl, supportsPerSegmentPrefetching);\n }\n if (hasDynamicRewrite) {\n entry.hasDynamicRewrite = true;\n }\n // Store as pattern\n knownRoutePart.pattern = entry;\n return entry;\n}\n/**\n * Attempts to match a URL against learned route patterns.\n *\n * Returns a synthetic FulfilledRouteCacheEntry if the URL matches a known\n * pattern, or null if no match is found (fall back to server resolution).\n */ export function matchKnownRoute(pathname, search) {\n const pathnameParts = pathname.split('/').filter((p)=>p !== '');\n const resolvedParams = new Map();\n const match = matchKnownRoutePart(knownRouteTreeRoot, pathnameParts, 0, resolvedParams);\n if (match === null) {\n return null;\n }\n const matchedPart = match.part;\n const pattern = match.pattern;\n // If the pattern could be intercepted, we can't safely use it for prediction.\n // Interception routes resolve to different route trees depending on the\n // referrer (the Next-Url header), which means the same URL can map to\n // different page components depending on where the navigation originated.\n // Since the known route tree only stores a single pattern per URL shape, we\n // can't distinguish between the intercepted and non-intercepted cases, so we\n // bail out to server resolution.\n //\n // TODO: We could store interception behavior in the known route tree itself\n // (e.g., which segments use interception markers and what they resolve to).\n // With enough information embedded in the trie, we could match interception\n // routes entirely on the client without a server round-trip.\n if (pattern.couldBeIntercepted) {\n return null;\n }\n // \"Reify\" the pattern: clone the template tree with concrete param values.\n // This substitutes resolved params (e.g., slug: \"hello\") into dynamic\n // segments and recomputes vary paths for correct segment cache keying.\n const acc = {\n metadataVaryPath: null\n };\n const reifiedTree = reifyRouteTree(pattern.tree, resolvedParams, search, null, acc);\n // The metadata tree is a flat page node without the intermediate layout\n // structure. Clone it with the updated metadata vary path collected during\n // the main tree traversal.\n const metadataVaryPath = acc.metadataVaryPath;\n if (metadataVaryPath === null) {\n // This shouldn't be reachable for a valid route tree.\n return null;\n }\n const reifiedMetadata = createMetadataRouteTree(metadataVaryPath);\n // Create a synthetic (predicted) entry and store it as the new pattern.\n //\n // Why replace the pattern? We intentionally update the pattern with this\n // synthetic entry so that if our prediction was wrong (server returns a\n // different pathname due to dynamic rewrite), the entry gets marked with\n // hasDynamicRewrite. Future predictions for this route will see the flag\n // and bail out to server resolution instead of making the same mistake.\n const syntheticEntry = {\n canonicalUrl: pathname + search,\n status: EntryStatus.Fulfilled,\n blockedTasks: null,\n tree: reifiedTree,\n metadata: reifiedMetadata,\n couldBeIntercepted: pattern.couldBeIntercepted,\n supportsPerSegmentPrefetching: pattern.supportsPerSegmentPrefetching,\n hasDynamicRewrite: false,\n renderedSearch: search,\n ref: null,\n size: pattern.size,\n staleAt: pattern.staleAt,\n version: pattern.version\n };\n matchedPart.pattern = syntheticEntry;\n return syntheticEntry;\n}\n/**\n * Recursively matches a URL against the known route tree.\n *\n * Matching priority (most specific first):\n * 1. Static children - exact path segment match\n * 2. Dynamic child - [param], [...param], [[...param]]\n * 3. Direct pattern - when no more URL parts remain\n *\n * Collects resolved param values in resolvedParams as it traverses.\n * Returns null if no match found (caller should fall back to server).\n */ function matchKnownRoutePart(part, pathnameParts, partIndex, resolvedParams) {\n const urlPart = partIndex < pathnameParts.length ? pathnameParts[partIndex] : null;\n // If staticChildren is null, we don't know what static routes exist at this\n // level. This happens in webpack dev mode where routes are compiled\n // on-demand. We can't safely match a dynamicChild because the URL part might\n // be a static sibling we haven't discovered yet. Example: We know\n // /blog/[slug] exists, but haven't compiled /blog/featured. A request for\n // /blog/featured would incorrectly match /blog/[slug].\n if (part.staticChildren === null) {\n // The only safe match is a direct pattern when no URL parts remain.\n if (urlPart === null) {\n const pattern = part.pattern;\n if (pattern !== null && !pattern.hasDynamicRewrite) {\n return {\n part,\n pattern\n };\n }\n }\n return null;\n }\n // Static children take priority over dynamic. This ensures /blog/featured\n // matches its own route rather than /blog/[slug].\n if (urlPart !== null) {\n const staticChild = part.staticChildren.get(urlPart);\n if (staticChild !== undefined) {\n // Check if this is an \"unknown\" placeholder part. These are created when\n // we learn about static siblings (from the route tree's staticSiblings\n // field) but haven't prefetched them yet. We know the path exists but\n // don't know its structure, so we can't predict it.\n if (staticChild.pattern === null && staticChild.dynamicChild === null && staticChild.staticChildren === null) {\n // Bail out - server must resolve this route.\n return null;\n }\n const match = matchKnownRoutePart(staticChild, pathnameParts, partIndex + 1, resolvedParams);\n if (match !== null) {\n return match;\n }\n // Static child is a real node (not a placeholder) but its subtree\n // didn't match the remaining URL parts. This means the route exists\n // in the static subtree but hasn't been fully discovered yet. Do not\n // fall through to try the dynamic child — the static match is\n // authoritative. Bail out to server resolution.\n return null;\n }\n }\n // Try dynamic child\n if (part.dynamicChild !== null) {\n const dynamicPart = part.dynamicChild;\n const paramName = part.dynamicChildParamName;\n const paramType = part.dynamicChildParamType;\n const dynamicPattern = dynamicPart.pattern;\n switch(paramType){\n case 'c':\n // Required catch-all [...param]: consumes 1+ URL parts\n if (dynamicPattern !== null && !dynamicPattern.hasDynamicRewrite && urlPart !== null) {\n resolvedParams.set(paramName, pathnameParts.slice(partIndex));\n return {\n part: dynamicPart,\n pattern: dynamicPattern\n };\n }\n break;\n case 'oc':\n // Optional catch-all [[...param]]: consumes 0+ URL parts\n if (dynamicPattern !== null && !dynamicPattern.hasDynamicRewrite) {\n if (urlPart !== null) {\n resolvedParams.set(paramName, pathnameParts.slice(partIndex));\n return {\n part: dynamicPart,\n pattern: dynamicPattern\n };\n }\n // urlPart is null - can match with zero parts, but a direct pattern\n // (e.g., page.tsx alongside [[...param]]) takes precedence.\n if (part.pattern === null || part.pattern.hasDynamicRewrite) {\n resolvedParams.set(paramName, []);\n return {\n part: dynamicPart,\n pattern: dynamicPattern\n };\n }\n }\n break;\n case 'd':\n // Regular dynamic [param]: consumes exactly 1 URL part.\n // Unlike catch-all which terminates here, regular dynamic must\n // continue recursing to find the leaf pattern.\n if (urlPart !== null) {\n resolvedParams.set(paramName, urlPart);\n return matchKnownRoutePart(dynamicPart, pathnameParts, partIndex + 1, resolvedParams);\n }\n break;\n // Intercepted routes use relative path markers like (.), (..), (...)\n // Their behavior depends on navigation context (soft vs hard nav),\n // so we can't predict them client-side. Defer to server.\n case 'ci(..)(..)':\n case 'ci(.)':\n case 'ci(..)':\n case 'ci(...)':\n case 'di(..)(..)':\n case 'di(.)':\n case 'di(..)':\n case 'di(...)':\n return null;\n default:\n paramType;\n }\n }\n // No children matched. If we've consumed all URL parts, check for a direct\n // pattern at this node (the route terminates here).\n if (urlPart === null) {\n const pattern = part.pattern;\n if (pattern !== null && !pattern.hasDynamicRewrite) {\n return {\n part,\n pattern\n };\n }\n }\n return null;\n}\n/**\n * \"Reify\" means to make concrete - we take an abstract pattern (the template\n * route tree) and produce a concrete instance with actual param values.\n *\n * This function clones a RouteTree, substituting dynamic segment values from\n * resolvedParams and computing new vary paths. The vary path encodes param\n * values so segment cache entries can be correctly keyed.\n *\n * Example: Pattern for /blog/[slug] with resolvedParams { slug: \"hello\" }\n * produces a tree where segment [slug] has cacheKey \"hello\".\n */ function reifyRouteTree(pattern, resolvedParams, search, parentPartialVaryPath, acc) {\n const originalSegment = pattern.segment;\n let newSegment = originalSegment;\n let partialVaryPath;\n if (typeof originalSegment !== 'string') {\n // Dynamic segment: compute new cache key and append to partial vary path\n const paramName = originalSegment[0];\n const paramType = originalSegment[2];\n const staticSiblings = originalSegment[3];\n const newValue = resolvedParams.get(paramName);\n if (newValue !== undefined) {\n const newCacheKey = Array.isArray(newValue) ? newValue.join('/') : newValue;\n newSegment = [\n paramName,\n newCacheKey,\n paramType,\n staticSiblings\n ];\n partialVaryPath = appendLayoutVaryPath(parentPartialVaryPath, newCacheKey, paramName);\n } else {\n // Param not found in resolvedParams - keep original and inherit partial\n // TODO: This should never happen. Bail out with null.\n partialVaryPath = parentPartialVaryPath;\n }\n } else {\n // Static segment: inherit partial vary path from parent\n partialVaryPath = parentPartialVaryPath;\n }\n // Recurse into children with the (possibly updated) partial vary path\n let newSlots = null;\n if (pattern.slots !== null) {\n newSlots = {};\n for(const key in pattern.slots){\n newSlots[key] = reifyRouteTree(pattern.slots[key], resolvedParams, search, partialVaryPath, acc);\n }\n }\n if (pattern.isPage) {\n // Page segment: finalize with search params\n const newVaryPath = finalizePageVaryPath(pattern.requestKey, search, partialVaryPath);\n // Collect metadata vary path (first page wins, same as original algorithm)\n if (acc.metadataVaryPath === null) {\n acc.metadataVaryPath = finalizeMetadataVaryPath(pattern.requestKey, search, partialVaryPath);\n }\n return {\n requestKey: pattern.requestKey,\n segment: newSegment,\n refreshState: pattern.refreshState,\n slots: newSlots,\n prefetchHints: pattern.prefetchHints,\n isPage: true,\n varyPath: newVaryPath\n };\n } else {\n // Layout segment: finalize without search params\n const newVaryPath = finalizeLayoutVaryPath(pattern.requestKey, partialVaryPath);\n return {\n requestKey: pattern.requestKey,\n segment: newSegment,\n refreshState: pattern.refreshState,\n slots: newSlots,\n prefetchHints: pattern.prefetchHints,\n isPage: false,\n varyPath: newVaryPath\n };\n }\n}\n/**\n * Resets the known route tree. Called during development when routes may\n * change due to hot reloading.\n */ export function resetKnownRoutes() {\n knownRouteTreeRoot = createEmptyPart();\n}\n\n//# sourceMappingURL=optimistic-routes.js.map","'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport { TemplateContext } from '../../shared/lib/app-router-context.shared-runtime'\n\nexport default function RenderFromTemplateContext(): JSX.Element {\n const children = useContext(TemplateContext)\n return <>{children}\n}\n","import * as React from 'react';\nconst errorRef = {\n current: null\n};\n// React.cache is currently only available in canary/experimental React channels.\nconst cache = typeof React.cache === 'function' ? React.cache : (fn)=>fn;\n// When Cache Components is enabled, we record these as errors so that they\n// are captured by the dev overlay as it's more critical to fix these\n// when enabled.\nconst logErrorOrWarn = process.env.__NEXT_CACHE_COMPONENTS ? console.error : console.warn;\n// We don't want to dedupe across requests.\n// The developer might've just attempted to fix the warning so we should warn again if it still happens.\nconst flushCurrentErrorIfNew = cache(// eslint-disable-next-line @typescript-eslint/no-unused-vars -- cache key\n(key)=>{\n try {\n logErrorOrWarn(errorRef.current);\n } finally{\n errorRef.current = null;\n }\n});\n/**\n * Creates a function that logs an error message that is deduped by the userland\n * callsite.\n * This requires no indirection between the call of this function and the userland\n * callsite i.e. there's only a single library frame above this.\n * Do not use on the Client where sourcemaps and ignore listing might be enabled.\n * Only use that for warnings need a fix independent of the callstack.\n *\n * @param getMessage\n * @returns\n */ export function createDedupedByCallsiteServerErrorLoggerDev(getMessage) {\n return function logDedupedError(...args) {\n const message = getMessage(...args);\n if (process.env.NODE_ENV !== 'production') {\n var _stack;\n const callStackFrames = (_stack = new Error().stack) == null ? void 0 : _stack.split('\\n');\n if (callStackFrames === undefined || callStackFrames.length < 4) {\n logErrorOrWarn(message);\n } else {\n // Error:\n // logDedupedError\n // asyncApiBeingAccessedSynchronously\n // \n // TODO: This breaks if sourcemaps with ignore lists are enabled.\n const key = callStackFrames[4];\n errorRef.current = message;\n flushCurrentErrorIfNew(key);\n }\n } else {\n logErrorOrWarn(message);\n }\n };\n}\n\n//# sourceMappingURL=create-deduped-by-callsite-server-error-logger.js.map","import { workUnitAsyncStorage } from './work-unit-async-storage.external';\nfunction createSegmentVaryParamsAccumulator() {\n const accumulator = {\n varyParams: new Set(),\n status: 'pending',\n value: new Set(),\n then (onfulfilled) {\n if (onfulfilled) {\n if (accumulator.status === 'pending') {\n accumulator.resolvers.push(onfulfilled);\n } else {\n onfulfilled(accumulator.value);\n }\n }\n },\n resolvers: []\n };\n return accumulator;\n}\n/**\n * A singleton accumulator that's already resolved to an empty Set. Use this for\n * segments where we know upfront that no params will be accessed, such as\n * client components or segments without user code.\n *\n * Benefits:\n * - No need to accumulate or resolve later\n * - Resilient: resolves correctly even if other tracking fails\n * - Memory efficient: reuses the same object\n */ const emptySet = new Set();\nexport const emptyVaryParamsAccumulator = {\n varyParams: emptySet,\n status: 'fulfilled',\n value: emptySet,\n then (onfulfilled) {\n if (onfulfilled) {\n onfulfilled(emptySet);\n }\n },\n resolvers: []\n};\nexport function createResponseVaryParamsAccumulator() {\n // Create the head and rootParams accumulators as top-level fields.\n // Segment accumulators are added to the segments set as they are created.\n const head = createSegmentVaryParamsAccumulator();\n const rootParams = createSegmentVaryParamsAccumulator();\n const segments = new Set();\n return {\n head,\n rootParams,\n segments\n };\n}\n/**\n * Allocates a new VaryParamsAccumulator and adds it to the response accumulator\n * associated with the current WorkUnitStore.\n *\n * Returns a thenable that resolves to the segment's vary params once rendering\n * is complete. The thenable can be passed directly to React Flight for\n * serialization.\n */ export function createVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n const accumulator = createSegmentVaryParamsAccumulator();\n responseAccumulator.segments.add(accumulator);\n return accumulator;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n return null;\n}\nexport function getMetadataVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n return responseAccumulator.head;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n return null;\n default:\n workUnitStore;\n }\n }\n return null;\n}\nexport function getVaryParamsThenable(accumulator) {\n return accumulator;\n}\nexport function getMetadataVaryParamsThenable() {\n const accumulator = getMetadataVaryParamsAccumulator();\n if (accumulator !== null) {\n return getVaryParamsThenable(accumulator);\n }\n return null;\n}\n// The metadata and viewport are always delivered in a single payload, so they\n// don't need to be tracked separately. This may change in the future, but for\n// now this is just an alias.\nexport const getViewportVaryParamsAccumulator = getMetadataVaryParamsAccumulator;\nexport function getRootParamsVaryParamsAccumulator() {\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-runtime':\n {\n const responseAccumulator = workUnitStore.varyParamsAccumulator;\n if (responseAccumulator !== null) {\n return responseAccumulator.rootParams;\n }\n return null;\n }\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'prerender-client':\n case 'validation-client':\n case 'unstable-cache':\n case 'generate-static-params':\n return null;\n default:\n workUnitStore;\n }\n }\n return null;\n}\n/**\n * Records that a param was accessed. Adds the param name to the accumulator's\n * varyParams set.\n */ export function accumulateVaryParam(accumulator, paramName) {\n accumulator.varyParams.add(paramName);\n}\n/**\n * Records a root param access.\n */ export function accumulateRootVaryParam(paramName) {\n const rootParamsAccumulator = getRootParamsVaryParamsAccumulator();\n if (rootParamsAccumulator !== null) {\n accumulateVaryParam(rootParamsAccumulator, paramName);\n }\n}\nexport function createVaryingParams(accumulator, originalParamsObject, optionalCatchAllParamName) {\n if (optionalCatchAllParamName !== null) {\n // When there's an optional catch-all param with no value (e.g.,\n // [[...slug]] at /), the param doesn't exist as a property on the params\n // object. Use a Proxy to track all param access — both existing params\n // and the missing optional param — including enumeration patterns like\n // Object.keys(), spread, for...in, and `in` checks.\n return new Proxy(originalParamsObject, {\n get (target, prop, receiver) {\n if (typeof prop === 'string') {\n if (prop === optionalCatchAllParamName || Object.prototype.hasOwnProperty.call(target, prop)) {\n accumulateVaryParam(accumulator, prop);\n }\n }\n return Reflect.get(target, prop, receiver);\n },\n has (target, prop) {\n if (prop === optionalCatchAllParamName) {\n accumulateVaryParam(accumulator, optionalCatchAllParamName);\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n // Enumerating the params object means the user's code may depend on\n // which params are present, so conservatively track the optional\n // param as accessed.\n accumulateVaryParam(accumulator, optionalCatchAllParamName);\n return Reflect.ownKeys(target);\n }\n });\n }\n // When there's no optional catch-all, all params exist as properties on the\n // object, so we can use defineProperty getters instead of a Proxy. This is\n // faster because the engine can optimize property access on regular objects\n // more aggressively than Proxy trap calls.\n const underlyingParamsWithVarying = {};\n for(const paramName in originalParamsObject){\n Object.defineProperty(underlyingParamsWithVarying, paramName, {\n get () {\n accumulateVaryParam(accumulator, paramName);\n return originalParamsObject[paramName];\n },\n enumerable: true\n });\n }\n return underlyingParamsWithVarying;\n}\nexport function createVaryingSearchParams(accumulator, originalSearchParamsObject) {\n const underlyingSearchParamsWithVarying = {};\n for(const searchParamName in originalSearchParamsObject){\n Object.defineProperty(underlyingSearchParamsWithVarying, searchParamName, {\n get () {\n // TODO: Unlike path params, we don't vary track each search param\n // individually. The entire search string is treated as a single param.\n // This may change in the future.\n accumulateVaryParam(accumulator, '?');\n return originalSearchParamsObject[searchParamName];\n },\n enumerable: true\n });\n }\n return underlyingSearchParamsWithVarying;\n}\n/**\n * Resolves all segment accumulators in a ResponseVaryParamsAccumulator with\n * their final vary params. Call this after rendering is complete.\n *\n * Each segment's thenable is resolved with its vary params merged with the\n * root params. If we can't track vary params (e.g., legacy prerender), simply\n * don't call this function - the client treats unresolved thenables as\n * \"unknown\" vary params.\n */ export async function finishAccumulatingVaryParams(responseAccumulator) {\n const rootVaryParams = responseAccumulator.rootParams.varyParams;\n // Resolve head\n finishSegmentAccumulator(responseAccumulator.head, rootVaryParams);\n // Resolve each segment\n for (const segmentAccumulator of responseAccumulator.segments){\n finishSegmentAccumulator(segmentAccumulator, rootVaryParams);\n }\n // Now that the thenables are resolved, Flight should be able to flush the\n // vary params into the response stream. This work gets scheduled internally\n // by Flight using a microtask as soon as we notify the thenable listeners.\n //\n // We need to ensure that Flight's pending queues are emptied before this\n // function returns; the caller will abort the prerender immediately after.\n // We can't use a macrotask, because that would allow dynamic IO to sneak\n // into the response. So we use microtasks instead.\n //\n // The exact number of awaits here isn't important (indeed, one seems to be\n // sufficient, at the time of writing), as long as we wait enough ticks for\n // Flight to finish writing the response.\n //\n // Anything that remains in Flight's internal queue after these awaits must\n // be actual dynamic IO, not caused by pending vary params tasks. In other\n // words, failing to do this would cause us to treat a fully static prerender\n // as if it were partially dynamic.\n await Promise.resolve();\n await Promise.resolve();\n await Promise.resolve();\n}\nfunction finishSegmentAccumulator(accumulator, rootVaryParams) {\n if (accumulator.status !== 'pending') {\n return;\n }\n const merged = new Set(accumulator.varyParams);\n for (const param of rootVaryParams){\n merged.add(param);\n }\n accumulator.value = merged;\n accumulator.status = 'fulfilled';\n for (const resolver of accumulator.resolvers){\n resolver(merged);\n }\n accumulator.resolvers = [];\n}\n\n//# sourceMappingURL=vary-params.js.map","// This regex will have fast negatives meaning valid identifiers may not pass\n// this test. However this is only used during static generation to provide hints\n// about why a page bailed out of some or all prerendering and we can use bracket notation\n// for example while `ಠ_ಠ` is a valid identifier it's ok to print `searchParams['ಠ_ಠ']`\n// even if this would have been fine too `searchParams.ಠ_ಠ`\nconst isDefinitelyAValidIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/;\nexport function describeStringPropertyAccess(target, prop) {\n if (isDefinitelyAValidIdentifier.test(prop)) {\n return `\\`${target}.${prop}\\``;\n }\n return `\\`${target}[${JSON.stringify(prop)}]\\``;\n}\nexport function describeHasCheckingStringProperty(target, prop) {\n const stringifiedProp = JSON.stringify(prop);\n return `\\`Reflect.has(${target}, ${stringifiedProp})\\`, \\`${stringifiedProp} in ${target}\\`, or similar`;\n}\nexport const wellKnownProperties = new Set([\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toString',\n 'valueOf',\n 'toLocaleString',\n // Promise prototype\n 'then',\n 'catch',\n 'finally',\n // React Promise extension\n 'status',\n // 'value',\n // 'error',\n // React introspection\n 'displayName',\n '_debugInfo',\n // Common tested properties\n 'toJSON',\n '$$typeof',\n '__esModule',\n // Tested by flight when checking for iterables\n '@@iterator'\n]);\n\n//# sourceMappingURL=reflect-utils.js.map","export class ReflectAdapter {\n static get(target, prop, receiver) {\n const value = Reflect.get(target, prop, receiver);\n if (typeof value === 'function') {\n return value.bind(target);\n }\n return value;\n }\n static set(target, prop, value, receiver) {\n return Reflect.set(target, prop, value, receiver);\n }\n static has(target, prop) {\n return Reflect.has(target, prop);\n }\n static deleteProperty(target, prop) {\n return Reflect.deleteProperty(target, prop);\n }\n}\n\n//# sourceMappingURL=reflect.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n RequestCookies: () => RequestCookies,\n ResponseCookies: () => ResponseCookies,\n parseCookie: () => parseCookie,\n parseSetCookie: () => parseSetCookie,\n stringifyCookie: () => stringifyCookie\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/serialize.ts\nfunction stringifyCookie(c) {\n var _a;\n const attrs = [\n \"path\" in c && c.path && `Path=${c.path}`,\n \"expires\" in c && (c.expires || c.expires === 0) && `Expires=${(typeof c.expires === \"number\" ? new Date(c.expires) : c.expires).toUTCString()}`,\n \"maxAge\" in c && typeof c.maxAge === \"number\" && `Max-Age=${c.maxAge}`,\n \"domain\" in c && c.domain && `Domain=${c.domain}`,\n \"secure\" in c && c.secure && \"Secure\",\n \"httpOnly\" in c && c.httpOnly && \"HttpOnly\",\n \"sameSite\" in c && c.sameSite && `SameSite=${c.sameSite}`,\n \"partitioned\" in c && c.partitioned && \"Partitioned\",\n \"priority\" in c && c.priority && `Priority=${c.priority}`\n ].filter(Boolean);\n const stringified = `${c.name}=${encodeURIComponent((_a = c.value) != null ? _a : \"\")}`;\n return attrs.length === 0 ? stringified : `${stringified}; ${attrs.join(\"; \")}`;\n}\nfunction parseCookie(cookie) {\n const map = /* @__PURE__ */ new Map();\n for (const pair of cookie.split(/; */)) {\n if (!pair)\n continue;\n const splitAt = pair.indexOf(\"=\");\n if (splitAt === -1) {\n map.set(pair, \"true\");\n continue;\n }\n const [key, value] = [pair.slice(0, splitAt), pair.slice(splitAt + 1)];\n try {\n map.set(key, decodeURIComponent(value != null ? value : \"true\"));\n } catch {\n }\n }\n return map;\n}\nfunction parseSetCookie(setCookie) {\n if (!setCookie) {\n return void 0;\n }\n const [[name, value], ...attributes] = parseCookie(setCookie);\n const {\n domain,\n expires,\n httponly,\n maxage,\n path,\n samesite,\n secure,\n partitioned,\n priority\n } = Object.fromEntries(\n attributes.map(([key, value2]) => [\n key.toLowerCase().replace(/-/g, \"\"),\n value2\n ])\n );\n const cookie = {\n name,\n value: decodeURIComponent(value),\n domain,\n ...expires && { expires: new Date(expires) },\n ...httponly && { httpOnly: true },\n ...typeof maxage === \"string\" && { maxAge: Number(maxage) },\n path,\n ...samesite && { sameSite: parseSameSite(samesite) },\n ...secure && { secure: true },\n ...priority && { priority: parsePriority(priority) },\n ...partitioned && { partitioned: true }\n };\n return compact(cookie);\n}\nfunction compact(t) {\n const newT = {};\n for (const key in t) {\n if (t[key]) {\n newT[key] = t[key];\n }\n }\n return newT;\n}\nvar SAME_SITE = [\"strict\", \"lax\", \"none\"];\nfunction parseSameSite(string) {\n string = string.toLowerCase();\n return SAME_SITE.includes(string) ? string : void 0;\n}\nvar PRIORITY = [\"low\", \"medium\", \"high\"];\nfunction parsePriority(string) {\n string = string.toLowerCase();\n return PRIORITY.includes(string) ? string : void 0;\n}\nfunction splitCookiesString(cookiesString) {\n if (!cookiesString)\n return [];\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n cookiesSeparatorFound = true;\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n\n// src/request-cookies.ts\nvar RequestCookies = class {\n constructor(requestHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n this._headers = requestHeaders;\n const header = requestHeaders.get(\"cookie\");\n if (header) {\n const parsed = parseCookie(header);\n for (const [name, value] of parsed) {\n this._parsed.set(name, { name, value });\n }\n }\n }\n [Symbol.iterator]() {\n return this._parsed[Symbol.iterator]();\n }\n /**\n * The amount of cookies received from the client\n */\n get size() {\n return this._parsed.size;\n }\n get(...args) {\n const name = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(name);\n }\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed);\n if (!args.length) {\n return all.map(([_, value]) => value);\n }\n const name = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter(([n]) => n === name).map(([_, value]) => value);\n }\n has(name) {\n return this._parsed.has(name);\n }\n set(...args) {\n const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;\n const map = this._parsed;\n map.set(name, { name, value });\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value2]) => stringifyCookie(value2)).join(\"; \")\n );\n return this;\n }\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(names) {\n const map = this._parsed;\n const result = !Array.isArray(names) ? map.delete(names) : names.map((name) => map.delete(name));\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value]) => stringifyCookie(value)).join(\"; \")\n );\n return result;\n }\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear() {\n this.delete(Array.from(this._parsed.keys()));\n return this;\n }\n /**\n * Format the cookies in the request as a string for logging\n */\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map((v) => `${v.name}=${encodeURIComponent(v.value)}`).join(\"; \");\n }\n};\n\n// src/response-cookies.ts\nvar ResponseCookies = class {\n constructor(responseHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n var _a, _b, _c;\n this._headers = responseHeaders;\n const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get(\"set-cookie\")) != null ? _c : [];\n const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie);\n for (const cookieString of cookieStrings) {\n const parsed = parseSetCookie(cookieString);\n if (parsed)\n this._parsed.set(parsed.name, parsed);\n }\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args) {\n const key = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(key);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed.values());\n if (!args.length) {\n return all;\n }\n const key = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter((c) => c.name === key);\n }\n has(name) {\n return this._parsed.has(name);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args) {\n const [name, value, cookie] = args.length === 1 ? [args[0].name, args[0].value, args[0]] : args;\n const map = this._parsed;\n map.set(name, normalizeCookie({ name, value, ...cookie }));\n replace(map, this._headers);\n return this;\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args) {\n const [name, options] = typeof args[0] === \"string\" ? [args[0]] : [args[0].name, args[0]];\n return this.set({ ...options, name, value: \"\", expires: /* @__PURE__ */ new Date(0) });\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map(stringifyCookie).join(\"; \");\n }\n};\nfunction replace(bag, headers) {\n headers.delete(\"set-cookie\");\n for (const [, value] of bag) {\n const serialized = stringifyCookie(value);\n headers.append(\"set-cookie\", serialized);\n }\n}\nfunction normalizeCookie(cookie = { name: \"\", value: \"\" }) {\n if (typeof cookie.expires === \"number\") {\n cookie.expires = new Date(cookie.expires);\n }\n if (cookie.maxAge) {\n cookie.expires = new Date(Date.now() + cookie.maxAge * 1e3);\n }\n if (cookie.path === null || cookie.path === void 0) {\n cookie.path = \"/\";\n }\n return cookie;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n RequestCookies,\n ResponseCookies,\n parseCookie,\n parseSetCookie,\n stringifyCookie\n});\n","export { RequestCookies, ResponseCookies, stringifyCookie } from 'next/dist/compiled/@edge-runtime/cookies';\n\n//# sourceMappingURL=cookies.js.map","const INSTANT_VALIDATION_ERROR_DIGEST = 'INSTANT_VALIDATION_ERROR';\n/** Check if an error is an exhaustive samples validation error (by digest). */ export function isInstantValidationError(err) {\n return !!(err && typeof err === 'object' && err instanceof Error && err.digest === INSTANT_VALIDATION_ERROR_DIGEST);\n}\nexport class InstantValidationError extends Error {\n constructor(...args){\n super(...args), this.digest = INSTANT_VALIDATION_ERROR_DIGEST;\n }\n}\n\n//# sourceMappingURL=instant-validation-error.js.map","export function searchParamsToUrlQuery(searchParams) {\n const query = {};\n for (const [key, value] of searchParams.entries()){\n const existing = query[key];\n if (typeof existing === 'undefined') {\n query[key] = value;\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n query[key] = [\n existing,\n value\n ];\n }\n }\n return query;\n}\nfunction stringifyUrlQueryParam(param) {\n if (typeof param === 'string') {\n return param;\n }\n if (typeof param === 'number' && !isNaN(param) || typeof param === 'boolean') {\n return String(param);\n } else {\n return '';\n }\n}\nexport function urlQueryToSearchParams(query) {\n const searchParams = new URLSearchParams();\n for (const [key, value] of Object.entries(query)){\n if (Array.isArray(value)) {\n for (const item of value){\n searchParams.append(key, stringifyUrlQueryParam(item));\n }\n } else {\n searchParams.set(key, stringifyUrlQueryParam(value));\n }\n }\n return searchParams;\n}\nexport function assign(target, ...searchParamsList) {\n for (const searchParams of searchParamsList){\n for (const key of searchParams.keys()){\n target.delete(key);\n }\n for (const [key, value] of searchParams.entries()){\n target.append(key, value);\n }\n }\n return target;\n}\n\n//# sourceMappingURL=querystring.js.map","export const ActionDidNotRevalidate = 0;\nexport const ActionDidRevalidateStaticAndDynamic = 1;\nexport const ActionDidRevalidateDynamicOnly = 2;\n\n//# sourceMappingURL=action-revalidation-kind.js.map","import { RequestCookies } from '../cookies';\nimport { ResponseCookies } from '../cookies';\nimport { ReflectAdapter } from './reflect';\nimport { workAsyncStorage } from '../../../app-render/work-async-storage.external';\nimport { ActionDidRevalidateStaticAndDynamic } from '../../../../shared/lib/action-revalidation-kind';\n/**\n * @internal\n */ export class ReadonlyRequestCookiesError extends Error {\n constructor(){\n super('Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options');\n }\n static callable() {\n throw new ReadonlyRequestCookiesError();\n }\n}\nexport class RequestCookiesAdapter {\n static seal(cookies) {\n return new Proxy(cookies, {\n get (target, prop, receiver) {\n switch(prop){\n case 'clear':\n case 'delete':\n case 'set':\n return ReadonlyRequestCookiesError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\nconst SYMBOL_MODIFY_COOKIE_VALUES = Symbol.for('next.mutated.cookies');\nexport function getModifiedCookieValues(cookies) {\n const modified = cookies[SYMBOL_MODIFY_COOKIE_VALUES];\n if (!modified || !Array.isArray(modified) || modified.length === 0) {\n return [];\n }\n return modified;\n}\nexport function appendMutableCookies(headers, mutableCookies) {\n const modifiedCookieValues = getModifiedCookieValues(mutableCookies);\n if (modifiedCookieValues.length === 0) {\n return false;\n }\n // Return a new response that extends the response with\n // the modified cookies as fallbacks. `res` cookies\n // will still take precedence.\n const resCookies = new ResponseCookies(headers);\n const returnedCookies = resCookies.getAll();\n // Set the modified cookies as fallbacks.\n for (const cookie of modifiedCookieValues){\n resCookies.set(cookie);\n }\n // Set the original cookies as the final values.\n for (const cookie of returnedCookies){\n resCookies.set(cookie);\n }\n return true;\n}\nexport class MutableRequestCookiesAdapter {\n static wrap(cookies, onUpdateCookies) {\n const responseCookies = new ResponseCookies(new Headers());\n for (const cookie of cookies.getAll()){\n responseCookies.set(cookie);\n }\n let modifiedValues = [];\n const modifiedCookies = new Set();\n const updateResponseCookies = ()=>{\n // TODO-APP: change method of getting workStore\n const workStore = workAsyncStorage.getStore();\n if (workStore) {\n workStore.pathWasRevalidated = ActionDidRevalidateStaticAndDynamic;\n }\n const allCookies = responseCookies.getAll();\n modifiedValues = allCookies.filter((c)=>modifiedCookies.has(c.name));\n if (onUpdateCookies) {\n const serializedCookies = [];\n for (const cookie of modifiedValues){\n const tempCookies = new ResponseCookies(new Headers());\n tempCookies.set(cookie);\n serializedCookies.push(tempCookies.toString());\n }\n onUpdateCookies(serializedCookies);\n }\n };\n const wrappedCookies = new Proxy(responseCookies, {\n get (target, prop, receiver) {\n switch(prop){\n // A special symbol to get the modified cookie values\n case SYMBOL_MODIFY_COOKIE_VALUES:\n return modifiedValues;\n // TODO: Throw error if trying to set a cookie after the response\n // headers have been set.\n case 'delete':\n return function(...args) {\n modifiedCookies.add(typeof args[0] === 'string' ? args[0] : args[0].name);\n try {\n target.delete(...args);\n return wrappedCookies;\n } finally{\n updateResponseCookies();\n }\n };\n case 'set':\n return function(...args) {\n modifiedCookies.add(typeof args[0] === 'string' ? args[0] : args[0].name);\n try {\n target.set(...args);\n return wrappedCookies;\n } finally{\n updateResponseCookies();\n }\n };\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n return wrappedCookies;\n }\n}\nexport function createCookiesWithMutableAccessCheck(requestStore) {\n const wrappedCookies = new Proxy(requestStore.mutableCookies, {\n get (target, prop, receiver) {\n switch(prop){\n case 'delete':\n return function(...args) {\n ensureCookiesAreStillMutable(requestStore, 'cookies().delete');\n target.delete(...args);\n return wrappedCookies;\n };\n case 'set':\n return function(...args) {\n ensureCookiesAreStillMutable(requestStore, 'cookies().set');\n target.set(...args);\n return wrappedCookies;\n };\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n return wrappedCookies;\n}\nexport function areCookiesMutableInCurrentPhase(requestStore) {\n return requestStore.phase === 'action';\n}\n/** Ensure that cookies() starts throwing on mutation\n * if we changed phases and can no longer mutate.\n *\n * This can happen when going:\n * 'render' -> 'after'\n * 'action' -> 'render'\n * */ function ensureCookiesAreStillMutable(requestStore, _callingExpression) {\n if (!areCookiesMutableInCurrentPhase(requestStore)) {\n // TODO: maybe we can give a more precise error message based on callingExpression?\n throw new ReadonlyRequestCookiesError();\n }\n}\nexport function responseCookiesToRequestCookies(responseCookies) {\n const requestCookies = new RequestCookies(new Headers());\n for (const cookie of responseCookies.getAll()){\n requestCookies.set(cookie);\n }\n return requestCookies;\n}\n\n//# sourceMappingURL=request-cookies.js.map","import { normalizeAppPath } from './app-paths';\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)'\n];\nexport function isInterceptionRouteAppPath(path) {\n // TODO-APP: add more serious validation\n return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;\n}\nexport function extractInterceptionRouteInformation(path) {\n let interceptingRoute;\n let marker;\n let interceptedRoute;\n for (const segment of path.split('/')){\n marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n if (marker) {\n ;\n [interceptingRoute, interceptedRoute] = path.split(marker, 2);\n break;\n }\n }\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`), \"__NEXT_ERROR_CODE\", {\n value: \"E269\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n ;\n switch(marker){\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`;\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute;\n }\n break;\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), \"__NEXT_ERROR_CODE\", {\n value: \"E207\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/');\n break;\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute;\n break;\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n const splitInterceptingRoute = interceptingRoute.split('/');\n if (splitInterceptingRoute.length <= 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), \"__NEXT_ERROR_CODE\", {\n value: \"E486\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/');\n break;\n default:\n throw Object.defineProperty(new Error('Invariant: unexpected marker'), \"__NEXT_ERROR_CODE\", {\n value: \"E112\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=interception-routes.js.map","import { getLocationOrigin } from '../../utils';\nimport { searchParamsToUrlQuery } from './querystring';\nexport function parseRelativeUrl(url, base, parseQuery = true) {\n const globalBase = new URL(typeof window === 'undefined' ? 'http://n' : getLocationOrigin());\n const resolvedBase = base ? new URL(base, globalBase) : url.startsWith('.') ? new URL(typeof window === 'undefined' ? 'http://n' : window.location.href) : globalBase;\n const { pathname, searchParams, search, hash, href, origin } = url.startsWith('/') ? // See https://nodejs.org/api/http.html#messageurl\n // Not using `origin` to support other protocols\n new URL(`${resolvedBase.protocol}//${resolvedBase.host}${url}`) : new URL(url, resolvedBase);\n if (origin !== globalBase.origin) {\n throw Object.defineProperty(new Error(`invariant: invalid relative URL, router received ${url}`), \"__NEXT_ERROR_CODE\", {\n value: \"E159\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n auth: null,\n host: null,\n hostname: null,\n pathname,\n port: null,\n protocol: null,\n query: parseQuery ? searchParamsToUrlQuery(searchParams) : undefined,\n search,\n hash,\n href: href.slice(origin.length),\n // We don't know for relative URLs at this point since we set a custom, internal\n // base that isn't surfaced to users.\n slashes: null\n };\n}\n\n//# sourceMappingURL=parse-relative-url.js.map","import { INTERCEPTION_ROUTE_MARKERS } from './interception-routes';\n/**\n * Parse dynamic route segment to type of parameter\n */ export function getSegmentParam(segment) {\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((marker)=>segment.startsWith(marker));\n // if an interception marker is part of the path segment, we need to jump ahead\n // to the relevant portion for param parsing\n if (interceptionMarker) {\n segment = segment.slice(interceptionMarker.length);\n }\n if (segment.startsWith('[[...') && segment.endsWith(']]')) {\n return {\n // TODO-APP: Optional catchall does not currently work with parallel routes,\n // so for now aren't handling a potential interception marker.\n paramType: 'optional-catchall',\n paramName: segment.slice(5, -2)\n };\n }\n if (segment.startsWith('[...') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',\n paramName: segment.slice(4, -1)\n };\n }\n if (segment.startsWith('[') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',\n paramName: segment.slice(1, -1)\n };\n }\n return null;\n}\nexport function isCatchAll(type) {\n return type === 'catchall' || type === 'catchall-intercepted-(..)(..)' || type === 'catchall-intercepted-(.)' || type === 'catchall-intercepted-(..)' || type === 'catchall-intercepted-(...)' || type === 'optional-catchall';\n}\nexport function getParamProperties(paramType) {\n let repeat = false;\n let optional = false;\n switch(paramType){\n case 'catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n repeat = true;\n break;\n case 'optional-catchall':\n repeat = true;\n optional = true;\n break;\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n break;\n default:\n paramType;\n }\n return {\n repeat,\n optional\n };\n}\n\n//# sourceMappingURL=get-segment-param.js.map","import { ReflectAdapter } from './reflect';\n/**\n * @internal\n */ export class ReadonlyHeadersError extends Error {\n constructor(){\n super('Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers');\n }\n static callable() {\n throw new ReadonlyHeadersError();\n }\n}\nexport class HeadersAdapter extends Headers {\n constructor(headers){\n // We've already overridden the methods that would be called, so we're just\n // calling the super constructor to ensure that the instanceof check works.\n super();\n this.headers = new Proxy(headers, {\n get (target, prop, receiver) {\n // Because this is just an object, we expect that all \"get\" operations\n // are for properties. If it's a \"get\" for a symbol, we'll just return\n // the symbol.\n if (typeof prop === 'symbol') {\n return ReflectAdapter.get(target, prop, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return undefined.\n if (typeof original === 'undefined') return;\n // If the original casing exists, return the value.\n return ReflectAdapter.get(target, original, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'symbol') {\n return ReflectAdapter.set(target, prop, value, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, use the prop as the key.\n return ReflectAdapter.set(target, original ?? prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.has(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return false.\n if (typeof original === 'undefined') return false;\n // If the original casing exists, return true.\n return ReflectAdapter.has(target, original);\n },\n deleteProperty (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.deleteProperty(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return true.\n if (typeof original === 'undefined') return true;\n // If the original casing exists, delete the property.\n return ReflectAdapter.deleteProperty(target, original);\n }\n });\n }\n /**\n * Seals a Headers instance to prevent modification by throwing an error when\n * any mutating method is called.\n */ static seal(headers) {\n return new Proxy(headers, {\n get (target, prop, receiver) {\n switch(prop){\n case 'append':\n case 'delete':\n case 'set':\n return ReadonlyHeadersError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n /**\n * Merges a header value into a string. This stores multiple values as an\n * array, so we need to merge them into a string.\n *\n * @param value a header value\n * @returns a merged header value (a string)\n */ merge(value) {\n if (Array.isArray(value)) return value.join(', ');\n return value;\n }\n /**\n * Creates a Headers instance from a plain object or a Headers instance.\n *\n * @param headers a plain object or a Headers instance\n * @returns a headers instance\n */ static from(headers) {\n if (headers instanceof Headers) return headers;\n return new HeadersAdapter(headers);\n }\n append(name, value) {\n const existing = this.headers[name];\n if (typeof existing === 'string') {\n this.headers[name] = [\n existing,\n value\n ];\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n this.headers[name] = value;\n }\n }\n delete(name) {\n delete this.headers[name];\n }\n get(name) {\n const value = this.headers[name];\n if (typeof value !== 'undefined') return this.merge(value);\n return null;\n }\n has(name) {\n return typeof this.headers[name] !== 'undefined';\n }\n set(name, value) {\n this.headers[name] = value;\n }\n forEach(callbackfn, thisArg) {\n for (const [name, value] of this.entries()){\n callbackfn.call(thisArg, value, name, this);\n }\n }\n *entries() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(name);\n yield [\n name,\n value\n ];\n }\n }\n *keys() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n yield name;\n }\n }\n *values() {\n for (const key of Object.keys(this.headers)){\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(key);\n yield value;\n }\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n}\n\n//# sourceMappingURL=headers.js.map","import { RequestCookies } from '../../web/spec-extension/cookies';\nimport { RequestCookiesAdapter } from '../../web/spec-extension/adapters/request-cookies';\nimport { HeadersAdapter } from '../../web/spec-extension/adapters/headers';\nimport { getSegmentParam } from '../../../shared/lib/router/utils/get-segment-param';\nimport { parseRelativeUrl } from '../../../shared/lib/router/utils/parse-relative-url';\nimport { InvariantError } from '../../../shared/lib/invariant-error';\nimport { InstantValidationError } from './instant-validation-error';\nimport { workUnitAsyncStorage } from '../work-unit-async-storage.external';\nimport { wellKnownProperties } from '../../../shared/lib/utils/reflect-utils';\nexport function createValidationSampleTracking() {\n return {\n missingSampleErrors: []\n };\n}\nfunction getExpectedSampleTracking() {\n let validationSampleTracking = null;\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'request':\n case 'validation-client':\n // TODO(instant-validation-build): do we need any special handling for caches?\n validationSampleTracking = workUnitStore.validationSampleTracking ?? null;\n break;\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n case 'prerender':\n case 'prerender-runtime':\n case 'generate-static-params':\n break;\n default:\n workUnitStore;\n }\n }\n if (!validationSampleTracking) {\n throw Object.defineProperty(new InvariantError('Expected to have a workUnitStore that provides validationSampleTracking'), \"__NEXT_ERROR_CODE\", {\n value: \"E1110\",\n enumerable: false,\n configurable: true\n });\n }\n return validationSampleTracking;\n}\nexport function trackMissingSampleError(error) {\n const validationSampleTracking = getExpectedSampleTracking();\n validationSampleTracking.missingSampleErrors.push(error);\n}\nexport function trackMissingSampleErrorAndThrow(error) {\n // TODO(instant-validation-build): this should abort the render\n trackMissingSampleError(error);\n throw error;\n}\n/**\n * Creates ReadonlyRequestCookies from sample cookie data.\n * Accessing a cookie not declared in the sample will throw an error.\n * Cookies with `value: null` are declared (allowed to access) but return no value.\n */ export function createCookiesFromSample(sampleCookies, route) {\n const declaredNames = new Set();\n const cookies = new RequestCookies(new Headers());\n if (sampleCookies) {\n for (const cookie of sampleCookies){\n declaredNames.add(cookie.name);\n if (cookie.value !== null) {\n cookies.set(cookie.name, cookie.value);\n }\n }\n }\n const sealed = RequestCookiesAdapter.seal(cookies);\n return new Proxy(sealed, {\n get (target, prop, receiver) {\n if (prop === 'has') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const wrappedMethod = function(name) {\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingCookieSampleError(route, name));\n }\n return originalMethod.call(target, name);\n };\n return wrappedMethod;\n }\n if (prop === 'get') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const wrappedMethod = function(nameOrCookie) {\n let name;\n if (typeof nameOrCookie === 'string') {\n name = nameOrCookie;\n } else if (nameOrCookie && typeof nameOrCookie === 'object' && typeof nameOrCookie.name === 'string') {\n name = nameOrCookie.name;\n } else {\n // This is an invalid input. Pass it through to the original method so it can error.\n return originalMethod.call(target, nameOrCookie);\n }\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingCookieSampleError(route, name));\n }\n return originalMethod.call(target, name);\n };\n return wrappedMethod;\n }\n // TODO(instant-validation-build): what should getAll do?\n // Maybe we should only allow it if there's an array (possibly empty?)\n return Reflect.get(target, prop, receiver);\n }\n });\n}\nfunction createMissingCookieSampleError(route, name) {\n return Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed cookie \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`cookies\\` array, ` + `or \\`{ name: \"${name}\", value: null }\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1115\",\n enumerable: false,\n configurable: true\n });\n}\n/**\n * Creates ReadonlyHeaders from sample header data.\n * Accessing a header not declared in the sample will throw an error.\n * Headers with `value: null` are declared (allowed to access) but return null.\n */ export function createHeadersFromSample(rawSampleHeaders, sampleCookies, route) {\n // If we have cookie samples, add a `cookie` header to match.\n // Accessing it will be implicitly allowed by the proxy --\n // if the user defined some cookies, accessing the \"cookie\" header is also fine.\n const sampleHeaders = rawSampleHeaders ? [\n ...rawSampleHeaders\n ] : [];\n if (sampleHeaders.find(([name])=>name.toLowerCase() === 'cookie')) {\n throw Object.defineProperty(new InstantValidationError('Invalid sample: Defining cookies via a \"cookie\" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1111\",\n enumerable: false,\n configurable: true\n });\n }\n if (sampleCookies) {\n const cookieHeaderValue = sampleCookies.toString();\n sampleHeaders.push([\n 'cookie',\n // if the `cookies` samples were empty, or they were all `null`, then we have no cookies,\n // and the header isn't present, but should remains readable, so we set it to null.\n cookieHeaderValue !== '' ? cookieHeaderValue : null\n ]);\n }\n const declaredNames = new Set();\n const headersInit = {};\n for (const [name, value] of sampleHeaders){\n declaredNames.add(name.toLowerCase());\n if (value !== null) {\n headersInit[name.toLowerCase()] = value;\n }\n }\n const sealed = HeadersAdapter.seal(HeadersAdapter.from(headersInit));\n return new Proxy(sealed, {\n get (target, prop, receiver) {\n if (prop === 'get' || prop === 'has') {\n const originalMethod = Reflect.get(target, prop, receiver);\n const patchedMethod = function(rawName) {\n const name = rawName.toLowerCase();\n if (!declaredNames.has(name)) {\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed header \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`headers\\` array, ` + `or \\`[\"${name}\", null]\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1116\",\n enumerable: false,\n configurable: true\n }));\n }\n // typescript can't reconcile a union of functions with a union of return types,\n // so we have to cast the original return type away\n return originalMethod.call(target, name);\n };\n return patchedMethod;\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n}\n/**\n * Creates a DraftModeProvider that always returns isEnabled: false.\n */ export function createDraftModeForValidation() {\n // Create a minimal DraftModeProvider-compatible object\n // that always reports draft mode as disabled.\n //\n // private properties that can't be set from outside the class.\n return {\n get isEnabled () {\n return false;\n },\n enable () {\n throw Object.defineProperty(new Error('Draft mode cannot be enabled during build-time instant validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1092\",\n enumerable: false,\n configurable: true\n });\n },\n disable () {\n throw Object.defineProperty(new Error('Draft mode cannot be disabled during build-time instant validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1094\",\n enumerable: false,\n configurable: true\n });\n }\n };\n}\n/**\n * Creates params wrapped with an exhaustive proxy.\n * Accessing a param not declared in the sample will throw an error.\n */ export function createExhaustiveParamsProxy(underlyingParams, declaredParamNames, route) {\n return new Proxy(underlyingParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && // Only error when accessing a param that is part of the route but wasn't provided.\n // accessing properties that aren't expected to be a valid param value is fine.\n prop in underlyingParams && !declaredParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed param \"${prop}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`params\\` object.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1095\",\n enumerable: false,\n configurable: true\n }));\n }\n return Reflect.get(target, prop, receiver);\n }\n });\n}\n/**\n * Creates searchParams wrapped with an exhaustive proxy.\n * Accessing a searchParam not declared in the sample will throw an error.\n * A searchParam with `value: undefined` means \"declared but absent\" (allowed to access, returns undefined).\n */ export function createExhaustiveSearchParamsProxy(searchParams, declaredSearchParamNames, route) {\n return new Proxy(searchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && !declaredSearchParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, prop));\n }\n return Reflect.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string' && !wellKnownProperties.has(prop) && !declaredSearchParamNames.has(prop)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, prop));\n }\n return Reflect.has(target, prop);\n }\n });\n}\n/**\n * Wraps a URLSearchParams (or subclass like ReadonlyURLSearchParams) with an\n * exhaustive proxy. Accessing a search param not declared in the sample via\n * get/getAll/has will throw an error.\n */ export function createExhaustiveURLSearchParamsProxy(searchParams, declaredSearchParamNames, route) {\n return new Proxy(searchParams, {\n get (target, prop, receiver) {\n // Intercept method calls that access specific param names\n if (prop === 'get' || prop === 'getAll' || prop === 'has') {\n const originalMathod = Reflect.get(target, prop, receiver);\n return (name)=>{\n if (typeof name === 'string' && !declaredSearchParamNames.has(name)) {\n trackMissingSampleErrorAndThrow(createMissingSearchParamSampleError(route, name));\n }\n return originalMathod.call(target, name);\n };\n }\n const value = Reflect.get(target, prop, receiver);\n // Prevent `TypeError: Value of \"this\" must be of type URLSearchParams` for methods\n if (typeof value === 'function' && !Object.hasOwn(target, prop)) {\n return value.bind(target);\n }\n return value;\n }\n });\n}\nfunction createMissingSearchParamSampleError(route, name) {\n return Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed searchParam \"${name}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`searchParams\\` object, ` + `or \\`{ \"${name}\": null }\\` if it should be absent.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1098\",\n enumerable: false,\n configurable: true\n });\n}\nexport function createRelativeURLFromSamples(route, sampleParams, sampleSearchParams) {\n // Build searchParams query object and URL search string from sample\n const pathname = createPathnameFromRouteAndSampleParams(route, sampleParams ?? {});\n let search = '';\n if (sampleSearchParams) {\n const qs = createURLSearchParamsFromSample(sampleSearchParams).toString();\n if (qs) {\n search = '?' + qs;\n }\n }\n return parseRelativeUrl(pathname + search, undefined, true);\n}\nfunction createURLSearchParamsFromSample(sampleSearchParams) {\n const result = new URLSearchParams();\n if (sampleSearchParams) {\n for (const [key, value] of Object.entries(sampleSearchParams)){\n if (value === null || value === undefined) continue;\n if (Array.isArray(value)) {\n for (const v of value){\n result.append(key, v);\n }\n } else {\n result.set(key, value);\n }\n }\n }\n return result;\n}\n/**\n * Substitute sample params into `workStore.route` to create a plausible pathname.\n * TODO(instant-validation-build): this logic is somewhat hacky and likely incomplete,\n * but it should be good enough for some initial testing.\n */ function createPathnameFromRouteAndSampleParams(route, params) {\n let interpolatedSegments = [];\n const rawSegments = route.split('/');\n for (const rawSegment of rawSegments){\n const param = getSegmentParam(rawSegment);\n if (param) {\n switch(param.paramType){\n case 'catchall':\n case 'optional-catchall':\n {\n let paramValue = params[param.paramName];\n if (paramValue === undefined) {\n // The value for the param was not provided. `usePathname` will detect this and throw\n // before this can surface to userspace. Use `[...NAME]` as a placeholder for the param value\n // in case it pops up somewhere unexpectedly.\n paramValue = [\n rawSegment\n ];\n } else if (!Array.isArray(paramValue)) {\n // NOTE: this happens outside of render, so we don't need `trackMissingSampleErrorAndThrow`\n throw Object.defineProperty(new InstantValidationError(`Expected sample param value for segment '${rawSegment}' to be an array of strings, got ${typeof paramValue}`), \"__NEXT_ERROR_CODE\", {\n value: \"E1104\",\n enumerable: false,\n configurable: true\n });\n }\n interpolatedSegments.push(...paramValue.map((v)=>encodeURIComponent(v)));\n break;\n }\n case 'dynamic':\n {\n let paramValue = params[param.paramName];\n if (paramValue === undefined) {\n // The value for the param was not provided. `usePathname` will detect this and throw\n // before this can surface to userspace. Use `[NAME]` as a placeholder for the param value\n // in case it pops up somewhere unexpectedly.\n paramValue = rawSegment;\n } else if (typeof paramValue !== 'string') {\n // NOTE: this happens outside of render, so we don't need `trackMissingSampleErrorAndThrow`\n throw Object.defineProperty(new InstantValidationError(`Expected sample param value for segment '${rawSegment}' to be a string, got ${typeof paramValue}`), \"__NEXT_ERROR_CODE\", {\n value: \"E1108\",\n enumerable: false,\n configurable: true\n });\n }\n interpolatedSegments.push(encodeURIComponent(paramValue));\n break;\n }\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n {\n // TODO(instant-validation-build): i don't know how these are supposed to work, or if we can even get them here\n throw Object.defineProperty(new InvariantError('Not implemented: Validation of interception routes'), \"__NEXT_ERROR_CODE\", {\n value: \"E1106\",\n enumerable: false,\n configurable: true\n });\n }\n default:\n {\n param.paramType;\n }\n }\n } else {\n interpolatedSegments.push(rawSegment);\n }\n }\n return interpolatedSegments.join('/');\n}\nexport function assertRootParamInSamples(workStore, sampleParams, paramName) {\n if (sampleParams && paramName in sampleParams) {\n // The param is defined in the samples.\n } else {\n const route = workStore.route;\n trackMissingSampleErrorAndThrow(Object.defineProperty(new InstantValidationError(`Route \"${route}\" accessed root param \"${paramName}\" which is not defined in the \\`samples\\` ` + `of \\`unstable_instant\\`. Add it to the sample's \\`params\\` object.`), \"__NEXT_ERROR_CODE\", {\n value: \"E1114\",\n enumerable: false,\n configurable: true\n }));\n }\n}\n\n//# sourceMappingURL=instant-samples.js.map","import { StaticGenBailoutError } from '../../client/components/static-generation-bailout';\nimport { afterTaskAsyncStorage } from '../app-render/after-task-async-storage.external';\nexport function throwWithStaticGenerationBailoutErrorWithDynamicError(route, expression) {\n throw Object.defineProperty(new StaticGenBailoutError(`Route ${route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`), \"__NEXT_ERROR_CODE\", {\n value: \"E543\",\n enumerable: false,\n configurable: true\n });\n}\nexport function throwForSearchParamsAccessInUseCache(workStore, constructorOpt) {\n const error = Object.defineProperty(new Error(`Route ${workStore.route} used \\`searchParams\\` inside \"use cache\". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \\`searchParams\\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`), \"__NEXT_ERROR_CODE\", {\n value: \"E842\",\n enumerable: false,\n configurable: true\n });\n Error.captureStackTrace(error, constructorOpt);\n workStore.invalidDynamicUsageError ??= error;\n throw error;\n}\nexport function isRequestAPICallableInsideAfter() {\n const afterTaskStore = afterTaskAsyncStorage.getStore();\n return (afterTaskStore == null ? void 0 : afterTaskStore.rootTaskSpawnPhase) === 'action';\n}\n\n//# sourceMappingURL=utils.js.map","import { workAsyncStorage } from '../app-render/work-async-storage.external';\nimport { createVaryingSearchParams, getMetadataVaryParamsAccumulator } from '../app-render/vary-params';\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect';\nimport { throwToInterruptStaticGeneration, postponeWithTracking, annotateDynamicAccess } from '../app-render/dynamic-rendering';\nimport { workUnitAsyncStorage, throwInvariantForMissingStore } from '../app-render/work-unit-async-storage.external';\nimport { InvariantError } from '../../shared/lib/invariant-error';\nimport { makeDevtoolsIOAwarePromise, makeHangingPromise } from '../dynamic-rendering-utils';\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger';\nimport { describeStringPropertyAccess, describeHasCheckingStringProperty, wellKnownProperties } from '../../shared/lib/utils/reflect-utils';\nimport { throwWithStaticGenerationBailoutErrorWithDynamicError, throwForSearchParamsAccessInUseCache } from './utils';\nimport { RenderStage } from '../app-render/staged-rendering';\nexport function createSearchParamsFromClient(underlyingSearchParams) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'validation-client':\n {\n return createClientSearchParamsInValidation(underlyingSearchParams, workStore, workUnitStore);\n }\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E769\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E739\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createSearchParamsFromClient should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1133\",\n enumerable: false,\n configurable: true\n });\n case 'request':\n // Client searchParams are not runtime prefetchable\n const isRuntimePrefetchable = false;\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore, isRuntimePrefetchable);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerSearchParamsForMetadata(underlyingSearchParams, isRuntimePrefetchable) {\n const metadataVaryParamsAccumulator = getMetadataVaryParamsAccumulator();\n return createServerSearchParamsForServerPage(underlyingSearchParams, metadataVaryParamsAccumulator, isRuntimePrefetchable);\n}\nexport function createServerSearchParamsForServerPage(underlyingSearchParams, varyParamsAccumulator, isRuntimePrefetchable) {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderSearchParams(workStore, workUnitStore);\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in a client validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1066\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E747\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createServerSearchParamsForServerPage should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1128\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n return createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable);\n case 'request':\n return createRenderSearchParams(underlyingSearchParams, workStore, workUnitStore, isRuntimePrefetchable);\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nexport function createPrerenderSearchParamsForClientPage() {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n const workUnitStore = workUnitAsyncStorage.getStore();\n if (workUnitStore) {\n switch(workUnitStore.type){\n case 'prerender':\n case 'prerender-client':\n // We're prerendering in a mode that aborts (cacheComponents) and should stall\n // the promise to ensure the RSC side is considered dynamic\n return makeHangingPromise(workUnitStore.renderSignal, workStore.route, '`searchParams`');\n case 'validation-client':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a client validation.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1061\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-runtime':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in a runtime prerender.'), \"__NEXT_ERROR_CODE\", {\n value: \"E768\",\n enumerable: false,\n configurable: true\n });\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called in cache contexts.'), \"__NEXT_ERROR_CODE\", {\n value: \"E746\",\n enumerable: false,\n configurable: true\n });\n case 'generate-static-params':\n throw Object.defineProperty(new InvariantError('createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams.'), \"__NEXT_ERROR_CODE\", {\n value: \"E1124\",\n enumerable: false,\n configurable: true\n });\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n return Promise.resolve({});\n default:\n workUnitStore;\n }\n }\n throwInvariantForMissingStore();\n}\nfunction createStaticPrerenderSearchParams(workStore, prerenderStore) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n }\n switch(prerenderStore.type){\n case 'prerender':\n case 'prerender-client':\n // We are in a cacheComponents (PPR or otherwise) prerender\n return makeHangingSearchParams(workStore, prerenderStore);\n case 'prerender-ppr':\n case 'prerender-legacy':\n // We are in a legacy static generation and need to interrupt the\n // prerender when search params are accessed.\n return makeErroringSearchParams(workStore, prerenderStore);\n default:\n return prerenderStore;\n }\n}\nfunction createRuntimePrerenderSearchParams(underlyingSearchParams, workUnitStore, varyParamsAccumulator, isRuntimePrefetchable) {\n const underlyingSearchParamsWithVarying = varyParamsAccumulator !== null ? createVaryingSearchParams(varyParamsAccumulator, underlyingSearchParams) : underlyingSearchParams;\n const result = makeUntrackedSearchParams(underlyingSearchParamsWithVarying);\n const { stagedRendering } = workUnitStore;\n if (!stagedRendering) {\n return result;\n }\n const stage = isRuntimePrefetchable ? RenderStage.EarlyRuntime : RenderStage.Runtime;\n return stagedRendering.waitForStage(stage).then(()=>result);\n}\nfunction createRenderSearchParams(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n if (workStore.forceStatic) {\n // When using forceStatic we override all other logic and always just return an empty\n // dictionary object.\n return Promise.resolve({});\n } else {\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n return makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n } else if (requestStore.asyncApiPromises) {\n if (requestStore.validationSamples) {\n const { createExhaustiveSearchParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredKeys = new Set(Object.keys(requestStore.validationSamples.searchParams ?? {}));\n underlyingSearchParams = createExhaustiveSearchParamsProxy(underlyingSearchParams, declaredKeys, workStore.route);\n }\n return (isRuntimePrefetchable ? requestStore.asyncApiPromises.earlySharedSearchParamsParent : requestStore.asyncApiPromises.sharedSearchParamsParent).then(()=>underlyingSearchParams);\n } else {\n return makeUntrackedSearchParams(underlyingSearchParams);\n }\n }\n}\nconst CachedSearchParams = new WeakMap();\nconst CachedSearchParamsForUseCache = new WeakMap();\nfunction makeHangingSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(prerenderStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeHangingPromise(prerenderStore.renderSignal, workStore.route, '`searchParams`');\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n switch(prop){\n case 'then':\n {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n case 'status':\n {\n const expression = '`use(searchParams)`, `searchParams.status`, or similar';\n annotateDynamicAccess(expression, prerenderStore);\n return ReflectAdapter.get(target, prop, receiver);\n }\n default:\n {\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n }\n });\n CachedSearchParams.set(prerenderStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeErroringSearchParams(workStore, prerenderStore) {\n const cachedSearchParams = CachedSearchParams.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const underlyingSearchParams = {};\n // For search params we don't construct a ReactPromise because we want to interrupt\n // rendering on any property access that was not set from outside and so we only want\n // to have properties like value and status if React sets them.\n const promise = Promise.resolve(underlyingSearchParams);\n const proxiedPromise = new Proxy(promise, {\n get (target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it.\n // We know it isn't a dynamic access because it can only be something\n // that was previously written to the promise and thus not an underlying searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && prop === 'then') {\n const expression = '`await searchParams`, `searchParams.then`, or similar';\n if (workStore.dynamicShouldError) {\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n } else if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(workStore.route, expression, prerenderStore.dynamicTracking);\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(expression, workStore, prerenderStore);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParams.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\n/**\n * This is a variation of `makeErroringSearchParams` that always throws an\n * error on access, because accessing searchParams inside of `\"use cache\"` is\n * not allowed.\n */ export function makeErroringSearchParamsForUseCache() {\n const workStore = workAsyncStorage.getStore();\n if (!workStore) {\n throw Object.defineProperty(new InvariantError('Expected workStore to be initialized'), \"__NEXT_ERROR_CODE\", {\n value: \"E1068\",\n enumerable: false,\n configurable: true\n });\n }\n const cachedSearchParams = CachedSearchParamsForUseCache.get(workStore);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve({});\n const proxiedPromise = new Proxy(promise, {\n get: function get(target, prop, receiver) {\n if (Object.hasOwn(promise, prop)) {\n // The promise has this property directly. we must return it. We know it\n // isn't a dynamic access because it can only be something that was\n // previously written to the promise and thus not an underlying\n // searchParam value\n return ReflectAdapter.get(target, prop, receiver);\n }\n if (typeof prop === 'string' && (prop === 'then' || !wellKnownProperties.has(prop))) {\n throwForSearchParamsAccessInUseCache(workStore, get);\n }\n return ReflectAdapter.get(target, prop, receiver);\n }\n });\n CachedSearchParamsForUseCache.set(workStore, proxiedPromise);\n return proxiedPromise;\n}\nfunction makeUntrackedSearchParams(underlyingSearchParams) {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = Promise.resolve(underlyingSearchParams);\n CachedSearchParams.set(underlyingSearchParams, promise);\n return promise;\n}\nfunction makeUntrackedSearchParamsWithDevWarnings(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n if (requestStore.asyncApiPromises) {\n // Do not cache the resulting promise. If we do, we'll only show the first \"awaited at\"\n // across all segments that receive searchParams.\n return makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n } else {\n const cachedSearchParams = CachedSearchParams.get(underlyingSearchParams);\n if (cachedSearchParams) {\n return cachedSearchParams;\n }\n const promise = makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable);\n CachedSearchParams.set(requestStore, promise);\n return promise;\n }\n}\nfunction makeUntrackedSearchParamsWithDevWarningsImpl(underlyingSearchParams, workStore, requestStore, isRuntimePrefetchable) {\n const promiseInitialized = {\n current: false\n };\n const proxiedUnderlying = instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized);\n let promise;\n if (requestStore.asyncApiPromises) {\n // We wrap each instance of searchParams in a `new Promise()`.\n // This is important when all awaits are in third party which would otherwise\n // track all the way to the internal params.\n const sharedSearchParamsParent = isRuntimePrefetchable ? requestStore.asyncApiPromises.earlySharedSearchParamsParent : requestStore.asyncApiPromises.sharedSearchParamsParent;\n promise = new Promise((resolve, reject)=>{\n sharedSearchParamsParent.then(()=>resolve(proxiedUnderlying), reject);\n });\n // @ts-expect-error\n promise.displayName = 'searchParams';\n } else {\n promise = makeDevtoolsIOAwarePromise(proxiedUnderlying, requestStore, RenderStage.Runtime);\n }\n promise.then(()=>{\n promiseInitialized.current = true;\n }, // If we're in staged rendering, this promise will reject if the render\n // is aborted before it can reach the runtime stage.\n // In that case, we have to prevent an unhandled rejection from the promise\n // created by this `.then()` call.\n // This does not affect the `promiseInitialized` logic above,\n // because `proxiedUnderlying` will not be used to resolve the promise,\n // so there's no risk of any of its properties being accessed and triggering\n // an undesireable warning.\n ignoreReject);\n return instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore);\n}\nfunction ignoreReject() {}\nfunction instrumentSearchParamsObjectWithDevWarnings(underlyingSearchParams, workStore, promiseInitialized) {\n // We have an unfortunate sequence of events that requires this initialization logic. We want to instrument the underlying\n // searchParams object to detect if you are accessing values in dev. This is used for warnings and for things like the static prerender\n // indicator. However when we pass this proxy to our Promise.resolve() below the VM checks if the resolved value is a promise by looking\n // at the `.then` property. To our dynamic tracking logic this is indistinguishable from a `then` searchParam and so we would normally trigger\n // dynamic tracking. However we know that this .then is not real dynamic access, it's just how thenables resolve in sequence. So we introduce\n // this initialization concept so we omit the dynamic check until after we've constructed our resolved promise.\n return new Proxy(underlyingSearchParams, {\n get (target, prop, receiver) {\n if (typeof prop === 'string' && promiseInitialized.current) {\n if (workStore.dynamicShouldError) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (workStore.dynamicShouldError) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n if (workStore.dynamicShouldError) {\n const expression = '`{...searchParams}`, `Object.keys(searchParams)`, or similar';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n return Reflect.ownKeys(target);\n }\n });\n}\nfunction instrumentSearchParamsPromiseWithDevWarnings(underlyingSearchParams, promise, workStore) {\n // Track which properties we should warn for.\n const proxiedProperties = new Set();\n Object.keys(underlyingSearchParams).forEach((prop)=>{\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop);\n }\n });\n return new Proxy(promise, {\n get (target, prop, receiver) {\n if (prop === 'then' && workStore.dynamicShouldError) {\n const expression = '`searchParams.then`';\n throwWithStaticGenerationBailoutErrorWithDynamicError(workStore.route, expression);\n }\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeStringPropertyAccess('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return ReflectAdapter.get(target, prop, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop);\n }\n return Reflect.set(target, prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'string') {\n if (!wellKnownProperties.has(prop) && (proxiedProperties.has(prop) || // We are accessing a property that doesn't exist on the promise nor\n // the underlying searchParams.\n Reflect.has(target, prop) === false)) {\n const expression = describeHasCheckingStringProperty('searchParams', prop);\n warnForSyncAccess(workStore.route, expression);\n }\n }\n return Reflect.has(target, prop);\n },\n ownKeys (target) {\n const expression = '`Object.keys(searchParams)` or similar';\n warnForSyncAccess(workStore.route, expression);\n return Reflect.ownKeys(target);\n }\n });\n}\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(createSearchAccessError);\nfunction createSearchAccessError(route, expression) {\n const prefix = route ? `Route \"${route}\" ` : 'This route ';\n return Object.defineProperty(new Error(`${prefix}used ${expression}. ` + `\\`searchParams\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` + `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`), \"__NEXT_ERROR_CODE\", {\n value: \"E848\",\n enumerable: false,\n configurable: true\n });\n}\nfunction createClientSearchParamsInValidation(underlyingSearchParams, workStore, workUnitStore) {\n var _workUnitStore_validationSamples;\n const { createExhaustiveSearchParamsProxy } = require('../app-render/instant-validation/instant-samples');\n const declaredKeys = new Set(Object.keys(((_workUnitStore_validationSamples = workUnitStore.validationSamples) == null ? void 0 : _workUnitStore_validationSamples.searchParams) ?? {}));\n underlyingSearchParams = createExhaustiveSearchParamsProxy(underlyingSearchParams, declaredKeys, workStore.route);\n return Promise.resolve(underlyingSearchParams);\n}\n\n//# sourceMappingURL=search-params.js.map","import {\n workAsyncStorage,\n type WorkStore,\n} from '../app-render/work-async-storage.external'\nimport type { OpaqueFallbackRouteParams } from './fallback-params'\nimport type { VaryParamsAccumulator } from '../app-render/vary-params'\nimport {\n createVaryingParams,\n getMetadataVaryParamsAccumulator,\n} from '../app-render/vary-params'\n\nimport { ReflectAdapter } from '../web/spec-extension/adapters/reflect'\nimport {\n throwToInterruptStaticGeneration,\n postponeWithTracking,\n} from '../app-render/dynamic-rendering'\n\nimport {\n workUnitAsyncStorage,\n type PrerenderStorePPR,\n type PrerenderStoreLegacy,\n type StaticPrerenderStoreModern,\n type StaticPrerenderStore,\n throwInvariantForMissingStore,\n type PrerenderStoreModernRuntime,\n type RequestStore,\n type ValidationStoreClient,\n} from '../app-render/work-unit-async-storage.external'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport {\n describeStringPropertyAccess,\n wellKnownProperties,\n} from '../../shared/lib/utils/reflect-utils'\nimport {\n makeDevtoolsIOAwarePromise,\n makeHangingPromise,\n} from '../dynamic-rendering-utils'\nimport { createDedupedByCallsiteServerErrorLoggerDev } from '../create-deduped-by-callsite-server-error-logger'\nimport { dynamicAccessAsyncStorage } from '../app-render/dynamic-access-async-storage.external'\nimport { RenderStage } from '../app-render/staged-rendering'\n\nexport type ParamValue = string | Array | undefined\nexport type Params = Record\n\nexport function createParamsFromClient(\n underlyingParams: Params\n): Promise {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError('Expected workStore to be initialized')\n }\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n // Client params don't need additional vary tracking because by the\n // time they reach the client, the access would have already been\n // tracked by the server.\n const varyParamsAccumulator = null\n return createStaticPrerenderParams(\n underlyingParams,\n null,\n workStore,\n workUnitStore,\n varyParamsAccumulator\n )\n case 'validation-client':\n return createClientParamsInInstantValidation(\n underlyingParams,\n workStore,\n workUnitStore.validationSamples\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createParamsFromClient should not be called in cache contexts.'\n )\n case 'prerender-runtime':\n throw new InvariantError(\n 'createParamsFromClient should not be called in a runtime prerender.'\n )\n case 'generate-static-params':\n throw new InvariantError(\n 'createParamsFromClient should not be called inside generateStaticParams.'\n )\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams\n // Client params are not runtime prefetchable\n const isRuntimePrefetchable = false\n return createRenderParamsInDev(\n underlyingParams,\n fallbackParams,\n workStore,\n workUnitStore,\n isRuntimePrefetchable\n )\n } else if (workUnitStore.validationSamples) {\n return createClientParamsInInstantValidation(\n underlyingParams,\n workStore,\n workUnitStore.validationSamples\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\n// generateMetadata always runs in RSC context so it is equivalent to a Server Page Component\nexport type CreateServerParamsForMetadata = typeof createServerParamsForMetadata\nexport function createServerParamsForMetadata(\n underlyingParams: Params,\n optionalCatchAllParamName: string | null,\n isRuntimePrefetchable: boolean\n): Promise {\n const metadataVaryParamsAccumulator = getMetadataVaryParamsAccumulator()\n return createServerParamsForServerSegment(\n underlyingParams,\n optionalCatchAllParamName,\n metadataVaryParamsAccumulator,\n isRuntimePrefetchable\n )\n}\n\n// routes always runs in RSC context so it is equivalent to a Server Page Component\nexport function createServerParamsForRoute(\n underlyingParams: Params,\n varyParamsAccumulator: VaryParamsAccumulator | null = null\n): Promise {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError('Expected workStore to be initialized')\n }\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n null,\n workStore,\n workUnitStore,\n varyParamsAccumulator\n )\n case 'prerender-client':\n case 'validation-client':\n throw new InvariantError(\n 'createServerParamsForRoute should not be called in client contexts.'\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForRoute should not be called in cache contexts.'\n )\n case 'generate-static-params':\n throw new InvariantError(\n 'createServerParamsForRoute should not be called inside generateStaticParams.'\n )\n case 'prerender-runtime': {\n // Route params are not runtime prefetchable\n const isRuntimePrefetchable = false\n return createRuntimePrerenderParams(\n underlyingParams,\n null,\n workUnitStore,\n varyParamsAccumulator,\n isRuntimePrefetchable\n )\n }\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams\n // Route params are not runtime prefetchable\n const isRuntimePrefetchable = false\n return createRenderParamsInDev(\n underlyingParams,\n fallbackParams,\n workStore,\n workUnitStore,\n isRuntimePrefetchable\n )\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createServerParamsForServerSegment(\n underlyingParams: Params,\n optionalCatchAllParamName: string | null,\n varyParamsAccumulator: VaryParamsAccumulator | null,\n isRuntimePrefetchable: boolean\n): Promise {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError('Expected workStore to be initialized')\n }\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n return createStaticPrerenderParams(\n underlyingParams,\n optionalCatchAllParamName,\n workStore,\n workUnitStore,\n varyParamsAccumulator\n )\n case 'validation-client':\n throw new InvariantError(\n 'createServerParamsForServerSegment should not be called in client contexts.'\n )\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createServerParamsForServerSegment should not be called in cache contexts.'\n )\n case 'generate-static-params':\n throw new InvariantError(\n 'createServerParamsForServerSegment should not be called inside generateStaticParams.'\n )\n case 'prerender-runtime':\n return createRuntimePrerenderParams(\n underlyingParams,\n optionalCatchAllParamName,\n workUnitStore,\n varyParamsAccumulator,\n isRuntimePrefetchable\n )\n case 'request':\n if (process.env.NODE_ENV === 'development') {\n // Semantically we only need the dev tracking when running in `next dev`\n // but since you would never use next dev with production NODE_ENV we use this\n // as a proxy so we can statically exclude this code from production builds.\n const fallbackParams = workUnitStore.fallbackParams\n return createRenderParamsInDev(\n underlyingParams,\n fallbackParams,\n workStore,\n workUnitStore,\n isRuntimePrefetchable\n )\n } else if (\n workUnitStore.asyncApiPromises &&\n workUnitStore.validationSamples\n ) {\n return createServerParamsInInstantValidation(\n underlyingParams,\n workStore,\n workUnitStore.validationSamples,\n workUnitStore.asyncApiPromises,\n isRuntimePrefetchable\n )\n } else if (\n workUnitStore.asyncApiPromises &&\n hasFallbackRouteParams(underlyingParams, workUnitStore.fallbackParams)\n ) {\n return (\n isRuntimePrefetchable\n ? workUnitStore.asyncApiPromises.earlySharedParamsParent\n : workUnitStore.asyncApiPromises.sharedParamsParent\n ).then(() => underlyingParams)\n } else {\n return createRenderParamsInProd(underlyingParams)\n }\n default:\n workUnitStore satisfies never\n }\n }\n throwInvariantForMissingStore()\n}\n\nexport function createPrerenderParamsForClientSegment(\n underlyingParams: Params\n): Promise {\n const workStore = workAsyncStorage.getStore()\n if (!workStore) {\n throw new InvariantError(\n 'Missing workStore in createPrerenderParamsForClientSegment'\n )\n }\n\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-client':\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams) {\n for (let key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n '`params`'\n )\n }\n }\n }\n break\n case 'validation-client':\n throw new InvariantError(\n 'createPrerenderParamsForClientSegment should not be called in validation contexts.'\n )\n break\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n throw new InvariantError(\n 'createPrerenderParamsForClientSegment should not be called in cache contexts.'\n )\n case 'generate-static-params':\n throw new InvariantError(\n 'createPrerenderParamsForClientSegment should not be called inside generateStaticParams.'\n )\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'prerender-runtime':\n case 'request':\n break\n default:\n workUnitStore satisfies never\n }\n }\n // We're prerendering in a mode that does not abort. We resolve the promise without\n // any tracking because we're just transporting a value from server to client where the tracking\n // will be applied.\n return Promise.resolve(underlyingParams)\n}\n\nfunction createStaticPrerenderParams(\n underlyingParams: Params,\n optionalCatchAllParamName: string | null,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStore,\n varyParamsAccumulator: VaryParamsAccumulator | null\n): Promise {\n const underlyingParamsWithVarying =\n varyParamsAccumulator !== null\n ? createVaryingParams(\n varyParamsAccumulator,\n underlyingParams,\n optionalCatchAllParamName\n )\n : underlyingParams\n\n switch (prerenderStore.type) {\n case 'prerender':\n case 'prerender-client': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n // This params object has one or more fallback params, so we need\n // to consider the awaiting of this params object \"dynamic\". Since\n // we are in cacheComponents mode we encode this as a promise that never\n // resolves.\n return makeHangingParams(\n underlyingParamsWithVarying,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = prerenderStore.fallbackRouteParams\n if (fallbackParams) {\n for (const key in underlyingParams) {\n if (fallbackParams.has(key)) {\n return makeErroringParams(\n underlyingParamsWithVarying,\n fallbackParams,\n workStore,\n prerenderStore\n )\n }\n }\n }\n break\n }\n case 'prerender-legacy':\n break\n default:\n prerenderStore satisfies never\n }\n\n return makeUntrackedParams(underlyingParamsWithVarying)\n}\n\nfunction createRuntimePrerenderParams(\n underlyingParams: Params,\n optionalCatchAllParamName: string | null,\n workUnitStore: PrerenderStoreModernRuntime,\n varyParamsAccumulator: VaryParamsAccumulator | null,\n isRuntimePrefetchable: boolean\n): Promise {\n const underlyingParamsWithVarying =\n varyParamsAccumulator !== null\n ? createVaryingParams(\n varyParamsAccumulator,\n underlyingParams,\n optionalCatchAllParamName\n )\n : underlyingParams\n\n const result = makeUntrackedParams(underlyingParamsWithVarying)\n const { stagedRendering } = workUnitStore\n if (!stagedRendering) {\n return result\n }\n const stage = isRuntimePrefetchable\n ? RenderStage.EarlyRuntime\n : RenderStage.Runtime\n return stagedRendering.waitForStage(stage).then(() => result)\n}\n\nfunction hasFallbackRouteParams(\n underlyingParams: Params,\n fallbackParams: OpaqueFallbackRouteParams | null | undefined\n): boolean {\n if (fallbackParams) {\n for (let key in underlyingParams) {\n if (fallbackParams.has(key)) {\n return true\n }\n }\n }\n return false\n}\n\nfunction createServerParamsInInstantValidation(\n underlyingParams: Params,\n workStore: WorkStore,\n validationSamples: NonNullable,\n asyncApiPromises: NonNullable,\n isRuntimePrefetchable: boolean\n): Promise {\n const { createExhaustiveParamsProxy } =\n require('../app-render/instant-validation/instant-samples') as typeof import('../app-render/instant-validation/instant-samples')\n const declaredParams = new Set(Object.keys(validationSamples.params ?? {}))\n const proxiedUnderlying = createExhaustiveParamsProxy(\n underlyingParams,\n declaredParams,\n workStore.route\n )\n return (\n isRuntimePrefetchable\n ? asyncApiPromises.earlySharedParamsParent\n : asyncApiPromises.sharedParamsParent\n ).then(() => proxiedUnderlying)\n}\n\nfunction createClientParamsInInstantValidation(\n underlyingParams: Params,\n workStore: WorkStore,\n validationSamples: ValidationStoreClient['validationSamples']\n): Promise {\n const { createExhaustiveParamsProxy } =\n require('../app-render/instant-validation/instant-samples') as typeof import('../app-render/instant-validation/instant-samples')\n const declaredParams = new Set(Object.keys(validationSamples?.params ?? {}))\n const proxiedUnderlying = createExhaustiveParamsProxy(\n underlyingParams,\n declaredParams,\n workStore.route\n )\n return Promise.resolve(proxiedUnderlying)\n}\n\nfunction createRenderParamsInProd(underlyingParams: Params): Promise {\n return makeUntrackedParams(underlyingParams)\n}\n\nfunction createRenderParamsInDev(\n underlyingParams: Params,\n fallbackParams: OpaqueFallbackRouteParams | null | undefined,\n workStore: WorkStore,\n requestStore: RequestStore,\n isRuntimePrefetchable: boolean\n): Promise {\n return makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams,\n hasFallbackRouteParams(underlyingParams, fallbackParams),\n workStore,\n requestStore,\n isRuntimePrefetchable\n )\n}\n\ninterface CacheLifetime {}\nconst CachedParams = new WeakMap>()\n\nconst fallbackParamsProxyHandler: ProxyHandler> = {\n get: function get(target, prop, receiver) {\n if (prop === 'then' || prop === 'catch' || prop === 'finally') {\n const originalMethod = ReflectAdapter.get(target, prop, receiver)\n\n return {\n [prop]: (...args: unknown[]) => {\n const store = dynamicAccessAsyncStorage.getStore()\n\n if (store) {\n store.abortController.abort(\n new Error(`Accessed fallback \\`params\\` during prerendering.`)\n )\n }\n\n return new Proxy(\n originalMethod.apply(target, args),\n fallbackParamsProxyHandler\n )\n },\n }[prop]\n }\n\n return ReflectAdapter.get(target, prop, receiver)\n },\n}\n\nfunction makeHangingParams(\n underlyingParams: Params,\n workStore: WorkStore,\n prerenderStore: StaticPrerenderStoreModern\n): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = new Proxy(\n makeHangingPromise(\n prerenderStore.renderSignal,\n workStore.route,\n '`params`'\n ),\n fallbackParamsProxyHandler\n )\n\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeErroringParams(\n underlyingParams: Params,\n fallbackParams: OpaqueFallbackRouteParams,\n workStore: WorkStore,\n prerenderStore: PrerenderStorePPR | PrerenderStoreLegacy\n): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const augmentedUnderlying = { ...underlyingParams }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = Promise.resolve(augmentedUnderlying)\n CachedParams.set(underlyingParams, promise)\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n if (fallbackParams.has(prop)) {\n Object.defineProperty(augmentedUnderlying, prop, {\n get() {\n const expression = describeStringPropertyAccess('params', prop)\n // In most dynamic APIs we also throw if `dynamic = \"error\"` however\n // for params is only dynamic when we're generating a fallback shell\n // and even when `dynamic = \"error\"` we still support generating dynamic\n // fallback shells\n // TODO remove this comment when cacheComponents is the default since there\n // will be no `dynamic = \"error\"`\n if (prerenderStore.type === 'prerender-ppr') {\n // PPR Prerender (no cacheComponents)\n postponeWithTracking(\n workStore.route,\n expression,\n prerenderStore.dynamicTracking\n )\n } else {\n // Legacy Prerender\n throwToInterruptStaticGeneration(\n expression,\n workStore,\n prerenderStore\n )\n }\n },\n enumerable: true,\n })\n }\n }\n })\n\n return promise\n}\n\nfunction makeUntrackedParams(underlyingParams: Params): Promise {\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n const promise = Promise.resolve(underlyingParams)\n CachedParams.set(underlyingParams, promise)\n\n return promise\n}\n\nfunction makeDynamicallyTrackedParamsWithDevWarnings(\n underlyingParams: Params,\n hasFallbackParams: boolean,\n workStore: WorkStore,\n requestStore: RequestStore,\n isRuntimePrefetchable: boolean\n): Promise {\n if (requestStore.asyncApiPromises && hasFallbackParams) {\n // We wrap each instance of params in a `new Promise()`, because deduping\n // them across requests doesn't work anyway and this let us show each\n // await a different set of values. This is important when all awaits\n // are in third party which would otherwise track all the way to the\n // internal params.\n const sharedParamsParent = isRuntimePrefetchable\n ? requestStore.asyncApiPromises.earlySharedParamsParent\n : requestStore.asyncApiPromises.sharedParamsParent\n const promise: Promise = new Promise((resolve, reject) => {\n sharedParamsParent.then(() => resolve(underlyingParams), reject)\n })\n // @ts-expect-error\n promise.displayName = 'params'\n return instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n }\n\n const cachedParams = CachedParams.get(underlyingParams)\n if (cachedParams) {\n return cachedParams\n }\n\n // We don't use makeResolvedReactPromise here because params\n // supports copying with spread and we don't want to unnecessarily\n // instrument the promise with spreadable properties of ReactPromise.\n const promise = hasFallbackParams\n ? makeDevtoolsIOAwarePromise(\n underlyingParams,\n requestStore,\n RenderStage.Runtime\n )\n : // We don't want to force an environment transition when this params is not part of the fallback params set\n Promise.resolve(underlyingParams)\n\n const proxiedPromise = instrumentParamsPromiseWithDevWarnings(\n underlyingParams,\n promise,\n workStore\n )\n CachedParams.set(underlyingParams, proxiedPromise)\n return proxiedPromise\n}\n\nfunction instrumentParamsPromiseWithDevWarnings(\n underlyingParams: Params,\n promise: Promise,\n workStore: WorkStore\n): Promise {\n // Track which properties we should warn for.\n const proxiedProperties = new Set()\n\n Object.keys(underlyingParams).forEach((prop) => {\n if (wellKnownProperties.has(prop)) {\n // These properties cannot be shadowed because they need to be the\n // true underlying value for Promises to work correctly at runtime\n } else {\n proxiedProperties.add(prop)\n }\n })\n\n return new Proxy(promise, {\n get(target, prop, receiver) {\n if (typeof prop === 'string') {\n if (\n // We are accessing a property that was proxied to the promise instance\n proxiedProperties.has(prop)\n ) {\n const expression = describeStringPropertyAccess('params', prop)\n warnForSyncAccess(workStore.route, expression)\n }\n }\n return ReflectAdapter.get(target, prop, receiver)\n },\n set(target, prop, value, receiver) {\n if (typeof prop === 'string') {\n proxiedProperties.delete(prop)\n }\n return ReflectAdapter.set(target, prop, value, receiver)\n },\n ownKeys(target) {\n const expression = '`...params` or similar expression'\n warnForSyncAccess(workStore.route, expression)\n return Reflect.ownKeys(target)\n },\n })\n}\n\nconst warnForSyncAccess = createDedupedByCallsiteServerErrorLoggerDev(\n createParamsAccessError\n)\n\nfunction createParamsAccessError(\n route: string | undefined,\n expression: string\n) {\n const prefix = route ? `Route \"${route}\" ` : 'This route '\n return new Error(\n `${prefix}used ${expression}. ` +\n `\\`params\\` is a Promise and must be unwrapped with \\`await\\` or \\`React.use()\\` before accessing its properties. ` +\n `Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`\n )\n}\n","'use client'\n\nimport type { ParsedUrlQuery } from 'querystring'\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\nimport { urlSearchParamsToParsedUrlQuery } from '../route-params'\nimport { SearchParamsContext } from '../../shared/lib/hooks-client-context.shared-runtime'\n\n/**\n * When the Page is a client component we send the params and searchParams to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Page component.\n *\n * additionally we may send promises representing the params and searchParams. We don't ever use these passed\n * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations.\n * It is up to the caller to decide if the promises are needed.\n */\nexport function ClientPageRoot({\n Component,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n serverProvidedParams: null | {\n searchParams: ParsedUrlQuery\n params: Params\n promises: Array> | null\n }\n}) {\n let searchParams: ParsedUrlQuery\n let params: Params\n if (serverProvidedParams !== null) {\n searchParams = serverProvidedParams.searchParams\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params as\n // props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n\n // This is an intentional behavior change: when Cache Components is enabled,\n // client segments receive the \"canonical\" search params, not the\n // rewritten ones. Users should either call useSearchParams directly or pass\n // the rewritten ones in from a Server Component.\n // TODO: Log a deprecation error when this object is accessed\n searchParams = urlSearchParamsToParsedUrlQuery(use(SearchParamsContext)!)\n }\n\n if (typeof window === 'undefined') {\n let clientSearchParams: Promise\n let clientParams: Promise\n\n const { createSearchParamsFromClient } =\n require('../../server/request/search-params') as typeof import('../../server/request/search-params')\n clientSearchParams = createSearchParamsFromClient(searchParams)\n\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n clientParams = createParamsFromClient(params)\n\n return \n } else {\n const { createRenderSearchParamsFromClient } =\n require('../request/search-params.browser') as typeof import('../request/search-params.browser')\n const clientSearchParams = createRenderSearchParamsFromClient(searchParams)\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n\n return \n }\n}\n","'use client'\n\nimport type { Params } from '../../server/request/params'\nimport { LayoutRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport { use } from 'react'\n\n/**\n * When the Page is a client component we send the params to this client wrapper\n * where they are turned into dynamically tracked values before being passed to the actual Segment component.\n *\n * additionally we may send a promise representing params. We don't ever use this passed\n * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations\n * such as when cacheComponents is enabled. It is up to the caller to decide if the promises are needed.\n */\nexport function ClientSegmentRoot({\n Component,\n slots,\n serverProvidedParams,\n}: {\n Component: React.ComponentType\n slots: { [key: string]: React.ReactNode }\n serverProvidedParams: null | {\n params: Params\n promises: Array> | null\n }\n}) {\n let params: Params\n if (serverProvidedParams !== null) {\n params = serverProvidedParams.params\n } else {\n // When Cache Components is enabled, the server does not pass the params\n // as props; they are parsed on the client and passed via context.\n const layoutRouterContext = use(LayoutRouterContext)\n params =\n layoutRouterContext !== null ? layoutRouterContext.parentParams : {}\n }\n\n if (typeof window === 'undefined') {\n const { createParamsFromClient } =\n require('../../server/request/params') as typeof import('../../server/request/params')\n const clientParams: Promise = createParamsFromClient(params)\n\n return \n } else {\n const { createRenderParamsFromClient } =\n require('../request/params.browser') as typeof import('../request/params.browser')\n const clientParams = createRenderParamsFromClient(params)\n return \n }\n}\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from './boundary-constants'\n\n// We use a namespace object to allow us to recover the name of the function\n// at runtime even when production bundling/minification is used.\nconst NameSpace = {\n [METADATA_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [VIEWPORT_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [OUTLET_BOUNDARY_NAME]: function ({ children }: { children: ReactNode }) {\n return children\n },\n [ROOT_LAYOUT_BOUNDARY_NAME]: function ({\n children,\n }: {\n children: ReactNode\n }) {\n return children\n },\n}\n\nexport const MetadataBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[METADATA_BOUNDARY_NAME.slice(0) as typeof METADATA_BOUNDARY_NAME]\n\nexport const ViewportBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[VIEWPORT_BOUNDARY_NAME.slice(0) as typeof VIEWPORT_BOUNDARY_NAME]\n\nexport const OutletBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[OUTLET_BOUNDARY_NAME.slice(0) as typeof OUTLET_BOUNDARY_NAME]\n\nexport const RootLayoutBoundary =\n // We use slice(0) to trick the bundler into not inlining/minifying the function\n // so it retains the name inferred from the namespace object\n NameSpace[\n ROOT_LAYOUT_BOUNDARY_NAME.slice(0) as typeof ROOT_LAYOUT_BOUNDARY_NAME\n ]\n","'use client'\n\n// This is a client component that only renders during SSR,\n// but will be replaced during streaming with an icon insertion script tag.\n// We don't want it to be presented anywhere so it's only visible during streaming,\n// right after the icon meta tags so that browser can pick it up as soon as it's rendered.\n// Note: we don't just emit the script here because we only need the script if it's not in the head,\n// and we need it to be hoistable alongside the other metadata but sync scripts are not hoistable.\nexport const IconMark = () => {\n if (typeof window !== 'undefined') {\n return null\n }\n return \n}\n"],"names":["HTTPAccessErrorStatus","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","Object","values","HTTP_ERROR_FALLBACK_ERROR_CODE","isHTTPAccessFallbackError","error","digest","prefix","httpStatus","split","has","Number","getAccessFallbackHTTPStatus","getAccessFallbackErrorTypeByStatus","status","RedirectStatusCode","InvariantError","Error","constructor","message","options","endsWith","name","createPromiseWithResolvers","resolve","reject","promise","Promise","res","rej","METADATA_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","DYNAMIC_ERROR_CODE","DynamicServerError","description","err","isDynamicServerError","REACT_POSTPONE_TYPE","Symbol","for","isPostpone","$$typeof","hasFallbackRouteParams","workUnitAsyncStorage","workUnitStore","getStore","type","fallbackParams","fallbackRouteParams","size","useUntrackedPathname","RSC_HEADER","ACTION_HEADER","NEXT_ROUTER_STATE_TREE_HEADER","NEXT_ROUTER_PREFETCH_HEADER","NEXT_ROUTER_SEGMENT_PREFETCH_HEADER","NEXT_HMR_REFRESH_HEADER","NEXT_HMR_REFRESH_HASH_COOKIE","NEXT_URL","RSC_CONTENT_TYPE_HEADER","NEXT_INSTANT_PREFETCH_HEADER","NEXT_INSTANT_TEST_COOKIE","FLIGHT_HEADERS","NEXT_RSC_UNION_QUERY","NEXT_ROUTER_STALE_TIME_HEADER","NEXT_DID_POSTPONE_HEADER","NEXT_REWRITTEN_PATH_HEADER","NEXT_REWRITTEN_QUERY_HEADER","NEXT_IS_PRERENDER_HEADER","NEXT_ACTION_NOT_FOUND_HEADER","NEXT_REQUEST_ID_HEADER","NEXT_HTML_REQUEST_ID_HEADER","NEXT_ACTION_REVALIDATED_HEADER","getSegmentValue","segment","Array","isArray","isGroupSegment","isParallelRouteSegment","startsWith","computeSelectedLayoutSegment","addSearchParamsIfPageSegment","searchParams","isPageSegment","includes","PAGE_SEGMENT_KEY","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","DEFAULT_SEGMENT_KEY","node","getSelectedLayoutSegmentPath","tree","first","segmentPath","children","parallelRoutes","segmentValue","push","NOT_FOUND_SEGMENT_KEY","React","use","useMemo","useOptimistic","isThenable","ACTION_REFRESH","dispatch","refreshOnInstantNavigationUnlock","process","env","__NEXT_EXPOSE_TESTING_API","bypassCacheInvalidation","window","location","reload","dispatchAppRouterAction","action","setGestureRouterState","dispatchGestureState","state","__DEV__","NODE_ENV","promisesWithDebugInfo","WeakMap","useActionQueue","actionQueue","canonicalState","setState","useState","setGesture","nextDispatch","useAppDevRenderingIndicator","require","appDevRenderingIndicator","stateWithDebugInfo","promiseWithDebugInfo","get","undefined","debugInfo","then","asyncState","_debugInfo","set","parseCookieValue","raw","parsed","parse","rawState","writeCookieValue","value","cookieStore","existing","path","domain","lockState","acquireLock","r","releaseLock","startListeningForInstantNavigationCookie","self","__next_instant_test","cookie","Math","random","addEventListener","event","changed","deleted","transitionToCapturedSPA","fromTree","toTree","from","to","updateCapturedSPAToTree","isNavigationLocked","waitForNavigationLockIfActive","unresolvedThenable","useContext","TemplateContext","RenderFromTemplateContext","createSegmentVaryParamsAccumulator","accumulator","varyParams","onfulfilled","resolvers","emptySet","emptyVaryParamsAccumulator","createResponseVaryParamsAccumulator","head","rootParams","createVaryParamsAccumulator","responseAccumulator","varyParamsAccumulator","add","getMetadataVaryParamsAccumulator","getVaryParamsThenable","getMetadataVaryParamsThenable","getViewportVaryParamsAccumulator","getRootParamsVaryParamsAccumulator","accumulateVaryParam","paramName","accumulateRootVaryParam","rootParamsAccumulator","createVaryingParams","originalParamsObject","optionalCatchAllParamName","Proxy","target","prop","receiver","prototype","hasOwnProperty","call","Reflect","ownKeys","underlyingParamsWithVarying","defineProperty","enumerable","createVaryingSearchParams","originalSearchParamsObject","underlyingSearchParamsWithVarying","searchParamName","finishAccumulatingVaryParams","rootVaryParams","finishSegmentAccumulator","segmentAccumulator","merged","param","resolver","ReflectAdapter","bind","deleteProperty","__defProp","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","__export","all","__copyProps","except","desc","key","__toCommonJS","mod","src_exports","RequestCookies","ResponseCookies","parseCookie","parseSetCookie","stringifyCookie","module","exports","c","_a","attrs","expires","Date","toUTCString","maxAge","secure","httpOnly","sameSite","partitioned","priority","filter","Boolean","stringified","encodeURIComponent","join","map","Map","pair","splitAt","indexOf","slice","decodeURIComponent","setCookie","attributes","httponly","maxage","samesite","fromEntries","value2","toLowerCase","replace","parseSameSite","parsePriority","compact","t","newT","SAME_SITE","string","PRIORITY","splitCookiesString","cookiesString","cookiesStrings","pos","start","ch","lastComma","nextStart","cookiesSeparatorFound","skipWhitespace","test","charAt","notSpecialChar","substring","requestHeaders","_parsed","_headers","header","iterator","args","getAll","_","n","delete","names","result","clear","keys","toString","v","responseHeaders","_b","_c","getSetCookie","cookieStrings","cookieString","normalizeCookie","bag","headers","serialized","append","now","throwWithStaticGenerationBailoutErrorWithDynamicError","route","expression","configurable","throwForSearchParamsAccessInUseCache","workStore","constructorOpt","captureStackTrace","invalidDynamicUsageError","isRequestAPICallableInsideAfter","afterTaskStore","rootTaskSpawnPhase","workAsyncStorage","throwToInterruptStaticGeneration","postponeWithTracking","throwInvariantForMissingStore","describeStringPropertyAccess","wellKnownProperties","makeDevtoolsIOAwarePromise","makeHangingPromise","createDedupedByCallsiteServerErrorLoggerDev","dynamicAccessAsyncStorage","RenderStage","createParamsFromClient","underlyingParams","createStaticPrerenderParams","createClientParamsInInstantValidation","validationSamples","isRuntimePrefetchable","createRenderParamsInDev","createRenderParamsInProd","createServerParamsForMetadata","metadataVaryParamsAccumulator","createServerParamsForServerSegment","createServerParamsForRoute","createRuntimePrerenderParams","asyncApiPromises","createServerParamsInInstantValidation","earlySharedParamsParent","sharedParamsParent","createPrerenderParamsForClientSegment","renderSignal","prerenderStore","makeHangingParams","makeErroringParams","makeUntrackedParams","stagedRendering","stage","EarlyRuntime","Runtime","waitForStage","createExhaustiveParamsProxy","declaredParams","params","proxiedUnderlying","requestStore","makeDynamicallyTrackedParamsWithDevWarnings","CachedParams","fallbackParamsProxyHandler","originalMethod","store","abortController","abort","apply","cachedParams","augmentedUnderlying","forEach","dynamicTracking","hasFallbackParams","displayName","instrumentParamsPromiseWithDevWarnings","proxiedPromise","proxiedProperties","warnForSyncAccess","createParamsAccessError","LayoutRouterContext","urlSearchParamsToParsedUrlQuery","SearchParamsContext","ClientPageRoot","Component","serverProvidedParams","layoutRouterContext","parentParams","clientSearchParams","clientParams","createSearchParamsFromClient","createRenderSearchParamsFromClient","createRenderParamsFromClient","ClientSegmentRoot","slots","NameSpace","MetadataBoundary","ViewportBoundary","OutletBoundary","RootLayoutBoundary","IconMark","meta"],"mappings":"uCAAO,IAAMA,EAAwB,CACnCC,UAAW,IACXC,UAAW,IACXC,aAAc,GAChB,EAAC,AAEKC,EAAgB,IAAIC,IAAIC,OAAOC,MAAM,CAACP,4EAyCrC,SAASkB,AACdC,CAAc,EAEd,OAAQA,GACN,KAAK,IACH,MAAO,cACT,MAAK,IACH,MAAO,WACT,MAAK,IACH,MAAO,WACT,SACE,MACJ,CACF,kCApBO,SACLT,AADcO,CACgB,EAG9B,OAAOD,OADYN,AACLG,EADWF,MAAM,CAACG,KAAK,CAAC,IAAI,CAAC,EAAE,CAE/C,gCAxBO,SAASL,AACdC,CAAc,EAEd,GACmB,UAAjB,OAAOA,GACG,OAAVA,GACA,CAAE,CAAA,WAAYA,CAAAA,CAAI,EACM,UAAxB,AACA,OADOA,EAAMC,MAAM,CAEnB,OAAO,EAET,GAAM,CAACC,EAAQC,EAAW,CAAGH,EAAMC,MAAM,CAACG,KAAK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,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js b/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js deleted file mode 100644 index ac0e044..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports=[4987,(a,b,c)=>{"use strict";function d({widthInt:a,heightInt:b,blurWidth:c,blurHeight:e,blurDataURL:f,objectFit:g}){let h=c?40*c:a,i=e?40*e:b,j=h&&i?`viewBox='0 0 ${h} ${i}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${j}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${j?"none":"contain"===g?"xMidYMid":"cover"===g?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${f}'/%3E%3C/svg%3E`}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImageBlurSvg",{enumerable:!0,get:function(){return d}})},345,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={VALID_LOADERS:function(){return f},imageConfigDefault:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["default","imgix","cloudinary","akamai","custom"],g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},94915,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImgProps",{enumerable:!0,get:function(){return j}}),a.r(92434);let d=a.r(68063),e=a.r(4987),f=a.r(345),g=["-moz-initial","fill","none","scale-down",void 0];function h(a){return void 0!==a.default}function i(a){return void 0===a?a:"number"==typeof a?Number.isFinite(a)?a:NaN:"string"==typeof a&&/^[0-9]+$/.test(a)?parseInt(a,10):NaN}function j({src:a,sizes:b,unoptimized:c=!1,priority:k=!1,preload:l=!1,loading:m,className:n,quality:o,width:p,height:q,fill:r=!1,style:s,overrideSrc:t,onLoad:u,onLoadingComplete:v,placeholder:w="empty",blurDataURL:x,fetchPriority:y,decoding:z="async",layout:A,objectFit:B,objectPosition:C,lazyBoundary:D,lazyRoot:E,...F},G){var H;let I,J,K,{imgConf:L,showAltText:M,blurComplete:N,defaultLoader:O}=G,P=L||f.imageConfigDefault;if("allSizes"in P)I=P;else{let a=[...P.deviceSizes,...P.imageSizes].sort((a,b)=>a-b),b=P.deviceSizes.sort((a,b)=>a-b),c=P.qualities?.sort((a,b)=>a-b);I={...P,allSizes:a,deviceSizes:b,qualities:c}}if(void 0===O)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let Q=F.loader||O;delete F.loader,delete F.srcSet;let R="__next_img_default"in Q;if(R){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${a}" is missing "loader" prop. -Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let a=Q;Q=b=>{let{config:c,...d}=b;return a(d)}}if(A){"fill"===A&&(r=!0);let a={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];a&&(s={...s,...a});let c={responsive:"100vw",fill:"100vw"}[A];c&&!b&&(b=c)}let S="",T=i(p),U=i(q);if((H=a)&&"object"==typeof H&&(h(H)||void 0!==H.src)){let b=h(a)?a.default:a;if(!b.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!b.height||!b.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(J=b.blurWidth,K=b.blurHeight,x=x||b.blurDataURL,S=b.src,!r)if(T||U){if(T&&!U){let a=T/b.width;U=Math.round(b.height*a)}else if(!T&&U){let a=U/b.height;T=Math.round(b.width*a)}}else T=b.width,U=b.height}let V=!k&&!l&&("lazy"===m||void 0===m);(!(a="string"==typeof a?a:S)||a.startsWith("data:")||a.startsWith("blob:"))&&(c=!0,V=!1),I.unoptimized&&(c=!0),R&&!I.dangerouslyAllowSVG&&a.split("?",1)[0].endsWith(".svg")&&(c=!0);let W=i(o),X=Object.assign(r?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:C}:{},M?{}:{color:"transparent"},s),Y=N||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,e.getImageBlurSvg)({widthInt:T,heightInt:U,blurWidth:J,blurHeight:K,blurDataURL:x||"",objectFit:X.objectFit})}")`:`url("${w}")`,Z=g.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,$=Y?{backgroundSize:Z,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},_=function({config:a,src:b,unoptimized:c,width:e,quality:f,sizes:g,loader:h}){if(c){if(b.startsWith("/")&&!b.startsWith("//")){let a=(0,d.getDeploymentId)();if(a){let c=b.indexOf("?");if(-1!==c){let d=new URLSearchParams(b.slice(c+1));d.get("dpl")||(d.append("dpl",a),b=b.slice(0,c)+"?"+d.toString())}else b+=`?dpl=${a}`}}return{src:b,srcSet:void 0,sizes:void 0}}let{widths:i,kind:j}=function({deviceSizes:a,allSizes:b},c,d){if(d){let c=/(^|\s)(1?\d?\d)vw/g,e=[];for(let a;a=c.exec(d);)e.push(parseInt(a[2]));if(e.length){let c=.01*Math.min(...e);return{widths:b.filter(b=>b>=a[0]*c),kind:"w"}}return{widths:b,kind:"w"}}return"number"!=typeof c?{widths:a,kind:"w"}:{widths:[...new Set([c,2*c].map(a=>b.find(b=>b>=a)||b[b.length-1]))],kind:"x"}}(a,e,g),k=i.length-1;return{sizes:g||"w"!==j?g:"100vw",srcSet:i.map((c,d)=>`${h({config:a,src:b,quality:f,width:c})} ${"w"===j?c:d+1}${j}`).join(", "),src:h({config:a,src:b,quality:f,width:i[k]})}}({config:I,src:a,unoptimized:c,width:T,quality:W,sizes:b,loader:Q}),aa=V?"lazy":m;return{props:{...F,loading:aa,fetchPriority:y,width:T,height:U,decoding:z,className:n,style:{...X,...$},sizes:_.sizes,srcSet:_.srcSet,src:t||_.src},meta:{unoptimized:c,preload:l||k,placeholder:w,fill:r}}}},94613,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}});let d=a.r(72131),e=()=>{};function f(a){let{headManager:b,reduceComponentsToState:c}=a;function f(){if(b&&b.mountedInstances){let a=d.Children.toArray(Array.from(b.mountedInstances).filter(Boolean));b.updateHead(c(a))}}return b?.mountedInstances?.add(a.children),f(),e(()=>(b?.mountedInstances?.add(a.children),()=>{b?.mountedInstances?.delete(a.children)})),e(()=>(b&&(b._pendingUpdate=f),()=>{b&&(b._pendingUpdate=f)})),null}},92966,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HeadManagerContext},58018,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return p},defaultHead:function(){return l}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(33354),g=a.r(46058),h=a.r(87924),i=g._(a.r(72131)),j=f._(a.r(94613)),k=a.r(92966);function l(){return[(0,h.jsx)("meta",{charSet:"utf-8"},"charset"),(0,h.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function m(a,b){return"string"==typeof b||"number"==typeof b?a:b.type===i.default.Fragment?a.concat(i.default.Children.toArray(b.props.children).reduce((a,b)=>"string"==typeof b||"number"==typeof b?a:a.concat(b),[])):a.concat(b)}a.r(92434);let n=["name","httpEquiv","charSet","itemProp"];function o(a){let b,c,d,e;return a.reduce(m,[]).reverse().concat(l().reverse()).filter((b=new Set,c=new Set,d=new Set,e={},a=>{let f=!0,g=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){g=!0;let c=a.key.slice(a.key.indexOf("$")+1);b.has(c)?f=!1:b.add(c)}switch(a.type){case"title":case"base":c.has(a.type)?f=!1:c.add(a.type);break;case"meta":for(let b=0,c=n.length;b{let c=a.key||b;return i.default.cloneElement(a,{key:c})})}let p=function({children:a}){let b=(0,i.useContext)(k.HeadManagerContext);return(0,h.jsx)(j.default,{reduceComponentsToState:o,headManager:b,children:a})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},4486,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ImageConfigContext},53773,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.RouterContext},35444,(a,b,c)=>{"use strict";function d(a,b){let c=a||75;return b?.qualities?.length?b.qualities.reduce((a,b)=>Math.abs(b-c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return g}});let d=a.r(35444),e=a.r(68063);function f({config:a,src:b,width:c,quality:g}){let h=(0,e.getDeploymentId)();if(b.startsWith("/")&&!b.startsWith("//")){let a=b.indexOf("?");if(-1!==a){let c=new URLSearchParams(b.slice(a+1)),d=c.get("dpl");if(d){h=d,c.delete("dpl");let e=c.toString();b=b.slice(0,a)+(e?"?"+e:"")}}}if(b.startsWith("/")&&b.includes("?")&&a.localPatterns?.length===1&&"**"===a.localPatterns[0].pathname&&""===a.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${b}" is using a query string which is not configured in images.localPatterns. -Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,d.findClosestQuality)(g,a);return`${a.path}?url=${encodeURIComponent(b)}&w=${c}&q=${i}${b.startsWith("/")&&h?`&dpl=${h}`:""}`}f.__next_img_default=!0;let g=f},67161,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"Image",{enumerable:!0,get:function(){return u}});let d=a.r(33354),e=a.r(46058),f=a.r(87924),g=e._(a.r(72131)),h=d._(a.r(35112)),i=d._(a.r(58018)),j=a.r(94915),k=a.r(345),l=a.r(4486);a.r(92434);let m=a.r(53773),n=d._(a.r(2305)),o=a.r(8591),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function q(a,b,c,d,e,f,g){let h=a?.src;a&&a["data-loaded-src"]!==h&&(a["data-loaded-src"]=h,("decode"in a?a.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(a.parentElement&&a.isConnected){if("empty"!==b&&e(!0),c?.current){let b=new Event("load");Object.defineProperty(b,"target",{writable:!1,value:a});let d=!1,e=!1;c.current({...b,nativeEvent:b,currentTarget:a,target:a,isDefaultPrevented:()=>d,isPropagationStopped:()=>e,persist:()=>{},preventDefault:()=>{d=!0,b.preventDefault()},stopPropagation:()=>{e=!0,b.stopPropagation()}})}d?.current&&d.current(a)}}))}function r(a){return g.use?{fetchPriority:a}:{fetchpriority:a}}globalThis.__NEXT_IMAGE_IMPORTED=!0;let s=(0,g.forwardRef)(({src:a,srcSet:b,sizes:c,height:d,width:e,decoding:h,className:i,style:j,fetchPriority:k,placeholder:l,loading:m,unoptimized:n,fill:p,onLoadRef:s,onLoadingCompleteRef:t,setBlurComplete:u,setShowAltText:v,sizesInput:w,onLoad:x,onError:y,...z},A)=>{let B=(0,g.useCallback)(a=>{a&&(y&&(a.src=a.src),a.complete&&q(a,l,s,t,u,n,w))},[a,l,s,t,u,y,n,w]),C=(0,o.useMergedRef)(A,B);return(0,f.jsx)("img",{...z,...r(k),loading:m,width:e,height:d,decoding:h,"data-nimg":p?"fill":"1",className:i,style:j,sizes:c,srcSet:b,src:a,ref:C,onLoad:a=>{q(a.currentTarget,l,s,t,u,n,w)},onError:a=>{v(!0),"empty"!==l&&u(!0),y&&y(a)}})});function t({isAppRouter:a,imgAttributes:b}){let c={as:"image",imageSrcSet:b.srcSet,imageSizes:b.sizes,crossOrigin:b.crossOrigin,referrerPolicy:b.referrerPolicy,...r(b.fetchPriority)};return a&&h.default.preload?(h.default.preload(b.src,c),null):(0,f.jsx)(i.default,{children:(0,f.jsx)("link",{rel:"preload",href:b.srcSet?void 0:b.src,...c},"__nimg-"+b.src+b.srcSet+b.sizes)})}let u=(0,g.forwardRef)((a,b)=>{let c=(0,g.useContext)(m.RouterContext),d=(0,g.useContext)(l.ImageConfigContext),e=(0,g.useMemo)(()=>{let a=p||d||k.imageConfigDefault,b=[...a.deviceSizes,...a.imageSizes].sort((a,b)=>a-b),c=a.deviceSizes.sort((a,b)=>a-b),e=a.qualities?.sort((a,b)=>a-b);return{...a,allSizes:b,deviceSizes:c,qualities:e,localPatterns:d?.localPatterns}},[d]),{onLoad:h,onLoadingComplete:i}=a,o=(0,g.useRef)(h);(0,g.useEffect)(()=>{o.current=h},[h]);let q=(0,g.useRef)(i);(0,g.useEffect)(()=>{q.current=i},[i]);let[r,u]=(0,g.useState)(!1),[v,w]=(0,g.useState)(!1),{props:x,meta:y}=(0,j.getImgProps)(a,{defaultLoader:n.default,imgConf:e,blurComplete:r,showAltText:v});return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s,{...x,unoptimized:y.unoptimized,placeholder:y.placeholder,fill:y.fill,onLoadRef:o,onLoadingCompleteRef:q,setBlurComplete:u,setShowAltText:w,sizesInput:a.sizes,ref:b}),y.preload?(0,f.jsx)(t,{isAppRouter:!c,imgAttributes:x}):null]})});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}]; - -//# sourceMappingURL=node_modules_next_dist_11bk~bs._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js.map deleted file mode 100644 index c6190a6..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_11bk~bs._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/shared/lib/image-blur-svg.ts","../../../../node_modules/next/src/shared/lib/image-config.ts","../../../../node_modules/next/src/shared/lib/get-img-props.ts","../../../../node_modules/next/src/shared/lib/side-effect.tsx","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/head-manager-context.ts","../../../../node_modules/next/src/shared/lib/head.tsx","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/image-config-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/router-context.ts","../../../../node_modules/next/src/shared/lib/find-closest-quality.ts","../../../../node_modules/next/src/shared/lib/image-loader.ts","../../../../node_modules/next/src/client/image-component.tsx"],"sourcesContent":["/**\n * A shared function, used on both client and server, to generate a SVG blur placeholder.\n */\nexport function getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL,\n objectFit,\n}: {\n widthInt?: number\n heightInt?: number\n blurWidth?: number\n blurHeight?: number\n blurDataURL: string\n objectFit?: string\n}): string {\n const std = 20\n const svgWidth = blurWidth ? blurWidth * 40 : widthInt\n const svgHeight = blurHeight ? blurHeight * 40 : heightInt\n\n const viewBox =\n svgWidth && svgHeight ? `viewBox='0 0 ${svgWidth} ${svgHeight}'` : ''\n const preserveAspectRatio = viewBox\n ? 'none'\n : objectFit === 'contain'\n ? 'xMidYMid'\n : objectFit === 'cover'\n ? 'xMidYMid slice'\n : 'none'\n\n return `%3Csvg xmlns='http://www.w3.org/2000/svg' ${viewBox}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${std}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${preserveAspectRatio}' style='filter: url(%23b);' href='${blurDataURL}'/%3E%3C/svg%3E`\n}\n","export const VALID_LOADERS = [\n 'default',\n 'imgix',\n 'cloudinary',\n 'akamai',\n 'custom',\n] as const\n\nexport type LoaderValue = (typeof VALID_LOADERS)[number]\n\nexport type ImageLoaderProps = {\n src: string\n width: number\n quality?: number\n}\n\nexport type ImageLoaderPropsWithConfig = ImageLoaderProps & {\n config: Readonly\n}\n\nexport type LocalPattern = {\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\nexport type RemotePattern = {\n /**\n * Must be `http` or `https`.\n */\n protocol?: 'http' | 'https'\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single subdomain.\n * Double `**` matches any number of subdomains.\n */\n hostname: string\n\n /**\n * Can be literal port such as `8080` or empty string\n * meaning no port.\n */\n port?: string\n\n /**\n * Can be literal or wildcard.\n * Single `*` matches a single path segment.\n * Double `**` matches any number of path segments.\n */\n pathname?: string\n\n /**\n * Can be literal query string such as `?v=1` or\n * empty string meaning no query string.\n */\n search?: string\n}\n\ntype ImageFormat = 'image/avif' | 'image/webp'\n\n/**\n * Image configurations\n *\n * @see [Image configuration options](https://nextjs.org/docs/api-reference/next/image#configuration-options)\n */\nexport type ImageConfigComplete = {\n /** @see [Device sizes documentation](https://nextjs.org/docs/api-reference/next/image#device-sizes) */\n deviceSizes: number[]\n\n /** @see [Image sizing documentation](https://nextjs.org/docs/app/building-your-application/optimizing/images#image-sizing) */\n imageSizes: number[]\n\n /** @see [Image loaders configuration](https://nextjs.org/docs/api-reference/next/legacy/image#loader) */\n loader: LoaderValue\n\n /** @see [Image loader configuration](https://nextjs.org/docs/app/api-reference/components/image#path) */\n path: string\n\n /** @see [Image loader configuration](https://nextjs.org/docs/api-reference/next/image#loader-configuration) */\n loaderFile: string\n\n /**\n * @deprecated Use `remotePatterns` instead.\n */\n domains: string[]\n\n /** @see [Disable static image import configuration](https://nextjs.org/docs/api-reference/next/image#disable-static-imports) */\n disableStaticImages: boolean\n\n /** @see [Cache behavior](https://nextjs.org/docs/api-reference/next/image#caching-behavior) */\n minimumCacheTTL: number\n\n /** @see [Acceptable formats](https://nextjs.org/docs/api-reference/next/image#acceptable-formats) */\n formats: ImageFormat[]\n\n /** @see [Maximum Disk Cache Size (in bytes)](https://nextjs.org/docs/api-reference/next/image#maximumdiskcachesize) */\n maximumDiskCacheSize: number | undefined\n\n /** @see [Maximum Redirects](https://nextjs.org/docs/api-reference/next/image#maximumredirects) */\n maximumRedirects: number\n\n /** @see [Maximum Response Body](https://nextjs.org/docs/api-reference/next/image#maximumresponsebody) */\n maximumResponseBody: number\n\n /** @see [Dangerously Allow Local IP](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-local-ip) */\n dangerouslyAllowLocalIP: boolean\n\n /** @see [Dangerously Allow SVG](https://nextjs.org/docs/api-reference/next/image#dangerously-allow-svg) */\n dangerouslyAllowSVG: boolean\n\n /** @see [Content Security Policy](https://nextjs.org/docs/api-reference/next/image#contentsecuritypolicy) */\n contentSecurityPolicy: string\n\n /** @see [Content Disposition Type](https://nextjs.org/docs/api-reference/next/image#contentdispositiontype) */\n contentDispositionType: 'inline' | 'attachment'\n\n /** @see [Remote Patterns](https://nextjs.org/docs/api-reference/next/image#remotepatterns) */\n remotePatterns: Array\n\n /** @see [Local Patterns](https://nextjs.org/docs/api-reference/next/image#localPatterns) */\n localPatterns: LocalPattern[] | undefined\n\n /** @see [Qualities](https://nextjs.org/docs/api-reference/next/image#qualities) */\n qualities: number[] | undefined\n\n /** @see [Unoptimized](https://nextjs.org/docs/api-reference/next/image#unoptimized) */\n unoptimized: boolean\n\n /**\n * When true, the `cacheHandler` configured in next.config.js will also be used\n * for caching optimized images. When false, images use the default filesystem cache.\n * @see [Image Optimization Caching](https://nextjs.org/docs/app/api-reference/config/next-config-js/cacheHandler#image-optimization-caching)\n */\n customCacheHandler: boolean\n}\n\nexport type ImageConfig = Partial\n\nexport const imageConfigDefault: ImageConfigComplete = {\n deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n imageSizes: [32, 48, 64, 96, 128, 256, 384],\n path: '/_next/image',\n loader: 'default',\n loaderFile: '',\n /**\n * @deprecated Use `remotePatterns` instead to protect your application from malicious users.\n */\n domains: [],\n disableStaticImages: false,\n minimumCacheTTL: 14400, // 4 hours\n formats: ['image/webp'],\n maximumDiskCacheSize: undefined, // auto-detect by default\n maximumRedirects: 3,\n maximumResponseBody: 50_000_000, // 50 MB\n dangerouslyAllowLocalIP: false,\n dangerouslyAllowSVG: false,\n contentSecurityPolicy: `script-src 'none'; frame-src 'none'; sandbox;`,\n contentDispositionType: 'attachment',\n localPatterns: undefined, // default: allow all local images\n remotePatterns: [], // default: allow no remote images\n qualities: [75],\n unoptimized: false,\n customCacheHandler: false,\n}\n","import { warnOnce } from './utils/warn-once'\nimport { getDeploymentId } from './deployment-id'\nimport { getImageBlurSvg } from './image-blur-svg'\nimport { imageConfigDefault } from './image-config'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n ImageLoaderPropsWithConfig,\n} from './image-config'\n\nimport type { CSSProperties, JSX } from 'react'\n\nexport interface StaticImageData {\n src: string\n height: number\n width: number\n blurDataURL?: string\n blurWidth?: number\n blurHeight?: number\n}\n\nexport interface StaticRequire {\n default: StaticImageData\n}\n\nexport type StaticImport = StaticRequire | StaticImageData\n\nexport type ImageProps = Omit<\n JSX.IntrinsicElements['img'],\n 'src' | 'srcSet' | 'ref' | 'alt' | 'width' | 'height' | 'loading'\n> & {\n src: string | StaticImport\n alt: string\n width?: number | `${number}`\n height?: number | `${number}`\n fill?: boolean\n loader?: ImageLoader\n quality?: number | `${number}`\n preload?: boolean\n /**\n * @deprecated Use `preload` prop instead.\n * See https://nextjs.org/docs/app/api-reference/components/image#preload\n */\n priority?: boolean\n loading?: LoadingValue\n placeholder?: PlaceholderValue\n blurDataURL?: string\n unoptimized?: boolean\n overrideSrc?: string\n /**\n * @deprecated Use `onLoad` instead.\n * @see https://nextjs.org/docs/app/api-reference/components/image#onload\n */\n onLoadingComplete?: OnLoadingComplete\n /**\n * @deprecated Use `fill` prop instead of `layout=\"fill\"` or change import to `next/legacy/image`.\n * @see https://nextjs.org/docs/api-reference/next/legacy/image\n */\n layout?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectFit?: string\n /**\n * @deprecated Use `style` prop instead.\n */\n objectPosition?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyBoundary?: string\n /**\n * @deprecated This prop does not do anything.\n */\n lazyRoot?: string\n}\n\nexport type ImgProps = Omit & {\n loading: LoadingValue\n width: number | undefined\n height: number | undefined\n style: NonNullable\n sizes: string | undefined\n srcSet: string | undefined\n src: string\n}\n\nconst VALID_LOADING_VALUES = ['lazy', 'eager', undefined] as const\n\n// Object-fit values that are not valid background-size values\nconst INVALID_BACKGROUND_SIZE_VALUES = [\n '-moz-initial',\n 'fill',\n 'none',\n 'scale-down',\n undefined,\n]\ntype LoadingValue = (typeof VALID_LOADING_VALUES)[number]\ntype ImageConfig = ImageConfigComplete & {\n allSizes: number[]\n output?: 'standalone' | 'export'\n}\n\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\n// Do not export - this is an internal type only\n// because `next.config.js` is only meant for the\n// built-in loaders, not for a custom loader() prop.\ntype ImageLoaderWithConfig = (p: ImageLoaderPropsWithConfig) => string\n\nexport type PlaceholderValue = 'blur' | 'empty' | `data:image/${string}`\nexport type OnLoad = React.ReactEventHandler | undefined\nexport type OnLoadingComplete = (img: HTMLImageElement) => void\n\nexport type PlaceholderStyle = Partial<\n Pick<\n CSSProperties,\n | 'backgroundSize'\n | 'backgroundPosition'\n | 'backgroundRepeat'\n | 'backgroundImage'\n >\n>\n\nfunction isStaticRequire(\n src: StaticRequire | StaticImageData\n): src is StaticRequire {\n return (src as StaticRequire).default !== undefined\n}\n\nfunction isStaticImageData(\n src: StaticRequire | StaticImageData\n): src is StaticImageData {\n return (src as StaticImageData).src !== undefined\n}\n\nfunction isStaticImport(src: string | StaticImport): src is StaticImport {\n return (\n !!src &&\n typeof src === 'object' &&\n (isStaticRequire(src as StaticImport) ||\n isStaticImageData(src as StaticImport))\n )\n}\n\nconst allImgs = new Map<\n string,\n { src: string; loading: LoadingValue; placeholder: PlaceholderValue }\n>()\nlet perfObserver: PerformanceObserver | undefined\n\nfunction getInt(x: unknown): number | undefined {\n if (typeof x === 'undefined') {\n return x\n }\n if (typeof x === 'number') {\n return Number.isFinite(x) ? x : NaN\n }\n if (typeof x === 'string' && /^[0-9]+$/.test(x)) {\n return parseInt(x, 10)\n }\n return NaN\n}\n\nfunction getWidths(\n { deviceSizes, allSizes }: ImageConfig,\n width: number | undefined,\n sizes: string | undefined\n): { widths: number[]; kind: 'w' | 'x' } {\n if (sizes) {\n // Find all the \"vw\" percent sizes used in the sizes prop\n const viewportWidthRe = /(^|\\s)(1?\\d?\\d)vw/g\n const percentSizes = []\n for (let match; (match = viewportWidthRe.exec(sizes)); match) {\n percentSizes.push(parseInt(match[2]))\n }\n if (percentSizes.length) {\n const smallestRatio = Math.min(...percentSizes) * 0.01\n return {\n widths: allSizes.filter((s) => s >= deviceSizes[0] * smallestRatio),\n kind: 'w',\n }\n }\n return { widths: allSizes, kind: 'w' }\n }\n if (typeof width !== 'number') {\n return { widths: deviceSizes, kind: 'w' }\n }\n\n const widths = [\n ...new Set(\n // > This means that most OLED screens that say they are 3x resolution,\n // > are actually 3x in the green color, but only 1.5x in the red and\n // > blue colors. Showing a 3x resolution image in the app vs a 2x\n // > resolution image will be visually the same, though the 3x image\n // > takes significantly more data. Even true 3x resolution screens are\n // > wasteful as the human eye cannot see that level of detail without\n // > something like a magnifying glass.\n // https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html\n [width, width * 2 /*, width * 3*/].map(\n (w) => allSizes.find((p) => p >= w) || allSizes[allSizes.length - 1]\n )\n ),\n ]\n return { widths, kind: 'x' }\n}\n\ntype GenImgAttrsData = {\n config: ImageConfig\n src: string\n unoptimized: boolean\n loader: ImageLoaderWithConfig\n width?: number\n quality?: number\n sizes?: string\n}\n\ntype GenImgAttrsResult = {\n src: string\n srcSet: string | undefined\n sizes: string | undefined\n}\n\nfunction generateImgAttrs({\n config,\n src,\n unoptimized,\n width,\n quality,\n sizes,\n loader,\n}: GenImgAttrsData): GenImgAttrsResult {\n if (unoptimized) {\n if (src.startsWith('/') && !src.startsWith('//')) {\n let deploymentId = getDeploymentId()\n if (deploymentId) {\n // We unfortunately can't easily use `new URL()` here, because it normalizes the URL which causes\n // double-encoding with the `encodeURIComponent(src)` below\n const qIndex = src.indexOf('?')\n if (qIndex !== -1) {\n const params = new URLSearchParams(src.slice(qIndex + 1))\n const srcDpl = params.get('dpl')\n if (!srcDpl) {\n // src is missing the dpl parameter, but we have a deploymentId, so add it to the src URL\n params.append('dpl', deploymentId)\n src = src.slice(0, qIndex) + '?' + params.toString()\n }\n } else {\n // src is missing the dpl parameter, but we have a deploymentId, so add it to the src URL\n src = src + `?dpl=${deploymentId}`\n }\n }\n }\n return { src, srcSet: undefined, sizes: undefined }\n }\n\n const { widths, kind } = getWidths(config, width, sizes)\n const last = widths.length - 1\n\n return {\n sizes: !sizes && kind === 'w' ? '100vw' : sizes,\n srcSet: widths\n .map(\n (w, i) =>\n `${loader({ config, src, quality, width: w })} ${\n kind === 'w' ? w : i + 1\n }${kind}`\n )\n .join(', '),\n\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n src: loader({ config, src, quality, width: widths[last] }),\n }\n}\n\n/**\n * A shared function, used on both client and server, to generate the props for .\n */\nexport function getImgProps(\n {\n src,\n sizes,\n unoptimized = false,\n priority = false,\n preload = false,\n loading,\n className,\n quality,\n width,\n height,\n fill = false,\n style,\n overrideSrc,\n onLoad,\n onLoadingComplete,\n placeholder = 'empty',\n blurDataURL,\n fetchPriority,\n decoding = 'async',\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n ...rest\n }: ImageProps,\n _state: {\n defaultLoader: ImageLoaderWithConfig\n imgConf: ImageConfigComplete\n showAltText?: boolean\n blurComplete?: boolean\n }\n): {\n props: ImgProps\n meta: {\n unoptimized: boolean\n preload: boolean\n placeholder: NonNullable\n fill: boolean\n }\n} {\n const { imgConf, showAltText, blurComplete, defaultLoader } = _state\n let config: ImageConfig\n let c = imgConf || imageConfigDefault\n if ('allSizes' in c) {\n config = c as ImageConfig\n } else {\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n config = { ...c, allSizes, deviceSizes, qualities }\n }\n\n if (typeof defaultLoader === 'undefined') {\n throw new Error(\n 'images.loaderFile detected but the file is missing default export.\\nRead more: https://nextjs.org/docs/messages/invalid-images-config'\n )\n }\n let loader: ImageLoaderWithConfig = rest.loader || defaultLoader\n\n // Remove property so it's not spread on element\n delete rest.loader\n delete (rest as any).srcSet\n\n // This special value indicates that the user\n // didn't define a \"loader\" prop or \"loader\" config.\n const isDefaultLoader = '__next_img_default' in loader\n\n if (isDefaultLoader) {\n if (config.loader === 'custom') {\n throw new Error(\n `Image with src \"${src}\" is missing \"loader\" prop.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader`\n )\n }\n } else {\n // The user defined a \"loader\" prop or config.\n // Since the config object is internal only, we\n // must not pass it to the user-defined \"loader\".\n const customImageLoader = loader as ImageLoader\n loader = (obj) => {\n const { config: _, ...opts } = obj\n return customImageLoader(opts)\n }\n }\n\n if (layout) {\n if (layout === 'fill') {\n fill = true\n }\n const layoutToStyle: Record | undefined> = {\n intrinsic: { maxWidth: '100%', height: 'auto' },\n responsive: { width: '100%', height: 'auto' },\n }\n const layoutToSizes: Record = {\n responsive: '100vw',\n fill: '100vw',\n }\n const layoutStyle = layoutToStyle[layout]\n if (layoutStyle) {\n style = { ...style, ...layoutStyle }\n }\n const layoutSizes = layoutToSizes[layout]\n if (layoutSizes && !sizes) {\n sizes = layoutSizes\n }\n }\n\n let staticSrc = ''\n let widthInt = getInt(width)\n let heightInt = getInt(height)\n let blurWidth: number | undefined\n let blurHeight: number | undefined\n if (isStaticImport(src)) {\n const staticImageData = isStaticRequire(src) ? src.default : src\n\n if (!staticImageData.src) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n if (!staticImageData.height || !staticImageData.width) {\n throw new Error(\n `An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(\n staticImageData\n )}`\n )\n }\n\n blurWidth = staticImageData.blurWidth\n blurHeight = staticImageData.blurHeight\n blurDataURL = blurDataURL || staticImageData.blurDataURL\n staticSrc = staticImageData.src\n\n if (!fill) {\n if (!widthInt && !heightInt) {\n widthInt = staticImageData.width\n heightInt = staticImageData.height\n } else if (widthInt && !heightInt) {\n const ratio = widthInt / staticImageData.width\n heightInt = Math.round(staticImageData.height * ratio)\n } else if (!widthInt && heightInt) {\n const ratio = heightInt / staticImageData.height\n widthInt = Math.round(staticImageData.width * ratio)\n }\n }\n }\n src = typeof src === 'string' ? src : staticSrc\n\n let isLazy =\n !priority &&\n !preload &&\n (loading === 'lazy' || typeof loading === 'undefined')\n if (!src || src.startsWith('data:') || src.startsWith('blob:')) {\n // https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\n unoptimized = true\n isLazy = false\n }\n if (config.unoptimized) {\n unoptimized = true\n }\n if (\n isDefaultLoader &&\n !config.dangerouslyAllowSVG &&\n src.split('?', 1)[0].endsWith('.svg')\n ) {\n // Special case to make svg serve as-is to avoid proxying\n // through the built-in Image Optimization API.\n unoptimized = true\n }\n\n const qualityInt = getInt(quality)\n\n if (process.env.NODE_ENV !== 'production') {\n if (config.output === 'export' && isDefaultLoader && !unoptimized) {\n throw new Error(\n `Image Optimization using the default loader is not compatible with \\`{ output: 'export' }\\`.\n Possible solutions:\n - Remove \\`{ output: 'export' }\\` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure \\`{ images: { unoptimized: true } }\\` in \\`next.config.js\\` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api`\n )\n }\n if (!src) {\n // React doesn't show the stack trace and there's\n // no `src` to help identify which image, so we\n // instead console.error(ref) during mount.\n unoptimized = true\n } else {\n if (fill) {\n if (width) {\n throw new Error(\n `Image with src \"${src}\" has both \"width\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (height) {\n throw new Error(\n `Image with src \"${src}\" has both \"height\" and \"fill\" properties. Only one should be used.`\n )\n }\n if (style?.position && style.position !== 'absolute') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.position\" properties. Images with \"fill\" always use position absolute - it cannot be modified.`\n )\n }\n if (style?.width && style.width !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.width\" properties. Images with \"fill\" always use width 100% - it cannot be modified.`\n )\n }\n if (style?.height && style.height !== '100%') {\n throw new Error(\n `Image with src \"${src}\" has both \"fill\" and \"style.height\" properties. Images with \"fill\" always use height 100% - it cannot be modified.`\n )\n }\n } else {\n if (typeof widthInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"width\" property.`\n )\n } else if (isNaN(widthInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"width\" property. Expected a numeric value in pixels but received \"${width}\".`\n )\n }\n if (typeof heightInt === 'undefined') {\n throw new Error(\n `Image with src \"${src}\" is missing required \"height\" property.`\n )\n } else if (isNaN(heightInt)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"height\" property. Expected a numeric value in pixels but received \"${height}\".`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/^[\\x00-\\x20]/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n // eslint-disable-next-line no-control-regex\n if (/[\\x00-\\x20]$/.test(src)) {\n throw new Error(\n `Image with src \"${src}\" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.`\n )\n }\n }\n }\n if (!VALID_LOADING_VALUES.includes(loading)) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"loading\" property. Provided \"${loading}\" should be one of ${VALID_LOADING_VALUES.map(\n String\n ).join(',')}.`\n )\n }\n if (priority && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"priority\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && loading === 'lazy') {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"loading='lazy'\" properties. Only one should be used.`\n )\n }\n if (preload && priority) {\n throw new Error(\n `Image with src \"${src}\" has both \"preload\" and \"priority\" properties. Only \"preload\" should be used.`\n )\n }\n if (\n placeholder !== 'empty' &&\n placeholder !== 'blur' &&\n !placeholder.startsWith('data:image/')\n ) {\n throw new Error(\n `Image with src \"${src}\" has invalid \"placeholder\" property \"${placeholder}\".`\n )\n }\n if (placeholder !== 'empty') {\n if (widthInt && heightInt && widthInt * heightInt < 1600) {\n warnOnce(\n `Image with src \"${src}\" is smaller than 40x40. Consider removing the \"placeholder\" property to improve performance.`\n )\n }\n }\n if (\n qualityInt &&\n config.qualities &&\n !config.qualities.includes(qualityInt)\n ) {\n warnOnce(\n `Image with src \"${src}\" is using quality \"${qualityInt}\" which is not configured in images.qualities [${config.qualities.join(', ')}]. Please update your config to [${[...config.qualities, qualityInt].sort().join(', ')}].` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-qualities`\n )\n }\n if (placeholder === 'blur' && !blurDataURL) {\n const VALID_BLUR_EXT = ['jpeg', 'png', 'webp', 'avif'] // should match next-image-loader\n\n throw new Error(\n `Image with src \"${src}\" has \"placeholder='blur'\" property but is missing the \"blurDataURL\" property.\n Possible solutions:\n - Add a \"blurDataURL\" property, the contents should be a small Data URL to represent the image\n - Change the \"src\" property to a static import with one of the supported file types: ${VALID_BLUR_EXT.join(\n ','\n )} (animated images not supported)\n - Remove the \"placeholder\" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url`\n )\n }\n if ('ref' in rest) {\n warnOnce(\n `Image with src \"${src}\" is using unsupported \"ref\" property. Consider using the \"onLoad\" property instead.`\n )\n }\n\n if (!unoptimized && !isDefaultLoader) {\n const urlStr = loader({\n config,\n src,\n width: widthInt || 400,\n quality: qualityInt || 75,\n })\n let url: URL | undefined\n try {\n url = new URL(urlStr)\n } catch (err) {}\n if (urlStr === src || (url && url.pathname === src && !url.search)) {\n warnOnce(\n `Image with src \"${src}\" has a \"loader\" property that does not implement width. Please implement it or use the \"unoptimized\" property instead.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width`\n )\n }\n }\n\n if (onLoadingComplete) {\n warnOnce(\n `Image with src \"${src}\" is using deprecated \"onLoadingComplete\" property. Please use the \"onLoad\" property instead.`\n )\n }\n\n for (const [legacyKey, legacyValue] of Object.entries({\n layout,\n objectFit,\n objectPosition,\n lazyBoundary,\n lazyRoot,\n })) {\n if (legacyValue) {\n warnOnce(\n `Image with src \"${src}\" has legacy prop \"${legacyKey}\". Did you forget to run the codemod?` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`\n )\n }\n }\n\n if (\n typeof window !== 'undefined' &&\n !perfObserver &&\n window.PerformanceObserver\n ) {\n perfObserver = new PerformanceObserver((entryList) => {\n for (const entry of entryList.getEntries()) {\n // @ts-ignore - missing \"LargestContentfulPaint\" class with \"element\" prop\n const imgSrc = entry?.element?.src || ''\n const lcpImage = allImgs.get(imgSrc)\n if (\n lcpImage &&\n lcpImage.loading === 'lazy' &&\n lcpImage.placeholder === 'empty' &&\n !lcpImage.src.startsWith('data:') &&\n !lcpImage.src.startsWith('blob:')\n ) {\n // https://web.dev/lcp/#measure-lcp-in-javascript\n warnOnce(\n `Image with src \"${lcpImage.src}\" was detected as the Largest Contentful Paint (LCP). Please add the \\`loading=\"eager\"\\` property if this image is above the fold.` +\n `\\nRead more: https://nextjs.org/docs/app/api-reference/components/image#loading`\n )\n }\n }\n })\n try {\n perfObserver.observe({\n type: 'largest-contentful-paint',\n buffered: true,\n })\n } catch (err) {\n // Log error but don't crash the app\n console.error(err)\n }\n }\n }\n const imgStyle = Object.assign(\n fill\n ? {\n position: 'absolute',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n right: 0,\n bottom: 0,\n objectFit,\n objectPosition,\n }\n : {},\n showAltText ? {} : { color: 'transparent' },\n style\n )\n\n const backgroundImage =\n !blurComplete && placeholder !== 'empty'\n ? placeholder === 'blur'\n ? `url(\"data:image/svg+xml;charset=utf-8,${getImageBlurSvg({\n widthInt,\n heightInt,\n blurWidth,\n blurHeight,\n blurDataURL: blurDataURL || '', // assume not undefined\n objectFit: imgStyle.objectFit,\n })}\")`\n : `url(\"${placeholder}\")` // assume `data:image/`\n : null\n\n const backgroundSize = !INVALID_BACKGROUND_SIZE_VALUES.includes(\n imgStyle.objectFit\n )\n ? imgStyle.objectFit\n : imgStyle.objectFit === 'fill'\n ? '100% 100%' // the background-size equivalent of `fill`\n : 'cover'\n\n let placeholderStyle: PlaceholderStyle = backgroundImage\n ? {\n backgroundSize,\n backgroundPosition: imgStyle.objectPosition || '50% 50%',\n backgroundRepeat: 'no-repeat',\n backgroundImage,\n }\n : {}\n\n if (process.env.NODE_ENV === 'development') {\n if (\n placeholderStyle.backgroundImage &&\n placeholder === 'blur' &&\n blurDataURL?.startsWith('/')\n ) {\n // During `next dev`, we don't want to generate blur placeholders with webpack\n // because it can delay starting the dev server. Instead, `next-image-loader.js`\n // will inline a special url to lazily generate the blur placeholder at request time.\n placeholderStyle.backgroundImage = `url(\"${blurDataURL}\")`\n }\n }\n\n const imgAttributes = generateImgAttrs({\n config,\n src,\n unoptimized,\n width: widthInt,\n quality: qualityInt,\n sizes,\n loader,\n })\n\n const loadingFinal = isLazy ? 'lazy' : loading\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined') {\n let fullUrl: URL\n try {\n fullUrl = new URL(imgAttributes.src)\n } catch (e) {\n fullUrl = new URL(imgAttributes.src, window.location.href)\n }\n allImgs.set(fullUrl.href, { src, loading: loadingFinal, placeholder })\n }\n }\n\n const props: ImgProps = {\n ...rest,\n loading: loadingFinal,\n fetchPriority,\n width: widthInt,\n height: heightInt,\n decoding,\n className,\n style: { ...imgStyle, ...placeholderStyle },\n sizes: imgAttributes.sizes,\n srcSet: imgAttributes.srcSet,\n src: overrideSrc || imgAttributes.src,\n }\n const meta = { unoptimized, preload: preload || priority, placeholder, fill }\n return { props, meta }\n}\n","import type React from 'react'\nimport { Children, useEffect, useLayoutEffect, type JSX } from 'react'\n\ntype State = JSX.Element[] | undefined\n\nexport type SideEffectProps = {\n reduceComponentsToState: (components: Array>) => State\n handleStateChange?: (state: State) => void\n headManager: any\n children: React.ReactNode\n}\n\nconst isServer = typeof window === 'undefined'\nconst useClientOnlyLayoutEffect = isServer ? () => {} : useLayoutEffect\nconst useClientOnlyEffect = isServer ? () => {} : useEffect\n\nexport default function SideEffect(props: SideEffectProps) {\n const { headManager, reduceComponentsToState } = props\n\n function emitChange() {\n if (headManager && headManager.mountedInstances) {\n const headElements = Children.toArray(\n Array.from(headManager.mountedInstances as Set).filter(\n Boolean\n )\n ) as React.ReactElement[]\n headManager.updateHead(reduceComponentsToState(headElements))\n }\n }\n\n if (isServer) {\n headManager?.mountedInstances?.add(props.children)\n emitChange()\n }\n\n useClientOnlyLayoutEffect(() => {\n headManager?.mountedInstances?.add(props.children)\n return () => {\n headManager?.mountedInstances?.delete(props.children)\n }\n })\n\n // We need to call `updateHead` method whenever the `SideEffect` is trigger in all\n // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s\n // being rendered, we only trigger the method from the last one.\n // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`\n // singleton in the layout effect pass, and actually trigger it in the effect pass.\n useClientOnlyLayoutEffect(() => {\n if (headManager) {\n headManager._pendingUpdate = emitChange\n }\n return () => {\n if (headManager) {\n headManager._pendingUpdate = emitChange\n }\n }\n })\n\n useClientOnlyEffect(() => {\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate()\n headManager._pendingUpdate = null\n }\n return () => {\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate()\n headManager._pendingUpdate = null\n }\n }\n })\n\n return null\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HeadManagerContext\n","'use client'\n\nimport React, { useContext, type JSX } from 'react'\nimport Effect from './side-effect'\nimport { HeadManagerContext } from './head-manager-context.shared-runtime'\nimport { warnOnce } from './utils/warn-once'\n\nexport function defaultHead(): JSX.Element[] {\n const head = [\n ,\n ,\n ]\n return head\n}\n\nfunction onlyReactElement(\n list: Array>,\n child: React.ReactElement | number | string\n): Array> {\n // React children can be \"string\" or \"number\" in this case we ignore them for backwards compat\n if (typeof child === 'string' || typeof child === 'number') {\n return list\n }\n // Adds support for React.Fragment\n if (child.type === React.Fragment) {\n return list.concat(\n // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]\n React.Children.toArray(child.props.children).reduce(\n // @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]\n (\n fragmentList: Array>,\n fragmentChild: React.ReactElement | number | string\n ): Array> => {\n if (\n typeof fragmentChild === 'string' ||\n typeof fragmentChild === 'number'\n ) {\n return fragmentList\n }\n return fragmentList.concat(fragmentChild)\n },\n []\n )\n )\n }\n return list.concat(child)\n}\n\nconst METATYPES = ['name', 'httpEquiv', 'charSet', 'itemProp']\n\n/*\n returns a function for filtering head child elements\n which shouldn't be duplicated, like \n Also adds support for deduplicated `key` properties\n*/\nfunction unique() {\n const keys = new Set()\n const tags = new Set()\n const metaTypes = new Set()\n const metaCategories: { [metatype: string]: Set<string> } = {}\n\n return (h: React.ReactElement<any>) => {\n let isUnique = true\n let hasKey = false\n\n if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {\n hasKey = true\n const key = h.key.slice(h.key.indexOf('$') + 1)\n if (keys.has(key)) {\n isUnique = false\n } else {\n keys.add(key)\n }\n }\n\n // eslint-disable-next-line default-case\n switch (h.type) {\n case 'title':\n case 'base':\n if (tags.has(h.type)) {\n isUnique = false\n } else {\n tags.add(h.type)\n }\n break\n case 'meta':\n for (let i = 0, len = METATYPES.length; i < len; i++) {\n const metatype = METATYPES[i]\n if (!h.props.hasOwnProperty(metatype)) continue\n\n if (metatype === 'charSet') {\n if (metaTypes.has(metatype)) {\n isUnique = false\n } else {\n metaTypes.add(metatype)\n }\n } else {\n const category = h.props[metatype]\n const categories = metaCategories[metatype] || new Set()\n if ((metatype !== 'name' || !hasKey) && categories.has(category)) {\n isUnique = false\n } else {\n categories.add(category)\n metaCategories[metatype] = categories\n }\n }\n }\n break\n }\n\n return isUnique\n }\n}\n\n/**\n *\n * @param headChildrenElements List of children of <Head>\n */\nfunction reduceComponents(\n headChildrenElements: Array<React.ReactElement<any>>\n) {\n return headChildrenElements\n .reduce(onlyReactElement, [])\n .reverse()\n .concat(defaultHead().reverse())\n .filter(unique())\n .reverse()\n .map((c: React.ReactElement<any>, i: number) => {\n const key = c.key || i\n if (process.env.NODE_ENV === 'development') {\n // omit JSON-LD structured data snippets from the warning\n if (c.type === 'script' && c.props['type'] !== 'application/ld+json') {\n const srcMessage = c.props['src']\n ? `<script> tag with src=\"${c.props['src']}\"`\n : `inline <script>`\n warnOnce(\n `Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \\nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`\n )\n } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') {\n warnOnce(\n `Do not add stylesheets using next/head (see <link rel=\"stylesheet\"> tag with href=\"${c.props['href']}\"). Use Document instead. \\nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`\n )\n }\n }\n return React.cloneElement(c, { key })\n })\n}\n\n/**\n * This component injects elements to `<head>` of your page.\n * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.\n */\nfunction Head({ children }: { children: React.ReactNode }) {\n const headManager = useContext(HeadManagerContext)\n return (\n <Effect\n reduceComponentsToState={reduceComponents}\n headManager={headManager}\n >\n {children}\n </Effect>\n )\n}\n\nexport default Head\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ImageConfigContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].RouterContext\n","import type { NextConfig } from '../../server/config-shared'\n\n/**\n * Find the closest matching `quality` in the list of `config.qualities`\n * @param quality the quality prop passed to the image component\n * @param config the \"images\" configuration from next.config.js\n * @returns the closest matching quality value\n */\nexport function findClosestQuality(\n quality: number | undefined,\n config: NextConfig['images'] | undefined\n): number {\n const q = quality || 75\n if (!config?.qualities?.length) {\n return q\n }\n return config.qualities.reduce(\n (prev, cur) => (Math.abs(cur - q) < Math.abs(prev - q) ? cur : prev),\n config.qualities[0]\n )\n}\n","import type { ImageLoaderPropsWithConfig } from './image-config'\nimport { findClosestQuality } from './find-closest-quality'\nimport { getDeploymentId } from './deployment-id'\n\nfunction defaultLoader({\n config,\n src,\n width,\n quality,\n}: ImageLoaderPropsWithConfig): string {\n if (process.env.NODE_ENV !== 'production') {\n const missingValues = []\n\n // these should always be provided but make sure they are\n if (!src) missingValues.push('src')\n if (!width) missingValues.push('width')\n\n if (missingValues.length > 0) {\n throw new Error(\n `Next Image Optimization requires ${missingValues.join(\n ', '\n )} to be provided. Make sure you pass them as props to the \\`next/image\\` component. Received: ${JSON.stringify(\n { src, width, quality }\n )}`\n )\n }\n }\n\n // Extract dpl parameter early so validation uses the clean URL.\n // If a immutable asset token should be used, it was already added as a query parameter and will\n // be extracted and reused here.\n let deploymentId = getDeploymentId()\n if (src.startsWith('/') && !src.startsWith('//')) {\n // We unfortunately can't easily use `new URL()` here, because it normalizes the URL which causes\n // double-encoding with the `encodeURIComponent(src)` below\n const qIndex = src.indexOf('?')\n if (qIndex !== -1) {\n const params = new URLSearchParams(src.slice(qIndex + 1))\n const srcDpl = params.get('dpl')\n if (srcDpl) {\n deploymentId = srcDpl\n params.delete('dpl')\n const remaining = params.toString()\n src = src.slice(0, qIndex) + (remaining ? '?' + remaining : '')\n }\n }\n }\n\n if (\n src.startsWith('/') &&\n src.includes('?') &&\n config.localPatterns?.length === 1 &&\n config.localPatterns[0].pathname === '**' &&\n config.localPatterns[0].search === ''\n ) {\n throw new Error(\n `Image with src \"${src}\" is using a query string which is not configured in images.localPatterns.` +\n `\\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (src.startsWith('//')) {\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)`\n )\n }\n\n if (src.startsWith('/') && config.localPatterns) {\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasLocalMatch } =\n require('./match-local-pattern') as typeof import('./match-local-pattern')\n if (!hasLocalMatch(config.localPatterns, src)) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\` does not match \\`images.localPatterns\\` configured in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`\n )\n }\n }\n }\n\n if (!src.startsWith('/') && (config.domains || config.remotePatterns)) {\n let parsedSrc: URL\n try {\n parsedSrc = new URL(src)\n } catch (err) {\n console.error(err)\n throw new Error(\n `Failed to parse src \"${src}\" on \\`next/image\\`, if using relative image it must start with a leading slash \"/\" or be an absolute URL (http:// or https://)`\n )\n }\n\n if (\n process.env.NODE_ENV !== 'test' &&\n // micromatch isn't compatible with edge runtime\n process.env.NEXT_RUNTIME !== 'edge'\n ) {\n // We use dynamic require because this should only error in development\n const { hasRemoteMatch } =\n require('./match-remote-pattern') as typeof import('./match-remote-pattern')\n if (\n !hasRemoteMatch(config.domains!, config.remotePatterns!, parsedSrc)\n ) {\n throw new Error(\n `Invalid src prop (${src}) on \\`next/image\\`, hostname \"${parsedSrc.hostname}\" is not configured under images in your \\`next.config.js\\`\\n` +\n `See more info: https://nextjs.org/docs/messages/next-image-unconfigured-host`\n )\n }\n }\n }\n }\n\n const q = findClosestQuality(quality, config)\n\n return `${config.path}?url=${encodeURIComponent(src)}&w=${width}&q=${q}${\n src.startsWith('/') && deploymentId ? `&dpl=${deploymentId}` : ''\n }`\n}\n\n// We use this to determine if the import is the default loader\n// or a custom loader defined by the user in next.config.js\ndefaultLoader.__next_img_default = true\n\nexport default defaultLoader\n","'use client'\n\nimport React, {\n useRef,\n useEffect,\n useCallback,\n useContext,\n useMemo,\n useState,\n forwardRef,\n use,\n} from 'react'\nimport ReactDOM from 'react-dom'\nimport Head from '../shared/lib/head'\nimport { getImgProps } from '../shared/lib/get-img-props'\nimport type {\n ImageProps,\n ImgProps,\n OnLoad,\n OnLoadingComplete,\n PlaceholderValue,\n} from '../shared/lib/get-img-props'\nimport type {\n ImageConfigComplete,\n ImageLoaderProps,\n} from '../shared/lib/image-config'\nimport { imageConfigDefault } from '../shared/lib/image-config'\nimport { ImageConfigContext } from '../shared/lib/image-config-context.shared-runtime'\nimport { warnOnce } from '../shared/lib/utils/warn-once'\nimport { RouterContext } from '../shared/lib/router-context.shared-runtime'\n\n// This is replaced by webpack alias\nimport defaultLoader from 'next/dist/shared/lib/image-loader'\nimport { useMergedRef } from './use-merged-ref'\n\n// This is replaced by webpack define plugin\nconst configEnv = process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete\n\nif (typeof window === 'undefined') {\n ;(globalThis as any).__NEXT_IMAGE_IMPORTED = true\n}\n\nexport type { ImageLoaderProps }\nexport type ImageLoader = (p: ImageLoaderProps) => string\n\ntype ImgElementWithDataProp = HTMLImageElement & {\n 'data-loaded-src': string | undefined\n}\n\ntype ImageElementProps = ImgProps & {\n unoptimized: boolean\n placeholder: PlaceholderValue\n onLoadRef: React.MutableRefObject<OnLoad | undefined>\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>\n setBlurComplete: (b: boolean) => void\n setShowAltText: (b: boolean) => void\n sizesInput: string | undefined\n}\n\n// See https://stackoverflow.com/q/39777833/266535 for why we use this ref\n// handler instead of the img's onLoad attribute.\nfunction handleLoading(\n img: ImgElementWithDataProp,\n placeholder: PlaceholderValue,\n onLoadRef: React.MutableRefObject<OnLoad | undefined>,\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>,\n setBlurComplete: (b: boolean) => void,\n unoptimized: boolean,\n sizesInput: string | undefined\n) {\n const src = img?.src\n if (!img || img['data-loaded-src'] === src) {\n return\n }\n img['data-loaded-src'] = src\n const p = 'decode' in img ? img.decode() : Promise.resolve()\n p.catch(() => {}).then(() => {\n if (!img.parentElement || !img.isConnected) {\n // Exit early in case of race condition:\n // - onload() is called\n // - decode() is called but incomplete\n // - unmount is called\n // - decode() completes\n return\n }\n if (placeholder !== 'empty') {\n setBlurComplete(true)\n }\n if (onLoadRef?.current) {\n // Since we don't have the SyntheticEvent here,\n // we must create one with the same shape.\n // See https://reactjs.org/docs/events.html\n const event = new Event('load')\n Object.defineProperty(event, 'target', { writable: false, value: img })\n let prevented = false\n let stopped = false\n onLoadRef.current({\n ...event,\n nativeEvent: event,\n currentTarget: img,\n target: img,\n isDefaultPrevented: () => prevented,\n isPropagationStopped: () => stopped,\n persist: () => {},\n preventDefault: () => {\n prevented = true\n event.preventDefault()\n },\n stopPropagation: () => {\n stopped = true\n event.stopPropagation()\n },\n })\n }\n if (onLoadingCompleteRef?.current) {\n onLoadingCompleteRef.current(img)\n }\n if (process.env.NODE_ENV !== 'production') {\n const origSrc = new URL(src, 'http://n').searchParams.get('url') || src\n if (img.getAttribute('data-nimg') === 'fill') {\n if (!unoptimized && (!sizesInput || sizesInput === '100vw')) {\n let widthViewportRatio =\n img.getBoundingClientRect().width / window.innerWidth\n if (widthViewportRatio < 0.6) {\n if (sizesInput === '100vw') {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" prop and \"sizes\" prop of \"100vw\", but image is not rendered at full viewport width. Please adjust \"sizes\" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n } else {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" but is missing \"sizes\" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes`\n )\n }\n }\n }\n if (img.parentElement) {\n const { position } = window.getComputedStyle(img.parentElement)\n const valid = ['absolute', 'fixed', 'relative']\n if (!valid.includes(position)) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and parent element with invalid \"position\". Provided \"${position}\" should be one of ${valid\n .map(String)\n .join(',')}.`\n )\n }\n }\n if (img.height === 0) {\n warnOnce(\n `Image with src \"${origSrc}\" has \"fill\" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.`\n )\n }\n }\n\n const heightModified =\n img.height.toString() !== img.getAttribute('height')\n const widthModified = img.width.toString() !== img.getAttribute('width')\n if (\n (heightModified && !widthModified) ||\n (!heightModified && widthModified)\n ) {\n warnOnce(\n `Image with src \"${origSrc}\" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: \"auto\"' or 'height: \"auto\"' to maintain the aspect ratio.`\n )\n }\n }\n })\n}\n\nfunction getDynamicProps(\n fetchPriority?: string\n): Record<string, string | undefined> {\n if (Boolean(use)) {\n // In React 19.0.0 or newer, we must use camelCase\n // prop to avoid \"Warning: Invalid DOM property\".\n // See https://github.com/facebook/react/pull/25927\n return { fetchPriority }\n }\n // In React 18.2.0 or older, we must use lowercase prop\n // to avoid \"Warning: Invalid DOM property\".\n return { fetchpriority: fetchPriority }\n}\n\nconst ImageElement = forwardRef<HTMLImageElement | null, ImageElementProps>(\n (\n {\n src,\n srcSet,\n sizes,\n height,\n width,\n decoding,\n className,\n style,\n fetchPriority,\n placeholder,\n loading,\n unoptimized,\n fill,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n setShowAltText,\n sizesInput,\n onLoad,\n onError,\n ...rest\n },\n forwardedRef\n ) => {\n const ownRef = useCallback(\n (img: ImgElementWithDataProp | null) => {\n if (!img) {\n return\n }\n if (onError) {\n // If the image has an error before react hydrates, then the error is lost.\n // The workaround is to wait until the image is mounted which is after hydration,\n // then we set the src again to trigger the error handler (if there was an error).\n // eslint-disable-next-line no-self-assign\n img.src = img.src\n }\n if (process.env.NODE_ENV !== 'production') {\n if (!src) {\n console.error(`Image is missing required \"src\" property:`, img)\n }\n if (img.getAttribute('alt') === null) {\n console.error(\n `Image is missing required \"alt\" property. Please add Alternative Text to describe the image for screen readers and search engines.`\n )\n }\n }\n if (img.complete) {\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }\n },\n [\n src,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n onError,\n unoptimized,\n sizesInput,\n ]\n )\n\n const ref = useMergedRef(forwardedRef, ownRef)\n\n return (\n <img\n {...rest}\n {...getDynamicProps(fetchPriority)}\n // It's intended to keep `loading` before `src` because React updates\n // props in order which causes Safari/Firefox to not lazy load properly.\n // See https://github.com/facebook/react/issues/25883\n loading={loading}\n width={width}\n height={height}\n decoding={decoding}\n data-nimg={fill ? 'fill' : '1'}\n className={className}\n style={style}\n // It's intended to keep `src` the last attribute because React updates\n // attributes in order. If we keep `src` the first one, Safari will\n // immediately start to fetch `src`, before `sizes` and `srcSet` are even\n // updated by React. That causes multiple unnecessary requests if `srcSet`\n // and `sizes` are defined.\n // This bug cannot be reproduced in Chrome or Firefox.\n sizes={sizes}\n srcSet={srcSet}\n src={src}\n ref={ref}\n onLoad={(event) => {\n const img = event.currentTarget as ImgElementWithDataProp\n handleLoading(\n img,\n placeholder,\n onLoadRef,\n onLoadingCompleteRef,\n setBlurComplete,\n unoptimized,\n sizesInput\n )\n }}\n onError={(event) => {\n // if the real image fails to load, this will ensure \"alt\" is visible\n setShowAltText(true)\n if (placeholder !== 'empty') {\n // If the real image fails to load, this will still remove the placeholder.\n setBlurComplete(true)\n }\n if (onError) {\n onError(event)\n }\n }}\n />\n )\n }\n)\n\nfunction ImagePreload({\n isAppRouter,\n imgAttributes,\n}: {\n isAppRouter: boolean\n imgAttributes: ImgProps\n}) {\n const opts: ReactDOM.PreloadOptions = {\n as: 'image',\n imageSrcSet: imgAttributes.srcSet,\n imageSizes: imgAttributes.sizes,\n crossOrigin: imgAttributes.crossOrigin,\n referrerPolicy: imgAttributes.referrerPolicy,\n ...getDynamicProps(imgAttributes.fetchPriority),\n }\n\n if (isAppRouter && ReactDOM.preload) {\n ReactDOM.preload(imgAttributes.src, opts)\n return null\n }\n\n return (\n <Head>\n <link\n key={\n '__nimg-' +\n imgAttributes.src +\n imgAttributes.srcSet +\n imgAttributes.sizes\n }\n rel=\"preload\"\n // Note how we omit the `href` attribute, as it would only be relevant\n // for browsers that do not support `imagesrcset`, and in those cases\n // it would cause the incorrect image to be preloaded.\n //\n // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset\n href={imgAttributes.srcSet ? undefined : imgAttributes.src}\n {...opts}\n />\n </Head>\n )\n}\n\n/**\n * The `Image` component is used to optimize images.\n *\n * Read more: [Next.js docs: `Image`](https://nextjs.org/docs/app/api-reference/components/image)\n */\nexport const Image = forwardRef<HTMLImageElement | null, ImageProps>(\n (props, forwardedRef) => {\n const pagesRouter = useContext(RouterContext)\n // We're in the app directory if there is no pages router.\n const isAppRouter = !pagesRouter\n\n const configContext = useContext(ImageConfigContext)\n const config = useMemo(() => {\n const c = configEnv || configContext || imageConfigDefault\n\n const allSizes = [...c.deviceSizes, ...c.imageSizes].sort((a, b) => a - b)\n const deviceSizes = c.deviceSizes.sort((a, b) => a - b)\n const qualities = c.qualities?.sort((a, b) => a - b)\n return {\n ...c,\n allSizes,\n deviceSizes,\n qualities,\n // During the SSR, configEnv (__NEXT_IMAGE_OPTS) does not include\n // security sensitive configs like `localPatterns`, which is needed\n // during the server render to ensure it's validated. Therefore use\n // configContext, which holds the config from the server for validation.\n localPatterns:\n typeof window === 'undefined'\n ? configContext?.localPatterns\n : c.localPatterns,\n }\n }, [configContext])\n\n const { onLoad, onLoadingComplete } = props\n const onLoadRef = useRef(onLoad)\n\n useEffect(() => {\n onLoadRef.current = onLoad\n }, [onLoad])\n\n const onLoadingCompleteRef = useRef(onLoadingComplete)\n\n useEffect(() => {\n onLoadingCompleteRef.current = onLoadingComplete\n }, [onLoadingComplete])\n\n const [blurComplete, setBlurComplete] = useState(false)\n const [showAltText, setShowAltText] = useState(false)\n const { props: imgAttributes, meta: imgMeta } = getImgProps(props, {\n defaultLoader,\n imgConf: config,\n blurComplete,\n showAltText,\n })\n\n return (\n <>\n {\n <ImageElement\n {...imgAttributes}\n unoptimized={imgMeta.unoptimized}\n placeholder={imgMeta.placeholder}\n fill={imgMeta.fill}\n onLoadRef={onLoadRef}\n onLoadingCompleteRef={onLoadingCompleteRef}\n setBlurComplete={setBlurComplete}\n setShowAltText={setShowAltText}\n sizesInput={props.sizes}\n ref={forwardedRef}\n />\n }\n {imgMeta.preload ? (\n <ImagePreload\n isAppRouter={isAppRouter}\n imgAttributes={imgAttributes}\n />\n ) : null}\n </>\n )\n }\n)\n"],"names":["getImageBlurSvg","widthInt","heightInt","blurWidth","blurHeight","blurDataURL","objectFit","std","svgWidth","svgHeight","viewBox","preserveAspectRatio","VALID_LOADERS","imageConfigDefault","deviceSizes","imageSizes","path","loader","loaderFile","domains","disableStaticImages","minimumCacheTTL","formats","maximumDiskCacheSize","undefined","maximumRedirects","maximumResponseBody","dangerouslyAllowLocalIP","dangerouslyAllowSVG","contentSecurityPolicy","contentDispositionType","localPatterns","remotePatterns","qualities","unoptimized","customCacheHandler","getImgProps","VALID_LOADING_VALUES","INVALID_BACKGROUND_SIZE_VALUES","isStaticRequire","src","default","isStaticImageData","isStaticImport","allImgs","Map","perfObserver","getInt","x","Number","isFinite","NaN","test","parseInt","getWidths","allSizes","width","sizes","viewportWidthRe","percentSizes","match","exec","push","length","smallestRatio","Math","min","widths","filter","s","kind","Set","map","w","find","p","generateImgAttrs","config","quality","startsWith","deploymentId","getDeploymentId","qIndex","indexOf","params","URLSearchParams","slice","srcDpl","get","append","toString","srcSet","last","i","join","priority","preload","loading","className","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","fetchPriority","decoding","layout","objectPosition","lazyBoundary","lazyRoot","rest","_state","imgConf","showAltText","blurComplete","defaultLoader","c","sort","a","b","Error","isDefaultLoader","customImageLoader","obj","_","opts","layoutToStyle","intrinsic","maxWidth","responsive","layoutToSizes","layoutStyle","layoutSizes","staticSrc","staticImageData","JSON","stringify","ratio","round","isLazy","split","endsWith","qualityInt","process","env","NODE_ENV","output","position","isNaN","includes","String","warnOnce","VALID_BLUR_EXT","urlStr","url","URL","err","pathname","search","legacyKey","legacyValue","Object","entries","window","PerformanceObserver","entryList","entry","getEntries","imgSrc","element","lcpImage","observe","type","buffered","console","error","imgStyle","assign","left","top","right","bottom","color","backgroundImage","backgroundSize","placeholderStyle","backgroundPosition","backgroundRepeat","imgAttributes","loadingFinal","fullUrl","e","location","href","set","props","meta","SideEffect","isServer","useClientOnlyLayoutEffect","useLayoutEffect","useClientOnlyEffect","useEffect","headManager","reduceComponentsToState","emitChange","mountedInstances","headElements","Children","toArray","Array","from","Boolean","updateHead","add","children","delete","_pendingUpdate","module","exports","require","vendored","HeadManagerContext","defaultHead","head","charSet","name","content","onlyReactElement","list","child","React","Fragment","concat","reduce","fragmentList","fragmentChild","METATYPES","unique","keys","tags","metaTypes","metaCategories","h","isUnique","hasKey","key","has","len","metatype","hasOwnProperty","category","categories","reduceComponents","headChildrenElements","reverse","srcMessage","cloneElement","Head","useContext","Effect","ImageConfigContext","RouterContext","findClosestQuality","q","prev","cur","abs","missingValues","remaining","NEXT_RUNTIME","hasLocalMatch","parsedSrc","hasRemoteMatch","hostname","encodeURIComponent","__next_img_default","Image","configEnv","__NEXT_IMAGE_OPTS","globalThis","__NEXT_IMAGE_IMPORTED","handleLoading","img","onLoadRef","onLoadingCompleteRef","setBlurComplete","sizesInput","decode","Promise","resolve","catch","then","parentElement","isConnected","current","event","Event","defineProperty","writable","value","prevented","stopped","nativeEvent","currentTarget","target","isDefaultPrevented","isPropagationStopped","persist","preventDefault","stopPropagation","origSrc","searchParams","getAttribute","widthViewportRatio","getBoundingClientRect","innerWidth","getComputedStyle","valid","heightModified","widthModified","getDynamicProps","use","fetchpriority","ImageElement","forwardRef","setShowAltText","onError","forwardedRef","ownRef","useCallback","complete","ref","useMergedRef","data-nimg","ImagePreload","isAppRouter","as","imageSrcSet","crossOrigin","referrerPolicy","ReactDOM","link","rel","pagesRouter","configContext","useMemo","useRef","useState","imgMeta"],"mappings":"4CAGO,SAASA,EAAgB,UAC9BC,CAAQ,WACRC,CAAS,WACTC,CAAS,YACTC,CAAU,aACVC,CAAW,WACXC,CAAS,CAQV,EAEC,IAAME,EAAWL,EAAYA,AAAY,KAAKF,EACxCQ,EAAYL,EAAaA,AAAa,KAAKF,EAE3CQ,EACJF,GAAYC,EAAY,CAAC,aAAa,EAAED,EAAS,CAAC,EAAEC,EAAU,CAAC,CAAC,CAAG,GASrE,MAAO,CAAC,0CAA0C,EAAEC,QAAQ,yFAAyF,EAAEH,IAAI,+PAA+P,EAAEA,IAAI,+EARpYG,EACxB,OACc,GAMye,EAAEC,OANzfL,EACE,WACAA,AAAc,AAI6f,YAHzgB,iBACA,MAE4iB,sCAAED,YAAY,MAAgB,AACplB,CA/BC,OAAA,CA8BklB,aA9BllB,CAAA,EAAA,aAAA,oCACeL,kBAAAA,qCAAAA,yFCHHY,aAAa,CAAA,kBAAbA,GAoJAC,kBAAkB,CAAA,kBAAlBA,uEApJN,IAAMD,EAAgB,CAC3B,UACA,QACA,aACA,SACA,SACD,CA8IYC,EAA0C,CACrDC,YAAa,CAAC,IAAK,IAAK,IAAK,K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AAA,CADc,CACd,EAAA,GAAA,EAACiP,EAAAA,CADa,AAEZC,YAjEY,CAACQ,AAiEAR,EACbpJ,cAAeA,IAEf,OAGV","ignoreList":[0,1,2,3,4,5,6,7,8,9,10]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js b/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js deleted file mode 100644 index cf3e967..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports=[20916,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return e}});class d extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class e extends URLSearchParams{append(){throw new d}delete(){throw new d}set(){throw new d}sort(){throw new d}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},21170,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"RedirectStatusCode",{enumerable:!0,get:function(){return e}});var d,e=((d={})[d.SeeOther=303]="SeeOther",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},28859,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={REDIRECT_ERROR_CODE:function(){return g},isRedirectError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(21170),g="NEXT_REDIRECT";function h(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),h=Number(b.at(-2));return c===g&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(h)&&h in f.RedirectStatusCode}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},44868,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(21170),g=a.r(28859),h=a.r(20635).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?"push":"replace",f.RedirectStatusCode.TemporaryRedirect)}function k(a,b="replace"){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},89798,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HTTPAccessErrorStatus:function(){return f},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return h},getAccessFallbackErrorTypeByStatus:function(){return k},getAccessFallbackHTTPStatus:function(){return j},isHTTPAccessFallbackError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},g=new Set(Object.values(f)),h="NEXT_HTTP_ERROR_FALLBACK";function i(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===h&&g.has(Number(c))}function j(a){return Number(a.digest.split(";")[1])}function k(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},16155,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"notFound",{enumerable:!0,get:function(){return f}});let d=a.r(89798),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},34557,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"forbidden",{enumerable:!0,get:function(){return d}}),a.r(89798).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},93845,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unauthorized",{enumerable:!0,get:function(){return d}}),a.r(89798).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},28340,(a,b,c)=>{"use strict";function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},31382,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={RenderStage:function(){return i},StagedRenderingController:function(){return j}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=a.r(50640),h=a.r(28340);var i=((d={})[d.Before=1]="Before",d[d.EarlyStatic=2]="EarlyStatic",d[d.Static=3]="Static",d[d.EarlyRuntime=4]="EarlyRuntime",d[d.Runtime=5]="Runtime",d[d.Dynamic=6]="Dynamic",d[d.Abandoned=7]="Abandoned",d);class j{constructor(a,b,c){this.abortSignal=a,this.abandonController=b,this.shouldTrackSyncIO=c,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,h.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,h.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,h.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,h.createPromiseWithResolvers)(),a&&a.addEventListener("abort",()=>{let{reason:b}=a;this.staticStagePromise.promise.catch(k),this.staticStagePromise.reject(b),this.earlyRuntimeStagePromise.promise.catch(k),this.earlyRuntimeStagePromise.reject(b),this.runtimeStagePromise.promise.catch(k),this.runtimeStagePromise.reject(b),this.dynamicStagePromise.promise.catch(k),this.dynamicStagePromise.reject(b)},{once:!0}),b&&b.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(a,b){if(this.currentStage>=a)b();else if(3===a)this.staticStageListeners.push(b);else if(4===a)this.earlyRuntimeStageListeners.push(b);else if(5===a)this.runtimeStageListeners.push(b);else if(6===a)this.dynamicStageListeners.push(b);else throw Object.defineProperty(new g.InvariantError(`Invalid render stage: ${a}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;switch(this.currentStage){case 1:case 5:case 6:case 7:default:return!1;case 2:case 3:case 4:return!0}}syncInterruptCurrentStageWithReason(a){if(1!==this.currentStage&&7!==this.currentStage){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=a,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:this.syncInterruptReason=a,this.advanceStage(6);return;case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){let{currentStage:a}=this;switch(a){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:this.currentStage=7;return}}advanceStage(a){if(a<=this.currentStage)return;let b=this.currentStage;if(this.currentStage=a,b<3&&a>=3&&this.resolveStaticStage(),b<4&&a>=4&&this.resolveEarlyRuntimeStage(),b<5&&a>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),b<6&&a>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){let a=this.staticStageListeners;for(let b=0;b<a.length;b++)a[b]();a.length=0,this.staticStagePromise.resolve()}resolveEarlyRuntimeStage(){let a=this.earlyRuntimeStageListeners;for(let b=0;b<a.length;b++)a[b]();a.length=0,this.earlyRuntimeStagePromise.resolve()}resolveRuntimeStage(){let a=this.runtimeStageListeners;for(let b=0;b<a.length;b++)a[b]();a.length=0,this.runtimeStagePromise.resolve()}resolveDynamicStage(){let a=this.dynamicStageListeners;for(let b=0;b<a.length;b++)a[b]();a.length=0,this.dynamicStagePromise.resolve()}getStagePromise(a){switch(a){case 3:return this.staticStagePromise.promise;case 4:return this.earlyRuntimeStagePromise.promise;case 5:return this.runtimeStagePromise.promise;case 6:return this.dynamicStagePromise.promise;default:throw Object.defineProperty(new g.InvariantError(`Invalid render stage: ${a}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}}waitForStage(a){return this.getStagePromise(a)}delayUntilStage(a,b,c){var d,e,f;let g,h=(d=this.getStagePromise(a),e=b,f=c,g=new Promise((a,b)=>{d.then(a.bind(null,f),b)}),void 0!==e&&(g.displayName=e),g);return this.abortSignal&&h.catch(k),h}}function k(){}},13091,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={delayUntilRuntimeStage:function(){return o},getRuntimeStage:function(){return n},isHangingPromiseRejectionError:function(){return g},makeDevtoolsIOAwarePromise:function(){return m},makeHangingPromise:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(31382);function g(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===h}let h="HANGING_PROMISE_REJECTION";class i extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=h}}let j=new WeakMap;function k(a,b,c){if(a.aborted)return Promise.reject(new i(b,c));{let d=new Promise((d,e)=>{let f=e.bind(null,new i(b,c)),g=j.get(a);if(g)g.push(f);else{let b=[f];j.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a<b.length;a++)b[a]()},{once:!0})}});return d.catch(l),d}}function l(){}function m(a,b,c){return b.stagedRendering?b.stagedRendering.delayUntilStage(c,void 0,a):new Promise(b=>{setTimeout(()=>{b(a)},0)})}function n(a){return a.currentStage===f.RenderStage.EarlyStatic||a.currentStage===f.RenderStage.EarlyRuntime?f.RenderStage.EarlyRuntime:f.RenderStage.Runtime}function o(a,b){let{stagedRendering:c}=a;return c?c.waitForStage(n(c)).then(()=>b):b}},73808,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isPostpone",{enumerable:!0,get:function(){return e}});let d=Symbol.for("react.postpone");function e(a){return"object"==typeof a&&null!==a&&a.$$typeof===d}},49640,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},1567,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=a.r(89798),e=a.r(28859);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},96556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DynamicServerError:function(){return g},isDynamicServerError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="DYNAMIC_SERVER_USAGE";class g extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===f}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},60312,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={StaticGenBailoutError:function(){return g},isStaticGenBailoutError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="NEXT_STATIC_GEN_BAILOUT";class g extends Error{constructor(...a){super(...a),this.code=f}}function h(a){return"object"==typeof a&&null!==a&&"code"in a&&a.code===f}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},17491,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={METADATA_BOUNDARY_NAME:function(){return f},OUTLET_BOUNDARY_NAME:function(){return h},ROOT_LAYOUT_BOUNDARY_NAME:function(){return i},VIEWPORT_BOUNDARY_NAME:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="__next_metadata_boundary__",g="__next_viewport_boundary__",h="__next_outlet_boundary__",i="__next_root_layout_boundary__"},61933,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={atLeastOneTask:function(){return h},scheduleImmediate:function(){return g},scheduleOnNextTick:function(){return f},waitAtLeastOneReactRenderTask:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},g=a=>{setImmediate(a)};function h(){return new Promise(a=>g(a))}function i(){return new Promise(a=>setImmediate(a))}},99195,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"INSTANT_VALIDATION_BOUNDARY_NAME",{enumerable:!0,get:function(){return d}});let d="__next_instant_validation_boundary__"},60384,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f,g={DynamicHoleKind:function(){return $},Postpone:function(){return D},PreludeState:function(){return af},abortAndThrowOnSynchronousRequestDataAccess:function(){return C},abortOnSynchronousPlatformIOAccess:function(){return B},accessedDynamicData:function(){return L},annotateDynamicAccess:function(){return Q},consumeDynamicAccess:function(){return M},createDynamicTrackingState:function(){return u},createDynamicValidationState:function(){return v},createHangingInputAbortSignal:function(){return P},createInstantValidationState:function(){return _},createRenderInBrowserAbortSignal:function(){return O},formatDynamicAPIAccesses:function(){return N},getFirstDynamicReason:function(){return w},getNavigationDisallowedDynamicReasons:function(){return aj},getStaticShellDisallowedDynamicReasons:function(){return ai},isDynamicPostpone:function(){return G},isPrerenderInterruptedError:function(){return K},logDisallowedDynamicError:function(){return ag},markCurrentScopeAsDynamic:function(){return x},postponeWithTracking:function(){return E},throwIfDisallowedDynamic:function(){return ah},throwToInterruptStaticGeneration:function(){return y},trackAllowedDynamicAccess:function(){return Z},trackDynamicDataInDynamicRender:function(){return z},trackDynamicHoleInNavigation:function(){return aa},trackDynamicHoleInRuntimeShell:function(){return ac},trackDynamicHoleInStaticShell:function(){return ad},trackThrownErrorInNavigation:function(){return ab},useDynamicRouteParams:function(){return R},useDynamicSearchParams:function(){return S}};for(var h in g)Object.defineProperty(c,h,{enumerable:!0,get:g[h]});let i=(d=a.r(717))&&d.__esModule?d:{default:d},j=a.r(96556),k=a.r(60312),l=a.r(32319),m=a.r(56704),n=a.r(13091),o=a.r(17491),p=a.r(61933),q=a.r(49640),r=a.r(50640),s=a.r(99195),t="function"==typeof i.default.unstable_postpone;function u(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function v(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function w(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function x(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new k.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return E(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new j.DynamicServerError(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function y(a,b,c){let d=Object.defineProperty(new j.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function z(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}}function A(a,b,c){let d=J(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function B(a,b,c,d){let e=d.dynamicTracking;A(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}function C(a,b,c,d){if(!1===d.controller.signal.aborted){A(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw J(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}function D({reason:a,route:b}){let c=l.workUnitAsyncStorage.getStore();E(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)}function E(a,b,c){(function(){if(!t)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),i.default.unstable_postpone(F(a,b))}function F(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function G(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&H(a.message)}function H(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===H(F("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let I="NEXT_PRERENDER_INTERRUPTED";function J(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=I,b}function K(a){return"object"==typeof a&&null!==a&&a.digest===I&&"name"in a&&"message"in a&&a instanceof Error}function L(a){return a.length>0}function M(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function N(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" (<anonymous>)")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: -${b}`))}function O(){let a=new AbortController;return a.abort(Object.defineProperty(new q.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal}function P(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else if("prerender-runtime"===a.type&&a.stagedRendering){let{stagedRendering:c}=a;c.waitForStage((0,n.getRuntimeStage)(c)).then(()=>(0,p.scheduleOnNextTick)(()=>b.abort()))}else(0,p.scheduleOnNextTick)(()=>b.abort());return b.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function Q(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}function R(a){let b=m.workAsyncStorage.getStore(),c=l.workUnitAsyncStorage.getStore();if(b&&c)switch(c.type){case"prerender-client":case"prerender":{let d=c.fallbackRouteParams;d&&d.size>0&&i.default.use((0,n.makeHangingPromise)(c.renderSignal,b.route,a));break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d&&d.size>0)return E(b.route,a,c.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called in \`generateStaticParams\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function S(a){let b=m.workAsyncStorage.getStore(),c=l.workUnitAsyncStorage.getStore();if(b)switch(!c&&(0,l.throwForMissingRequestStore)(a),c.type){case"validation-client":case"request":return;case"prerender-client":i.default.use((0,n.makeHangingPromise)(c.renderSignal,b.route,a));break;case"prerender-legacy":case"prerender-ppr":if(b.forceStatic)return;throw Object.defineProperty(new q.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new r.InvariantError(`\`${a}\` was called in \`generateStaticParams\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}let T=/\n\s+at Suspense \(<anonymous>\)/,U=RegExp(`\\n\\s+at Suspense \\(<anonymous>\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(<anonymous>\\))[\\s\\S])*?\\n\\s+at ${o.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),V=RegExp(`\\n\\s+at ${o.METADATA_BOUNDARY_NAME}[\\n\\s]`),W=RegExp(`\\n\\s+at ${o.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),X=RegExp(`\\n\\s+at ${o.OUTLET_BOUNDARY_NAME}[\\n\\s]`),Y=RegExp(`\\n\\s+at ${s.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`);function Z(a,b,c,d){if(!X.test(b)){if(V.test(b)){c.hasDynamicMetadata=!0;return}if(W.test(b)){c.hasDynamicViewport=!0;return}if(U.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(T.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ae(Object.defineProperty(Error(`Route "${a.route}": Uncached data was accessed outside of <Suspense>. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),b,null);return void c.dynamicErrors.push(e)}}}var $=((e={})[e.Runtime=1]="Runtime",e[e.Dynamic=2]="Dynamic",e);function _(a){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:a}}function aa(a,b,c,d,e,f){if(X.test(b))return;if(V.test(b)){let d=ae(Object.defineProperty(Error(`Route "${a.route}": ${1===e?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`."} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicMetadata=d;return}if(W.test(b)){let d=ae(Object.defineProperty(Error(`Route "${a.route}": ${1===e?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicErrors.push(d);return}let g=Y.exec(b);if(g){let a=T.exec(b);if(a&&a.index<g.index){c.hasAllowedDynamic=!0;return}}else if(f.expectedIds.size===f.renderedIds.size){c.hasAllowedClientDynamicAboveBoundary=!0,c.hasAllowedDynamic=!0;return}else{let d=ae(Object.defineProperty(Error(`Route "${a.route}": Could not validate \`unstable_instant\` because a Client Component in a parent segment prevented the page from rendering.`),"__NEXT_ERROR_CODE",{value:"E1082",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.validationPreventingErrors.push(d);return}if(d.syncDynamicErrorWithStack){let a=d.syncDynamicErrorWithStack;null!==c.createInstantStack&&void 0===a.cause&&(a.cause=c.createInstantStack()),c.dynamicErrors.push(a);return}let h=ae(Object.defineProperty(Error(`Route "${a.route}": ${1===e?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed outside of `<Suspense>`.":"Uncached data or `connection()` was accessed outside of `<Suspense>`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),b,c.createInstantStack);c.dynamicErrors.push(h)}function ab(a,b,c,d){let e=Y.exec(d);if(e){let f=T.exec(d);if(f&&f.index<e.index)return;let g=ae(Object.defineProperty(Error(`Route "${a.route}": Could not validate \`unstable_instant\` because an error prevented the target segment from rendering.`,{cause:c}),"__NEXT_ERROR_CODE",{value:"E1112",enumerable:!1,configurable:!0}),d,null);b.validationPreventingErrors.push(g)}else{let a=ae(Object.defineProperty(Error("An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.",{cause:c}),"__NEXT_ERROR_CODE",{value:"E1118",enumerable:!1,configurable:!0}),d,null);b.thrownErrorsOutsideBoundary.push(a)}}function ac(a,b,c,d){if(X.test(b))return;if(V.test(b)){c.dynamicMetadata=ae(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateMetadata\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1080",enumerable:!1,configurable:!0}),b,null);return}if(W.test(b)){let d=ae(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1077",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(d);return}if(U.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}if(T.test(b)){c.hasAllowedDynamic=!0;return}else if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ae(Object.defineProperty(Error(`Route "${a.route}": Uncached data or \`connection()\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(e)}function ad(a,b,c,d){if(!X.test(b)){if(V.test(b)){c.dynamicMetadata=ae(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,configurable:!0}),b,null);return}if(W.test(b)){let d=ae(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),b,null);c.dynamicErrors.push(d);return}if(U.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(T.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=ae(Object.defineProperty(Error(`Route "${a.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`<Suspense>\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),b,null);return void c.dynamicErrors.push(e)}}}function ae(a,b,c){return null!==c&&(a.cause=c()),a.stack=a.name+": "+a.message+b,a}var af=((f={})[f.Full=0]="Full",f[f.Empty=1]="Empty",f[f.Errored=2]="Errored",f);function ag(a,b){console.error(b),console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}function ah(a,b,c,d){if(d.syncDynamicErrorWithStack)throw ag(a,d.syncDynamicErrorWithStack),new k.StaticGenBailoutError;if(0!==b){if(c.hasSuspenseAboveBody)return;let d=c.dynamicErrors;if(d.length>0){for(let b=0;b<d.length;b++)ag(a,d[b]);throw new k.StaticGenBailoutError}if(c.hasDynamicViewport)throw console.error(`Route "${a.route}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),new k.StaticGenBailoutError;if(1===b)throw console.error(`Route "${a.route}" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`),new k.StaticGenBailoutError}else if(!1===c.hasAllowedDynamic&&c.hasDynamicMetadata)throw console.error(`Route "${a.route}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or uncached external data (\`fetch(...)\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),new k.StaticGenBailoutError}function ai(a,b,c,d){if(d||c.hasSuspenseAboveBody)return[];if(0!==b){let d=c.dynamicErrors;if(d.length>0)return d;if(1===b)return[Object.defineProperty(new r.InvariantError(`Route "${a.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===c.hasAllowedDynamic&&0===c.dynamicErrors.length&&c.dynamicMetadata)return[c.dynamicMetadata];return[]}function aj(a,b,c,d,e){if(d){let{missingSampleErrors:a}=d;if(a.length>0)return a}let{validationPreventingErrors:f}=c;if(f.length>0)return f;if(e.renderedIds.size<e.expectedIds.size){let{thrownErrorsOutsideBoundary:b,createInstantStack:d}=c;if(0===b.length){let b=`Route "${a.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering for an unknown reason.`,c=null!==d?d():Error();return c.name="Error",c.message=b,[c]}if(1===b.length){let c=`Route "${a.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to the following error.`,e=null!==d?d():Error();return e.name="Error",e.message=c,[e,b[0]]}{let c=`Route "${a.route}": Could not validate \`unstable_instant\` because the target segment was prevented from rendering, likely due to one of the following errors.`,e=null!==d?d():Error();return e.name="Error",e.message=c,[e,...b]}}if(0!==b){let d=c.dynamicErrors;if(d.length>0)return d;if(1===b)return c.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new r.InvariantError(`Route "${a.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})]}else{let a=c.dynamicErrors;if(a.length>0)return a;if(!1===c.hasAllowedDynamic&&c.dynamicMetadata)return[c.dynamicMetadata]}return[]}},94783,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,h.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=a.r(13091),e=a.r(73808),f=a.r(49640),g=a.r(1567),h=a.r(60384),i=a.r(96556);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},60968,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=a.r(94783).unstable_rethrow;("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},73727,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return m},forbidden:function(){return i.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return j.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return k.unstable_rethrow}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20916),g=a.r(44868),h=a.r(16155),i=a.r(34557),j=a.r(93845),k=a.r(60968);function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let m={push:"push",replace:"replace"};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},70396,a=>{"use strict";a.i(73727),a.s([])}]; - -//# sourceMappingURL=node_modules_next_dist_11dij6w._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js.map deleted file mode 100644 index 77ac93d..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_11dij6w._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/client/components/readonly-url-search-params.ts","../../../../node_modules/next/src/client/components/redirect-status-code.ts","../../../../node_modules/next/src/client/components/redirect-error.ts","../../../../node_modules/next/src/client/components/redirect.ts","../../../../node_modules/next/src/client/components/http-access-fallback/http-access-fallback.ts","../../../../node_modules/next/src/client/components/not-found.ts","../../../../node_modules/next/src/client/components/forbidden.ts","../../../../node_modules/next/src/client/components/unauthorized.ts","../../../../node_modules/next/src/shared/lib/promise-with-resolvers.ts","../../../../node_modules/next/src/server/app-render/staged-rendering.ts","../../../../node_modules/next/src/server/dynamic-rendering-utils.ts","../../../../node_modules/next/src/server/lib/router-utils/is-postpone.ts","../../../../node_modules/next/src/shared/lib/lazy-dynamic/bailout-to-csr.ts","../../../../node_modules/next/src/client/components/is-next-router-error.ts","../../../../node_modules/next/src/client/components/hooks-server-context.ts","../../../../node_modules/next/src/client/components/static-generation-bailout.ts","../../../../node_modules/next/src/lib/framework/boundary-constants.tsx","../../../../node_modules/next/src/lib/scheduler.ts","../../../../node_modules/next/src/server/app-render/instant-validation/boundary-constants.ts","../../../../node_modules/next/src/server/app-render/dynamic-rendering.ts","../../../../node_modules/next/src/client/components/unstable-rethrow.server.ts","../../../../node_modules/next/src/client/components/unstable-rethrow.ts","../../../../node_modules/next/src/client/components/navigation.react-server.ts","../../../../node_modules/src/api/navigation.react-server.ts"],"sourcesContent":["/**\n * ReadonlyURLSearchParams implementation shared between client and server.\n * This file is intentionally not marked as 'use client' or 'use server'\n * so it can be imported by both environments.\n */\n\n/** @internal */\nclass ReadonlyURLSearchParamsError extends Error {\n constructor() {\n super(\n 'Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams'\n )\n }\n}\n\n/**\n * A read-only version of URLSearchParams that throws errors when mutation methods are called.\n * This ensures that the URLSearchParams returned by useSearchParams() cannot be mutated.\n */\nexport class ReadonlyURLSearchParams extends URLSearchParams {\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n append() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n delete() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n set() {\n throw new ReadonlyURLSearchParamsError()\n }\n /** @deprecated Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams */\n sort() {\n throw new ReadonlyURLSearchParamsError()\n }\n}\n","export enum RedirectStatusCode {\n SeeOther = 303,\n TemporaryRedirect = 307,\n PermanentRedirect = 308,\n}\n","import { RedirectStatusCode } from './redirect-status-code'\n\nexport const REDIRECT_ERROR_CODE = 'NEXT_REDIRECT'\n\nexport type RedirectType = 'push' | 'replace'\n\nexport type RedirectError = Error & {\n digest: `${typeof REDIRECT_ERROR_CODE};${RedirectType};${string};${RedirectStatusCode};`\n}\n\n/**\n * Checks an error to determine if it's an error generated by the\n * `redirect(url)` helper.\n *\n * @param error the error that may reference a redirect error\n * @returns true if the error is a redirect error\n */\nexport function isRedirectError(error: unknown): error is RedirectError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n\n const digest = error.digest.split(';')\n const [errorCode, type] = digest\n const destination = digest.slice(2, -2).join(';')\n const status = digest.at(-2)\n\n const statusCode = Number(status)\n\n return (\n errorCode === REDIRECT_ERROR_CODE &&\n (type === 'replace' || type === 'push') &&\n typeof destination === 'string' &&\n !isNaN(statusCode) &&\n statusCode in RedirectStatusCode\n )\n}\n","import { RedirectStatusCode } from './redirect-status-code'\nimport {\n type RedirectType,\n type RedirectError,\n isRedirectError,\n REDIRECT_ERROR_CODE,\n} from './redirect-error'\n\nconst actionAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/action-async-storage.external') as typeof import('../../server/app-render/action-async-storage.external')\n ).actionAsyncStorage\n : undefined\n\nexport function getRedirectError(\n url: string,\n type: RedirectType,\n statusCode: RedirectStatusCode = RedirectStatusCode.TemporaryRedirect\n): RedirectError {\n const error = new Error(REDIRECT_ERROR_CODE) as RedirectError\n error.digest = `${REDIRECT_ERROR_CODE};${type};${url};${statusCode};`\n return error\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 307/303 to the caller.\n * - In a Server Action, type defaults to 'push' and 'replace' elsewhere.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function redirect(\n /** The URL to redirect to */\n url: string,\n type?: RedirectType\n): never {\n type ??= actionAsyncStorage?.getStore()?.isAction ? 'push' : 'replace'\n\n throw getRedirectError(url, type, RedirectStatusCode.TemporaryRedirect)\n}\n\n/**\n * This function allows you to redirect the user to another URL. It can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a meta tag to redirect the user to the target page.\n * - In a Route Handler or Server Action, it will serve a 308/303 to the caller.\n *\n * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect)\n */\nexport function permanentRedirect(\n /** The URL to redirect to */\n url: string,\n type: RedirectType = 'replace'\n): never {\n throw getRedirectError(url, type, RedirectStatusCode.PermanentRedirect)\n}\n\n/**\n * Returns the encoded URL from the error if it's a RedirectError, null\n * otherwise. Note that this does not validate the URL returned.\n *\n * @param error the error that may be a redirect error\n * @return the url if the error was a redirect error\n */\nexport function getURLFromRedirectError(error: RedirectError): string\nexport function getURLFromRedirectError(error: unknown): string | null {\n if (!isRedirectError(error)) return null\n\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(';').slice(2, -2).join(';')\n}\n\nexport function getRedirectTypeFromError(error: RedirectError): RedirectType {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return error.digest.split(';', 2)[1] as RedirectType\n}\n\nexport function getRedirectStatusCodeFromError(error: RedirectError): number {\n if (!isRedirectError(error)) {\n throw new Error('Not a redirect error')\n }\n\n return Number(error.digest.split(';').at(-2))\n}\n","export const HTTPAccessErrorStatus = {\n NOT_FOUND: 404,\n FORBIDDEN: 403,\n UNAUTHORIZED: 401,\n}\n\nconst ALLOWED_CODES = new Set(Object.values(HTTPAccessErrorStatus))\n\nexport const HTTP_ERROR_FALLBACK_ERROR_CODE = 'NEXT_HTTP_ERROR_FALLBACK'\n\nexport type HTTPAccessFallbackError = Error & {\n digest: `${typeof HTTP_ERROR_FALLBACK_ERROR_CODE};${string}`\n}\n\n/**\n * Checks an error to determine if it's an error generated by\n * the HTTP navigation APIs `notFound()`, `forbidden()` or `unauthorized()`.\n *\n * @param error the error that may reference a HTTP access error\n * @returns true if the error is a HTTP access error\n */\nexport function isHTTPAccessFallbackError(\n error: unknown\n): error is HTTPAccessFallbackError {\n if (\n typeof error !== 'object' ||\n error === null ||\n !('digest' in error) ||\n typeof error.digest !== 'string'\n ) {\n return false\n }\n const [prefix, httpStatus] = error.digest.split(';')\n\n return (\n prefix === HTTP_ERROR_FALLBACK_ERROR_CODE &&\n ALLOWED_CODES.has(Number(httpStatus))\n )\n}\n\nexport function getAccessFallbackHTTPStatus(\n error: HTTPAccessFallbackError\n): number {\n const httpStatus = error.digest.split(';')[1]\n return Number(httpStatus)\n}\n\nexport function getAccessFallbackErrorTypeByStatus(\n status: number\n): 'not-found' | 'forbidden' | 'unauthorized' | undefined {\n switch (status) {\n case 401:\n return 'unauthorized'\n case 403:\n return 'forbidden'\n case 404:\n return 'not-found'\n default:\n return\n }\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n/**\n * This function allows you to render the [not-found.js file](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)\n * within a route segment as well as inject a tag.\n *\n * `notFound()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * - In a Server Component, this will insert a `<meta name=\"robots\" content=\"noindex\" />` meta tag and set the status code to 404.\n * - In a Route Handler or Server Action, it will serve a 404 to the caller.\n *\n * Read more: [Next.js Docs: `notFound`](https://nextjs.org/docs/app/api-reference/functions/not-found)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};404`\n\nexport function notFound(): never {\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n\n throw error\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `forbidden` docs\n/**\n * @experimental\n * This function allows you to render the [forbidden.js file](https://nextjs.org/docs/app/api-reference/file-conventions/forbidden)\n * within a route segment as well as inject a tag.\n *\n * `forbidden()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n * Read more: [Next.js Docs: `forbidden`](https://nextjs.org/docs/app/api-reference/functions/forbidden)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};403`\n\nexport function forbidden(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`forbidden()\\` is experimental and only allowed to be enabled when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n","import {\n HTTP_ERROR_FALLBACK_ERROR_CODE,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\n\n// TODO: Add `unauthorized` docs\n/**\n * @experimental\n * This function allows you to render the [unauthorized.js file](https://nextjs.org/docs/app/api-reference/file-conventions/unauthorized)\n * within a route segment as well as inject a tag.\n *\n * `unauthorized()` can be used in\n * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),\n * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and\n * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n *\n *\n * Read more: [Next.js Docs: `unauthorized`](https://nextjs.org/docs/app/api-reference/functions/unauthorized)\n */\n\nconst DIGEST = `${HTTP_ERROR_FALLBACK_ERROR_CODE};401`\n\nexport function unauthorized(): never {\n if (!process.env.__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS) {\n throw new Error(\n `\\`unauthorized()\\` is experimental and only allowed to be used when \\`experimental.authInterrupts\\` is enabled.`\n )\n }\n\n const error = new Error(DIGEST) as HTTPAccessFallbackError\n ;(error as HTTPAccessFallbackError).digest = DIGEST\n throw error\n}\n","export function createPromiseWithResolvers<T>(): PromiseWithResolvers<T> {\n // Shim of Stage 4 Promise.withResolvers proposal\n let resolve: (value: T | PromiseLike<T>) => void\n let reject: (reason: any) => void\n const promise = new Promise<T>((res, rej) => {\n resolve = res\n reject = rej\n })\n return { resolve: resolve!, reject: reject!, promise }\n}\n","import { InvariantError } from '../../shared/lib/invariant-error'\nimport { createPromiseWithResolvers } from '../../shared/lib/promise-with-resolvers'\n\nexport enum RenderStage {\n Before = 1,\n EarlyStatic = 2,\n Static = 3,\n EarlyRuntime = 4,\n Runtime = 5,\n Dynamic = 6,\n Abandoned = 7,\n}\n\nexport type AdvanceableRenderStage =\n | RenderStage.Static\n | RenderStage.EarlyRuntime\n | RenderStage.Runtime\n | RenderStage.Dynamic\n\nexport class StagedRenderingController {\n currentStage: RenderStage = RenderStage.Before\n\n syncInterruptReason: Error | null = null\n staticStageEndTime: number = Infinity\n runtimeStageEndTime: number = Infinity\n\n private staticStageListeners: Array<() => void> = []\n private earlyRuntimeStageListeners: Array<() => void> = []\n private runtimeStageListeners: Array<() => void> = []\n private dynamicStageListeners: Array<() => void> = []\n\n private staticStagePromise = createPromiseWithResolvers<void>()\n private earlyRuntimeStagePromise = createPromiseWithResolvers<void>()\n private runtimeStagePromise = createPromiseWithResolvers<void>()\n private dynamicStagePromise = createPromiseWithResolvers<void>()\n\n constructor(\n private abortSignal: AbortSignal | null,\n private abandonController: AbortController | null,\n private shouldTrackSyncIO: boolean\n ) {\n if (abortSignal) {\n abortSignal.addEventListener(\n 'abort',\n () => {\n // Reject all stage promises that haven't already been resolved.\n // If a promise was already resolved via advanceStage, the reject\n // is a no-op. The ignoreReject handler suppresses unhandled\n // rejection warnings for promises that no one is awaiting.\n const { reason } = abortSignal\n this.staticStagePromise.promise.catch(ignoreReject)\n this.staticStagePromise.reject(reason)\n this.earlyRuntimeStagePromise.promise.catch(ignoreReject)\n this.earlyRuntimeStagePromise.reject(reason)\n this.runtimeStagePromise.promise.catch(ignoreReject)\n this.runtimeStagePromise.reject(reason)\n this.dynamicStagePromise.promise.catch(ignoreReject)\n this.dynamicStagePromise.reject(reason)\n },\n { once: true }\n )\n }\n\n if (abandonController) {\n abandonController.signal.addEventListener(\n 'abort',\n () => {\n this.abandonRender()\n },\n { once: true }\n )\n }\n }\n\n onStage(stage: AdvanceableRenderStage, callback: () => void) {\n if (this.currentStage >= stage) {\n callback()\n } else if (stage === RenderStage.Static) {\n this.staticStageListeners.push(callback)\n } else if (stage === RenderStage.EarlyRuntime) {\n this.earlyRuntimeStageListeners.push(callback)\n } else if (stage === RenderStage.Runtime) {\n this.runtimeStageListeners.push(callback)\n } else if (stage === RenderStage.Dynamic) {\n this.dynamicStageListeners.push(callback)\n } else {\n // This should never happen\n throw new InvariantError(`Invalid render stage: ${stage}`)\n }\n }\n\n shouldTrackSyncInterrupt(): boolean {\n if (!this.shouldTrackSyncIO) {\n return false\n }\n\n switch (this.currentStage) {\n case RenderStage.Before:\n // If we haven't started the render yet, it can't be interrupted.\n return false\n case RenderStage.EarlyStatic:\n case RenderStage.Static:\n return true\n case RenderStage.EarlyRuntime:\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO\n // should error because it would abort a runtime prefetch.\n return true\n case RenderStage.Runtime:\n // Runtime is for non-prefetchable segments. Sync IO is fine there\n // because in practice this segment will never be runtime prefetched\n return false\n case RenderStage.Dynamic:\n case RenderStage.Abandoned:\n return false\n default:\n return false\n }\n }\n\n syncInterruptCurrentStageWithReason(reason: Error) {\n if (this.currentStage === RenderStage.Before) {\n return\n }\n\n // If the render has already been abandoned, there's nothing to interrupt.\n if (this.currentStage === RenderStage.Abandoned) {\n return\n }\n\n // If Sync IO occurs during an abandonable render, we trigger the abandon.\n // The abandon listener will call abandonRender which advances through\n // stages to let caches fill before marking as Abandoned.\n if (this.abandonController) {\n this.abandonController.abort()\n return\n }\n\n if (this.abortSignal) {\n // If this is an abortable render, we capture the interruption reason and stop advancing.\n // We don't release any more promises.\n // The caller is expected to abort the signal.\n this.syncInterruptReason = reason\n this.currentStage = RenderStage.Abandoned\n return\n }\n\n // If we're in a non-abandonable & non-abortable render,\n // we need to advance to the Dynamic stage and capture the interruption reason.\n // (in dev, this will be the restarted render)\n switch (this.currentStage) {\n case RenderStage.EarlyStatic:\n case RenderStage.Static:\n case RenderStage.EarlyRuntime: {\n // EarlyRuntime is for runtime-prefetchable segments. Sync IO here\n // means the prefetch would be aborted too early.\n this.syncInterruptReason = reason\n this.advanceStage(RenderStage.Dynamic)\n return\n }\n case RenderStage.Runtime: {\n // canSyncInterrupt returns false for Runtime, so we should\n // never get here. Defensive no-op.\n return\n }\n case RenderStage.Dynamic:\n default:\n }\n }\n\n getSyncInterruptReason() {\n return this.syncInterruptReason\n }\n\n getStaticStageEndTime() {\n return this.staticStageEndTime\n }\n\n getRuntimeStageEndTime() {\n return this.runtimeStageEndTime\n }\n\n private abandonRender() {\n // In staged rendering, only the initial render is abandonable.\n // We can abandon the initial render if\n // 1. We notice a cache miss, and need to wait for caches to fill\n // 2. A sync IO error occurs, and the render should be interrupted\n // (this might be a lazy intitialization of a module,\n // so we still want to restart in this case and see if it still occurs)\n // In either case, we'll be doing another render after this one,\n // so we only want to unblock the next stage, not Dynamic, because\n // unblocking the dynamic stage would likely lead to wasted (uncached) IO.\n const { currentStage } = this\n switch (currentStage) {\n case RenderStage.EarlyStatic: {\n this.resolveStaticStage()\n }\n // intentional fallthrough\n case RenderStage.Static: {\n this.resolveEarlyRuntimeStage()\n }\n // intentional fallthrough\n case RenderStage.EarlyRuntime: {\n this.resolveRuntimeStage()\n }\n // intentional fallthrough\n case RenderStage.Runtime: {\n this.currentStage = RenderStage.Abandoned\n return\n }\n case RenderStage.Dynamic:\n case RenderStage.Before:\n case RenderStage.Abandoned:\n break\n default: {\n currentStage satisfies never\n }\n }\n }\n\n advanceStage(\n stage:\n | RenderStage.EarlyStatic\n | RenderStage.Static\n | RenderStage.EarlyRuntime\n | RenderStage.Runtime\n | RenderStage.Dynamic\n ) {\n // If we're already at the target stage or beyond, do nothing.\n // (this can happen e.g. if sync IO advanced us to the dynamic stage)\n if (stage <= this.currentStage) {\n return\n }\n\n let currentStage = this.currentStage\n this.currentStage = stage\n\n if (currentStage < RenderStage.Static && stage >= RenderStage.Static) {\n this.resolveStaticStage()\n }\n if (\n currentStage < RenderStage.EarlyRuntime &&\n stage >= RenderStage.EarlyRuntime\n ) {\n this.resolveEarlyRuntimeStage()\n }\n if (currentStage < RenderStage.Runtime && stage >= RenderStage.Runtime) {\n this.staticStageEndTime = performance.now() + performance.timeOrigin\n this.resolveRuntimeStage()\n }\n if (currentStage < RenderStage.Dynamic && stage >= RenderStage.Dynamic) {\n this.runtimeStageEndTime = performance.now() + performance.timeOrigin\n this.resolveDynamicStage()\n return\n }\n }\n\n /** Fire the `onStage` listeners for the static stage and unblock any promises waiting for it. */\n private resolveStaticStage() {\n const staticListeners = this.staticStageListeners\n for (let i = 0; i < staticListeners.length; i++) {\n staticListeners[i]()\n }\n staticListeners.length = 0\n this.staticStagePromise.resolve()\n }\n\n /** Fire the `onStage` listeners for the early runtime stage and unblock any promises waiting for it. */\n private resolveEarlyRuntimeStage() {\n const earlyRuntimeListeners = this.earlyRuntimeStageListeners\n for (let i = 0; i < earlyRuntimeListeners.length; i++) {\n earlyRuntimeListeners[i]()\n }\n earlyRuntimeListeners.length = 0\n this.earlyRuntimeStagePromise.resolve()\n }\n\n /** Fire the `onStage` listeners for the runtime stage and unblock any promises waiting for it. */\n private resolveRuntimeStage() {\n const runtimeListeners = this.runtimeStageListeners\n for (let i = 0; i < runtimeListeners.length; i++) {\n runtimeListeners[i]()\n }\n runtimeListeners.length = 0\n this.runtimeStagePromise.resolve()\n }\n\n /** Fire the `onStage` listeners for the dynamic stage and unblock any promises waiting for it. */\n private resolveDynamicStage() {\n const dynamicListeners = this.dynamicStageListeners\n for (let i = 0; i < dynamicListeners.length; i++) {\n dynamicListeners[i]()\n }\n dynamicListeners.length = 0\n this.dynamicStagePromise.resolve()\n }\n\n private getStagePromise(stage: AdvanceableRenderStage): Promise<void> {\n switch (stage) {\n case RenderStage.Static: {\n return this.staticStagePromise.promise\n }\n case RenderStage.EarlyRuntime: {\n return this.earlyRuntimeStagePromise.promise\n }\n case RenderStage.Runtime: {\n return this.runtimeStagePromise.promise\n }\n case RenderStage.Dynamic: {\n return this.dynamicStagePromise.promise\n }\n default: {\n stage satisfies never\n throw new InvariantError(`Invalid render stage: ${stage}`)\n }\n }\n }\n\n waitForStage(stage: AdvanceableRenderStage) {\n return this.getStagePromise(stage)\n }\n\n delayUntilStage<T>(\n stage: AdvanceableRenderStage,\n displayName: string | undefined,\n resolvedValue: T\n ) {\n const ioTriggerPromise = this.getStagePromise(stage)\n\n const promise = makeDevtoolsIOPromiseFromIOTrigger(\n ioTriggerPromise,\n displayName,\n resolvedValue\n )\n\n // Analogously to `makeHangingPromise`, we might reject this promise if the signal is invoked.\n // (e.g. in the case where we don't want want the render to proceed to the dynamic stage and abort it).\n // We shouldn't consider this an unhandled rejection, so we attach a noop catch handler here to suppress this warning.\n if (this.abortSignal) {\n promise.catch(ignoreReject)\n }\n return promise\n }\n}\n\nfunction ignoreReject() {}\n\n// TODO(restart-on-cache-miss): the layering of `delayUntilStage`,\n// `makeDevtoolsIOPromiseFromIOTrigger` and and `makeDevtoolsIOAwarePromise`\n// is confusing, we should clean it up.\nfunction makeDevtoolsIOPromiseFromIOTrigger<T>(\n ioTrigger: Promise<any>,\n displayName: string | undefined,\n resolvedValue: T\n): Promise<T> {\n // If we create a `new Promise` and give it a displayName\n // (with no userspace code above us in the stack)\n // React Devtools will use it as the IO cause when determining \"suspended by\".\n // In particular, it should shadow any inner IO that resolved/rejected the promise\n // (in case of staged rendering, this will be the `setTimeout` that triggers the relevant stage)\n const promise = new Promise<T>((resolve, reject) => {\n ioTrigger.then(resolve.bind(null, resolvedValue), reject)\n })\n if (displayName !== undefined) {\n // @ts-expect-error\n promise.displayName = displayName\n }\n return promise\n}\n","import {\n RenderStage,\n type AdvanceableRenderStage,\n type StagedRenderingController,\n} from './app-render/staged-rendering'\nimport type {\n PrerenderStoreModernRuntime,\n RequestStore,\n} from './app-render/work-unit-async-storage.external'\n\nexport function isHangingPromiseRejectionError(\n err: unknown\n): err is HangingPromiseRejectionError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === HANGING_PROMISE_REJECTION\n}\n\nconst HANGING_PROMISE_REJECTION = 'HANGING_PROMISE_REJECTION'\n\nclass HangingPromiseRejectionError extends Error {\n public readonly digest = HANGING_PROMISE_REJECTION\n\n constructor(\n public readonly route: string,\n public readonly expression: string\n ) {\n super(\n `During prerendering, ${expression} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${expression} to a different context by using \\`setTimeout\\`, \\`after\\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route \"${route}\".`\n )\n }\n}\n\ntype AbortListeners = Array<(err: unknown) => void>\nconst abortListenersBySignal = new WeakMap<AbortSignal, AbortListeners>()\n\n/**\n * This function constructs a promise that will never resolve. This is primarily\n * useful for cacheComponents where we use promise resolution timing to determine which\n * parts of a render can be included in a prerender.\n *\n * @internal\n */\nexport function makeHangingPromise<T>(\n signal: AbortSignal,\n route: string,\n expression: string\n): Promise<T> {\n if (signal.aborted) {\n return Promise.reject(new HangingPromiseRejectionError(route, expression))\n } else {\n const hangingPromise = new Promise<T>((_, reject) => {\n const boundRejection = reject.bind(\n null,\n new HangingPromiseRejectionError(route, expression)\n )\n let currentListeners = abortListenersBySignal.get(signal)\n if (currentListeners) {\n currentListeners.push(boundRejection)\n } else {\n const listeners = [boundRejection]\n abortListenersBySignal.set(signal, listeners)\n signal.addEventListener(\n 'abort',\n () => {\n for (let i = 0; i < listeners.length; i++) {\n listeners[i]()\n }\n },\n { once: true }\n )\n }\n })\n // We are fine if no one actually awaits this promise. We shouldn't consider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject)\n return hangingPromise\n }\n}\n\nfunction ignoreReject() {}\n\nexport function makeDevtoolsIOAwarePromise<T>(\n underlying: T,\n requestStore: RequestStore,\n stage: AdvanceableRenderStage\n): Promise<T> {\n if (requestStore.stagedRendering) {\n // We resolve each stage in a timeout, so React DevTools will pick this up as IO.\n return requestStore.stagedRendering.delayUntilStage(\n stage,\n undefined,\n underlying\n )\n }\n // in React DevTools if we resolve in a setTimeout we will observe\n // the promise resolution as something that can suspend a boundary or root.\n return new Promise<T>((resolve) => {\n // Must use setTimeout to be considered IO React DevTools. setImmediate will not work.\n setTimeout(() => {\n resolve(underlying)\n }, 0)\n })\n}\n\n/**\n * Returns the appropriate runtime stage for the current point in the render.\n * Runtime-prefetchable segments render in the early stages and should wait\n * for EarlyRuntime. Non-prefetchable segments render in the later stages\n * and should wait for Runtime.\n */\nexport function getRuntimeStage(\n stagedRendering: StagedRenderingController\n): RenderStage.EarlyRuntime | RenderStage.Runtime {\n if (\n stagedRendering.currentStage === RenderStage.EarlyStatic ||\n stagedRendering.currentStage === RenderStage.EarlyRuntime\n ) {\n return RenderStage.EarlyRuntime\n }\n return RenderStage.Runtime\n}\n\n/**\n * Delays until the appropriate runtime stage based on the current stage of\n * the rendering pipeline:\n *\n * - Early stages → wait for EarlyRuntime\n * (for runtime-prefetchable segments)\n * - Later stages → wait for Runtime\n * (for segments not using runtime prefetch)\n *\n * This ensures that cookies()/headers()/etc. resolve at the right time for\n * each segment type.\n */\nexport function delayUntilRuntimeStage<T>(\n prerenderStore: PrerenderStoreModernRuntime,\n result: Promise<T>\n): Promise<T> {\n const { stagedRendering } = prerenderStore\n if (!stagedRendering) {\n return result\n }\n return stagedRendering\n .waitForStage(getRuntimeStage(stagedRendering))\n .then(() => result)\n}\n","const REACT_POSTPONE_TYPE: symbol = Symbol.for('react.postpone')\n\nexport function isPostpone(error: any): boolean {\n return (\n typeof error === 'object' &&\n error !== null &&\n error.$$typeof === REACT_POSTPONE_TYPE\n )\n}\n","// This has to be a shared module which is shared between client component error boundary and dynamic component\nconst BAILOUT_TO_CSR = 'BAILOUT_TO_CLIENT_SIDE_RENDERING'\n\n/** An error that should be thrown when we want to bail out to client-side rendering. */\nexport class BailoutToCSRError extends Error {\n public readonly digest = BAILOUT_TO_CSR\n\n constructor(public readonly reason: string) {\n super(`Bail out to client-side rendering: ${reason}`)\n }\n}\n\n/** Checks if a passed argument is an error that is thrown if we want to bail out to client-side rendering. */\nexport function isBailoutToCSRError(err: unknown): err is BailoutToCSRError {\n if (typeof err !== 'object' || err === null || !('digest' in err)) {\n return false\n }\n\n return err.digest === BAILOUT_TO_CSR\n}\n","import {\n isHTTPAccessFallbackError,\n type HTTPAccessFallbackError,\n} from './http-access-fallback/http-access-fallback'\nimport { isRedirectError, type RedirectError } from './redirect-error'\n\n/**\n * Returns true if the error is a navigation signal error. These errors are\n * thrown by user code to perform navigation operations and interrupt the React\n * render.\n */\nexport function isNextRouterError(\n error: unknown\n): error is RedirectError | HTTPAccessFallbackError {\n return isRedirectError(error) || isHTTPAccessFallbackError(error)\n}\n","const DYNAMIC_ERROR_CODE = 'DYNAMIC_SERVER_USAGE'\n\nexport class DynamicServerError extends Error {\n digest: typeof DYNAMIC_ERROR_CODE = DYNAMIC_ERROR_CODE\n\n constructor(public readonly description: string) {\n super(`Dynamic server usage: ${description}`)\n }\n}\n\nexport function isDynamicServerError(err: unknown): err is DynamicServerError {\n if (\n typeof err !== 'object' ||\n err === null ||\n !('digest' in err) ||\n typeof err.digest !== 'string'\n ) {\n return false\n }\n\n return err.digest === DYNAMIC_ERROR_CODE\n}\n","const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT'\n\nexport class StaticGenBailoutError extends Error {\n public readonly code = NEXT_STATIC_GEN_BAILOUT\n}\n\nexport function isStaticGenBailoutError(\n error: unknown\n): error is StaticGenBailoutError {\n if (typeof error !== 'object' || error === null || !('code' in error)) {\n return false\n }\n\n return error.code === NEXT_STATIC_GEN_BAILOUT\n}\n","export const METADATA_BOUNDARY_NAME = '__next_metadata_boundary__'\nexport const VIEWPORT_BOUNDARY_NAME = '__next_viewport_boundary__'\nexport const OUTLET_BOUNDARY_NAME = '__next_outlet_boundary__'\nexport const ROOT_LAYOUT_BOUNDARY_NAME = '__next_root_layout_boundary__'\n","export type ScheduledFn<T = void> = () => T | PromiseLike<T>\nexport type SchedulerFn<T = void> = (cb: ScheduledFn<T>) => void\n\n/**\n * Schedules a function to be called on the next tick after the other promises\n * have been resolved.\n *\n * @param cb the function to schedule\n */\nexport const scheduleOnNextTick = (cb: ScheduledFn<void>) => {\n // We use Promise.resolve().then() here so that the operation is scheduled at\n // the end of the promise job queue, we then add it to the next process tick\n // to ensure it's evaluated afterwards.\n //\n // This was inspired by the implementation of the DataLoader interface: https://github.com/graphql/dataloader/blob/d336bd15282664e0be4b4a657cb796f09bafbc6b/src/index.js#L213-L255\n //\n Promise.resolve().then(() => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n process.nextTick(cb)\n }\n })\n}\n\n/**\n * Schedules a function to be called using `setImmediate` or `setTimeout` if\n * `setImmediate` is not available (like in the Edge runtime).\n *\n * @param cb the function to schedule\n */\nexport const scheduleImmediate = (cb: ScheduledFn<void>): void => {\n if (process.env.NEXT_RUNTIME === 'edge') {\n setTimeout(cb, 0)\n } else {\n setImmediate(cb)\n }\n}\n\n/**\n * returns a promise than resolves in a future task. There is no guarantee that the task it resolves in\n * will be the next task but if you await it you can at least be sure that the current task is over and\n * most usefully that the entire microtask queue of the current task has been emptied.\n */\nexport function atLeastOneTask() {\n return new Promise<void>((resolve) => scheduleImmediate(resolve))\n}\n\n/**\n * This utility function is extracted to make it easier to find places where we are doing\n * specific timing tricks to try to schedule work after React has rendered. This is especially\n * important at the moment because Next.js uses the edge builds of React which use setTimeout to\n * schedule work when you might expect that something like setImmediate would do the trick.\n *\n * Long term we should switch to the node versions of React rendering when possible and then\n * update this to use setImmediate rather than setTimeout\n */\nexport function waitAtLeastOneReactRenderTask(): Promise<void> {\n if (process.env.NEXT_RUNTIME === 'edge') {\n return new Promise((r) => setTimeout(r, 0))\n } else {\n return new Promise((r) => setImmediate(r))\n }\n}\n","export const INSTANT_VALIDATION_BOUNDARY_NAME =\n '__next_instant_validation_boundary__'\n","/**\n * The functions provided by this module are used to communicate certain properties\n * about the currently running code so that Next.js can make decisions on how to handle\n * the current execution in different rendering modes such as pre-rendering, resuming, and SSR.\n *\n * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering.\n * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts\n * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of\n * Dynamic indications.\n *\n * The first is simply an intention to be dynamic. unstable_noStore is an example of this where\n * the currently executing code simply declares that the current scope is dynamic but if you use it\n * inside unstable_cache it can still be cached. This type of indication can be removed if we ever\n * make the default dynamic to begin with because the only way you would ever be static is inside\n * a cache scope which this indication does not affect.\n *\n * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic\n * because it means that it is inappropriate to cache this at all. using a dynamic data source inside\n * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should\n * read that data outside the cache and pass it in as an argument to the cached function.\n */\n\nimport type { WorkStore } from '../app-render/work-async-storage.external'\nimport type {\n WorkUnitStore,\n PrerenderStoreLegacy,\n PrerenderStoreModern,\n ValidationStoreClient,\n} from '../app-render/work-unit-async-storage.external'\n\n// Once postpone is in stable we should switch to importing the postpone export directly\nimport React from 'react'\n\nimport { DynamicServerError } from '../../client/components/hooks-server-context'\nimport { StaticGenBailoutError } from '../../client/components/static-generation-bailout'\nimport {\n throwForMissingRequestStore,\n workUnitAsyncStorage,\n} from './work-unit-async-storage.external'\nimport { workAsyncStorage } from '../app-render/work-async-storage.external'\nimport { makeHangingPromise, getRuntimeStage } from '../dynamic-rendering-utils'\nimport {\n METADATA_BOUNDARY_NAME,\n VIEWPORT_BOUNDARY_NAME,\n OUTLET_BOUNDARY_NAME,\n ROOT_LAYOUT_BOUNDARY_NAME,\n} from '../../lib/framework/boundary-constants'\nimport { scheduleOnNextTick } from '../../lib/scheduler'\nimport { BailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { InvariantError } from '../../shared/lib/invariant-error'\nimport { INSTANT_VALIDATION_BOUNDARY_NAME } from './instant-validation/boundary-constants'\nimport type { ValidationBoundaryTracking } from './instant-validation/boundary-tracking'\nimport type { InstantValidationSampleTracking } from './instant-validation/instant-samples'\n\nconst hasPostpone = typeof React.unstable_postpone === 'function'\n\nexport type DynamicAccess = {\n /**\n * If debugging, this will contain the stack trace of where the dynamic access\n * occurred. This is used to provide more information to the user about why\n * their page is being rendered dynamically.\n */\n stack?: string\n\n /**\n * The expression that was accessed dynamically.\n */\n expression: string\n}\n\n// Stores dynamic reasons used during an RSC render.\nexport type DynamicTrackingState = {\n /**\n * When true, stack information will also be tracked during dynamic access.\n */\n readonly isDebugDynamicAccesses: boolean | undefined\n\n /**\n * The dynamic accesses that occurred during the render.\n */\n readonly dynamicAccesses: Array<DynamicAccess>\n\n syncDynamicErrorWithStack: null | Error\n}\n\n// Stores dynamic reasons used during an SSR render.\nexport type DynamicValidationState = {\n hasSuspenseAboveBody: boolean\n hasDynamicMetadata: boolean\n dynamicMetadata: null | Error\n hasDynamicViewport: boolean\n hasAllowedDynamic: boolean\n dynamicErrors: Array<Error>\n}\n\nexport function createDynamicTrackingState(\n isDebugDynamicAccesses: boolean | undefined\n): DynamicTrackingState {\n return {\n isDebugDynamicAccesses,\n dynamicAccesses: [],\n syncDynamicErrorWithStack: null,\n }\n}\n\nexport function createDynamicValidationState(): DynamicValidationState {\n return {\n hasSuspenseAboveBody: false,\n hasDynamicMetadata: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n }\n}\n\nexport function getFirstDynamicReason(\n trackingState: DynamicTrackingState\n): undefined | string {\n return trackingState.dynamicAccesses[0]?.expression\n}\n\n/**\n * This function communicates that the current scope should be treated as dynamic.\n *\n * In most cases this function is a no-op but if called during\n * a PPR prerender it will postpone the current sub-tree and calling\n * it during a normal prerender will cause the entire prerender to abort\n */\nexport function markCurrentScopeAsDynamic(\n store: WorkStore,\n workUnitStore: undefined | Exclude<WorkUnitStore, PrerenderStoreModern>,\n expression: string\n): void {\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'request':\n case 'generate-static-params':\n break\n default:\n workUnitStore satisfies never\n }\n }\n\n // If we're forcing dynamic rendering or we're forcing static rendering, we\n // don't need to do anything here because the entire page is already dynamic\n // or it's static and it should not throw or postpone here.\n if (store.forceDynamic || store.forceStatic) return\n\n if (store.dynamicShouldError) {\n throw new StaticGenBailoutError(\n `Route ${store.route} with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`\n )\n }\n\n if (workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-ppr':\n return postponeWithTracking(\n store.route,\n expression,\n workUnitStore.dynamicTracking\n )\n case 'prerender-legacy':\n workUnitStore.revalidate = 0\n\n // We aren't prerendering, but we are generating a static page. We need\n // to bail out of static generation.\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used ${expression}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n case 'generate-static-params':\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\n/**\n * This function is meant to be used when prerendering without cacheComponents or PPR.\n * When called during a build it will cause Next.js to consider the route as dynamic.\n *\n * @internal\n */\nexport function throwToInterruptStaticGeneration(\n expression: string,\n store: WorkStore,\n prerenderStore: PrerenderStoreLegacy\n): never {\n // We aren't prerendering but we are generating a static page. We need to bail out of static generation\n const err = new DynamicServerError(\n `Route ${store.route} couldn't be rendered statically because it used \\`${expression}\\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`\n )\n\n prerenderStore.revalidate = 0\n\n store.dynamicUsageDescription = expression\n store.dynamicUsageStack = err.stack\n\n throw err\n}\n\n/**\n * This function should be used to track whether something dynamic happened even when\n * we are in a dynamic render. This is useful for Dev where all renders are dynamic but\n * we still track whether dynamic APIs were accessed for helpful messaging\n *\n * @internal\n */\nexport function trackDynamicDataInDynamicRender(workUnitStore: WorkUnitStore) {\n switch (workUnitStore.type) {\n case 'cache':\n case 'unstable-cache':\n // Inside cache scopes, marking a scope as dynamic has no effect,\n // because the outer cache scope creates a cache boundary. This is\n // subtly different from reading a dynamic data source, which is\n // forbidden inside a cache scope.\n return\n case 'private-cache':\n // A private cache scope is already dynamic by definition.\n return\n case 'prerender':\n case 'prerender-runtime':\n case 'prerender-legacy':\n case 'prerender-ppr':\n case 'prerender-client':\n case 'validation-client':\n case 'generate-static-params':\n break\n case 'request':\n if (process.env.NODE_ENV !== 'production') {\n workUnitStore.usedDynamic = true\n }\n break\n default:\n workUnitStore satisfies never\n }\n}\n\nfunction abortOnSynchronousDynamicDataAccess(\n route: string,\n expression: string,\n prerenderStore: PrerenderStoreModern\n): void {\n const reason = `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n\n const error = createPrerenderInterruptedError(reason)\n\n prerenderStore.controller.abort(error)\n\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function abortOnSynchronousPlatformIOAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): void {\n const dynamicTracking = prerenderStore.dynamicTracking\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n}\n\n/**\n * use this function when prerendering with cacheComponents. If we are doing a\n * prospective prerender we don't actually abort because we want to discover\n * all caches for the shell. If this is the actual prerender we do abort.\n *\n * This function accepts a prerenderStore but the caller should ensure we're\n * actually running in cacheComponents mode.\n *\n * @internal\n */\nexport function abortAndThrowOnSynchronousRequestDataAccess(\n route: string,\n expression: string,\n errorWithStack: Error,\n prerenderStore: PrerenderStoreModern\n): never {\n const prerenderSignal = prerenderStore.controller.signal\n if (prerenderSignal.aborted === false) {\n // TODO it would be better to move this aborted check into the callsite so we can avoid making\n // the error object when it isn't relevant to the aborting of the prerender however\n // since we need the throw semantics regardless of whether we abort it is easier to land\n // this way. See how this was handled with `abortOnSynchronousPlatformIOAccess` for a closer\n // to ideal implementation\n abortOnSynchronousDynamicDataAccess(route, expression, prerenderStore)\n // It is important that we set this tracking value after aborting. Aborts are executed\n // synchronously except for the case where you abort during render itself. By setting this\n // value late we can use it to determine if any of the aborted tasks are the task that\n // called the sync IO expression in the first place.\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n if (dynamicTracking.syncDynamicErrorWithStack === null) {\n dynamicTracking.syncDynamicErrorWithStack = errorWithStack\n }\n }\n }\n throw createPrerenderInterruptedError(\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}.`\n )\n}\n\n/**\n * This component will call `React.postpone` that throws the postponed error.\n */\ntype PostponeProps = {\n reason: string\n route: string\n}\nexport function Postpone({ reason, route }: PostponeProps): never {\n const prerenderStore = workUnitAsyncStorage.getStore()\n const dynamicTracking =\n prerenderStore && prerenderStore.type === 'prerender-ppr'\n ? prerenderStore.dynamicTracking\n : null\n postponeWithTracking(route, reason, dynamicTracking)\n}\n\nexport function postponeWithTracking(\n route: string,\n expression: string,\n dynamicTracking: null | DynamicTrackingState\n): never {\n assertPostpone()\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n\n React.unstable_postpone(createPostponeReason(route, expression))\n}\n\nfunction createPostponeReason(route: string, expression: string) {\n return (\n `Route ${route} needs to bail out of prerendering at this point because it used ${expression}. ` +\n `React throws this special object to indicate where. It should not be caught by ` +\n `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`\n )\n}\n\nexport function isDynamicPostpone(err: unknown) {\n if (\n typeof err === 'object' &&\n err !== null &&\n typeof (err as any).message === 'string'\n ) {\n return isDynamicPostponeReason((err as any).message)\n }\n return false\n}\n\nfunction isDynamicPostponeReason(reason: string) {\n return (\n reason.includes(\n 'needs to bail out of prerendering at this point because it used'\n ) &&\n reason.includes(\n 'Learn more: https://nextjs.org/docs/messages/ppr-caught-error'\n )\n )\n}\n\nif (isDynamicPostponeReason(createPostponeReason('%%%', '^^^')) === false) {\n throw new Error(\n 'Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js'\n )\n}\n\nconst NEXT_PRERENDER_INTERRUPTED = 'NEXT_PRERENDER_INTERRUPTED'\n\nfunction createPrerenderInterruptedError(message: string): Error {\n const error = new Error(message)\n ;(error as any).digest = NEXT_PRERENDER_INTERRUPTED\n return error\n}\n\ntype DigestError = Error & {\n digest: string\n}\n\nexport function isPrerenderInterruptedError(\n error: unknown\n): error is DigestError {\n return (\n typeof error === 'object' &&\n error !== null &&\n (error as any).digest === NEXT_PRERENDER_INTERRUPTED &&\n 'name' in error &&\n 'message' in error &&\n error instanceof Error\n )\n}\n\nexport function accessedDynamicData(\n dynamicAccesses: Array<DynamicAccess>\n): boolean {\n return dynamicAccesses.length > 0\n}\n\nexport function consumeDynamicAccess(\n serverDynamic: DynamicTrackingState,\n clientDynamic: DynamicTrackingState\n): DynamicTrackingState['dynamicAccesses'] {\n // We mutate because we only call this once we are no longer writing\n // to the dynamicTrackingState and it's more efficient than creating a new\n // array.\n serverDynamic.dynamicAccesses.push(...clientDynamic.dynamicAccesses)\n return serverDynamic.dynamicAccesses\n}\n\nexport function formatDynamicAPIAccesses(\n dynamicAccesses: Array<DynamicAccess>\n): string[] {\n return dynamicAccesses\n .filter(\n (access): access is Required<DynamicAccess> =>\n typeof access.stack === 'string' && access.stack.length > 0\n )\n .map(({ expression, stack }) => {\n stack = stack\n .split('\\n')\n // Remove the \"Error: \" prefix from the first line of the stack trace as\n // well as the first 4 lines of the stack trace which is the distance\n // from the user code and the `new Error().stack` call.\n .slice(4)\n .filter((line) => {\n // Exclude Next.js internals from the stack trace.\n if (line.includes('node_modules/next/')) {\n return false\n }\n\n // Exclude anonymous functions from the stack trace.\n if (line.includes(' (<anonymous>)')) {\n return false\n }\n\n // Exclude Node.js internals from the stack trace.\n if (line.includes(' (node:')) {\n return false\n }\n\n return true\n })\n .join('\\n')\n return `Dynamic API Usage Debug - ${expression}:\\n${stack}`\n })\n}\n\nfunction assertPostpone() {\n if (!hasPostpone) {\n throw new Error(\n `Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js`\n )\n }\n}\n\n/**\n * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's\n * abort semantics slightly.\n */\nexport function createRenderInBrowserAbortSignal(): AbortSignal {\n const controller = new AbortController()\n controller.abort(new BailoutToCSRError('Render in Browser'))\n return controller.signal\n}\n\n/**\n * In a prerender, we may end up with hanging Promises as inputs due them\n * stalling on connection() or because they're loading dynamic data. In that\n * case we need to abort the encoding of arguments since they'll never complete.\n */\nexport function createHangingInputAbortSignal(\n workUnitStore: WorkUnitStore\n): AbortSignal | undefined {\n switch (workUnitStore.type) {\n case 'prerender':\n case 'prerender-runtime':\n const controller = new AbortController()\n\n if (workUnitStore.cacheSignal) {\n // If we have a cacheSignal it means we're in a prospective render. If\n // the input we're waiting on is coming from another cache, we do want\n // to wait for it so that we can resolve this cache entry too.\n workUnitStore.cacheSignal.inputReady().then(() => {\n controller.abort()\n })\n } else {\n // Otherwise we're in the final render and we should already have all\n // our caches filled.\n // If the prerender uses stages, we have wait until the runtime stage,\n // at which point all runtime inputs will be resolved.\n // (otherwise, a runtime prerender might consider `cookies()` hanging\n // even though they'd resolve in the next task.)\n //\n // We might still be waiting on some microtasks so we\n // wait one tick before giving up. When we give up, we still want to\n // render the content of this cache as deeply as we can so that we can\n // suspend as deeply as possible in the tree or not at all if we don't\n // end up waiting for the input.\n if (\n // eslint-disable-next-line no-restricted-syntax -- We are discriminating between two different refined types and don't need an addition exhaustive switch here\n workUnitStore.type === 'prerender-runtime' &&\n workUnitStore.stagedRendering\n ) {\n const { stagedRendering } = workUnitStore\n stagedRendering\n .waitForStage(getRuntimeStage(stagedRendering))\n .then(() => scheduleOnNextTick(() => controller.abort()))\n } else {\n scheduleOnNextTick(() => controller.abort())\n }\n }\n\n return controller.signal\n case 'prerender-client':\n case 'validation-client':\n case 'prerender-ppr':\n case 'prerender-legacy':\n case 'request':\n case 'cache':\n case 'private-cache':\n case 'unstable-cache':\n case 'generate-static-params':\n return undefined\n default:\n workUnitStore satisfies never\n }\n}\n\nexport function annotateDynamicAccess(\n expression: string,\n prerenderStore: PrerenderStoreModern | ValidationStoreClient\n) {\n const dynamicTracking = prerenderStore.dynamicTracking\n if (dynamicTracking) {\n dynamicTracking.dynamicAccesses.push({\n stack: dynamicTracking.isDebugDynamicAccesses\n ? new Error().stack\n : undefined,\n expression,\n })\n }\n}\n\nexport function useDynamicRouteParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n if (workStore && workUnitStore) {\n switch (workUnitStore.type) {\n case 'prerender-client':\n case 'prerender': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n\n if (fallbackParams && fallbackParams.size > 0) {\n // We are in a prerender with cacheComponents semantics. We are going to\n // hang here and never resolve. This will cause the currently\n // rendering component to effectively be a dynamic hole.\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n }\n break\n }\n case 'prerender-ppr': {\n const fallbackParams = workUnitStore.fallbackRouteParams\n if (fallbackParams && fallbackParams.size > 0) {\n return postponeWithTracking(\n workStore.route,\n expression,\n workUnitStore.dynamicTracking\n )\n }\n break\n }\n case 'validation-client': {\n // Don't check fallbackRouteParams here. We handle params that weren't\n // provided in the samples using a proxy that throws when accessed.\n break\n }\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called during a runtime prerender. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'generate-static-params':\n throw new InvariantError(\n `\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`\n )\n case 'prerender-legacy':\n case 'request':\n case 'unstable-cache':\n break\n default:\n workUnitStore satisfies never\n }\n }\n}\n\nexport function useDynamicSearchParams(expression: string) {\n const workStore = workAsyncStorage.getStore()\n const workUnitStore = workUnitAsyncStorage.getStore()\n\n if (!workStore) {\n // We assume pages router context and just return\n return\n }\n\n if (!workUnitStore) {\n throwForMissingRequestStore(expression)\n }\n\n switch (workUnitStore.type) {\n case 'validation-client':\n // During instant validation we try to behave as close to client as possible,\n // so this shouldn't hang during SSR.\n return\n case 'prerender-client': {\n React.use(\n makeHangingPromise(\n workUnitStore.renderSignal,\n workStore.route,\n expression\n )\n )\n break\n }\n case 'prerender-legacy':\n case 'prerender-ppr': {\n if (workStore.forceStatic) {\n return\n }\n throw new BailoutToCSRError(expression)\n }\n case 'prerender':\n case 'prerender-runtime':\n throw new InvariantError(\n `\\`${expression}\\` was called from a Server Component. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'cache':\n case 'unstable-cache':\n case 'private-cache':\n throw new InvariantError(\n `\\`${expression}\\` was called inside a cache scope. Next.js should be preventing ${expression} from being included in server components statically, but did not in this case.`\n )\n case 'generate-static-params':\n throw new InvariantError(\n `\\`${expression}\\` was called in \\`generateStaticParams\\`. Next.js should be preventing ${expression} from being included in server component files statically, but did not in this case.`\n )\n case 'request':\n return\n default:\n workUnitStore satisfies never\n }\n}\n\nconst hasSuspenseRegex = /\\n\\s+at Suspense \\(<anonymous>\\)/\n\n// Common implicit body tags that React will treat as body when placed directly in html\nconst bodyAndImplicitTags =\n 'body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6'\n\n// Detects when RootLayoutBoundary (our framework marker component) appears\n// after Suspense in the component stack, indicating the root layout is wrapped\n// within a Suspense boundary. Ensures no body/html/implicit-body components are in between.\n//\n// Example matches:\n// at Suspense (<anonymous>)\n// at __next_root_layout_boundary__ (<anonymous>)\n//\n// Or with other components in between (but not body/html/implicit-body):\n// at Suspense (<anonymous>)\n// at SomeComponent (<anonymous>)\n// at __next_root_layout_boundary__ (<anonymous>)\nconst hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex = new RegExp(\n `\\\\n\\\\s+at Suspense \\\\(<anonymous>\\\\)(?:(?!\\\\n\\\\s+at (?:${bodyAndImplicitTags}) \\\\(<anonymous>\\\\))[\\\\s\\\\S])*?\\\\n\\\\s+at ${ROOT_LAYOUT_BOUNDARY_NAME} \\\\([^\\\\n]*\\\\)`\n)\n\nconst hasMetadataRegex = new RegExp(\n `\\\\n\\\\s+at ${METADATA_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasViewportRegex = new RegExp(\n `\\\\n\\\\s+at ${VIEWPORT_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\nconst hasOutletRegex = new RegExp(`\\\\n\\\\s+at ${OUTLET_BOUNDARY_NAME}[\\\\n\\\\s]`)\n\nconst hasInstantValidationBoundaryRegex = new RegExp(\n `\\\\n\\\\s+at ${INSTANT_VALIDATION_BOUNDARY_NAME}[\\\\n\\\\s]`\n)\n\nexport function trackAllowedDynamicAccess(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n dynamicValidation.hasDynamicMetadata = true\n return\n } else if (hasViewportRegex.test(componentStack)) {\n dynamicValidation.hasDynamicViewport = true\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message =\n `Route \"${workStore.route}\": Uncached data was accessed outside of ` +\n '<Suspense>. This delays the entire page from rendering, resulting in a ' +\n 'slow user experience. Learn more: ' +\n 'https://nextjs.org/docs/messages/blocking-route'\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\nexport enum DynamicHoleKind {\n /** We know that this hole is caused by runtime data. */\n Runtime = 1,\n /** We know that this hole is caused by dynamic data. */\n Dynamic = 2,\n}\n\n/** Stores dynamic reasons used during an SSR render in instant validation. */\nexport type InstantValidationState = {\n hasDynamicMetadata: boolean\n hasAllowedClientDynamicAboveBoundary: boolean\n dynamicMetadata: null | Error\n hasDynamicViewport: boolean\n hasAllowedDynamic: boolean\n dynamicErrors: Array<Error>\n validationPreventingErrors: Array<Error>\n thrownErrorsOutsideBoundary: Array<unknown>\n createInstantStack: (() => Error) | null\n}\n\nexport function createInstantValidationState(\n createInstantStack: (() => Error) | null\n): InstantValidationState {\n return {\n hasDynamicMetadata: false,\n hasAllowedClientDynamicAboveBoundary: false,\n dynamicMetadata: null,\n hasDynamicViewport: false,\n hasAllowedDynamic: false,\n dynamicErrors: [],\n validationPreventingErrors: [],\n thrownErrorsOutsideBoundary: [],\n createInstantStack,\n }\n}\n\nexport function trackDynamicHoleInNavigation(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: InstantValidationState,\n clientDynamic: DynamicTrackingState,\n kind: DynamicHoleKind,\n boundaryState: ValidationBoundaryTracking\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n }\n if (hasMetadataRegex.test(componentStack)) {\n const usageDescription =\n kind === DynamicHoleKind.Runtime\n ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments.`\n : `Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`.`\n const message = `Route \"${workStore.route}\": ${usageDescription} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = addErrorContext(\n new Error(message),\n componentStack,\n dynamicValidation.createInstantStack\n )\n dynamicValidation.dynamicMetadata = error\n return\n }\n if (hasViewportRegex.test(componentStack)) {\n const usageDescription =\n kind === DynamicHoleKind.Runtime\n ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`.`\n : `Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`.`\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = addErrorContext(\n new Error(message),\n componentStack,\n dynamicValidation.createInstantStack\n )\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n\n const boundaryLocation =\n hasInstantValidationBoundaryRegex.exec(componentStack)\n if (!boundaryLocation) {\n // We don't see the validation boundary in the component stack,\n // so this hole must be coming from a shared parent.\n // Shared parents are fully resolved and don't have RSC holes,\n // but they can still suspend in a client component during SSR.\n\n // If we managed to render all the validation boundaries, that means\n // that the client holes aren't blocking validation and we can disregard them.\n // Note that we don't even care whether they have suspense or not.\n if (boundaryState.expectedIds.size === boundaryState.renderedIds.size) {\n dynamicValidation.hasAllowedClientDynamicAboveBoundary = true\n dynamicValidation.hasAllowedDynamic = true // Holes outside the boundary contribute to allowing dynamic metadata\n return\n } else {\n // TODO(instant-validation) TODO(NAR-787)\n // If shared parents blocked us from validating, we should only log\n // the errors from the innermost (segments), i.e. omit layouts whose\n // slots managed to render (because clearly they didn't block validation)\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because a Client Component in a parent segment prevented the page from rendering.`\n const error = addErrorContext(\n new Error(message),\n componentStack,\n dynamicValidation.createInstantStack\n )\n dynamicValidation.validationPreventingErrors.push(error)\n return\n }\n } else {\n // The hole originates inside the validation boundary.\n //\n // Check if we have a Suspense above the hole, but below the validation boundary.\n // If we do, then this dynamic usage wouldn't block a navigation to this subtree.\n // Conversely, if the nearest suspense is above the validation boundary, then this subtree would block.\n //\n // Note that in the component stack, children come before parents.\n //\n // Valid:\n // ...\n // at Suspense\n // ...\n // at __next_prefetch_validation_boundary__\n //\n // Invalid:\n // ...\n // at __next_prefetch_validation_boundary__\n // ...\n // at Suspense\n //\n const suspenseLocation = hasSuspenseRegex.exec(componentStack)\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n dynamicValidation.hasAllowedDynamic = true\n return\n } else {\n // invalid - fallthrough\n }\n }\n }\n\n if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n const syncError = clientDynamic.syncDynamicErrorWithStack\n if (\n dynamicValidation.createInstantStack !== null &&\n syncError.cause === undefined\n ) {\n syncError.cause = dynamicValidation.createInstantStack()\n }\n dynamicValidation.dynamicErrors.push(syncError)\n return\n }\n\n const usageDescription =\n kind === DynamicHoleKind.Runtime\n ? `Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`<Suspense>\\`.`\n : `Uncached data or \\`connection()\\` was accessed outside of \\`<Suspense>\\`.`\n const message = `Route \"${workStore.route}\": ${usageDescription} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = addErrorContext(\n new Error(message),\n componentStack,\n dynamicValidation.createInstantStack\n )\n dynamicValidation.dynamicErrors.push(error)\n return\n}\n\nexport function trackThrownErrorInNavigation(\n workStore: WorkStore,\n dynamicValidation: InstantValidationState,\n thrownValue: unknown,\n componentStack: string\n) {\n const boundaryLocation =\n hasInstantValidationBoundaryRegex.exec(componentStack)\n if (!boundaryLocation) {\n // There's no validation boundary on the component stack.\n // This error may have blocked a boundary from rendering.\n\n // Wrap the error to provide component context.\n // This helps for errors from node_modules which would otherwise\n // have no useful stack information due to ignore-listing,\n // e.g. next/dynamic with `ssr: false`.\n const error = addErrorContext(\n new Error(\n 'An error occurred while attempting to validate instant UI. This error may be preventing the validation from completing.',\n { cause: thrownValue }\n ),\n componentStack,\n null\n )\n dynamicValidation.thrownErrorsOutsideBoundary.push(error)\n } else {\n // There's validation boundary on the component stack,\n // so we know this error didn't block a validation boundary from rendering.\n // However, this error might be hiding be hiding dynamic content that would\n // cause validation to fail.\n const suspenseLocation = hasSuspenseRegex.exec(componentStack)\n if (suspenseLocation) {\n if (suspenseLocation.index < boundaryLocation.index) {\n // There's a Suspense below the validation boundary but above this error's location.\n // This subtree can't fail instant validation because any potential\n // dynamic holes would be guarded by the Suspense anyway,\n // so we can allow this.\n return\n } else {\n // invalid - fallthrough\n }\n }\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because an error prevented the target segment from rendering.`\n const error = addErrorContext(\n new Error(message, { cause: thrownValue }),\n componentStack,\n null // TODO(instant-validation-build): conflicting use of cause\n )\n dynamicValidation.validationPreventingErrors.push(error)\n }\n}\n\nexport function trackDynamicHoleInRuntimeShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateMetadata\\`. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n // TODO(instant-validation): If the page only has holes caused by runtime data,\n // we won't find out if there's a suspense-above-body and error for dynamic viewport\n // even if there is in fact a suspense-above-body\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n }\n\n const message = `Route \"${workStore.route}\": Uncached data or \\`connection()\\` was accessed outside of \\`<Suspense>\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicErrors.push(error)\n return\n}\n\nexport function trackDynamicHoleInStaticShell(\n workStore: WorkStore,\n componentStack: string,\n dynamicValidation: DynamicValidationState,\n clientDynamic: DynamicTrackingState\n) {\n if (hasOutletRegex.test(componentStack)) {\n // We don't need to track that this is dynamic. It is only so when something else is also dynamic.\n return\n } else if (hasMetadataRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateMetadata\\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicMetadata = error\n return\n } else if (hasViewportRegex.test(componentStack)) {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed inside \\`generateViewport\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicErrors.push(error)\n return\n } else if (\n hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex.test(\n componentStack\n )\n ) {\n // For Suspense within body, the prelude wouldn't be empty so it wouldn't violate the empty static shells rule.\n // But if you have Suspense above body, the prelude is empty but we allow that because having Suspense\n // is an explicit signal from the user that they acknowledge the empty shell and want dynamic rendering.\n dynamicValidation.hasAllowedDynamic = true\n dynamicValidation.hasSuspenseAboveBody = true\n return\n } else if (hasSuspenseRegex.test(componentStack)) {\n // this error had a Suspense boundary above it so we don't need to report it as a source\n // of disallowed\n dynamicValidation.hasAllowedDynamic = true\n return\n } else if (clientDynamic.syncDynamicErrorWithStack) {\n // This task was the task that called the sync error.\n dynamicValidation.dynamicErrors.push(\n clientDynamic.syncDynamicErrorWithStack\n )\n return\n } else {\n const message = `Route \"${workStore.route}\": Runtime data such as \\`cookies()\\`, \\`headers()\\`, \\`params\\`, or \\`searchParams\\` was accessed outside of \\`<Suspense>\\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`\n const error = addErrorContext(new Error(message), componentStack, null)\n dynamicValidation.dynamicErrors.push(error)\n return\n }\n}\n\n/**\n * In dev mode, we prefer using the owner stack, otherwise the provided\n * component stack is used.\n *\n * Accepts an already-created Error so the SWC error-code plugin can see the\n * `new Error(...)` call at each call site and auto-assign error codes.\n */\nfunction addErrorContext(\n error: Error,\n componentStack: string,\n createInstantStack: (() => Error) | null\n) {\n const ownerStack =\n process.env.NODE_ENV !== 'production' && React.captureOwnerStack\n ? React.captureOwnerStack()\n : null\n\n if (createInstantStack !== null) {\n error.cause = createInstantStack()\n }\n // TODO go back to owner stack here if available. This is temporarily using componentStack to get the right\n //\n error.stack =\n error.name + ': ' + error.message + (ownerStack || componentStack)\n return error\n}\n\nexport enum PreludeState {\n Full = 0,\n Empty = 1,\n Errored = 2,\n}\n\nexport function logDisallowedDynamicError(\n workStore: WorkStore,\n error: Error\n): void {\n console.error(error)\n\n if (process.env.NODE_ENV !== 'development') {\n console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.\n - Rerun the production build with \\`next build --debug-prerender\\` to generate better stack traces.`)\n } else if (!process.env.__NEXT_DEV_SERVER) {\n console.error(\n `To debug the issue, start the app in development mode by running \\`next dev\\`, then open \"${workStore.route}\" in your browser to investigate the error.`\n )\n }\n}\n\nexport function throwIfDisallowedDynamic(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState,\n serverDynamic: DynamicTrackingState\n): void {\n if (serverDynamic.syncDynamicErrorWithStack) {\n logDisallowedDynamicError(\n workStore,\n serverDynamic.syncDynamicErrorWithStack\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude !== PreludeState.Full) {\n if (dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return\n }\n\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n for (let i = 0; i < dynamicErrors.length; i++) {\n logDisallowedDynamicError(workStore, dynamicErrors[i])\n }\n\n throw new StaticGenBailoutError()\n }\n\n // If we got this far then the only other thing that could be blocking\n // the root is dynamic Viewport. If this is dynamic then\n // you need to opt into that by adding a Suspense boundary above the body\n // to indicate your are ok with fully dynamic rendering.\n if (dynamicValidation.hasDynamicViewport) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateViewport\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) without explicitly allowing fully dynamic rendering. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`\n )\n throw new StaticGenBailoutError()\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n console.error(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason. This is a bug in Next.js.`\n )\n throw new StaticGenBailoutError()\n }\n } else {\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.hasDynamicMetadata\n ) {\n console.error(\n `Route \"${workStore.route}\" has a \\`generateMetadata\\` that depends on Request data (\\`cookies()\\`, etc...) or uncached external data (\\`fetch(...)\\`, etc...) when the rest of the route does not. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`\n )\n throw new StaticGenBailoutError()\n }\n }\n}\n\nexport function getStaticShellDisallowedDynamicReasons(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: DynamicValidationState,\n configAllowsBlocking: boolean\n): Array<Error> {\n if (configAllowsBlocking || dynamicValidation.hasSuspenseAboveBody) {\n // This route has opted into allowing fully dynamic rendering\n // by including a Suspense boundary above the body. In this case\n // a lack of a shell is not considered disallowed so we simply return\n return []\n }\n\n if (prelude !== PreludeState.Full) {\n // We didn't have any sync bailouts but there may be user code which\n // blocked the root. We would have captured these during the prerender\n // and can log them here and then terminate the build/validating render\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n return dynamicErrors\n }\n\n if (prelude === PreludeState.Empty) {\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n // We still adhere to the constraint that you must produce a shell but invite the\n // user to report this as a bug in Next.js.\n return [\n new InvariantError(\n `Route \"${workStore.route}\" did not produce a static shell and Next.js was unable to determine a reason.`\n ),\n ]\n }\n } else {\n // We have a prelude but we might still have dynamic metadata without any other dynamic access\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.dynamicErrors.length === 0 &&\n dynamicValidation.dynamicMetadata\n ) {\n return [dynamicValidation.dynamicMetadata]\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return []\n}\n\nexport function getNavigationDisallowedDynamicReasons(\n workStore: WorkStore,\n prelude: PreludeState,\n dynamicValidation: InstantValidationState,\n validationSampleTracking: InstantValidationSampleTracking | null,\n boundaryState: ValidationBoundaryTracking\n): Array<Error> {\n // If we have errors related to missing samples, those should take precedence over everything else.\n if (validationSampleTracking) {\n const { missingSampleErrors } = validationSampleTracking\n if (missingSampleErrors.length > 0) {\n return missingSampleErrors\n }\n }\n\n const { validationPreventingErrors } = dynamicValidation\n if (validationPreventingErrors.length > 0) {\n return validationPreventingErrors\n }\n\n if (boundaryState.renderedIds.size < boundaryState.expectedIds.size) {\n const { thrownErrorsOutsideBoundary, createInstantStack } =\n dynamicValidation\n if (thrownErrorsOutsideBoundary.length === 0) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering for an unknown reason.`\n const error =\n createInstantStack !== null ? createInstantStack() : new Error()\n error.name = 'Error'\n error.message = message\n return [error]\n } else if (thrownErrorsOutsideBoundary.length === 1) {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to the following error.`\n const error =\n createInstantStack !== null ? createInstantStack() : new Error()\n error.name = 'Error'\n error.message = message\n return [error, thrownErrorsOutsideBoundary[0] as Error]\n } else {\n const message = `Route \"${workStore.route}\": Could not validate \\`unstable_instant\\` because the target segment was prevented from rendering, likely due to one of the following errors.`\n const error =\n createInstantStack !== null ? createInstantStack() : new Error()\n error.name = 'Error'\n error.message = message\n return [error, ...(thrownErrorsOutsideBoundary as Error[])]\n }\n }\n\n // NOTE: We don't care about Suspense above body here,\n // we're only concerned with the validation boundary\n if (prelude !== PreludeState.Full) {\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n return dynamicErrors\n }\n\n if (prelude === PreludeState.Empty) {\n // If a client component suspended prevented us from rendering a shell\n // but didn't block validation, we don't require a prelude.\n if (dynamicValidation.hasAllowedClientDynamicAboveBoundary) {\n return []\n }\n // If we ever get this far then we messed up the tracking of invalid dynamic.\n return [\n new InvariantError(\n `Route \"${workStore.route}\" failed to render during instant validation and Next.js was unable to determine a reason.`\n ),\n ]\n }\n } else {\n const dynamicErrors = dynamicValidation.dynamicErrors\n if (dynamicErrors.length > 0) {\n return dynamicErrors\n }\n\n if (\n dynamicValidation.hasAllowedDynamic === false &&\n dynamicValidation.dynamicMetadata\n ) {\n return [dynamicValidation.dynamicMetadata]\n }\n }\n // We had a non-empty prelude and there are no dynamic holes\n return []\n}\n","import { isHangingPromiseRejectionError } from '../../server/dynamic-rendering-utils'\nimport { isPostpone } from '../../server/lib/router-utils/is-postpone'\nimport { isBailoutToCSRError } from '../../shared/lib/lazy-dynamic/bailout-to-csr'\nimport { isNextRouterError } from './is-next-router-error'\nimport {\n isDynamicPostpone,\n isPrerenderInterruptedError,\n} from '../../server/app-render/dynamic-rendering'\nimport { isDynamicServerError } from './hooks-server-context'\n\nexport function unstable_rethrow(error: unknown): void {\n if (\n isNextRouterError(error) ||\n isBailoutToCSRError(error) ||\n isDynamicServerError(error) ||\n isDynamicPostpone(error) ||\n isPostpone(error) ||\n isHangingPromiseRejectionError(error) ||\n isPrerenderInterruptedError(error)\n ) {\n throw error\n }\n\n if (error instanceof Error && 'cause' in error) {\n unstable_rethrow(error.cause)\n }\n}\n","/**\n * This function should be used to rethrow internal Next.js errors so that they can be handled by the framework.\n * When wrapping an API that uses errors to interrupt control flow, you should use this function before you do any error handling.\n * This function will rethrow the error if it is a Next.js error so it can be handled, otherwise it will do nothing.\n *\n * Read more: [Next.js Docs: `unstable_rethrow`](https://nextjs.org/docs/app/api-reference/functions/unstable_rethrow)\n */\nexport const unstable_rethrow =\n typeof window === 'undefined'\n ? (\n require('./unstable-rethrow.server') as typeof import('./unstable-rethrow.server')\n ).unstable_rethrow\n : (\n require('./unstable-rethrow.browser') as typeof import('./unstable-rethrow.browser')\n ).unstable_rethrow\n","import { ReadonlyURLSearchParams } from './readonly-url-search-params'\n\nexport function unstable_isUnrecognizedActionError(): boolean {\n throw new Error(\n '`unstable_isUnrecognizedActionError` can only be used on the client.'\n )\n}\n\nexport { redirect, permanentRedirect } from './redirect'\nexport { notFound } from './not-found'\nexport { forbidden } from './forbidden'\nexport { unauthorized } from './unauthorized'\nexport { unstable_rethrow } from './unstable-rethrow'\nexport { ReadonlyURLSearchParams }\n\nexport const RedirectType = {\n push: 'push',\n replace: 'replace',\n} as const\n","export * from '../client/components/navigation.react-server'\n"],"names":["ReadonlyURLSearchParams","ReadonlyURLSearchParamsError","Error","constructor","URLSearchParams","append","delete","set","sort","RedirectStatusCode","REDIRECT_ERROR_CODE","isRedirectError","error","digest","split","errorCode","type","destination","slice","join","status","at","statusCode","Number","isNaN","getRedirectError","getRedirectStatusCodeFromError","getRedirectTypeFromError","getURLFromRedirectError","permanentRedirect","redirect","actionAsyncStorage","window","require","undefined","url","TemporaryRedirect","getStore","isAction","PermanentRedirect","HTTPAccessErrorStatus","HTTP_ERROR_FALLBACK_ERROR_CODE","getAccessFallbackErrorTypeByStatus","getAccessFallbackHTTPStatus","isHTTPAccessFallbackError","NOT_FOUND","FORBIDDEN","UNAUTHORIZED","ALLOWED_CODES","Set","Object","values","prefix","httpStatus","has","notFound","DIGEST","forbidden","process","env","__NEXT_EXPERIMENTAL_AUTH_INTERRUPTS","unauthorized","createPromiseWithResolvers","resolve","reject","promise","Promise","res","rej","RenderStage","StagedRenderingController","abortSignal","abandonController","shouldTrackSyncIO","currentStage","syncInterruptReason","staticStageEndTime","Infinity","runtimeStageEndTime","staticStageListeners","earlyRuntimeStageListeners","runtimeStageListeners","dynamicStageListeners","staticStagePromise","earlyRuntimeStagePromise","runtimeStagePromise","dynamicStagePromise","addEventListener","reason","catch","ignoreReject","once","signal","abandonRender","onStage","stage","callback","push","InvariantError","shouldTrackSyncInterrupt","syncInterruptCurrentStageWithReason","abort","advanceStage","getSyncInterruptReason","getStaticStageEndTime","getRuntimeStageEndTime","resolveStaticStage","resolveEarlyRuntimeStage","resolveRuntimeStage","performance","now","timeOrigin","resolveDynamicStage","staticListeners","i","length","earlyRuntimeListeners","runtimeListeners","dynamicListeners","getStagePromise","waitForStage","delayUntilStage","displayName","resolvedValue","ioTriggerPromise","makeDevtoolsIOPromiseFromIOTrigger","ioTrigger","then","bind","delayUntilRuntimeStage","getRuntimeStage","isHangingPromiseRejectionError","makeDevtoolsIOAwarePromise","makeHangingPromise","err","HANGING_PROMISE_REJECTION","HangingPromiseRejectionError","route","expression","abortListenersBySignal","WeakMap","aborted","hangingPromise","_","boundRejection","currentListeners","get","listeners","underlying","requestStore","stagedRendering","setTimeout","EarlyStatic","EarlyRuntime","Runtime","prerenderStore","result","isPostpone","REACT_POSTPONE_TYPE","Symbol","for","$$typeof","BailoutToCSRError","isBailoutToCSRError","BAILOUT_TO_CSR","isNextRouterError","DynamicServerError","isDynamicServerError","DYNAMIC_ERROR_CODE","description","StaticGenBailoutError","isStaticGenBailoutError","NEXT_STATIC_GEN_BAILOUT","code","METADATA_BOUNDARY_NAME","OUTLET_BOUNDARY_NAME","ROOT_LAYOUT_BOUNDARY_NAME","VIEWPORT_BOUNDARY_NAME","atLeastOneTask","scheduleImmediate","scheduleOnNextTick","waitAtLeastOneReactRenderTask","cb","NEXT_RUNTIME","nextTick","setImmediate","r","INSTANT_VALIDATION_BOUNDARY_NAME","DynamicHoleKind","Postpone","PreludeState","abortAndThrowOnSynchronousRequestDataAccess","abortOnSynchronousPlatformIOAccess","accessedDynamicData","annotateDynamicAccess","consumeDynamicAccess","createDynamicTrackingState","createDynamicValidationState","createHangingInputAbortSignal","createInstantValidationState","createRenderInBrowserAbortSignal","formatDynamicAPIAccesses","getFirstDynamicReason","getNavigationDisallowedDynamicReasons","getStaticShellDisallowedDynamicReasons","isDynamicPostpone","isPrerenderInterruptedError","logDisallowedDynamicError","markCurrentScopeAsDynamic","postponeWithTracking","throwIfDisallowedDynamic","throwToInterruptStaticGeneration","trackAllowedDynamicAccess","trackDynamicDataInDynamicRender","trackDynamicHoleInNavigation","trackDynamicHoleInRuntimeShell","trackDynamicHoleInStaticShell","trackThrownErrorInNavigation","useDynamicRouteParams","useDynamicSearchParams","hasPostpone","React","unstable_postpone","isDebugDynamicAccesses","dynamicAccesses","syncDynamicErrorWithStack","hasSuspenseAboveBody","hasDynamicMetadata","dynamicMetadata","hasDynamicViewport","hasAllowedDynamic","dynamicErrors","trackingState","store","workUnitStore","forceDynamic","forceStatic","dynamicShouldError","dynamicTracking","revalidate","dynamicUsageDescription","dynamicUsageStack","stack","NODE_ENV","usedDynamic","abortOnSynchronousDynamicDataAccess","createPrerenderInterruptedError","controller","errorWithStack","prerenderSignal","workUnitAsyncStorage","assertPostpone","createPostponeReason","message","isDynamicPostponeReason","includes","NEXT_PRERENDER_INTERRUPTED","serverDynamic","clientDynamic","filter","access","map","line","AbortController","cacheSignal","inputReady","workStore","workAsyncStorage","fallbackParams","fallbackRouteParams","size","use","renderSignal","throwForMissingRequestStore","hasSuspenseRegex","bodyAndImplicitTags","hasSuspenseBeforeRootLayoutWithoutBodyOrImplicitBodyRegex","RegExp","hasMetadataRegex","hasViewportRegex","hasOutletRegex","hasInstantValidationBoundaryRegex","componentStack","dynamicValidation","test","addErrorContext","createInstantStack","hasAllowedClientDynamicAboveBoundary","validationPreventingErrors","thrownErrorsOutsideBoundary","kind","boundaryState","usageDescription","boundaryLocation","exec","expectedIds","renderedIds","suspenseLocation","index","syncError","cause","thrownValue","ownerStack","captureOwnerStack","name","console","__NEXT_DEV_SERVER","prelude","configAllowsBlocking","validationSampleTracking","missingSampleErrors","unstable_rethrow","RedirectType","unstable_isUnrecognizedActionError","replace"],"mappings":"6CAMc,OAAA,cAAA,CAAA,EAAA,aAAA,oCAaDA,0BAAAA,qCAAAA,IAZb,OAAMC,UAAqCC,MACzCC,aA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S,EAAiB3S,EAD6B,AACvBgS,KAAK,CAEhC,aA1B+C,CAAA,CAAA,IAAA,OACpB,CAAA,CAAA,IAAA,OACS,CAAA,CAAA,IAAA,OACF,CAAA,CAAA,IAAA,MAI3B,CAAA,CAAA,IAAA,OAC8B,CAAA,CAAA,IAAA,wPCFpC,OAAA,cAAA,CAAA,EAAA,aAAA,oCACYW,mBAAAA,qCAAAA,KAAN,IAAMA,EAGLtR,EAAQ,CAAA,CAAA,IAAA,GACRsR,MAHN,OAAOvR,GAGe,GAEhBC,KALY,GAKJ,8BACRsR,gBAAgB,qPCDfvT,uBAAuB,CAAA,kBAAvBA,EAAAA,uBAAuB,EAEnBwT,YAAY,CAAA,kBAAZA,GALJ/P,SAAS,CAAA,kBAATA,EAAAA,SAAS,EADTF,QAAQ,CAAA,kBAARA,EAAAA,QAAQ,EADE1B,iBAAiB,CAAA,kBAAjBA,EAAAA,iBAAiB,EAA3BC,QAAQ,CAAA,kBAARA,EAAAA,QAAQ,EAGR+B,YAAY,CAAA,kBAAZA,EAAAA,YAAY,EATL4P,kCAAkC,CAAA,kBAAlCA,GAUPF,gBAAgB,CAAA,kBAAhBA,EAAAA,gBAAgB,8EAZe,CAAA,CAAA,IAAA,OAQI,CAAA,CAAA,IAAA,OACnB,CAAA,CAAA,IAAA,OACC,CAAA,CAAA,IAAA,OACG,CAAA,CAAA,IAAA,OACI,CAAA,CAAA,IAAA,GAV1B,SAASE,IACd,MAAM,OAAA,cAEL,CAFSvT,AAAJ,MACJ,wEADI,oBAAA,OAAA,kBAAA,iBAAA,CAEN,EACF,CASO,IAAMsT,EAAe,CAC1BvN,KAAM,OACNyN,QAAS,SACX,iPClBc,EAA8C,CAAA,CAAA,YAAA","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js b/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js deleted file mode 100644 index 0b65c0c..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports=[51234,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"handleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},57068,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={WarningIcon:function(){return i},errorStyles:function(){return g},errorThemeCss:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});a.r(33354);let f=a.r(87924);a.r(72131);let g={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},h=` -:root { - --next-error-bg: #fff; - --next-error-text: #171717; - --next-error-title: #171717; - --next-error-message: #171717; - --next-error-digest: #666666; - --next-error-btn-text: #fff; - --next-error-btn-bg: #171717; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #171717; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); -} -@media (prefers-color-scheme: dark) { - :root { - --next-error-bg: #0a0a0a; - --next-error-text: #ededed; - --next-error-title: #ededed; - --next-error-message: #ededed; - --next-error-digest: #a0a0a0; - --next-error-btn-text: #0a0a0a; - --next-error-btn-bg: #ededed; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #ededed; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); - } -} -body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } -`.replace(/\n\s*/g,"");function i(){return(0,f.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:g.icon,children:(0,f.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},40622,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return g}}),a.r(33354);let d=a.r(87924);a.r(72131);let e=a.r(51234),f=a.r(57068),g=function({error:a}){let b=a?.digest,c=!!b;return(0,e.handleISRError)({error:a}),(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{children:(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:f.errorThemeCss}})}),(0,d.jsxs)("body",{children:[(0,d.jsx)("div",{style:f.errorStyles.container,children:(0,d.jsxs)("div",{style:f.errorStyles.card,children:[(0,d.jsx)(f.WarningIcon,{}),(0,d.jsx)("h1",{style:f.errorStyles.title,children:"This page couldn’t load"}),(0,d.jsx)("p",{style:f.errorStyles.message,children:c?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,d.jsxs)("div",{style:f.errorStyles.buttonGroup,children:[(0,d.jsx)("form",{style:f.errorStyles.form,children:(0,d.jsx)("button",{type:"submit",style:f.errorStyles.button,children:"Reload"})}),!c&&(0,d.jsx)("button",{type:"button",style:f.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),b&&(0,d.jsxs)("p",{style:f.errorStyles.digestFooter,children:["ERROR ",b]})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}]; - -//# sourceMappingURL=node_modules_next_dist_client_components_06j6hww._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js.map deleted file mode 100644 index 52c8725..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_06j6hww._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/client/components/handle-isr-error.tsx","../../../../node_modules/next/src/client/components/builtin/error-styles.tsx","../../../../node_modules/next/src/client/components/builtin/global-error.tsx"],"sourcesContent":["const workAsyncStorage =\n typeof window === 'undefined'\n ? (\n require('../../server/app-render/work-async-storage.external') as typeof import('../../server/app-render/work-async-storage.external')\n ).workAsyncStorage\n : undefined\n\n// if we are revalidating we want to re-throw the error so the\n// function crashes so we can maintain our previous cache\n// instead of caching the error page\nexport function handleISRError({ error }: { error: any }) {\n if (workAsyncStorage) {\n const store = workAsyncStorage.getStore()\n if (store?.isStaticGeneration) {\n if (error) {\n console.error(error)\n }\n throw error\n }\n }\n}\n","import React from 'react'\n\nexport const errorStyles = {\n container: {\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n card: {\n marginTop: '-32px',\n maxWidth: '325px',\n padding: '32px 28px',\n textAlign: 'left' as const,\n },\n icon: {\n marginBottom: '24px',\n },\n title: {\n fontSize: '24px',\n fontWeight: 500,\n letterSpacing: '-0.02em',\n lineHeight: '32px',\n margin: '0 0 12px 0',\n color: 'var(--next-error-title)',\n },\n message: {\n fontSize: '14px',\n fontWeight: 400,\n lineHeight: '21px',\n margin: '0 0 20px 0',\n color: 'var(--next-error-message)',\n },\n form: {\n margin: 0,\n },\n buttonGroup: {\n display: 'flex',\n gap: '8px',\n alignItems: 'center',\n },\n button: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-text)',\n background: 'var(--next-error-btn-bg)',\n border: 'var(--next-error-btn-border)',\n },\n buttonSecondary: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: '32px',\n padding: '0 12px',\n fontSize: '14px',\n fontWeight: 500,\n lineHeight: '20px',\n borderRadius: '6px',\n cursor: 'pointer',\n color: 'var(--next-error-btn-secondary-text)',\n background: 'var(--next-error-btn-secondary-bg)',\n border: 'var(--next-error-btn-secondary-border)',\n },\n digestFooter: {\n position: 'fixed' as const,\n bottom: '32px',\n left: '0',\n right: '0',\n textAlign: 'center' as const,\n fontFamily:\n 'ui-monospace,SFMono-Regular,\"SF Mono\",Menlo,Consolas,monospace',\n fontSize: '12px',\n lineHeight: '18px',\n fontWeight: 400,\n margin: '0',\n color: 'var(--next-error-digest)',\n },\n} as const\n\nexport const errorThemeCss = `\n:root {\n --next-error-bg: #fff;\n --next-error-text: #171717;\n --next-error-title: #171717;\n --next-error-message: #171717;\n --next-error-digest: #666666;\n --next-error-btn-text: #fff;\n --next-error-btn-bg: #171717;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #171717;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);\n}\n@media (prefers-color-scheme: dark) {\n :root {\n --next-error-bg: #0a0a0a;\n --next-error-text: #ededed;\n --next-error-title: #ededed;\n --next-error-message: #ededed;\n --next-error-digest: #a0a0a0;\n --next-error-btn-text: #0a0a0a;\n --next-error-btn-bg: #ededed;\n --next-error-btn-border: none;\n --next-error-btn-secondary-text: #ededed;\n --next-error-btn-secondary-bg: transparent;\n --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);\n }\n}\nbody { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\n`.replace(/\\n\\s*/g, '')\n\nexport function WarningIcon() {\n return (\n <svg\n width=\"32\"\n height=\"32\"\n viewBox=\"-0.2 -1.5 32 32\"\n fill=\"none\"\n style={errorStyles.icon}\n >\n <path\n d=\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\"\n fill=\"var(--next-error-title)\"\n />\n </svg>\n )\n}\n","'use client'\n\nimport React from 'react'\nimport { handleISRError } from '../handle-isr-error'\nimport { errorStyles, errorThemeCss, WarningIcon } from './error-styles'\n\nexport type GlobalErrorComponent = React.ComponentType<{\n error: any\n reset: () => void\n unstable_retry: () => void\n}>\n\nfunction DefaultGlobalError({ error }: { error: any }) {\n const digest: string | undefined = error?.digest\n const isServerError = !!digest\n\n const message = isServerError\n ? 'A server error occurred. Reload to try again.'\n : 'Reload to try again, or go back.'\n\n handleISRError({ error })\n\n return (\n <html id=\"__next_error__\">\n <head>\n <style dangerouslySetInnerHTML={{ __html: errorThemeCss }} />\n </head>\n <body>\n <div style={errorStyles.container}>\n <div style={errorStyles.card}>\n <WarningIcon />\n <h1 style={errorStyles.title}>This page couldn’t load</h1>\n <p style={errorStyles.message}>{message}</p>\n <div style={errorStyles.buttonGroup}>\n <form style={errorStyles.form}>\n <button type=\"submit\" style={errorStyles.button}>\n Reload\n </button>\n </form>\n {!isServerError && (\n <button\n type=\"button\"\n style={errorStyles.buttonSecondary}\n onClick={() => {\n if (window.history.length > 1) {\n window.history.back()\n } else {\n window.location.href = '/'\n }\n }}\n >\n Back\n </button>\n )}\n </div>\n </div>\n </div>\n {digest && <p style={errorStyles.digestFooter}>ERROR {digest}</p>}\n </body>\n </html>\n )\n}\n\n// Exported so that the import signature in the loaders can be identical to user\n// supplied custom global error signatures.\nexport default DefaultGlobalError\n"],"names":["handleISRError","workAsyncStorage","window","require","undefined","error","store","getStore","isStaticGeneration","console","WarningIcon","errorStyles","errorThemeCss","container","fontFamily","height","display","alignItems","justifyContent","card","marginTop","maxWidth","padding","textAlign","icon","marginBottom","title","fontSize","fontWeight","letterSpacing","lineHeight","margin","color","message","form","buttonGroup","gap","button","borderRadius","cursor","background","border","buttonSecondary","digestFooter","position","bottom","left","right","replace","svg","width","viewBox","fill","style","path","d","DefaultGlobalError","digest","isServerError","html","id","head","dangerouslySetInnerHTML","__html","body","div","h1","p","type","onClick","history","length","back","location","href"],"mappings":"sHAUgBA,iBAAAA,qCAAAA,KAVhB,IAAMC,EAGEE,EAAQ,CAAA,CAAA,IAAA,GACRF,MAHN,OAAOC,GAGe,CAMjB,EALDE,KAJc,EASJJ,EAAe,OAAEK,CAAK,CAAkB,EACtD,GAAIJ,EAAkB,CACpB,IAAMK,EAAQL,EAAiBM,QAAQ,GACvC,GAAID,GAAOE,mBAIT,CAJ6B,KACzBH,GACFI,IADS,IACDJ,KAAK,CAACA,GAEVA,CAEV,CACF,8SCqGgBK,WAAW,CAAA,kBAAXA,GAvHHC,WAAW,CAAA,kBAAXA,GAuFAC,aAAa,CAAA,kBAAbA,qGAzFK,CAAA,CAAA,IAAA,GAEX,IAAMD,EAAc,CACzBE,UAAW,CACTC,WACE,8FACFC,OAAQ,QACRC,QAAS,OACTC,WAAY,SACZC,eAAgB,QAClB,EACAC,KAAM,CACJC,UAAW,QACXC,SAAU,QACVC,QAAS,YACTC,UAAW,MACb,EACAC,KAAM,CACJC,aAAc,MAChB,EACAC,MAAO,CACLC,SAAU,OACVC,WAAY,IACZC,cAAe,UACfC,WAAY,OACZC,OAAQ,aACRC,MAAO,yBACT,EACAC,QAAS,CACPN,SAAU,OACVC,WAAY,IACZE,WAAY,OACZC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1BrE,CAD6B,MACtBoE,OAAO,CAACE,IAAI,GAEnBtE,OAAOuE,QAAQ,CAACC,IAAI,CAAG,GAE3B,WACD,iBAORjB,GAAU,CAAA,EAAA,EAAA,EAAVA,EAAU,EAACU,IAAAA,CAAEd,EAAbI,IAAoB9C,EAAAA,WAAW,CAACgC,YAAY,WAAE,SAAOc,UAI9D","ignoreList":[0,1,2]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js b/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js deleted file mode 100644 index 6ce9c21..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[53686,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"styles",{enumerable:!0,get:function(){return d}});let d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},72421,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return f}});let d=a.r(7997),e=a.r(53686);function f({status:a,message:b}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("title",{children:`${a}: ${b}`}),(0,d.jsx)("div",{style:e.styles.error,children:(0,d.jsxs)("div",{children:[(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,d.jsx)("h1",{className:"next-error-h1",style:e.styles.h1,children:a}),(0,d.jsx)("div",{style:e.styles.desc,children:(0,d.jsx)("h2",{style:e.styles.h2,children:b})})]})})]})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},79962,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}});let d=a.r(7997),e=a.r(72421);function f(){return(0,d.jsx)(e.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},43619,a=>{a.n(a.i(79962))}]; - -//# sourceMappingURL=node_modules_next_dist_client_components_0inhx6q._.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js.map b/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js.map deleted file mode 100644 index a6ac20c..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/client/components/styles/access-error-styles.ts","../../../../node_modules/next/src/client/components/http-access-fallback/error-fallback.tsx","../../../../node_modules/next/src/client/components/builtin/not-found.tsx"],"sourcesContent":["export const styles: Record<string, React.CSSProperties> = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily:\n 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n },\n\n desc: {\n display: 'inline-block',\n },\n\n h1: {\n display: 'inline-block',\n margin: '0 20px 0 0',\n padding: '0 23px 0 0',\n fontSize: 24,\n fontWeight: 500,\n verticalAlign: 'top',\n lineHeight: '49px',\n },\n\n h2: {\n fontSize: 14,\n fontWeight: 400,\n lineHeight: '49px',\n margin: 0,\n },\n}\n","import { styles } from '../styles/access-error-styles'\n\nexport function HTTPAccessErrorFallback({\n status,\n message,\n}: {\n status: number\n message: string\n}) {\n return (\n <>\n {/* <head> */}\n <title>{`${status}: ${message}`}\n {/* */}\n
\n
\n \n

\n {status}\n

\n
\n

{message}

\n
\n
\n
\n \n )\n}\n","import { HTTPAccessErrorFallback } from '../http-access-fallback/error-fallback'\n\nexport default function NotFound() {\n return (\n \n )\n}\n"],"names":["styles","error","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","desc","h1","margin","padding","fontSize","fontWeight","verticalAlign","lineHeight","h2","HTTPAccessErrorFallback","status","message","title","div","style","dangerouslySetInnerHTML","__html","className","NotFound"],"mappings":"sHAAaA,SAAAA,qCAAAA,KAAN,IAAMA,EAA8C,CACzDC,MAAO,CAELC,WACE,8FACFC,OAAQ,QACRC,UAAW,SACXC,QAAS,OACTC,cAAe,SACfC,WAAY,SACZC,eAAgB,QAClB,EAEAC,KAAM,CACJJ,QAAS,cACX,EAEAK,GAAI,CACFL,QAAS,eACTM,OAAQ,aACRC,QAAS,aACTC,SAAU,GACVC,WAAY,IACZC,cAAe,MACfC,WAAY,MACd,EAEAC,GAAI,CACFJ,SAAU,GACVC,WAAY,IACZE,WAAY,OACZL,OAAQ,CACV,CACF,gUC/BgBO,0BAAAA,qCAAAA,yBAFO,CAAA,CAAA,IAAA,GAEhB,SAASA,EAAwB,QACtCC,CAAM,SACNC,CAAO,CAIR,EACC,MACE,CADF,AACE,EAAA,EAAA,IAAA,EAAA,CADF,CACE,QAAA,CAAA,WAEE,CAAA,EAAA,EAAA,GAAA,EAACC,QAAAA,UAAO,CAAA,EAAGF,EAAO,EAAE,EAAEC,EAAAA,CAAS,GAE/B,CAAA,EAAA,EAAA,GAAA,EAACE,MAAAA,CAAIC,MAAOvB,EAAAA,MAAM,CAACC,KAAK,UACtB,CAAA,EAAA,EAAA,IAAA,EAACqB,CAAD,KAACA,WACC,CAAA,EAAA,EAAA,GAAA,EAACC,QAAAA,CACCC,wBAAyB,CAcvBC,OAAQ,CAAC,6NAA6N,CAAC,AACzO,IAEF,CAAA,EAAA,EAAA,GAAA,EAACf,KAAAA,CAAGgB,UAAU,gBAAgBH,MAAOvB,EAAAA,MAAM,CAACU,EAAE,UAC3CS,IAEH,CAAA,EAAA,EAAA,GAAA,EAACG,MAAAA,CAAIC,MAAOvB,EAAAA,MAAM,CAACS,IAAI,UACrB,CAAA,EAAA,EAAA,GAAA,EAACQ,EAAD,GAACA,CAAGM,MAAOvB,EAAAA,MAAM,CAACiB,EAAE,UAAGG,aAMnC,+TC1CA,UAAA,qCAAwBO,yBAFgB,CAAA,CAAA,IAAA,GAEzB,SAASA,IACtB,MACE,CADF,AACE,EAAA,EAAA,GAAA,EAACT,EADH,AACGA,uBAAuB,CAAA,CACtBC,OAAQ,IACRC,QAAQ,iCAGd","ignoreList":[0,1,2]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js b/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js deleted file mode 100644 index 241d5b2..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[85523,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return f}});let d=a.r(7997),e=a.r(72421);function f(){return(0,d.jsx)(e.HTTPAccessErrorFallback,{status:403,message:"This page could not be accessed."})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},13718,a=>{a.n(a.i(85523))}]; - -//# sourceMappingURL=node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js.map b/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js.map deleted file mode 100644 index 1c8b12f..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/src/client/components/builtin/forbidden.tsx"],"sourcesContent":["import { HTTPAccessErrorFallback } from '../http-access-fallback/error-fallback'\n\nexport default function Forbidden() {\n return (\n \n )\n}\n"],"names":["Forbidden","HTTPAccessErrorFallback","status","message"],"mappings":"sHAEA,UAAA,qCAAwBA,yBAFgB,CAAA,CAAA,IAAA,GAEzB,SAASA,IACtB,MACE,CADF,AACE,EAAA,EAAA,GAAA,EAACC,EADH,AACGA,uBAAuB,CAAA,CACtBC,OAAQ,IACRC,QAAQ,oCAGd","ignoreList":[0]} \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js b/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js deleted file mode 100644 index 34a0e33..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports=[4276,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/components/builtin/global-error.js "))},82509,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(11857);a.n(d("[project]/node_modules/next/dist/client/components/builtin/global-error.js"))},66114,a=>{"use strict";a.i(4276);var b=a.i(82509);a.n(b)},62212,a=>{a.n(a.i(66114))}]; - -//# sourceMappingURL=node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js.map \ No newline at end of file diff --git a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js.map b/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js.map deleted file mode 100644 index 28f8da4..0000000 --- a/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../../node_modules/next/dist/client/components/builtin/global-error.js/__nextjs-internal-proxy.cjs","../../../../node_modules/next/src/client/components/builtin/global-error.tsx"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nconst { createClientModuleProxy } = require(\"react-server-dom-turbopack/server\");\n\n__turbopack_context__.n(createClientModuleProxy(\"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"));\n","'use client'\n\nimport React from 'react'\nimport { handleISRError } from '../handle-isr-error'\nimport { errorStyles, errorThemeCss, WarningIcon } from './error-styles'\n\nexport type GlobalErrorComponent = React.ComponentType<{\n error: any\n reset: () => void\n unstable_retry: () => void\n}>\n\nfunction DefaultGlobalError({ error }: { error: any }) {\n const digest: string | undefined = error?.digest\n const isServerError = !!digest\n\n const message = isServerError\n ? 'A server error occurred. Reload to try again.'\n : 'Reload to try again, or go back.'\n\n handleISRError({ error })\n\n return (\n \n \n

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/pages/500.html b/.next/server/pages/500.html deleted file mode 100644 index 3422948..0000000 --- a/.next/server/pages/500.html +++ /dev/null @@ -1 +0,0 @@ -500: This page couldn’t load

This page couldn’t load

A server error occurred. Reload to try again.

\ No newline at end of file diff --git a/.next/server/prefetch-hints.json b/.next/server/prefetch-hints.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.next/server/prefetch-hints.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.next/server/server-reference-manifest.js b/.next/server/server-reference-manifest.js deleted file mode 100644 index 12e7845..0000000 --- a/.next/server/server-reference-manifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 75341,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/about-us/page\": {\n \"moduleId\": 16945,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/air-freight/page\": {\n \"moduleId\": 67113,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/blog/[slug]/page\": {\n \"moduleId\": 68232,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/blog/page\": {\n \"moduleId\": 62245,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/contact/page\": {\n \"moduleId\": 8829,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/cookie-policy/page\": {\n \"moduleId\": 78012,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/doormile-wings/page\": {\n \"moduleId\": 64668,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/empowerment/page\": {\n \"moduleId\": 61215,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/express/page\": {\n \"moduleId\": 88309,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/how-it-works/page\": {\n \"moduleId\": 1090,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/miletruth/page\": {\n \"moduleId\": 59753,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/page\": {\n \"moduleId\": 71970,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/privacy-policy/page\": {\n \"moduleId\": 84290,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/solutions/page\": {\n \"moduleId\": 44019,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n },\n \"app/terms-of-service/page\": {\n \"moduleId\": 61702,\n \"async\": false,\n \"exportedName\": \"sendEmailAction\",\n \"filename\": \"src/actions/sendEmail.ts\"\n }\n },\n \"filename\": \"src/actions/sendEmail.ts\",\n \"exportedName\": \"sendEmailAction\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"ucYs79UXfiELBqQuu8v+QxtnPUiD5HroqrMgfeQPhZw=\"\n}" \ No newline at end of file diff --git a/.next/server/server-reference-manifest.json b/.next/server/server-reference-manifest.json deleted file mode 100644 index ce46e16..0000000 --- a/.next/server/server-reference-manifest.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "node": { - "40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca": { - "workers": { - "app/_not-found/page": { - "moduleId": 75341, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/about-us/page": { - "moduleId": 16945, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/air-freight/page": { - "moduleId": 67113, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/blog/[slug]/page": { - "moduleId": 68232, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/blog/page": { - "moduleId": 62245, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/contact/page": { - "moduleId": 8829, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/cookie-policy/page": { - "moduleId": 78012, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/doormile-wings/page": { - "moduleId": 64668, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/empowerment/page": { - "moduleId": 61215, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/express/page": { - "moduleId": 88309, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/how-it-works/page": { - "moduleId": 1090, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/miletruth/page": { - "moduleId": 59753, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/page": { - "moduleId": 71970, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/privacy-policy/page": { - "moduleId": 84290, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/solutions/page": { - "moduleId": 44019, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - }, - "app/terms-of-service/page": { - "moduleId": 61702, - "async": false, - "exportedName": "sendEmailAction", - "filename": "src/actions/sendEmail.ts" - } - }, - "filename": "src/actions/sendEmail.ts", - "exportedName": "sendEmailAction" - } - }, - "edge": {}, - "encryptionKey": "ucYs79UXfiELBqQuu8v+QxtnPUiD5HroqrMgfeQPhZw=" -} \ No newline at end of file diff --git a/.next/static/chunks/0-kxqnmnjtk7l.js b/.next/static/chunks/0-kxqnmnjtk7l.js deleted file mode 100644 index 1686cf0..0000000 --- a/.next/static/chunks/0-kxqnmnjtk7l.js +++ /dev/null @@ -1,57 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69986,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(75056),i=e.i(25234),s=e.i(79877),o=e.i(33623),a=e.i(90072);let l="#08080c",c="#C01227",u="#E2354A",d="#7E1420",p="#F2667A",h="#3c3c46",m="#6a6a76",f="#43434d",x="#7c7c86",g="#22C55E",y="#FFFFFF",M=[c,f,x,f,x,f],b=["Multi-Trip","Proximity","Balanced","Fuel Saver","EV-Aware","Time-Aware"],j=[{at:0,pos:[0,20,27],look:[0,1.4,0]},{at:.13,pos:[-2.5,20,26.5],look:[-.5,1.2,0]},{at:.28,pos:[3,18.5,25.5],look:[.6,.8,-.8]},{at:.44,pos:[0,23,24.5],look:[0,1,0]},{at:.6,pos:[2.5,21,25.5],look:[0,1.2,0]},{at:.74,pos:[-2,20,26.5],look:[0,1.2,0]},{at:.88,pos:[0,22,25.5],look:[0,1.8,0]},{at:1,pos:[0,21.5,25.5],look:[0,2,0]}];function v(e){return e<0?0:e>1?1:e}function w(e,t,r){let n=v((r-e)/(t-e||1));return n*n*(3-2*n)}function A(e,t,r,n){return e+(t-e)*(1-Math.exp(-r*n))}function B(e){let t=43758.5453*Math.sin(127.1*e+311.7);return t-Math.floor(t)}function z(e,t=0){let r=new Float32Array(3*e),n=Math.PI*(3-Math.sqrt(5));for(let i=0;iz(j,.18),[j]),S=(0,r.useMemo)(()=>z(B,.55),[B]),W=(0,r.useMemo)(()=>z(Math.floor(.6*B),.7),[B]);return(0,i.useFrame)((t,r)=>{let n=e.current??0;b.current=A(b.current,n,3,r);let i=b.current,a=t.clock.elapsedTime,u=s.current;if(!u)return;let d=w(0,.13,i),p=w(.44,.5,i)*(1-w(.74,.88,i)),h=w(.88,1,i),m=.5*(.001+.999*d)*(1-.32*p)*(1+.18*h)*(1+.03*Math.sin(.9*a));if(u.scale.setScalar(m),u.position.y=3+.18*Math.sin(.6*a),u.rotation.y=.12*a,o.current&&o.current.rotation.set(.18*a,.24*a,0),l.current&&l.current.rotation.set(-(.22*a),.16*a,.1*a),x.current&&(x.current.rotation.y=.06*a),g.current&&(g.current.rotation.y=.35*a,g.current.rotation.x=.3*Math.sin(.2*a)),M.current&&(M.current.rotation.y=-(.28*a),M.current.rotation.z=.18*a),c.current){let e=1+.06*Math.sin(1.6*a)+.4*h;c.current.scale.setScalar(e)}f.current&&(f.current.opacity=v(.22+.05*Math.sin(1.6*a)+.25*h)*d)}),(0,t.jsxs)("group",{ref:s,position:[0,3,0],children:[(0,t.jsxs)("mesh",{children:[(0,t.jsx)("sphereGeometry",{args:[.95,24,24]}),(0,t.jsx)("meshBasicMaterial",{color:d,transparent:!0,opacity:.18,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{children:[(0,t.jsx)("sphereGeometry",{args:[.42,24,24]}),(0,t.jsx)("meshBasicMaterial",{color:y,transparent:!0,opacity:.9,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{ref:o,children:[(0,t.jsx)("icosahedronGeometry",{args:[1.35,1]}),(0,t.jsx)("meshBasicMaterial",{color:u,wireframe:!0,transparent:!0,opacity:.55,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{ref:l,children:[(0,t.jsx)("icosahedronGeometry",{args:[1.7,2]}),(0,t.jsx)("meshBasicMaterial",{color:h,wireframe:!0,transparent:!0,opacity:.32,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("points",{ref:x,children:[(0,t.jsx)("bufferGeometry",{children:(0,t.jsx)("bufferAttribute",{attach:"attributes-position",args:[R,3]})}),(0,t.jsx)("pointsMaterial",{size:n?.05:.045,color:p,transparent:!0,opacity:.85,sizeAttenuation:!0,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("points",{ref:g,scale:1.6,children:[(0,t.jsx)("bufferGeometry",{children:(0,t.jsx)("bufferAttribute",{attach:"attributes-position",args:[S,3]})}),(0,t.jsx)("pointsMaterial",{size:.04,color:u,transparent:!0,opacity:.6,sizeAttenuation:!0,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("points",{ref:M,scale:2,children:[(0,t.jsx)("bufferGeometry",{children:(0,t.jsx)("bufferAttribute",{attach:"attributes-position",args:[W,3]})}),(0,t.jsx)("pointsMaterial",{size:.035,color:m,transparent:!0,opacity:.45,sizeAttenuation:!0,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{ref:c,rotation:[Math.PI/2,0,0],children:[(0,t.jsx)("ringGeometry",{args:[2.1,2.25,64]}),(0,t.jsx)("meshBasicMaterial",{ref:f,color:u,transparent:!0,opacity:.22,side:a.DoubleSide,blending:a.AdditiveBlending,depthWrite:!1})]})]})}),S=new a.Object3D,W=new a.Color,k=` - attribute vec3 aSize; - attribute float aSeed; - varying vec2 vWinUv; - varying vec3 vWinNrm; - varying vec3 vWinSize; - varying float vWinSeed; -`,G=` - vWinUv = uv; - vWinNrm = normal; - vWinSize = aSize; - vWinSeed = aSeed; -`,C=` - uniform float uTime; - varying vec2 vWinUv; - varying vec3 vWinNrm; - varying vec3 vWinSize; - varying float vWinSeed; - float h11(float p){ p = fract(p*0.1031); p *= p+33.33; p *= p+p; return fract(p); } - float h21(vec2 p){ vec3 p3 = fract(vec3(p.xyx)*0.1031); p3 += dot(p3, p3.yzx+33.33); return fract((p3.x+p3.y)*p3.z); } -`,I=` - // facade tint varies per building — dark neutral charcoal (brand: near-black) - vec3 baseA = vec3(0.040, 0.040, 0.048); - vec3 baseB = vec3(0.065, 0.058, 0.066); - diffuseColor.rgb = mix(baseA, baseB, h11(vWinSeed*1.7)); - - // windows only on the four vertical faces (skip roof/floor) - float isVert = 1.0 - step(0.5, abs(vWinNrm.y)); - vec2 faceDim = abs(vWinNrm.x) > 0.5 ? vec2(vWinSize.z, vWinSize.y) : vec2(vWinSize.x, vWinSize.y); - vec2 cells = max(vec2(1.0), floor(faceDim / 0.52)); - vec2 g = vWinUv * cells; - vec2 id = floor(g); - vec2 f = fract(g); - float m = 0.16; // mullion margin - float pane = step(m, f.x) * step(f.x, 1.0 - m) * step(m, f.y) * step(f.y, 1.0 - m); - - float rnd = h21(id + vWinSeed * 37.0); - float lit = step(0.68, rnd); // ~32% of windows lit (dimmer skyline backdrop) - float toggle = step(0.97, h21(id * 1.31 + vWinSeed * 5.0 + floor(uTime * 0.5))); - lit = clamp(lit + toggle, 0.0, 1.0); // a few flick on/off over time - float flick = 0.9 + 0.1 * sin(uTime * 2.0 + rnd * 30.0); - - // Brand-tinted windows: mostly warm white with occasional brand-red panes. - vec3 warmWhite = vec3(1.0, 0.88, 0.80); - vec3 brandRed = vec3(0.82, 0.18, 0.24); - vec3 wcol = mix(warmWhite, brandRed, step(0.7, h21(id * 0.7 + vWinSeed))); - - float glow = isVert * pane * lit * flick; - totalEmissiveRadiance += wcol * glow * 0.85; - - // dark mullion grid + dimmer unlit glass - diffuseColor.rgb *= (0.42 + 0.58 * pane); -`,F=r.default.memo(function({progress:e,isMobile:n=!1}){let s=(0,r.useRef)(null),o=(0,r.useRef)(null),l=(0,r.useRef)(null),p=(0,r.useRef)(null),m=(0,r.useRef)(null),f=(0,r.useRef)(null),x=(0,r.useRef)(null),g=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),j=(0,r.useRef)(0),v=n?20:34,z=(0,r.useMemo)(()=>{let e=[];for(let t=0;t3.4&&B(13.3*t)>.42,d=u?.62*l:l,p=Math.floor(4*B(17.7*t))*Math.PI/8+.12*B(4.1*t),h=l>5;e.push({x:i,z:s,w:o,d:a,h:l,bodyH:d,rot:p,ci:c,tier:u,tall:h})}let t=e.filter(e=>e.tier),r=e.filter(e=>e.tall),n=new a.BoxGeometry(1,1,1),i=new Float32Array(3*v),s=new Float32Array(v);e.forEach((e,t)=>{i[3*t]=e.w,i[3*t+1]=e.bodyH,i[3*t+2]=e.d,s[t]=10*B(23.1*t)}),n.setAttribute("aSize",new a.InstancedBufferAttribute(i,3)),n.setAttribute("aSeed",new a.InstancedBufferAttribute(s,1));let o=new a.BoxGeometry(1,1,1),l=new Float32Array(3*Math.max(1,t.length)),c=new Float32Array(Math.max(1,t.length));return t.forEach((e,t)=>{let r=.64*e.w,n=.64*e.d,i=e.h-e.bodyH;l[3*t]=r,l[3*t+1]=i,l[3*t+2]=n,c[t]=10*B(29.7*t)}),o.setAttribute("aSize",new a.InstancedBufferAttribute(l,3)),o.setAttribute("aSeed",new a.InstancedBufferAttribute(c,1)),{buildings:e,tierList:t,tallList:r,bodyGeom:n,tierGeom:o}},[v]),R=(0,r.useMemo)(()=>{let e=new a.MeshStandardMaterial({color:"#0c1226",emissive:"#000000",metalness:.35,roughness:.62});return e.onBeforeCompile=e=>{e.uniforms.uTime={value:0},b.current=e,e.vertexShader=e.vertexShader.replace("#include ",`#include -${k}`).replace("#include ",`#include -${G}`),e.fragmentShader=e.fragmentShader.replace("#include ",`#include -${C}`).replace("#include ",`#include -${I}`)},e},[]),F=(0,r.useMemo)(()=>{let e=[];for(let t=0;t<12;t++){let r=t/12*Math.PI*2,n=19*(.72+.26*B(4.4*t));e.push(+Math.cos(r),.04,+Math.sin(r)),e.push(Math.cos(r)*n,.04,Math.sin(r)*n)}for(let t of[3.5,7,11,15])for(let r=0;r<64;r++){let n=r/64*Math.PI*2,i=(r+1)/64*Math.PI*2;e.push(Math.cos(n)*t,.04,Math.sin(n)*t),e.push(Math.cos(i)*t,.04,Math.sin(i)*t)}let t=new a.BufferGeometry;return t.setAttribute("position",new a.Float32BufferAttribute(e,3)),t},[]);return(0,r.useLayoutEffect)(()=>{let{buildings:e,tierList:t,tallList:r}=z;o.current&&(e.forEach((e,t)=>{S.position.set(e.x,e.bodyH/2,e.z),S.rotation.set(0,e.rot,0),S.scale.set(e.w,e.bodyH,e.d),S.updateMatrix(),o.current.setMatrixAt(t,S.matrix)}),o.current.instanceMatrix.needsUpdate=!0),l.current&&(t.forEach((e,t)=>{let r=e.h-e.bodyH;S.position.set(e.x,e.bodyH+r/2,e.z),S.rotation.set(0,e.rot,0),S.scale.set(.64*e.w,r,.64*e.d),S.updateMatrix(),l.current.setMatrixAt(t,S.matrix)}),l.current.instanceMatrix.needsUpdate=!0),p.current&&(e.forEach((e,t)=>{let r=e.h,n=e.tier?.64*e.w:e.w,i=e.tier?.64*e.d:e.d;S.position.set(e.x,r+.03,e.z),S.rotation.set(0,e.rot,0),S.scale.set(1.02*n,.07,1.02*i),S.updateMatrix(),p.current.setMatrixAt(t,S.matrix),p.current.setColorAt(t,W.set(M[e.ci]))}),p.current.instanceMatrix.needsUpdate=!0,p.current.instanceColor&&(p.current.instanceColor.needsUpdate=!0)),m.current&&f.current&&(r.forEach((e,t)=>{S.position.set(e.x,e.h+.34,e.z),S.rotation.set(0,0,0),S.scale.set(.05,.68,.05),S.updateMatrix(),m.current.setMatrixAt(t,S.matrix),S.position.set(e.x,e.h+.7,e.z),S.scale.set(1,1,1),S.updateMatrix(),f.current.setMatrixAt(t,S.matrix)}),m.current.instanceMatrix.needsUpdate=!0,f.current.instanceMatrix.needsUpdate=!0)},[z]),(0,i.useFrame)((t,r)=>{let n=e.current??0;j.current=A(j.current,n,3,r);let i=j.current,o=t.clock.elapsedTime;b.current&&(b.current.uniforms.uTime.value=o);let a=w(.01,.15,i);s.current&&(s.current.scale.y=.001+.999*a),f.current&&(f.current.material.opacity=(.5+.3*Math.sin(2.2*o))*a),x.current&&(x.current.opacity=(0+.6*w(.02,.13,i))*(.78+.22*Math.sin(2.2*o)));let l=w(0,.13,i);if(g.current){let e=1+.35*o%1*6;g.current.scale.set(e,e,e),g.current.material.opacity=(1-.35*o%1)*.28*l}if(y.current){let e=1+(.35*o+.5)%1*6;y.current.scale.set(e,e,e),y.current.material.opacity=(1-(.35*o+.5)%1)*.28*l}}),(0,t.jsxs)("group",{children:[(0,t.jsx)("gridHelper",{args:[49.4,60,d,d],position:[0,0,0],children:(0,t.jsx)("lineBasicMaterial",{attach:"material",color:d,transparent:!0,opacity:.11,depthWrite:!1})}),(0,t.jsx)("lineSegments",{geometry:F,children:(0,t.jsx)("lineBasicMaterial",{ref:x,color:u,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})}),(0,t.jsxs)("mesh",{ref:g,rotation:[-Math.PI/2,0,0],position:[0,.03,0],children:[(0,t.jsx)("ringGeometry",{args:[1,1.12,48]}),(0,t.jsx)("meshBasicMaterial",{color:u,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{ref:y,rotation:[-Math.PI/2,0,0],position:[0,.03,0],children:[(0,t.jsx)("ringGeometry",{args:[1,1.12,48]}),(0,t.jsx)("meshBasicMaterial",{color:h,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("group",{ref:s,children:[(0,t.jsx)("instancedMesh",{ref:o,args:[z.bodyGeom,R,z.buildings.length]}),z.tierList.length>0&&(0,t.jsx)("instancedMesh",{ref:l,args:[z.tierGeom,R,z.tierList.length]}),(0,t.jsxs)("instancedMesh",{ref:p,args:[void 0,void 0,z.buildings.length],children:[(0,t.jsx)("boxGeometry",{args:[1,1,1]}),(0,t.jsx)("meshBasicMaterial",{toneMapped:!1,transparent:!0,opacity:.9,blending:a.AdditiveBlending})]}),z.tallList.length>0&&(0,t.jsxs)("instancedMesh",{ref:m,args:[void 0,void 0,z.tallList.length],children:[(0,t.jsx)("boxGeometry",{args:[1,1,1]}),(0,t.jsx)("meshStandardMaterial",{color:"#11182c",metalness:.7,roughness:.4})]}),z.tallList.length>0&&(0,t.jsxs)("instancedMesh",{ref:f,args:[void 0,void 0,z.tallList.length],children:[(0,t.jsx)("sphereGeometry",{args:[.07,8,8]}),(0,t.jsx)("meshBasicMaterial",{color:c,toneMapped:!1,transparent:!0,opacity:.8,blending:a.AdditiveBlending,depthWrite:!1})]})]})]})});var P=e.i(60099);let V=[98,76,84,68,58,90],E={display:"flex",alignItems:"center",gap:"6px",padding:"4px 11px",borderRadius:"999px",background:"rgba(7,11,22,0.72)",border:"1px solid rgba(255,255,255,0.16)",color:"#eaf2ff",fontSize:"11px",fontWeight:600,letterSpacing:"0.04em",whiteSpace:"nowrap",backdropFilter:"blur(6px)",WebkitBackdropFilter:"blur(6px)",fontFamily:"var(--font-space-grotesk), system-ui, sans-serif",opacity:0,pointerEvents:"none",willChange:"opacity"},T=.36,U=new a.Color(g),L=new a.Color("#F59E0B"),H=new a.Color(c),D=new a.Color,$=r.default.memo(function({progress:e,isMobile:n=!1}){let s=(0,r.useRef)(0),o=(0,r.useRef)([]),l=(0,r.useRef)([]),d=(0,r.useRef)(null),h=(0,r.useRef)(null),m=(0,r.useRef)(null),f=(0,r.useRef)(null),x=(0,r.useRef)(null),j=(0,r.useRef)(null),z=(0,r.useMemo)(()=>M.map((e,t)=>{let r,n,i,s,o,l;return r=t/M.length*Math.PI*2+.4,n=9+4*B(6.1*t),i=new a.Vector3(Math.cos(r)*n,.16,Math.sin(r)*n),s=(B(3.7*t)-.5)*5,o=new a.Vector3(Math.cos(r)*n*.4+Math.cos(r+Math.PI/2)*s,.18,Math.sin(r)*n*.4+Math.sin(r+Math.PI/2)*s),l=new a.Vector3(0,.2,0),new a.CatmullRomCurve3([l,o,i])}),[]),R=(0,r.useMemo)(()=>z.map(e=>new a.TubeGeometry(e,60,.05,8,!1)),[z]),S=(0,r.useMemo)(()=>new a.CatmullRomCurve3([new a.Vector3(-11,.3,7),new a.Vector3(-4,.3,3),new a.Vector3(2.6,.3,-1.2),new a.Vector3(9.5,.3,-6.5)]),[]),W=(0,r.useMemo)(()=>new a.TubeGeometry(S,70,.07,8,!1),[S]),k=(0,r.useMemo)(()=>{let e=new a.CatmullRomCurve3([new a.Vector3(-11,.3,7),new a.Vector3(-3.5,.3,1.5),new a.Vector3(2.6,.6,-1.2),new a.Vector3(6.5,.3,-3),new a.Vector3(9.5,.3,-6.5)]);return new a.TubeGeometry(e,80,.08,8,!1)},[]),G=(0,r.useMemo)(()=>new a.Vector3(2.6,0,-1.2),[]),C=(0,r.useMemo)(()=>new a.Vector3,[]),I=(0,r.useMemo)(()=>M.map(e=>new a.Color(e)),[]),F=(0,r.useMemo)(()=>new a.Color(c),[]),$=(0,r.useRef)([]),N=(0,r.useRef)([]),O=(0,r.useRef)(null),_=(0,r.useMemo)(()=>z.map(e=>{let t=e.getPointAt(.82).clone();return t.y+=1,t}),[z]);return(0,i.useFrame)((t,r)=>{let n=e.current??0;s.current=A(s.current,n,3.2,r);let i=s.current,a=t.clock.elapsedTime,c=w(.1,.18,i),u=w(.13,.18,i),p=w(.28,.33,i),g=w(.6,.74,i),y=w(.74,.8,i),M=v((i-.74)/.26),b=w(.97,1,i);for(let e=0;e.02;if(r.visible=n,!n)continue;let i=((.14*a+.34*t)%1+1)%1;e.getPointAt(i,C),r.position.set(C.x,.3,C.z),e.getPointAt(Math.min(.999,i+.02),C),r.lookAt(C.x,.3,C.z),r.scale.setScalar(1e-4+w(0,.12,M)*(1-b))}}let R=w(.26,.28+.03,i),W=1-w(.46,.54,i),G=w(T-.015,T+.03,i),P=R*W,V=v((i-.28)/.15999999999999998);if(d.current){let e=G>.5?k.parameters.path:S;e.getPointAt(v(V),C),d.current.position.set(C.x,.32,C.z),e.getPointAt(v(V+.01),C),d.current.lookAt(C.x,.32,C.z),d.current.visible=P>.02,d.current.scale.setScalar(1e-4+P)}let E=v((i-.28)/(T-.28)),_=G>0?.14+.86*G:v(1-.92*E);if(h.current&&(h.current.scale.x=.02+.98*_,h.current.position.x=-.18*(1-_)),m.current&&(_>.5?D.copy(L).lerp(U,(_-.5)*2):D.copy(H).lerp(L,2*_),m.current.color.copy(D)),x.current){let e=w(T-.06,T,i);x.current.opacity=.55*Math.max(.4*R,e)*P*(1-G)*(.7+.3*Math.sin(5*a))}if(j.current&&(j.current.opacity=P*G*(.65+.25*Math.sin(3*a))),f.current&&(f.current.scale.y=1e-4+G,f.current.visible=G>.01&&W>.02),O.current){let e=G*W;O.current.style.opacity=e.toFixed(3),O.current.style.display=e<.02?"none":"flex"}}),(0,t.jsxs)("group",{children:[R.map((e,r)=>(0,t.jsxs)("group",{children:[(0,t.jsx)("mesh",{geometry:e,children:(0,t.jsx)("meshBasicMaterial",{ref:e=>{o.current[r]=e},color:M[r],toneMapped:!1,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})}),(0,t.jsxs)("mesh",{ref:e=>{l.current[r]=e},children:[(0,t.jsx)("sphereGeometry",{args:[1,12,12]}),(0,t.jsx)("meshBasicMaterial",{color:y,toneMapped:!1,transparent:!0,opacity:.95,blending:a.AdditiveBlending,depthWrite:!1})]})]},r)),_.map((e,r)=>{let i=0===r,s=4===r;if(n)return null;let o=i||s?c:M[r];return(0,t.jsx)(P.Html,{position:[e.x,e.y,e.z],center:!0,zIndexRange:[30,0],style:{pointerEvents:"none"},children:(0,t.jsxs)("div",{ref:e=>{N.current[r]=e},style:{...E,border:i?"1px solid rgba(226,53,66,0.85)":s?"1px solid rgba(239,68,68,0.7)":E.border,background:i?"rgba(28,8,11,0.85)":E.background,boxShadow:i?"0 0 22px rgba(192,18,39,0.6)":"none"},children:[(0,t.jsx)("span",{style:{width:7,height:7,borderRadius:"50%",background:o,boxShadow:`0 0 8px ${o}`}}),b[r],(0,t.jsx)("span",{style:{fontWeight:800,color:s?"#fca5a5":"#fff",marginLeft:2},children:V[r]}),i?(0,t.jsx)("span",{style:{color:"#4ade80",fontWeight:700},children:" ✓ Best"}):null,s?(0,t.jsx)("span",{style:{color:"#fca5a5",fontWeight:700},children:" ✕ Over range"}):null]})},`lbl${r}`)}),(0,t.jsx)("mesh",{geometry:W,children:(0,t.jsx)("meshBasicMaterial",{ref:x,color:c,toneMapped:!1,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})}),(0,t.jsx)("mesh",{geometry:k,children:(0,t.jsx)("meshBasicMaterial",{ref:j,color:g,toneMapped:!1,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})}),(0,t.jsxs)("group",{ref:f,position:G,visible:!1,children:[(0,t.jsxs)("mesh",{position:[0,.55,0],children:[(0,t.jsx)("boxGeometry",{args:[.32,1.1,.32]}),(0,t.jsx)("meshStandardMaterial",{color:"#0e1b14",emissive:g,emissiveIntensity:.6,metalness:.4,roughness:.5})]}),(0,t.jsxs)("mesh",{position:[0,1.18,0],children:[(0,t.jsx)("boxGeometry",{args:[.5,.18,.42]}),(0,t.jsx)("meshBasicMaterial",{color:g,toneMapped:!1,transparent:!0,opacity:.9,blending:a.AdditiveBlending})]}),(0,t.jsxs)("mesh",{rotation:[-Math.PI/2,0,0],position:[0,.03,0],children:[(0,t.jsx)("ringGeometry",{args:[.5,.62,40]}),(0,t.jsx)("meshBasicMaterial",{color:g,toneMapped:!1,transparent:!0,opacity:.7,side:a.DoubleSide,blending:a.AdditiveBlending,depthWrite:!1})]})]}),!n&&(0,t.jsx)(P.Html,{position:[G.x,1.7,G.z],center:!0,zIndexRange:[30,0],style:{pointerEvents:"none"},children:(0,t.jsxs)("div",{ref:O,style:{...E,border:"1px solid rgba(34,197,94,0.65)",boxShadow:"0 0 18px rgba(34,197,94,0.45)"},children:[(0,t.jsx)("span",{style:{width:7,height:7,borderRadius:"50%",background:g,boxShadow:`0 0 8px ${g}`}}),"Recharge Hub"]})}),(0,t.jsxs)("group",{ref:d,visible:!1,children:[(0,t.jsxs)("mesh",{position:[0,.12,0],children:[(0,t.jsx)("boxGeometry",{args:[.5,.16,.22]}),(0,t.jsx)("meshStandardMaterial",{color:"#11203a",emissive:u,emissiveIntensity:.5,metalness:.5,roughness:.4})]}),(0,t.jsxs)("mesh",{position:[.18,.26,0],children:[(0,t.jsx)("boxGeometry",{args:[.06,.28,.12]}),(0,t.jsx)("meshStandardMaterial",{color:"#0d1830",emissive:u,emissiveIntensity:.4,metalness:.5,roughness:.4})]}),(0,t.jsxs)("mesh",{position:[.3,.14,0],children:[(0,t.jsx)("sphereGeometry",{args:[.06,10,10]}),(0,t.jsx)("meshBasicMaterial",{color:y,toneMapped:!1})]}),[-.16,.16].map((e,r)=>(0,t.jsxs)("mesh",{position:[e,.05,0],rotation:[Math.PI/2,0,0],children:[(0,t.jsx)("cylinderGeometry",{args:[.09,.09,.05,14]}),(0,t.jsx)("meshStandardMaterial",{color:"#05070d",metalness:.6,roughness:.5})]},r)),(0,t.jsxs)("group",{position:[0,.62,0],children:[(0,t.jsxs)("mesh",{children:[(0,t.jsx)("boxGeometry",{args:[.42,.12,.02]}),(0,t.jsx)("meshBasicMaterial",{color:"#0a0f1c",toneMapped:!1,transparent:!0,opacity:.85})]}),(0,t.jsxs)("mesh",{ref:h,position:[0,0,.012],children:[(0,t.jsx)("boxGeometry",{args:[.38,.08,.02]}),(0,t.jsx)("meshBasicMaterial",{ref:m,color:g,toneMapped:!1,blending:a.AdditiveBlending})]})]})]}),[{w:.34,h:.16,d:.2,col:p},{w:.46,h:.22,d:.26,col:y},{w:.6,h:.3,d:.32,col:c}].map((e,r)=>(0,t.jsxs)("mesh",{ref:e=>{$.current[r]=e},visible:!1,children:[(0,t.jsx)("boxGeometry",{args:[e.w,e.h,e.d]}),(0,t.jsx)("meshStandardMaterial",{color:"#12060a",emissive:e.col,emissiveIntensity:.7,metalness:.5,roughness:.4})]},`disp${r}`))]})}),N=new a.Object3D,O=new a.Color(d),_=new a.Color(g),q=new a.Color,K=new a.Vector3,X=r.default.memo(function({progress:e,isMobile:n=!1}){let s=(0,r.useRef)(0),o=(0,r.useRef)(null),l=(0,r.useRef)([]),c=(0,r.useRef)(null),m=(0,r.useRef)(null),f=(0,r.useRef)(null),x=(0,r.useRef)(null),g=n?40:70,y=n?70:150,M=n?12:24,b=(0,r.useMemo)(()=>Array.from({length:5},(e,t)=>{let r=t/5*Math.PI*2+.6;return new a.Vector3(6.5*Math.cos(r),0,6.5*Math.sin(r))}),[]),j=(0,r.useMemo)(()=>Array.from({length:g},(e,t)=>{let r=B(3.3*t+1)*Math.PI*2,n=3+17*B(1.9*t+5);return new a.Vector3(Math.cos(r)*n,.12,Math.sin(r)*n)}),[g]),z=(0,r.useMemo)(()=>j.map(e=>{let t=b[0],r=1/0;for(let n of b){let i=e.distanceToSquared(n);i{let e=[];for(let t of z)e.push(t.a.x,t.a.y,t.a.z,t.b.x,t.b.y,t.b.z);let t=new a.BufferGeometry;return t.setAttribute("position",new a.Float32BufferAttribute(e,3)),t},[z]),S=(0,r.useMemo)(()=>{let e=new Float32Array(3*j.length);j.forEach((t,r)=>{e[3*r]=t.x,e[3*r+1]=t.y,e[3*r+2]=t.z});let t=new a.BufferGeometry;return t.setAttribute("position",new a.BufferAttribute(e,3)),t},[j]),W=(0,r.useMemo)(()=>Array.from({length:y},(e,t)=>({seg:Math.floor(B(4.7*t)*z.length),speed:.12+.25*B(2.1*t),phase:B(8.3*t)})),[y,z.length]),k=(0,r.useMemo)(()=>{let e=new a.BufferGeometry;return e.setAttribute("position",new a.BufferAttribute(new Float32Array(3*y),3)),e},[y]),G=(0,r.useMemo)(()=>Array.from({length:M},(e,t)=>({seg:Math.floor(B(5.9*t+3)*z.length),speed:.06+.08*B(3.7*t),phase:B(6.6*t),kind:Math.floor(3*B(9.2*t))})),[M,z.length]);return(0,r.useLayoutEffect)(()=>{x.current&&(j.forEach((e,t)=>{N.position.set(e.x,.18,e.z),N.scale.set(.06,.36,.06),N.rotation.set(0,0,0),N.updateMatrix(),x.current.setMatrixAt(t,N.matrix),x.current.setColorAt(t,O)}),x.current.instanceMatrix.needsUpdate=!0,x.current.instanceColor&&(x.current.instanceColor.needsUpdate=!0)),f.current&&(G.forEach((e,t)=>{N.position.set(0,-50,0),N.updateMatrix(),f.current.setMatrixAt(t,N.matrix);let r=0===e.kind?u:1===e.kind?h:p;f.current.setColorAt(t,q.set(r))}),f.current.instanceMatrix.needsUpdate=!0,f.current.instanceColor&&(f.current.instanceColor.needsUpdate=!0))},[j,G]),(0,i.useFrame)((t,r)=>{let n=e.current??0;s.current=A(s.current,n,3,r);let i=s.current,a=t.clock.elapsedTime,u=w(.11,.19,i),d=w(.71,.8,i),p=w(.88,1,i);if(l.current.forEach((e,t)=>{e&&(e.emissiveIntensity=(.3+1.5*d)*(.85+.15*Math.sin(2*a+t)))}),o.current&&(o.current.visible=u>.02),c.current&&(c.current.opacity=(.05+.16*u+.1*p)*(.8+.2*Math.sin(1.5*a))),m.current){let e=m.current.geometry.getAttribute("position");for(let t=0;t.02}if(x.current){for(let e=0;e(0,t.jsxs)("group",{position:[e.x,0,e.z],children:[(0,t.jsxs)("mesh",{position:[0,.5,0],children:[(0,t.jsx)("boxGeometry",{args:[1.6,1,1.3]}),(0,t.jsx)("meshStandardMaterial",{ref:e=>{l.current[r]=e},color:"#0b1426",emissive:d,emissiveIntensity:.3,metalness:.4,roughness:.5})]}),(0,t.jsxs)("mesh",{rotation:[-Math.PI/2,0,0],position:[0,.03,0],children:[(0,t.jsx)("ringGeometry",{args:[1.2,1.4,36]}),(0,t.jsx)("meshBasicMaterial",{color:u,toneMapped:!1,transparent:!0,opacity:.4,side:a.DoubleSide,blending:a.AdditiveBlending,depthWrite:!1})]})]},r))})]})}),Y=r.default.memo(function({progress:e,isMobile:n=!1}){let s=(0,r.useRef)(0),o=(0,r.useRef)(null),l=(0,r.useRef)(null),p=(0,r.useRef)(null),h=(0,r.useRef)([]),m=(0,r.useRef)(null),f=(0,r.useRef)(null),x=n?90:180,M=(0,r.useMemo)(()=>{let e=[];for(let t=0;t{let e=new a.BufferGeometry;return e.setAttribute("position",new a.BufferAttribute(new Float32Array(3*x),3)),e},[x]),j=(0,r.useMemo)(()=>{let e=new a.CatmullRomCurve3([new a.Vector3(-6,.3,5),new a.Vector3(-2,1.6,1),new a.Vector3(3,.3,-4)]);return new a.TubeGeometry(e,50,.07,8,!1)},[]),z=(0,r.useMemo)(()=>new a.Vector3(-2,.6,1),[]);return(0,i.useFrame)((t,r)=>{let n=e.current??0;s.current=A(s.current,n,3,r);let i=s.current,a=t.clock.elapsedTime,c=w(.57,.65,i),u=c*(1-w(.74,.82,i));o.current&&(o.current.visible=u>.02,o.current.position.y=2.6+1.9999999999999996*c,o.current.scale.setScalar(1e-4+1.5*u),o.current.rotation.z=.02*Math.sin(.3*a)),l.current&&(l.current.rotation.z=-(1.4*a)),p.current&&(p.current.opacity=u*(.6+.2*Math.sin(4*a))),h.current.forEach(e=>{e&&(e.opacity=.8*u)});let d=w(.62,.6+.08,i),x=.45*a%1;if(f.current&&(f.current.opacity=u*d*(1-x)*(.6+.4*Math.sin(6*a))),m.current){let e=m.current.geometry.getAttribute("position"),t=3.4*x;for(let r=0;r{let n=r/12*Math.PI*2;return(0,t.jsxs)("mesh",{position:[.88*Math.cos(n),.88*Math.sin(n),0],rotation:[0,0,n],children:[(0,t.jsx)("boxGeometry",{args:[.1,.02,.02]}),(0,t.jsx)("meshBasicMaterial",{ref:e=>{e&&(h.current[r]=e)},color:r%3==0?y:u,toneMapped:!1,transparent:!0,opacity:.8,blending:a.AdditiveBlending,depthWrite:!1})]},r)}),(0,t.jsxs)("mesh",{ref:l,position:[0,0,.02],children:[(0,t.jsx)("boxGeometry",{args:[.04,1.5,.02]}),(0,t.jsx)("meshBasicMaterial",{ref:p,color:g,toneMapped:!1,transparent:!0,opacity:.7,blending:a.AdditiveBlending,depthWrite:!1})]}),(0,t.jsxs)("mesh",{children:[(0,t.jsx)("sphereGeometry",{args:[.07,16,16]}),(0,t.jsx)("meshBasicMaterial",{color:y,toneMapped:!1})]})]}),(0,t.jsx)("mesh",{geometry:j,children:(0,t.jsx)("meshBasicMaterial",{ref:f,color:c,toneMapped:!1,transparent:!0,opacity:0,blending:a.AdditiveBlending,depthWrite:!1})}),(0,t.jsx)("points",{ref:m,geometry:b,children:(0,t.jsx)("pointsMaterial",{size:n?.12:.1,color:c,transparent:!0,opacity:0,sizeAttenuation:!0,blending:a.AdditiveBlending,depthWrite:!1})})]})}),Z=new a.Vector3,J=new a.Vector3;function Q({progress:e}){let t=(0,r.useRef)(new a.Vector3(0,6,0)),n=(0,r.useRef)(!1);return(0,i.useFrame)((r,i)=>{var s,o,a,l,c,u;let d=v(e.current??0),p=0;for(let e=0;e=j[e].at&&d<=j[e+1].at){p=e;break}d>j[j.length-1].at&&(p=j.length-2)}let h=j[p],m=j[p+1],f=m.at-h.at||1,x=w(0,1,v((d-h.at)/f));Z.set((s=h.pos[0],s+(m.pos[0]-s)*x),(o=h.pos[1],o+(m.pos[1]-o)*x),(a=h.pos[2],a+(m.pos[2]-a)*x)),J.set((l=h.look[0],l+(m.look[0]-l)*x),(c=h.look[1],c+(m.look[1]-c)*x),(u=h.look[2],u+(m.look[2]-u)*x));let g=r.clock.elapsedTime;Z.x+=.14*Math.sin(.16*g),Z.y+=.07*Math.sin(.21*g);let y=r.camera;n.current?(y.position.x=A(y.position.x,Z.x,2.6,i),y.position.y=A(y.position.y,Z.y,2.6,i),y.position.z=A(y.position.z,Z.z,2.6,i),t.current.x=A(t.current.x,J.x,3,i),t.current.y=A(t.current.y,J.y,3,i),t.current.z=A(t.current.z,J.z,3,i)):(y.position.copy(Z),t.current.copy(J),n.current=!0),y.lookAt(t.current)}),null}let ee=r.default.memo(function({progress:e,reduced:r=!1,isMobile:i=!1,active:a=!0}){return(0,t.jsxs)(n.Canvas,{flat:!0,dpr:[1,i||r?1.25:1.5],camera:{position:j[0].pos,fov:52,near:.1,far:200},gl:{antialias:!i,powerPreference:"high-performance",alpha:!1},frameloop:a?"always":"never",children:[(0,t.jsx)("color",{attach:"background",args:[l]}),(0,t.jsx)("fog",{attach:"fog",args:[l,40,100]}),(0,t.jsx)("ambientLight",{intensity:.55}),(0,t.jsx)("directionalLight",{position:[8,18,10],intensity:.7,color:p}),(0,t.jsx)("pointLight",{position:[-10,8,-8],intensity:40,distance:60,color:m}),(0,t.jsx)("pointLight",{position:[0,9,0],intensity:30,distance:40,color:u}),(0,t.jsx)(Q,{progress:e}),(0,t.jsx)(F,{progress:e,reduced:r,isMobile:i}),(0,t.jsx)($,{progress:e,reduced:r,isMobile:i}),(0,t.jsx)(X,{progress:e,reduced:r,isMobile:i}),(0,t.jsx)(Y,{progress:e,reduced:r,isMobile:i}),(0,t.jsx)(R,{progress:e,reduced:r,isMobile:i}),!r&&(0,t.jsx)(s.EffectComposer,{multisampling:2*!i,children:(0,t.jsx)(s.Bloom,{mipmapBlur:!0,intensity:i?.9:1.25,luminanceThreshold:.12,luminanceSmoothing:.045,radius:i?.65:.82,kernelSize:o.KernelSize.MEDIUM})})]})});e.s(["default",0,ee],69986)},39184,e=>{e.n(e.i(69986))}]); \ No newline at end of file diff --git a/.next/static/chunks/00fiud~fayo7s.css b/.next/static/chunks/00fiud~fayo7s.css deleted file mode 100644 index f80e93b..0000000 --- a/.next/static/chunks/00fiud~fayo7s.css +++ /dev/null @@ -1 +0,0 @@ -.OfficeMap-module__ToIo3G__root{border-radius:inherit;isolation:isolate;background:#0b0b0b;width:100%;height:100%;position:relative;overflow:hidden}.OfficeMap-module__ToIo3G__map{width:100%;height:100%;font-family:var(--font-manrope), system-ui, -apple-system, sans-serif;background:#0b0b0b}.OfficeMap-module__ToIo3G__map:focus-visible{outline-offset:-2px;outline:2px solid #c01227}.OfficeMap-module__ToIo3G__controls{z-index:600;pointer-events:none;flex-wrap:wrap;justify-content:center;gap:8px;display:flex;position:absolute;top:14px;left:12px;right:12px}.OfficeMap-module__ToIo3G__controlBtn{pointer-events:auto;appearance:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f5f5f5;font-family:var(--font-manrope), system-ui, -apple-system, sans-serif;letter-spacing:.01em;cursor:pointer;white-space:nowrap;background:#0f0f11d1;border:1px solid #ffffff2e;border-radius:999px;margin:0;padding:9px 16px;font-size:13px;font-weight:700;line-height:1;transition:background-color .2s,border-color .2s,color .2s,transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s}.OfficeMap-module__ToIo3G__controlBtn:hover{background:#c01227e6;border-color:#c01227;transform:translateY(-1px)}.OfficeMap-module__ToIo3G__controlBtn:focus-visible{outline-offset:2px;outline:2px solid #fff}.OfficeMap-module__ToIo3G__controlBtnActive,.OfficeMap-module__ToIo3G__controlBtnActive:hover{color:#fff;background:#c01227;border-color:#c01227;box-shadow:0 6px 18px #c0122773}.OfficeMap-module__ToIo3G__controlBtnHq{border-color:#c012278c;box-shadow:0 0 0 1px #c0122740,0 4px 14px #c0122733}.OfficeMap-module__ToIo3G__controlBtnHq.OfficeMap-module__ToIo3G__controlBtnActive{box-shadow:0 6px 20px #c012278c}@media (max-width:480px){.OfficeMap-module__ToIo3G__controls{flex-wrap:nowrap;gap:5px;top:12px}.OfficeMap-module__ToIo3G__controlBtn{padding:7px 9px;font-size:11px}}.OfficeMap-module__ToIo3G__markerIcon{filter:drop-shadow(0 4px 6px #0000008c);background:0 0;border:0;transition:transform .18s cubic-bezier(.16,1,.3,1)}.OfficeMap-module__ToIo3G__markerIcon:hover,.OfficeMap-module__ToIo3G__markerIcon:focus-visible{transform:translateY(-3px)scale(1.06)}.OfficeMap-module__ToIo3G__markerIconHq{filter:drop-shadow(0 0 9px #c01227d9)drop-shadow(0 5px 7px #0000008c);background:0 0;border:0;transition:transform .18s cubic-bezier(.16,1,.3,1)}.OfficeMap-module__ToIo3G__markerIconHq svg{z-index:2;position:relative}.OfficeMap-module__ToIo3G__markerIconHq:hover,.OfficeMap-module__ToIo3G__markerIconHq:focus-visible{transform:translateY(-3px)scale(1.05)}.OfficeMap-module__ToIo3G__pinPulse{z-index:1;pointer-events:none;background:#c0122780;border-radius:50%;width:18px;height:18px;margin:-9px 0 0 -9px;animation:2.2s ease-out infinite OfficeMap-module__ToIo3G__hqPulse;position:absolute;top:19px;left:20px}@keyframes OfficeMap-module__ToIo3G__hqPulse{0%{opacity:.75;transform:scale(.6)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(3)}}.OfficeMap-module__ToIo3G__root .leaflet-container{background:#0b0b0b}.OfficeMap-module__ToIo3G__root .leaflet-bar{border:1px solid #ffffff1f;box-shadow:0 6px 18px #0006}.OfficeMap-module__ToIo3G__root .leaflet-bar a{color:#f5f5f5;background:#0f0f11eb;border-bottom-color:#ffffff1f;transition:background-color .2s,color .2s}.OfficeMap-module__ToIo3G__root .leaflet-bar a:hover{color:#fff;background:#c01227}.OfficeMap-module__ToIo3G__root .leaflet-bar a:focus-visible{outline-offset:2px;outline:2px solid #c01227}.OfficeMap-module__ToIo3G__root .leaflet-control-attribution{color:#ffffffa6;-webkit-backdrop-filter:blur(6px);background:#0a0a0ab8;border-radius:6px 0 0;padding:2px 8px;font-size:11px}.OfficeMap-module__ToIo3G__root .leaflet-control-attribution a{color:#ffffffd9}.OfficeMap-module__ToIo3G__root .leaflet-popup{animation:.2s ease-out forwards OfficeMap-module__ToIo3G__popupFade}.OfficeMap-module__ToIo3G__root .leaflet-popup-content-wrapper{color:#fff;transform-origin:bottom;background:#0f0f11;border:1px solid #ffffff14;border-radius:8px;padding:0;animation:.2s cubic-bezier(.16,1,.3,1) forwards OfficeMap-module__ToIo3G__popupScale;overflow:hidden;box-shadow:0 12px 32px #0009}.OfficeMap-module__ToIo3G__root .leaflet-popup-content{width:auto!important;height:auto!important;margin:0!important}.OfficeMap-module__ToIo3G__root .leaflet-popup-tip{background:#0f0f11;border:1px solid #ffffff14}@keyframes OfficeMap-module__ToIo3G__popupFade{0%{opacity:0}to{opacity:1}}@keyframes OfficeMap-module__ToIo3G__popupScale{0%{transform:scale(.92)}to{transform:scale(1)}}.OfficeMap-module__ToIo3G__card{box-sizing:border-box;min-width:230px;max-width:280px;font-family:var(--font-manrope), system-ui, -apple-system, sans-serif;background:#0f0f11;border-top:2px solid #c01227;flex-direction:column;height:auto;padding:12px 16px;display:flex}.OfficeMap-module__ToIo3G__cardHeader{border-bottom:1px solid #ffffff14;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:6px;display:flex}.OfficeMap-module__ToIo3G__cardIcon{align-items:center;font-size:15px;display:inline-flex}.OfficeMap-module__ToIo3G__cardTitle{color:#fff!important;letter-spacing:-.01em!important;margin:0!important;font-size:17px!important;font-weight:800!important}.OfficeMap-module__ToIo3G__cardBody{flex-direction:column;gap:4px;display:flex}.OfficeMap-module__ToIo3G__addressLine{color:#ffffffbf!important;margin:0 0 6px!important;padding:0!important;font-size:14px!important;font-weight:500!important;line-height:1.5!important}.OfficeMap-module__ToIo3G__addressLine:last-child{margin-bottom:0!important}@media (max-width:480px){.OfficeMap-module__ToIo3G__card{min-width:200px;max-width:230px;padding:9px 12px}.OfficeMap-module__ToIo3G__cardTitle{font-size:14px!important}.OfficeMap-module__ToIo3G__addressLine{margin-bottom:3px!important;font-size:12px!important;line-height:1.4!important}}.OfficeMap-module__ToIo3G__mapMountReserve{border-radius:inherit;width:100%;height:100%}@media (prefers-reduced-motion:reduce){.OfficeMap-module__ToIo3G__markerIcon,.OfficeMap-module__ToIo3G__markerIconHq{transition:none}.OfficeMap-module__ToIo3G__pinPulse{opacity:.45;animation:none}}.OfficeMap-module__ToIo3G__errorOverlay{z-index:500;text-align:center;color:#ffffffd1;font-family:var(--font-manrope), system-ui, sans-serif;background:#101012;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:absolute;inset:0}.OfficeMap-module__ToIo3G__errorTitle{color:#fff;margin:0;font-size:clamp(15px,2.4vw,18px);font-weight:800}.OfficeMap-module__ToIo3G__errorText{color:#fff9;max-width:38ch;margin:0;font-size:13px;line-height:1.55}.OfficeMap-module__ToIo3G__errorList{flex-wrap:wrap;justify-content:center;gap:8px 12px;margin:4px 0 0;padding:0;list-style:none;display:flex}.OfficeMap-module__ToIo3G__errorList li{color:#f1f1f1;align-items:center;gap:7px;font-size:13px;font-weight:700;display:inline-flex}.OfficeMap-module__ToIo3G__errorList li:before{content:"";background:#c01227;border-radius:50%;width:7px;height:7px}.OfficeMap-module__ToIo3G__srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden} diff --git a/.next/static/chunks/01xlw8hd842-c.js b/.next/static/chunks/01xlw8hd842-c.js deleted file mode 100644 index fd61718..0000000 --- a/.next/static/chunks/01xlw8hd842-c.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},18967,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={DecodeError:function(){return P},MiddlewareNotFoundError:function(){return O},MissingStaticPage:function(){return h},NormalizeError:function(){return E},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return y},WEB_VITALS:function(){return i},execOnce:function(){return u},getDisplayName:function(){return l},getLocationOrigin:function(){return c},getURL:function(){return f},isAbsoluteUrl:function(){return a},isResSent:function(){return d},loadGetInitialProps:function(){return g},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return N}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function u(e){let r,t=!1;return(...n)=>(t||(t=!0,r=e(...n)),r)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>s.test(e);function c(){let{protocol:e,hostname:r,port:t}=window.location;return`${e}//${r}${t?":"+t:""}`}function f(){let{href:e}=window.location,r=c();return e.substring(r.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let r=e.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?`?${r.slice(1).join("?")}`:"")}async function g(e,r){let t=r.res||r.ctx&&r.ctx.res;if(!e.getInitialProps)return r.ctx&&r.Component?{pageProps:await g(r.Component,r.ctx)}:{};let n=await e.getInitialProps(r);if(t&&d(t))return n;if(!n)throw Object.defineProperty(Error(`"${l(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,y=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class P extends Error{}class E extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class h extends Error{constructor(e,r){super(),this.message=`Failed to load static file for page: ${e} ${r}`}}class O extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N(e){return JSON.stringify({message:e.message,stack:e.stack})}},98183,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={assign:function(){return a},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});function i(e){let r={};for(let[t,n]of e.entries()){let e=r[t];void 0===e?r[t]=n:Array.isArray(e)?e.push(n):r[t]=[e,n]}return r}function u(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let r=new URLSearchParams;for(let[t,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)r.append(t,u(e));else r.set(t,u(n));return r}function a(e,...r){for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}}]); \ No newline at end of file diff --git a/.next/static/chunks/03~yq9q893hmn.js b/.next/static/chunks/03~yq9q893hmn.js deleted file mode 100644 index ab422b9..0000000 --- a/.next/static/chunks/03~yq9q893hmn.js +++ /dev/null @@ -1 +0,0 @@ -!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,n,o=function(t){return t&&t.Math===Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),s=!a(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),c=Function.prototype.call,f=s?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:l,v={f:p},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,y=g.call,m=s&&g.bind.bind(y,y),b=s?m:function(t){return function(){return y.apply(t,arguments)}},w=b({}.toString),S=b("".slice),E=function(t){return S(w(t),8,-1)},O=Object,x=b("".split),R=a(function(){return!O("z").propertyIsEnumerable(0)})?function(t){return"String"===E(t)?x(t,""):O(t)}:O,P=function(t){return null==t},A=TypeError,j=function(t){if(P(t))throw new A("Can't call method on "+t);return t},k=function(t){return R(j(t))},I="object"==typeof document&&document.all,T=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},M=function(t){return"object"==typeof t?null!==t:T(t)},L=function(t,e){return arguments.length<2?T(r=i[t])?r:void 0:i[t]&&i[t][e];var r},U=b({}.isPrototypeOf),N=i.navigator,C=N&&N.userAgent,_=C?String(C):"",F=i.process,B=i.Deno,D=F&&F.versions||B&&B.version,z=D&&D.v8;z&&(n=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\/(\d+)/))&&(n=+r[1]);var W=n,q=i.String,H=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol("symbol detection");return!q(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41}),$=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=Object,G=$?function(t){return"symbol"==typeof t}:function(t){var e=L("Symbol");return T(e)&&U(e.prototype,K(t))},V=String,Y=function(t){try{return V(t)}catch(t){return"Object"}},X=TypeError,J=function(t){if(T(t))return t;throw new X(Y(t)+" is not a function")},Q=function(t,e){var r=t[e];return P(r)?void 0:J(r)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(r){i[t]=e}return e},rt=e(function(t){var e="__core-js_shared__",r=t.exports=i[e]||et(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),nt=function(t,e){return rt[t]||(rt[t]=e||{})},ot=Object,it=function(t){return ot(j(t))},at=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return at(it(t),e)},st=0,ct=Math.random(),ft=b(1..toString),lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ft(++st+ct,36)},ht=i.Symbol,pt=nt("wks"),vt=$?ht.for||ht:ht&&ht.withoutSetter||lt,dt=function(t){return ut(pt,t)||(pt[t]=H&&ut(ht,t)?ht[t]:vt("Symbol."+t)),pt[t]},gt=TypeError,yt=dt("toPrimitive"),mt=function(t,e){if(!M(t)||G(t))return t;var r,n=Q(t,yt);if(n){if(void 0===e&&(e="default"),r=f(n,t,e),!M(r)||G(r))return r;throw new gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&T(r=t.toString)&&!M(n=f(r,t)))return n;if(T(r=t.valueOf)&&!M(n=f(r,t)))return n;if("string"!==e&&T(r=t.toString)&&!M(n=f(r,t)))return n;throw new Z("Can't convert object to primitive value")}(t,e)},bt=function(t){var e=mt(t,"string");return G(e)?e:e+""},wt=i.document,St=M(wt)&&M(wt.createElement),Et=function(t){return St?wt.createElement(t):{}},Ot=!u&&!a(function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a}),xt=Object.getOwnPropertyDescriptor,Rt={f:u?xt:function(t,e){if(t=k(t),e=bt(e),Ot)try{return xt(t,e)}catch(t){}if(ut(t,e))return d(!f(v.f,t,e),t[e])}},Pt=u&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),At=String,jt=TypeError,kt=function(t){if(M(t))return t;throw new jt(At(t)+" is not an object")},It=TypeError,Tt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Lt="enumerable",Ut="configurable",Nt="writable",Ct={f:u?Pt?function(t,e,r){if(kt(t),e=bt(e),kt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Nt in r&&!r[Nt]){var n=Mt(t,e);n&&n[Nt]&&(t[e]=r.value,r={configurable:Ut in r?r[Ut]:n[Ut],enumerable:Lt in r?r[Lt]:n[Lt],writable:!1})}return Tt(t,e,r)}:Tt:function(t,e,r){if(kt(t),e=bt(e),kt(r),Ot)try{return Tt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new It("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},_t=u?function(t,e,r){return Ct.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},Ft=Function.prototype,Bt=u&&Object.getOwnPropertyDescriptor,Dt=ut(Ft,"name"),zt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Bt(Ft,"name").configurable)},Wt=b(Function.toString);T(rt.inspectSource)||(rt.inspectSource=function(t){return Wt(t)});var qt,Ht,$t,Kt=rt.inspectSource,Gt=i.WeakMap,Vt=T(Gt)&&/native code/.test(String(Gt)),Yt=nt("keys"),Xt=function(t){return Yt[t]||(Yt[t]=lt(t))},Jt={},Qt="Object already initialized",Zt=i.TypeError;if(Vt||rt.state){var te=rt.state||(rt.state=new(0,i.WeakMap));te.get=te.get,te.has=te.has,te.set=te.set,qt=function(t,e){if(te.has(t))throw new Zt(Qt);return e.facade=t,te.set(t,e),e},Ht=function(t){return te.get(t)||{}},$t=function(t){return te.has(t)}}else{var ee=Xt("state");Jt[ee]=!0,qt=function(t,e){if(ut(t,ee))throw new Zt(Qt);return e.facade=t,_t(t,ee,e),e},Ht=function(t){return ut(t,ee)?t[ee]:{}},$t=function(t){return ut(t,ee)}}var re,ne={set:qt,get:Ht,has:$t,enforce:function(t){return $t(t)?Ht(t):qt(t,{})},getterFor:function(t){return function(e){var r;if(!M(e)||(r=Ht(e)).type!==t)throw new Zt("Incompatible receiver, "+t+" required");return r}}},oe=e(function(t){var e=zt.CONFIGURABLE,r=ne.enforce,n=ne.get,o=String,i=Object.defineProperty,s=b("".slice),c=b("".replace),f=b([].join),l=u&&!a(function(){return 8!==i(function(){},"length",{value:8}).length}),h=String(String).split("String"),p=t.exports=function(t,n,a){"Symbol("===s(o(n),0,7)&&(n="["+c(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),a&&a.getter&&(n="get "+n),a&&a.setter&&(n="set "+n),(!ut(t,"name")||e&&t.name!==n)&&(u?i(t,"name",{value:n,configurable:!0}):t.name=n),l&&a&&ut(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ut(a,"constructor")&&a.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=r(t);return ut(p,"source")||(p.source=f(h,"string"==typeof n?n:"")),t};Function.prototype.toString=p(function(){return T(this)&&n(this).source||Kt(this)},"toString")}),ie=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(T(r)&&oe(r,i,n),n.global)o?t[e]=r:et(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Ct.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ae=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ae)(e)},ce=function(t){var e=+t;return e!=e||0===e?0:se(e)},fe=Math.max,le=Math.min,he=function(t,e){var r=ce(t);return r<0?fe(r+e,0):le(r,e)},pe=Math.min,ve=function(t){var e=ce(t);return e>0?pe(e,9007199254740991):0},de=function(t){return ve(t.length)},ge=function(t){return function(e,r,n){var o=k(e),i=de(o);if(0===i)return!t&&-1;var a,u=he(n,i);if(t&&r!=r){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},ye={includes:ge(!0),indexOf:ge(!1)},me=ye.indexOf,be=b([].push),we=function(t,e){var r,n=k(t),o=0,i=[];for(r in n)!ut(Jt,r)&&ut(n,r)&&be(i,r);for(;e.length>o;)ut(n,r=e[o++])&&(~me(i,r)||be(i,r));return i},Se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Se.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Ee)}},xe={f:Object.getOwnPropertySymbols},Re=b([].concat),Pe=L("Reflect","ownKeys")||function(t){var e=Oe.f(kt(t)),r=xe.f;return r?Re(e,r(t)):e},Ae=function(t,e,r){for(var n=Pe(e),o=Ct.f,i=Rt.f,a=0;aa;)Ct.f(t,r=o[a++],n[r]);return t},Be={f:Fe},De=L("document","documentElement"),ze="prototype",We="script",qe=Xt("IE_PROTO"),He=function(){},$e=function(t){return"<"+We+">"+t+""},Ke=function(t){t.write($e("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ge=function(){try{re=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ge="undefined"!=typeof document?document.domain&&re?Ke(re):(e=Et("iframe"),r="java"+We+":",e.style.display="none",De.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write($e("document.F=Object")),t.close(),t.F):Ke(re);for(var n=Se.length;n--;)delete Ge[ze][Se[n]];return Ge()};Jt[qe]=!0;var Ve=Object.create||function(t,e){var r;return null!==t?(He[ze]=kt(t),r=new He,He[ze]=null,r[qe]=t):r=Ge(),void 0===e?r:Be.f(r,e)},Ye=Ct.f,Xe=dt("unscopables"),Je=Array.prototype;void 0===Je[Xe]&&Ye(Je,Xe,{configurable:!0,value:Ve(null)});var Qe=function(t){Je[Xe][t]=!0};Ce({target:"Array",proto:!0},{at:function(t){var e=it(this),r=de(e),n=ce(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),Qe("at");var Ze=function(t,e){return b(i[t].prototype[e])},tr=(Ze("Array","at"),TypeError),er=function(t,e){if(!delete t[e])throw new tr("Cannot delete property "+Y(e)+" of "+Y(t))},rr=Math.min,nr=[].copyWithin||function(t,e){var r=it(this),n=de(r),o=he(t,n),i=he(e,n),a=arguments.length>2?arguments[2]:void 0,u=rr((void 0===a?n:he(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:er(r,o),o+=s,i+=s;return r};Ce({target:"Array",proto:!0},{copyWithin:nr}),Qe("copyWithin"),Ze("Array","copyWithin"),Ce({target:"Array",proto:!0},{fill:function(t){for(var e=it(this),r=de(e),n=arguments.length,o=he(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:he(i,r);a>o;)e[o++]=t;return e}}),Qe("fill"),Ze("Array","fill");var or=function(t){if("Function"===E(t))return b(t)},ir=or(or.bind),ar=function(t,e){return J(t),void 0===e?t:s?ir(t,e):function(){return t.apply(e,arguments)}},ur=Array.isArray||function(t){return"Array"===E(t)},sr={};sr[dt("toStringTag")]="z";var cr="[object z]"===String(sr),fr=dt("toStringTag"),lr=Object,hr="Arguments"===E(function(){return arguments}()),pr=cr?E:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=lr(t),fr))?r:hr?E(e):"Object"===(n=E(e))&&T(e.callee)?"Arguments":n},vr=function(){},dr=L("Reflect","construct"),gr=/^\s*(?:class|function)\b/,yr=b(gr.exec),mr=!gr.test(vr),br=function(t){if(!T(t))return!1;try{return dr(vr,[],t),!0}catch(t){return!1}},wr=function(t){if(!T(t))return!1;switch(pr(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(gr,Kt(t))}catch(t){return!0}};wr.sham=!0;var Sr=!dr||a(function(){var t;return br(br.call)||!br(Object)||!br(function(){t=!0})||t})?wr:br,Er=dt("species"),Or=Array,xr=function(t,e){return new(function(t){var e;return ur(t)&&(Sr(e=t.constructor)&&(e===Or||ur(e.prototype))||M(e)&&null===(e=e[Er]))&&(e=void 0),void 0===e?Or:e}(t))(0===e?0:e)},Rr=b([].push),Pr=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(s,c,f,l){for(var h,p,v=it(s),d=R(v),g=de(d),y=ar(c,f),m=0,b=l||xr,w=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Rr(w,h)}else switch(t){case 4:return!1;case 7:Rr(w,h)}return i?-1:n||o?o:w}},Ar={forEach:Pr(0),map:Pr(1),filter:Pr(2),some:Pr(3),every:Pr(4),find:Pr(5),findIndex:Pr(6),filterReject:Pr(7)},jr=Ar.find,kr="find",Ir=!0;kr in[]&&Array(1)[kr](function(){Ir=!1}),Ce({target:"Array",proto:!0,forced:Ir},{find:function(t){return jr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(kr),Ze("Array","find");var Tr=Ar.findIndex,Mr="findIndex",Lr=!0;Mr in[]&&Array(1)[Mr](function(){Lr=!1}),Ce({target:"Array",proto:!0,forced:Lr},{findIndex:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(Mr),Ze("Array","findIndex");var Ur=TypeError,Nr=function(t){if(t>9007199254740991)throw Ur("Maximum allowed index exceeded");return t},Cr=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,h=!!a&&ar(a,u);l0&&ur(s)?(c=de(s),f=Cr(t,e,s,c,f,i-1)-1):(Nr(f+1),t[f]=s),f++),l++;return f},_r=Cr;Ce({target:"Array",proto:!0},{flatMap:function(t){var e,r=it(this),n=de(r);return J(t),(e=xr(r,0)).length=_r(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qe("flatMap"),Ze("Array","flatMap"),Ce({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=it(this),r=de(e),n=xr(e,0);return n.length=_r(n,e,e,r,0,void 0===t?1:ce(t)),n}}),Qe("flat"),Ze("Array","flat");var Fr,Br,Dr,zr=String,Wr=function(t){if("Symbol"===pr(t))throw new TypeError("Cannot convert a Symbol value to a string");return zr(t)},qr=b("".charAt),Hr=b("".charCodeAt),$r=b("".slice),Kr=function(t){return function(e,r){var n,o,i=Wr(j(e)),a=ce(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Hr(i,a))<55296||n>56319||a+1===u||(o=Hr(i,a+1))<56320||o>57343?t?qr(i,a):n:t?$r(i,a,a+2):o-56320+(n-55296<<10)+65536}},Gr={codeAt:Kr(!1),charAt:Kr(!0)},Vr=!a(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Yr=Xt("IE_PROTO"),Xr=Object,Jr=Xr.prototype,Qr=Vr?Xr.getPrototypeOf:function(t){var e=it(t);if(ut(e,Yr))return e[Yr];var r=e.constructor;return T(r)&&e instanceof r?r.prototype:e instanceof Xr?Jr:null},Zr=dt("iterator"),tn=!1;[].keys&&("next"in(Dr=[].keys())?(Br=Qr(Qr(Dr)))!==Object.prototype&&(Fr=Br):tn=!0);var en=!M(Fr)||a(function(){var t={};return Fr[Zr].call(t)!==t});en&&(Fr={}),T(Fr[Zr])||ie(Fr,Zr,function(){return this});var rn={IteratorPrototype:Fr,BUGGY_SAFARI_ITERATORS:tn},nn=Ct.f,on=dt("toStringTag"),an=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ut(t,on)&&nn(t,on,{configurable:!0,value:e})},un={},sn=rn.IteratorPrototype,cn=function(){return this},fn=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Ve(sn,{next:d(+!n,r)}),an(t,o,!1),un[o]=cn,t},ln=function(t,e,r){try{return b(J(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hn=String,pn=TypeError,vn=function(t){if(function(t){return M(t)||null===t}(t))return t;throw new pn("Can't set "+hn(t)+" as a prototype")},dn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ln(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),vn(n),M(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),gn=zt.PROPER,yn=zt.CONFIGURABLE,mn=rn.IteratorPrototype,bn=rn.BUGGY_SAFARI_ITERATORS,wn=dt("iterator"),Sn="keys",En="values",On="entries",xn=function(){return this},Rn=function(t,e,r,n,o,i,a){fn(r,e,n);var u,s,c,l=function(t){if(t===o&&g)return g;if(!bn&&t&&t in v)return v[t];switch(t){case Sn:case En:case On:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,v=t.prototype,d=v[wn]||v["@@iterator"]||o&&v[o],g=!bn&&d||l(o),y="Array"===e&&v.entries||d;if(y&&(u=Qr(y.call(new t)))!==Object.prototype&&u.next&&(Qr(u)!==mn&&(dn?dn(u,mn):T(u[wn])||ie(u,wn,xn)),an(u,h,!0)),gn&&o===En&&d&&d.name!==En&&(yn?_t(v,"name",En):(p=!0,g=function(){return f(d,this)})),o)if(s={values:l(En),keys:i?g:l(Sn),entries:l(On)},a)for(c in s)(bn||p||!(c in v))&&ie(v,c,s[c]);else Ce({target:e,proto:!0,forced:bn||p},s);return v[wn]!==g&&ie(v,wn,g,{name:o}),un[e]=g,s},Pn=function(t,e){return{value:t,done:e}},An=Gr.charAt,jn="String Iterator",kn=ne.set,In=ne.getterFor(jn);Rn(String,"String",function(t){kn(this,{type:jn,string:Wr(t),index:0})},function(){var t,e=In(this),r=e.string,n=e.index;return n>=r.length?Pn(void 0,!0):(t=An(r,n),e.index+=t.length,Pn(t,!1))});var Tn=function(t,e,r){var n,o;kt(t);try{if(!(n=Q(t,"return"))){if("throw"===e)throw r;return r}n=f(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return kt(n),r},Mn=function(t,e,r,n){try{return n?e(kt(r)[0],r[1]):e(r)}catch(e){Tn(t,"throw",e)}},Ln=dt("iterator"),Un=Array.prototype,Nn=function(t){return void 0!==t&&(un.Array===t||Un[Ln]===t)},Cn=function(t,e,r){u?Ct.f(t,e,d(0,r)):t[e]=r},_n=dt("iterator"),Fn=function(t){if(!P(t))return Q(t,_n)||Q(t,"@@iterator")||un[pr(t)]},Bn=TypeError,Dn=function(t,e){var r=arguments.length<2?Fn(t):e;if(J(r))return kt(f(r,t));throw new Bn(Y(t)+" is not iterable")},zn=Array,Wn=function(t){var e=it(t),r=Sr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ar(o,n>2?arguments[2]:void 0));var a,u,s,c,l,h,p=Fn(e),v=0;if(!p||this===zn&&Nn(p))for(a=de(e),u=r?new this(a):zn(a);a>v;v++)h=i?o(e[v],v):e[v],Cn(u,v,h);else for(u=r?new this:[],l=(c=Dn(e,p)).next;!(s=f(l,c)).done;v++)h=i?Mn(c,o,[s.value,v],!0):s.value,Cn(u,v,h);return u.length=v,u},qn=dt("iterator"),Hn=!1;try{var $n=0,Kn={next:function(){return{done:!!$n++}},return:function(){Hn=!0}};Kn[qn]=function(){return this},Array.from(Kn,function(){throw 2})}catch(t){}var Gn=function(t,e){try{if(!e&&!Hn)return!1}catch(t){return!1}var r=!1;try{var n={};n[qn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Vn=!Gn(function(t){Array.from(t)});Ce({target:"Array",stat:!0,forced:Vn},{from:Wn});var Yn=i,Xn=ye.includes,Jn=a(function(){return!Array(1).includes()});Ce({target:"Array",proto:!0,forced:Jn},{includes:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe("includes"),Ze("Array","includes");var Qn=Ct.f,Zn="Array Iterator",to=ne.set,eo=ne.getterFor(Zn),ro=Rn(Array,"Array",function(t,e){to(this,{type:Zn,target:k(t),index:0,kind:e})},function(){var t=eo(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);switch(t.kind){case"keys":return Pn(r,!1);case"values":return Pn(e[r],!1)}return Pn([r,e[r]],!1)},"values"),no=un.Arguments=un.Array;if(Qe("keys"),Qe("values"),Qe("entries"),u&&"values"!==no.name)try{Qn(no,"name",{value:"values"})}catch(t){}cr||ie(Object.prototype,"toString",cr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0}),Ze("Array","values");var oo=Array,io=a(function(){function t(){}return!(oo.of.call(t)instanceof t)});Ce({target:"Array",stat:!0,forced:io},{of:function(){for(var t=0,e=arguments.length,r=new(Sr(this)?this:oo)(e);e>t;)Cn(r,t,arguments[t++]);return r.length=e,r}});var ao=dt("hasInstance"),uo=Function.prototype;ao in uo||Ct.f(uo,ao,{value:oe(function(t){if(!T(this)||!M(t))return!1;var e=this.prototype;return M(e)?U(e,t):t instanceof this},ao)}),dt("hasInstance");var so=function(t,e,r){return r.get&&oe(r.get,e,{getter:!0}),r.set&&oe(r.set,e,{setter:!0}),Ct.f(t,e,r)},co=zt.EXISTS,fo=Function.prototype,lo=b(fo.toString),ho=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,po=b(ho.exec);u&&!co&&so(fo,"name",{configurable:!0,get:function(){try{return po(ho,lo(this))[1]}catch(t){return""}}});var vo=b([].slice),go=Oe.f,yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mo={f:function(t){return yo&&"Window"===E(t)?function(t){try{return go(t)}catch(t){return vo(yo)}}(t):go(k(t))}},bo=a(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),wo=Object.isExtensible,So=a(function(){wo(1)})||bo?function(t){return!!M(t)&&(!bo||"ArrayBuffer"!==E(t))&&(!wo||wo(t))}:wo,Eo=!a(function(){return Object.isExtensible(Object.preventExtensions({}))}),Oo=e(function(t){var e=Ct.f,r=!1,n=lt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=Oe.f,e=b([].splice),o={};o[n]=1,t(o).length&&(Oe.f=function(r){for(var o=t(r),i=0,a=o.length;ii;i++)if((u=y(t[i]))&&U(Po,u))return u;return new Ro(!1)}n=Dn(t,o)}for(s=h?t.next:n.next;!(c=f(s,n)).done;){try{u=y(c.value)}catch(t){Tn(n,"throw",t)}if("object"==typeof u&&u&&U(Po,u))return u}return new Ro(!1)},jo=TypeError,ko=function(t,e){if(U(e,t))return t;throw new jo("Incorrect invocation")},Io=function(t,e,r){var n,o;return dn&&T(n=e.constructor)&&n!==r&&M(o=n.prototype)&&o!==r.prototype&&dn(t,o),t},To=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),u=n?"set":"add",s=i[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=b(c[t]);ie(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!M(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Ue(t,!T(s)||!(o||c.forEach&&!a(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,n,u),Oo.enable();else if(Ue(t,!0)){var p=new f,v=p[u](o?{}:-0,1)!==p,d=a(function(){p.has(1)}),g=Gn(function(t){new s(t)}),y=!o&&a(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(t,e){ko(t,c);var r=Io(new s,t,f);return P(e)||Ao(e,r[u],{that:r,AS_ENTRIES:n}),r})).prototype=c,c.constructor=f),(d||y)&&(h("delete"),h("has"),n&&h("get")),(y||v)&&h(u),o&&c.clear&&delete c.clear}return l[t]=f,Ce({global:!0,constructor:!0,forced:f!==s},l),an(f,t),o||r.setStrong(f,t,n),f},Mo=function(t,e,r){for(var n in e)ie(t,n,e[n],r);return t},Lo=dt("species"),Uo=function(t){var e=L(t);u&&e&&!e[Lo]&&so(e,Lo,{configurable:!0,get:function(){return this}})},No=Oo.fastKey,Co=ne.set,_o=ne.getterFor,Fo={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),Co(t,{type:e,index:Ve(null),first:null,last:null,size:0}),u||(t.size=0),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=_o(e),s=function(t,e,r){var n,o,i=a(t),s=c(t,e);return s?s.value=r:(i.last=s={index:o=No(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},c=function(t,e){var r,n=a(t),o=No(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return Mo(i,{clear:function(){for(var t=a(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=Ve(null),u?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=c(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=ar(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Mo(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&so(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=_o(e),i=_o(n);Rn(t,e,function(t,e){Co(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?Pn("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,Pn(void 0,!0))},r?"entries":"values",!r,!0),Uo(e)}};To("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var Bo=Map.prototype,Do={Map:Map,set:b(Bo.set),get:b(Bo.get),has:b(Bo.has),remove:b(Bo.delete),proto:Bo},zo=Do.Map,Wo=Do.has,qo=Do.get,Ho=Do.set,$o=b([].push),Ko=a(function(){return 1!==zo.groupBy("ab",function(t){return t}).get("a").length});Ce({target:"Map",stat:!0,forced:Ko},{groupBy:function(t,e){j(t),J(e);var r=new zo,n=0;return Ao(t,function(t){var o=e(t,n++);Wo(r,o)?$o(qo(r,o),t):Ho(r,o,[t])}),r}});var Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vo=Et("span").classList,Yo=Vo&&Vo.constructor&&Vo.constructor.prototype,Xo=Yo===Object.prototype?void 0:Yo,Jo=dt("iterator"),Qo=ro.values,Zo=function(t,e){if(t){if(t[Jo]!==Qo)try{_t(t,Jo,Qo)}catch(e){t[Jo]=Qo}if(an(t,e,!0),Go[e])for(var r in ro)if(t[r]!==ro[r])try{_t(t,r,ro[r])}catch(e){t[r]=ro[r]}}};for(var ti in Go)Zo(i[ti]&&i[ti].prototype,ti);Zo(Xo,"DOMTokenList");var ei=function(t,e,r){return function(n){var o=it(n),i=arguments.length,a=i>1?arguments[1]:void 0,u=void 0!==a,s=u?ar(a,i>2?arguments[2]:void 0):void 0,c=new t,f=0;return Ao(o,function(t){var n=u?s(t,f++):t;r?e(c,kt(n)[0],n[1]):e(c,n)}),c}};Ce({target:"Map",stat:!0,forced:!0},{from:ei(Do.Map,Do.set,!0)});var ri=function(t,e,r){return function(){for(var n=new t,o=arguments.length,i=0;i1?arguments[1]:void 0);return!1!==di(e,function(t,n){if(!r(t,n,e))return!1},!0)}});var gi=Do.Map,yi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new gi;return di(e,function(t,o){r(t,o,e)&&yi(n,o,t)}),n}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===di(oi(this),function(e){if((r=e)===(n=t)||r!=r&&n!=n)return!0;var r,n},!0)}});var mi=Do.Map;Ce({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var r=new(T(this)?this:mi);J(e);var n=J(r.set);return Ao(t,function(t){f(n,r,e(t),t)}),r}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=di(oi(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}});var bi=Do.Map,wi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new bi;return di(e,function(t,o){wi(n,r(t,o,e),t)}),n}});var Si=Do.Map,Ei=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new Si;return di(e,function(t,o){Ei(n,o,r(t,o,e))}),n}});var Oi=Do.set;Ce({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=oi(this),r=arguments.length,n=0;n1?arguments[1]:void 0);return!0===di(e,function(t,n){if(r(t,n,e))return!0},!0)}});var Ri=TypeError,Pi=Do.get,Ai=Do.has,ji=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=oi(this),n=arguments.length;J(e);var o=Ai(r,t);if(!o&&n<3)throw new Ri("Updating absent value");var i=o?Pi(r,t):J(n>2?arguments[2]:void 0)(t,r);return ji(r,t,e(i,t,r)),r}});var ki=TypeError,Ii=function(t,e){var r,n=kt(this),o=J(n.get),i=J(n.has),a=J(n.set),u=arguments.length>2?arguments[2]:void 0;if(!T(e)&&!T(u))throw new ki("At least one callback required");return f(i,n,t)?(r=f(o,n,t),T(e)&&(r=e(r),f(a,n,t,r))):T(u)&&(r=u(),f(a,n,t,r)),r};Ce({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Ii}),Ce({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Ii});var Ti=b(1..valueOf),Mi="\t\n\v\f\r                 \u2028\u2029\ufeff",Li=b("".replace),Ui=RegExp("^["+Mi+"]+"),Ni=RegExp("(^|[^"+Mi+"])["+Mi+"]+$"),Ci=function(t){return function(e){var r=Wr(j(e));return 1&t&&(r=Li(r,Ui,"")),2&t&&(r=Li(r,Ni,"$1")),r}},_i={start:Ci(1),end:Ci(2),trim:Ci(3)},Fi=Oe.f,Bi=Rt.f,Di=Ct.f,zi=_i.trim,Wi="Number",qi=i[Wi],Hi=qi.prototype,$i=i.TypeError,Ki=b("".slice),Gi=b("".charCodeAt),Vi=Ue(Wi,!qi(" 0o1")||!qi("0b1")||qi("+0x1")),Yi=function(t){var e,r=arguments.length<1?0:qi(function(t){var e=mt(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,a,u,s,c=mt(t,"number");if(G(c))throw new $i("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zi(c),43===(e=Gi(c,0))||45===e){if(88===(r=Gi(c,2))||120===r)return NaN}else if(48===e){switch(Gi(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Ki(c,2)).length,u=0;uo)return NaN;return parseInt(i,n)}return+c}(e)}(t));return U(Hi,e=this)&&a(function(){Ti(e)})?Io(Object(r),this,Yi):r};Yi.prototype=Hi,Vi&&(Hi.constructor=Yi),Ce({global:!0,constructor:!0,wrap:!0,forced:Vi},{Number:Yi}),Vi&&function(t,e){for(var r,n=u?Fi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)ut(e,r=n[o])&&!ut(t,r)&&Di(t,r,Bi(e,r))}(Yn[Wi],qi),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Xi=i.isFinite;Ce({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Xi(t)}});var Ji=Math.floor,Qi=Number.isInteger||function(t){return!M(t)&&isFinite(t)&&Ji(t)===t};Ce({target:"Number",stat:!0},{isInteger:Qi}),Ce({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Zi=Math.abs;Ce({target:"Number",stat:!0},{isSafeInteger:function(t){return Qi(t)&&Zi(t)<=9007199254740991}}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ta=_i.trim,ea=b("".charAt),ra=i.parseFloat,na=i.Symbol,oa=na&&na.iterator,ia=1/ra(Mi+"-0")!=-Infinity||oa&&!a(function(){ra(Object(oa))})?function(t){var e=ta(Wr(t)),r=ra(e);return 0===r&&"-"===ea(e,0)?-0:r}:ra;Ce({target:"Number",stat:!0,forced:Number.parseFloat!==ia},{parseFloat:ia});var aa=_i.trim,ua=i.parseInt,sa=i.Symbol,ca=sa&&sa.iterator,fa=/^[+-]?0x/i,la=b(fa.exec),ha=8!==ua(Mi+"08")||22!==ua(Mi+"0x16")||ca&&!a(function(){ua(Object(ca))})?function(t,e){var r=aa(Wr(t));return ua(r,e>>>0||(la(fa,r)?16:10))}:ua;Ce({target:"Number",stat:!0,forced:Number.parseInt!==ha},{parseInt:ha});var pa=b(v.f),va=b([].push),da=u&&a(function(){var t=Object.create(null);return t[2]=2,!pa(t,2)}),ga=function(t){return function(e){for(var r,n=k(e),o=_e(n),i=da&&null===Qr(n),a=o.length,s=0,c=[];a>s;)r=o[s++],u&&!(i?r in n:pa(n,r))||va(c,t?[r,n[r]]:n[r]);return c}},ya={entries:ga(!0),values:ga(!1)},ma=ya.entries;Ce({target:"Object",stat:!0},{entries:function(t){return ma(t)}}),Ce({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=k(t),o=Rt.f,i=Pe(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Cn(a,e,r);return a}});var ba=a(function(){_e(1)});Ce({target:"Object",stat:!0,forced:ba},{keys:function(t){return _e(it(t))}});var wa=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Ce({target:"Object",stat:!0},{is:wa});var Sa=ya.values;Ce({target:"Object",stat:!0},{values:function(t){return Sa(t)}}),Ce({target:"Object",stat:!0},{hasOwn:ut});var Ea=Function.prototype,Oa=Ea.apply,xa=Ea.call,Ra="object"==typeof Reflect&&Reflect.apply||(s?xa.bind(Oa):function(){return xa.apply(Oa,arguments)}),Pa=!a(function(){Reflect.apply(function(){})});Ce({target:"Reflect",stat:!0,forced:Pa},{apply:function(t,e,r){return Ra(J(t),e,kt(r))}});var Aa=Function,ja=b([].concat),ka=b([].join),Ia={},Ta=s?Aa.bind:function(t){var e=J(this),r=e.prototype,n=vo(arguments,1),o=function(){var r=ja(n,vo(arguments));return this instanceof o?function(t,e,r){if(!ut(Ia,e)){for(var n=[],o=0;ob)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}),gs=Oe.f,ys=ne.enforce,ms=dt("match"),bs=i.RegExp,ws=bs.prototype,Ss=i.SyntaxError,Es=b(ws.exec),Os=b("".charAt),xs=b("".replace),Rs=b("".indexOf),Ps=b("".slice),As=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,js=/a/g,ks=/a/g,Is=new bs(js)!==js,Ts=cs.MISSED_STICKY,Ms=cs.UNSUPPORTED_Y,Ls=u&&(!Is||Ts||ps||ds||a(function(){return ks[ms]=!1,bs(js)!==js||bs(ks)===ks||"/a/i"!==String(bs(js,"i"))}));if(Ue("RegExp",Ls)){for(var Us=function(t,e){var r,n,o,i,a,u,s=U(ws,this),c=es(t),f=void 0===e,l=[],h=t;if(!s&&c&&f&&t.constructor===Us)return t;if((c||U(ws,t))&&(t=t.source,f&&(e=os(h))),t=void 0===t?"":Wr(t),e=void 0===e?"":Wr(e),h=t,ps&&"dotAll"in js&&(n=!!e&&Rs(e,"s")>-1)&&(e=xs(e,/s/g,"")),r=e,Ts&&"sticky"in js&&(o=!!e&&Rs(e,"y")>-1)&&Ms&&(e=xs(e,/y/g,"")),ds&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a=Ve(null),u=!1,s=!1,c=0,f="";n<=r;n++){if("\\"===(e=Os(t,n)))e+=Os(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:if(o+=e,"?:"===Ps(t,n+1,n+3))continue;Es(As,Ps(t,n+1))&&(n+=2,s=!0),c++;continue;case">"===e&&s:if(""===f||ut(a,f))throw new Ss("Invalid capture group name");a[f]=!0,i[i.length]=[f,c],s=!1,f="";continue}s?f+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Io(bs(t,e),s?this:ws,Us),(n||o||l.length)&&(u=ys(a),n&&(u.dotAll=!0,u.raw=Us(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=Os(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+Os(t,++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{_t(a,"source",""===h?"(?:)":h)}catch(t){}return a},Ns=gs(bs),Cs=0;Ns.length>Cs;)ls(Us,bs,Ns[Cs++]);ws.constructor=Us,Us.prototype=ws,ie(i,"RegExp",Us,{constructor:!0})}Uo("RegExp");var _s=zt.PROPER,Fs="toString",Bs=RegExp.prototype,Ds=Bs[Fs];(a(function(){return"/a/b"!==Ds.call({source:"a",flags:"b"})})||_s&&Ds.name!==Fs)&&ie(Bs,Fs,function(){var t=kt(this);return"/"+Wr(t.source)+"/"+Wr(os(t))},{unsafe:!0});var zs=ne.get,Ws=RegExp.prototype,qs=TypeError;u&&ps&&so(Ws,"dotAll",{configurable:!0,get:function(){if(this!==Ws){if("RegExp"===E(this))return!!zs(this).dotAll;throw new qs("Incompatible receiver, RegExp required")}}});var Hs=ne.get,$s=nt("native-string-replace",String.prototype.replace),Ks=RegExp.prototype.exec,Gs=Ks,Vs=b("".charAt),Ys=b("".indexOf),Xs=b("".replace),Js=b("".slice),Qs=function(){var t=/a/,e=/b*/g;return f(Ks,t,"a"),f(Ks,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Zs=cs.BROKEN_CARET,tc=void 0!==/()??/.exec("")[1];(Qs||tc||Zs||ps||ds)&&(Gs=function(t){var e,r,n,o,i,a,u,s=this,c=Hs(s),l=Wr(t),h=c.raw;if(h)return h.lastIndex=s.lastIndex,e=f(Gs,h,l),s.lastIndex=h.lastIndex,e;var p=c.groups,v=Zs&&s.sticky,d=f(rs,s),g=s.source,y=0,m=l;if(v&&(d=Xs(d,"y",""),-1===Ys(d,"g")&&(d+="g"),m=Js(l,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Vs(l,s.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),r=new RegExp("^(?:"+g+")",d)),tc&&(r=new RegExp("^"+g+"$(?!\\s)",d)),Qs&&(n=s.lastIndex),o=f(Ks,v?r:s,m),v?o?(o.input=Js(o.input,y),o[0]=Js(o[0],y),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Qs&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),tc&&o&&o.length>1&&f($s,o[0],r,function(){for(i=1;i]*>)/g,Oc=/\$([$&'`]|\d{1,2})/g,xc=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Oc;return void 0!==o&&(o=it(o),s=Ec),wc(i,s,function(i,s){var c;switch(bc(s,0)){case"$":return"$";case"&":return t;case"`":return Sc(e,0,r);case"'":return Sc(e,a);case"<":c=o[Sc(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>u){var l=mc(f/10);return 0===l?i:l<=u?void 0===n[l-1]?bc(s,1):n[l-1]+bc(s,1):i}c=n[f-1]}return void 0===c?"":c})},Rc=dt("replace"),Pc=Math.max,Ac=Math.min,jc=b([].concat),kc=b([].push),Ic=b("".indexOf),Tc=b("".slice),Mc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Rc]&&""===/./[Rc]("a","$0"),Uc=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")});pc("replace",function(t,e,r){var n=Lc?"$":"$0";return[function(t,r){var n=j(this),o=P(t)?void 0:Q(t,Rc);return o?f(o,t,n,r):f(e,Wr(n),t,r)},function(t,o){var i=kt(this),a=Wr(t);if("string"==typeof o&&-1===Ic(o,n)&&-1===Ic(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=T(o);s||(o=Wr(o));var c,f=i.global;f&&(c=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=yc(i,a))&&(kc(h,l),f);)""===Wr(l[0])&&(i.lastIndex=dc(a,ve(i.lastIndex),c));for(var p,v="",d=0,g=0;g=d&&(v+=Tc(a,d,b)+y,d=b+m.length)}return v+Tc(a,d)}]},!Uc||!Mc||Lc),pc("search",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;var a=n.lastIndex;wa(a,0)||(n.lastIndex=0);var u=yc(n,o);return wa(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]});var Nc=dt("species"),Cc=function(t,e){var r,n=kt(t).constructor;return void 0===n||P(r=kt(n)[Nc])?e:La(r)},_c=cs.UNSUPPORTED_Y,Fc=Math.min,Bc=b([].push),Dc=b("".slice),zc=!a(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Wc="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;pc("split",function(t,e,r){var n="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:f(e,this,t,r)}:e;return[function(e,r){var o=j(this),i=P(e)?void 0:Q(e,t);return i?f(i,e,o,r):f(n,Wr(o),e,r)},function(t,o){var i=kt(this),a=Wr(t);if(!Wc){var u=r(n,i,a,o,n!==e);if(u.done)return u.value}var s=Cc(i,RegExp),c=i.unicode,f=new s(_c?"^(?:"+i.source+")":i,(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_c?"g":"y")),l=void 0===o?4294967295:o>>>0;if(0===l)return[];if(0===a.length)return null===yc(f,a)?[a]:[];for(var h=0,p=0,v=[];p0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Kc=b($c),Gc=b("".slice),Vc=Math.ceil,Yc=function(t){return function(e,r,n){var o,i,a=Wr(j(e)),u=ve(r),s=a.length,c=void 0===n?" ":Wr(n);return u<=s||""===c?a:((i=Kc(c,Vc((o=u-s)/c.length))).length>o&&(i=Gc(i,0,o)),t?a+i:i+a)}},Xc={start:Yc(!1),end:Yc(!0)},Jc=Xc.start,Qc=Array,Zc=RegExp.escape,tf=b("".charAt),ef=b("".charCodeAt),rf=b(1.1.toString),nf=b([].join),of=/^[0-9a-z]/i,af=/^[$()*+./?[\\\]^{|}]/,uf=RegExp("^[!\"#%&',\\-:;<=>@`~"+Mi+"]"),sf=b(of.exec),cf={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},ff=function(t){var e=rf(ef(t,0),16);return e.length<3?"\\x"+Jc(e,2,"0"):"\\u"+Jc(e,4,"0")},lf=!Zc||"\\x61b"!==Zc("ab");Ce({target:"RegExp",stat:!0,forced:lf},{escape:function(t){!function(t){if("string"==typeof t)return t;throw new qc("Argument is not a string")}(t);for(var e=t.length,r=Qc(e),n=0;n=56320||n+1>=e||56320!=(64512&ef(t,n+1))?r[n]=ff(o):(r[n]=o,r[++n]=tf(t,n))}}return nf(r,"")}}),To("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var hf=Set.prototype,pf={Set:Set,add:b(hf.add),has:b(hf.has),remove:b(hf.delete),proto:hf},vf=pf.has,df=function(t){return vf(t),t},gf=pf.Set,yf=pf.proto,mf=b(yf.forEach),bf=b(yf.keys),wf=bf(new gf).next,Sf=function(t,e,r){return r?ci({iterator:bf(t),next:wf},e):mf(t,e)},Ef=pf.Set,Of=pf.add,xf=function(t){var e=new Ef;return Sf(t,function(t){Of(e,t)}),e},Rf=ln(pf.proto,"size","get")||function(t){return t.size},Pf="Invalid size",Af=RangeError,jf=TypeError,kf=Math.max,If=function(t,e){this.set=t,this.size=kf(e,0),this.has=J(t.has),this.keys=J(t.keys)};If.prototype={getIterator:function(){return{iterator:t=kt(f(this.keys,this.set)),next:t.next,done:!1};var t},includes:function(t){return f(this.has,this.set,t)}};var Tf=function(t){kt(t);var e=+t.size;if(e!=e)throw new jf(Pf);var r=ce(e);if(r<0)throw new Af(Pf);return new If(t,r)},Mf=pf.has,Lf=pf.remove,Uf=function(t){var e=df(this),r=Tf(t),n=xf(e);return Rf(e)<=r.size?Sf(e,function(t){r.includes(t)&&Lf(n,t)}):ci(r.getIterator(),function(t){Mf(e,t)&&Lf(n,t)}),n},Nf=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},Cf=function(t){var e=L("Set");try{(new e)[t](Nf(0));try{return(new e)[t](Nf(-1)),!1}catch(t){return!0}}catch(t){return!1}};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("difference")},{difference:Uf});var _f=pf.Set,Ff=pf.add,Bf=pf.has,Df=function(t){var e=df(this),r=Tf(t),n=new _f;return Rf(e)>r.size?ci(r.getIterator(),function(t){Bf(e,t)&&Ff(n,t)}):Sf(e,function(t){r.includes(t)&&Ff(n,t)}),n},zf=!Cf("intersection")||a(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});Ce({target:"Set",proto:!0,real:!0,forced:zf},{intersection:Df});var Wf=pf.has,qf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<=r.size)return!1!==Sf(e,function(t){if(r.includes(t))return!1},!0);var n=r.getIterator();return!1!==ci(n,function(t){if(Wf(e,t))return Tn(n,"normal",!1)})};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isDisjointFrom")},{isDisjointFrom:qf});var Hf=function(t){var e=df(this),r=Tf(t);return!(Rf(e)>r.size)&&!1!==Sf(e,function(t){if(!r.includes(t))return!1},!0)};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isSubsetOf")},{isSubsetOf:Hf});var $f=pf.has,Kf=function(t){var e=df(this),r=Tf(t);if(Rf(e)1?arguments[1]:void 0);return!1!==Sf(e,function(t){if(!r(t,t,e))return!1},!0)}});var el=dt("iterator"),rl=Object,nl=L("Set"),ol=function(t){return function(t){return M(t)&&"number"==typeof t.size&&T(t.has)&&T(t.keys)}(t)?t:function(t){if(P(t))return!1;var e=rl(t);return void 0!==e[el]||"@@iterator"in e||ut(un,pr(e))}(t)?new nl(t):t};Ce({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return f(Uf,this,ol(t))}});var il=pf.Set,al=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new il;return Sf(e,function(t){r(t,t,e)&&al(n,t)}),n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=Sf(e,function(t){if(r(t,t,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return f(Df,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return f(qf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return f(Hf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return f(Kf,this,ol(t))}});var ul=b([].join),sl=b([].push);Ce({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=df(this),r=void 0===t?",":Wr(t),n=[];return Sf(e,function(t){sl(n,t)}),ul(n,r)}});var cl=pf.Set,fl=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new cl;return Sf(e,function(t){fl(n,r(t,t,e))}),n}});var ll=TypeError;Ce({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=df(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),Sf(e,function(o){r?(r=!1,n=o):n=t(n,o,o,e)}),r)throw new ll("Reduce of empty set with no initial value");return n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===Sf(e,function(t){if(r(t,t,e))return!0},!0)}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return f(Xf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return f(Qf,this,ol(t))}});var hl=dt("species"),pl=dt("isConcatSpreadable"),vl=W>=51||!a(function(){var t=[];return t[pl]=!1,t.concat()[0]!==t}),dl=function(t){if(!M(t))return!1;var e=t[pl];return void 0!==e?!!e:ur(t)},gl=!(vl&&(W>=51||!a(function(){var t=[];return(t.constructor={})[hl]=function(){return{foo:1}},1!==t.concat(Boolean).foo})));Ce({target:"Array",proto:!0,arity:1,forced:gl},{concat:function(t){var e,r,n,o,i,a=it(this),u=xr(a,0),s=0;for(e=-1,n=arguments.length;e1?arguments[1]:void 0,n=e.length,o=void 0===r?n:ip(ve(r),n),i=Wr(t);return op(e,o-i.length,o)===i}}),Ze("String","endsWith");var sp=RangeError,cp=String.fromCharCode,fp=String.fromCodePoint,lp=b([].join);Ce({target:"String",stat:!0,arity:1,forced:!!fp&&1!==fp.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],he(e,1114111)!==e)throw new sp(e+" is not a valid code point");r[o]=e<65536?cp(e):cp(55296+((e-=65536)>>10),e%1024+56320)}return lp(r,"")}});var hp=b("".indexOf);Ce({target:"String",proto:!0,forced:!rp("includes")},{includes:function(t){return!!~hp(Wr(j(this)),Wr(tp(t)),arguments.length>1?arguments[1]:void 0)}}),Ze("String","includes"),b(un.String);var pp=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(_),vp=Xc.start;Ce({target:"String",proto:!0,forced:pp},{padStart:function(t){return vp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padStart");var dp=Xc.end;Ce({target:"String",proto:!0,forced:pp},{padEnd:function(t){return dp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padEnd");var gp=b([].push),yp=b([].join);Ce({target:"String",stat:!0},{raw:function(t){var e=k(it(t).raw),r=de(e);if(!r)return"";for(var n=arguments.length,o=[],i=0;;){if(gp(o,Wr(e[i++])),i===r)return yp(o,"");i1?arguments[1]:void 0,e.length)),n=Wr(t);return bp(e,r,r+n.length)===n}}),Ze("String","startsWith");var Op=zt.PROPER,xp=function(t){return a(function(){return!!Mi[t]()||"​…᠎"!=="​…᠎"[t]()||Op&&Mi[t].name!==t})},Rp=_i.start,Pp=xp("trimStart")?function(){return Rp(this)}:"".trimStart;Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Pp},{trimLeft:Pp}),Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==Pp},{trimStart:Pp}),Ze("String","trimLeft");var Ap=_i.end,jp=xp("trimEnd")?function(){return Ap(this)}:"".trimEnd;Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==jp},{trimRight:jp}),Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==jp},{trimEnd:jp}),Ze("String","trimRight");var kp=Object.getOwnPropertyDescriptor,Ip=function(t){if(!u)return i[t];var e=kp(i,t);return e&&e.value},Tp=dt("iterator"),Mp=!a(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),!e.size&&!u||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Tp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),Lp=TypeError,Up=function(t,e){if(t0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Np(r/2),u=Cp(vo(t,0,a),e),s=Cp(vo(t,a),e),c=u.length,f=s.length,l=0,h=0;l0&&0!=(t&r);r>>=1)e++;return e},pv=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},vv=function(t){for(var e=(t=nv(t,cv," ")).length,r="",n=0;ne){r+="%",n++;continue}var i=lv(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=hv(i);if(0===a)o=Jp(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],s=1;se||"%"!==tv(t,n));){var c=lv(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;rv(u,c),n+=2,s++}if(u.length!==a){r+="�";continue}var f=pv(u);null===f?r+="�":o=Qp(f)}}r+=o,n++}return r},dv=/[!'()~]|%20/g,gv={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},yv=function(t){return gv[t]},mv=function(t){return nv(Xp(t),dv,yv)},bv=fn(function(t,e){zp(this,{type:Dp,target:Wp(t).entries,index:0,kind:e})},Bp,function(){var t=qp(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Pn(n.key,!1);case"values":return Pn(n.value,!1)}return Pn([n.key,n.value],!1)},!0),wv=function(t){this.entries=[],this.url=null,void 0!==t&&(M(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===tv(t,0)?uv(t,1):t:Wr(t)))};wv.prototype={type:Bp,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=this.entries,c=Fn(t);if(c)for(r=(e=Dn(t,c)).next;!(n=f(r,e)).done;){if(o=Dn(kt(n.value)),(a=f(i=o.next,o)).done||(u=f(i,o)).done||!f(i,o).done)throw new Yp("Expected sequence with length 2");rv(s,{key:Wr(a.value),value:Wr(u.value)})}else for(var l in t)ut(t,l)&&rv(s,{key:l,value:Wr(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=av(t,"&"),i=0;i0?arguments[0]:void 0));u||(this.size=t.entries.length)},Ev=Sv.prototype;if(Mo(Ev,{append:function(t,e){var r=Wp(this);Up(arguments.length,2),rv(r.entries,{key:Wr(t),value:Wr(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=Wp(this),r=Up(arguments.length,1),n=e.entries,o=Wr(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Wr(i),s=0;se.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=Wp(this).entries,n=ar(t,arguments.length>1?arguments[1]:void 0),o=0;o1?Rv(arguments[1]):{})}}),T($p)){var Pv=function(t){return ko(this,Gp),new $p(t,arguments.length>1?Rv(arguments[1]):{})};Gp.constructor=Pv,Pv.prototype=Gp,Ce({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pv})}}var Av={URLSearchParams:Sv,getState:Wp},jv=URLSearchParams,kv=jv.prototype,Iv=b(kv.append),Tv=b(kv.delete),Mv=b(kv.forEach),Lv=b([].push),Uv=new jv("a=1&a=2&b=3");Uv.delete("a",1),Uv.delete("b",void 0),Uv+""!="a=2"&&ie(kv,"delete",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Tv(this,t);var n=[];Mv(this,function(t,e){Lv(n,{key:e,value:t})}),Up(e,1);for(var o,i=Wr(t),a=Wr(r),u=0,s=0,c=!1,f=n.length;uo;)for(var s,c=R(arguments[o++]),l=i?$v(_e(c),i(c)):_e(c),h=l.length,p=0;h>p;)s=l[p++],u&&!f(a,c,s)||(r[s]=c[s]);return r}:qv,Gv=2147483647,Vv=/[^\0-\u007E]/,Yv=/[.\u3002\uFF0E\uFF61]/g,Xv="Overflow: input needs wider integers to process",Jv=RangeError,Qv=b(Yv.exec),Zv=Math.floor,td=String.fromCharCode,ed=b("".charCodeAt),rd=b([].join),nd=b([].push),od=b("".replace),id=b("".split),ad=b("".toLowerCase),ud=function(t){return t+22+75*(t<26)},sd=function(t,e,r){var n=0;for(t=r?Zv(t/700):t>>1,t+=Zv(t/e);t>455;)t=Zv(t/35),n+=36;return Zv(n+36*t/(t+38))},cd=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r=55296&&o<=56319&&r=i&&nZv((Gv-a)/l))throw new Jv(Xv);for(a+=(f-i)*l,i=f,r=0;rGv)throw new Jv(Xv);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(h?@[\\\]^|]/,qd=/[\0\t\n\r #/:<>?@[\\\]^|]/,Hd=/^[\u0000-\u0020]+/,$d=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kd=/[\t\n\r]/g,Gd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Td(e,t%256),t=md(t/256);return Ed(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Od(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},Vd={},Yd=Kv({},Vd,{" ":1,'"':1,"<":1,">":1,"`":1}),Xd=Kv({},Yd,{"#":1,"?":1,"{":1,"}":1}),Jd=Kv({},Xd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qd=function(t,e){var r=fd(t,0);return r>32&&r<127&&!ut(e,t)?t:encodeURIComponent(t)},Zd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tg=function(t,e){var r;return 2===t.length&&Sd(Nd,wd(t,0))&&(":"===(r=wd(t,1))||!e&&"|"===r)},eg=function(t){var e;return t.length>1&&tg(kd(t,0,2))&&(2===t.length||"/"===(e=wd(t,2))||"\\"===e||"?"===e||"#"===e)},rg=function(t){return"."===t||"%2e"===Id(t)},ng={},og={},ig={},ag={},ug={},sg={},cg={},fg={},lg={},hg={},pg={},vg={},dg={},gg={},yg={},mg={},bg={},wg={},Sg={},Eg={},Og={},xg=function(t,e,r){var n,o,i,a=Wr(t);if(e){if(o=this.parse(a))throw new gd(o);this.searchParams=null}else{if(void 0!==r&&(n=new xg(r,!0)),o=this.parse(a,null,n))throw new gd(o);(i=vd(new pd)).bindURL(this),this.searchParams=i}};xg.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||ng,f=0,l="",h=!1,p=!1,v=!1;for(t=Wr(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Pd(t,Hd,""),t=Pd(t,$d,"$1")),t=Pd(t,Kd,""),n=Wn(t);f<=n.length;){switch(o=n[f],c){case ng:if(!o||!Sd(Nd,o)){if(e)return Md;c=ig;continue}l+=Id(o),c=og;break;case og:if(o&&(Sd(Cd,o)||"+"===o||"-"===o||"."===o))l+=Id(o);else{if(":"!==o){if(e)return Md;l="",c=ig,f=0;continue}if(e&&(s.isSpecial()!==ut(Zd,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&Zd[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?c=gg:s.isSpecial()&&r&&r.scheme===s.scheme?c=ag:s.isSpecial()?c=fg:"/"===n[f+1]?(c=ug,f++):(s.cannotBeABaseURL=!0,Rd(s.path,""),c=Sg)}break;case ig:if(!r||r.cannotBeABaseURL&&"#"!==o)return Md;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=vo(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Og;break}c="file"===r.scheme?gg:sg;continue;case ag:if("/"!==o||"/"!==n[f+1]){c=sg;continue}c=lg,f++;break;case ug:if("/"===o){c=hg;break}c=wg;continue;case sg:if(s.scheme=r.scheme,o===Wv)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())c=cg;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query="",c=Eg;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.path.length--,c=wg;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og}break;case cg:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=wg;continue}c=hg}else c=lg;break;case fg:if(c=lg,"/"!==o||"/"!==wd(l,f+1))continue;f++;break;case lg:if("/"!==o&&"\\"!==o){c=hg;continue}break;case hg:if("@"===o){h&&(l="%40"+l),h=!0,i=Wn(l);for(var d=0;d65535)return Ud;s.port=s.isSpecial()&&m===Zd[s.scheme]?null:m,l=""}if(e)return;c=bg;continue}return Ud}l+=o;break;case gg:if(s.scheme="file","/"===o||"\\"===o)c=yg;else{if(!r||"file"!==r.scheme){c=wg;continue}switch(o){case Wv:s.host=r.host,s.path=vo(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=vo(r.path),s.query="",c=Eg;break;case"#":s.host=r.host,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og;break;default:eg(Ed(vo(n,f),""))||(s.host=r.host,s.path=vo(r.path),s.shortenPath()),c=wg;continue}}break;case yg:if("/"===o||"\\"===o){c=mg;break}r&&"file"===r.scheme&&!eg(Ed(vo(n,f),""))&&(tg(r.path[0],!0)?Rd(s.path,r.path[0]):s.host=r.host),c=wg;continue;case mg:if(o===Wv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&tg(l))c=wg;else if(""===l){if(s.host="",e)return;c=bg}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),e)return;l="",c=bg}continue}l+=o;break;case bg:if(s.isSpecial()){if(c=wg,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wv&&(c=wg,"/"!==o))continue}else s.fragment="",c=Og;else s.query="",c=Eg;break;case wg:if(o===Wv||"/"===o||"\\"===o&&s.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(u=Id(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,"")):rg(l)?"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,""):("file"===s.scheme&&!s.path.length&&tg(l)&&(s.host&&(s.host=""),l=wd(l,0)+":"),Rd(s.path,l)),l="","file"===s.scheme&&(o===Wv||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)Ad(s.path);"?"===o?(s.query="",c=Eg):"#"===o&&(s.fragment="",c=Og)}else l+=Qd(o,Xd);break;case Sg:"?"===o?(s.query="",c=Eg):"#"===o?(s.fragment="",c=Og):o!==Wv&&(s.path[0]+=Qd(o,Vd));break;case Eg:e||"#"!==o?o!==Wv&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":Qd(o,Vd)):(s.fragment="",c=Og);break;case Og:o!==Wv&&(s.fragment+=Qd(o,Yd))}f++}},parseHost:function(t){var e,r,n;if("["===wd(t,0)){if("]"!==wd(t,t.length-1))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return wd(t,l)};if(":"===h()){if(":"!==wd(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(":"!==h()){for(e=r=0;r<4&&Sd(zd,h());)e=16*e+yd(h(),16),l++,r++;if("."===h()){if(0===r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!Sd(_d,h()))return;for(;Sd(_d,h());){if(i=yd(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!==c)return;return s}(kd(t,1,-1)),!e)return Ld;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,r,n=[],o=id(od(ad(t),Yv,"."),".");for(e=0;e4)return t;for(r=[],n=0;n1&&"0"===wd(o,0)&&(i=Sd(Fd,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!Sd(10===i?Dd:8===i?Bd:zd,o))return t;a=yd(o,i)}Rd(r,a)}for(n=0;n=bd(256,5-e))return null}else if(a>255)return null;for(u=xd(r),n=0;n1?arguments[1]:void 0,n=ld(e,new xg(t,!1,r));u||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Pg=Rg.prototype,Ag=function(t,e){return{get:function(){return hd(this)[t]()},set:e&&function(t){return hd(this)[e](t)},configurable:!0,enumerable:!0}};if(u&&(so(Pg,"href",Ag("serialize","setHref")),so(Pg,"origin",Ag("getOrigin")),so(Pg,"protocol",Ag("getProtocol","setProtocol")),so(Pg,"username",Ag("getUsername","setUsername")),so(Pg,"password",Ag("getPassword","setPassword")),so(Pg,"host",Ag("getHost","setHost")),so(Pg,"hostname",Ag("getHostname","setHostname")),so(Pg,"port",Ag("getPort","setPort")),so(Pg,"pathname",Ag("getPathname","setPathname")),so(Pg,"search",Ag("getSearch","setSearch")),so(Pg,"searchParams",Ag("getSearchParams")),so(Pg,"hash",Ag("getHash","setHash"))),ie(Pg,"toJSON",function(){return hd(this).serialize()},{enumerable:!0}),ie(Pg,"toString",function(){return hd(this).serialize()},{enumerable:!0}),dd){var jg=dd.createObjectURL,kg=dd.revokeObjectURL;jg&&ie(Rg,"createObjectURL",ar(jg,dd)),kg&&ie(Rg,"revokeObjectURL",ar(kg,dd))}an(Rg,"URL"),Ce({global:!0,constructor:!0,forced:!Mp,sham:!u},{URL:Rg});var Ig=L("URL"),Tg=Mp&&a(function(){Ig.canParse()}),Mg=a(function(){return 1!==Ig.canParse.length});Ce({target:"URL",stat:!0,forced:!Tg||Mg},{canParse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return!!new Ig(r,n)}catch(t){return!1}}});var Lg=L("URL");Ce({target:"URL",stat:!0,forced:!Mp},{parse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return new Lg(r,n)}catch(t){return null}}}),Ce({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return f(URL.prototype.toString,this)}});var Ug=WeakMap.prototype,Ng={WeakMap:WeakMap,set:b(Ug.set),get:b(Ug.get),has:b(Ug.has),remove:b(Ug.delete)},Cg=Ng.has,_g=function(t){return Cg(t),t},Fg=Ng.get,Bg=Ng.has,Dg=Ng.set;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=_g(this);return Bg(o,t)?(r=Fg(o,t),"update"in e&&(r=e.update(r,t,o),Dg(o,t,r)),r):(n=e.insert(t,o),Dg(o,t,n),n)}}),Ce({target:"WeakMap",stat:!0,forced:!0},{from:ei(Ng.WeakMap,Ng.set,!0)}),Ce({target:"WeakMap",stat:!0,forced:!0},{of:ri(Ng.WeakMap,Ng.set,!0)});var zg=Ng.remove;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=_g(this),r=!0,n=0,o=arguments.length;n2&&(n=r,M(o=arguments[2])&&"cause"in o&&_t(n,"cause",o.cause));var s=[];return Ao(t,ny,{that:s}),_t(r,"errors",s),r};dn?dn(oy,ry):Ae(oy,ry,{name:!0});var iy=oy.prototype=Ve(ry.prototype,{constructor:d(1,oy),message:d(1,""),name:d(1,"AggregateError")});Ce({global:!0,constructor:!0,arity:2},{AggregateError:oy});var ay,uy,sy,cy,fy=function(t){return _.slice(0,t.length)===t},ly=fy("Bun/")?"BUN":fy("Cloudflare-Workers")?"CLOUDFLARE":fy("Deno/")?"DENO":fy("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===E(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST",hy="NODE"===ly,py=/(?:ipad|iphone|ipod).*applewebkit/i.test(_),vy=i.setImmediate,dy=i.clearImmediate,gy=i.process,yy=i.Dispatch,my=i.Function,by=i.MessageChannel,wy=i.String,Sy=0,Ey={},Oy="onreadystatechange";a(function(){ay=i.location});var xy=function(t){if(ut(Ey,t)){var e=Ey[t];delete Ey[t],e()}},Ry=function(t){return function(){xy(t)}},Py=function(t){xy(t.data)},Ay=function(t){i.postMessage(wy(t),ay.protocol+"//"+ay.host)};vy&&dy||(vy=function(t){Up(arguments.length,1);var e=T(t)?t:my(t),r=vo(arguments,1);return Ey[++Sy]=function(){Ra(e,void 0,r)},uy(Sy),Sy},dy=function(t){delete Ey[t]},hy?uy=function(t){gy.nextTick(Ry(t))}:yy&&yy.now?uy=function(t){yy.now(Ry(t))}:by&&!py?(cy=(sy=new by).port2,sy.port1.onmessage=Py,uy=ar(cy.postMessage,cy)):i.addEventListener&&T(i.postMessage)&&!i.importScripts&&ay&&"file:"!==ay.protocol&&!a(Ay)?(uy=Ay,i.addEventListener("message",Py,!1)):uy=Oy in Et("script")?function(t){De.appendChild(Et("script"))[Oy]=function(){De.removeChild(this),xy(t)}}:function(t){setTimeout(Ry(t),0)});var jy={set:vy,clear:dy},ky=function(){this.head=null,this.tail=null};ky.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Iy,Ty,My,Ly,Uy,Ny=ky,Cy=/ipad|iphone|ipod/i.test(_)&&"undefined"!=typeof Pebble,_y=/web0s(?!.*chrome)/i.test(_),Fy=jy.set,By=i.MutationObserver||i.WebKitMutationObserver,Dy=i.document,zy=i.process,Wy=i.Promise,qy=Ip("queueMicrotask");if(!qy){var Hy=new Ny,$y=function(){var t,e;for(hy&&(t=zy.domain)&&t.exit();e=Hy.get();)try{e()}catch(t){throw Hy.head&&Iy(),t}t&&t.enter()};py||hy||_y||!By||!Dy?!Cy&&Wy&&Wy.resolve?((Ly=Wy.resolve(void 0)).constructor=Wy,Uy=ar(Ly.then,Ly),Iy=function(){Uy($y)}):hy?Iy=function(){zy.nextTick($y)}:(Fy=ar(Fy,i),Iy=function(){Fy($y)}):(Ty=!0,My=Dy.createTextNode(""),new By($y).observe(My,{characterData:!0}),Iy=function(){My.data=Ty=!Ty}),qy=function(t){Hy.head||Iy(),Hy.add(t)}}var Ky,Gy,Vy,Yy=qy,Xy=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jy=i.Promise,Qy=dt("species"),Zy=!1,tm=T(i.PromiseRejectionEvent),em=Ue("Promise",function(){var t=Kt(Jy),e=t!==String(Jy);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var r=new Jy(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[Qy]=n,!(Zy=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==ly&&"DENO"!==ly||tm)}),rm={CONSTRUCTOR:em,REJECTION_EVENT:tm,SUBCLASSING:Zy},nm=TypeError,om=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new nm("Bad Promise constructor");e=t,r=n}),this.resolve=J(e),this.reject=J(r)},im={f:function(t){return new om(t)}},am=jy.set,um="Promise",sm=rm.CONSTRUCTOR,cm=rm.REJECTION_EVENT,fm=rm.SUBCLASSING,lm=ne.getterFor(um),hm=ne.set,pm=Jy&&Jy.prototype,vm=Jy,dm=pm,gm=i.TypeError,ym=i.document,mm=i.process,bm=im.f,wm=bm,Sm=!!(ym&&ym.createEvent&&i.dispatchEvent),Em="unhandledrejection",Om=function(t){var e;return!(!M(t)||!T(e=t.then))&&e},xm=function(t,e){var r,n,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&km(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?c(new gm("Promise-chain cycle")):(n=Om(r))?f(n,r,s,c):s(r)):c(i)}catch(t){l&&!o&&l.exit(),c(t)}},Rm=function(t,e){t.notified||(t.notified=!0,Yy(function(){for(var r,n=t.reactions;r=n.get();)xm(r,t);t.notified=!1,e&&!t.rejection&&Am(t)}))},Pm=function(t,e,r){var n,o;Sm?((n=ym.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!cm&&(o=i["on"+t])?o(n):t===Em&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",r)},Am=function(t){f(am,i,function(){var e,r=t.facade,n=t.value;if(jm(t)&&(e=Xy(function(){hy?mm.emit("unhandledRejection",n,r):Pm(Em,r,n)}),t.rejection=hy||jm(t)?2:1,e.error))throw e.value})},jm=function(t){return 1!==t.rejection&&!t.parent},km=function(t){f(am,i,function(){var e=t.facade;hy?mm.emit("rejectionHandled",e):Pm("rejectionhandled",e,t.value)})},Im=function(t,e,r){return function(n){t(e,n,r)}},Tm=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rm(t,!0))},Mm=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new gm("Promise can't be resolved itself");var n=Om(e);n?Yy(function(){var r={done:!1};try{f(n,e,Im(Mm,r,t),Im(Tm,r,t))}catch(e){Tm(r,e,t)}}):(t.value=e,t.state=1,Rm(t,!1))}catch(e){Tm({done:!1},e,t)}}};if(sm&&(vm=function(t){ko(this,dm),J(t),f(Ky,this);var e=lm(this);try{t(Im(Mm,e),Im(Tm,e))}catch(t){Tm(e,t)}},(Ky=function(t){hm(this,{type:um,done:!1,notified:!1,parent:!1,reactions:new Ny,rejection:!1,state:0,value:null})}).prototype=ie(dm=vm.prototype,"then",function(t,e){var r=lm(this),n=bm(Cc(this,vm));return r.parent=!0,n.ok=!T(t)||t,n.fail=T(e)&&e,n.domain=hy?mm.domain:void 0,0===r.state?r.reactions.add(n):Yy(function(){xm(n,r)}),n.promise}),Gy=function(){var t=new Ky,e=lm(t);this.promise=t,this.resolve=Im(Mm,e),this.reject=Im(Tm,e)},im.f=bm=function(t){return t===vm||void 0===t?new Gy(t):wm(t)},T(Jy)&&pm!==Object.prototype)){Vy=pm.then,fm||ie(pm,"then",function(t,e){var r=this;return new vm(function(t,e){f(Vy,r,t,e)}).then(t,e)},{unsafe:!0});try{delete pm.constructor}catch(t){}dn&&dn(pm,dm)}Ce({global:!0,constructor:!0,wrap:!0,forced:sm},{Promise:vm}),an(vm,um,!1),Uo(um);var Lm=rm.CONSTRUCTOR||!Gn(function(t){Jy.all(t).then(void 0,function(){})});Ce({target:"Promise",stat:!0,forced:Lm},{all:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),i=[],a=0,u=1;Ao(t,function(t){var s=a++,c=!1;u++,f(r,e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise}});var Um=Jy&&Jy.prototype;if(Ce({target:"Promise",proto:!0,forced:rm.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),T(Jy)){var Nm=L("Promise").prototype.catch;Um.catch!==Nm&&ie(Um,"catch",Nm,{unsafe:!0})}Ce({target:"Promise",stat:!0,forced:Lm},{race:function(t){var e=this,r=im.f(e),n=r.reject,o=Xy(function(){var o=J(e.resolve);Ao(t,function(t){f(o,e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{reject:function(t){var e=im.f(this);return(0,e.reject)(t),e.promise}});var Cm=function(t,e){if(kt(t),M(e)&&e.constructor===t)return e;var r=im.f(t);return(0,r.resolve)(e),r.promise};Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{resolve:function(t){return Cm(this,t)}}),Ce({target:"Promise",stat:!0,forced:Lm},{allSettled:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),o=[],i=0,a=1;Ao(t,function(t){var u=i++,s=!1;a++,f(r,e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var _m="No one promise resolved";Ce({target:"Promise",stat:!0,forced:Lm},{any:function(t){var e=this,r=L("AggregateError"),n=im.f(e),o=n.resolve,i=n.reject,a=Xy(function(){var n=J(e.resolve),a=[],u=0,s=1,c=!1;Ao(t,function(t){var l=u++,h=!1;s++,f(n,e,t).then(function(t){h||c||(c=!0,o(t))},function(t){h||c||(h=!0,a[l]=t,--s||i(new r(a,_m)))})}),--s||i(new r(a,_m))});return a.error&&i(a.value),n.promise}}),Ce({target:"Promise",stat:!0},{withResolvers:function(){var t=im.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Fm=Jy&&Jy.prototype,Bm=!!Jy&&a(function(){Fm.finally.call({then:function(){}},function(){})});if(Ce({target:"Promise",proto:!0,real:!0,forced:Bm},{finally:function(t){var e=Cc(this,L("Promise")),r=T(t);return this.then(r?function(r){return Cm(e,t()).then(function(){return r})}:t,r?function(r){return Cm(e,t()).then(function(){throw r})}:t)}}),T(Jy)){var Dm=L("Promise").prototype.finally;Fm.finally!==Dm&&ie(Fm,"finally",Dm,{unsafe:!0})}var zm=i.Promise,Wm=!1,qm=!zm||!zm.try||Xy(function(){zm.try(function(t){Wm=8===t},8)}).error||!Wm;Ce({target:"Promise",stat:!0,forced:qm},{try:function(t){var e=arguments.length>1?vo(arguments,1):[],r=im.f(this),n=Xy(function(){return Ra(J(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}}),Ze("Promise","finally");var Hm="URLSearchParams"in self,$m="Symbol"in self&&"iterator"in Symbol,Km="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),Gm="FormData"in self,Vm="ArrayBuffer"in self;if(Vm)var Ym=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Xm=ArrayBuffer.isView||function(t){return t&&Ym.indexOf(Object.prototype.toString.call(t))>-1};function Jm(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Qm(t){return"string"!=typeof t&&(t=String(t)),t}function Zm(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $m&&(e[Symbol.iterator]=function(){return e}),e}function tb(t){this.map={},t instanceof tb?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function eb(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function rb(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function nb(t){var e=new FileReader,r=rb(e);return e.readAsArrayBuffer(t),r}function ob(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ib(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:Km&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Gm&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Hm&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Vm&&Km&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ob(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vm&&(ArrayBuffer.prototype.isPrototypeOf(t)||Xm(t))?this._bodyArrayBuffer=ob(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Hm&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Km&&(this.blob=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?eb(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nb)}),this.text=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=rb(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function sb(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function cb(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new tb(e.headers),this.url=e.url||"",this._initBody(t)}ub.prototype.clone=function(){return new ub(this,{body:this._bodyInit})},ib.call(ub.prototype),ib.call(cb.prototype),cb.prototype.clone=function(){return new cb(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tb(this.headers),url:this.url})},cb.error=function(){var t=new cb(null,{status:0,statusText:""});return t.type="error",t};var fb=[301,302,303,307,308];cb.redirect=function(t,e){if(-1===fb.indexOf(e))throw new RangeError("Invalid status code");return new cb(null,{status:e,headers:{location:t}})};var lb=self.DOMException;try{new lb}catch(t){(lb=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lb.prototype.constructor=lb}function hb(t,e){return new Promise(function(r,n){var o=new ub(t,e);if(o.signal&&o.signal.aborted)return n(new lb("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new tb,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new cb("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new lb("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&Km&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}hb.polyfill=!0,self.fetch||(self.fetch=hb,self.Headers=tb,self.Request=ub,self.Response=cb);var pb=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,gb=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let i=e.r(32061);function r({reason:e,children:t}){if("u"{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return i}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let i=e.r(43476),r=e.r(74080),a=e.r(63599),o=e.r(9885),l=e.r(43369);function s({moduleIds:e}){if("u">typeof window)return null;let t=a.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let i=t.reactLoadableManifest;for(let t of e){if(!i[t])continue;let e=i[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,l.getAssetTokenQuery)();return(0,i.jsx)(i.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,r.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return c}});let i=e.r(43476),r=e.r(71645),a=e.r(67585),o=e.r(52157);function l(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},n=(0,r.lazy)(()=>t.loader().then(l)),c=t.loading;function m(e){let l=c?(0,i.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,m=s?r.Suspense:r.Fragment,d=t.ssr?(0,i.jsxs)(i.Fragment,{children:["u"{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});let i=e.r(55682)._(e.r(69093));function r(e,t){let n={};"function"==typeof e&&(n.loader=e);let r={...n,...t};return(0,i.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},58829,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(74080);function r({from:e,to:i,duration:a=2e3,decimals:o=0,suffix:l=""}){let[s,c]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let t=null,n=r=>{t||(t=r);let o=Math.min((r-t)/a,1);c(o*(i-e)+e),o<1&&window.requestAnimationFrame(n)};window.requestAnimationFrame(n)},[e,i,a]),(0,t.jsxs)(t.Fragment,{children:[s.toFixed(o),l]})}e.s(["default",0,function(){(0,i.preload)("/images/miletruth-bg.webp",{as:"image"});let[e,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{requestAnimationFrame(()=>a(!0))},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* ── Hero wrapper: column layout, zero gap between hero + stats ── */ - .miletruth-hero .elementor-element-86f3204 { - display: flex; - flex-direction: column; - gap: 0; - margin: 0; - padding: 0 20px; - } - - /* ── Hero slider card ── */ - .miletruth-hero-container { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.3) 100%), url('/images/miletruth-bg.webp') !important; - background-size: cover !important; - background-position: center !important; - background-repeat: no-repeat !important; - /* Match the home page hero card (800px) so MileTruth has the same visual - presence on large desktop, MacBook M1/Pro, and standard laptops. */ - min-height: 800px; - display: flex; - flex-direction: column; - justify-content: center; - border-radius: 25px 25px 0 0; - margin-top: 20px; - padding: 100px 0; - } - .miletruth-hero-container::before { - display: none !important; - } - .miletruth-content { - position: relative; - z-index: 2; - width: 100%; - padding: 0 !important; - box-sizing: border-box; - } - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - color: rgba(255, 255, 255, 0.96) !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - font-size: clamp(34px, 5.5vw, 72px) !important; - font-weight: 850 !important; - line-height: 1.05 !important; - letter-spacing: -1.5px !important; - text-transform: uppercase !important; - text-align: center !important; - display: block; - } - .miletruth-hero .content-slider-item-text { - margin-top: 22px !important; - text-align: center !important; - } - .miletruth-hero .content-slider-item-text p { - color: rgba(255, 255, 255, 0.72) !important; - font-family: var(--font-manrope), "Manrope", sans-serif !important; - font-size: clamp(17px, 1.6vw, 23px) !important; - font-weight: 500 !important; - line-height: 1.65 !important; - margin: 0 auto !important; - max-width: 820px; - } - .miletruth-hero .slide-content { - display: flex !important; - flex-direction: column !important; - align-items: center !important; - justify-content: center !important; - text-align: center !important; - width: 100% !important; - height: 100% !important; - padding: 0 15px !important; - box-sizing: border-box !important; - } - .miletruth-hero .slide-content, - .miletruth-hero .slide-content-inner { - /* These carry inherited 20px padding from the slider theme with - content-box sizing, so width:100% + padding overflowed the viewport - by ~40px and pushed the hero off-center. Force border-box so the - padding is contained and the block stays centered. */ - box-sizing: border-box !important; - } - .miletruth-hero .slide-content-inner { - display: flex !important; - flex-direction: column !important; - align-items: center !important; - justify-content: center !important; - text-align: center !important; - margin-left: auto !important; - margin-right: auto !important; - max-width: 1000px !important; - width: 100% !important; - } - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - text-align: center !important; - display: block !important; - width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - } - .miletruth-hero .content-slider-item-text { - display: flex !important; - justify-content: center !important; - width: 100% !important; - margin-top: 23px !important; - text-align: center !important; - } - .miletruth-hero .text-content { - text-align: center !important; - max-width: 800px !important; - margin: 0 auto !important; - } - /* The "logico" slider reveal animation leaves these at opacity:0 until - its JS runs (absent in this rebuild), hiding the heading + subtitle. - Force them visible. */ - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-text, - .miletruth-hero .logico-content-wrapper-1, - .miletruth-hero .logico-content-wrapper-2 { - opacity: 1 !important; - transform: none !important; - visibility: visible !important; - } - - /* ══════════════════════════════════════════════════════════════════ - Stats bar — dark rounded card overlapping the hero bottom - ══════════════════════════════════════════════════════════════════ */ - .miletruth-hero .elementor-element-8e5c81e { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - width: 100% !important; - margin: -25px 0 0 0 !important; - background-color: #1F1F1F !important; - border-radius: 25px !important; - padding: 40px 0 !important; - position: relative !important; - z-index: 1 !important; - } - .miletruth-hero .elementor-element-8e5c81e > .e-con-inner { - width: 100% !important; - max-width: 1440px !important; - height: auto !important; - margin: 0 auto !important; - padding: 0 40px !important; - flex-grow: 0 !important; - box-sizing: border-box !important; - } - - /* 4-col grid for counter widgets — rows size to content (not 1fr of the - container) so the counters aren't parked at the top of a tall row. */ - .miletruth-hero .elementor-element-628123a { - display: grid !important; - grid-template-columns: repeat(4, 1fr) !important; - grid-template-rows: auto !important; - height: auto !important; - gap: 40px !important; - width: 100% !important; - justify-items: start !important; - align-items: start !important; - align-content: start !important; - } - - /* Counter: title on top, number below, left-aligned */ - .miletruth-hero .elementor-counter { - display: flex !important; - flex-direction: column !important; - align-items: flex-start !important; - text-align: left !important; - } - - /* Counter title — above the number */ - .miletruth-hero .elementor-counter-title { - font-family: var(--font-manrope), "Manrope", sans-serif !important; - font-size: 20px !important; - font-weight: 600 !important; - line-height: 1.3em !important; - color: #FFFFFF !important; - margin-bottom: 12px !important; - text-transform: none !important; - } - - /* Counter number wrapper — centered */ - .miletruth-hero .elementor-counter-number-wrapper { - font-family: var(--font-space-grotesk), "Space Grotesk", var(--font-manrope), "Manrope", sans-serif !important; - font-size: clamp(48px, 6.5vw, 100px) !important; - font-weight: 700 !important; - line-height: 1em !important; - color: #C01227 !important; - letter-spacing: -0.03em !important; - display: flex !important; - align-items: baseline !important; - justify-content: flex-start !important; - } - .miletruth-hero .elementor-counter-number { - color: #C01227 !important; - font-size: inherit !important; - font-weight: inherit !important; - } - .miletruth-hero .elementor-counter-number-suffix { - color: #C01227 !important; - font-size: inherit !important; - font-weight: inherit !important; - letter-spacing: -0.03em !important; - } - - /* ── Responsive ── */ - @media (max-width: 1200px) { - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - font-size: 60px !important; - } - } - @media (max-width: 1024px) { - .miletruth-hero .elementor-element-86f3204 { - padding: 0 10px !important; - } - .miletruth-hero-container { - min-height: 600px; - padding: 80px 0 !important; - } - .miletruth-hero .elementor-element-8e5c81e { - padding: 40px 0 !important; - } - .miletruth-hero .elementor-element-628123a { - grid-template-columns: repeat(2, 1fr) !important; - gap: 50px 40px !important; - } - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - font-size: 50px !important; - line-height: 1.1 !important; - } - } - @media (max-width: 768px) { - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - font-size: 40px !important; - line-height: 1.12 !important; - } - .miletruth-hero .content-slider-item-text p { - font-size: 16px !important; - } - } - @media (max-width: 580px) { - .miletruth-hero-container { - min-height: 500px; - padding: 60px 0 !important; - } - .miletruth-hero .elementor-element-86f3204 { - padding: 0 10px !important; - } - /* Collapse the nested horizontal padding (was 40px + 40px on top of the - 12px wrapper) — at 320px that left only ~136px for text and the long - heading words overflowed, causing horizontal scroll + off-center look. */ - .miletruth-content { - padding: 0 !important; - } - .miletruth-hero .slide-content { - padding: 0 15px !important; - } - .miletruth-hero .elementor-element-8e5c81e { - padding: 30px 0 !important; - border-radius: 20px !important; - } - .miletruth-hero .elementor-element-8e5c81e > .e-con-inner { - padding: 0 20px !important; - } - .miletruth-hero .elementor-element-628123a { - grid-template-columns: 1fr !important; - gap: 36px !important; - /* Single column on mobile → center each stat in the card */ - justify-items: center !important; - } - .miletruth-hero .elementor-counter { - align-items: center !important; - text-align: center !important; - } - .miletruth-hero .elementor-counter-number-wrapper { - justify-content: center !important; - } - .miletruth-hero .content-slider-item-heading, - .miletruth-hero .content-slider-item-heading .heading-content { - font-size: clamp(26px, 8vw, 32px) !important; - letter-spacing: -0.5px !important; - /* never let a single long word push past the viewport */ - overflow-wrap: break-word; - word-break: break-word; - } - } - `}}),(0,t.jsx)("div",{className:"elementor-63 miletruth-hero",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-86f3204 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"86f3204","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"miletruth-hero-container",children:(0,t.jsx)("div",{className:"e-con-inner miletruth-content",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsx)("div",{className:"content-slider owl-carousel owl-theme",children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard",children:(0,t.jsx)("div",{className:"slide-content",style:{paddingLeft:0,paddingRight:0},children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsxs)("span",{className:"heading-content",children:["The Only AI Built",(0,t.jsx)("br",{}),"Exclusively for Logistics"]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"Optimizes every stage of the delivery journey for maximum efficiency."})})})]})})})})})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-8e5c81e e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"8e5c81e","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-628123a e-con-full e-grid cut-corner-no sticky-container-off e-con e-child","data-id":"628123a","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-1da88b5 elementor-widget elementor-widget-counter","data-id":"1da88b5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"counter.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-counter",children:[(0,t.jsx)("div",{className:"elementor-counter-title",children:"SLA Compliance"}),(0,t.jsxs)("div",{className:"elementor-counter-number-wrapper",children:[(0,t.jsx)("span",{className:"elementor-counter-number",children:e?(0,t.jsx)(r,{from:1,to:99.9,decimals:1,suffix:""}):"1"}),(0,t.jsx)("span",{className:"elementor-counter-number-suffix",children:" %"})]})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-1da88b5 elementor-widget elementor-widget-counter","data-id":"1da88b5-2","data-element_type":"widget","data-e-type":"widget","data-widget_type":"counter.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-counter",children:[(0,t.jsx)("div",{className:"elementor-counter-title",children:"Distance Saved"}),(0,t.jsxs)("div",{className:"elementor-counter-number-wrapper",children:[(0,t.jsx)("span",{className:"elementor-counter-number",children:e?(0,t.jsx)(r,{from:1,to:42,decimals:0,suffix:""}):"1"}),(0,t.jsx)("span",{className:"elementor-counter-number-suffix",children:" %"})]})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-1da88b5 elementor-widget elementor-widget-counter","data-id":"1da88b5-3","data-element_type":"widget","data-e-type":"widget","data-widget_type":"counter.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-counter",children:[(0,t.jsx)("div",{className:"elementor-counter-title",children:"Fewer Vehicles"}),(0,t.jsxs)("div",{className:"elementor-counter-number-wrapper",children:[(0,t.jsx)("span",{className:"elementor-counter-number",children:e?(0,t.jsx)(r,{from:1,to:37,decimals:0,suffix:""}):"1"}),(0,t.jsx)("span",{className:"elementor-counter-number-suffix",children:" %"})]})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-a1cf3d4 elementor-widget elementor-widget-counter","data-id":"a1cf3d4","data-element_type":"widget","data-e-type":"widget","data-widget_type":"counter.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-counter",children:[(0,t.jsx)("div",{className:"elementor-counter-title",children:"Dispatch Latency"}),(0,t.jsxs)("div",{className:"elementor-counter-number-wrapper",children:[(0,t.jsx)("span",{className:"elementor-counter-number",children:e?(0,t.jsx)(r,{from:1,to:45,decimals:0,suffix:""}):"45"}),(0,t.jsx)("span",{className:"elementor-counter-number-suffix",children:"ms"})]})]})})})]})})})]})})]})}])},76756,e=>{"use strict";var t=e.i(43476),n=e.i(14224),i=e.i(71645),r=e.i(70703);let a=(0,r.default)(()=>e.A(49712),{loadableGenerated:{modules:[29539]},ssr:!1}),o=(0,r.default)(()=>e.A(40999),{loadableGenerated:{modules:[39184]},ssr:!1}),l={optimization:"#020617",logistics:"#08080c"},s={optimization:{center:.78,amp:.14,speed:.5,still:.85},logistics:{center:.5,amp:.13,speed:.4,still:.52}};function c({variant:e,ariaLabel:n}){let r=(0,i.useRef)(null),m=(0,i.useRef)(s[e].still),[d,p]=(0,i.useState)(!1),[u,h]=(0,i.useState)(!1),[f,g]=(0,i.useState)(!1),[x,b]=(0,i.useState)(!1),[v,w]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=window.matchMedia("(min-width: 768px) and (max-width: 1024px)"),n=window.matchMedia("(prefers-reduced-motion: reduce)"),i=()=>{g(e.matches),b(t.matches),w(n.matches)};return i(),e.addEventListener("change",i),t.addEventListener("change",i),n.addEventListener("change",i),()=>{e.removeEventListener("change",i),t.removeEventListener("change",i),n.removeEventListener("change",i)}},[]),(0,i.useEffect)(()=>{let e=r.current;if(!e)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(p(!0),h(!0),t.disconnect())},{rootMargin:"60% 0px"}),n=new IntersectionObserver(e=>h(e.some(e=>e.isIntersecting)),{rootMargin:"10% 0px"});return t.observe(e),n.observe(e),()=>{t.disconnect(),n.disconnect()}},[]),(0,i.useEffect)(()=>{let t=s[e];if(v){m.current=t.still;return}if(!u)return;let n=0,i=()=>{let e=performance.now()/1e3;m.current=t.center+Math.sin(e*t.speed)*t.amp,n=requestAnimationFrame(i)};return n=requestAnimationFrame(i),()=>cancelAnimationFrame(n)},[e,v,u]),(0,t.jsxs)("div",{ref:r,className:"wf-scene",role:"img","aria-label":n??"DoorMile 3D logistics scene",style:{background:l[e]},children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wf-scene { - position: relative; - width: 100%; - /* Compact, fixed-ratio media panel — replaces the multi-viewport pinned - scroll experience so the workflow is dramatically shorter. */ - aspect-ratio: 4 / 3; - border-radius: 16px; - overflow: hidden; - } - .wf-scene__canvas { position: absolute; inset: 0; } - .wf-scene__canvas canvas { display: block; width: 100% !important; height: 100% !important; } - @media (max-width: 991px) { - .wf-scene { aspect-ratio: 16 / 10; } - } - /* Phones: shorter scene panel (~17% less tall than the old 4/3) so the - card + KPI bar are reached sooner. The closer mobile camera framing - keeps the depot/routes/vehicles readable in the reduced height. */ - @media (max-width: 480px) { - .wf-scene { aspect-ratio: 16 / 10; } - } - `}}),(0,t.jsx)("div",{className:"wf-scene__canvas",children:d&&("optimization"===e?(0,t.jsx)(a,{progress:m,reduced:v,isMobile:f,isTablet:x,active:u}):(0,t.jsx)(o,{progress:m,reduced:v,isMobile:f,active:u}))})]})}let m={accent:"#00E5FF",accent2:"#14B8A6",glow:"rgba(0,229,255,0.18)"},d=[{value:42,suffix:"%",label:"Distance Saved"},{value:28,suffix:"%",label:"Faster Routes"},{value:31,suffix:"%",label:"Lower Cost"},{value:99.9,decimals:1,suffix:"%",label:"On-Time"}],p=e=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e}),u=[{icon:p((0,t.jsx)("polygon",{points:"3 11 22 2 13 21 11 13 3 11"})),title:"Route Optimization",desc:"AI selects the most efficient path across every zone."},{icon:p((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7"}),(0,t.jsx)("polyline",{points:"16 17 22 17 22 11"})]})),title:"Distance Reduction",desc:"Same volume delivered with a leaner, better-used fleet."},{icon:p((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 14l4-4"}),(0,t.jsx)("path",{d:"M3.34 19a10 10 0 1 1 17.32 0"})]})),title:"Fleet Efficiency",desc:"Higher utilisation and lower operating cost."},{icon:p((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}),(0,t.jsx)("polyline",{points:"9 12 11 14 15 10"})]})),title:"SLA Performance",desc:"Real-time correction keeps deliveries on time."}],h=[{value:"-42%",label:"DISTANCE SAVED"},{value:"-37%",label:"FEWER VEHICLES"}];e.s(["default",0,function(){return(0,t.jsx)(n.default,{ariaLabel:"Workflow 1 — Performance",gapTop:!0,gapBottom:!0,bannerImage:"/images/mile-1.webp",cardTitle:"OPTIMIZE EVERY MILE",cardSubtitle:"Cut travel distance, reduce operating cost, and improve fleet productivity across every route.",eyebrow:"/ Performance /",titleLead:"SMARTER ROUTES. ",titleAccent:"LOWER COSTS.",mediaSlot:(0,t.jsx)(c,{variant:"optimization",ariaLabel:"Live route optimization engine"}),metrics:d,features:u,cardsHeading:"Performance Insight",cardsTheme:m,badges:h})}],76756)},38730,e=>{"use strict";var t=e.i(43476),n=e.i(14224);let i={accent:"#E2354A",accent2:"#C01227",glow:"rgba(226,53,74,0.2)"},r=[{value:45,suffix:"ms",label:"Inference"},{value:12,suffix:"+",label:"Strategies"},{value:99.9,decimals:1,suffix:"%",label:"SLA Met"},{value:24,suffix:"/7",label:"Adaptive"}],a=e=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e}),o=[{icon:a((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("polygon",{points:"12 2 2 7 12 12 22 7 12 2"}),(0,t.jsx)("polyline",{points:"2 17 12 22 22 17"}),(0,t.jsx)("polyline",{points:"2 12 12 17 22 12"})]})),title:"Generate Routes",desc:"Many strategies explored per dispatch window."},{icon:a((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),(0,t.jsx)("polyline",{points:"22 4 12 14.01 9 11.01"})]})),title:"Check Constraints",desc:"Battery, capacity, distance and time validated."},{icon:a((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"6",y1:"20",x2:"6",y2:"14"}),(0,t.jsx)("line",{x1:"12",y1:"20",x2:"12",y2:"4"}),(0,t.jsx)("line",{x1:"18",y1:"20",x2:"18",y2:"10"})]})),title:"Score & Compare",desc:"Plans ranked by total cost in parallel."},{icon:a((0,t.jsx)("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})),title:"Select Best Plan",desc:"SLA-first plan locked in and dispatched."}],l=[{value:"45ms",label:"INFERENCE"},{value:"100%",label:"SLA-FIRST"}];e.s(["default",0,function(){return(0,t.jsx)(n.default,{ariaLabel:"Workflow 2 — Innovation",gapBottom:!0,bannerImage:"/images/mid-mile-approach.webp",cardTitle:"CHOOSE THE BEST PLAN",cardSubtitle:"Analyze thousands of route possibilities and automatically select the most efficient delivery strategy.",eyebrow:"/ Innovation /",titleLead:"MANY STRATEGIES. ",titleAccent:"ONE BEST PLAN.",image:"/videos/workflow-2-routing.mp4",imageAlt:"AI route-planning engine selecting the best delivery plan",metrics:r,features:o,cardsHeading:"AI Decision Engine",cardsTheme:i,badges:l})}])},27698,e=>{"use strict";var t=e.i(43476),n=e.i(14224);let i={accent:"#7C5CFF",accent2:"#4C3AE3",glow:"rgba(124,92,255,0.20)"},r=[{text:"QUBO",value:0,suffix:"",label:"Problem Model"},{text:"GLOBAL",value:0,suffix:"",label:"Minimum Search"},{text:"HYBRID",value:0,suffix:"",label:"Intelligence"},{text:"MULTI",value:0,suffix:"",label:"Objective"}],a=[{text:"Multi-Rider",value:0,suffix:"",label:"Dynamic Routing"},{text:"Optimized",value:0,suffix:"",label:"Time Windows"},{text:"Real-Time",value:0,suffix:"",label:"Fleet Balancing"},{text:"Cost + Distance + SLA",value:0,suffix:"",label:"Objectives"}],o=e=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e}),l=[{icon:o((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"})]})),title:"Encode the Problem",desc:"Rider assignments, delivery sequences, capacity, traffic, service time, and SLA constraints become part of one mathematical optimization model."},{icon:o((0,t.jsx)("path",{d:"m8 3 4 8 5-5 5 15H2L8 3z"})),title:"Build the Energy Landscape",desc:"Each feasible routing solution is represented as a state with its own energy through a QUBO formulation."},{icon:o((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"1"})]})),title:"Search the Global Minimum",desc:"Optimization becomes the search for the lowest-energy state instead of evaluating route combinations one by one."},{icon:o((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("polygon",{points:"12 2 2 7 12 12 22 7 12 2"}),(0,t.jsx)("polyline",{points:"2 17 12 22 22 17"}),(0,t.jsx)("polyline",{points:"2 12 12 17 22 12"})]})),title:"Hybrid Intelligence",desc:"Classical algorithms, AI models, and quantum optimization work together using the right computational model for each problem."}],s=[{value:"QUBO",label:"PROBLEM MODEL"},{value:"HYBRID",label:"INTELLIGENCE"}];e.s(["default",0,function(){return(0,t.jsx)(n.default,{ariaLabel:"Workflow 4 — Quantum Intelligence",gapBottom:!0,image:"/videos/Doormile-quantum-video3.mp4",cardTitle:"BUILDING QUANTUM INTELLIGENCE",cardSubtitle:"Exploring a hybrid optimization layer that treats routing as an energy landscape, not a search problem.",eyebrow:"/ Quantum Intelligence /",titleLead:"FROM ROUTE SEARCH. ",titleAccent:"TO ENERGY MINIMIZATION.",imageAlt:"Hybrid quantum-classical optimization engine visualizing an energy landscape",metrics:r,barStats:a,features:l,cardsHeading:"Quantum Intelligence",sysLabel:"HYBRID ENGINE",cardsTheme:i,badges:s,mediaClassName:"evnd__imgwrap--wf4"})}])},33016,e=>{"use strict";var t=e.i(43476),n=e.i(71645);let i=(0,e.i(70703).default)(()=>e.A(15756),{loadableGenerated:{modules:[55819]},ssr:!1,loading:()=>null});e.s(["default",0,function(){let e=(0,n.useRef)(null),[r,a]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let t=e.current;if(!t)return;let n=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(a(!0),n.disconnect())},{rootMargin:"150% 0px"});return n.observe(t),()=>n.disconnect()},[]),r)?(0,t.jsx)("div",{ref:e,style:{display:"contents"},children:(0,t.jsx)(i,{})}):(0,t.jsx)("div",{ref:e,"aria-hidden":!0,style:{minHeight:"100vh"}})}])},49712,e=>{e.v(t=>Promise.all(["static/chunks/0ckcqe5on274m.js","static/chunks/04uib0xi8_zof.js","static/chunks/0e.~6vil2~4uy.js"].map(t=>e.l(t))).then(()=>t(29539)))},40999,e=>{e.v(t=>Promise.all(["static/chunks/15p8tu-h65hwr.js","static/chunks/0-kxqnmnjtk7l.js","static/chunks/04uib0xi8_zof.js","static/chunks/0e.~6vil2~4uy.js"].map(t=>e.l(t))).then(()=>t(39184)))},15756,e=>{e.v(t=>Promise.all(["static/chunks/0yqyiard9rg2e.js","static/chunks/0d09zs~9jbu5_.js"].map(t=>e.l(t))).then(()=>t(55819)))}]); \ No newline at end of file diff --git a/.next/static/chunks/04uib0xi8_zof.js b/.next/static/chunks/04uib0xi8_zof.js deleted file mode 100644 index a1b75b6..0000000 --- a/.next/static/chunks/04uib0xi8_zof.js +++ /dev/null @@ -1,243 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55838,(e,t,n)=>{"use strict";var i=e.r(71645),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useState,s=i.useEffect,o=i.useLayoutEffect,l=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="u"{"use strict";t.exports=e.r(55838)},52822,(e,t,n)=>{"use strict";var i=e.r(71645),r=e.r(2239),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useSyncExternalStore,o=i.useRef,l=i.useEffect,u=i.useMemo,c=i.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,i,r){var h=o(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var p=s(e,(h=u(function(){function e(e){if(!l){if(l=!0,s=e,e=i(e),void 0!==r&&d.hasValue){var t=d.value;if(r(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var n=i(e);return void 0!==r&&r(t,n)?(s=e,t):(s=e,o=n)}var s,o,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,i,r]))[0],h[1]);return l(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}},30224,(e,t,n)=>{"use strict";t.exports=e.r(52822)},66936,(e,t,n)=>{"use strict";function i(e,t){var n=e.length;for(e.push(t);0>>1,r=e[i];if(0>>1;is(l,n))us(c,l)?(e[i]=c,e[u]=n,i=u):(e[i]=l,e[o]=n,i=o);else if(us(c,n))e[i]=c,e[u]=n,i=u;else break}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var h=[],d=[],p=1,f=null,m=3,g=!1,v=!1,_=!1,y=!1,x="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,S="u">typeof setImmediate?setImmediate:null;function M(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,i(h,t);else break;t=r(d)}}function T(e){if(_=!1,M(e),!v)if(null!==r(h))v=!0,w||(w=!0,o());else{var t=r(d);null!==t&&N(T,t.startTime-e)}}var w=!1,E=-1,A=5,C=-1;function R(){return!!y||!(n.unstable_now()-Ce&&R());){var s=f.callback;if("function"==typeof s){f.callback=null,m=f.priorityLevel;var l=s(f.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){f.callback=l,M(e),t=!0;break t}f===r(h)&&a(h),M(e)}else a(h);f=r(h)}if(null!==f)t=!0;else{var u=r(d);null!==u&&N(T,u.startTime-e),t=!1}}break e}finally{f=null,m=i,g=!1}}}finally{t?o():w=!1}}}if("function"==typeof S)o=function(){S(P)};else if("u">typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=P,o=function(){L.postMessage(null)}}else o=function(){x(P,0)};function N(e,t){E=x(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125s?(e.sortIndex=a,i(d,e),null===r(h)&&e===r(d)&&(_?(b(E),E=-1):_=!0,N(T,a-s))):(e.sortIndex=l,i(h,e),v||g||(v=!0,w||(w=!0,o()))),e},n.unstable_shouldYield=R,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},89499,(e,t,n)=>{"use strict";t.exports=e.r(66936)},75056,90072,8560,8155,1950,25234,28600,e=>{"use strict";let t,n,i,r,a,s,o,l,u,c,h,d,p,f,m,g,v,_;var y,x,b,S,M,T,w=e.i(47167),E=e.i(71645);let A={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},C={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},R="attached",P="detached",I="srgb",L="srgb-linear",N="linear",U="srgb",D="300 es";class O{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});let n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;let n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;let n=this._listeners[e];if(void 0!==n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;let t=this._listeners[e.type];if(void 0!==t){e.target=this;let n=t.slice(0);for(let t=0,i=n.length;t>8&255]+F[e>>16&255]+F[e>>24&255]+"-"+F[255&t]+F[t>>8&255]+"-"+F[t>>16&15|64]+F[t>>24&255]+"-"+F[63&n|128]+F[n>>8&255]+"-"+F[n>>16&255]+F[n>>24&255]+F[255&i]+F[i>>8&255]+F[i>>16&255]+F[i>>24&255]).toLowerCase()}function V(e,t,n){return Math.max(t,Math.min(n,e))}function G(e,t){return(e%t+t)%t}function W(e,t,n){return(1-n)*e+n*t}function j(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/0xffffffff;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/0x7fffffff,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error("Invalid component type.")}}function X(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(0xffffffff*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(0x7fffffff*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw Error("Invalid component type.")}}let q={DEG2RAD:B,RAD2DEG:k,generateUUID:H,clamp:V,euclideanModulo:G,mapLinear:function(e,t,n,i,r){return i+(e-t)*(r-i)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:W,damp:function(e,t,n,i){return W(e,t,1-Math.exp(-n*i))},pingpong:function(e,t=1){return t-Math.abs(G(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(z=e);let t=z+=0x6d2b79f5;return t=Math.imul(t^t>>>15,1|t),(((t^=t+Math.imul(t^t>>>7,61|t))^t>>>14)>>>0)/0x100000000},degToRad:function(e){return e*B},radToDeg:function(e){return e*k},isPowerOfTwo:function(e){return(e&e-1)==0&&0!==e},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,n,i,r){let a=Math.cos,s=Math.sin,o=a(n/2),l=s(n/2),u=a((t+i)/2),c=s((t+i)/2),h=a((t-i)/2),d=s((t-i)/2),p=a((i-t)/2),f=s((i-t)/2);switch(r){case"XYX":e.set(o*c,l*h,l*d,o*u);break;case"YZY":e.set(l*d,o*c,l*h,o*u);break;case"ZXZ":e.set(l*h,l*d,o*c,o*u);break;case"XZX":e.set(o*c,l*f,l*p,o*u);break;case"YXY":e.set(l*p,o*c,l*f,o*u);break;case"ZYZ":e.set(l*f,l*p,o*c,o*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}},normalize:X,denormalize:j};class Y{constructor(e=0,t=0){Y.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6],this.y=i[1]*t+i[4]*n+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),i=Math.sin(t),r=this.x-e.x,a=this.y-e.y;return this.x=r*n-a*i+e.x,this.y=r*i+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Z{constructor(e,t,n,i,r,a,s,o,l){Z.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l)}set(e,t,n,i,r,a,s,o,l){let u=this.elements;return u[0]=e,u[1]=i,u[2]=s,u[3]=t,u[4]=r,u[5]=o,u[6]=n,u[7]=a,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[3],o=n[6],l=n[1],u=n[4],c=n[7],h=n[2],d=n[5],p=n[8],f=i[0],m=i[3],g=i[6],v=i[1],_=i[4],y=i[7],x=i[2],b=i[5],S=i[8];return r[0]=a*f+s*v+o*x,r[3]=a*m+s*_+o*b,r[6]=a*g+s*y+o*S,r[1]=l*f+u*v+c*x,r[4]=l*m+u*_+c*b,r[7]=l*g+u*y+c*S,r[2]=h*f+d*v+p*x,r[5]=h*m+d*_+p*b,r[8]=h*g+d*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8];return t*a*u-t*s*l-n*r*u+n*s*o+i*r*l-i*a*o}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=u*a-s*l,h=s*o-u*r,d=l*r-a*o,p=t*c+n*h+i*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);let f=1/p;return e[0]=c*f,e[1]=(i*l-u*n)*f,e[2]=(s*n-i*a)*f,e[3]=h*f,e[4]=(u*t-i*o)*f,e[5]=(i*r-s*t)*f,e[6]=d*f,e[7]=(n*o-l*t)*f,e[8]=(a*t-n*r)*f,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,i,r,a,s){let o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*a+l*s)+a+e,-i*l,i*o,-i*(-l*a+o*s)+s+t,0,0,1),this}scale(e,t){return this.premultiply(J.makeScale(e,t)),this}rotate(e){return this.premultiply(J.makeRotation(-e)),this}translate(e,t){return this.premultiply(J.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}let J=new Z;function K(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}let $={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Q(e,t){return new $[e](t)}function ee(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function et(){let e=ee("canvas");return e.style.display="block",e}let en={};function ei(e){e in en||(en[e]=!0,console.warn(e))}function er(e,t,n){return new Promise(function(i,r){setTimeout(function a(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:r();break;case e.TIMEOUT_EXPIRED:setTimeout(a,n);break;default:i()}},n)})}function ea(e){let t=e.elements;t[2]=.5*t[2]+.5*t[3],t[6]=.5*t[6]+.5*t[7],t[10]=.5*t[10]+.5*t[11],t[14]=.5*t[14]+.5*t[15]}function es(e){let t=e.elements;-1===t[11]?(t[10]=-t[10]-1,t[14]=-t[14]):(t[10]=-t[10],t[14]=-t[14]+1)}let eo=new Z().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),el=new Z().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),eu=(d=[.64,.33,.3,.6,.15,.06],p=[.2126,.7152,.0722],f=[.3127,.329],(h={enabled:!0,workingColorSpace:L,spaces:{},convert:function(e,t,n){return!1!==this.enabled&&t!==n&&t&&n&&(this.spaces[t].transfer===U&&(e.r=ec(e.r),e.g=ec(e.g),e.b=ec(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===U&&(e.r=eh(e.r),e.g=eh(e.g),e.b=eh(e.b))),e},fromWorkingColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return""===e?N:this.spaces[e].transfer},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace}}).define({[L]:{primaries:d,whitePoint:f,transfer:N,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,workingColorSpaceConfig:{unpackColorSpace:I},outputColorSpaceConfig:{drawingBufferColorSpace:I}},[I]:{primaries:d,whitePoint:f,transfer:U,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,outputColorSpaceConfig:{drawingBufferColorSpace:I}}}),h);function ec(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function eh(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}class ed{static getDataURL(e){let n;if(/^data:/i.test(e.src)||"u"2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap){let t=ee("canvas");t.width=e.width,t.height=e.height;let n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);let i=n.getImageData(0,0,e.width,e.height),r=i.data;for(let e=0;etypeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap?ed.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let eg=0;class ev extends O{constructor(e=ev.DEFAULT_IMAGE,t=ev.DEFAULT_MAPPING,n=1001,i=1001,r=1006,a=1008,s=1023,o=1009,l=ev.DEFAULT_ANISOTROPY,u=""){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:eg++}),this.uuid=H(),this.name="",this.source=new ef(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=a,this.anisotropy=l,this.format=s,this.internalFormat=null,this.type=o,this.offset=new Y(0,0),this.repeat=new Y(1,1),this.center=new Y(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Z,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.pmremVersion=0}get image(){return this.source.data}set image(e=null){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}toJSON(e){let t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];let n={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(300!==this.mapping)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case 1e3:e.x=e.x-Math.floor(e.x);break;case 1001:e.x=e.x<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case 1e3:e.y=e.y-Math.floor(e.y);break;case 1001:e.y=e.y<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){!0===e&&this.pmremVersion++}}ev.DEFAULT_IMAGE=null,ev.DEFAULT_MAPPING=300,ev.DEFAULT_ANISOTROPY=1;class e_{constructor(e=0,t=0,n=0,i=1){e_.prototype.isVector4=!0,this.x=e,this.y=t,this.z=n,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,i){return this.x=e,this.y=t,this.z=n,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*i+a[12]*r,this.y=a[1]*t+a[5]*n+a[9]*i+a[13]*r,this.z=a[2]*t+a[6]*n+a[10]*i+a[14]*r,this.w=a[3]*t+a[7]*n+a[11]*i+a[15]*r,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,i,r,a=e.elements,s=a[0],o=a[4],l=a[8],u=a[1],c=a[5],h=a[9],d=a[2],p=a[6],f=a[10];if(.01>Math.abs(o-u)&&.01>Math.abs(l-d)&&.01>Math.abs(h-p)){if(.1>Math.abs(o+u)&&.1>Math.abs(l+d)&&.1>Math.abs(h+p)&&.1>Math.abs(s+c+f-3))return this.set(1,0,0,0),this;t=Math.PI;let e=(s+1)/2,a=(c+1)/2,m=(f+1)/2,g=(o+u)/4,v=(l+d)/4,_=(h+p)/4;return e>a&&e>m?e<.01?(n=0,i=.707106781,r=.707106781):(i=g/(n=Math.sqrt(e)),r=v/n):a>m?a<.01?(n=.707106781,i=0,r=.707106781):(n=g/(i=Math.sqrt(a)),r=_/i):m<.01?(n=.707106781,i=.707106781,r=0):(n=v/(r=Math.sqrt(m)),i=_/r),this.set(n,i,r,t),this}let m=Math.sqrt((p-h)*(p-h)+(l-d)*(l-d)+(u-o)*(u-o));return .001>Math.abs(m)&&(m=1),this.x=(p-h)/m,this.y=(l-d)/m,this.z=(u-o)/m,this.w=Math.acos((s+c+f-1)/2),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this.w=V(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this.w=V(this.w,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class ey extends O{constructor(e=1,t=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new e_(0,0,e,t),this.scissorTest=!1,this.viewport=new e_(0,0,e,t);const i=new ev({width:e,height:t,depth:1},(n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:1006,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},n)).mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace);i.flipY=!1,i.generateMipmaps=n.generateMipmaps,i.internalFormat=n.internalFormat,this.textures=[];const r=n.count;for(let e=0;e=0?1:-1,i=1-t*t;if(i>Number.EPSILON){let r=Math.sqrt(i),a=Math.atan2(r,t*n);e=Math.sin(e*a)/r,s=Math.sin(s*a)/r}let r=s*n;if(o=o*e+h*r,l=l*e+d*r,u=u*e+p*r,c=c*e+f*r,e===1-s){let e=1/Math.sqrt(o*o+l*l+u*u+c*c);o*=e,l*=e,u*=e,c*=e}}e[t]=o,e[t+1]=l,e[t+2]=u,e[t+3]=c}static multiplyQuaternionsFlat(e,t,n,i,r,a){let s=n[i],o=n[i+1],l=n[i+2],u=n[i+3],c=r[a],h=r[a+1],d=r[a+2],p=r[a+3];return e[t]=s*p+u*c+o*d-l*h,e[t+1]=o*p+u*h+l*c-s*d,e[t+2]=l*p+u*d+s*h-o*c,e[t+3]=u*p-s*c-o*h-l*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,i){return this._x=e,this._y=t,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,i=e._y,r=e._z,a=e._order,s=Math.cos,o=Math.sin,l=s(n/2),u=s(i/2),c=s(r/2),h=o(n/2),d=o(i/2),p=o(r/2);switch(a){case"XYZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"YXZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"ZXY":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"ZYX":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"YZX":this._x=h*u*c+l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c-h*d*p;break;case"XZY":this._x=h*u*c-l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!0===t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,i=Math.sin(n);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],i=t[4],r=t[8],a=t[1],s=t[5],o=t[9],l=t[2],u=t[6],c=t[10],h=n+s+c;if(h>0){let e=.5/Math.sqrt(h+1);this._w=.25/e,this._x=(u-o)*e,this._y=(r-l)*e,this._z=(a-i)*e}else if(n>s&&n>c){let e=2*Math.sqrt(1+n-s-c);this._w=(u-o)/e,this._x=.25*e,this._y=(i+a)/e,this._z=(r+l)/e}else if(s>c){let e=2*Math.sqrt(1+s-n-c);this._w=(r-l)/e,this._x=(i+a)/e,this._y=.25*e,this._z=(o+u)/e}else{let e=2*Math.sqrt(1+c-n-s);this._w=(a-i)/e,this._x=(r+l)/e,this._y=(o+u)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return nMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0):(this._x=0,this._y=-e.z,this._z=e.y)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x),this._w=n,this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(V(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(0===n)return this;let i=Math.min(1,t/n);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,i=e._y,r=e._z,a=e._w,s=t._x,o=t._y,l=t._z,u=t._w;return this._x=n*u+a*s+i*l-r*o,this._y=i*u+a*o+r*s-n*l,this._z=r*u+a*l+n*o-i*s,this._w=a*u-n*s-i*o-r*l,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);let n=this._x,i=this._y,r=this._z,a=this._w,s=a*e._w+n*e._x+i*e._y+r*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=a,this._x=n,this._y=i,this._z=r,this;let o=1-s*s;if(o<=Number.EPSILON){let e=1-t;return this._w=e*a+t*this._w,this._x=e*n+t*this._x,this._y=e*i+t*this._y,this._z=e*r+t*this._z,this.normalize(),this}let l=Math.sqrt(o),u=Math.atan2(l,s),c=Math.sin((1-t)*u)/l,h=Math.sin(t*u)/l;return this._w=a*c+this._w*h,this._x=n*c+this._x*h,this._y=i*c+this._y*h,this._z=r*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),i=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(i*Math.sin(e),i*Math.cos(e),r*Math.sin(t),r*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class eE{constructor(e=0,t=0,n=0){eE.prototype.isVector3=!0,this.x=e,this.y=t,this.z=n}set(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(eC.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(eC.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6]*i,this.y=r[1]*t+r[4]*n+r[7]*i,this.z=r[2]*t+r[5]*n+r[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=e.elements,a=1/(r[3]*t+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*t+r[4]*n+r[8]*i+r[12])*a,this.y=(r[1]*t+r[5]*n+r[9]*i+r[13])*a,this.z=(r[2]*t+r[6]*n+r[10]*i+r[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,i=this.z,r=e.x,a=e.y,s=e.z,o=e.w,l=2*(a*i-s*n),u=2*(s*t-r*i),c=2*(r*n-a*t);return this.x=t+o*l+a*c-s*u,this.y=n+o*u+s*l-r*c,this.z=i+o*c+r*u-a*l,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[4]*n+r[8]*i,this.y=r[1]*t+r[5]*n+r[9]*i,this.z=r[2]*t+r[6]*n+r[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,i=e.y,r=e.z,a=t.x,s=t.y,o=t.z;return this.x=i*o-r*s,this.y=r*a-n*o,this.z=n*s-i*a,this}projectOnVector(e){let t=e.lengthSq();if(0===t)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return eA.copy(this).projectOnVector(e),this.sub(eA)}reflect(e){return this.sub(eA.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,i=this.z-e.z;return t*t+n*n+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let i=Math.sin(t)*e;return this.x=i*Math.sin(n),this.y=Math.cos(t)*e,this.z=i*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=2*Math.random()-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}let eA=new eE,eC=new ew;class eR{constructor(e=new eE(Infinity,Infinity,Infinity),t=new eE(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,eI),eI.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(eB),ek.subVectors(this.max,eB),eN.subVectors(e.a,eB),eU.subVectors(e.b,eB),eD.subVectors(e.c,eB),eO.subVectors(eU,eN),eF.subVectors(eD,eU),ez.subVectors(eN,eD);let t=[0,-eO.z,eO.y,0,-eF.z,eF.y,0,-ez.z,ez.y,eO.z,0,-eO.x,eF.z,0,-eF.x,ez.z,0,-ez.x,-eO.y,eO.x,0,-eF.y,eF.x,0,-ez.y,ez.x,0];return!!eG(t,eN,eU,eD,ek)&&!!eG(t=[1,0,0,0,1,0,0,0,1],eN,eU,eD,ek)&&(eH.crossVectors(eO,eF),eG(t=[eH.x,eH.y,eH.z],eN,eU,eD,ek))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,eI).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(eI).length()),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(eP[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),eP[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),eP[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),eP[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),eP[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),eP[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),eP[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),eP[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(eP)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let eP=[new eE,new eE,new eE,new eE,new eE,new eE,new eE,new eE],eI=new eE,eL=new eR,eN=new eE,eU=new eE,eD=new eE,eO=new eE,eF=new eE,ez=new eE,eB=new eE,ek=new eE,eH=new eE,eV=new eE;function eG(e,t,n,i,r){for(let a=0,s=e.length-3;a<=s;a+=3){eV.fromArray(e,a);let s=r.x*Math.abs(eV.x)+r.y*Math.abs(eV.y)+r.z*Math.abs(eV.z),o=t.dot(eV),l=n.dot(eV),u=i.dot(eV);if(Math.max(-Math.max(o,l,u),Math.min(o,l,u))>s)return!1}return!0}let eW=new eR,ej=new eE,eX=new eE;class eq{constructor(e=new eE,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let n=this.center;void 0!==t?n.copy(t):eW.setFromPoints(e).getCenter(n);let i=0;for(let t=0,r=e.length;tthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?e.makeEmpty():(e.set(this.center,this.center),e.expandByScalar(this.radius)),e}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;ej.subVectors(e,this.center);let t=ej.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(ej,n/e),this.radius+=n}return this}union(e){return e.isEmpty()||(this.isEmpty()?this.copy(e):!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(eX.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ej.copy(e.center).add(eX)),this.expandByPoint(ej.copy(e.center).sub(eX)))),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}let eY=new eE,eZ=new eE,eJ=new eE,eK=new eE,e$=new eE,eQ=new eE,e0=new eE;class e1{constructor(e=new eE,t=new eE(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,eY)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=eY.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(eY.copy(this.origin).addScaledVector(this.direction,t),eY.distanceToSquared(e))}distanceSqToSegment(e,t,n,i){let r,a,s,o;eZ.copy(e).add(t).multiplyScalar(.5),eJ.copy(t).sub(e).normalize(),eK.copy(this.origin).sub(eZ);let l=.5*e.distanceTo(t),u=-this.direction.dot(eJ),c=eK.dot(this.direction),h=-eK.dot(eJ),d=eK.lengthSq(),p=Math.abs(1-u*u);if(p>0)if(r=u*h-c,a=u*c-h,o=l*p,r>=0)if(a>=-o)if(a<=o){let e=1/p;r*=e,a*=e,s=r*(r+u*a+2*c)+a*(u*r+a+2*h)+d}else s=-(r=Math.max(0,-(u*(a=l)+c)))*r+a*(a+2*h)+d;else s=-(r=Math.max(0,-(u*(a=-l)+c)))*r+a*(a+2*h)+d;else a<=-o?(a=(r=Math.max(0,-(-u*l+c)))>0?-l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d):a<=o?(r=0,s=(a=Math.min(Math.max(-l,-h),l))*(a+2*h)+d):(a=(r=Math.max(0,-(u*l+c)))>0?l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d);else a=u>0?-l:l,s=-(r=Math.max(0,-(u*a+c)))*r+a*(a+2*h)+d;return n&&n.copy(this.origin).addScaledVector(this.direction,r),i&&i.copy(eZ).addScaledVector(eJ,a),s}intersectSphere(e,t){eY.subVectors(e.center,this.origin);let n=eY.dot(this.direction),i=eY.dot(eY)-n*n,r=e.radius*e.radius;if(i>r)return null;let a=Math.sqrt(r-i),s=n-a,o=n+a;return o<0?null:s<0?this.at(o,t):this.at(s,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return!!(0===t||e.normal.dot(this.direction)*t<0)}intersectBox(e,t){let n,i,r,a,s,o,l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return(l>=0?(n=(e.min.x-h.x)*l,i=(e.max.x-h.x)*l):(n=(e.max.x-h.x)*l,i=(e.min.x-h.x)*l),u>=0?(r=(e.min.y-h.y)*u,a=(e.max.y-h.y)*u):(r=(e.max.y-h.y)*u,a=(e.min.y-h.y)*u),n>a||r>i||((r>n||isNaN(n))&&(n=r),(a=0?(s=(e.min.z-h.z)*c,o=(e.max.z-h.z)*c):(s=(e.max.z-h.z)*c,o=(e.min.z-h.z)*c),n>o||s>i||((s>n||n!=n)&&(n=s),(o=0?n:i,t)}intersectsBox(e){return null!==this.intersectBox(e,eY)}intersectTriangle(e,t,n,i,r){let a;e$.subVectors(t,e),eQ.subVectors(n,e),e0.crossVectors(e$,eQ);let s=this.direction.dot(e0);if(s>0){if(i)return null;a=1}else{if(!(s<0))return null;a=-1,s=-s}eK.subVectors(this.origin,e);let o=a*this.direction.dot(eQ.crossVectors(eK,eQ));if(o<0)return null;let l=a*this.direction.dot(e$.cross(eK));if(l<0||o+l>s)return null;let u=-a*eK.dot(e0);return u<0?null:this.at(u/s,r)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class e2{constructor(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){e2.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m)}set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){let g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=i,g[1]=r,g[5]=a,g[9]=s,g[13]=o,g[2]=l,g[6]=u,g[10]=c,g[14]=h,g[3]=d,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new e2().fromArray(this.elements)}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){let t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){let t=this.elements,n=e.elements,i=1/e3.setFromMatrixColumn(e,0).length(),r=1/e3.setFromMatrixColumn(e,1).length(),a=1/e3.setFromMatrixColumn(e,2).length();return t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i,t[3]=0,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){let t=this.elements,n=e.x,i=e.y,r=e.z,a=Math.cos(n),s=Math.sin(n),o=Math.cos(i),l=Math.sin(i),u=Math.cos(r),c=Math.sin(r);if("XYZ"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=-o*c,t[8]=l,t[1]=n+i*l,t[5]=e-r*l,t[9]=-s*o,t[2]=r-e*l,t[6]=i+n*l,t[10]=a*o}else if("YXZ"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e+r*s,t[4]=i*s-n,t[8]=a*l,t[1]=a*c,t[5]=a*u,t[9]=-s,t[2]=n*s-i,t[6]=r+e*s,t[10]=a*o}else if("ZXY"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e-r*s,t[4]=-a*c,t[8]=i+n*s,t[1]=n+i*s,t[5]=a*u,t[9]=r-e*s,t[2]=-a*l,t[6]=s,t[10]=a*o}else if("ZYX"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=i*l-n,t[8]=e*l+r,t[1]=o*c,t[5]=r*l+e,t[9]=n*l-i,t[2]=-l,t[6]=s*o,t[10]=a*o}else if("YZX"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=r-e*c,t[8]=i*c+n,t[1]=c,t[5]=a*u,t[9]=-s*u,t[2]=-l*u,t[6]=n*c+i,t[10]=e-r*c}else if("XZY"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=-c,t[8]=l*u,t[1]=e*c+r,t[5]=a*u,t[9]=n*c-i,t[2]=i*c-n,t[6]=s*u,t[10]=r*c+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(e5,e,e6)}lookAt(e,t,n){let i=this.elements;return e7.subVectors(e,t),0===e7.lengthSq()&&(e7.z=1),e7.normalize(),e8.crossVectors(n,e7),0===e8.lengthSq()&&(1===Math.abs(n.z)?e7.x+=1e-4:e7.z+=1e-4,e7.normalize(),e8.crossVectors(n,e7)),e8.normalize(),e9.crossVectors(e7,e8),i[0]=e8.x,i[4]=e9.x,i[8]=e7.x,i[1]=e8.y,i[5]=e9.y,i[9]=e7.y,i[2]=e8.z,i[6]=e9.z,i[10]=e7.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[4],o=n[8],l=n[12],u=n[1],c=n[5],h=n[9],d=n[13],p=n[2],f=n[6],m=n[10],g=n[14],v=n[3],_=n[7],y=n[11],x=n[15],b=i[0],S=i[4],M=i[8],T=i[12],w=i[1],E=i[5],A=i[9],C=i[13],R=i[2],P=i[6],I=i[10],L=i[14],N=i[3],U=i[7],D=i[11],O=i[15];return r[0]=a*b+s*w+o*R+l*N,r[4]=a*S+s*E+o*P+l*U,r[8]=a*M+s*A+o*I+l*D,r[12]=a*T+s*C+o*L+l*O,r[1]=u*b+c*w+h*R+d*N,r[5]=u*S+c*E+h*P+d*U,r[9]=u*M+c*A+h*I+d*D,r[13]=u*T+c*C+h*L+d*O,r[2]=p*b+f*w+m*R+g*N,r[6]=p*S+f*E+m*P+g*U,r[10]=p*M+f*A+m*I+g*D,r[14]=p*T+f*C+m*L+g*O,r[3]=v*b+_*w+y*R+x*N,r[7]=v*S+_*E+y*P+x*U,r[11]=v*M+_*A+y*I+x*D,r[15]=v*T+_*C+y*L+x*O,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[4],i=e[8],r=e[12],a=e[1],s=e[5],o=e[9],l=e[13],u=e[2],c=e[6],h=e[10],d=e[14];return e[3]*(r*o*c-i*l*c-r*s*h+n*l*h+i*s*d-n*o*d)+e[7]*(t*o*d-t*l*h+r*a*h-i*a*d+i*l*u-r*o*u)+e[11]*(t*l*c-t*s*d-r*a*c+n*a*d+r*s*u-n*l*u)+e[15]*(-i*s*u-t*o*c+t*s*h+i*a*c-n*a*h+n*o*u)}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(e,t,n){let i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=n),this}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11],p=e[12],f=e[13],m=e[14],g=e[15],v=c*m*l-f*h*l+f*o*d-s*m*d-c*o*g+s*h*g,_=p*h*l-u*m*l-p*o*d+a*m*d+u*o*g-a*h*g,y=u*f*l-p*c*l+p*s*d-a*f*d-u*s*g+a*c*g,x=p*c*o-u*f*o-p*s*h+a*f*h+u*s*m-a*c*m,b=t*v+n*_+i*y+r*x;if(0===b)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let S=1/b;return e[0]=v*S,e[1]=(f*h*r-c*m*r-f*i*d+n*m*d+c*i*g-n*h*g)*S,e[2]=(s*m*r-f*o*r+f*i*l-n*m*l-s*i*g+n*o*g)*S,e[3]=(c*o*r-s*h*r-c*i*l+n*h*l+s*i*d-n*o*d)*S,e[4]=_*S,e[5]=(u*m*r-p*h*r+p*i*d-t*m*d-u*i*g+t*h*g)*S,e[6]=(p*o*r-a*m*r-p*i*l+t*m*l+a*i*g-t*o*g)*S,e[7]=(a*h*r-u*o*r+u*i*l-t*h*l-a*i*d+t*o*d)*S,e[8]=y*S,e[9]=(p*c*r-u*f*r-p*n*d+t*f*d+u*n*g-t*c*g)*S,e[10]=(a*f*r-p*s*r+p*n*l-t*f*l-a*n*g+t*s*g)*S,e[11]=(u*s*r-a*c*r-u*n*l+t*c*l+a*n*d-t*s*d)*S,e[12]=x*S,e[13]=(u*f*i-p*c*i+p*n*h-t*f*h-u*n*m+t*c*m)*S,e[14]=(p*s*i-a*f*i-p*n*o+t*f*o+a*n*m-t*s*m)*S,e[15]=(a*c*i-u*s*i+u*n*o-t*c*o-a*n*h+t*s*h)*S,this}scale(e){let t=this.elements,n=e.x,i=e.y,r=e.z;return t[0]*=n,t[4]*=i,t[8]*=r,t[1]*=n,t[5]*=i,t[9]*=r,t[2]*=n,t[6]*=i,t[10]*=r,t[3]*=n,t[7]*=i,t[11]*=r,this}getMaxScaleOnAxis(){let e=this.elements;return Math.sqrt(Math.max(e[0]*e[0]+e[1]*e[1]+e[2]*e[2],e[4]*e[4]+e[5]*e[5]+e[6]*e[6],e[8]*e[8]+e[9]*e[9]+e[10]*e[10]))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let n=Math.cos(t),i=Math.sin(t),r=1-n,a=e.x,s=e.y,o=e.z,l=r*a,u=r*s;return this.set(l*a+n,l*s-i*o,l*o+i*s,0,l*s+i*o,u*s+n,u*o-i*a,0,l*o-i*s,u*o+i*a,r*o*o+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,i,r,a){return this.set(1,n,r,0,e,1,a,0,t,i,1,0,0,0,0,1),this}compose(e,t,n){let i=this.elements,r=t._x,a=t._y,s=t._z,o=t._w,l=r+r,u=a+a,c=s+s,h=r*l,d=r*u,p=r*c,f=a*u,m=a*c,g=s*c,v=o*l,_=o*u,y=o*c,x=n.x,b=n.y,S=n.z;return i[0]=(1-(f+g))*x,i[1]=(d+y)*x,i[2]=(p-_)*x,i[3]=0,i[4]=(d-y)*b,i[5]=(1-(h+g))*b,i[6]=(m+v)*b,i[7]=0,i[8]=(p+_)*S,i[9]=(m-v)*S,i[10]=(1-(h+f))*S,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,n){let i=this.elements,r=e3.set(i[0],i[1],i[2]).length(),a=e3.set(i[4],i[5],i[6]).length(),s=e3.set(i[8],i[9],i[10]).length();0>this.determinant()&&(r=-r),e.x=i[12],e.y=i[13],e.z=i[14],e4.copy(this);let o=1/r,l=1/a,u=1/s;return e4.elements[0]*=o,e4.elements[1]*=o,e4.elements[2]*=o,e4.elements[4]*=l,e4.elements[5]*=l,e4.elements[6]*=l,e4.elements[8]*=u,e4.elements[9]*=u,e4.elements[10]*=u,t.setFromRotationMatrix(e4),n.x=r,n.y=a,n.z=s,this}makePerspective(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements;if(2e3===s)o=-(a+r)/(a-r),l=-2*a*r/(a-r);else if(2001===s)o=-a/(a-r),l=-a*r/(a-r);else throw Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);return u[0]=2*r/(t-e),u[4]=0,u[8]=(t+e)/(t-e),u[12]=0,u[1]=0,u[5]=2*r/(n-i),u[9]=(n+i)/(n-i),u[13]=0,u[2]=0,u[6]=0,u[10]=o,u[14]=l,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements,c=1/(t-e),h=1/(n-i),d=1/(a-r);if(2e3===s)o=(a+r)*d,l=-2*d;else if(2001===s)o=r*d,l=-1*d;else throw Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);return u[0]=2*c,u[4]=0,u[8]=0,u[12]=-((t+e)*c),u[1]=0,u[5]=2*h,u[9]=0,u[13]=-((n+i)*h),u[2]=0,u[6]=0,u[10]=l,u[14]=-o,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}let e3=new eE,e4=new e2,e5=new eE(0,0,0),e6=new eE(1,1,1),e8=new eE,e9=new eE,e7=new eE,te=new e2,tt=new ew;class tn{constructor(e=0,t=0,n=0,i=tn.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,i=this._order){return this._x=e,this._y=t,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){let i=e.elements,r=i[0],a=i[4],s=i[8],o=i[1],l=i[5],u=i[9],c=i[2],h=i[6],d=i[10];switch(t){case"XYZ":this._y=Math.asin(V(s,-1,1)),.9999999>Math.abs(s)?(this._x=Math.atan2(-u,d),this._z=Math.atan2(-a,r)):(this._x=Math.atan2(h,l),this._z=0);break;case"YXZ":this._x=Math.asin(-V(u,-1,1)),.9999999>Math.abs(u)?(this._y=Math.atan2(s,d),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-c,r),this._z=0);break;case"ZXY":this._x=Math.asin(V(h,-1,1)),.9999999>Math.abs(h)?(this._y=Math.atan2(-c,d),this._z=Math.atan2(-a,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-V(c,-1,1)),.9999999>Math.abs(c)?(this._x=Math.atan2(h,d),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-a,l));break;case"YZX":this._z=Math.asin(V(o,-1,1)),.9999999>Math.abs(o)?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,r)):(this._x=0,this._y=Math.atan2(s,d));break;case"XZY":this._z=Math.asin(-V(a,-1,1)),.9999999>Math.abs(a)?(this._x=Math.atan2(h,l),this._y=Math.atan2(s,r)):(this._x=Math.atan2(-u,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===n&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return te.makeRotationFromQuaternion(e),this.setFromRotationMatrix(te,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return tt.setFromEuler(this),this.setFromQuaternion(tt,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}tn.DEFAULT_ORDER="XYZ";class ti{constructor(){this.mask=1}set(e){this.mask=1<>>0}enable(e){this.mask|=1<1){for(let e=0;e1){for(let e=0;e0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(e=>({boxInitialized:e.boxInitialized,boxMin:e.box.min.toArray(),boxMax:e.box.max.toArray(),sphereInitialized:e.sphereInitialized,sphereRadius:e.sphere.radius,sphereCenter:e.sphere.center.toArray()})),i.maxInstanceCount=this._maxInstanceCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),null!==this._colorsTexture&&(i.colorsTexture=this._colorsTexture.toJSON(e)),null!==this.boundingSphere&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),null!==this.boundingBox&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()})),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(e.geometries,this.geometry);let t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){let n=t.shapes;if(Array.isArray(n))for(let t=0,i=n.length;t0){i.children=[];for(let t=0;t0){i.animations=[];for(let t=0;t0&&(n.geometries=t),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),s.length>0&&(n.images=s),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=i,n;function a(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(e,t,n,i,r){tx.subVectors(i,t),tb.subVectors(n,t),tS.subVectors(e,t);let a=tx.dot(tx),s=tx.dot(tb),o=tx.dot(tS),l=tb.dot(tb),u=tb.dot(tS),c=a*l-s*s;if(0===c)return r.set(0,0,0),null;let h=1/c,d=(l*o-s*u)*h,p=(a*u-s*o)*h;return r.set(1-d-p,p,d)}static containsPoint(e,t,n,i){return null!==this.getBarycoord(e,t,n,i,tM)&&tM.x>=0&&tM.y>=0&&tM.x+tM.y<=1}static getInterpolation(e,t,n,i,r,a,s,o){return null===this.getBarycoord(e,t,n,i,tM)?(o.x=0,o.y=0,"z"in o&&(o.z=0),"w"in o&&(o.w=0),null):(o.setScalar(0),o.addScaledVector(r,tM.x),o.addScaledVector(a,tM.y),o.addScaledVector(s,tM.z),o)}static getInterpolatedAttribute(e,t,n,i,r,a){return tP.setScalar(0),tI.setScalar(0),tL.setScalar(0),tP.fromBufferAttribute(e,t),tI.fromBufferAttribute(e,n),tL.fromBufferAttribute(e,i),a.setScalar(0),a.addScaledVector(tP,r.x),a.addScaledVector(tI,r.y),a.addScaledVector(tL,r.z),a}static isFrontFacing(e,t,n,i){return tx.subVectors(n,t),tb.subVectors(e,t),0>tx.cross(tb).dot(i)}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,i){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,n,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return tx.subVectors(this.c,this.b),tb.subVectors(this.a,this.b),.5*tx.cross(tb).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return tN.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return tN.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,i,r){return tN.getInterpolation(e,this.a,this.b,this.c,t,n,i,r)}containsPoint(e){return tN.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return tN.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n,i,r=this.a,a=this.b,s=this.c;tT.subVectors(a,r),tw.subVectors(s,r),tA.subVectors(e,r);let o=tT.dot(tA),l=tw.dot(tA);if(o<=0&&l<=0)return t.copy(r);tC.subVectors(e,a);let u=tT.dot(tC),c=tw.dot(tC);if(u>=0&&c<=u)return t.copy(a);let h=o*c-u*l;if(h<=0&&o>=0&&u<=0)return n=o/(o-u),t.copy(r).addScaledVector(tT,n);tR.subVectors(e,s);let d=tT.dot(tR),p=tw.dot(tR);if(p>=0&&d<=p)return t.copy(s);let f=d*l-o*p;if(f<=0&&l>=0&&p<=0)return i=l/(l-p),t.copy(r).addScaledVector(tw,i);let m=u*p-d*c;if(m<=0&&c-u>=0&&d-p>=0)return tE.subVectors(s,a),i=(c-u)/(c-u+(d-p)),t.copy(a).addScaledVector(tE,i);let g=1/(m+f+h);return n=f*g,i=h*g,t.copy(r).addScaledVector(tT,n).addScaledVector(tw,i)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let tU={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32},tD={h:0,s:0,l:0},tO={h:0,s:0,l:0};function tF(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*6*(2/3-n):e}class tz{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){return void 0===t&&void 0===n?e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e):this.setRGB(e,t,n),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=I){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,eu.toWorkingColorSpace(this,t),this}setRGB(e,t,n,i=eu.workingColorSpace){return this.r=e,this.g=t,this.b=n,eu.toWorkingColorSpace(this,i),this}setHSL(e,t,n,i=eu.workingColorSpace){if(e=G(e,1),t=V(t,0,1),n=V(n,0,1),0===t)this.r=this.g=this.b=n;else{let i=n<=.5?n*(1+t):n+t-n*t,r=2*n-i;this.r=tF(r,i,e+1/3),this.g=tF(r,i,e),this.b=tF(r,i,e-1/3)}return eu.toWorkingColorSpace(this,i),this}setStyle(e,t=I){let n;function i(t){void 0!==t&&1>parseFloat(t)&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let r,a=n[1],s=n[2];switch(a){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){let i=n[1],r=i.length;if(3===r)return this.setRGB(parseInt(i.charAt(0),16)/15,parseInt(i.charAt(1),16)/15,parseInt(i.charAt(2),16)/15,t);if(6===r)return this.setHex(parseInt(i,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=I){let n=tU[e.toLowerCase()];return void 0!==n?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ec(e.r),this.g=ec(e.g),this.b=ec(e.b),this}copyLinearToSRGB(e){return this.r=eh(e.r),this.g=eh(e.g),this.b=eh(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=I){return eu.fromWorkingColorSpace(tB.copy(this),e),65536*Math.round(V(255*tB.r,0,255))+256*Math.round(V(255*tB.g,0,255))+Math.round(V(255*tB.b,0,255))}getHexString(e=I){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=eu.workingColorSpace){let n,i;eu.fromWorkingColorSpace(tB.copy(this),t);let r=tB.r,a=tB.g,s=tB.b,o=Math.max(r,a,s),l=Math.min(r,a,s),u=(l+o)/2;if(l===o)n=0,i=0;else{let e=o-l;switch(i=u<=.5?e/(o+l):e/(2-o-l),o){case r:n=(a-s)/e+6*(a0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(let t in e){let n=e[t];if(void 0===n){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}let i=this[t];if(void 0===i){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[t]=n}}toJSON(e){let t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});let n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};function i(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.dispersion&&(n.dispersion=this.dispersion),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),void 0!==this.anisotropy&&(n.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapRotation&&(n.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(n.blending=this.blending),0!==this.side&&(n.side=this.side),!0===this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=!0),204!==this.blendSrc&&(n.blendSrc=this.blendSrc),205!==this.blendDst&&(n.blendDst=this.blendDst),100!==this.blendEquation&&(n.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(n.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&(n.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(n.blendAlpha=this.blendAlpha),3!==this.depthFunc&&(n.depthFunc=this.depthFunc),!1===this.depthTest&&(n.depthTest=this.depthTest),!1===this.depthWrite&&(n.depthWrite=this.depthWrite),!1===this.colorWrite&&(n.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(n.stencilWriteMask=this.stencilWriteMask),519!==this.stencilFunc&&(n.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(n.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(n.stencilFuncMask=this.stencilFuncMask),7680!==this.stencilFail&&(n.stencilFail=this.stencilFail),7680!==this.stencilZFail&&(n.stencilZFail=this.stencilZFail),7680!==this.stencilZPass&&(n.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(n.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaHash&&(n.alphaHash=!0),!0===this.alphaToCoverage&&(n.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=!0),!0===this.forceSinglePass&&(n.forceSinglePass=!0),!0===this.wireframe&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=!0),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),t){let t=i(e.textures),r=i(e.images);t.length>0&&(n.textures=t),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(null!==t){let e=t.length;n=Array(e);for(let i=0;i!==e;++i)n[i]=t[i].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}}class tV extends tH{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}let tG=function(){let e=new ArrayBuffer(4),t=new Float32Array(e),n=new Uint32Array(e),i=new Uint32Array(512),r=new Uint32Array(512);for(let e=0;e<256;++e){let t=e-127;t<-27?(i[e]=0,i[256|e]=32768,r[e]=24,r[256|e]=24):t<-14?(i[e]=1024>>-t-14,i[256|e]=1024>>-t-14|32768,r[e]=-t-1,r[256|e]=-t-1):t<=15?(i[e]=t+15<<10,i[256|e]=t+15<<10|32768,r[e]=13,r[256|e]=13):t<128?(i[e]=31744,i[256|e]=64512,r[e]=24,r[256|e]=24):(i[e]=31744,i[256|e]=64512,r[e]=13,r[256|e]=13)}let a=new Uint32Array(2048),s=new Uint32Array(64),o=new Uint32Array(64);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;(8388608&t)==0;)t<<=1,n-=8388608;t&=-8388609,n+=0x38800000,a[e]=t|n}for(let e=1024;e<2048;++e)a[e]=0x38000000+(e-1024<<13);for(let e=1;e<31;++e)s[e]=e<<23;s[31]=0x47800000,s[32]=0x80000000;for(let e=33;e<63;++e)s[e]=0x80000000+(e-32<<23);s[63]=0xc7800000;for(let e=1;e<64;++e)32!==e&&(o[e]=1024);return{floatView:t,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:a,exponentTable:s,offsetTable:o}}();function tW(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=V(e,-65504,65504),tG.floatView[0]=e;let t=tG.uint32View[0],n=t>>23&511;return tG.baseTable[n]+((8388607&t)>>tG.shiftTable[n])}function tj(e){let t=e>>10;return tG.uint32View[0]=tG.mantissaTable[tG.offsetTable[t]+(1023&e)]+tG.exponentTable[t],tG.floatView[0]}let tX={toHalfFloat:tW,fromHalfFloat:tj},tq=new eE,tY=new Y;class tZ{constructor(e,t,n=!1){if(Array.isArray(e))throw TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=n,this.usage=35044,this.updateRanges=[],this.gpuType=1015,this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let i=0,r=this.itemSize;it.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new eE(-1/0,-1/0,-1/0),new eE(Infinity,Infinity,Infinity));return}if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e0&&(e.userData=this.userData),void 0!==this.parameters){let t=this.parameters;for(let n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let i=n[t];e.data.attributes[t]=i.toJSON(e.data)}let i={},r=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,i=n.length;t0&&(i[t]=a,r=!0)}r&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let s=this.boundingSphere;return null!==s&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;null!==n&&this.setIndex(n.clone(t));let i=e.attributes;for(let e in i){let n=i[e];this.setAttribute(e,n.clone(t))}let r=e.morphAttributes;for(let e in r){let n=[],i=r[e];for(let e=0,r=i.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e(e.far-e.near)**2)||(ni.copy(r).invert(),nr.copy(e.ray).applyMatrix4(ni),(null===n.boundingBox||!1!==nr.intersectsBox(n.boundingBox))&&this._computeIntersections(e,t,nr)))}_computeIntersections(e,t,n){let i,r=this.geometry,a=this.material,s=r.index,o=r.attributes.position,l=r.attributes.uv,u=r.attributes.uv1,c=r.attributes.normal,h=r.groups,d=r.drawRange;if(null!==s)if(Array.isArray(a))for(let r=0,o=h.length;rn.far?null:{distance:l,point:np.clone(),object:e}}(e,t,n,i,no,nl,nu,nd);if(c){let e=new eE;tN.getBarycoord(nd,no,nl,nu,e),r&&(c.uv=tN.getInterpolatedAttribute(r,o,l,u,e,new Y)),a&&(c.uv1=tN.getInterpolatedAttribute(a,o,l,u,e,new Y)),s&&(c.normal=tN.getInterpolatedAttribute(s,o,l,u,e,new eE),c.normal.dot(i.direction)>0&&c.normal.multiplyScalar(-1));let t={a:o,b:l,c:u,normal:new eE,materialIndex:0};tN.getNormal(no,nl,nu,t.normal),c.face=t,c.barycoord=e}return c}class ng extends nn{constructor(e=1,t=1,n=1,i=1,r=1,a=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:i,heightSegments:r,depthSegments:a};const s=this;i=Math.floor(i),r=Math.floor(r);const o=[],l=[],u=[],c=[];let h=0,d=0;function p(e,t,n,i,r,a,p,f,m,g,v){let _=a/m,y=p/g,x=a/2,b=p/2,S=f/2,M=m+1,T=g+1,w=0,E=0,A=new eE;for(let a=0;a0?1:-1,u.push(A.x,A.y,A.z),c.push(o/m),c.push(1-a/g),w+=1}}for(let e=0;e0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)!0===this.extensions[e]&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}class nS extends ty{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new e2,this.projectionMatrix=new e2,this.projectionMatrixInverse=new e2,this.coordinateSystem=2e3}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}let nM=new eE,nT=new Y,nw=new Y;class nE extends nS{constructor(e=50,t=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=2*k*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(.5*B*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*k*Math.atan(Math.tan(.5*B*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){nM.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(nM.x,nM.y).multiplyScalar(-e/nM.z),nM.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(nM.x,nM.y).multiplyScalar(-e/nM.z)}getViewSize(e,t){return this.getViewBounds(e,nT,nw),t.subVectors(nw,nT)}setViewOffset(e,t,n,i,r,a){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(.5*B*this.fov)/this.zoom,n=2*t,i=this.aspect*n,r=-.5*i,a=this.view;if(null!==this.view&&this.view.enabled){let e=a.fullWidth,s=a.fullHeight;r+=a.offsetX*i/e,t-=a.offsetY*n/s,i*=a.width/e,n*=a.height/s}let s=this.filmOffset;0!==s&&(r+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,t,t-n,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}class nA extends ty{constructor(e,t,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new nE(-90,1,e,t);i.layers=this.layers,this.add(i);const r=new nE(-90,1,e,t);r.layers=this.layers,this.add(r);const a=new nE(-90,1,e,t);a.layers=this.layers,this.add(a);const s=new nE(-90,1,e,t);s.layers=this.layers,this.add(s);const o=new nE(-90,1,e,t);o.layers=this.layers,this.add(o);const l=new nE(-90,1,e,t);l.layers=this.layers,this.add(l)}updateCoordinateSystem(){let e=this.coordinateSystem,t=this.children.concat(),[n,i,r,a,s,o]=t;for(let e of t)this.remove(e);if(2e3===e)n.up.set(0,1,0),n.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),r.up.set(0,0,-1),r.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),o.up.set(0,1,0),o.lookAt(0,0,-1);else if(2001===e)n.up.set(0,-1,0),n.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),r.up.set(0,0,1),r.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),o.up.set(0,-1,0),o.lookAt(0,0,-1);else throw Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(let e of t)this.add(e),e.updateMatrixWorld()}update(e,t){null===this.parent&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());let[r,a,s,o,l,u]=this.children,c=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;let f=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0,i),e.render(t,r),e.setRenderTarget(n,1,i),e.render(t,a),e.setRenderTarget(n,2,i),e.render(t,s),e.setRenderTarget(n,3,i),e.render(t,o),e.setRenderTarget(n,4,i),e.render(t,l),n.texture.generateMipmaps=f,e.setRenderTarget(n,5,i),e.render(t,u),e.setRenderTarget(c,h,d),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class nC extends ev{constructor(e,t,n,i,r,a,s,o,l,u){super(e=void 0!==e?e:[],t=void 0!==t?t:301,n,i,r,a,s,o,l,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class nR extends ex{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1};this.texture=new nC([n,n,n,n,n,n],t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:1006}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let n={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},i=new ng(5,5,5),r=new nb({name:"CubemapFromEquirect",uniforms:nv(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:1,blending:0});r.uniforms.tEquirect.value=t;let a=new nf(i,r),s=t.minFilter;return 1008===t.minFilter&&(t.minFilter=1006),new nA(1,10,this).update(e,a),t.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(e,t,n,i){let r=e.getRenderTarget();for(let r=0;r<6;r++)e.setRenderTarget(this,r),e.clear(t,n,i);e.setRenderTarget(r)}}class nP{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new tz(e),this.density=t}clone(){return new nP(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class nI{constructor(e,t=1,n=1e3){this.isFog=!0,this.name="",this.color=new tz(e),this.near=t,this.far=n}clone(){return new nI(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class nL extends ty{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new tn,this.environmentIntensity=1,this.environmentRotation=new tn,this.overrideMaterial=null,"u">typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),1!==this.environmentIntensity&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class nN{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=35044,this.updateRanges=[],this.version=0,this.uuid=H()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,n){e*=this.stride,n*=t.stride;for(let i=0,r=this.stride;ie.far||t.push({distance:o,point:nF.clone(),uv:tN.getInterpolation(nF,nG,nW,nj,nX,nq,nY,new Y),face:null,object:this})}copy(e,t){return super.copy(e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function nJ(e,t,n,i,r,a){nk.subVectors(e,n).addScalar(.5).multiply(i),void 0!==r?(nH.x=a*nk.x-r*nk.y,nH.y=r*nk.x+a*nk.y):nH.copy(nk),e.copy(t),e.x+=nH.x,e.y+=nH.y,e.applyMatrix4(nV)}let nK=new eE,n$=new eE;class nQ extends ty{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);let t=e.levels;for(let e=0,n=t.length;e0){let n,i;for(n=1,i=t.length;n0){nK.setFromMatrixPosition(this.matrixWorld);let n=e.ray.origin.distanceTo(nK);this.getObjectForDistance(n).raycast(e,t)}}update(e){let t=this.levels;if(t.length>1){let n,i;nK.setFromMatrixPosition(e.matrixWorld),n$.setFromMatrixPosition(this.matrixWorld);let r=nK.distanceTo(n$)/e.zoom;for(n=1,t[0].object.visible=!0,i=t.length;n=e)t[n-1].object.visible=!1,t[n].object.visible=!0;else break}for(this._currentLevel=n-1;n1?null:t.copy(e.start).addScaledVector(n,r)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||i_.getNormalMatrix(e),i=this.coplanarPoint(ig).applyMatrix4(e),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}let ix=new eq,ib=new eE;class iS{constructor(e=new iy,t=new iy,n=new iy,i=new iy,r=new iy,a=new iy){this.planes=[e,t,n,i,r,a]}set(e,t,n,i,r,a){let s=this.planes;return s[0].copy(e),s[1].copy(t),s[2].copy(n),s[3].copy(i),s[4].copy(r),s[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=2e3){let n=this.planes,i=e.elements,r=i[0],a=i[1],s=i[2],o=i[3],l=i[4],u=i[5],c=i[6],h=i[7],d=i[8],p=i[9],f=i[10],m=i[11],g=i[12],v=i[13],_=i[14],y=i[15];if(n[0].setComponents(o-r,h-l,m-d,y-g).normalize(),n[1].setComponents(o+r,h+l,m+d,y+g).normalize(),n[2].setComponents(o+a,h+u,m+p,y+v).normalize(),n[3].setComponents(o-a,h-u,m-p,y-v).normalize(),n[4].setComponents(o-s,h-c,m-f,y-_).normalize(),2e3===t)n[5].setComponents(o+s,h+c,m+f,y+_).normalize();else if(2001===t)n[5].setComponents(s,c,f,_).normalize();else throw Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),ix.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),ix.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(ix)}intersectsSprite(e){return ix.center.set(0,0,0),ix.radius=.7071067811865476,ix.applyMatrix4(e.matrixWorld),this.intersectsSphere(ix)}intersectsSphere(e){let t=this.planes,n=e.center,i=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)0?e.max.x:e.min.x,ib.y=i.normal.y>0?e.max.y:e.min.y,ib.z=i.normal.z>0?e.max.z:e.min.z,0>i.distanceToPoint(ib))return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(0>t[n].distanceToPoint(e))return!1;return!0}clone(){return new this.constructor().copy(this)}}function iM(e,t){return e-t}function iT(e,t){return e.z-t.z}function iw(e,t){return t.z-e.z}let iE=new e2,iA=new tz(1,1,1),iC=new iS,iR=new eR,iP=new eq,iI=new eE,iL=new eE,iN=new eE,iU=new class{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t,n,i){let r=this.pool,a=this.list;this.index>=r.length&&r.push({start:-1,count:-1,z:-1,index:-1});let s=r[this.index];a.push(s),this.index++,s.start=e,s.count=t,s.z=n,s.index=i}reset(){this.list.length=0,this.index=0}},iD=new nf,iO=[];function iF(e,t){if(e.constructor!==t.constructor){let n=Math.min(e.length,t.length);for(let i=0;i65535?new Uint32Array(i):new Uint16Array(i);t.setIndex(new tZ(e,1))}this._geometryInitialized=!0}}_validateGeometry(e){let t=this.geometry;if(!!e.getIndex()!=!!t.getIndex())throw Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(let n in t.attributes){if(!e.hasAttribute(n))throw Error(`THREE.BatchedMesh: Added geometry missing "${n}". All geometries must have consistent attributes.`);let i=e.getAttribute(n),r=t.getAttribute(n);if(i.itemSize!==r.itemSize||i.normalized!==r.normalized)throw Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(e){let t=this._instanceInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid instanceId ${e}. Instance is either out of range or has been deleted.`)}validateGeometryId(e){let t=this._geometryInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid geometryId ${e}. Geometry is either out of range or has been deleted.`)}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.boundingBox,t=this._instanceInfo;e.makeEmpty();for(let n=0,i=t.length;n=this.maxInstanceCount&&0===this._availableInstanceIds.length)throw Error("THREE.BatchedMesh: Maximum item count reached.");let t={visible:!0,active:!0,geometryIndex:e},n=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(iM),n=this._availableInstanceIds.shift(),this._instanceInfo[n]=t):(n=this._instanceInfo.length,this._instanceInfo.push(t));let i=this._matricesTexture;iE.identity().toArray(i.image.data,16*n),i.needsUpdate=!0;let r=this._colorsTexture;return r&&(iA.toArray(r.image.data,4*n),r.needsUpdate=!0),this._visibilityChanged=!0,n}addGeometry(e,t=-1,n=-1){let i;this._initializeGeometry(e),this._validateGeometry(e);let r={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},a=this._geometryInfo;r.vertexStart=this._nextVertexStart,r.reservedVertexCount=-1===t?e.getAttribute("position").count:t;let s=e.getIndex();if(null!==s&&(r.indexStart=this._nextIndexStart,r.reservedIndexCount=-1===n?s.count:n),-1!==r.indexStart&&r.indexStart+r.reservedIndexCount>this._maxIndexCount||r.vertexStart+r.reservedVertexCount>this._maxVertexCount)throw Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(iM),a[i=this._availableGeometryIds.shift()]=r):(i=this._geometryCount,this._geometryCount++,a.push(r)),this.setGeometryAt(i,e),this._nextIndexStart=r.indexStart+r.reservedIndexCount,this._nextVertexStart=r.vertexStart+r.reservedVertexCount,i}setGeometryAt(e,t){if(e>=this._geometryCount)throw Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);let n=this.geometry,i=null!==n.getIndex(),r=n.getIndex(),a=t.getIndex(),s=this._geometryInfo[e];if(i&&a.count>s.reservedIndexCount||t.attributes.position.count>s.reservedVertexCount)throw Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");let o=s.vertexStart,l=s.reservedVertexCount;for(let e in s.vertexCount=t.getAttribute("position").count,n.attributes){let i=t.getAttribute(e),r=n.getAttribute(e);!function(e,t,n=0){let i=t.itemSize;if(e.isInterleavedBufferAttribute||e.array.constructor!==t.array.constructor){let r=e.count;for(let a=0;a=t.length||!1===t[e].active)return this;let n=this._instanceInfo;for(let t=0,i=n.length;tt).sort((e,t)=>n[e].vertexStart-n[t].vertexStart),r=this.geometry;for(let a=0,s=n.length;a=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingBox){let e=new eR,t=n.index,r=n.attributes.position;for(let n=i.start,a=i.start+i.count;n=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingSphere){let t=new eq;this.getBoundingBoxAt(e,iR),iR.getCenter(t.center);let r=n.index,a=n.attributes.position,s=0;for(let e=i.start,n=i.start+i.count;ee.active);if(Math.max(...n.map(e=>e.vertexStart+e.reservedVertexCount))>e)throw Error(`BatchedMesh: Geometry vertex values are being used outside the range ${t}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...n.map(e=>e.indexStart+e.reservedIndexCount))>t)throw Error(`BatchedMesh: Geometry index values are being used outside the range ${t}. Cannot shrink further.`);let i=this.geometry;i.dispose(),this._maxVertexCount=e,this._maxIndexCount=t,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new nn,this._initializeGeometry(i));let r=this.geometry;for(let e in i.index&&iF(i.index.array,r.index.array),i.attributes)iF(i.attributes[e].array,r.attributes[e].array)}raycast(e,t){let n=this._instanceInfo,i=this._geometryInfo,r=this.matrixWorld,a=this.geometry;iD.material=this.material,iD.geometry.index=a.index,iD.geometry.attributes=a.attributes,null===iD.geometry.boundingBox&&(iD.geometry.boundingBox=new eR),null===iD.geometry.boundingSphere&&(iD.geometry.boundingSphere=new eq);for(let a=0,s=n.length;a({...e,boundingBox:null!==e.boundingBox?e.boundingBox.clone():null,boundingSphere:null!==e.boundingSphere?e.boundingSphere.clone():null})),this._instanceInfo=e._instanceInfo.map(e=>({...e})),this._maxInstanceCount=e._maxInstanceCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),null!==this._colorsTexture&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){return this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,null!==this._colorsTexture&&(this._colorsTexture.dispose(),this._colorsTexture=null),this}onBeforeRender(e,t,n,i,r){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;let a=i.getIndex(),s=null===a?1:a.array.BYTES_PER_ELEMENT,o=this._instanceInfo,l=this._multiDrawStarts,u=this._multiDrawCounts,c=this._geometryInfo,h=this.perObjectFrustumCulled,d=this._indirectTexture,p=d.image.data;h&&(iE.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse).multiply(this.matrixWorld),iC.setFromProjectionMatrix(iE,e.coordinateSystem));let f=0;if(this.sortObjects){iE.copy(this.matrixWorld).invert(),iI.setFromMatrixPosition(n.matrixWorld).applyMatrix4(iE),iL.set(0,0,-1).transformDirection(n.matrixWorld).transformDirection(iE);for(let e=0,t=o.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;ei)return;ij.applyMatrix4(e.matrixWorld);let o=t.ray.origin.distanceTo(ij);if(!(ot.far))return{distance:o,point:iX.clone().applyMatrix4(e.matrixWorld),index:r,face:null,faceIndex:null,barycoord:null,object:e}}let iZ=new eE,iJ=new eE;class iK extends iq{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){let e=this.geometry;if(null===e.index){let t=e.attributes.position,n=[];for(let e=0,i=t.count;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;er.far)return;a.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:t,face:null,faceIndex:null,barycoord:null,object:s})}}class i6 extends ty{constructor(){super(),this.isGroup=!0,this.type="Group"}}class i8 extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==a?a:1006,this.magFilter=void 0!==r?r:1006,this.generateMipmaps=!1;const u=this;"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(function t(){u.needsUpdate=!0,e.requestVideoFrameCallback(t)})}clone(){return new this.constructor(this.image).copy(this)}update(){let e=this.image;!1=="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class i9 extends ev{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=1003,this.minFilter=1003,this.generateMipmaps=!1,this.needsUpdate=!0}}class i7 extends ev{constructor(e,t,n,i,r,a,s,o,l,u,c,h){super(null,a,s,o,l,u,i,r,c,h),this.isCompressedTexture=!0,this.image={width:t,height:n},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class re extends i7{constructor(e,t,n,i,r,a){super(e,t,n,r,a),this.isCompressedArrayTexture=!0,this.image.depth=i,this.wrapR=1001,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class rt extends i7{constructor(e,t,n){super(void 0,e[0].width,e[0].height,t,n,301),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class rn extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}}class ri extends ev{constructor(e,t,n,i,r,a,s,o,l,u=1026){if(1026!==u&&1027!==u)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&1026===u&&(n=1014),void 0===n&&1027===u&&(n=1020),super(null,i,r,a,s,o,u,n,l),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=void 0!==s?s:1003,this.minFilter=void 0!==o?o:1003,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return null!==this.compareFunction&&(t.compareFunction=this.compareFunction),t}}class rr{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){let n=this.getUtoTmapping(e);return this.getPoint(n,t)}getPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}getSpacedPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}getLength(){let e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let t=[],n,i=this.getPoint(0),r=0;t.push(0);for(let a=1;a<=e;a++)t.push(r+=(n=this.getPoint(a/e)).distanceTo(i)),i=n;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){let n,i=this.getLengths(),r=0,a=i.length;n=t||e*i[a-1];let s=0,o=a-1,l;for(;s<=o;)if((l=i[r=Math.floor(s+(o-s)/2)]-n)<0)s=r+1;else if(l>0)o=r-1;else{o=r;break}if(i[r=o]===n)return r/(a-1);let u=i[r],c=i[r+1];return(r+(n-u)/(c-u))/(a-1)}getTangent(e,t){let n=e-1e-4,i=e+1e-4;n<0&&(n=0),i>1&&(i=1);let r=this.getPoint(n),a=this.getPoint(i),s=t||(r.isVector2?new Y:new eE);return s.copy(a).sub(r).normalize(),s}getTangentAt(e,t){let n=this.getUtoTmapping(e);return this.getTangent(n,t)}computeFrenetFrames(e,t){let n=new eE,i=[],r=[],a=[],s=new eE,o=new e2;for(let t=0;t<=e;t++){let n=t/e;i[t]=this.getTangentAt(n,new eE)}r[0]=new eE,a[0]=new eE;let l=Number.MAX_VALUE,u=Math.abs(i[0].x),c=Math.abs(i[0].y),h=Math.abs(i[0].z);u<=l&&(l=u,n.set(1,0,0)),c<=l&&(l=c,n.set(0,1,0)),h<=l&&n.set(0,0,1),s.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],s),a[0].crossVectors(i[0],r[0]);for(let t=1;t<=e;t++){if(r[t]=r[t-1].clone(),a[t]=a[t-1].clone(),s.crossVectors(i[t-1],i[t]),s.length()>Number.EPSILON){s.normalize();let e=Math.acos(V(i[t-1].dot(i[t]),-1,1));r[t].applyMatrix4(o.makeRotationAxis(s,e))}a[t].crossVectors(i[t],r[t])}if(!0===t){let t=Math.acos(V(r[0].dot(r[e]),-1,1));t/=e,i[0].dot(s.crossVectors(r[0],r[e]))>0&&(t=-t);for(let n=1;n<=e;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],t*n)),a[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:a}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){let e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class ra extends rr{constructor(e=0,t=0,n=1,i=1,r=0,a=2*Math.PI,s=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=a,this.aClockwise=s,this.aRotation=o}getPoint(e,t=new Y){let n=2*Math.PI,i=this.aEndAngle-this.aStartAngle,r=Math.abs(i)n;)i-=n;i0?0:(Math.floor(Math.abs(o)/a)+1)*a:0===l&&o===a-1&&(o=a-2,l=1),this.closed||o>0?n=r[(o-1)%a]:(rl.subVectors(r[0],r[1]).add(r[0]),n=rl);let u=r[o%a],c=r[(o+1)%a];if(this.closed||o+2n.length-2?n.length-1:r+1],u=n[r>n.length-3?n.length-1:r+2];return t.set(rp(a,s.x,o.x,l.x,u.x),rp(a,s.y,o.y,l.y,u.y)),t}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t=n){let e=i[r]-n,a=this.curves[r],s=a.getLength(),o=0===s?0:1-e/s;return a.getPointAt(o,t)}r++}return null}getLength(){let e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let e=[],t=0;for(let n=0,i=this.curves.length;n1&&!n[n.length-1].equals(n[0])&&n.push(n[0]),n}copy(e){super.copy(e),this.curves=[];for(let t=0,n=e.curves.length;t0){let e=l.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(l);let u=l.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){let e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class rE extends nn{constructor(e=[new Y(0,-.5),new Y(.5,0),new Y(0,.5)],t=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:n,phiLength:i},t=Math.floor(t),i=V(i,0,2*Math.PI);const r=[],a=[],s=[],o=[],l=[],u=1/t,c=new eE,h=new Y,d=new eE,p=new eE,f=new eE;let m=0,g=0;for(let t=0;t<=e.length-1;t++)switch(t){case 0:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,f.copy(d),d.normalize(),o.push(d.x,d.y,d.z);break;case e.length-1:o.push(f.x,f.y,f.z);break;default:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,p.copy(d),d.x+=f.x,d.y+=f.y,d.z+=f.z,d.normalize(),o.push(d.x,d.y,d.z),f.copy(p)}for(let r=0;r<=t;r++){const d=n+r*u*i,p=Math.sin(d),f=Math.cos(d);for(let n=0;n<=e.length-1;n++){c.x=e[n].x*p,c.y=e[n].y,c.z=e[n].x*f,a.push(c.x,c.y,c.z),h.x=r/t,h.y=n/(e.length-1),s.push(h.x,h.y);const i=o[3*n+0]*p,u=o[3*n+1],d=o[3*n+0]*f;l.push(i,u,d)}}for(let n=0;n0||0!==i)&&(u.push(a,s,l),_+=3),(t>0||i!==r-1)&&(u.push(s,o,l),_+=3)}l.addGroup(g,_,0),g+=_})(),!1===a&&(e>0&&v(!0),t>0&&v(!1)),this.setIndex(u),this.setAttribute("position",new t4(c,3)),this.setAttribute("normal",new t4(h,3)),this.setAttribute("uv",new t4(d,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rR(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rP extends rR{constructor(e=1,t=1,n=32,i=1,r=!1,a=0,s=2*Math.PI){super(0,e,t,n,i,r,a,s),this.type="ConeGeometry",this.parameters={radius:e,height:t,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:a,thetaLength:s}}static fromJSON(e){return new rP(e.radius,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rI extends nn{constructor(e=[],t=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:n,detail:i};const r=[],a=[];function s(e){r.push(e.x,e.y,e.z)}function o(t,n){let i=3*t;n.x=e[i+0],n.y=e[i+1],n.z=e[i+2]}function l(e,t,n,i){i<0&&1===e.x&&(a[t]=e.x-1),0===n.x&&0===n.z&&(a[t]=i/2/Math.PI+.5)}function u(e){return Math.atan2(e.z,-e.x)}(function(e){let n=new eE,i=new eE,r=new eE;for(let a=0;a.9&&s<.1&&(t<.2&&(a[e+0]+=1),n<.2&&(a[e+2]+=1),i<.2&&(a[e+4]+=1))}}()}(),this.setAttribute("position",new t4(r,3)),this.setAttribute("normal",new t4(r.slice(),3)),this.setAttribute("uv",new t4(a,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rI(e.vertices,e.indices,e.radius,e.details)}}class rL extends rI{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],e,t),this.type="DodecahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new rL(e.radius,e.detail)}}let rN=new eE,rU=new eE,rD=new eE,rO=new tN;class rF extends nn{constructor(e=null,t=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:e,thresholdAngle:t},null!==e){const n=Math.cos(B*t),i=e.getIndex(),r=e.getAttribute("position"),a=i?i.count:r.count,s=[0,0,0],o=["a","b","c"],l=[,,,],u={},c=[];for(let e=0;e=n.next.y&&n.next.y!==n.y){let e=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(e<=a&&e>i&&(i=e,r=n.x=n.x&&n.x>=l&&a!==n.x&&rW(sr.x||n.x===r.x&&(d=r,p=n,0>rj(d.prev,d,p.prev)&&0>rj(p.next,d,d.next))))&&(r=n,c=h)),n=n.next}while(n!==o)return r}(e,t);if(!n)return t;let i=rK(n,e);return rH(i,i.next),rH(n,n.next)}(u[r],n);return n}(e,t,d,n)),e.length>80*n){i=a=e[0],r=s=e[1];for(let t=n;ta&&(a=o),l>s&&(s=l);u=0!==(u=Math.max(a-i,s-r))?32767/u:0}return function e(t,n,i,r,a,s,o){if(!t)return;!o&&s&&function(e,t,n,i){let r=e;do 0===r.z&&(r.z=rG(r.x,r.y,t,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==e)r.prevZ.nextZ=null,r.prevZ=null,function(e){let t,n,i,r,a,s,o,l,u=1;do{for(n=e,e=null,a=null,s=0;n;){for(s++,i=n,o=0,t=0;t0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:e=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(s>1)}(r)}(t,r,a,s);let l=t,u,c;for(;t.prev!==t.next;){if(u=t.prev,c=t.next,s?function(e,t,n,i){let r=e.prev,a=e.next;if(rj(r,e,a)>=0)return!1;let s=r.x,o=e.x,l=a.x,u=r.y,c=e.y,h=a.y,d=so?s>l?s:l:o>l?o:l,m=u>c?u>h?u:h:c>h?c:h,g=rG(d,p,t,n,i),v=rG(f,m,t,n,i),_=e.prevZ,y=e.nextZ;for(;_&&_.z>=g&&y&&y.z<=v;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0||(_=_.prevZ,y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0))return!1;y=y.nextZ}for(;_&&_.z>=g;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;y&&y.z<=v;){if(y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}(t,r,a,s):function(e){let t=e.prev,n=e.next;if(rj(t,e,n)>=0)return!1;let i=t.x,r=e.x,a=n.x,s=t.y,o=e.y,l=n.y,u=ir?i>a?i:a:r>a?r:a,d=s>o?s>l?s:l:o>l?o:l,p=n.next;for(;p!==t;){if(p.x>=u&&p.x<=h&&p.y>=c&&p.y<=d&&rW(i,s,r,o,a,l,p.x,p.y)&&rj(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}(t)){n.push(u.i/i|0),n.push(t.i/i|0),n.push(c.i/i|0),rQ(t),t=c.next,l=c.next;continue}if((t=c)===l){o?1===o?e(t=function(e,t,n){let i=e;do{let r=i.prev,a=i.next.next;!rX(r,a)&&rq(r,i,i.next,a)&&rJ(r,a)&&rJ(a,r)&&(t.push(r.i/n|0),t.push(i.i/n|0),t.push(a.i/n|0),rQ(i),rQ(i.next),i=e=a),i=i.next}while(i!==e)return rH(i)}(rH(t),n,i),n,i,r,a,s,2):2===o&&function(t,n,i,r,a,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){var l,u;if(o.i!==t.i&&(l=o,u=t,l.next.i!==u.i&&l.prev.i!==u.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&rq(n,n.next,e,t))return!0;n=n.next}while(n!==e)return!1}(l,u)&&(rJ(l,u)&&rJ(u,l)&&function(e,t){let n=e,i=!1,r=(e.x+t.x)/2,a=(e.y+t.y)/2;do n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next;while(n!==e)return i}(l,u)&&(rj(l.prev,l,u.prev)||rj(l,u.prev,u))||rX(l,u)&&rj(l.prev,l,l.next)>0&&rj(u.prev,u,u.next)>0))){let l=rK(o,t);o=rH(o,o.next),l=rH(l,l.next),e(o,n,i,r,a,s,0),e(l,n,i,r,a,s,0);return}t=t.next}o=o.next}while(o!==t)}(t,n,i,r,a,s):e(rH(t),n,i,r,a,s,1);break}}}(d,p,n,i,r,u,0),p};function rk(e,t,n,i,r){let a,s;if(r===function(e,t,n,i){let r=0;for(let a=t,s=n-i;a0)for(a=t;a=t;a-=i)s=r$(a,e[a],e[a+1],s);return s&&rX(s,s.next)&&(rQ(s),s=s.next),s}function rH(e,t){if(!e)return e;t||(t=e);let n=e,i;do if(i=!1,!n.steiner&&(rX(n,n.next)||0===rj(n.prev,n,n.next))){if(rQ(n),(n=t=n.prev)===n.next)break;i=!0}else n=n.next;while(i||n!==t)return t}function rV(e,t){return e.x-t.x}function rG(e,t,n,i,r){return(e=((e=((e=((e=((e=(e-n)*r|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)|(t=((t=((t=((t=((t=(t-i)*r|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)<<1}function rW(e,t,n,i,r,a,s,o){return(r-s)*(t-o)>=(e-s)*(a-o)&&(e-s)*(i-o)>=(n-s)*(t-o)&&(n-s)*(a-o)>=(r-s)*(i-o)}function rj(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function rX(e,t){return e.x===t.x&&e.y===t.y}function rq(e,t,n,i){let r=rZ(rj(e,t,n)),a=rZ(rj(e,t,i)),s=rZ(rj(n,i,e)),o=rZ(rj(n,i,t));return!!(r!==a&&s!==o||0===r&&rY(e,n,t)||0===a&&rY(e,i,t)||0===s&&rY(n,e,i)||0===o&&rY(n,t,i))}function rY(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function rZ(e){return e>0?1:e<0?-1:0}function rJ(e,t){return 0>rj(e.prev,e,e.next)?rj(e,t,e.next)>=0&&rj(e,e.prev,t)>=0:0>rj(e,t,e.prev)||0>rj(e,e.next,t)}function rK(e,t){let n=new r0(e.i,e.x,e.y),i=new r0(t.i,t.x,t.y),r=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function r$(e,t,n,i){let r=new r0(e,t,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function rQ(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function r0(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class r1{static area(e){let t=e.length,n=0;for(let i=t-1,r=0;rr1.area(e)}static triangulateShape(e,t){let n=[],i=[],r=[];r2(e),r3(n,e);let a=e.length;t.forEach(r2);for(let e=0;e2&&e[t-1].equals(e[0])&&e.pop()}function r3(e,t){for(let n=0;nNumber.EPSILON){let h=Math.sqrt(c),d=Math.sqrt(l*l+u*u),p=t.x-o/h,f=t.y+s/h,m=((n.x-u/d-p)*u-(n.y+l/d-f)*l)/(s*u-o*l),g=(i=p+s*m-e.x)*i+(r=f+o*m-e.y)*r;if(g<=2)return new Y(i,r);a=Math.sqrt(g/2)}else{let e=!1;s>Number.EPSILON?l>Number.EPSILON&&(e=!0):s<-Number.EPSILON?l<-Number.EPSILON&&(e=!0):Math.sign(o)===Math.sign(u)&&(e=!0),e?(i=-o,r=s,a=Math.sqrt(c)):(i=s,r=o,a=Math.sqrt(c/2))}return new Y(i/a,r/a)}let I=[];for(let e=0,t=E.length,n=t-1,i=e+1;e=0;e--){let t=e/v,n=f*Math.cos(t*Math.PI/2),i=m*Math.sin(t*Math.PI/2)+g;for(let e=0,t=E.length;e=0;){let a=r,s=r-1;s<0&&(s=e.length-1);for(let e=0,r=h+2*v;e0)&&d.push(t,r,l),(e!==n-1||o0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class ap extends tH{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new tz(0xffffff),this.specular=new tz(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class af extends tH{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new tz(0xffffff),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class am extends tH{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class ag extends tH{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class av extends tH{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class a_ extends tH{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}class ay extends tH{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new tz(0xffffff),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class ax extends iB{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function ab(e,t,n){return e&&(n||e.constructor!==t)?"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e):e}function aS(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function aM(e){let t=e.length,n=Array(t);for(let e=0;e!==t;++e)n[e]=e;return n.sort(function(t,n){return e[t]-e[n]}),n}function aT(e,t,n){let i=e.length,r=new e.constructor(i);for(let a=0,s=0;s!==i;++a){let i=n[a]*t;for(let n=0;n!==t;++n)r[s++]=e[i+n]}return r}function aw(e,t,n,i){let r=1,a=e[0];for(;void 0!==a&&void 0===a[i];)a=e[r++];if(void 0===a)return;let s=a[i];if(void 0!==s)if(Array.isArray(s))do void 0!==(s=a[i])&&(t.push(a.time),n.push.apply(n,s)),a=e[r++];while(void 0!==a)else if(void 0!==s.toArray)do void 0!==(s=a[i])&&(t.push(a.time),s.toArray(n,n.length)),a=e[r++];while(void 0!==a)else do void 0!==(s=a[i])&&(t.push(a.time),n.push(s)),a=e[r++];while(void 0!==a)}let aE={convertArray:ab,isTypedArray:aS,getKeyframeOrder:aM,sortedArray:aT,flattenJSON:aw,subclip:function(e,t,n,i,r=30){let a=e.clone();a.name=t;let s=[];for(let e=0;e=i)){l.push(t.times[e]);for(let n=0;na.tracks[e].times[0]&&(o=a.tracks[e].times[0]);for(let e=0;e=r.times[d]){let e=d*u+l,t=e+u-l;i=r.values.slice(e,t)}else{let e=r.createInterpolant(),t=l,n=u-l;e.evaluate(a),i=e.resultBuffer.slice(t,n)}"quaternion"===s&&new ew().fromArray(i).normalize().conjugate().toArray(i);let p=o.times.length;for(let e=0;e=r)){let s=t[1];e=(r=t[--n-1]))break i}a=n,n=0;break r}break n}for(;n>>1;et;)--a;if(++a,0!==r||a!==i){r>=a&&(r=(a=Math.max(a,1))-1);let e=this.getValueSize();this.times=n.slice(r,a),this.values=this.values.slice(r*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);let n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let a=null;for(let t=0;t!==r;t++){let i=n[t];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,i),e=!1;break}if(null!==a&&a>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,i,a),e=!1;break}a=i}if(void 0!==i&&aS(i))for(let t=0,n=i.length;t!==n;++t){let n=i[t];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),i=2302===this.getInterpolation(),r=e.length-1,a=1;for(let s=1;s0){e[a]=e[r];for(let e=r*n,i=a*n,s=0;s!==n;++s)t[i+s]=t[e+s];++a}return a!==e.length?(this.times=e.slice(0,a),this.values=t.slice(0,a*n)):(this.times=e,this.values=t),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=new this.constructor(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}aI.prototype.TimeBufferType=Float32Array,aI.prototype.ValueBufferType=Float32Array,aI.prototype.DefaultInterpolation=2301;class aL extends aI{constructor(e,t,n){super(e,t,n)}}aL.prototype.ValueTypeName="bool",aL.prototype.ValueBufferType=Array,aL.prototype.DefaultInterpolation=2300,aL.prototype.InterpolantFactoryMethodLinear=void 0,aL.prototype.InterpolantFactoryMethodSmooth=void 0;class aN extends aI{}aN.prototype.ValueTypeName="color";class aU extends aI{}aU.prototype.ValueTypeName="number";class aD extends aA{constructor(e,t,n,i){super(e,t,n,i)}interpolate_(e,t,n,i){let r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=(n-t)/(i-t),l=e*s;for(let e=l+s;l!==e;l+=4)ew.slerpFlat(r,0,a,l-s,a,l,o);return r}}class aO extends aI{InterpolantFactoryMethodLinear(e){return new aD(this.times,this.values,this.getValueSize(),e)}}aO.prototype.ValueTypeName="quaternion",aO.prototype.InterpolantFactoryMethodSmooth=void 0;class aF extends aI{constructor(e,t,n){super(e,t,n)}}aF.prototype.ValueTypeName="string",aF.prototype.ValueBufferType=Array,aF.prototype.DefaultInterpolation=2300,aF.prototype.InterpolantFactoryMethodLinear=void 0,aF.prototype.InterpolantFactoryMethodSmooth=void 0;class az extends aI{}az.prototype.ValueTypeName="vector";class aB{constructor(e="",t=-1,n=[],i=2500){this.name=e,this.tracks=n,this.duration=t,this.blendMode=i,this.uuid=H(),this.duration<0&&this.resetDuration()}static parse(e){let t=[],n=e.tracks,i=1/(e.fps||1);for(let e=0,r=n.length;e!==r;++e)t.push((function(e){if(void 0===e.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");let t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return aU;case"vector":case"vector2":case"vector3":case"vector4":return az;case"color":return aN;case"quaternion":return aO;case"bool":case"boolean":return aL;case"string":return aF}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){let t=[],n=[];aw(e.keys,t,n,"value"),e.times=t,e.values=n}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)})(n[e]).scale(i));let r=new this(e.name,e.duration,t,e.blendMode);return r.uuid=e.uuid,r}static toJSON(e){let t=[],n=e.tracks,i={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,i=n.length;e!==i;++e)t.push(aI.toJSON(n[e]));return i}static CreateFromMorphTargetSequence(e,t,n,i){let r=t.length,a=[];for(let e=0;e1){let e=a[1],t=i[e];t||(i[e]=t=[]),t.push(n)}}let a=[];for(let e in i)a.push(this.CreateFromMorphTargetSequence(e,i[e],t,n));return a}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;let n=function(e,t,n,i,r){if(0!==n.length){let a=[],s=[];aw(n,a,s,i),0!==a.length&&r.push(new e(t,a,s))}},i=[],r=e.name||"default",a=e.fps||30,s=e.blendMode,o=e.length||-1,l=e.hierarchy||[];for(let e=0;e{t&&t(r),this.manager.itemEnd(e)},0),r;if(void 0!==aW[e])return void aW[e].push({onLoad:t,onProgress:n,onError:i});aW[e]=[],aW[e].push({onLoad:t,onProgress:n,onError:i});let a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,o=this.responseType;fetch(a).then(t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"u"{if(i)e.close();else{let i=new ProgressEvent("progress",{lengthComputable:s,loaded:o+=r.byteLength,total:a});for(let e=0,t=n.length;e{e.error(t)})}()}}))}throw new aj(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)}).then(e=>{switch(o){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then(e=>new DOMParser().parseFromString(e,s));case"json":return e.json();default:if(void 0===s)return e.text();{let t=/charset="?([^;"\s]*)"?/i.exec(s),n=new TextDecoder(t&&t[1]?t[1].toLowerCase():void 0);return e.arrayBuffer().then(e=>n.decode(e))}}}).then(t=>{ak.add(e,t);let n=aW[e];delete aW[e];for(let e=0,i=n.length;e{let n=aW[e];if(void 0===n)throw this.manager.itemError(e),t;delete aW[e];for(let e=0,i=n.length;e{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class aq extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(n){try{t(r.parse(JSON.parse(n)))}catch(t){i?i(t):console.error(t),r.manager.itemError(e)}},n,i)}parse(e){let t=[];for(let n=0;n0:i.vertexColors=e.vertexColors),void 0!==e.uniforms)for(let t in e.uniforms){let r=e.uniforms[t];switch(i.uniforms[t]={},r.type){case"t":i.uniforms[t].value=n(r.value);break;case"c":i.uniforms[t].value=new tz().setHex(r.value);break;case"v2":i.uniforms[t].value=new Y().fromArray(r.value);break;case"v3":i.uniforms[t].value=new eE().fromArray(r.value);break;case"v4":i.uniforms[t].value=new e_().fromArray(r.value);break;case"m3":i.uniforms[t].value=new Z().fromArray(r.value);break;case"m4":i.uniforms[t].value=new e2().fromArray(r.value);break;default:i.uniforms[t].value=r.value}}if(void 0!==e.defines&&(i.defines=e.defines),void 0!==e.vertexShader&&(i.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(i.fragmentShader=e.fragmentShader),void 0!==e.glslVersion&&(i.glslVersion=e.glslVersion),void 0!==e.extensions)for(let t in e.extensions)i.extensions[t]=e.extensions[t];if(void 0!==e.lights&&(i.lights=e.lights),void 0!==e.clipping&&(i.clipping=e.clipping),void 0!==e.size&&(i.size=e.size),void 0!==e.sizeAttenuation&&(i.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(i.map=n(e.map)),void 0!==e.matcap&&(i.matcap=n(e.matcap)),void 0!==e.alphaMap&&(i.alphaMap=n(e.alphaMap)),void 0!==e.bumpMap&&(i.bumpMap=n(e.bumpMap)),void 0!==e.bumpScale&&(i.bumpScale=e.bumpScale),void 0!==e.normalMap&&(i.normalMap=n(e.normalMap)),void 0!==e.normalMapType&&(i.normalMapType=e.normalMapType),void 0!==e.normalScale){let t=e.normalScale;!1===Array.isArray(t)&&(t=[t,t]),i.normalScale=new Y().fromArray(t)}return void 0!==e.displacementMap&&(i.displacementMap=n(e.displacementMap)),void 0!==e.displacementScale&&(i.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(i.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(i.roughnessMap=n(e.roughnessMap)),void 0!==e.metalnessMap&&(i.metalnessMap=n(e.metalnessMap)),void 0!==e.emissiveMap&&(i.emissiveMap=n(e.emissiveMap)),void 0!==e.emissiveIntensity&&(i.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(i.specularMap=n(e.specularMap)),void 0!==e.specularIntensityMap&&(i.specularIntensityMap=n(e.specularIntensityMap)),void 0!==e.specularColorMap&&(i.specularColorMap=n(e.specularColorMap)),void 0!==e.envMap&&(i.envMap=n(e.envMap)),void 0!==e.envMapRotation&&i.envMapRotation.fromArray(e.envMapRotation),void 0!==e.envMapIntensity&&(i.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(i.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(i.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(i.lightMap=n(e.lightMap)),void 0!==e.lightMapIntensity&&(i.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(i.aoMap=n(e.aoMap)),void 0!==e.aoMapIntensity&&(i.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(i.gradientMap=n(e.gradientMap)),void 0!==e.clearcoatMap&&(i.clearcoatMap=n(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(i.clearcoatNormalMap=n(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(i.clearcoatNormalScale=new Y().fromArray(e.clearcoatNormalScale)),void 0!==e.iridescenceMap&&(i.iridescenceMap=n(e.iridescenceMap)),void 0!==e.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(e.iridescenceThicknessMap)),void 0!==e.transmissionMap&&(i.transmissionMap=n(e.transmissionMap)),void 0!==e.thicknessMap&&(i.thicknessMap=n(e.thicknessMap)),void 0!==e.anisotropyMap&&(i.anisotropyMap=n(e.anisotropyMap)),void 0!==e.sheenColorMap&&(i.sheenColorMap=n(e.sheenColorMap)),void 0!==e.sheenRoughnessMap&&(i.sheenRoughnessMap=n(e.sheenRoughnessMap)),i}setTextures(e){return this.textures=e,this}createMaterialFromType(e){return su.createMaterialFromType(e)}static createMaterialFromType(e){return new({ShadowMaterial:au,SpriteMaterial:nO,RawShaderMaterial:ac,ShaderMaterial:nb,PointsMaterial:iQ,MeshPhysicalMaterial:ad,MeshStandardMaterial:ah,MeshPhongMaterial:ap,MeshToonMaterial:af,MeshNormalMaterial:am,MeshLambertMaterial:ag,MeshDepthMaterial:av,MeshDistanceMaterial:a_,MeshBasicMaterial:tV,MeshMatcapMaterial:ay,LineDashedMaterial:ax,LineBasicMaterial:iB,Material:tH})[e]}}class sc{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),"u">typeof TextDecoder)return new TextDecoder().decode(e);let t="";for(let n=0,i=e.length;n0){(n=new aZ(new aH(t))).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t0){(t=new aZ(this.manager)).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t{let t=new eR;t.min.fromArray(e.boxMin),t.max.fromArray(e.boxMax);let n=new eq;return n.radius=e.sphereRadius,n.center.fromArray(e.sphereCenter),{boxInitialized:e.boxInitialized,box:t,sphereInitialized:e.sphereInitialized,sphere:n}}),a._maxInstanceCount=e.maxInstanceCount,a._maxVertexCount=e.maxVertexCount,a._maxIndexCount=e.maxIndexCount,a._geometryInitialized=e.geometryInitialized,a._geometryCount=e.geometryCount,a._matricesTexture=c(e.matricesTexture.uuid),void 0!==e.colorsTexture&&(a._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":a=new nQ;break;case"Line":a=new iq(l(e.geometry),u(e.material));break;case"LineLoop":a=new i$(l(e.geometry),u(e.material));break;case"LineSegments":a=new iK(l(e.geometry),u(e.material));break;case"PointCloud":case"Points":a=new i4(l(e.geometry),u(e.material));break;case"Sprite":a=new nZ(u(e.material));break;case"Group":a=new i6;break;case"Bone":a=new ie;break;default:a=new ty}if(a.uuid=e.uuid,void 0!==e.name&&(a.name=e.name),void 0!==e.matrix?(a.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(a.matrixAutoUpdate=e.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==e.position&&a.position.fromArray(e.position),void 0!==e.rotation&&a.rotation.fromArray(e.rotation),void 0!==e.quaternion&&a.quaternion.fromArray(e.quaternion),void 0!==e.scale&&a.scale.fromArray(e.scale)),void 0!==e.up&&a.up.fromArray(e.up),void 0!==e.castShadow&&(a.castShadow=e.castShadow),void 0!==e.receiveShadow&&(a.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.intensity&&(a.shadow.intensity=e.shadow.intensity),void 0!==e.shadow.bias&&(a.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(a.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(a.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&a.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(a.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(a.visible=e.visible),void 0!==e.frustumCulled&&(a.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(a.renderOrder=e.renderOrder),void 0!==e.userData&&(a.userData=e.userData),void 0!==e.layers&&(a.layers.mask=e.layers),void 0!==e.children){let s=e.children;for(let e=0;e{t&&t(n),r.manager.itemEnd(e)}).catch(e=>{i&&i(e)}):(setTimeout(function(){t&&t(a),r.manager.itemEnd(e)},0),a);let s={};s.credentials="anonymous"===this.crossOrigin?"same-origin":"include",s.headers=this.requestHeader;let o=fetch(e,s).then(function(e){return e.blob()}).then(function(e){return createImageBitmap(e,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(n){return ak.add(e,n),t&&t(n),r.manager.itemEnd(e),n}).catch(function(t){i&&i(t),ak.remove(e),r.manager.itemError(e),r.manager.itemEnd(e)});ak.add(e,o),r.manager.itemStart(e)}}class s_{static getContext(){return void 0===i&&(i=new(window.AudioContext||window.webkitAudioContext)),i}static setContext(e){i=e}}class sy extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);function s(t){i?i(t):console.error(t),r.manager.itemError(e)}a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(e){try{let n=e.slice(0);s_.getContext().decodeAudioData(n,function(e){t(e)}).catch(s)}catch(e){s(e)}},n,i)}}let sx=new e2,sb=new e2,sS=new e2;class sM{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new nE,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new nE,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){let t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){let n,i;t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,sS.copy(e.projectionMatrix);let r=t.eyeSep/2,a=r*t.near/t.focus,s=t.near*Math.tan(B*t.fov*.5)/t.zoom;sb.elements[12]=-r,sx.elements[12]=r,n=-s*t.aspect+a,i=s*t.aspect+a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraL.projectionMatrix.copy(sS),n=-s*t.aspect-a,i=s*t.aspect-a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraR.projectionMatrix.copy(sS)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(sb),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(sx)}}class sT extends nE{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class sw{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=sE(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){let t=sE();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function sE(){return performance.now()}let sA=new eE,sC=new ew,sR=new eE,sP=new eE;class sI extends ty{constructor(){super(),this.type="AudioListener",this.context=s_.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new sw}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);let t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(sA,sC,sR),sP.set(0,0,-1).applyQuaternion(sC),t.positionX){let e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(sA.x,e),t.positionY.linearRampToValueAtTime(sA.y,e),t.positionZ.linearRampToValueAtTime(sA.z,e),t.forwardX.linearRampToValueAtTime(sP.x,e),t.forwardY.linearRampToValueAtTime(sP.y,e),t.forwardZ.linearRampToValueAtTime(sP.z,e),t.upX.linearRampToValueAtTime(n.x,e),t.upY.linearRampToValueAtTime(n.y,e),t.upZ.linearRampToValueAtTime(n.z,e)}else t.setPosition(sA.x,sA.y,sA.z),t.setOrientation(sP.x,sP.y,sP.z,n.x,n.y,n.z)}}class sL extends ty{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+e;let t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this)}stop(e=0){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(this._progress=0,null!==this.source&&(this.source.stop(this.context.currentTime+e),this.source.onended=null),this.isPlaying=!1,this)}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(n,i,this._addIndex*t,1,t);for(let e=t,r=t+t;e!==r;++e)if(n[e]!==n[e+t]){s.setValue(n,i);break}}saveOriginalState(){let e=this.binding,t=this.buffer,n=this.valueSize,i=n*this._origIndex;e.getValue(t,i);for(let e=n;e!==i;++e)t[e]=t[i+e%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){let e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let n=e;n=.5)for(let i=0;i!==r;++i)e[t+i]=e[n+i]}_slerp(e,t,n,i){ew.slerpFlat(e,t,e,t,e,n,i)}_slerpAdditive(e,t,n,i,r){let a=this._workIndex*r;ew.multiplyQuaternionsFlat(e,a,e,t,e,n),ew.slerpFlat(e,t,e,t,e,a,i)}_lerp(e,t,n,i,r){let a=1-i;for(let s=0;s!==r;++s){let r=t+s;e[r]=e[r]*a+e[n+s]*i}}_lerpAdditive(e,t,n,i,r){for(let a=0;a!==r;++a){let r=t+a;e[r]=e[r]+e[n+a]*i}}}let sk="\\[\\]\\.:\\/",sH=RegExp("["+sk+"]","g"),sV="[^"+sk+"]",sG="[^"+sk.replace("\\.","")+"]",sW=RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",sV)+/(WCOD+)?/.source.replace("WCOD",sG)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",sV)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",sV)+"$"),sj=["material","materials","bones","map"];class sX{constructor(e,t,n){this.path=t,this.parsedPath=n||sX.parseTrackName(t),this.node=sX.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new sX.Composite(e,t,n):new sX(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(sH,"")}static parseTrackName(e){let t=sW.exec(e);if(null===t)throw Error("PropertyBinding: Cannot parse trackName: "+e);let n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){let e=n.nodeName.substring(i+1);-1!==sj.indexOf(e)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=e)}if(null===n.propertyName||0===n.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){let n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){let n=function(e){for(let i=0;i=r){let a=r++,u=e[a];t[u.uuid]=l,e[l]=u,t[o]=a,e[a]=s;for(let e=0;e!==i;++e){let t=n[e],i=t[a],r=t[l];t[l]=i,t[a]=r}}}this.nCachedObjects_=r}uncache(){let e=this._objects,t=this._indicesByUUID,n=this._bindings,i=n.length,r=this.nCachedObjects_,a=e.length;for(let s=0,o=arguments.length;s!==o;++s){let o=arguments[s],l=o.uuid,u=t[l];if(void 0!==u)if(delete t[l],u0&&(t[s.uuid]=u),e[u]=s,e.pop();for(let e=0;e!==i;++e){let t=n[e];t[u]=t[r],t.pop()}}}this.nCachedObjects_=r}subscribe_(e,t){let n=this._bindingsIndicesByPath,i=n[e],r=this._bindings;if(void 0!==i)return r[i];let a=this._paths,s=this._parsedPaths,o=this._objects,l=o.length,u=this.nCachedObjects_,c=Array(l);i=r.length,n[e]=i,a.push(e),s.push(t),r.push(c);for(let n=u,i=o.length;n!==i;++n){let i=o[n];c[n]=new sX(i,e,t)}return c}unsubscribe_(e){let t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){let i=this._paths,r=this._parsedPaths,a=this._bindings,s=a.length-1,o=a[s];t[e[s]]=n,a[n]=o,a.pop(),r[n]=r[s],r.pop(),i[n]=i[s],i.pop()}}}class sY{constructor(e,t,n=null,i=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=n,this.blendMode=i;const r=t.tracks,a=r.length,s=Array(a),o={endingStart:2400,endingEnd:2400};for(let e=0;e!==a;++e){const t=r[e].createInterpolant(null);s[e]=t,t.settings=o}this._interpolantSettings=o,this._interpolants=s,this._propertyBindings=Array(a),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){let n=this._clip.duration,i=e._clip.duration;e.warp(1,i/n,t),this.warp(n/i,1,t)}return this}crossFadeTo(e,t,n){return e.crossFadeFrom(this,t,n)}stopFading(){let e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,n){let i=this._mixer,r=i.time,a=this.timeScale,s=this._timeScaleInterpolant;null===s&&(s=i._lendControlInterpolant(),this._timeScaleInterpolant=s);let o=s.parameterPositions,l=s.sampleValues;return o[0]=r,o[1]=r+n,l[0]=e/a,l[1]=t/a,this}stopWarping(){let e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,n,i){if(!this.enabled)return void this._updateWeight(e);let r=this._startTime;if(null!==r){let i=(e-r)*n;i<0||0===n?t=0:(this._startTime=null,t=n*i)}t*=this._updateTimeScale(e);let a=this._updateTime(t),s=this._updateWeight(e);if(s>0){let e=this._interpolants,t=this._propertyBindings;if(2501===this.blendMode)for(let n=0,i=e.length;n!==i;++n)e[n].evaluate(a),t[n].accumulateAdditive(s);else for(let n=0,r=e.length;n!==r;++n)e[n].evaluate(a),t[n].accumulate(i,s)}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;let n=this._weightInterpolant;if(null!==n){let i=n.evaluate(e)[0];t*=i,e>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;let n=this._timeScaleInterpolant;null!==n&&(t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t))}return this._effectiveTimeScale=t,t}_updateTime(e){let t=this._clip.duration,n=this.loop,i=this.time+e,r=this._loopCount,a=2202===n;if(0===e)return -1===r?i:a&&(1&r)==1?t-i:i;if(2200===n){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));s:{if(i>=t)i=t;else if(i<0)i=0;else{this.time=i;break s}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===r&&(e>=0?(r=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),i>=t||i<0){let n=Math.floor(i/t);i-=t*n,r+=Math.abs(n);let s=this.repetitions-r;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=e>0?t:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===s){let t=e<0;this._setEndings(t,!t,a)}else this._setEndings(!1,!1,a);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(a&&(1&r)==1)return t-i}return i}_setEndings(e,t,n){let i=this._interpolantSettings;n?(i.endingStart=2401,i.endingEnd=2401):(e?i.endingStart=this.zeroSlopeAtStart?2401:2400:i.endingStart=2402,t?i.endingEnd=this.zeroSlopeAtEnd?2401:2400:i.endingEnd=2402)}_scheduleFading(e,t,n){let i=this._mixer,r=i.time,a=this._weightInterpolant;null===a&&(a=i._lendControlInterpolant(),this._weightInterpolant=a);let s=a.parameterPositions,o=a.sampleValues;return s[0]=r,o[0]=t,s[1]=r+e,o[1]=n,this}}let sZ=new Float32Array(1);class sJ extends O{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){let n=e._localRoot||this._root,i=e._clip.tracks,r=i.length,a=e._propertyBindings,s=e._interpolants,o=n.uuid,l=this._bindingsByRootAndName,u=l[o];void 0===u&&(u={},l[o]=u);for(let e=0;e!==r;++e){let r=i[e],l=r.name,c=u[l];if(void 0!==c)++c.referenceCount,a[e]=c;else{if(void 0!==(c=a[e])){null===c._cacheIndex&&(++c.referenceCount,this._addInactiveBinding(c,o,l));continue}let i=t&&t._propertyBindings[e].binding.parsedPath;c=new sB(sX.create(n,l,i),r.ValueTypeName,r.getValueSize()),++c.referenceCount,this._addInactiveBinding(c,o,l),a[e]=c}s[e].resultBuffer=c.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){let t=(e._localRoot||this._root).uuid,n=e._clip.uuid,i=this._actionsByClip[n];this._bindAction(e,i&&i.knownActions[0]),this._addInactiveAction(e,n,t)}let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){let t=e._cacheIndex;return null!==t&&t=0;--n)e[n].stop();return this}update(e){e*=this.timeScale;let t=this._actions,n=this._nActiveActions,i=this.time+=e,r=Math.sign(e),a=this._accuIndex^=1;for(let s=0;s!==n;++s)t[s]._update(i,e,r,a);let s=this._bindings,o=this._nActiveBindings;for(let e=0;e!==o;++e)s[e].apply(a);return this}setTime(e){this.time=0;for(let e=0;e=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,s7).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let ot=new eE,on=new eE;class oi{constructor(e=new eE,t=new eE){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){ot.subVectors(e,this.start),on.subVectors(this.end,this.start);let n=on.dot(on),i=on.dot(ot)/n;return t&&(i=V(i,0,1)),i}closestPointToPoint(e,t,n){let i=this.closestPointToPointParameter(e,t);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}let or=new eE;class oa extends ty{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const n=new nn,i=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1;e<32;e++,t++){const n=e/32*Math.PI*2,r=t/32*Math.PI*2;i.push(Math.cos(n),Math.sin(n),1,Math.cos(r),Math.sin(r),1)}n.setAttribute("position",new t4(i,3));const r=new iB({fog:!1,toneMapped:!1});this.cone=new iK(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);let e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),or.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(or),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}let os=new eE,oo=new e2,ol=new e2;class ou extends iK{constructor(e){const t=function e(t){let n=[];!0===t.isBone&&n.push(t);for(let i=0;i1)for(let n=0;n.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{oR.set(e.z,0,-e.x).normalize();let t=Math.acos(e.y);this.quaternion.setFromAxisAngle(oR,t)}}setLength(e,t=.2*e,n=.2*t){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class oI extends iK{constructor(e=1){const t=new nn;t.setAttribute("position",new t4([0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],3)),t.setAttribute("color",new t4([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3)),super(t,new iB({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(e,t,n){let i=new tz,r=this.geometry.attributes.color.array;return i.set(e),i.toArray(r,0),i.toArray(r,3),i.set(t),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class oL{constructor(){this.type="ShapePath",this.color=new tz,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new rw,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,n,i){return this.currentPath.quadraticCurveTo(e,t,n,i),this}bezierCurveTo(e,t,n,i,r,a){return this.currentPath.bezierCurveTo(e,t,n,i,r,a),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){let t,n,i,r,a,s=r1.isClockWise,o=this.subPaths;if(0===o.length)return[];let l=[];if(1===o.length)return n=o[0],(i=new rz).curves=n.curves,l.push(i),l;let u=!s(o[0].getPoints());u=e?!u:u;let c=[],h=[],d=[],p=0;h[0]=void 0,d[p]=[];for(let i=0,a=o.length;i1){let e=!1,t=0;for(let e=0,t=h.length;eNumber.EPSILON){if(l<0&&(n=t[a],o=-o,s=t[r],l=-l),e.ys.y)continue;if(e.y===n.y){if(e.x===n.x)return!0}else{let t=l*(e.x-n.x)-o*(e.y-n.y);if(0===t)return!0;if(t<0)continue;i=!i}}else{if(e.y!==n.y)continue;if(s.x<=e.x&&e.x<=n.x||n.x<=e.x&&e.x<=s.x)return!0}}return i})(a.p,h[i].p)&&(n!==i&&t++,s?(s=!1,c[i].push(a)):e=!0);s&&c[n].push(a)}}t>0&&!1===e&&(d=c)}for(let e=0,t=h.length;et?(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2):(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0),e},cover:function(e,t){let n=e.image&&e.image.width?e.image.width/e.image.height:1;return n>t?(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0):(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2),e},fill:function(e){return e.repeat.x=1,e.repeat.y=1,e.offset.x=0,e.offset.y=0,e},getByteLength:oU};class oO extends ex{constructor(e=1,t=1,n=1,i={}){console.warn('THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.'),super(e,t,{...i,count:n}),this.isWebGLMultipleRenderTargets=!0}get texture(){return this.textures}}function oF(){let e=null,t=!1,n=null,i=null;function r(t,a){n(t,a),i=e.requestAnimationFrame(r)}return{start:function(){!0===t||null!==n&&(i=e.requestAnimationFrame(r),t=!0)},stop:function(){e.cancelAnimationFrame(i),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function oz(e){let t=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)},remove:function(n){n.isInterleavedBufferAttribute&&(n=n.data);let i=t.get(n);i&&(e.deleteBuffer(i.buffer),t.delete(n))},update:function(n,i){if(n.isInterleavedBufferAttribute&&(n=n.data),n.isGLBufferAttribute){let e=t.get(n);(!e||e.versione.start-t.start);let t=0;for(let e=1;etypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"171"}})),"u">typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="171"),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RAD2DEG",0,k,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"arrayNeedsUint32",0,K,"cloneUniforms",0,nv,"createCanvasElement",0,et,"createElementNS",0,ee,"getByteLength",0,oU,"getUnlitUniformColorSpace",0,ny,"mergeUniforms",0,n_,"probeAsync",0,er,"toNormalizedProjectionMatrix",0,ea,"toReversedProjectionMatrix",0,es,"warnOnce",0,ei],90072);let oB={alphahash_fragment:"#ifdef USE_ALPHAHASH\n if ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;\n#endif",alphahash_pars_fragment:"#ifdef USE_ALPHAHASH\n const float ALPHA_HASH_SCALE = 0.05;\n float hash2D( vec2 value ) {\n return fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n }\n float hash3D( vec3 value ) {\n return hash2D( vec2( hash2D( value.xy ), value.z ) );\n }\n float getAlphaHashThreshold( vec3 position ) {\n float maxDeriv = max(\n length( dFdx( position.xyz ) ),\n length( dFdy( position.xyz ) )\n );\n float pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n vec2 pixScales = vec2(\n exp2( floor( log2( pixScale ) ) ),\n exp2( ceil( log2( pixScale ) ) )\n );\n vec2 alpha = vec2(\n hash3D( floor( pixScales.x * position.xyz ) ),\n hash3D( floor( pixScales.y * position.xyz ) )\n );\n float lerpFactor = fract( log2( pixScale ) );\n float x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n float a = min( lerpFactor, 1.0 - lerpFactor );\n vec3 cases = vec3(\n x * x / ( 2.0 * a * ( 1.0 - a ) ),\n ( x - 0.5 * a ) / ( 1.0 - a ),\n 1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n );\n float threshold = ( x < ( 1.0 - a ) )\n ? ( ( x < a ) ? cases.x : cases.y )\n : cases.z;\n return clamp( threshold , 1.0e-6, 1.0 );\n }\n#endif",alphamap_fragment:"#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n #ifdef ALPHA_TO_COVERAGE\n diffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n if ( diffuseColor.a < alphaTest ) discard;\n #endif\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n uniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n float ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n reflectedLight.indirectDiffuse *= ambientOcclusion;\n #if defined( USE_CLEARCOAT ) \n clearcoatSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_SHEEN ) \n sheenSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD )\n float dotNV = saturate( dot( geometryNormal, geometryViewDir ) );\n reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n #endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n uniform sampler2D aoMap;\n uniform float aoMapIntensity;\n#endif",batching_pars_vertex:"#ifdef USE_BATCHING\n #if ! defined( GL_ANGLE_multi_draw )\n #define gl_DrawID _gl_DrawID\n uniform int _gl_DrawID;\n #endif\n uniform highp sampler2D batchingTexture;\n uniform highp usampler2D batchingIdTexture;\n mat4 getBatchingMatrix( const in float i ) {\n int size = textureSize( batchingTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n float getIndirectIndex( const in int i ) {\n int size = textureSize( batchingIdTexture, 0 ).x;\n int x = i % size;\n int y = i / size;\n return float( texelFetch( batchingIdTexture, ivec2( x, y ), 0 ).r );\n }\n#endif\n#ifdef USE_BATCHING_COLOR\n uniform sampler2D batchingColorTexture;\n vec3 getBatchingColor( const in float i ) {\n int size = textureSize( batchingColorTexture, 0 ).x;\n int j = int( i );\n int x = j % size;\n int y = j / size;\n return texelFetch( batchingColorTexture, ivec2( x, y ), 0 ).rgb;\n }\n#endif",batching_vertex:"#ifdef USE_BATCHING\n mat4 batchingMatrix = getBatchingMatrix( getIndirectIndex( gl_DrawID ) );\n#endif",begin_vertex:"vec3 transformed = vec3( position );\n#ifdef USE_ALPHAHASH\n vPosition = vec3( position );\n#endif",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n vec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n return 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( specularColor, 1.0, dotVH );\n float G = G_BlinnPhong_Implicit( );\n float D = D_BlinnPhong( shininess, dotNH );\n return F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n const mat3 XYZ_TO_REC709 = mat3(\n 3.2404542, -0.9692660, 0.0556434,\n -1.5371385, 1.8760108, -0.2040259,\n -0.4985314, 0.0415560, 1.0572252\n );\n vec3 Fresnel0ToIor( vec3 fresnel0 ) {\n vec3 sqrtF0 = sqrt( fresnel0 );\n return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n }\n vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n }\n float IorToFresnel0( float transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n }\n vec3 evalSensitivity( float OPD, vec3 shift ) {\n float phase = 2.0 * PI * OPD * 1.0e-9;\n vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n xyz /= 1.0685e-7;\n vec3 rgb = XYZ_TO_REC709 * xyz;\n return rgb;\n }\n vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n vec3 I;\n float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n float cosTheta2Sq = 1.0 - sinTheta2Sq;\n if ( cosTheta2Sq < 0.0 ) {\n return vec3( 1.0 );\n }\n float cosTheta2 = sqrt( cosTheta2Sq );\n float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n float R12 = F_Schlick( R0, 1.0, cosTheta1 );\n float T121 = 1.0 - R12;\n float phi12 = 0.0;\n if ( iridescenceIOR < outsideIOR ) phi12 = PI;\n float phi21 = PI - phi12;\n vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n vec3 phi23 = vec3( 0.0 );\n if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n vec3 phi = vec3( phi21 ) + phi23;\n vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n vec3 r123 = sqrt( R123 );\n vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n vec3 C0 = R12 + Rs;\n I = C0;\n vec3 Cm = Rs - T121;\n for ( int m = 1; m <= 2; ++ m ) {\n Cm *= r123;\n vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n I += Cm * Sm;\n }\n return max( I, vec3( 0.0 ) );\n }\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n uniform sampler2D bumpMap;\n uniform float bumpScale;\n vec2 dHdxy_fwd() {\n vec2 dSTdx = dFdx( vBumpMapUv );\n vec2 dSTdy = dFdy( vBumpMapUv );\n float Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n float dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n float dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n return vec2( dBx, dBy );\n }\n vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n vec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n vec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\n vec3 vN = surf_norm;\n vec3 R1 = cross( vSigmaY, vN );\n vec3 R2 = cross( vN, vSigmaX );\n float fDet = dot( vSigmaX, R1 ) * faceDirection;\n vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n return normalize( abs( fDet ) * surf_norm - vGrad );\n }\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n vec4 plane;\n #ifdef ALPHA_TO_COVERAGE\n float distanceToPlane, distanceGradient;\n float clipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n if ( clipOpacity == 0.0 ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n float unionClipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n }\n #pragma unroll_loop_end\n clipOpacity *= 1.0 - unionClipOpacity;\n #endif\n diffuseColor.a *= clipOpacity;\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n bool clipped = true;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n }\n #pragma unroll_loop_end\n if ( clipped ) discard;\n #endif\n #endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n vClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n diffuseColor *= vColor;\n#elif defined( USE_COLOR )\n diffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR )\n varying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n varying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n vColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n vColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n vColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n vColor.xyz *= instanceColor.xyz;\n#endif\n#ifdef USE_BATCHING_COLOR\n vec3 batchingColor = getBatchingColor( getIndirectIndex( gl_DrawID ) );\n vColor.xyz *= batchingColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n return fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n float precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n float precisionSafeLength( vec3 v ) {\n float maxComponent = max3( abs( v ) );\n return length( v / maxComponent ) * maxComponent;\n }\n#endif\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n bool visible;\n};\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n vec3 indirectSpecular;\n};\n#ifdef USE_ALPHAHASH\n varying vec3 vPosition;\n#endif\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n mat3 tmp;\n tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n return tmp;\n}\nbool isPerspectiveMatrix( mat4 m ) {\n return m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n return vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n return RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n #define cubeUV_minMipLevel 4.0\n #define cubeUV_minTileSize 16.0\n float getFace( vec3 direction ) {\n vec3 absDirection = abs( direction );\n float face = - 1.0;\n if ( absDirection.x > absDirection.z ) {\n if ( absDirection.x > absDirection.y )\n face = direction.x > 0.0 ? 0.0 : 3.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n } else {\n if ( absDirection.z > absDirection.y )\n face = direction.z > 0.0 ? 2.0 : 5.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n }\n return face;\n }\n vec2 getUV( vec3 direction, float face ) {\n vec2 uv;\n if ( face == 0.0 ) {\n uv = vec2( direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 1.0 ) {\n uv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n } else if ( face == 2.0 ) {\n uv = vec2( - direction.x, direction.y ) / abs( direction.z );\n } else if ( face == 3.0 ) {\n uv = vec2( - direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 4.0 ) {\n uv = vec2( - direction.x, direction.z ) / abs( direction.y );\n } else {\n uv = vec2( direction.x, direction.y ) / abs( direction.z );\n }\n return 0.5 * ( uv + 1.0 );\n }\n vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n float face = getFace( direction );\n float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n mipInt = max( mipInt, cubeUV_minMipLevel );\n float faceSize = exp2( mipInt );\n highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n if ( face > 2.0 ) {\n uv.y += faceSize;\n face -= 3.0;\n }\n uv.x += face * faceSize;\n uv.x += filterInt * 3.0 * cubeUV_minTileSize;\n uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n uv.x *= CUBEUV_TEXEL_WIDTH;\n uv.y *= CUBEUV_TEXEL_HEIGHT;\n #ifdef texture2DGradEXT\n return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n #else\n return texture2D( envMap, uv ).rgb;\n #endif\n }\n #define cubeUV_r0 1.0\n #define cubeUV_m0 - 2.0\n #define cubeUV_r1 0.8\n #define cubeUV_m1 - 1.0\n #define cubeUV_r4 0.4\n #define cubeUV_m4 2.0\n #define cubeUV_r5 0.305\n #define cubeUV_m5 3.0\n #define cubeUV_r6 0.21\n #define cubeUV_m6 4.0\n float roughnessToMip( float roughness ) {\n float mip = 0.0;\n if ( roughness >= cubeUV_r1 ) {\n mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n } else if ( roughness >= cubeUV_r4 ) {\n mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n } else if ( roughness >= cubeUV_r5 ) {\n mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n } else if ( roughness >= cubeUV_r6 ) {\n mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n } else {\n mip = - 2.0 * log2( 1.16 * roughness ); }\n return mip;\n }\n vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n float mipF = fract( mip );\n float mipInt = floor( mip );\n vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n if ( mipF == 0.0 ) {\n return vec4( color0, 1.0 );\n } else {\n vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n return vec4( mix( color0, color1, mipF ), 1.0 );\n }\n }\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n vec3 transformedTangent = objectTangent;\n#endif\n#ifdef USE_BATCHING\n mat3 bm = mat3( batchingMatrix );\n transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n transformedNormal = bm * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = bm * transformedTangent;\n #endif\n#endif\n#ifdef USE_INSTANCING\n mat3 im = mat3( instanceMatrix );\n transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n transformedNormal = im * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = im * transformedTangent;\n #endif\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n transformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n #ifdef FLIP_SIDED\n transformedTangent = - transformedTangent;\n #endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n uniform sampler2D displacementMap;\n uniform float displacementScale;\n uniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n #ifdef DECODE_VIDEO_TEXTURE_EMISSIVE\n emissiveColor = sRGBTransferEOTF( emissiveColor );\n #endif\n totalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n uniform sampler2D emissiveMap;\n#endif",colorspace_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",colorspace_pars_fragment:"vec4 LinearTransferOETF( in vec4 value ) {\n return value;\n}\nvec4 sRGBTransferEOTF( in vec4 value ) {\n return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 sRGBTransferOETF( in vec4 value ) {\n return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vec3 cameraToFrag;\n if ( isOrthographic ) {\n cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToFrag = normalize( vWorldPosition - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vec3 reflectVec = reflect( cameraToFrag, worldNormal );\n #else\n vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n #endif\n #else\n vec3 reflectVec = vReflect;\n #endif\n #ifdef ENVMAP_TYPE_CUBE\n vec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n #else\n vec4 envColor = vec4( 0.0 );\n #endif\n #ifdef ENVMAP_BLENDING_MULTIPLY\n outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_MIX )\n outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_ADD )\n outgoingLight += envColor.xyz * specularStrength * reflectivity;\n #endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n uniform float envMapIntensity;\n uniform float flipEnvMap;\n uniform mat3 envMapRotation;\n #ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n #else\n uniform sampler2D envMap;\n #endif\n \n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n uniform float reflectivity;\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n varying vec3 vWorldPosition;\n uniform float refractionRatio;\n #else\n varying vec3 vReflect;\n #endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n \n varying vec3 vWorldPosition;\n #else\n varying vec3 vReflect;\n uniform float refractionRatio;\n #endif\n#endif",envmap_physical_pars_fragment:"#ifdef USE_ENVMAP\n vec3 getIBLIrradiance( const in vec3 normal ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n return PI * envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 reflectVec = reflect( - viewDir, normal );\n reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n reflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n return envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n #ifdef USE_ANISOTROPY\n vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 bentNormal = cross( bitangent, viewDir );\n bentNormal = normalize( cross( bentNormal, bitangent ) );\n bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n return getIBLRadiance( viewDir, bentNormal, roughness );\n #else\n return vec3( 0.0 );\n #endif\n }\n #endif\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vWorldPosition = worldPosition.xyz;\n #else\n vec3 cameraToVertex;\n if ( isOrthographic ) {\n cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vReflect = reflect( cameraToVertex, worldNormal );\n #else\n vReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n #endif\n #endif\n#endif",fog_vertex:"#ifdef USE_FOG\n vFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n varying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n #ifdef FOG_EXP2\n float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n #else\n float fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n #endif\n gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n uniform vec3 fogColor;\n varying float vFogDepth;\n #ifdef FOG_EXP2\n uniform float fogDensity;\n #else\n uniform float fogNear;\n uniform float fogFar;\n #endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n uniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n float dotNL = dot( normal, lightDirection );\n vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n #ifdef USE_GRADIENTMAP\n return vec3( texture2D( gradientMap, coord ).r );\n #else\n vec2 fw = fwidth( coord ) * 0.5;\n return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n #endif\n}",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n uniform sampler2D lightMap;\n uniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n vec3 diffuseColor;\n float specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Lambert\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n#if defined( USE_LIGHT_PROBES )\n uniform vec3 lightProbe[ 9 ];\n#endif\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n float x = normal.x, y = normal.y, z = normal.z;\n vec3 result = shCoefficients[ 0 ] * 0.886227;\n result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n return result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n return irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n vec3 irradiance = ambientLightColor;\n return irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n if ( cutoffDistance > 0.0 ) {\n distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n }\n return distanceFalloff;\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n return smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n struct DirectionalLight {\n vec3 direction;\n vec3 color;\n };\n uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n light.color = directionalLight.color;\n light.direction = directionalLight.direction;\n light.visible = true;\n }\n#endif\n#if NUM_POINT_LIGHTS > 0\n struct PointLight {\n vec3 position;\n vec3 color;\n float distance;\n float decay;\n };\n uniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = pointLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float lightDistance = length( lVector );\n light.color = pointLight.color;\n light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n }\n#endif\n#if NUM_SPOT_LIGHTS > 0\n struct SpotLight {\n vec3 position;\n vec3 direction;\n vec3 color;\n float distance;\n float decay;\n float coneCos;\n float penumbraCos;\n };\n uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = spotLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float angleCos = dot( light.direction, spotLight.direction );\n float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n if ( spotAttenuation > 0.0 ) {\n float lightDistance = length( lVector );\n light.color = spotLight.color * spotAttenuation;\n light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n } else {\n light.color = vec3( 0.0 );\n light.visible = false;\n }\n }\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n struct RectAreaLight {\n vec3 color;\n vec3 position;\n vec3 halfWidth;\n vec3 halfHeight;\n };\n uniform sampler2D ltc_1; uniform sampler2D ltc_2;\n uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n struct HemisphereLight {\n vec3 direction;\n vec3 skyColor;\n vec3 groundColor;\n };\n uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n float dotNL = dot( normal, hemiLight.direction );\n float hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n return irradiance;\n }\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n vec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Toon\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n vec3 diffuseColor;\n vec3 specularColor;\n float specularShininess;\n float specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_BlinnPhong\n#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n material.ior = ior;\n #ifdef USE_SPECULAR\n float specularIntensityFactor = specularIntensity;\n vec3 specularColorFactor = specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n #endif\n material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n #else\n float specularIntensityFactor = 1.0;\n vec3 specularColorFactor = vec3( 1.0 );\n material.specularF90 = 1.0;\n #endif\n material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n material.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n material.clearcoat = clearcoat;\n material.clearcoatRoughness = clearcoatRoughness;\n material.clearcoatF0 = vec3( 0.04 );\n material.clearcoatF90 = 1.0;\n #ifdef USE_CLEARCOATMAP\n material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n #endif\n #ifdef USE_CLEARCOAT_ROUGHNESSMAP\n material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n #endif\n material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n material.clearcoatRoughness += geometryRoughness;\n material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_DISPERSION\n material.dispersion = dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n material.iridescence = iridescence;\n material.iridescenceIOR = iridescenceIOR;\n #ifdef USE_IRIDESCENCEMAP\n material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n #endif\n #ifdef USE_IRIDESCENCE_THICKNESSMAP\n material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n #else\n material.iridescenceThickness = iridescenceThicknessMaximum;\n #endif\n#endif\n#ifdef USE_SHEEN\n material.sheenColor = sheenColor;\n #ifdef USE_SHEEN_COLORMAP\n material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n #endif\n material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n #ifdef USE_SHEEN_ROUGHNESSMAP\n material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n #ifdef USE_ANISOTROPYMAP\n mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n #else\n vec2 anisotropyV = anisotropyVector;\n #endif\n material.anisotropy = length( anisotropyV );\n if( material.anisotropy == 0.0 ) {\n anisotropyV = vec2( 1.0, 0.0 );\n } else {\n anisotropyV /= material.anisotropy;\n material.anisotropy = saturate( material.anisotropy );\n }\n material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n vec3 diffuseColor;\n float roughness;\n vec3 specularColor;\n float specularF90;\n float dispersion;\n #ifdef USE_CLEARCOAT\n float clearcoat;\n float clearcoatRoughness;\n vec3 clearcoatF0;\n float clearcoatF90;\n #endif\n #ifdef USE_IRIDESCENCE\n float iridescence;\n float iridescenceIOR;\n float iridescenceThickness;\n vec3 iridescenceFresnel;\n vec3 iridescenceF0;\n #endif\n #ifdef USE_SHEEN\n vec3 sheenColor;\n float sheenRoughness;\n #endif\n #ifdef IOR\n float ior;\n #endif\n #ifdef USE_TRANSMISSION\n float transmission;\n float transmissionAlpha;\n float thickness;\n float attenuationDistance;\n vec3 attenuationColor;\n #endif\n #ifdef USE_ANISOTROPY\n float anisotropy;\n float alphaT;\n vec3 anisotropyT;\n vec3 anisotropyB;\n #endif\n};\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n float x2 = x * x;\n float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n float a2 = pow2( alpha );\n float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n return 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n float a2 = pow2( alpha );\n float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n return RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_ANISOTROPY\n float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );\n float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n float v = 0.5 / ( gv + gl );\n return saturate(v);\n }\n float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n float a2 = alphaT * alphaB;\n highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n highp float v2 = dot( v, v );\n float w2 = a2 / v2;\n return RECIPROCAL_PI * a2 * pow2 ( w2 );\n }\n#endif\n#ifdef USE_CLEARCOAT\n vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n vec3 f0 = material.clearcoatF0;\n float f90 = material.clearcoatF90;\n float roughness = material.clearcoatRoughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n return F * ( V * D );\n }\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n vec3 f0 = material.specularColor;\n float f90 = material.specularF90;\n float roughness = material.roughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n #ifdef USE_IRIDESCENCE\n F = mix( F, material.iridescenceFresnel, material.iridescence );\n #endif\n #ifdef USE_ANISOTROPY\n float dotTL = dot( material.anisotropyT, lightDir );\n float dotTV = dot( material.anisotropyT, viewDir );\n float dotTH = dot( material.anisotropyT, halfDir );\n float dotBL = dot( material.anisotropyB, lightDir );\n float dotBV = dot( material.anisotropyB, viewDir );\n float dotBH = dot( material.anisotropyB, halfDir );\n float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n #else\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n #endif\n return F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n const float LUT_SIZE = 64.0;\n const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n const float LUT_BIAS = 0.5 / LUT_SIZE;\n float dotNV = saturate( dot( N, V ) );\n vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n uv = uv * LUT_SCALE + LUT_BIAS;\n return uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n float l = length( f );\n return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n float x = dot( v1, v2 );\n float y = abs( x );\n float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n float b = 3.4175940 + ( 4.1616724 + y ) * y;\n float v = a / b;\n float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n return cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n vec3 lightNormal = cross( v1, v2 );\n if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n vec3 T1, T2;\n T1 = normalize( V - N * dot( V, N ) );\n T2 = - cross( N, T1 );\n mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n vec3 coords[ 4 ];\n coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n coords[ 0 ] = normalize( coords[ 0 ] );\n coords[ 1 ] = normalize( coords[ 1 ] );\n coords[ 2 ] = normalize( coords[ 2 ] );\n coords[ 3 ] = normalize( coords[ 3 ] );\n vec3 vectorFormFactor = vec3( 0.0 );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n float result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n return vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n float alpha = pow2( roughness );\n float invAlpha = 1.0 / alpha;\n float cos2h = dotNH * dotNH;\n float sin2h = max( 1.0 - cos2h, 0.0078125 );\n return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float D = D_Charlie( sheenRoughness, dotNH );\n float V = V_Neubelt( dotNV, dotNL );\n return sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n float r2 = roughness * roughness;\n float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n return saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n vec4 r = roughness * c0 + c1;\n float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n return fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n return specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n #ifdef USE_IRIDESCENCE\n vec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n #else\n vec3 Fr = specularColor;\n #endif\n vec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n float Ess = fab.x + fab.y;\n float Ems = 1.0 - Ess;\n vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n singleScatter += FssEss;\n multiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 normal = geometryNormal;\n vec3 viewDir = geometryViewDir;\n vec3 position = geometryPosition;\n vec3 lightPos = rectAreaLight.position;\n vec3 halfWidth = rectAreaLight.halfWidth;\n vec3 halfHeight = rectAreaLight.halfHeight;\n vec3 lightColor = rectAreaLight.color;\n float roughness = material.roughness;\n vec3 rectCoords[ 4 ];\n rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n vec2 uv = LTC_Uv( normal, viewDir, roughness );\n vec4 t1 = texture2D( ltc_1, uv );\n vec4 t2 = texture2D( ltc_2, uv );\n mat3 mInv = mat3(\n vec3( t1.x, 0, t1.y ),\n vec3( 0, 1, 0 ),\n vec3( t1.z, 0, t1.w )\n );\n vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n }\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n #ifdef USE_CLEARCOAT\n float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n vec3 ccIrradiance = dotNLcc * directLight.color;\n clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n #endif\n reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n #ifdef USE_CLEARCOAT\n clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n #endif\n vec3 singleScattering = vec3( 0.0 );\n vec3 multiScattering = vec3( 0.0 );\n vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n #ifdef USE_IRIDESCENCE\n computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n #else\n computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n #endif\n vec3 totalScattering = singleScattering + multiScattering;\n vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n reflectedLight.indirectSpecular += radiance * singleScattering;\n reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct RE_Direct_Physical\n#define RE_Direct_RectArea RE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular RE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n#ifdef USE_CLEARCOAT\n geometryClearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n float dotNVi = saturate( dot( normal, geometryViewDir ) );\n if ( material.iridescenceThickness == 0.0 ) {\n material.iridescence = 0.0;\n } else {\n material.iridescence = saturate( material.iridescence );\n }\n if ( material.iridescence > 0.0 ) {\n material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n }\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n PointLight pointLight;\n #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n pointLight = pointLights[ i ];\n getPointLightInfo( pointLight, geometryPosition, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n pointLightShadow = pointLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n SpotLight spotLight;\n vec4 spotColor;\n vec3 spotLightCoord;\n bool inSpotLightMap;\n #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n spotLight = spotLights[ i ];\n getSpotLightInfo( spotLight, geometryPosition, directLight );\n #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n #else\n #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #endif\n #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n #endif\n #undef SPOT_LIGHT_MAP_INDEX\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n spotLightShadow = spotLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n DirectionalLight directionalLight;\n #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n directionalLight = directionalLights[ i ];\n getDirectionalLightInfo( directionalLight, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n directionalLightShadow = directionalLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n RectAreaLight rectAreaLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n rectAreaLight = rectAreaLights[ i ];\n RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n vec3 iblIrradiance = vec3( 0.0 );\n vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n #if defined( USE_LIGHT_PROBES )\n irradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n #endif\n #if ( NUM_HEMI_LIGHTS > 0 )\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if defined( RE_IndirectSpecular )\n vec3 radiance = vec3( 0.0 );\n vec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n irradiance += lightMapIrradiance;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n iblIrradiance += getIBLIrradiance( geometryNormal );\n #endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n #ifdef USE_ANISOTROPY\n radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n #else\n radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n #endif\n #ifdef USE_CLEARCOAT\n clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n #endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF )\n gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF )\n uniform float logDepthBufFC;\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n vFragDepth = 1.0 + gl_Position.w;\n vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n#endif",map_fragment:"#ifdef USE_MAP\n vec4 sampledDiffuseColor = texture2D( map, vMapUv );\n #ifdef DECODE_VIDEO_TEXTURE\n sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor );\n #endif\n diffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n uniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n #if defined( USE_POINTS_UV )\n vec2 uv = vUv;\n #else\n vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n #endif\n#endif\n#ifdef USE_MAP\n diffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n varying vec2 vUv;\n#else\n #if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n uniform mat3 uvTransform;\n #endif\n#endif\n#ifdef USE_MAP\n uniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n metalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n uniform sampler2D metalnessMap;\n#endif",morphinstance_vertex:"#ifdef USE_INSTANCING_MORPH\n float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n }\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS )\n vColor *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n #if defined( USE_COLOR_ALPHA )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n #elif defined( USE_COLOR )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n #endif\n }\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n objectNormal *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n #ifndef USE_INSTANCING_MORPH\n uniform float morphTargetBaseInfluence;\n uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n #endif\n uniform sampler2DArray morphTargetsTexture;\n uniform ivec2 morphTargetsTextureSize;\n vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n int y = texelIndex / morphTargetsTextureSize.x;\n int x = texelIndex - y * morphTargetsTextureSize.x;\n ivec3 morphUV = ivec3( x, y, morphTargetIndex );\n return texelFetch( morphTargetsTexture, morphUV, 0 );\n }\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n transformed *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n vec3 fdx = dFdx( vViewPosition );\n vec3 fdy = dFdy( vViewPosition );\n vec3 normal = normalize( cross( fdx, fdy ) );\n#else\n vec3 normal = normalize( vNormal );\n #ifdef DOUBLE_SIDED\n normal *= faceDirection;\n #endif\n#endif\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n #ifdef USE_TANGENT\n mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn = getTangentFrame( - vViewPosition, normal,\n #if defined( USE_NORMALMAP )\n vNormalMapUv\n #elif defined( USE_CLEARCOAT_NORMALMAP )\n vClearcoatNormalMapUv\n #else\n vUv\n #endif\n );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn[0] *= faceDirection;\n tbn[1] *= faceDirection;\n #endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n #ifdef USE_TANGENT\n mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn2[0] *= faceDirection;\n tbn2[1] *= faceDirection;\n #endif\n#endif\nvec3 nonPerturbedNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n #ifdef FLIP_SIDED\n normal = - normal;\n #endif\n #ifdef DOUBLE_SIDED\n normal = normal * faceDirection;\n #endif\n normal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n mapN.xy *= normalScale;\n normal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n vNormal = normalize( transformedNormal );\n #ifdef USE_TANGENT\n vTangent = normalize( transformedTangent );\n vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n #endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n uniform sampler2D normalMap;\n uniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n uniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n vec3 q0 = dFdx( eye_pos.xyz );\n vec3 q1 = dFdy( eye_pos.xyz );\n vec2 st0 = dFdx( uv.st );\n vec2 st1 = dFdy( uv.st );\n vec3 N = surf_norm;\n vec3 q1perp = cross( q1, N );\n vec3 q0perp = cross( N, q0 );\n vec3 T = q1perp * st0.x + q0perp * st1.x;\n vec3 B = q1perp * st0.y + q0perp * st1.y;\n float det = max( dot( T, T ), dot( B, B ) );\n float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n return mat3( T * scale, B * scale, N );\n }\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n vec3 clearcoatNormal = nonPerturbedNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n clearcoatMapN.xy *= clearcoatNormalScale;\n clearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n uniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform sampler2D clearcoatNormalMap;\n uniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n uniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform sampler2D iridescenceThicknessMap;\n#endif",opaque_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n return normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n return 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.;\nconst float Inv255 = 1. / 255.;\nconst vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 );\nconst vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g );\nconst vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b );\nconst vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a );\nvec4 packDepthToRGBA( const in float v ) {\n if( v <= 0.0 )\n return vec4( 0., 0., 0., 0. );\n if( v >= 1.0 )\n return vec4( 1., 1., 1., 1. );\n float vuf;\n float af = modf( v * PackFactors.a, vuf );\n float bf = modf( vuf * ShiftRight8, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af );\n}\nvec3 packDepthToRGB( const in float v ) {\n if( v <= 0.0 )\n return vec3( 0., 0., 0. );\n if( v >= 1.0 )\n return vec3( 1., 1., 1. );\n float vuf;\n float bf = modf( v * PackFactors.b, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec3( vuf * Inv255, gf * PackUpscale, bf );\n}\nvec2 packDepthToRG( const in float v ) {\n if( v <= 0.0 )\n return vec2( 0., 0. );\n if( v >= 1.0 )\n return vec2( 1., 1. );\n float vuf;\n float gf = modf( v * 256., vuf );\n return vec2( vuf * Inv255, gf );\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n return dot( v, UnpackFactors4 );\n}\nfloat unpackRGBToDepth( const in vec3 v ) {\n return dot( v, UnpackFactors3 );\n}\nfloat unpackRGToDepth( const in vec2 v ) {\n return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g;\n}\nvec4 pack2HalfToRGBA( const in vec2 v ) {\n vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( const in vec4 v ) {\n return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n return ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_BATCHING\n mvPosition = batchingMatrix * mvPosition;\n#endif\n#ifdef USE_INSTANCING\n mvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n gl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n vec3 dithering( vec3 color ) {\n float grid_position = rand( gl_FragCoord.xy );\n vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n return color + dither_shift_RGB;\n }\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n roughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n uniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n float texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n }\n vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n return unpackRGBATo2Half( texture2D( shadow, uv ) );\n }\n float VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n float occlusion = 1.0;\n vec2 distribution = texture2DDistribution( shadow, uv );\n float hard_shadow = step( compare , distribution.x );\n if (hard_shadow != 1.0 ) {\n float distance = compare - distribution.x ;\n float variance = max( 0.00000, distribution.y * distribution.y );\n float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n }\n return occlusion;\n }\n float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n float shadow = 1.0;\n shadowCoord.xyz /= shadowCoord.w;\n shadowCoord.z += shadowBias;\n bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n bool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n if ( frustumTest ) {\n #if defined( SHADOWMAP_TYPE_PCF )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx0 = - texelSize.x * shadowRadius;\n float dy0 = - texelSize.y * shadowRadius;\n float dx1 = + texelSize.x * shadowRadius;\n float dy1 = + texelSize.y * shadowRadius;\n float dx2 = dx0 / 2.0;\n float dy2 = dy0 / 2.0;\n float dx3 = dx1 / 2.0;\n float dy3 = dy1 / 2.0;\n shadow = (\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n ) * ( 1.0 / 17.0 );\n #elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx = texelSize.x;\n float dy = texelSize.y;\n vec2 uv = shadowCoord.xy;\n vec2 f = fract( uv * shadowMapSize + 0.5 );\n uv -= f * texelSize;\n shadow = (\n texture2DCompare( shadowMap, uv, shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n f.x ),\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n f.x ),\n f.y )\n ) * ( 1.0 / 9.0 );\n #elif defined( SHADOWMAP_TYPE_VSM )\n shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n #else\n shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n vec2 cubeToUV( vec3 v, float texelSizeY ) {\n vec3 absV = abs( v );\n float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n absV *= scaleToCube;\n v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n vec2 planar = v.xy;\n float almostATexel = 1.5 * texelSizeY;\n float almostOne = 1.0 - almostATexel;\n if ( absV.z >= almostOne ) {\n if ( v.z > 0.0 )\n planar.x = 4.0 - v.x;\n } else if ( absV.x >= almostOne ) {\n float signX = sign( v.x );\n planar.x = v.z * signX + 2.0 * signX;\n } else if ( absV.y >= almostOne ) {\n float signY = sign( v.y );\n planar.x = v.x + 2.0 * signY + 2.0;\n planar.y = v.z * signY - 2.0;\n }\n return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n }\n float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n float shadow = 1.0;\n vec3 lightToPosition = shadowCoord.xyz;\n \n float lightToPositionLength = length( lightToPosition );\n if ( lightToPositionLength - shadowCameraFar <= 0.0 && lightToPositionLength - shadowCameraNear >= 0.0 ) {\n float dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias;\n vec3 bd3D = normalize( lightToPosition );\n vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n shadow = (\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n ) * ( 1.0 / 9.0 );\n #else\n shadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n vec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n shadowWorldPosition = worldPosition;\n #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n #endif\n vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n float shadow = 1.0;\n #ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n directionalLight = directionalLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n spotLight = spotLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n pointLight = pointLightShadows[ i ];\n shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #endif\n return shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n mat4 boneMatX = getBoneMatrix( skinIndex.x );\n mat4 boneMatY = getBoneMatrix( skinIndex.y );\n mat4 boneMatZ = getBoneMatrix( skinIndex.z );\n mat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n uniform mat4 bindMatrix;\n uniform mat4 bindMatrixInverse;\n uniform highp sampler2D boneTexture;\n mat4 getBoneMatrix( const in float i ) {\n int size = textureSize( boneTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n vec4 skinned = vec4( 0.0 );\n skinned += boneMatX * skinVertex * skinWeight.x;\n skinned += boneMatY * skinVertex * skinWeight.y;\n skinned += boneMatZ * skinVertex * skinWeight.z;\n skinned += boneMatW * skinVertex * skinWeight.w;\n transformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n mat4 skinMatrix = mat4( 0.0 );\n skinMatrix += skinWeight.x * boneMatX;\n skinMatrix += skinWeight.y * boneMatY;\n skinMatrix += skinWeight.z * boneMatZ;\n skinMatrix += skinWeight.w * boneMatW;\n skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n #ifdef USE_TANGENT\n objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n #endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n specularStrength = texelSpecular.r;\n#else\n specularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n uniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n return saturate( toneMappingExposure * color );\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n return saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 CineonToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n color = max( vec3( 0.0 ), color - 0.004 );\n return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n vec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n return a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n const mat3 ACESInputMat = mat3(\n vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),\n vec3( 0.04823, 0.01566, 0.83777 )\n );\n const mat3 ACESOutputMat = mat3(\n vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),\n vec3( -0.07367, -0.00605, 1.07602 )\n );\n color *= toneMappingExposure / 0.6;\n color = ACESInputMat * color;\n color = RRTAndODTFit( color );\n color = ACESOutputMat * color;\n return saturate( color );\n}\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n vec3( 1.6605, - 0.1246, - 0.0182 ),\n vec3( - 0.5876, 1.1329, - 0.1006 ),\n vec3( - 0.0728, - 0.0083, 1.1187 )\n);\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n vec3( 0.6274, 0.0691, 0.0164 ),\n vec3( 0.3293, 0.9195, 0.0880 ),\n vec3( 0.0433, 0.0113, 0.8956 )\n);\nvec3 agxDefaultContrastApprox( vec3 x ) {\n vec3 x2 = x * x;\n vec3 x4 = x2 * x2;\n return + 15.5 * x4 * x2\n - 40.14 * x4 * x\n + 31.96 * x4\n - 6.868 * x2 * x\n + 0.4298 * x2\n + 0.1191 * x\n - 0.00232;\n}\nvec3 AgXToneMapping( vec3 color ) {\n const mat3 AgXInsetMatrix = mat3(\n vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n );\n const mat3 AgXOutsetMatrix = mat3(\n vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n );\n const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069;\n color *= toneMappingExposure;\n color = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n color = AgXInsetMatrix * color;\n color = max( color, 1e-10 ); color = log2( color );\n color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n color = clamp( color, 0.0, 1.0 );\n color = agxDefaultContrastApprox( color );\n color = AgXOutsetMatrix * color;\n color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n color = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n color = clamp( color, 0.0, 1.0 );\n return color;\n}\nvec3 NeutralToneMapping( vec3 color ) {\n const float StartCompression = 0.8 - 0.04;\n const float Desaturation = 0.15;\n color *= toneMappingExposure;\n float x = min( color.r, min( color.g, color.b ) );\n float offset = x < 0.08 ? x - 6.25 * x * x : 0.04;\n color -= offset;\n float peak = max( color.r, max( color.g, color.b ) );\n if ( peak < StartCompression ) return color;\n float d = 1. - StartCompression;\n float newPeak = 1. - d * d / ( peak + d - StartCompression );\n color *= newPeak / peak;\n float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );\n return mix( color, vec3( newPeak ), g );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n material.transmission = transmission;\n material.transmissionAlpha = 1.0;\n material.thickness = thickness;\n material.attenuationDistance = attenuationDistance;\n material.attenuationColor = attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n #endif\n #ifdef USE_THICKNESSMAP\n material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n #endif\n vec3 pos = vWorldPosition;\n vec3 v = normalize( cameraPosition - pos );\n vec3 n = inverseTransformDirection( normal, viewMatrix );\n vec4 transmitted = getIBLVolumeRefraction(\n n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,\n material.attenuationColor, material.attenuationDistance );\n material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n uniform float transmission;\n uniform float thickness;\n uniform float attenuationDistance;\n uniform vec3 attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n uniform sampler2D transmissionMap;\n #endif\n #ifdef USE_THICKNESSMAP\n uniform sampler2D thicknessMap;\n #endif\n uniform vec2 transmissionSamplerSize;\n uniform sampler2D transmissionSamplerMap;\n uniform mat4 modelMatrix;\n uniform mat4 projectionMatrix;\n varying vec3 vWorldPosition;\n float w0( float a ) {\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n }\n float w1( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 );\n }\n float w2( float a ){\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n }\n float w3( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * a );\n }\n float g0( float a ) {\n return w0( a ) + w1( a );\n }\n float g1( float a ) {\n return w2( a ) + w3( a );\n }\n float h0( float a ) {\n return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n }\n float h1( float a ) {\n return 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n }\n vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n uv = uv * texelSize.zw + 0.5;\n vec2 iuv = floor( uv );\n vec2 fuv = fract( uv );\n float g0x = g0( fuv.x );\n float g1x = g1( fuv.x );\n float h0x = h0( fuv.x );\n float h1x = h1( fuv.x );\n float h0y = h0( fuv.y );\n float h1y = h1( fuv.y );\n vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n }\n vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n vec2 fLodSizeInv = 1.0 / fLodSize;\n vec2 cLodSizeInv = 1.0 / cLodSize;\n vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n return mix( fSample, cSample, fract( lod ) );\n }\n vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n vec3 modelScale;\n modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n return normalize( refractionVector ) * thickness * modelScale;\n }\n float applyIorToRoughness( const in float roughness, const in float ior ) {\n return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n }\n vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n }\n vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n if ( isinf( attenuationDistance ) ) {\n return vec3( 1.0 );\n } else {\n vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance;\n }\n }\n vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,\n const in vec3 attenuationColor, const in float attenuationDistance ) {\n vec4 transmittedLight;\n vec3 transmittance;\n #ifdef USE_DISPERSION\n float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;\n vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );\n for ( int i = 0; i < 3; i ++ ) {\n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n \n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n \n vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );\n transmittedLight[ i ] = transmissionSample[ i ];\n transmittedLight.a += transmissionSample.a;\n transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];\n }\n transmittedLight.a /= 3.0;\n \n #else\n \n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n \n #endif\n vec3 attenuatedColor = transmittance * transmittedLight.rgb;\n vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n }\n#endif",uv_pars_fragment:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n uniform mat3 mapTransform;\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n uniform mat3 alphaMapTransform;\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n uniform mat3 lightMapTransform;\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n uniform mat3 aoMapTransform;\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n uniform mat3 bumpMapTransform;\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n uniform mat3 normalMapTransform;\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n uniform mat3 displacementMapTransform;\n varying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n uniform mat3 emissiveMapTransform;\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n uniform mat3 metalnessMapTransform;\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n uniform mat3 roughnessMapTransform;\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n uniform mat3 anisotropyMapTransform;\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n uniform mat3 clearcoatMapTransform;\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform mat3 clearcoatNormalMapTransform;\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform mat3 clearcoatRoughnessMapTransform;\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n uniform mat3 sheenColorMapTransform;\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n uniform mat3 sheenRoughnessMapTransform;\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n uniform mat3 iridescenceMapTransform;\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform mat3 iridescenceThicknessMapTransform;\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n uniform mat3 specularMapTransform;\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n uniform mat3 specularColorMapTransform;\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n uniform mat3 specularIntensityMapTransform;\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n vUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ANISOTROPYMAP\n vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n vec4 worldPosition = vec4( transformed, 1.0 );\n #ifdef USE_BATCHING\n worldPosition = batchingMatrix * worldPosition;\n #endif\n #ifdef USE_INSTANCING\n worldPosition = instanceMatrix * worldPosition;\n #endif\n worldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n gl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n vec4 texColor = texture2D( t2D, vUv );\n #ifdef DECODE_VIDEO_TEXTURE\n texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n uniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n #ifdef ENVMAP_TYPE_CUBE\n vec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n #elif defined( ENVMAP_TYPE_CUBE_UV )\n vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n #else\n vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",cube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n gl_FragColor = texColor;\n gl_FragColor.a *= opacity;\n #include \n #include \n}",depth_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n uniform float opacity;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #if DEPTH_PACKING == 3200\n diffuseColor.a = opacity;\n #endif\n #include \n #include \n #include \n #include \n #include \n float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n #if DEPTH_PACKING == 3200\n gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n #elif DEPTH_PACKING == 3201\n gl_FragColor = packDepthToRGBA( fragCoordZ );\n #elif DEPTH_PACKING == 3202\n gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 );\n #elif DEPTH_PACKING == 3203\n gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );\n #endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main () {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #include \n #include \n #include \n #include \n float dist = length( vWorldPosition - referencePosition );\n dist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n dist = saturate( dist );\n gl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n vec3 direction = normalize( vWorldDirection );\n vec2 sampleUV = equirectUv( direction );\n gl_FragColor = texture2D( tEquirect, sampleUV );\n #include \n #include \n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vLineDistance = scale * lineDistance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n if ( mod( vLineDistance, totalSize ) > dashSize ) {\n discard;\n }\n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",meshbasic_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n #include \n #include \n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n varying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n #else\n reflectedLight.indirectDiffuse += vec3( 1.0 );\n #endif\n #include \n reflectedLight.indirectDiffuse *= diffuseColor.rgb;\n vec3 outgoingLight = reflectedLight.indirectDiffuse;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 viewDir = normalize( vViewPosition );\n vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n vec3 y = cross( viewDir, x );\n vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n #ifdef USE_MATCAP\n vec4 matcapColor = texture2D( matcap, uv );\n #else\n vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n #endif\n vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n vViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n #include \n #include \n #include \n #include \n gl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n #ifdef OPAQUE\n gl_FragColor.a = 1.0;\n #endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n varying vec3 vWorldPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n#ifdef USE_TRANSMISSION\n vWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n #define IOR\n #define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n uniform float ior;\n#endif\n#ifdef USE_SPECULAR\n uniform float specularIntensity;\n uniform vec3 specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n uniform sampler2D specularColorMap;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n uniform sampler2D specularIntensityMap;\n #endif\n#endif\n#ifdef USE_CLEARCOAT\n uniform float clearcoat;\n uniform float clearcoatRoughness;\n#endif\n#ifdef USE_DISPERSION\n uniform float dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n uniform float iridescence;\n uniform float iridescenceIOR;\n uniform float iridescenceThicknessMinimum;\n uniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n uniform vec3 sheenColor;\n uniform float sheenRoughness;\n #ifdef USE_SHEEN_COLORMAP\n uniform sampler2D sheenColorMap;\n #endif\n #ifdef USE_SHEEN_ROUGHNESSMAP\n uniform sampler2D sheenRoughnessMap;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n uniform vec2 anisotropyVector;\n #ifdef USE_ANISOTROPYMAP\n uniform sampler2D anisotropyMap;\n #endif\n#endif\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n #include \n vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n #ifdef USE_SHEEN\n float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n #endif\n #ifdef USE_CLEARCOAT\n float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n}",points_vert:"uniform float size;\nuniform float scale;\n#include \n#include \n#include \n#include \n#include \n#include \n#ifdef USE_POINTS_UV\n varying vec2 vUv;\n uniform mat3 uvTransform;\n#endif\nvoid main() {\n #ifdef USE_POINTS_UV\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n gl_PointSize = size;\n #ifdef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n #endif\n #include \n #include \n #include \n #include \n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",shadow_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n #include \n #include \n #include \n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n vec4 mvPosition = modelViewMatrix[ 3 ];\n vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) );\n #ifndef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) scale *= - mvPosition.z;\n #endif\n vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n vec2 rotatedPosition;\n rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n mvPosition.xy += rotatedPosition;\n gl_Position = projectionMatrix * mvPosition;\n #include \n #include \n #include \n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n}"},ok={common:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Z}},envmap:{envMap:{value:null},envMapRotation:{value:new Z},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Z}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Z}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Z},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Z},normalScale:{value:new Y(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Z},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Z}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Z}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Z}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new tz(0xffffff)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0},uvTransform:{value:new Z}},sprite:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},center:{value:new Y(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}}},oH={basic:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.fog]),vertexShader:oB.meshbasic_vert,fragmentShader:oB.meshbasic_frag},lambert:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshlambert_vert,fragmentShader:oB.meshlambert_frag},phong:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},specular:{value:new tz(1118481)},shininess:{value:30}}]),vertexShader:oB.meshphong_vert,fragmentShader:oB.meshphong_frag},standard:{uniforms:n_([ok.common,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.roughnessmap,ok.metalnessmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag},toon:{uniforms:n_([ok.common,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.gradientmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshtoon_vert,fragmentShader:oB.meshtoon_frag},matcap:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,{matcap:{value:null}}]),vertexShader:oB.meshmatcap_vert,fragmentShader:oB.meshmatcap_frag},points:{uniforms:n_([ok.points,ok.fog]),vertexShader:oB.points_vert,fragmentShader:oB.points_frag},dashed:{uniforms:n_([ok.common,ok.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:oB.linedashed_vert,fragmentShader:oB.linedashed_frag},depth:{uniforms:n_([ok.common,ok.displacementmap]),vertexShader:oB.depth_vert,fragmentShader:oB.depth_frag},normal:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,{opacity:{value:1}}]),vertexShader:oB.meshnormal_vert,fragmentShader:oB.meshnormal_frag},sprite:{uniforms:n_([ok.sprite,ok.fog]),vertexShader:oB.sprite_vert,fragmentShader:oB.sprite_frag},background:{uniforms:{uvTransform:{value:new Z},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:oB.background_vert,fragmentShader:oB.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Z}},vertexShader:oB.backgroundCube_vert,fragmentShader:oB.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:oB.cube_vert,fragmentShader:oB.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:oB.equirect_vert,fragmentShader:oB.equirect_frag},distanceRGBA:{uniforms:n_([ok.common,ok.displacementmap,{referencePosition:{value:new eE},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:oB.distanceRGBA_vert,fragmentShader:oB.distanceRGBA_frag},shadow:{uniforms:n_([ok.lights,ok.fog,{color:{value:new tz(0)},opacity:{value:1}}]),vertexShader:oB.shadow_vert,fragmentShader:oB.shadow_frag}};oH.physical={uniforms:n_([oH.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Z},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Z},clearcoatNormalScale:{value:new Y(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Z},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Z},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Z},sheen:{value:0},sheenColor:{value:new tz(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Z},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Z},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Z},transmissionSamplerSize:{value:new Y},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Z},attenuationDistance:{value:0},attenuationColor:{value:new tz(0)},specularColor:{value:new tz(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Z},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Z},anisotropyVector:{value:new Y},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Z}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag};let oV={r:0,b:0,g:0},oG=new tn,oW=new e2;function oj(e,t,n,i,r,a,s){let o,l,u=new tz(0),c=+(!0!==a),h=null,d=0,p=null;function f(e){let i=!0===e.isScene?e.background:null;return i&&i.isTexture&&(i=(e.backgroundBlurriness>0?n:t).get(i)),i}function m(t,n){t.getRGB(oV,ny(e)),i.buffers.color.setClear(oV.r,oV.g,oV.b,n,s)}return{getClearColor:function(){return u},setClearColor:function(e,t=1){u.set(e),m(u,c=t)},getClearAlpha:function(){return c},setClearAlpha:function(e){m(u,c=e)},render:function(t){let n=!1,r=f(t);null===r?m(u,c):r&&r.isColor&&(m(r,1),n=!0);let a=e.xr.getEnvironmentBlendMode();"additive"===a?i.buffers.color.setClear(0,0,0,1,s):"alpha-blend"===a&&i.buffers.color.setClear(0,0,0,0,s),(e.autoClear||n)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))},addToRenderList:function(t,n){let i=f(n);i&&(i.isCubeTexture||306===i.mapping)?(void 0===l&&((l=new nf(new ng(1,1,1),new nb({name:"BackgroundCubeMaterial",uniforms:nv(oH.backgroundCube.uniforms),vertexShader:oH.backgroundCube.vertexShader,fragmentShader:oH.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),oG.copy(n.backgroundRotation),oG.x*=-1,oG.y*=-1,oG.z*=-1,i.isCubeTexture&&!1===i.isRenderTargetTexture&&(oG.y*=-1,oG.z*=-1),l.material.uniforms.envMap.value=i,l.material.uniforms.flipEnvMap.value=i.isCubeTexture&&!1===i.isRenderTargetTexture?-1:1,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(oW.makeRotationFromEuler(oG)),l.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,(h!==i||d!==i.version||p!==e.toneMapping)&&(l.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(void 0===o&&((o=new nf(new r9(2,2),new nb({name:"BackgroundMaterial",uniforms:nv(oH.background.uniforms),vertexShader:oH.background.vertexShader,fragmentShader:oH.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),Object.defineProperty(o.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(o)),o.material.uniforms.t2D.value=i,o.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,o.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,!0===i.matrixAutoUpdate&&i.updateMatrix(),o.material.uniforms.uvTransform.value.copy(i.matrix),(h!==i||d!==i.version||p!==e.toneMapping)&&(o.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),o.layers.enableAll(),t.unshift(o,o.geometry,o.material,0,0,null))},dispose:function(){void 0!==l&&(l.geometry.dispose(),l.material.dispose()),void 0!==o&&(o.geometry.dispose(),o.material.dispose())}}}function oX(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),i={},r=u(null),a=r,s=!1;function o(t){return e.bindVertexArray(t)}function l(t){return e.deleteVertexArray(t)}function u(e){let t=[],i=[],r=[];for(let e=0;e=0){let n=r[t],i=s[t];if(void 0===i&&("instanceMatrix"===t&&e.instanceMatrix&&(i=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(i=e.instanceColor)),void 0===n||n.attribute!==i||i&&n.data!==i.data)return!0;o++}return a.attributesNum!==o||a.index!==i}(n,m,l,g))&&function(e,t,n,i){let r={},s=t.attributes,o=0,l=n.getAttributes();for(let t in l)if(l[t].location>=0){let n=s[t];void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor));let i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[t]=i,o++}a.attributes=r,a.attributesNum=o,a.index=i}(n,m,l,g),null!==g&&t.update(g,e.ELEMENT_ARRAY_BUFFER),(M||s)&&(s=!1,function(n,i,r,a){c();let s=a.attributes,o=r.getAttributes(),l=i.defaultAttributeValues;for(let i in o){let r=o[i];if(r.location>=0){let o=s[i];if(void 0===o&&("instanceMatrix"===i&&n.instanceMatrix&&(o=n.instanceMatrix),"instanceColor"===i&&n.instanceColor&&(o=n.instanceColor)),void 0!==o){let i=o.normalized,s=o.itemSize,l=t.get(o);if(void 0===l)continue;let u=l.buffer,c=l.type,p=l.bytesPerElement,m=c===e.INT||c===e.UNSIGNED_INT||1013===o.gpuType;if(o.isInterleavedBufferAttribute){let t=o.data,l=t.stride,g=o.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let s=void 0!==n.precision?n.precision:"highp",o=a(s);o!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",o,"instead."),s=o);let l=!0===n.logarithmicDepthBuffer,u=!0===n.reverseDepthBuffer&&t.has("EXT_clip_control"),c=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),h=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS);return{isWebGL2:!0,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===t.has("EXT_texture_filter_anisotropic")){let n=t.get("EXT_texture_filter_anisotropic");r=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:a,textureFormatReadable:function(t){return 1023===t||i.convert(t)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT)},textureTypeReadable:function(n){let r=1016===n&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return 1009===n||i.convert(n)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)||1015===n||!!r},precision:s,logarithmicDepthBuffer:l,reverseDepthBuffer:u,maxTextures:c,maxVertexTextures:h,maxTextureSize:e.getParameter(e.MAX_TEXTURE_SIZE),maxCubemapSize:e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),maxAttributes:e.getParameter(e.MAX_VERTEX_ATTRIBS),maxVertexUniforms:e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),maxVaryings:e.getParameter(e.MAX_VARYING_VECTORS),maxFragmentUniforms:e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),vertexTextures:h>0,maxSamples:e.getParameter(e.MAX_SAMPLES)}}function oZ(e){let t=this,n=null,i=0,r=!1,a=!1,s=new iy,o=new Z,l={value:null,needsUpdate:!1};function u(e,n,i,r){let a=null!==e?e.length:0,u=null;if(0!==a){if(u=l.value,!0!==r||null===u){let t=i+4*a,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===u||u.length0),t.numPlanes=i,t.numIntersection=0)}}function oJ(e){let t=new WeakMap;function n(e,t){return 303===t?e.mapping=301:304===t&&(e.mapping=302),e}function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping;if(303===a||304===a)if(t.has(r))return n(t.get(r).texture,r.mapping);else{let a=r.image;if(!a||!(a.height>0))return null;{let s=new nR(a.height);return s.fromEquirectangularTexture(e,r),t.set(r,s),r.addEventListener("dispose",i),n(s.texture,r.mapping)}}}return r},dispose:function(){t=new WeakMap}}}let oK=[.125,.215,.35,.446,.526,.582],o$=new sn,oQ=new tz,o0=null,o1=0,o2=0,o3=!1,o4=(1+Math.sqrt(5))/2,o5=1/o4,o6=[new eE(-o4,o5,0),new eE(o4,o5,0),new eE(-o5,0,o4),new eE(o5,0,o4),new eE(0,o4,-o5),new eE(0,o4,o5),new eE(-1,1,-1),new eE(1,1,-1),new eE(-1,1,1),new eE(1,1,1)];class o8{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,n=.1,i=100){o0=this._renderer.getRenderTarget(),o1=this._renderer.getActiveCubeFace(),o2=this._renderer.getActiveMipmapLevel(),o3=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(256);let r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(e,n,i,r),t>0&&this._blur(r,0,0,t),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=lt(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=le(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;ee-4?o=oK[s-e+4-1]:0===s&&(o=0),i.push(o);let l=1/(a-2),u=-l,c=1+l,h=[u,u,c,u,c,c,u,u,c,c,u,c],d=new Float32Array(108),p=new Float32Array(72),f=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,i=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];d.set(i,18*e),p.set(h,12*e);let r=[e,e,e,e,e,e];f.set(r,6*e)}let m=new nn;m.setAttribute("position",new tZ(d,3)),m.setAttribute("uv",new tZ(p,2)),m.setAttribute("faceIndex",new tZ(f,1)),t.push(m),r>4&&r--}return{lodPlanes:t,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=(r=i,new nb({name:"SphericalGaussianBlur",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${r}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:new Float32Array(20)},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:new eE(0,1,0)}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:0,depthTest:!1,depthWrite:!1}))}return i}_compileMaterial(e){let t=new nf(this._lodPlanes[0],e);this._renderer.compile(t,o$)}_sceneToCubeUV(e,t,n,i){let r=new nE(90,1,t,n),a=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,u=o.toneMapping;o.getClearColor(oQ),o.toneMapping=0,o.autoClear=!1;let c=new tV({name:"PMREM.Background",side:1,depthWrite:!1,depthTest:!1}),h=new nf(new ng,c),d=!1,p=e.background;p?p.isColor&&(c.color.copy(p),e.background=null,d=!0):(c.color.copy(oQ),d=!0);for(let t=0;t<6;t++){let n=t%3;0===n?(r.up.set(0,a[t],0),r.lookAt(s[t],0,0)):1===n?(r.up.set(0,0,a[t]),r.lookAt(0,s[t],0)):(r.up.set(0,a[t],0),r.lookAt(0,0,s[t]));let l=this._cubeSize;o7(i,n*l,t>2?l:0,l,l),o.setRenderTarget(i),d&&o.render(h,r),o.render(e,r)}h.geometry.dispose(),h.material.dispose(),o.toneMapping=u,o.autoClear=l,e.background=p}_textureToCubeUV(e,t){let n=this._renderer,i=301===e.mapping||302===e.mapping;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=lt()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=le());let r=i?this._cubemapMaterial:this._equirectMaterial,a=new nf(this._lodPlanes[0],r);r.uniforms.envMap.value=e;let s=this._cubeSize;o7(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,o$)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let i=this._lodPlanes.length;for(let t=1;t20&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);let m=[],g=0;for(let e=0;e<20;++e){let t=e/p,n=Math.exp(-t*t/2);m.push(n),0===e?g+=n:ev-4?i-v+4:0),y,3*_,2*_),o.setRenderTarget(t),o.render(u,o$)}}function o9(e,t,n){let i=new ex(e,t,n);return i.texture.mapping=306,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function o7(e,t,n,i,r){e.viewport.set(t,n,i,r),e.scissor.set(t,n,i,r)}function le(){return new nb({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function lt(){return new nb({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function ln(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function li(e){let t=new WeakMap,n=null;function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping,s=303===a||304===a,o=301===a||302===a;if(s||o){let a=t.get(r),l=void 0!==a?a.texture.pmremVersion:0;if(r.isRenderTargetTexture&&r.pmremVersion!==l)return null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r,a):n.fromCubemap(r,a)).texture.pmremVersion=r.pmremVersion,t.set(r,a),a.texture;{if(void 0!==a)return a.texture;let l=r.image;return s&&l&&l.height>0||o&&l&&function(e){let t=0;for(let n=0;n<6;n++)void 0!==e[n]&&t++;return 6===t}(l)?(null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r):n.fromCubemap(r)).texture.pmremVersion=r.pmremVersion,t.set(r,a),r.addEventListener("dispose",i),a.texture):null}}}return r},dispose:function(){t=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function lr(e){let t={};function n(n){let i;if(void 0!==t[n])return t[n];switch(n){case"WEBGL_depth_texture":i=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=e.getExtension(n)}return t[n]=i,i}return{has:function(e){return null!==n(e)},init:function(){n("EXT_color_buffer_float"),n("WEBGL_clip_cull_distance"),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture"),n("WEBGL_render_shared_exponent")},get:function(e){let t=n(e);return null===t&&ei("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function la(e,t,n,i){let r={},a=new WeakMap;function s(e){let o=e.target;for(let e in null!==o.index&&t.remove(o.index),o.attributes)t.remove(o.attributes[e]);o.removeEventListener("dispose",s),delete r[o.id];let l=a.get(o);l&&(t.remove(l),a.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(e){let n=[],i=e.index,r=e.attributes.position,s=0;if(null!==i){let e=i.array;s=i.version;for(let t=0,i=e.length;tt.maxTextureSize&&(f=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);let m=new Float32Array(p*f*4*c),g=new eb(m,p,f,c);g.type=1015,g.needsUpdate=!0;let v=4*d;for(let t=0;t0)return e;let r=t*n,a=lm[r];if(void 0===a&&(a=new Float32Array(r),lm[r]=a),0!==t){i.toArray(a,0);for(let i=1,r=0;i!==t;++i)r+=n,e[i].toArray(a,r)}return a}function lb(e,t){if(e.length!==t.length)return!1;for(let n=0,i=e.length;n":" "} ${r}: ${n[e]}`)}return i.join("\n")}(e.getShaderSource(t),i)}}let ul=new eE;function uu(e){return""!==e}function uc(e,t){let n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function uh(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}let ud=/^[ \t]*#include +<([\w\d./]+)>/gm;function up(e){return e.replace(ud,um)}let uf=new Map;function um(e,t){let n=oB[t];if(void 0===n){let e=uf.get(t);if(void 0!==e)n=oB[e],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,e);else throw Error("Can not resolve #include <"+t+">")}return up(n)}let ug=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function uv(e){return e.replace(ug,u_)}function u_(e,t,n,i){let r="";for(let e=parseInt(t);e0&&(r+="\n"),(a=["#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x].filter(uu).join("\n")).length>0&&(a+="\n");else{let e,t,i,s;r=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",n.batching?"#define USE_BATCHING":"",n.batchingColor?"#define USE_BATCHING_COLOR":"",n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.instancingMorph?"#define USE_INSTANCING_MORPH":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+g:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+n.anisotropyMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH"," uniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif","\n"].filter(uu).join("\n"),a=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+m:"",n.envMap?"#define "+g:"",n.envMap?"#define "+v:"",_?"#define CUBEUV_TEXEL_WIDTH "+_.texelWidth:"",_?"#define CUBEUV_TEXEL_HEIGHT "+_.texelHeight:"",_?"#define CUBEUV_MAX_MIP "+_.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.dispersion?"#define USE_DISPERSION":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor||n.batchingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==n.toneMapping?"#define TONE_MAPPING":"",0!==n.toneMapping?oB.tonemapping_pars_fragment:"",0!==n.toneMapping?function(e,t){let n;switch(t){case 1:n="Linear";break;case 2:n="Reinhard";break;case 3:n="Cineon";break;case 4:n="ACESFilmic";break;case 6:n="AgX";break;case 7:n="Neutral";break;case 5:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",oB.colorspace_pars_fragment,(e=function(e){eu._getMatrix(us,eu.workingColorSpace,e);let t=`mat3( ${us.elements.map(e=>e.toFixed(4))} )`;switch(eu.getTransfer(e)){case N:return[t,"LinearTransferOETF"];case U:return[t,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",e),[t,"LinearTransferOETF"]}}(n.outputColorSpace),`vec4 linearToOutputTexel( vec4 value ) { - return ${e[1]}( vec4( value.rgb * ${e[0]}, value.a ) ); -}`),(eu.getLuminanceCoefficients(ul),t=ul.x.toFixed(4),i=ul.y.toFixed(4),s=ul.z.toFixed(4),`float luminance( const in vec3 rgb ) { - const vec3 weights = vec3( ${t}, ${i}, ${s} ); - return dot( weights, rgb ); -}`),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(uu).join("\n")}d=uh(d=uc(d=up(d),n),n),p=uh(p=uc(p=up(p),n),n),d=uv(d),p=uv(p),!0!==n.isRawShaderMaterial&&(S="#version 300 es\n",r=[y,"#define attribute in\n#define varying out\n#define texture2D texture"].join("\n")+"\n"+r,a=["#define varying in",n.glslVersion===D?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===D?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+a);let M=S+r+d,T=S+a+p,w=ur(c,c.VERTEX_SHADER,M),E=ur(c,c.FRAGMENT_SHADER,T);function A(t){if(e.debug.checkShaderErrors){let n=c.getProgramInfoLog(b).trim(),i=c.getShaderInfoLog(w).trim(),s=c.getShaderInfoLog(E).trim(),o=!0,l=!0;if(!1===c.getProgramParameter(b,c.LINK_STATUS))if(o=!1,"function"==typeof e.debug.onShaderError)e.debug.onShaderError(c,b,w,E);else{let e=uo(c,w,"vertex"),i=uo(c,E,"fragment");console.error("THREE.WebGLProgram: Shader Error "+c.getError()+" - VALIDATE_STATUS "+c.getProgramParameter(b,c.VALIDATE_STATUS)+"\n\nMaterial Name: "+t.name+"\nMaterial Type: "+t.type+"\n\nProgram Info Log: "+n+"\n"+e+"\n"+i)}else""!==n?console.warn("THREE.WebGLProgram: Program Info Log:",n):(""===i||""===s)&&(l=!1);l&&(t.diagnostics={runnable:o,programLog:n,vertexShader:{log:i,prefix:r},fragmentShader:{log:s,prefix:a}})}c.deleteShader(w),c.deleteShader(E),s=new ui(c,b),o=function(e,t){let n={},i=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let r=0;r0,Z=a.clearcoat>0,J=a.dispersion>0,K=a.iridescence>0,$=a.sheen>0,Q=a.transmission>0,ee=Y&&!!a.anisotropyMap,et=Z&&!!a.clearcoatMap,en=Z&&!!a.clearcoatNormalMap,ei=Z&&!!a.clearcoatRoughnessMap,er=K&&!!a.iridescenceMap,ea=K&&!!a.iridescenceThicknessMap,es=$&&!!a.sheenColorMap,eo=$&&!!a.sheenRoughnessMap,el=!!a.specularMap,ec=!!a.specularColorMap,eh=!!a.specularIntensityMap,ed=Q&&!!a.transmissionMap,ep=Q&&!!a.thicknessMap,ef=!!a.gradientMap,em=!!a.alphaMap,eg=a.alphaTest>0,ev=!!a.alphaHash,e_=!!a.extensions,ey=0;a.toneMapped&&(null===I||!0===I.isXRRenderTarget)&&(ey=e.toneMapping);let ex={shaderID:A,shaderType:a.type,shaderName:a.name,vertexShader:_,fragmentShader:y,defines:a.defines,customVertexShaderID:x,customFragmentShaderID:b,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:p,batching:O,batchingColor:O&&null!==v._colorsTexture,instancing:D,instancingColor:D&&null!==v.instanceColor,instancingMorph:D&&null!==v.morphTexture,supportsVertexTextures:d,outputColorSpace:null===I?e.outputColorSpace:!0===I.isXRRenderTarget?I.texture.colorSpace:L,alphaToCoverage:!!a.alphaToCoverage,map:F,matcap:z,envMap:B,envMapMode:B&&w.mapping,envMapCubeUVHeight:E,aoMap:k,lightMap:H,bumpMap:V,normalMap:G,displacementMap:d&&W,emissiveMap:j,normalMapObjectSpace:G&&1===a.normalMapType,normalMapTangentSpace:G&&0===a.normalMapType,metalnessMap:X,roughnessMap:q,anisotropy:Y,anisotropyMap:ee,clearcoat:Z,clearcoatMap:et,clearcoatNormalMap:en,clearcoatRoughnessMap:ei,dispersion:J,iridescence:K,iridescenceMap:er,iridescenceThicknessMap:ea,sheen:$,sheenColorMap:es,sheenRoughnessMap:eo,specularMap:el,specularColorMap:ec,specularIntensityMap:eh,transmission:Q,transmissionMap:ed,thicknessMap:ep,gradientMap:ef,opaque:!1===a.transparent&&1===a.blending&&!1===a.alphaToCoverage,alphaMap:em,alphaTest:eg,alphaHash:ev,combine:a.combine,mapUv:F&&m(a.map.channel),aoMapUv:k&&m(a.aoMap.channel),lightMapUv:H&&m(a.lightMap.channel),bumpMapUv:V&&m(a.bumpMap.channel),normalMapUv:G&&m(a.normalMap.channel),displacementMapUv:W&&m(a.displacementMap.channel),emissiveMapUv:j&&m(a.emissiveMap.channel),metalnessMapUv:X&&m(a.metalnessMap.channel),roughnessMapUv:q&&m(a.roughnessMap.channel),anisotropyMapUv:ee&&m(a.anisotropyMap.channel),clearcoatMapUv:et&&m(a.clearcoatMap.channel),clearcoatNormalMapUv:en&&m(a.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ei&&m(a.clearcoatRoughnessMap.channel),iridescenceMapUv:er&&m(a.iridescenceMap.channel),iridescenceThicknessMapUv:ea&&m(a.iridescenceThicknessMap.channel),sheenColorMapUv:es&&m(a.sheenColorMap.channel),sheenRoughnessMapUv:eo&&m(a.sheenRoughnessMap.channel),specularMapUv:el&&m(a.specularMap.channel),specularColorMapUv:ec&&m(a.specularColorMap.channel),specularIntensityMapUv:eh&&m(a.specularIntensityMap.channel),transmissionMapUv:ed&&m(a.transmissionMap.channel),thicknessMapUv:ep&&m(a.thicknessMap.channel),alphaMapUv:em&&m(a.alphaMap.channel),vertexTangents:!!M.attributes.tangent&&(G||Y),vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!M.attributes.color&&4===M.attributes.color.itemSize,pointsUvs:!0===v.isPoints&&!!M.attributes.uv&&(F||em),fog:!!S,useFog:!0===a.fog,fogExp2:!!S&&S.isFogExp2,flatShading:!0===a.flatShading,sizeAttenuation:!0===a.sizeAttenuation,logarithmicDepthBuffer:h,reverseDepthBuffer:N,skinning:!0===v.isSkinnedMesh,morphTargets:void 0!==M.morphAttributes.position,morphNormals:void 0!==M.morphAttributes.normal,morphColors:void 0!==M.morphAttributes.color,morphTargetsCount:R,morphTextureStride:P,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:a.dithering,shadowMapEnabled:e.shadowMap.enabled&&c.length>0,shadowMapType:e.shadowMap.type,toneMapping:ey,decodeVideoTexture:F&&!0===a.map.isVideoTexture&&eu.getTransfer(a.map.colorSpace)===U,decodeVideoTextureEmissive:j&&!0===a.emissiveMap.isVideoTexture&&eu.getTransfer(a.emissiveMap.colorSpace)===U,premultipliedAlpha:a.premultipliedAlpha,doubleSided:2===a.side,flipSided:1===a.side,useDepthPacking:a.depthPacking>=0,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionClipCullDistance:e_&&!0===a.extensions.clipCullDistance&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(e_&&!0===a.extensions.multiDraw||O)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:a.customProgramCacheKey()};return ex.vertexUv1s=u.has(1),ex.vertexUv2s=u.has(2),ex.vertexUv3s=u.has(3),u.clear(),ex},getProgramCacheKey:function(t){var n,i,r,a;let s=[];if(t.shaderID?s.push(t.shaderID):(s.push(t.customVertexShaderID),s.push(t.customFragmentShaderID)),void 0!==t.defines)for(let e in t.defines)s.push(e),s.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(n=s,i=t,n.push(i.precision),n.push(i.outputColorSpace),n.push(i.envMapMode),n.push(i.envMapCubeUVHeight),n.push(i.mapUv),n.push(i.alphaMapUv),n.push(i.lightMapUv),n.push(i.aoMapUv),n.push(i.bumpMapUv),n.push(i.normalMapUv),n.push(i.displacementMapUv),n.push(i.emissiveMapUv),n.push(i.metalnessMapUv),n.push(i.roughnessMapUv),n.push(i.anisotropyMapUv),n.push(i.clearcoatMapUv),n.push(i.clearcoatNormalMapUv),n.push(i.clearcoatRoughnessMapUv),n.push(i.iridescenceMapUv),n.push(i.iridescenceThicknessMapUv),n.push(i.sheenColorMapUv),n.push(i.sheenRoughnessMapUv),n.push(i.specularMapUv),n.push(i.specularColorMapUv),n.push(i.specularIntensityMapUv),n.push(i.transmissionMapUv),n.push(i.thicknessMapUv),n.push(i.combine),n.push(i.fogExp2),n.push(i.sizeAttenuation),n.push(i.morphTargetsCount),n.push(i.morphAttributeCount),n.push(i.numDirLights),n.push(i.numPointLights),n.push(i.numSpotLights),n.push(i.numSpotLightMaps),n.push(i.numHemiLights),n.push(i.numRectAreaLights),n.push(i.numDirLightShadows),n.push(i.numPointLightShadows),n.push(i.numSpotLightShadows),n.push(i.numSpotLightShadowsWithMaps),n.push(i.numLightProbes),n.push(i.shadowMapType),n.push(i.toneMapping),n.push(i.numClippingPlanes),n.push(i.numClipIntersection),n.push(i.depthPacking),r=s,a=t,o.disableAll(),a.supportsVertexTextures&&o.enable(0),a.instancing&&o.enable(1),a.instancingColor&&o.enable(2),a.instancingMorph&&o.enable(3),a.matcap&&o.enable(4),a.envMap&&o.enable(5),a.normalMapObjectSpace&&o.enable(6),a.normalMapTangentSpace&&o.enable(7),a.clearcoat&&o.enable(8),a.iridescence&&o.enable(9),a.alphaTest&&o.enable(10),a.vertexColors&&o.enable(11),a.vertexAlphas&&o.enable(12),a.vertexUv1s&&o.enable(13),a.vertexUv2s&&o.enable(14),a.vertexUv3s&&o.enable(15),a.vertexTangents&&o.enable(16),a.anisotropy&&o.enable(17),a.alphaHash&&o.enable(18),a.batching&&o.enable(19),a.dispersion&&o.enable(20),a.batchingColor&&o.enable(21),r.push(o.mask),o.disableAll(),a.fog&&o.enable(0),a.useFog&&o.enable(1),a.flatShading&&o.enable(2),a.logarithmicDepthBuffer&&o.enable(3),a.reverseDepthBuffer&&o.enable(4),a.skinning&&o.enable(5),a.morphTargets&&o.enable(6),a.morphNormals&&o.enable(7),a.morphColors&&o.enable(8),a.premultipliedAlpha&&o.enable(9),a.shadowMapEnabled&&o.enable(10),a.doubleSided&&o.enable(11),a.flipSided&&o.enable(12),a.useDepthPacking&&o.enable(13),a.dithering&&o.enable(14),a.transmission&&o.enable(15),a.sheen&&o.enable(16),a.opaque&&o.enable(17),a.pointsUvs&&o.enable(18),a.decodeVideoTexture&&o.enable(19),a.decodeVideoTextureEmissive&&o.enable(20),a.alphaToCoverage&&o.enable(21),r.push(o.mask),s.push(e.outputColorSpace)),s.push(t.customProgramCacheKey),s.join()},getUniforms:function(e){let t,n=f[e.type];if(n){let e=oH[n];t=nx.clone(e.uniforms)}else t=e.uniforms;return t},acquireProgram:function(t,n){let i;for(let e=0,t=c.length;e0?i.push(c):!0===s.transparent?r.push(c):n.push(c)},unshift:function(e,t,s,o,l,u){let c=a(e,t,s,o,l,u);s.transmission>0?i.unshift(c):!0===s.transparent?r.unshift(c):n.unshift(c)},finish:function(){for(let n=t,i=e.length;n1&&n.sort(e||uE),i.length>1&&i.sort(t||uA),r.length>1&&r.sort(t||uA)}}}function uR(){let e=new WeakMap;return{get:function(t,n){let i,r=e.get(t);return void 0===r?(i=new uC,e.set(t,[i])):n>=r.length?(i=new uC,r.push(i)):i=r[n],i},dispose:function(){e=new WeakMap}}}function uP(){let e={};return{get:function(t){let n;if(void 0!==e[t.id])return e[t.id];switch(t.type){case"DirectionalLight":n={direction:new eE,color:new tz};break;case"SpotLight":n={position:new eE,direction:new eE,color:new tz,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new eE,color:new tz,distance:0,decay:0};break;case"HemisphereLight":n={direction:new eE,skyColor:new tz,groundColor:new tz};break;case"RectAreaLight":n={color:new tz,position:new eE,halfWidth:new eE,halfHeight:new eE}}return e[t.id]=n,n}}}let uI=0;function uL(e,t){return 2*!!t.castShadow-2*!!e.castShadow+ +!!t.map-!!e.map}function uN(e){let t,n=new uP,i=(t={},{get:function(e){let n;if(void 0!==t[e.id])return t[e.id];switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y};break;case"PointLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new eE);let a=new eE,s=new e2,o=new e2;return{setup:function(t){let a=0,s=0,o=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let l=0,u=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,v=0,_=0;t.sort(uL);for(let e=0,y=t.length;e0&&(!0===e.has("OES_texture_float_linear")?(r.rectAreaLTC1=ok.LTC_FLOAT_1,r.rectAreaLTC2=ok.LTC_FLOAT_2):(r.rectAreaLTC1=ok.LTC_HALF_1,r.rectAreaLTC2=ok.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=s,r.ambient[2]=o;let y=r.hash;(y.directionalLength!==l||y.pointLength!==u||y.spotLength!==c||y.rectAreaLength!==h||y.hemiLength!==d||y.numDirectionalShadows!==p||y.numPointShadows!==f||y.numSpotShadows!==m||y.numSpotMaps!==g||y.numLightProbes!==_)&&(r.directional.length=l,r.spot.length=c,r.rectArea.length=h,r.point.length=u,r.hemi.length=d,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=f,r.pointShadowMap.length=f,r.spotShadow.length=m,r.spotShadowMap.length=m,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=f,r.spotLightMatrix.length=m+g-v,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=v,r.numLightProbes=_,y.directionalLength=l,y.pointLength=u,y.spotLength=c,y.rectAreaLength=h,y.hemiLength=d,y.numDirectionalShadows=p,y.numPointShadows=f,y.numSpotShadows=m,y.numSpotMaps=g,y.numLightProbes=_,r.version=uI++)},setupView:function(e,t){let n=0,i=0,l=0,u=0,c=0,h=t.matrixWorldInverse;for(let t=0,d=e.length;t=a.length?(r=new uU(e),a.push(r)):r=a[i],r},dispose:function(){t=new WeakMap}}}function uO(e,t,n){let i=new iS,r=new Y,a=new Y,s=new e_,o=new av({depthPacking:3201}),l=new a_,u={},c=n.maxTextureSize,h={0:1,1:0,2:2},d=new nb({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Y},radius:{value:4}},vertexShader:"void main() {\n gl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include \nvoid main() {\n const float samples = float( VSM_SAMPLES );\n float mean = 0.0;\n float squared_mean = 0.0;\n float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n float uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n for ( float i = 0.0; i < samples; i ++ ) {\n float uvOffset = uvStart + i * uvStride;\n #ifdef HORIZONTAL_PASS\n vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean / samples;\n squared_mean = squared_mean / samples;\n float std_dev = sqrt( squared_mean - mean * mean );\n gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),p=d.clone();p.defines.HORIZONTAL_PASS=1;let f=new nn;f.setAttribute("position",new tZ(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let m=new nf(f,d),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let v=this.type;function _(t,n,i,r){let a=null,s=!0===i.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==s)a=s;else if(a=!0===i.isPointLight?l:o,e.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){let e=a.uuid,t=n.uuid,i=u[e];void 0===i&&(i={},u[e]=i);let r=i[t];void 0===r&&(r=a.clone(),i[t]=r,n.addEventListener("dispose",y)),a=r}return a.visible=n.visible,a.wireframe=n.wireframe,3===r?a.side=null!==n.shadowSide?n.shadowSide:n.side:a.side=null!==n.shadowSide?n.shadowSide:h[n.side],a.alphaMap=n.alphaMap,a.alphaTest=n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,!0===i.isPointLight&&!0===a.isMeshDistanceMaterial&&(e.properties.get(a).light=i),a}function y(e){for(let t in e.target.removeEventListener("dispose",y),u){let n=u[t],i=e.target.uuid;i in n&&(n[i].dispose(),delete n[i])}}this.render=function(n,o,l){if(!1===g.enabled||!1===g.autoUpdate&&!1===g.needsUpdate||0===n.length)return;let u=e.getRenderTarget(),h=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),y=e.state;y.setBlending(0),y.buffers.color.setClear(1,1,1,1),y.buffers.depth.setTest(!0),y.setScissorTest(!1);let x=3!==v&&3===this.type,b=3===v&&3!==this.type;for(let u=0,h=n.length;uc||r.y>c)&&(r.x>c&&(a.x=Math.floor(c/g.x),r.x=a.x*g.x,f.mapSize.x=a.x),r.y>c&&(a.y=Math.floor(c/g.y),r.y=a.y*g.y,f.mapSize.y=a.y)),null===f.map||!0===x||!0===b){let e=3!==this.type?{minFilter:1003,magFilter:1003}:{};null!==f.map&&f.map.dispose(),f.map=new ex(r.x,r.y,e),f.map.texture.name=h.name+".shadowMap",f.camera.updateProjectionMatrix()}e.setRenderTarget(f.map),e.clear();let v=f.getViewportCount();for(let n=0;n=1:-1!==P.indexOf("OpenGL ES")&&(R=parseFloat(/^OpenGL ES (\d)/.exec(P)[1])>=2);let I=null,L={},N=e.getParameter(e.SCISSOR_BOX),U=e.getParameter(e.VIEWPORT),D=new e_().fromArray(N),O=new e_().fromArray(U);function F(t,n,i,r){let a=new Uint8Array(4),s=e.createTexture();e.bindTexture(t,s),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let s=0;stypeof navigator&&/OculusBrowser/g.test(navigator.userAgent),c=new Y,h=new WeakMap,d=new WeakMap,p=!1;try{p="u">typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function f(e,t){return p?new OffscreenCanvas(e,t):ee("canvas")}function m(e,t,n){let i=1,r=G(e);if((r.width>n||r.height>n)&&(i=n/Math.max(r.width,r.height)),i<1)if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap||"u">typeof VideoFrame&&e instanceof VideoFrame){let n=Math.floor(i*r.width),a=Math.floor(i*r.height);void 0===o&&(o=f(n,a));let s=t?f(n,a):o;return s.width=n,s.height=a,s.getContext("2d").drawImage(e,0,0,n,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+r.width+"x"+r.height+") to ("+n+"x"+a+")."),s}else"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+r.width+"x"+r.height+").");return e}function g(e){return e.generateMipmaps}function v(t){e.generateMipmap(t)}function _(n,i,r,a,s=!1){if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let o=i;if(i===e.RED&&(r===e.FLOAT&&(o=e.R32F),r===e.HALF_FLOAT&&(o=e.R16F),r===e.UNSIGNED_BYTE&&(o=e.R8)),i===e.RED_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.R8UI),r===e.UNSIGNED_SHORT&&(o=e.R16UI),r===e.UNSIGNED_INT&&(o=e.R32UI),r===e.BYTE&&(o=e.R8I),r===e.SHORT&&(o=e.R16I),r===e.INT&&(o=e.R32I)),i===e.RG&&(r===e.FLOAT&&(o=e.RG32F),r===e.HALF_FLOAT&&(o=e.RG16F),r===e.UNSIGNED_BYTE&&(o=e.RG8)),i===e.RG_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RG8UI),r===e.UNSIGNED_SHORT&&(o=e.RG16UI),r===e.UNSIGNED_INT&&(o=e.RG32UI),r===e.BYTE&&(o=e.RG8I),r===e.SHORT&&(o=e.RG16I),r===e.INT&&(o=e.RG32I)),i===e.RGB_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGB8UI),r===e.UNSIGNED_SHORT&&(o=e.RGB16UI),r===e.UNSIGNED_INT&&(o=e.RGB32UI),r===e.BYTE&&(o=e.RGB8I),r===e.SHORT&&(o=e.RGB16I),r===e.INT&&(o=e.RGB32I)),i===e.RGBA_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGBA8UI),r===e.UNSIGNED_SHORT&&(o=e.RGBA16UI),r===e.UNSIGNED_INT&&(o=e.RGBA32UI),r===e.BYTE&&(o=e.RGBA8I),r===e.SHORT&&(o=e.RGBA16I),r===e.INT&&(o=e.RGBA32I)),i===e.RGB&&r===e.UNSIGNED_INT_5_9_9_9_REV&&(o=e.RGB9_E5),i===e.RGBA){let t=s?N:eu.getTransfer(a);r===e.FLOAT&&(o=e.RGBA32F),r===e.HALF_FLOAT&&(o=e.RGBA16F),r===e.UNSIGNED_BYTE&&(o=t===U?e.SRGB8_ALPHA8:e.RGBA8),r===e.UNSIGNED_SHORT_4_4_4_4&&(o=e.RGBA4),r===e.UNSIGNED_SHORT_5_5_5_1&&(o=e.RGB5_A1)}return(o===e.R16F||o===e.R32F||o===e.RG16F||o===e.RG32F||o===e.RGBA16F||o===e.RGBA32F)&&t.get("EXT_color_buffer_float"),o}function y(t,n){let i;return t?null===n||1014===n||1020===n?i=e.DEPTH24_STENCIL8:1015===n?i=e.DEPTH32F_STENCIL8:1012===n&&(i=e.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):null===n||1014===n||1020===n?i=e.DEPTH_COMPONENT24:1015===n?i=e.DEPTH_COMPONENT32F:1012===n&&(i=e.DEPTH_COMPONENT16),i}function x(e,t){return!0===g(e)||e.isFramebufferTexture&&1003!==e.minFilter&&1006!==e.minFilter?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function b(e){let t=e.target;t.removeEventListener("dispose",b),function(e){let t=i.get(e);if(void 0===t.__webglInit)return;let n=e.source,r=d.get(n);if(r){let i=r[t.__cacheKey];i.usedTimes--,0===i.usedTimes&&M(e),0===Object.keys(r).length&&d.delete(n)}i.remove(e)}(t),t.isVideoTexture&&h.delete(t)}function S(t){let n=t.target;n.removeEventListener("dispose",S),function(t){let n=i.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),i.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let i=0;i0&&l.__version!==t.version){let e=t.image;if(null===e)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==e.complete)return void I(l,t,r);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(e.TEXTURE_2D,l.__webglTexture,e.TEXTURE0+r)}let E={1e3:e.REPEAT,1001:e.CLAMP_TO_EDGE,1002:e.MIRRORED_REPEAT},A={1003:e.NEAREST,1004:e.NEAREST_MIPMAP_NEAREST,1005:e.NEAREST_MIPMAP_LINEAR,1006:e.LINEAR,1007:e.LINEAR_MIPMAP_NEAREST,1008:e.LINEAR_MIPMAP_LINEAR},C={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function R(n,a){if((1015===a.type&&!1===t.has("OES_texture_float_linear")&&(1006===a.magFilter||1007===a.magFilter||1005===a.magFilter||1008===a.magFilter||1006===a.minFilter||1007===a.minFilter||1005===a.minFilter||1008===a.minFilter)&&console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(n,e.TEXTURE_WRAP_S,E[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,E[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,E[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,A[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,A[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,C[a.compareFunction])),!0===t.has("EXT_texture_filter_anisotropic"))&&1003!==a.magFilter&&(1005===a.minFilter||1008===a.minFilter)&&(1015!==a.type||!1!==t.has("OES_texture_float_linear"))&&(a.anisotropy>1||i.get(a).__currentAnisotropy)){let s=t.get("EXT_texture_filter_anisotropic");e.texParameterf(n,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,r.getMaxAnisotropy())),i.get(a).__currentAnisotropy=a.anisotropy}}function P(t,n){let i,r=!1;void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",b));let a=n.source,o=d.get(a);void 0===o&&(o={},d.set(a,o));let l=((i=[]).push(n.wrapS),i.push(n.wrapT),i.push(n.wrapR||0),i.push(n.magFilter),i.push(n.minFilter),i.push(n.anisotropy),i.push(n.internalFormat),i.push(n.format),i.push(n.type),i.push(n.generateMipmaps),i.push(n.premultiplyAlpha),i.push(n.flipY),i.push(n.unpackAlignment),i.push(n.colorSpace),i.join());if(l!==t.__cacheKey){void 0===o[l]&&(o[l]={texture:e.createTexture(),usedTimes:0},s.memory.textures++,r=!0),o[l].usedTimes++;let i=o[t.__cacheKey];void 0!==i&&(o[t.__cacheKey].usedTimes--,0===i.usedTimes&&M(n)),t.__cacheKey=l,t.__webglTexture=o[l].texture}return r}function I(t,s,o){let l=e.TEXTURE_2D;(s.isDataArrayTexture||s.isCompressedArrayTexture)&&(l=e.TEXTURE_2D_ARRAY),s.isData3DTexture&&(l=e.TEXTURE_3D);let u=P(t,s),c=s.source;n.bindTexture(l,t.__webglTexture,e.TEXTURE0+o);let h=i.get(c);if(c.version!==h.__version||!0===u){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),d=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),p=""===s.colorSpace||i===d?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,p);let f=m(s.image,!1,r.maxTextureSize);f=V(s,f);let b=a.convert(s.format,s.colorSpace),S=a.convert(s.type),M=_(s.internalFormat,b,S,s.colorSpace,s.isVideoTexture);R(l,s);let T=s.mipmaps,w=!0!==s.isVideoTexture,E=void 0===h.__version||!0===u,A=c.dataReady,C=x(s,f);if(s.isDepthTexture)M=y(1027===s.format,s.type),E&&(w?n.texStorage2D(e.TEXTURE_2D,1,M,f.width,f.height):n.texImage2D(e.TEXTURE_2D,0,M,f.width,f.height,0,b,S,null));else if(s.isDataTexture)if(T.length>0){w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let r=oU(t.width,t.height,s.format,s.type);for(let a of s.layerUpdates){let s=t.data.subarray(a*r/t.data.BYTES_PER_ELEMENT,(a+1)*r/t.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,t.width,t.height,1,b,s)}s.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,t.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,t.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else w?A&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,S,t.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,b,S,t.data)}else{w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let t=oU(f.width,f.height,s.format,s.type);for(let i of s.layerUpdates){let r=f.data.subarray(i*t/f.data.BYTES_PER_ELEMENT,(i+1)*t/f.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,i,f.width,f.height,1,b,S,r)}s.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isData3DTexture)w?(E&&n.texStorage3D(e.TEXTURE_3D,C,M,f.width,f.height,f.depth),A&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)):n.texImage3D(e.TEXTURE_3D,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isFramebufferTexture){if(E)if(w)n.texStorage2D(e.TEXTURE_2D,C,M,f.width,f.height);else{let t=f.width,i=f.height;for(let r=0;r>=1,i>>=1}}else if(T.length>0){if(w&&E){let t=G(T[0]);n.texStorage2D(e.TEXTURE_2D,C,M,t.width,t.height)}for(let i=0,r=T.length;i>c),i=Math.max(1,r.height>>c);u===e.TEXTURE_3D||u===e.TEXTURE_2D_ARRAY?n.texImage3D(u,c,p,t,i,r.depth,0,h,d,null):n.texImage2D(u,c,p,t,i,0,h,d,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,o,u,m.__webglTexture,0,k(r)):(u===e.TEXTURE_2D||u>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&u<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,o,u,m.__webglTexture,c),n.bindFramebuffer(e.FRAMEBUFFER,null)}function O(t,n,i){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let r=n.depthTexture,a=r&&r.isDepthTexture?r.type:null,s=y(n.stencilBuffer,a),o=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=k(n);H(n)?l.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,u,s,n.width,n.height):i?e.renderbufferStorageMultisample(e.RENDERBUFFER,u,s,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,s,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,o,e.RENDERBUFFER,t)}else{let t=n.textures;for(let r=0;r{delete r.__boundDepthTexture,delete r.__depthDisposeCallback,e.removeEventListener("dispose",t)};e.addEventListener("dispose",t),r.__depthDisposeCallback=t}r.__boundDepthTexture=e}if(t.depthTexture&&!r.__autoAllocateDepthBuffer){if(a)throw Error("target.depthTexture not supported in Cube render targets");!function(t,r){if(r&&r.isWebGLCubeRenderTarget)throw Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(e.FRAMEBUFFER,t),!(r.depthTexture&&r.depthTexture.isDepthTexture))throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");let a=i.get(r.depthTexture);a.__renderTarget=r,a.__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),w(r.depthTexture,0);let s=a.__webglTexture,o=k(r);if(1026===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0);else if(1027===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0);else throw Error("Unknown depthTexture format")}(r.__webglFramebuffer,t)}else if(a){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer[i]),void 0===r.__webglDepthbuffer[i])r.__webglDepthbuffer[i]=e.createRenderbuffer(),O(r.__webglDepthbuffer[i],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=r.__webglDepthbuffer[i];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer),void 0===r.__webglDepthbuffer)r.__webglDepthbuffer=e.createRenderbuffer(),O(r.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,i=r.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,i),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,i)}n.bindFramebuffer(e.FRAMEBUFFER,null)}let z=[],B=[];function k(e){return Math.min(r.maxSamples,e.samples)}function H(e){let n=i.get(e);return e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function V(e,t){let n=e.colorSpace,i=e.format,r=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||n!==L&&""!==n&&(eu.getTransfer(n)===U?(1023!==i||1009!==r)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",n)),t}function G(e){return"u">typeof HTMLImageElement&&e instanceof HTMLImageElement?(c.width=e.naturalWidth||e.width,c.height=e.naturalHeight||e.height):"u">typeof VideoFrame&&e instanceof VideoFrame?(c.width=e.displayWidth,c.height=e.displayHeight):(c.width=e.width,c.height=e.height),c}this.allocateTextureUnit=function(){let e=T;return e>=r.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+r.maxTextures),T+=1,e},this.resetTextureUnits=function(){T=0},this.setTexture2D=w,this.setTexture2DArray=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+r)},this.setTexture3D=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+r)},this.setTextureCube=function(t,s){let o=i.get(t);t.version>0&&o.__version!==t.version?function(t,s,o){if(6!==s.image.length)return;let l=P(t,s),u=s.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+o);let c=i.get(u);if(u.version!==c.__version||!0===l){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),h=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),d=""===s.colorSpace||i===h?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let p=s.isCompressedTexture||s.image[0].isCompressedTexture,f=s.image[0]&&s.image[0].isDataTexture,y=[];for(let e=0;e<6;e++)p||f?y[e]=f?s.image[e].image:s.image[e]:y[e]=m(s.image[e],!0,r.maxCubemapSize),y[e]=V(s,y[e]);let b=y[0],S=a.convert(s.format,s.colorSpace),M=a.convert(s.type),T=_(s.internalFormat,S,M,s.colorSpace),w=!0!==s.isVideoTexture,E=void 0===c.__version||!0===l,A=u.dataReady,C=x(s,b);if(R(e.TEXTURE_CUBE_MAP,s),p){w&&E&&n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,b.width,b.height);for(let i=0;i<6;i++){t=y[i].mipmaps;for(let r=0;r0&&C++;let i=G(y[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,i.width,i.height)}for(let i=0;i<6;i++)if(f){w?A&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,0,0,y[i].width,y[i].height,S,M,y[i].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,T,y[i].width,y[i].height,0,S,M,y[i].data);for(let r=0;r1;if(!h&&(void 0===l.__webglTexture&&(l.__webglTexture=e.createTexture()),l.__version=r.version,s.memory.textures++),c){o.__webglFramebuffer=[];for(let t=0;t<6;t++)if(r.mipmaps&&r.mipmaps.length>0){o.__webglFramebuffer[t]=[];for(let n=0;n0){o.__webglFramebuffer=[];for(let t=0;t0&&!1===H(t)){o.__webglMultisampledFramebuffer=e.createFramebuffer(),o.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,o.__webglMultisampledFramebuffer);for(let n=0;n0)for(let i=0;i0)for(let n=0;n0){if(!1===H(t)){let r=t.textures,a=t.width,s=t.height,o=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,c=i.get(t),h=r.length>1;if(h)for(let t=0;t.025?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!l.inputState.pinching&&s<=.015&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==o&&e.gripSpace&&null!==(r=t.getPose(e.gripSpace,n))&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1);null!==s&&(null===(i=t.getPose(e.targetRaySpace,n))&&null!==r&&(i=r),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(uH)))}return null!==s&&(s.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==a),this}_getHandJoint(e,t){if(void 0===e.joints[t.jointName]){let n=new i6;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}}let uG=` -void main() { - - gl_Position = vec4( position, 1.0 ); - -}`,uW=` -uniform sampler2DArray depthColor; -uniform float depthWidth; -uniform float depthHeight; - -void main() { - - vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight ); - - if ( coord.x >= 1.0 ) { - - gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r; - - } else { - - gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r; - - } - -}`;class uj{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t,n){if(null===this.texture){let i=new ev;e.properties.get(i).__webglTexture=t.texture,(t.depthNear!=n.depthNear||t.depthFar!=n.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=i}}getMesh(e){if(null!==this.texture&&null===this.mesh){let t=e.cameras[0].viewport,n=new nb({vertexShader:uG,fragmentShader:uW,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new nf(new r9(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class uX extends O{constructor(e,t){super();const n=this;let i=null,r=1,a=null,s="local-floor",o=1,l=null,u=null,c=null,h=null,d=null,p=null;const f=new uj,m=t.getContextAttributes();let g=null,v=null;const _=[],y=[],x=new Y;let b=null;const S=new nE;S.viewport=new e_;const M=new nE;M.viewport=new e_;const T=[S,M],w=new sT;let E=null,A=null;function C(e){let t=y.indexOf(e.inputSource);if(-1===t)return;let n=_[t];void 0!==n&&(n.update(e.inputSource,e.frame,l||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function R(){i.removeEventListener("select",C),i.removeEventListener("selectstart",C),i.removeEventListener("selectend",C),i.removeEventListener("squeeze",C),i.removeEventListener("squeezestart",C),i.removeEventListener("squeezeend",C),i.removeEventListener("end",R),i.removeEventListener("inputsourceschange",P);for(let e=0;e<_.length;e++){let t=y[e];null!==t&&(y[e]=null,_[e].disconnect(t))}E=null,A=null,f.reset(),e.setRenderTarget(g),d=null,h=null,c=null,i=null,v=null,D.stop(),n.isPresenting=!1,e.setPixelRatio(b),e.setSize(x.width,x.height,!1),n.dispatchEvent({type:"sessionend"})}function P(e){for(let t=0;t=0&&(y[i]=null,_[i].disconnect(n))}for(let t=0;t=y.length){y.push(n),i=e;break}else if(null===y[e]){y[e]=n,i=e;break}if(-1===i)break}let r=_[i];r&&r.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getGripSpace()},this.getHand=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){r=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){s=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||a},this.setReferenceSpace=function(e){l=e},this.getBaseLayer=function(){return null!==h?h:d},this.getBinding=function(){return c},this.getFrame=function(){return p},this.getSession=function(){return i},this.setSession=async function(u){if(null!==(i=u)){if(g=e.getRenderTarget(),i.addEventListener("select",C),i.addEventListener("selectstart",C),i.addEventListener("selectend",C),i.addEventListener("squeeze",C),i.addEventListener("squeezestart",C),i.addEventListener("squeezeend",C),i.addEventListener("end",R),i.addEventListener("inputsourceschange",P),!0!==m.xrCompatible&&await t.makeXRCompatible(),b=e.getPixelRatio(),e.getSize(x),void 0===i.renderState.layers){let n={antialias:m.antialias,alpha:!0,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,t,n),i.updateRenderState({baseLayer:d}),e.setPixelRatio(1),e.setSize(d.framebufferWidth,d.framebufferHeight,!1),v=new ex(d.framebufferWidth,d.framebufferHeight,{format:1023,type:1009,colorSpace:e.outputColorSpace,stencilBuffer:m.stencil})}else{let n=null,a=null,s=null;m.depth&&(s=m.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=m.stencil?1027:1026,a=m.stencil?1020:1014);let o={colorFormat:t.RGBA8,depthFormat:s,scaleFactor:r};h=(c=new XRWebGLBinding(i,t)).createProjectionLayer(o),i.updateRenderState({layers:[h]}),e.setPixelRatio(1),e.setSize(h.textureWidth,h.textureHeight,!1),v=new ex(h.textureWidth,h.textureHeight,{format:1023,type:1009,depthTexture:new ri(h.textureWidth,h.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,colorSpace:e.outputColorSpace,samples:4*!!m.antialias,resolveDepthBuffer:!1===h.ignoreDepthValues})}v.isXRRenderTarget=!0,this.setFoveation(o),l=null,a=await i.requestReferenceSpace(s),D.setContext(i),D.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(null!==i)return i.environmentBlendMode},this.getDepthTexture=function(){return f.getDepthTexture()};const I=new eE,L=new eE;function N(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){var t,n,r;if(null===i)return;let a=e.near,s=e.far;null!==f.texture&&(f.depthNear>0&&(a=f.depthNear),f.depthFar>0&&(s=f.depthFar)),w.near=M.near=S.near=a,w.far=M.far=S.far=s,(E!==w.near||A!==w.far)&&(i.updateRenderState({depthNear:w.near,depthFar:w.far}),E=w.near,A=w.far),S.layers.mask=2|e.layers.mask,M.layers.mask=4|e.layers.mask,w.layers.mask=S.layers.mask|M.layers.mask;let o=e.parent,l=w.cameras;N(w,o);for(let e=0;e0&&(e.alphaTest.value=i.alphaTest);let r=t.get(i),a=r.envMap,s=r.envMapRotation;a&&(e.envMap.value=a,uq.copy(s),uq.x*=-1,uq.y*=-1,uq.z*=-1,a.isCubeTexture&&!1===a.isRenderTargetTexture&&(uq.y*=-1,uq.z*=-1),e.envMapRotation.value.setFromMatrix4(uY.makeRotationFromEuler(uq)),e.flipEnvMap.value=a.isCubeTexture&&!1===a.isRenderTargetTexture?-1:1,e.reflectivity.value=i.reflectivity,e.ior.value=i.ior,e.refractionRatio.value=i.refractionRatio),i.lightMap&&(e.lightMap.value=i.lightMap,e.lightMapIntensity.value=i.lightMapIntensity,n(i.lightMap,e.lightMapTransform)),i.aoMap&&(e.aoMap.value=i.aoMap,e.aoMapIntensity.value=i.aoMapIntensity,n(i.aoMap,e.aoMapTransform))}return{refreshFogUniforms:function(t,n){n.color.getRGB(t.fogColor.value,ny(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)},refreshMaterialUniforms:function(e,r,a,s,o){var l,u,c,h,d,p,f,m,g,v,_,y,x,b,S,M,T,w,E,A,C,R,P;let I;r.isMeshBasicMaterial||r.isMeshLambertMaterial?i(e,r):r.isMeshToonMaterial?(i(e,r),l=e,(u=r).gradientMap&&(l.gradientMap.value=u.gradientMap)):r.isMeshPhongMaterial?(i(e,r),c=e,h=r,c.specular.value.copy(h.specular),c.shininess.value=Math.max(h.shininess,1e-4)):r.isMeshStandardMaterial?(i(e,r),d=e,p=r,d.metalness.value=p.metalness,p.metalnessMap&&(d.metalnessMap.value=p.metalnessMap,n(p.metalnessMap,d.metalnessMapTransform)),d.roughness.value=p.roughness,p.roughnessMap&&(d.roughnessMap.value=p.roughnessMap,n(p.roughnessMap,d.roughnessMapTransform)),p.envMap&&(d.envMapIntensity.value=p.envMapIntensity),r.isMeshPhysicalMaterial&&(f=e,m=r,g=o,f.ior.value=m.ior,m.sheen>0&&(f.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),f.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(f.sheenColorMap.value=m.sheenColorMap,n(m.sheenColorMap,f.sheenColorMapTransform)),m.sheenRoughnessMap&&(f.sheenRoughnessMap.value=m.sheenRoughnessMap,n(m.sheenRoughnessMap,f.sheenRoughnessMapTransform))),m.clearcoat>0&&(f.clearcoat.value=m.clearcoat,f.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(f.clearcoatMap.value=m.clearcoatMap,n(m.clearcoatMap,f.clearcoatMapTransform)),m.clearcoatRoughnessMap&&(f.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap,n(m.clearcoatRoughnessMap,f.clearcoatRoughnessMapTransform)),m.clearcoatNormalMap&&(f.clearcoatNormalMap.value=m.clearcoatNormalMap,n(m.clearcoatNormalMap,f.clearcoatNormalMapTransform),f.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),1===m.side&&f.clearcoatNormalScale.value.negate())),m.dispersion>0&&(f.dispersion.value=m.dispersion),m.iridescence>0&&(f.iridescence.value=m.iridescence,f.iridescenceIOR.value=m.iridescenceIOR,f.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],f.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(f.iridescenceMap.value=m.iridescenceMap,n(m.iridescenceMap,f.iridescenceMapTransform)),m.iridescenceThicknessMap&&(f.iridescenceThicknessMap.value=m.iridescenceThicknessMap,n(m.iridescenceThicknessMap,f.iridescenceThicknessMapTransform))),m.transmission>0&&(f.transmission.value=m.transmission,f.transmissionSamplerMap.value=g.texture,f.transmissionSamplerSize.value.set(g.width,g.height),m.transmissionMap&&(f.transmissionMap.value=m.transmissionMap,n(m.transmissionMap,f.transmissionMapTransform)),f.thickness.value=m.thickness,m.thicknessMap&&(f.thicknessMap.value=m.thicknessMap,n(m.thicknessMap,f.thicknessMapTransform)),f.attenuationDistance.value=m.attenuationDistance,f.attenuationColor.value.copy(m.attenuationColor)),m.anisotropy>0&&(f.anisotropyVector.value.set(m.anisotropy*Math.cos(m.anisotropyRotation),m.anisotropy*Math.sin(m.anisotropyRotation)),m.anisotropyMap&&(f.anisotropyMap.value=m.anisotropyMap,n(m.anisotropyMap,f.anisotropyMapTransform))),f.specularIntensity.value=m.specularIntensity,f.specularColor.value.copy(m.specularColor),m.specularColorMap&&(f.specularColorMap.value=m.specularColorMap,n(m.specularColorMap,f.specularColorMapTransform)),m.specularIntensityMap&&(f.specularIntensityMap.value=m.specularIntensityMap,n(m.specularIntensityMap,f.specularIntensityMapTransform)))):r.isMeshMatcapMaterial?(i(e,r),v=e,(_=r).matcap&&(v.matcap.value=_.matcap)):r.isMeshDepthMaterial?i(e,r):r.isMeshDistanceMaterial?(i(e,r),y=e,x=r,I=t.get(x).light,y.referencePosition.value.setFromMatrixPosition(I.matrixWorld),y.nearDistance.value=I.shadow.camera.near,y.farDistance.value=I.shadow.camera.far):r.isMeshNormalMaterial?i(e,r):r.isLineBasicMaterial?(b=e,S=r,b.diffuse.value.copy(S.color),b.opacity.value=S.opacity,S.map&&(b.map.value=S.map,n(S.map,b.mapTransform)),r.isLineDashedMaterial&&(M=e,T=r,M.dashSize.value=T.dashSize,M.totalSize.value=T.dashSize+T.gapSize,M.scale.value=T.scale)):r.isPointsMaterial?(w=e,E=r,A=a,C=s,w.diffuse.value.copy(E.color),w.opacity.value=E.opacity,w.size.value=E.size*A,w.scale.value=.5*C,E.map&&(w.map.value=E.map,n(E.map,w.uvTransform)),E.alphaMap&&(w.alphaMap.value=E.alphaMap,n(E.alphaMap,w.alphaMapTransform)),E.alphaTest>0&&(w.alphaTest.value=E.alphaTest)):r.isSpriteMaterial?(R=e,P=r,R.diffuse.value.copy(P.color),R.opacity.value=P.opacity,R.rotation.value=P.rotation,P.map&&(R.map.value=P.map,n(P.map,R.mapTransform)),P.alphaMap&&(R.alphaMap.value=P.alphaMap,n(P.alphaMap,R.alphaMapTransform)),P.alphaTest>0&&(R.alphaTest.value=P.alphaTest)):r.isShadowMaterial?(e.color.value.copy(r.color),e.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function uJ(e,t,n,i){let r={},a={},s=[],o=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function l(e){let t={boundary:0,storage:0};return"number"==typeof e||"boolean"==typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function u(t){let n=t.target;n.removeEventListener("dispose",u);let i=s.indexOf(n.__bindingPointIndex);s.splice(i,1),e.deleteBuffer(r[n.id]),delete r[n.id],delete a[n.id]}return{bind:function(e,t){let n=t.program;i.uniformBlockBinding(e,n)},update:function(n,c){var h;let d,p,f,m,g=r[n.id];void 0===g&&(function(e){let t=e.uniforms,n=0;for(let e=0,i=t.length;e0&&(n+=16-i),e.__size=n,e.__cache={}}(n),(h=n).__bindingPointIndex=d=function(){for(let e=0;etypeof WebGLRenderingContext&&A instanceof WebGLRenderingContext)throw Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");t=A.getContextAttributes().alpha}else t=P;const B=new Uint32Array(4),k=new Int32Array(4);let H=null,V=null;const G=[],W=[];this.domElement=E,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=I,this.toneMapping=0,this.toneMappingExposure=1;const j=this;let X=!1,q=0,Y=0,Z=null,J=-1,K=null;const $=new e_,Q=new e_;let ee=null;const en=new tz(0);let eo=0,el=E.width,ec=E.height,eh=1,ed=null,ep=null;const ef=new e_(0,0,el,ec),em=new e_(0,0,el,ec);let eg=!1;const ev=new iS;let ey=!1,eb=!1;const eS=new e2,eM=new e2,eT=new eE,ew=new e_,eA={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let eC=!1;function eR(){return null===Z?eh:1}let eP=A;function eI(e,t){return E.getContext(e,t)}try{if("setAttribute"in E&&E.setAttribute("data-engine","three.js r171"),E.addEventListener("webglcontextlost",eU,!1),E.addEventListener("webglcontextrestored",eD,!1),E.addEventListener("webglcontextcreationerror",eO,!1),null===eP){const e="webgl2";if(eP=eI(e,{alpha:!0,depth:C,stencil:R,antialias:N,premultipliedAlpha:U,preserveDrawingBuffer:D,powerPreference:O,failIfMajorPerformanceCaveat:F}),null===eP)if(eI(e))throw Error("Error creating WebGL context with your selected attributes.");else throw Error("Error creating WebGL context.")}}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function eL(){(n=new lr(eP)).init(),M=new uk(eP,n),i=new oY(eP,n,e,M),r=new uz(eP,n),i.reverseDepthBuffer&&z&&r.buffers.depth.setReversed(!0),a=new lo(eP),s=new uw,o=new uB(eP,n,r,s,i,M,a),l=new oJ(j),u=new li(j),c=new oz(eP),T=new oX(eP,c),h=new la(eP,c,a,T),d=new lu(eP,h,c,a),x=new ll(eP,i,o),v=new oZ(s),p=new uT(j,l,u,n,i,T,v),f=new uZ(j,s),m=new uR,g=new uD(n),y=new oj(j,l,u,r,d,t,U),_=new uO(j,d,i),w=new uJ(eP,a,i,r),b=new oq(eP,n,a),S=new ls(eP,n,a),a.programs=p.programs,j.capabilities=i,j.extensions=n,j.properties=s,j.renderLists=m,j.shadowMap=_,j.state=r,j.info=a}eL();const eN=new uX(j,eP);function eU(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),X=!0}function eD(){console.log("THREE.WebGLRenderer: Context Restored."),X=!1;let e=a.autoReset,t=_.enabled,n=_.autoUpdate,i=_.needsUpdate,r=_.type;eL(),a.autoReset=e,_.enabled=t,_.autoUpdate=n,_.needsUpdate=i,_.type=r}function eO(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function eF(e){var t,n;let i,r=e.target;r.removeEventListener("dispose",eF),n=t=r,void 0!==(i=s.get(n).programs)&&(i.forEach(function(e){p.releaseProgram(e)}),n.isShaderMaterial&&p.releaseShaderCache(n)),s.remove(t)}function ez(e,t,n){!0===e.transparent&&2===e.side&&!1===e.forceSinglePass?(e.side=1,e.needsUpdate=!0,eY(e,t,n),e.side=0,e.needsUpdate=!0,eY(e,t,n),e.side=2):eY(e,t,n)}this.xr=eN,this.getContext=function(){return eP},this.getContextAttributes=function(){return eP.getContextAttributes()},this.forceContextLoss=function(){let e=n.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){let e=n.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return eh},this.setPixelRatio=function(e){void 0!==e&&(eh=e,this.setSize(el,ec,!1))},this.getSize=function(e){return e.set(el,ec)},this.setSize=function(e,t,n=!0){eN.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(el=e,ec=t,E.width=Math.floor(e*eh),E.height=Math.floor(t*eh),!0===n&&(E.style.width=e+"px",E.style.height=t+"px"),this.setViewport(0,0,e,t))},this.getDrawingBufferSize=function(e){return e.set(el*eh,ec*eh).floor()},this.setDrawingBufferSize=function(e,t,n){el=e,ec=t,eh=n,E.width=Math.floor(e*n),E.height=Math.floor(t*n),this.setViewport(0,0,e,t)},this.getCurrentViewport=function(e){return e.copy($)},this.getViewport=function(e){return e.copy(ef)},this.setViewport=function(e,t,n,i){e.isVector4?ef.set(e.x,e.y,e.z,e.w):ef.set(e,t,n,i),r.viewport($.copy(ef).multiplyScalar(eh).round())},this.getScissor=function(e){return e.copy(em)},this.setScissor=function(e,t,n,i){e.isVector4?em.set(e.x,e.y,e.z,e.w):em.set(e,t,n,i),r.scissor(Q.copy(em).multiplyScalar(eh).round())},this.getScissorTest=function(){return eg},this.setScissorTest=function(e){r.setScissorTest(eg=e)},this.setOpaqueSort=function(e){ed=e},this.setTransparentSort=function(e){ep=e},this.getClearColor=function(e){return e.copy(y.getClearColor())},this.setClearColor=function(){y.setClearColor.apply(y,arguments)},this.getClearAlpha=function(){return y.getClearAlpha()},this.setClearAlpha=function(){y.setClearAlpha.apply(y,arguments)},this.clear=function(e=!0,t=!0,n=!0){let i=0;if(e){let e=!1;if(null!==Z){let t=Z.texture.format;e=1033===t||1031===t||1029===t}if(e){let e=Z.texture.type,t=1009===e||1014===e||1012===e||1020===e||1017===e||1018===e,n=y.getClearColor(),i=y.getClearAlpha(),r=n.r,a=n.g,s=n.b;t?(B[0]=r,B[1]=a,B[2]=s,B[3]=i,eP.clearBufferuiv(eP.COLOR,0,B)):(k[0]=r,k[1]=a,k[2]=s,k[3]=i,eP.clearBufferiv(eP.COLOR,0,k))}else i|=eP.COLOR_BUFFER_BIT}t&&(i|=eP.DEPTH_BUFFER_BIT),n&&(i|=eP.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(0xffffffff)),eP.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){E.removeEventListener("webglcontextlost",eU,!1),E.removeEventListener("webglcontextrestored",eD,!1),E.removeEventListener("webglcontextcreationerror",eO,!1),y.dispose(),m.dispose(),g.dispose(),s.dispose(),l.dispose(),u.dispose(),d.dispose(),T.dispose(),w.dispose(),p.dispose(),eN.dispose(),eN.removeEventListener("sessionstart",ek),eN.removeEventListener("sessionend",eH),eV.stop()},this.renderBufferDirect=function(e,t,a,d,p,m){let g;null===t&&(t=eA);let _=p.isMesh&&0>p.matrixWorld.determinant(),y=function(e,t,n,a,c){var h,d;!0!==t.isScene&&(t=eA),o.resetTextureUnits();let p=t.fog,m=a.isMeshStandardMaterial?t.environment:null,g=null===Z?j.outputColorSpace:!0===Z.isXRRenderTarget?Z.texture.colorSpace:L,_=(a.isMeshStandardMaterial?u:l).get(a.envMap||m),y=!0===a.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,b=!!n.attributes.tangent&&(!!a.normalMap||a.anisotropy>0),S=!!n.morphAttributes.position,M=!!n.morphAttributes.normal,T=!!n.morphAttributes.color,E=0;a.toneMapped&&(null===Z||!0===Z.isXRRenderTarget)&&(E=j.toneMapping);let A=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,C=void 0!==A?A.length:0,R=s.get(a),P=V.state.lights;if(!0===ey&&(!0===eb||e!==K)){let t=e===K&&a.id===J;v.setState(a,e,t)}let I=!1;a.version===R.__version?R.needsLights&&R.lightsStateVersion!==P.state.version||R.outputColorSpace!==g||c.isBatchedMesh&&!1===R.batching?I=!0:c.isBatchedMesh||!0!==R.batching?c.isBatchedMesh&&!0===R.batchingColor&&null===c.colorTexture||c.isBatchedMesh&&!1===R.batchingColor&&null!==c.colorTexture||c.isInstancedMesh&&!1===R.instancing?I=!0:c.isInstancedMesh||!0!==R.instancing?c.isSkinnedMesh&&!1===R.skinning?I=!0:c.isSkinnedMesh||!0!==R.skinning?c.isInstancedMesh&&!0===R.instancingColor&&null===c.instanceColor||c.isInstancedMesh&&!1===R.instancingColor&&null!==c.instanceColor||c.isInstancedMesh&&!0===R.instancingMorph&&null===c.morphTexture||c.isInstancedMesh&&!1===R.instancingMorph&&null!==c.morphTexture||R.envMap!==_||!0===a.fog&&R.fog!==p||void 0!==R.numClippingPlanes&&(R.numClippingPlanes!==v.numPlanes||R.numIntersection!==v.numIntersection)||R.vertexAlphas!==y||R.vertexTangents!==b||R.morphTargets!==S||R.morphNormals!==M||R.morphColors!==T||R.toneMapping!==E?I=!0:R.morphTargetsCount!==C&&(I=!0):I=!0:I=!0:I=!0:(I=!0,R.__version=a.version);let N=R.currentProgram;!0===I&&(N=eY(a,t,c));let U=!1,D=!1,O=!1,F=N.getUniforms(),z=R.uniforms;if(r.useProgram(N.program)&&(U=!0,D=!0,O=!0),a.id!==J&&(J=a.id,D=!0),U||K!==e){r.buffers.depth.getReversed()?(eS.copy(e.projectionMatrix),ea(eS),es(eS),F.setValue(eP,"projectionMatrix",eS)):F.setValue(eP,"projectionMatrix",e.projectionMatrix),F.setValue(eP,"viewMatrix",e.matrixWorldInverse);let t=F.map.cameraPosition;void 0!==t&&t.setValue(eP,eT.setFromMatrixPosition(e.matrixWorld)),i.logarithmicDepthBuffer&&F.setValue(eP,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),(a.isMeshPhongMaterial||a.isMeshToonMaterial||a.isMeshLambertMaterial||a.isMeshBasicMaterial||a.isMeshStandardMaterial||a.isShaderMaterial)&&F.setValue(eP,"isOrthographic",!0===e.isOrthographicCamera),K!==e&&(K=e,D=!0,O=!0)}if(c.isSkinnedMesh){F.setOptional(eP,c,"bindMatrix"),F.setOptional(eP,c,"bindMatrixInverse");let e=c.skeleton;e&&(null===e.boneTexture&&e.computeBoneTexture(),F.setValue(eP,"boneTexture",e.boneTexture,o))}c.isBatchedMesh&&(F.setOptional(eP,c,"batchingTexture"),F.setValue(eP,"batchingTexture",c._matricesTexture,o),F.setOptional(eP,c,"batchingIdTexture"),F.setValue(eP,"batchingIdTexture",c._indirectTexture,o),F.setOptional(eP,c,"batchingColorTexture"),null!==c._colorsTexture&&F.setValue(eP,"batchingColorTexture",c._colorsTexture,o));let B=n.morphAttributes;if((void 0!==B.position||void 0!==B.normal||void 0!==B.color)&&x.update(c,n,N),(D||R.receiveShadow!==c.receiveShadow)&&(R.receiveShadow=c.receiveShadow,F.setValue(eP,"receiveShadow",c.receiveShadow)),a.isMeshGouraudMaterial&&null!==a.envMap&&(z.envMap.value=_,z.flipEnvMap.value=_.isCubeTexture&&!1===_.isRenderTargetTexture?-1:1),a.isMeshStandardMaterial&&null===a.envMap&&null!==t.environment&&(z.envMapIntensity.value=t.environmentIntensity),D&&(F.setValue(eP,"toneMappingExposure",j.toneMappingExposure),R.needsLights&&(h=z,d=O,h.ambientLightColor.needsUpdate=d,h.lightProbe.needsUpdate=d,h.directionalLights.needsUpdate=d,h.directionalLightShadows.needsUpdate=d,h.pointLights.needsUpdate=d,h.pointLightShadows.needsUpdate=d,h.spotLights.needsUpdate=d,h.spotLightShadows.needsUpdate=d,h.rectAreaLights.needsUpdate=d,h.hemisphereLights.needsUpdate=d),p&&!0===a.fog&&f.refreshFogUniforms(z,p),f.refreshMaterialUniforms(z,a,eh,ec,V.state.transmissionRenderTarget[e.id]),ui.upload(eP,eZ(R),z,o)),a.isShaderMaterial&&!0===a.uniformsNeedUpdate&&(ui.upload(eP,eZ(R),z,o),a.uniformsNeedUpdate=!1),a.isSpriteMaterial&&F.setValue(eP,"center",c.center),F.setValue(eP,"modelViewMatrix",c.modelViewMatrix),F.setValue(eP,"normalMatrix",c.normalMatrix),F.setValue(eP,"modelMatrix",c.matrixWorld),a.isShaderMaterial||a.isRawShaderMaterial){let e=a.uniformsGroups;for(let t=0,n=e.length;t{function i(){(r.forEach(function(e){s.get(e).currentProgram.isReady()&&r.delete(e)}),0===r.size)?t(e):setTimeout(i,10)}null!==n.get("KHR_parallel_shader_compile")?i():setTimeout(i,10)})};let eB=null;function ek(){eV.stop()}function eH(){eV.start()}const eV=new oF;function eG(e,t,n,i){if(!1===e.visible)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)V.pushLight(e),e.castShadow&&V.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ev.intersectsSprite(e)){i&&ew.setFromMatrixPosition(e.matrixWorld).applyMatrix4(eM);let t=d.update(e),r=e.material;r.visible&&H.push(e,t,r,n,ew.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ev.intersectsObject(e))){let t=d.update(e),r=e.material;if(i&&(void 0!==e.boundingSphere?(null===e.boundingSphere&&e.computeBoundingSphere(),ew.copy(e.boundingSphere.center)):(null===t.boundingSphere&&t.computeBoundingSphere(),ew.copy(t.boundingSphere.center)),ew.applyMatrix4(e.matrixWorld).applyMatrix4(eM)),Array.isArray(r)){let i=t.groups;for(let a=0,s=i.length;a0&&eX(a,t,n),s.length>0&&eX(s,t,n),o.length>0&&eX(o,t,n),r.buffers.depth.setTest(!0),r.buffers.depth.setMask(!0),r.buffers.color.setMask(!0),r.setPolygonOffset(!1)}function ej(e,t,i,r){if(null!==(!0===i.isScene?i.overrideMaterial:null))return;void 0===V.state.transmissionRenderTarget[r.id]&&(V.state.transmissionRenderTarget[r.id]=new ex(1,1,{generateMipmaps:!0,type:n.has("EXT_color_buffer_half_float")||n.has("EXT_color_buffer_float")?1016:1009,minFilter:1008,samples:4,stencilBuffer:R,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:eu.workingColorSpace}));let a=V.state.transmissionRenderTarget[r.id],s=r.viewport||$;a.setSize(s.z,s.w);let l=j.getRenderTarget();j.setRenderTarget(a),j.getClearColor(en),(eo=j.getClearAlpha())<1&&j.setClearColor(0xffffff,.5),j.clear(),eC&&y.render(i);let u=j.toneMapping;j.toneMapping=0;let c=r.viewport;if(void 0!==r.viewport&&(r.viewport=void 0),V.setupLightsView(r),!0===ey&&v.setGlobalState(j.clippingPlanes,r),eX(e,i,r),o.updateMultisampleRenderTarget(a),o.updateRenderTargetMipmap(a),!1===n.has("WEBGL_multisampled_render_to_texture")){let e=!1;for(let n=0,a=t.length;ntypeof self&&eV.setContext(self),this.setAnimationLoop=function(e){eB=e,eN.setAnimationLoop(e),null===e?eV.stop():eV.start()},eN.addEventListener("sessionstart",ek),eN.addEventListener("sessionend",eH),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===X)return;if(!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===eN.enabled&&!0===eN.isPresenting&&(!0===eN.cameraAutoUpdate&&eN.updateCamera(t),t=eN.getCamera()),!0===e.isScene&&e.onBeforeRender(j,e,t,Z),(V=g.get(e,W.length)).init(t),W.push(V),eM.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ev.setFromProjectionMatrix(eM),eb=this.localClippingEnabled,ey=v.init(this.clippingPlanes,eb),(H=m.get(e,G.length)).init(),G.push(H),!0===eN.enabled&&!0===eN.isPresenting){let e=j.xr.getDepthSensingMesh();null!==e&&eG(e,t,-1/0,j.sortObjects)}eG(e,t,0,j.sortObjects),H.finish(),!0===j.sortObjects&&H.sort(ed,ep),(eC=!1===eN.enabled||!1===eN.isPresenting||!1===eN.hasDepthSensing())&&y.addToRenderList(H,e),this.info.render.frame++,!0===ey&&v.beginShadows();let n=V.state.shadowsArray;_.render(n,e,t),!0===ey&&v.endShadows(),!0===this.info.autoReset&&this.info.reset();let i=H.opaque,r=H.transmissive;if(V.setupLights(),t.isArrayCamera){let n=t.cameras;if(r.length>0)for(let t=0,a=n.length;t0&&ej(i,r,e,t),eC&&y.render(e),eW(H,e,t);null!==Z&&(o.updateMultisampleRenderTarget(Z),o.updateRenderTargetMipmap(Z)),!0===e.isScene&&e.onAfterRender(j,e,t),T.resetDefaultState(),J=-1,K=null,W.pop(),W.length>0?(V=W[W.length-1],!0===ey&&v.setGlobalState(j.clippingPlanes,V.state.camera)):V=null,G.pop(),H=G.length>0?G[G.length-1]:null},this.getActiveCubeFace=function(){return q},this.getActiveMipmapLevel=function(){return Y},this.getRenderTarget=function(){return Z},this.setRenderTargetTextures=function(e,t,i){s.get(e.texture).__webglTexture=t,s.get(e.depthTexture).__webglTexture=i;let r=s.get(e);r.__hasExternalTextures=!0,r.__autoAllocateDepthBuffer=void 0===i,r.__autoAllocateDepthBuffer||!0!==n.has("WEBGL_multisampled_render_to_texture")||(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),r.__useRenderToTexture=!1)},this.setRenderTargetFramebuffer=function(e,t){let n=s.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e,t=0,n=0){Z=e,q=t,Y=n;let i=!0,a=null,l=!1,u=!1;if(e){let c=s.get(e);if(void 0!==c.__useDefaultFramebuffer)r.bindFramebuffer(eP.FRAMEBUFFER,null),i=!1;else if(void 0===c.__webglFramebuffer)o.setupRenderTarget(e);else if(c.__hasExternalTextures)o.rebindTextures(e,s.get(e.texture).__webglTexture,s.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){let t=e.depthTexture;if(c.__boundDepthTexture!==t){if(null!==t&&s.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");o.setupDepthRenderbuffer(e)}}let h=e.texture;(h.isData3DTexture||h.isDataArrayTexture||h.isCompressedArrayTexture)&&(u=!0);let d=s.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(a=Array.isArray(d[t])?d[t][n]:d[t],l=!0):a=e.samples>0&&!1===o.useMultisampledRTT(e)?s.get(e).__webglMultisampledFramebuffer:Array.isArray(d)?d[n]:d,$.copy(e.viewport),Q.copy(e.scissor),ee=e.scissorTest}else $.copy(ef).multiplyScalar(eh).floor(),Q.copy(em).multiplyScalar(eh).floor(),ee=eg;if(r.bindFramebuffer(eP.FRAMEBUFFER,a)&&i&&r.drawBuffers(e,a),r.viewport($),r.scissor(Q),r.setScissorTest(ee),l){let i=s.get(e.texture);eP.framebufferTexture2D(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,eP.TEXTURE_CUBE_MAP_POSITIVE_X+t,i.__webglTexture,n)}else if(u){let i=s.get(e.texture);eP.framebufferTextureLayer(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,i.__webglTexture,n||0,t||0)}J=-1},this.readRenderTargetPixels=function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){r.bindFramebuffer(eP.FRAMEBUFFER,c);try{let r=e.texture,s=r.format,u=r.type;if(!i.textureFormatReadable(s))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(u))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o&&eP.readPixels(t,n,a,o,M.convert(s),M.convert(u),l)}finally{let e=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))throw Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){let u=e.texture,h=u.format,d=u.type;if(!i.textureFormatReadable(h))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(d))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o){r.bindFramebuffer(eP.FRAMEBUFFER,c);let e=eP.createBuffer();eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.bufferData(eP.PIXEL_PACK_BUFFER,l.byteLength,eP.STREAM_READ),eP.readPixels(t,n,a,o,M.convert(h),M.convert(d),0);let i=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,i);let u=eP.fenceSync(eP.SYNC_GPU_COMMANDS_COMPLETE,0);return eP.flush(),await er(eP,u,4),eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.getBufferSubData(eP.PIXEL_PACK_BUFFER,0,l),eP.deleteBuffer(e),eP.deleteSync(u),l}throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(e,t=null,n=0){!0!==e.isTexture&&(ei("WebGLRenderer: copyFramebufferToTexture function signature has changed."),t=arguments[0]||null,e=arguments[1]);let i=Math.pow(2,-n),a=Math.floor(e.image.width*i),s=Math.floor(e.image.height*i),l=null!==t?t.x:0,u=null!==t?t.y:0;o.setTexture2D(e,0),eP.copyTexSubImage2D(eP.TEXTURE_2D,n,0,0,l,u,a,s),r.unbindTexture()};const eK=eP.createFramebuffer(),e$=eP.createFramebuffer();this.copyTextureToTexture=function(e,t,n=null,i=null,a=0,l=null){let u,c,h,d,p,f,m,g,v,_;!0!==e.isTexture&&(ei("WebGLRenderer: copyTextureToTexture function signature has changed."),i=arguments[0]||null,e=arguments[1],t=arguments[2],l=arguments[3]||0,n=null),null===l&&(0!==a?(ei("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),l=a,a=0):l=0);let y=e.isCompressedTexture?e.mipmaps[l]:e.image;if(null!==n)u=n.max.x-n.min.x,c=n.max.y-n.min.y,h=n.isBox3?n.max.z-n.min.z:1,d=n.min.x,p=n.min.y,f=n.isBox3?n.min.z:0;else{let t=Math.pow(2,-a);u=Math.floor(y.width*t),c=Math.floor(y.height*t),h=e.isDataArrayTexture?y.depth:e.isData3DTexture?Math.floor(y.depth*t):1,d=0,p=0,f=0}null!==i?(m=i.x,g=i.y,v=i.z):(m=0,g=0,v=0);let x=M.convert(t.format),b=M.convert(t.type);t.isData3DTexture?(o.setTexture3D(t,0),_=eP.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(o.setTexture2DArray(t,0),_=eP.TEXTURE_2D_ARRAY):(o.setTexture2D(t,0),_=eP.TEXTURE_2D),eP.pixelStorei(eP.UNPACK_FLIP_Y_WEBGL,t.flipY),eP.pixelStorei(eP.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),eP.pixelStorei(eP.UNPACK_ALIGNMENT,t.unpackAlignment);let S=eP.getParameter(eP.UNPACK_ROW_LENGTH),T=eP.getParameter(eP.UNPACK_IMAGE_HEIGHT),w=eP.getParameter(eP.UNPACK_SKIP_PIXELS),E=eP.getParameter(eP.UNPACK_SKIP_ROWS),A=eP.getParameter(eP.UNPACK_SKIP_IMAGES);eP.pixelStorei(eP.UNPACK_ROW_LENGTH,y.width),eP.pixelStorei(eP.UNPACK_IMAGE_HEIGHT,y.height),eP.pixelStorei(eP.UNPACK_SKIP_PIXELS,d),eP.pixelStorei(eP.UNPACK_SKIP_ROWS,p),eP.pixelStorei(eP.UNPACK_SKIP_IMAGES,f);let C=e.isDataArrayTexture||e.isData3DTexture,R=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=s.get(e),i=s.get(t),o=s.get(n.__renderTarget),_=s.get(i.__renderTarget);r.bindFramebuffer(eP.READ_FRAMEBUFFER,o.__webglFramebuffer),r.bindFramebuffer(eP.DRAW_FRAMEBUFFER,_.__webglFramebuffer);for(let n=0;ntypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return 2e3}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;let t=this.getContext();t.drawingBufferColorspace=eu._getDrawingBufferColorSpace(e),t.unpackColorSpace=eu._getUnpackColorSpace()}}e.s(["PMREMGenerator",0,o8,"ShaderChunk",0,oB,"ShaderLib",0,oH,"UniformsLib",0,ok,"WebGLRenderer",0,uK,"WebGLUtils",0,uk],8560);var u$=e.i(30224);let uQ=e=>{let t,n=new Set,i=(e,i)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=i?i:"object"!=typeof r||null===r)?r:Object.assign({},t,r),n.forEach(n=>n(t,e))}},r=()=>t,a={setState:i,getState:r,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(i,r,a);return a},u0=e=>e?uQ(e):uQ;e.s(["createStore",0,u0],8155);let{useSyncExternalStoreWithSelector:u1}=u$.default,u2=(e,t)=>{let n=u0(e),i=(e,i=t)=>(function(e,t=e=>e,n){let i=u1(e.subscribe,e.getState,e.getInitialState,t,n);return E.default.useDebugValue(i),i})(n,e,i);return Object.assign(i,n),i},u3=(e,t)=>e?u2(e,t):u2,u4=[];function u5(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;let i=e.length;if(t.length!==i)return!1;for(let r=0;r0&&(r.timeout&&clearTimeout(r.timeout),r.timeout=setTimeout(r.remove,i.lifespan)),r.response;if(!n)throw r.promise}let r={keys:t,equal:i.equal,remove:()=>{let e=u4.indexOf(r);-1!==e&&u4.splice(e,1)},promise:("object"==typeof e&&"function"==typeof e.then?e:e(...t)).then(e=>{r.response=e,i.lifespan&&i.lifespan>0&&(r.timeout=setTimeout(r.remove,i.lifespan))}).catch(e=>r.error=e)};if(u4.push(r),!n)throw r.promise}var u8=e.i(89499),u9=e.i(43476),u7=E;function ce(e,t,n){if(!e)return;if(!0===n(e))return e;let i=t?e.return:e.child;for(;i;){let e=ce(i,t,n);if(e)return e;i=t?null:i.sibling}}function ct(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}"u">typeof window&&((null==(y=window.document)?void 0:y.createElement)||(null==(x=window.navigator)?void 0:x.product)==="ReactNative")?u7.useLayoutEffect:u7.useEffect;let cn=ct(u7.createContext(null));class ci extends u7.Component{render(){return u7.createElement(cn.Provider,{value:this._reactInternals},this.props.children)}}function cr(){let e=u7.useContext(cn);if(null===e)throw Error("its-fine: useFiber must be called within a !");let t=u7.useId();return u7.useMemo(()=>{for(let n of[e,null==e?void 0:e.alternate]){if(!n)continue;let e=ce(n,!1,e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}});if(e)return e}},[e,t])}let ca=Symbol.for("react.context"),cs=e=>null!==e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ca;function co(e){let t=e.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}E.act;let cl=e=>e&&e.hasOwnProperty("current"),cu=e=>null!=e&&("string"==typeof e||"number"==typeof e||e.isColor),cc="u">typeof window&&((null==(m=window.document)?void 0:m.createElement)||(null==(g=window.navigator)?void 0:g.product)==="ReactNative")?E.useLayoutEffect:E.useEffect;function ch(e){let t=E.useRef(e);return cc(()=>void(t.current=e),[e]),t}function cd(){let e,t=cr(),n=(e=function(){let e=cr(),[t]=u7.useState(()=>new Map);t.clear();let n=e;for(;n;){let e=n.type;cs(e)&&e!==cn&&!t.has(e)&&t.set(e,u7.use(ct(e))),n=n.return}return t}(),u7.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>i=>u7.createElement(t,null,u7.createElement(n.Provider,{...i,value:e.get(n)})),e=>u7.createElement(ci,{...e})),[e]));return E.useMemo(()=>({children:e})=>{let i=ce(t,!0,e=>e.type===E.StrictMode)?E.StrictMode:E.Fragment;return(0,u9.jsx)(i,{children:(0,u9.jsx)(n,{children:e})})},[t,n])}function cp({set:e}){return cc(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}let cf=((v=class extends E.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}).getDerivedStateFromError=()=>({error:!0}),v);function cm(e){var t;let n="u">typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}function cg(e){var t;return null==(t=e.__r3f)?void 0:t.root.getState()}let cv={obj:e=>e===Object(e)&&!cv.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,nul:e=>null===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:i="reference",strict:r=!0}={}){let a;if(typeof e!=typeof t||!!e!=!!t)return!1;if(cv.str(e)||cv.num(e)||cv.boo(e))return e===t;let s=cv.obj(e);if(s&&"reference"===i)return e===t;let o=cv.arr(e);if(o&&"reference"===n)return e===t;if((o||s)&&e===t)return!0;for(a in e)if(!(a in t))return!1;if(s&&"shallow"===n&&"shallow"===i){for(a in r?t:e)if(!cv.equ(e[a],t[a],{strict:r,objects:"reference"}))return!1}else for(a in r?t:e)if(e[a]!==t[a])return!1;if(cv.und(a)){if(o&&0===e.length&&0===t.length||s&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}},c_=["children","key","ref"];function cy(e,t,n,i){let r=null==e?void 0:e.__r3f;return!r&&(r={root:t,type:n,parent:null,children:[],props:function(e){let t={};for(let n in e)c_.includes(n)||(t[n]=e[n]);return t}(i),object:e,eventCount:0,handlers:{},isHidden:!1},e&&(e.__r3f=r)),r}function cx(e,t){if(!t.includes("-")||t in e)return{root:e,key:t,target:e[t]};let n=e,i=t.split("-");for(let r of i){if("object"!=typeof n||null===n){if(void 0!==n)return{root:n,key:i.slice(i.indexOf(r)).join("-"),target:void 0};return{root:e,key:t,target:void 0}}t=r,e=n,n=n[t]}return{root:e,key:t,target:n}}let cb=/-\d+$/;function cS(e,t){if(cv.str(t.props.attach)){if(cb.test(t.props.attach)){let n=t.props.attach.replace(cb,""),{root:i,key:r}=cx(e.object,n);Array.isArray(i[r])||(i[r]=[])}let{root:n,key:i}=cx(e.object,t.props.attach);t.previousAttach=n[i],n[i]=t.object}else cv.fun(t.props.attach)&&(t.previousAttach=t.props.attach(e.object,t.object))}function cM(e,t){if(cv.str(t.props.attach)){let{root:n,key:i}=cx(e.object,t.props.attach),r=t.previousAttach;void 0===r?delete n[i]:n[i]=r}else null==t.previousAttach||t.previousAttach(e.object,t.object);delete t.previousAttach}let cT=[...c_,"args","dispose","attach","object","onUpdate","dispose"],cw=new Map,cE=["map","emissiveMap","sheenColorMap","specularColorMap","envMap"],cA=/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/;function cC(e,t){var n,i;let r=e.__r3f,a=r&&co(r).getState(),s=null==r?void 0:r.eventCount;for(let n in t){let s=t[n];if(cT.includes(n))continue;if(r&&cA.test(n)){"function"==typeof s?r.handlers[n]=s:delete r.handlers[n],r.eventCount=Object.keys(r.handlers).length;continue}if(void 0===s)continue;let{root:o,key:l,target:u}=cx(e,n);if(void 0===u&&("object"!=typeof o||null===o))throw Error(`R3F: Cannot set "${n}". Ensure it is an object before setting "${l}".`);if(u instanceof ti&&s instanceof ti)u.mask=s.mask;else if(u instanceof tz&&cu(s))u.set(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"function"==typeof u.copy&&null!=s&&s.constructor&&u.constructor===s.constructor)u.copy(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&Array.isArray(s))"function"==typeof u.fromArray?u.fromArray(s):u.set(...s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"number"==typeof s)"function"==typeof u.setScalar?u.setScalar(s):u.set(s);else if(o instanceof nb&&"uniforms"===l&&cv.obj(s)){cv.obj(o.uniforms)||(o.uniforms={});let e=o.uniforms;for(let t in s){let n=s[t],i=e[t];i?Object.assign(i,n):e[t]={...n}}}else o[l]=s,a&&!a.linear&&cE.includes(l)&&null!=(i=o[l])&&i.isTexture&&1023===o[l].format&&1009===o[l].type&&(o[l].colorSpace=I)}if(null!=r&&r.parent&&null!=a&&a.internal&&null!=(n=r.object)&&n.isObject3D&&s!==r.eventCount){let e=r.object,t=a.internal.interaction.indexOf(e);t>-1&&a.internal.interaction.splice(t,1),r.eventCount&&null!==e.raycast&&a.internal.interaction.push(e)}return r&&void 0===r.props.attach&&(r.object.isBufferGeometry?r.props.attach="geometry":r.object.isMaterial&&(r.props.attach="material")),r&&cR(r),e}function cR(e){var t;if(!e.parent)return;null==e.props.onUpdate||e.props.onUpdate(e.object);let n=null==(t=e.root)||null==t.getState?void 0:t.getState();n&&0===n.internal.frames&&n.invalidate()}function cP(e,t){!e.manual&&(e&&e.isOrthographicCamera?(e.left=-(t.width/2),e.right=t.width/2,e.top=t.height/2,e.bottom=-(t.height/2)):e.aspect=t.width/t.height,e.updateProjectionMatrix())}let cI=e=>null==e?void 0:e.isObject3D;function cL(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function cN(e,t,n,i){let r=n.get(t);r&&(n.delete(t),0===n.size&&(e.delete(i),r.target.releasePointerCapture(i)))}let cU=e=>!!(null!=e&&e.render),cD=E.createContext(null);function cO(){let e=E.useContext(cD);if(!e)throw Error("R3F: Hooks can only be used within the Canvas component!");return e}function cF(e=e=>e,t){return cO()(e,t)}function cz(e,t=0){let n=cO(),i=n.getState().internal.subscribe,r=ch(e);return cc(()=>i(r,t,n),[t,i,n]),null}let cB=new WeakMap;function ck(e,t){return function(n,...i){var r;let a;return"function"==typeof n&&(null==n||null==(r=n.prototype)?void 0:r.constructor)===n?(a=cB.get(n))||(a=new n,cB.set(n,a)):a=n,e&&e(a),Promise.all(i.map(e=>new Promise((n,i)=>a.load(e,e=>{var t;let i;cI(null==e?void 0:e.scene)&&Object.assign(e,(t=e.scene,i={nodes:{},materials:{},meshes:{}},t&&t.traverse(e=>{e.name&&(i.nodes[e.name]=e),e.material&&!i.materials[e.material.name]&&(i.materials[e.material.name]=e.material),e.isMesh&&!i.meshes[e.name]&&(i.meshes[e.name]=e)}),i)),n(e)},t,t=>i(Error(`Could not load ${e}: ${null==t?void 0:t.message}`))))))}}function cH(e,t,n,i){let r=Array.isArray(t)?t:[t],a=u6(ck(n,i),[e,...r],!1,{equal:cv.equ});return Array.isArray(t)?a:a[0]}cH.preload=function(e,t,n){let i,r=Array.isArray(t)?t:[t];u6(ck(n),[e,...r],!0,i)},cH.clear=function(e,t){var n=[e,...Array.isArray(t)?t:[t]];if(void 0===n||0===n.length)u4.splice(0,u4.length);else{let e=u4.find(e=>u5(n,e.keys,e.equal));e&&e.remove()}};var cV={exports:{}},cG={exports:{}};cG.exports;let cW=(T||(T=1,M||(M=1,cG.exports=function(e){function t(e,t,n,i){return new iJ(e,t,n,i)}function n(){}function i(e){var t="https://react.dev/errors/"+e;if(1sT||(e.current=sM[sT],sM[sT]=null,sT--)}function h(e,t){sM[++sT]=e.current,e.current=t}function d(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function p(e,t,n){var i=e.pendingLanes;if(0===i)return 0;var r=0,a=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var o=0x7ffffff&i;return 0!==o?0!=(i=o&~a)?r=d(i):0!=(s&=o)?r=d(s):n||0!=(n=o&~e)&&(r=d(n)):0!=(o=i&~a)?r=d(o):0!==s?r=d(s):n||0!=(n=i&~e)&&(r=d(n)),0===r?0:0!==t&&t!==r&&(t&a)==0&&((a=r&-r)>=(n=t&-t)||32===a&&(4194048&n)!=0)?t:r}function f(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)==0}function m(){var e=sI;return(0x3c00000&(sI<<=1))==0&&(sI=4194304),e}function g(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function v(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function _(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-sE(t);e.entangledLanes|=t,e.entanglements[i]=0x40000000|e.entanglements[i]|261930&n}function y(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-sE(n),r=1<)":-1r||l[i]!==u[r]){var c=` -`+l[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=r)break}}}finally{sY=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?T(n):""}function C(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return T(e.type);case 16:return T("Lazy");case 13:return e.child!==t&&null!==t?T("Suspense Fallback"):T("Suspense");case 19:return T("SuspenseList");case 0:case 15:return A(e.type,!1);case 11:return A(e.type.render,!1);case 1:return A(e.type,!0);case 31:return T("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}function R(e,t){if("object"==typeof e&&null!==e){var n=sZ.get(e);return void 0!==n?n:(t={value:e,source:t,stack:C(t)},sZ.set(e,t),t)}return{value:e,source:t,stack:C(t)}}function P(e,t){sJ[sK++]=sQ,sJ[sK++]=s$,s$=e,sQ=t}function I(e,t,n){s0[s1++]=s3,s0[s1++]=s4,s0[s1++]=s2,s2=e;var i=s3;e=s4;var r=32-sE(i)-1;i&=~(1<>=s,r-=s,s3=1<<32-sE(t)+r|n<d?(p=h,h=null):p=h.sibling;var v=m(t,h,s[d],o);if(null===v){null===h&&(h=p);break}e&&h&&null===v.alternate&&n(t,h),i=l(v,i,d),null===c?u=v:c.sibling=v,c=v,h=p}if(d===s.length)return r(t,h),ot&&P(t,d),u;if(null===h){for(;dp?(v=d,d=null):v=d.sibling;var y=m(t,d,_.value,u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&n(t,d),s=l(y,s,p),null===h?c=y:h.sibling=y,h=y,d=v}if(_.done)return r(t,d),ot&&P(t,p),c;if(null===d){for(;!_.done;p++,_=o.next())null!==(_=f(t,_.value,u))&&(s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return ot&&P(t,p),c}for(d=a(d);!_.done;p++,_=o.next())null!==(_=g(d,t,p,_.value,u))&&(e&&null!==_.alternate&&d.delete(null===_.key?p:_.key),s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return e&&d.forEach(function(e){return n(t,e)}),ot&&P(t,p),c}(c,h,d=v.call(d),p)}if("function"==typeof d.then)return t(c,h,eM(d),p);if(d.$$typeof===rd)return t(c,h,ee(c,d),p);ew(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==h&&6===h.tag?(r(c,h.sibling),(p=s(h,d)).return=c):(r(c,h),(p=i2(d,c.mode,p)).return=c),u(c=p)):r(c,h)}(c,h,d,p);return oR=null,v}catch(e){if(e===oT||e===oE)throw e;var _=t(29,e,null,c.mode);return _.lanes=p,_.return=c,_}finally{}}}function eA(){for(var e=oU,t=oD=oU=0;ta?a:8);var s=rM.T,o={};rM.T=o,t$(e,!1,t,n);try{var l=r(),u=rM.S;if(null!==u&&u(o,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,h,d=(c=[],h={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){h.status="fulfilled",h.value=i;for(var e=0;e";case lu:return":has("+(id(e)||"")+")";case lc:return'[role="'+e.value+'"]';case ld:return'"'+e.value+'"';case lh:return'[data-testname="'+e.value+'"]';default:throw Error(i(365))}}function ip(e,t){var n=[];e=[e,0];for(var i=0;ilO&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=eK(s))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,nD(t,e),nO(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ot)return nF(t),null}else 2*sO()-r.renderingStartTime>lO&&0x20000000!==n&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(e=r.last)?e.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=sO(),e.sibling=null,n=oV.current,h(oV,a?1&n|2:1&n),ot&&P(t,r.treeForkCount),e):(nF(t),null);case 22:case 23:return eJ(t),ej(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(0x20000000&n)!=0&&(128&t.flags)==0&&(nF(t),6&t.subtreeFlags&&(t.flags|=8192)):nF(t),null!==(n=t.updateQueue)&&nD(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&c(oM),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),q(oh),nF(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}(t.alternate,t,lT);if(null!==n){lv=n;return}if(null!==(t=t.sibling)){lv=t;return}lv=t=e}while(null!==t)0===lw&&(lw=5)}function iD(e,t){do{var n=function(e,t){switch(N(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return q(oh),O(),(65536&(e=t.flags))!=0&&(128&e)==0?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return z(t),null;case 31:if(null!==t.memoizedState){if(eJ(t),null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(eJ(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return c(oV),null;case 4:return O(),null;case 10:return q(t.type),null;case 22:case 23:return eJ(t),ej(),null!==e&&c(oM),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return q(oh),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lv=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){lv=e;return}lv=e=n}while(null!==e)lw=6,lv=null}function iO(e,t,n,r,a,s,o,l,u){e.cancelPendingCommit=null;do iH();while(0!==lB)if((6&lm)!=0)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(function(e,t,n,i,r,a){var s=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var o=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=s&~n;0n?32:n;n=rM.T;var a=rq();try{rX(r),rM.T=null,r=lW,lW=null;var s=lk,o=lV;if(lB=0,lH=lk=null,lV=0,(6&lm)!=0)throw Error(i(331));var l=lm;if(lm|=4,il(s.current),it(s,s.current,o,r),lm=l,es(0,!1),sW&&"function"==typeof sW.onPostCommitFiberRoot)try{sW.onPostCommitFiberRoot(sG,s)}catch{}return!0}finally{rX(a),rM.T=n,ik(e,t)}}function iG(e,t,n){t=R(n,t),t=t9(e.stateNode,t,2),null!==(e=eO(e,t,2))&&(v(e,2),ea(e))}function iW(e,t,n){if(3===e.tag)iG(e,e,n);else for(;null!==t;){if(3===t.tag){iG(t,e,n);break}if(1===t.tag){var i=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===lz||!lz.has(i))){e=R(n,e),null!==(i=eO(t,n=t7(2),2))&&(ne(n,i,t,e),v(i,2),ea(i));break}}t=t.return}}function ij(e,t,n){var i=e.pingCache;if(null===i){i=e.pingCache=new lf;var r=new Set;i.set(t,r)}else void 0===(r=i.get(t))&&(r=new Set,i.set(t,r));r.has(n)||(lM=!0,r.add(n),e=iX.bind(null,e,t,n),t.then(e,e))}function iX(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lg===e&&(l_&n)===n&&(4===lw||3===lw&&(0x3c00000&l_)===l_&&300>sO()-lU?(2&lm)==0&&iT(e,0):lC|=n,lP===l_&&(lP=0)),ea(e)}function iq(e,t){0===t&&(t=m()),null!==(e=eP(e,t))&&(v(e,t),ea(e))}function iY(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),iq(e,n)}function iZ(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),iq(e,n)}function iJ(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function iK(e){return!(!(e=e.prototype)||!e.isReactComponent)}function i$(e,n){var i=e.alternate;return null===i?((i=t(e.tag,n,e.key,e.mode)).elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=0x3e00000&e.flags,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function iQ(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function i0(e,n,r,a,s,o){var l=0;if(a=e,"function"==typeof e)iK(e)&&(l=1);else if("string"==typeof e)l=si&&sv?sr(e,r,s5.current)?26:sb(e)?27:5:si?sr(e,r,s5.current)?26:5:sv&&sb(e)?27:5;else o:switch(e){case r_:return(e=t(31,r,n,s)).elementType=r_,e.lanes=o,e;case rl:return i1(r.children,s,o,n);case ru:l=8,s|=24;break;case rc:return(e=t(12,r,n,2|s)).elementType=rc,e.lanes=o,e;case rf:return(e=t(13,r,n,s)).elementType=rf,e.lanes=o,e;case rm:return(e=t(19,r,n,s)).elementType=rm,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case rd:l=10;break o;case rh:l=9;break o;case rp:l=11;break o;case rg:l=14;break o;case rv:l=16,a=null;break o}l=29,r=Error(i(130,null===e?"null":typeof e,"")),a=null}return(n=t(l,r,n,s)).elementType=e,n.type=a,n.lanes=o,n}function i1(e,n,i,r){return(e=t(7,e,r,n)).lanes=i,e}function i2(e,n,i){return(e=t(6,e,null,n)).lanes=i,e}function i3(e){var n=t(18,null,null,0);return n.stateNode=e,n}function i4(e,n,i){return(n=t(4,null!==e.children?e.children:[],e.key,n)).lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function i5(e,t,n,i,r,a,s,o,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=rB,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=g(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=g(0),this.hiddenUpdates=g(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=a,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function i6(e,n,i,r,a,s,o,l,u,c,h,d){return e=new i5(e,n,i,o,u,c,h,d,l),n=1,!0===s&&(n|=24),s=t(3,null,null,n),e.current=s,s.stateNode=e,n=en(),n.refCount++,e.pooledCache=n,n.refCount++,s.memoizedState={element:r,isDehydrated:i,cache:n},eN(s),e}function i8(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(i(188)):Error(i(268,e=Object.keys(e).join(",")));return null===(e=null!==(e=s(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:rA(e.stateNode)}function i9(e,t,n,i,r,a){r=sw,null===i.context?i.context=r:i.pendingContext=r,(i=eD(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(i.callback=a),null!==(n=eO(e,i,t))&&(i_(n,e,t),eF(n,e,t))}function i7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n>>=0)?32:31-(sA(e)/sC|0)|0},sA=Math.log,sC=Math.LN2,sR=256,sP=262144,sI=4194304,sL=ri.unstable_scheduleCallback,sN=ri.unstable_cancelCallback,sU=ri.unstable_shouldYield,sD=ri.unstable_requestPaint,sO=ri.unstable_now,sF=ri.unstable_ImmediatePriority,sz=ri.unstable_UserBlockingPriority,sB=ri.unstable_NormalPriority,sk=ri.unstable_IdlePriority,sH=ri.log,sV=ri.unstable_setDisableYieldValue,sG=null,sW=null,sj="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sX="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof w.default&&"function"==typeof w.default.emit)return void w.default.emit("uncaughtException",e);console.error(e)},sq=Object.prototype.hasOwnProperty,sY=!1,sZ=new WeakMap,sJ=[],sK=0,s$=null,sQ=0,s0=[],s1=0,s2=null,s3=1,s4="",s5=u(null),s6=u(null),s8=u(null),s9=u(null),s7=null,oe=null,ot=!1,on=null,oi=!1,or=Error(i(519)),oa=u(null),os=null,oo=null,ol="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ou=ri.unstable_scheduleCallback,oc=ri.unstable_NormalPriority,oh={$$typeof:rd,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},od=null,op=null,of=!1,om=!1,og=!1,ov=0,o_=null,oy=0,ox=0,ob=null,oS=rM.S;rM.S=function(e,t){lD=sO(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===o_){var t=o_=[];oy=0,ox=ed(),ob={status:"pending",value:void 0,then:function(e){t.push(e)}}}oy++,e.then(ep,ep)}(t),null!==oS&&oS(e,t)};var oM=u(null),oT=Error(i(460)),ow=Error(i(474)),oE=Error(i(542)),oA={then:function(){}},oC=null,oR=null,oP=0,oI=eE(!0),oL=eE(!1),oN=[],oU=0,oD=0,oO=!1,oF=!1,oz=u(null),oB=u(0),ok=u(null),oH=null,oV=u(0),oG=0,oW=null,oj=null,oX=null,oq=!1,oY=!1,oZ=!1,oJ=0,oK=0,o$=null,oQ=0,o0={readContext:Q,use:tt,useCallback:e$,useContext:e$,useEffect:e$,useImperativeHandle:e$,useLayoutEffect:e$,useInsertionEffect:e$,useMemo:e$,useReducer:e$,useRef:e$,useState:e$,useDebugValue:e$,useDeferredValue:e$,useTransition:e$,useSyncExternalStore:e$,useId:e$,useHostTransitionStatus:e$,useFormState:e$,useActionState:e$,useOptimistic:e$,useMemoCache:e$,useCacheRefresh:e$};o0.useEffectEvent=e$;var o1={readContext:Q,use:tt,useCallback:function(e,t){return e8().memoizedState=[e,void 0===t?null:t],e},useContext:Q,useEffect:tI,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,tR(4194308,4,tO.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tR(4194308,4,e,t)},useInsertionEffect:function(e,t){tR(4,2,e,t)},useMemo:function(e,t){var n=e8();t=void 0===t?null:t;var i=e();return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=e8();if(void 0!==n)var r=n(t);else r=t;return i.memoizedState=i.baseState=r,i.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},e=e.dispatch=tZ.bind(null,oW,e),[i.memoizedState,e]},useRef:function(e){return e8().memoizedState={current:e}},useState:function(e){var t=(e=tp(e)).queue,n=tJ.bind(null,oW,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:tz,useDeferredValue:function(e,t){return tH(e8(),e,t)},useTransition:function(){var e=tp(!1);return e=tG.bind(null,oW,e.queue,!0,!1),e8().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=oW,a=e8();if(ot){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===lg)throw Error(i(349));(127&l_)!=0||tl(r,t,n)}a.memoizedState=n;var s={value:n,getSnapshot:t};return a.queue=s,tI(tc.bind(null,r,s,e),[e]),r.flags|=2048,tA(9,{destroy:void 0},tu.bind(null,r,s,n,t),null),n},useId:function(){var e=e8(),t=lg.identifierPrefix;if(ot){var n=s4,i=s3;t="_"+t+"R_"+(n=(i&~(1<<32-sE(i)-1)).toString(32)+n),0<(n=oJ++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=oQ++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tj,useFormState:tS,useActionState:tS,useOptimistic:function(e){var t=e8();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=t$.bind(null,oW,!0,n),n.dispatch=t,[e,t]},useMemoCache:tn,useCacheRefresh:function(){return e8().memoizedState=tY.bind(null,oW)},useEffectEvent:function(e){var t=e8(),n={impl:e};return t.memoizedState=n,function(){if((2&lm)!=0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},o2={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:tr,useRef:tC,useState:function(){return tr(ti)},useDebugValue:tz,useDeferredValue:function(e,t){return tV(e9(),oj.memoizedState,e,t)},useTransition:function(){var e=tr(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tM,useActionState:tM,useOptimistic:function(e,t){return tf(e9(),oj,e,t)},useMemoCache:tn,useCacheRefresh:tq};o2.useEffectEvent=tN;var o3={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:ts,useRef:tC,useState:function(){return ts(ti)},useDebugValue:tz,useDeferredValue:function(e,t){var n=e9();return null===oj?tH(n,e,t):tV(n,oj.memoizedState,e,t)},useTransition:function(){var e=ts(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tE,useActionState:tE,useOptimistic:function(e,t){var n=e9();return null!==oj?tf(n,oj,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:tn,useCacheRefresh:tq};o3.useEffectEvent=tN;var o4={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.tag=1,r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ig(),i=eD(n);i.tag=2,null!=t&&(i.callback=t),null!==(t=eO(e,i,n))&&(i_(t,e,n),eF(t,e,n))}},o5=Error(i(461)),o6=!1,o8={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},o9=!1,o7=!1,le=!1,lt="function"==typeof WeakSet?WeakSet:Set,ln=null,li=null,lr=!1,la=null,ls=8192,lo={getCacheForType:function(e){var t=Q(oh),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Q(oh).controller.signal}},ll=0,lu=1,lc=2,lh=3,ld=4;if("function"==typeof Symbol&&Symbol.for){var lp=Symbol.for;ll=lp("selector.component"),lu=lp("selector.has_pseudo_class"),lc=lp("selector.role"),lh=lp("selector.test_id"),ld=lp("selector.text")}var lf="function"==typeof WeakMap?WeakMap:Map,lm=0,lg=null,lv=null,l_=0,ly=0,lx=null,lb=!1,lS=!1,lM=!1,lT=0,lw=0,lE=0,lA=0,lC=0,lR=0,lP=0,lI=null,lL=null,lN=!1,lU=0,lD=0,lO=1/0,lF=null,lz=null,lB=0,lk=null,lH=null,lV=0,lG=0,lW=null,lj=null,lX=0,lq=null;return rt.attemptContinuousHydration=function(e){if(13===e.tag||31===e.tag){var t=eP(e,0x4000000);null!==t&&i_(t,e,0x4000000),re(e,0x4000000)}},rt.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag||31===e.tag){var t=ig(),n=eP(e,t=b(t));null!==n&&i_(n,e,t),re(e,t)}},rt.attemptSynchronousHydration=function(e){switch(e.tag){case 3:if((e=e.stateNode).current.memoizedState.isDehydrated){var t=d(e.pendingLanes);if(0!==t){for(e.pendingLanes|=2,e.entangledLanes|=2;t;){var n=1<<31-sE(t);e.entanglements[1]|=n,t&=~n}ea(e),(6&lm)==0&&(lO=sO()+500,es(0,!1))}}break;case 31:case 13:null!==(t=eP(e,2))&&i_(t,e,2),iS(),re(e,2)}},rt.batchedUpdates=function(e,t){return e(t)},rt.createComponentSelector=function(e){return{$$typeof:ll,value:e}},rt.createContainer=function(e,t,n,i,r,a,s,o,l,u){return i6(e,t,!1,null,n,i,a,null,s,o,l,u)},rt.createHasPseudoClassSelector=function(e){return{$$typeof:lu,value:e}},rt.createHydrationContainer=function(e,t,n,i,r,a,s,o,l,u,c,h,d,p){var f;return(e=i6(n,i,!0,e,r,a,o,p,l,u,c,h)).context=sw,n=e.current,(r=eD(i=b(i=ig()))).callback=null!=(f=t)?f:null,eO(n,r,i),t=i,e.current.lanes=t,v(e,t),ea(e),e},rt.createPortal=function(e,t,n){var i=3=c&&s>=d&&a<=h&&o<=p){e.splice(t,1);break}if(r!==c||n.width!==u.width||po){if(!(s!==d||n.height!==u.height||ha)){c>r&&(u.width+=c-r,u.x=r),hs&&(u.height+=d-s,u.y=s),pn&&(n=l)),l ")+` - -No matching component was found for: - `+e.join(" > ")}return null},rt.getPublicRootInstance=function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 27:case 5:return rA(e.child.stateNode);default:return e.child.stateNode}},rt.injectIntoDevTools=function(){var e={bundleType:0,version:rT,rendererPackageName:rw,currentDispatcherRef:rM,reconcilerVersion:"19.2.0"};if(null!==rE&&(e.rendererConfig=rE),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{sG=t.inject(e),sW=t}catch{}e=!!t.checkDCE}}return e},rt.isAlreadyRendering=function(){return(6&lm)!=0},rt.observeVisibleRects=function(e,t,n,r){if(!r7)throw Error(i(363));var a=as(e=im(e,t),n,r).disconnect;return{disconnect:function(){a()}}},rt.shouldError=function(){return null},rt.shouldSuspend=function(){return!1},rt.startHostTransition=function(e,t,r,a){if(5!==e.tag)throw Error(i(476));var s=tW(e).queue;tG(e,s,t,r4,null===r?n:function(){var t=tW(e);return null===t.next&&(t=e.alternate.memoizedState),tK(e,t.next.queue,{},ig()),r(a)})},rt.updateContainer=function(e,t,n,i){var r=t.current,a=ig();return i9(r,a,e,t,n,i),a},rt.updateContainerSync=function(e,t,n,i){return i9(t.current,2,e,t,n,i),2},rt},cG.exports.default=cG.exports,Object.defineProperty(cG.exports,"__esModule",{value:!0})),cV.exports=cG.exports),(b=cV.exports)&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default"))?b.default:b,cj={},cX=/^three(?=[A-Z])/,cq=e=>`${e[0].toUpperCase()}${e.slice(1)}`,cY=0;function cZ(e){if("function"==typeof e){let t=`${cY++}`;return cj[t]=e,t}Object.assign(cj,e)}function cJ(e,t){let n=cq(e),i=cj[n];if("primitive"!==e&&!i)throw Error(`R3F: ${n} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if("primitive"===e&&!t.object)throw Error("R3F: Primitives without 'object' are invalid!");if(void 0!==t.args&&!Array.isArray(t.args))throw Error("R3F: The args prop must be an array!")}function cK(e){if(e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cS(e.parent,e):cI(e.object)&&!1!==e.props.visible&&(e.object.visible=!0),e.isHidden=!1,cR(e)}}function c$(e,t,n){let i=t.root.getState();if(e.parent||e.object===i.scene){if(!t.object){var r,a;let e=cj[cq(t.type)];t.object=null!=(r=t.props.object)?r:new e(...null!=(a=t.props.args)?a:[]),t.object.__r3f=t}if(cC(t.object,t.props),t.props.attach)cS(e,t);else if(cI(t.object)&&cI(e.object)){let i=e.object.children.indexOf(null==n?void 0:n.object);if(n&&-1!==i){let n=e.object.children.indexOf(t.object);-1!==n?(e.object.children.splice(n,1),e.object.children.splice(n{try{e.dispose()}catch{}};"u">typeof IS_REACT_ACT_ENVIRONMENT?t():(0,u8.unstable_scheduleCallback)(u8.unstable_IdlePriority,t)}}function c2(e,t,n){if(!t)return;t.parent=null;let i=e.children.indexOf(t);-1!==i&&e.children.splice(i,1),t.props.attach?cM(e,t):cI(t.object)&&cI(e.object)&&(e.object.remove(t.object),function(e,t){let{internal:n}=e.getState();n.interaction=n.interaction.filter(e=>e!==t),n.initialHits=n.initialHits.filter(e=>e!==t),n.hovered.forEach((e,i)=>{(e.eventObject===t||e.object===t)&&n.hovered.delete(i)}),n.capturedMap.forEach((e,i)=>{cN(n.capturedMap,t,e,i)})}(co(t),t.object));let r=null!==t.props.dispose&&!1!==n;for(let e=t.children.length-1;e>=0;e--){let n=t.children[e];c2(t,n,r)}t.children.length=0,delete t.object.__r3f,r&&"primitive"!==t.type&&"Scene"!==t.object.type&&c1(t.object),void 0===n&&cR(t)}let c3=[],c4=()=>{},c5={},c6=0,c8=(S={isPrimaryRenderer:!1,warnsIfNotActing:!1,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,createInstance:function(e,t,n){var i;return cJ(e=cq(e)in cj?e:e.replace(cX,""),t),"primitive"===e&&null!=(i=t.object)&&i.__r3f&&delete t.object.__r3f,cy(t.object,n,e,t)},removeChild:c2,appendChild:cQ,appendInitialChild:cQ,insertBefore:c0,appendChildToContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&cQ(n,t)},removeChildFromContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&c2(n,t)},insertInContainerBefore(e,t,n){let i=e.getState().scene.__r3f;t&&n&&i&&c0(i,t,n)},getRootHostContext:()=>c5,getChildHostContext:()=>c5,commitUpdate(e,t,n,i,r){var a,s,o;cJ(t,i);let l=!1;if("primitive"===e.type&&n.object!==i.object||(null==(a=i.args)?void 0:a.length)!==(null==(s=n.args)?void 0:s.length)?l=!0:null!=(o=i.args)&&o.some((e,t)=>{var i;return e!==(null==(i=n.args)?void 0:i[t])})&&(l=!0),l)c3.push([e,{...i},r]);else{let t=function(e,t){let n={};for(let i in t)if(!cT.includes(i)&&!cv.equ(t[i],e.props[i]))for(let e in n[i]=t[i],t)e.startsWith(`${i}-`)&&(n[e]=t[e]);for(let i in e.props){if(cT.includes(i)||t.hasOwnProperty(i))continue;let{root:r,key:a}=cx(e.object,i);if(r.constructor&&0===r.constructor.length){let e=function(e){let t=cw.get(e.constructor);try{t||(t=new e.constructor,cw.set(e.constructor,t))}catch(e){}return t}(r);cv.und(e)||(n[a]=e[a])}else n[a]=0}return n}(e,i);Object.keys(t).length&&(Object.assign(e.props,t),cC(e.object,t))}(null===r.sibling||(4&r.flags)==0)&&function(){for(let[e]of c3){let t=e.parent;if(t)for(let n of(e.props.attach?cM(t,e):cI(e.object)&&cI(t.object)&&t.object.remove(e.object),e.children))n.props.attach?cM(e,n):cI(n.object)&&cI(e.object)&&e.object.remove(n.object);e.isHidden&&cK(e),e.object.__r3f&&delete e.object.__r3f,"primitive"!==e.type&&c1(e.object)}for(let[i,r,a]of c3){i.props=r;let s=i.parent;if(s){let r=cj[cq(i.type)],o=i.object;i.object=null!=(e=i.props.object)?e:new r(...null!=(t=i.props.args)?t:[]),i.object.__r3f=i;var e,t,n=i.object;for(let e of[a,a.alternate])if(null!==e)if("function"==typeof e.ref){null==e.refCleanup||e.refCleanup();let t=e.ref(n);"function"==typeof t&&(e.refCleanup=t)}else e.ref&&(e.ref.current=n);for(let e of(!function(e,t,n){let{internal:i}=e.getState();for(let e=0;e{if(e.eventObject===t||e.object===t){i.hovered.delete(r);let a={...e,eventObject:e.eventObject===t?n:e.eventObject,object:e.object===t?n:e.object};i.hovered.set(cL(a),a)}}),i.capturedMap.forEach(e=>{let i=e.get(t);i&&(e.delete(t),e.set(n,i))})}(co(i),o,i.object),cC(i.object,i.props),i.props.attach?cS(s,i):cI(i.object)&&cI(s.object)&&s.object.add(i.object),i.children))e.props.attach?cS(i,e):cI(e.object)&&cI(i.object)&&i.object.add(e.object);cR(i)}}c3.length=0}()},finalizeInitialChildren:()=>!1,commitMount(){},getPublicInstance:e=>null==e?void 0:e.object,prepareForCommit:()=>null,preparePortalMount:e=>cy(e.getState().scene,e,"",{}),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance:function(e){if(!e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cM(e.parent,e):cI(e.object)&&(e.object.visible=!1),e.isHidden=!0,cR(e)}},unhideInstance:cK,createTextInstance:c4,hideTextInstance:c4,unhideTextInstance:c4,scheduleTimeout:"function"==typeof setTimeout?setTimeout:void 0,cancelTimeout:"function"==typeof clearTimeout?clearTimeout:void 0,noTimeout:-1,getInstanceFromNode:()=>null,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},prepareScopeUpdate(){},getInstanceFromScope:()=>null,shouldAttemptEagerTransition:()=>!1,trackSchedulerEvent:()=>{},resolveEventType:()=>null,resolveEventTimeStamp:()=>-1.1,requestPostPaintCallback(){},maySuspendCommit:()=>!1,preloadInstance:()=>!0,suspendInstance(){},waitForCommitToBeReady:()=>null,NotPendingTransition:null,HostTransitionContext:E.createContext(null),setCurrentUpdatePriority(e){c6=e},getCurrentUpdatePriority:()=>c6,resolveUpdatePriority(){var e;if(0!==c6)return c6;switch("u">typeof window&&(null==(e=window.event)?void 0:e.type)){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return 2;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return 8;default:return 32}},resetFormInstance(){},rendererPackageName:"@react-three/fiber",rendererVersion:"9.6.1",applyViewTransitionName(e,t,n){},restoreViewTransitionName(e,t){},cancelViewTransitionName(e,t,n){},cancelRootViewTransitionName(e){},restoreRootViewTransitionName(e){},InstanceMeasurement:null,measureInstance:e=>null,wasInstanceInViewport:e=>!0,hasInstanceChanged:(e,t)=>!1,hasInstanceAffectedParent:(e,t)=>!1,suspendOnActiveViewTransition(e,t){},startGestureTransition:()=>null,startViewTransition:()=>null,stopViewTransition(e){},createViewTransitionInstance:e=>null,getCurrentGestureOffset(e){throw Error("startGestureTransition is not yet supported in react-three-fiber.")},cloneMutableInstance:(e,t)=>e,cloneMutableTextInstance:e=>e,cloneRootViewTransitionContainer(e){throw Error("Not implemented.")},removeRootViewTransitionClone(e,t){throw Error("Not implemented.")},createFragmentInstance:e=>null,updateFragmentInstanceFiber(e,t){},commitNewChildToFragmentInstance(e,t){},deleteChildFromFragmentInstance(e,t){},measureClonedInstance:e=>null,maySuspendCommitOnUpdate:(e,t,n)=>!1,maySuspendCommitInSyncRender:(e,t)=>!1,startSuspendingCommit:()=>null,getSuspendedCommitReason:(e,t)=>null},(_=cW(S)).injectIntoDevTools(),_),c9=new Map,c7={objects:"shallow",strict:!1};function he(e){var t,n;let i,r,a,s,o,l,u,c=c9.get(e),h=null==c?void 0:c.fiber,d=null==c?void 0:c.store;c&&console.warn("R3F.createRoot should only be called once!");let p="function"==typeof reportError?reportError:console.error,f=d||(t=hp,n=hf,o=(s=(a=u3((e,i)=>{let r,a=new eE,s=new eE,o=new eE;function l(e=i().camera,t=s,n=i().size){let{width:r,height:u,top:c,left:h}=n,d=r/u;t.isVector3?o.copy(t):o.set(...t);let p=e.getWorldPosition(a).distanceTo(o);if(e&&e.isOrthographicCamera)return{width:r/e.zoom,height:u/e.zoom,top:c,left:h,factor:1,distance:p,aspect:d};{let t=2*Math.tan(e.fov*Math.PI/180/2)*p,n=r/u*t;return{width:n,height:t,top:c,left:h,factor:r/n,distance:p,aspect:d}}}let u=t=>e(e=>({performance:{...e.performance,current:t}})),c=new Y;return{set:e,get:i,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},scene:null,xr:null,invalidate:(e=1)=>t(i(),e),advance:(e,t)=>n(e,t,i()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new sw,pointer:c,mouse:c,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let e=i();r&&clearTimeout(r),e.performance.current!==e.performance.min&&u(e.performance.min),r=setTimeout(()=>u(i().performance.max),e.performance.debounce)}},size:{width:0,height:0,top:0,left:0},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:l},setEvents:t=>e(e=>({...e,events:{...e.events,...t}})),setSize:(t,n,r=0,a=0)=>{let o=i().camera,u={width:t,height:n,top:r,left:a};e(e=>({size:u,viewport:{...e.viewport,...l(o,s,u)}}))},setDpr:t=>e(e=>{let n=cm(t);return{viewport:{...e.viewport,dpr:n,initialDpr:e.viewport.initialDpr||n}}}),setFrameloop:(t="always")=>{let n=i().clock;n.stop(),n.elapsedTime=0,"never"!==t&&(n.start(),n.elapsedTime=0),e(()=>({frameloop:t}))},previousRoot:void 0,internal:{interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,lastEvent:E.createRef(),active:!1,frames:0,priority:0,subscribe:(e,t,n)=>{let r=i().internal;return r.priority=r.priority+ +(t>0),r.subscribers.push({ref:e,priority:t,store:n}),r.subscribers=r.subscribers.sort((e,t)=>e.priority-t.priority),()=>{let n=i().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0),n.subscribers=n.subscribers.filter(t=>t.ref!==e))}}}}})).getState()).size,l=s.viewport.dpr,u=s.camera,a.subscribe(()=>{let{camera:e,size:t,viewport:n,gl:i,set:r}=a.getState();if(t.width!==o.width||t.height!==o.height||n.dpr!==l){o=t,l=n.dpr,cP(e,t),n.dpr>0&&i.setPixelRatio(n.dpr);let r="u">typeof HTMLCanvasElement&&i.domElement instanceof HTMLCanvasElement;i.setSize(t.width,t.height,r)}e!==u&&(u=e,r(t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}})))}),a.subscribe(e=>t(e)),a),m=h||c8.createContainer(f,1,null,!1,null,"",p,p,p,null);c||c9.set(e,{fiber:m,store:f});let g=!1,v=null;return{async configure(t={}){var n,a;let s;v=new Promise(e=>s=e);let{gl:o,size:l,scene:u,events:c,onCreated:h,shadows:d=!1,linear:p=!1,flat:m=!1,legacy:_=!1,orthographic:y=!1,frameloop:x="always",dpr:b=[1,2],performance:S,raycaster:M,camera:T,onPointerMissed:w}=t,E=f.getState(),A=E.gl;if(!E.gl){let t={canvas:e,powerPreference:"high-performance",antialias:!0,alpha:!0},n="function"==typeof o?await o(t):o;A=cU(n)?n:new uK({...t,...o}),E.set({gl:A})}let C=E.raycaster;C||E.set({raycaster:C=new s3});let{params:R,...P}=M||{};if(cv.equ(P,C,c7)||cC(C,{...P}),cv.equ(R,C.params,c7)||cC(C,{params:{...C.params,...R}}),!E.camera||E.camera===r&&!cv.equ(r,T,c7)){r=T;let e=null==T?void 0:T.isCamera,t=e?T:y?new sn(0,0,0,0,.1,1e3):new nE(75,0,.1,1e3);!e&&(t.position.z=5,T&&(cC(t,T),!t.manual&&("aspect"in T||"left"in T||"right"in T||"bottom"in T||"top"in T)&&(t.manual=!0,t.updateProjectionMatrix())),E.camera||null!=T&&T.rotation||t.lookAt(0,0,0)),E.set({camera:t}),C.camera=t}if(!E.scene){let e;null!=u&&u.isScene?cy(e=u,f,"",{}):(cy(e=new nL,f,"",{}),u&&cC(e,u)),E.set({scene:e})}c&&!E.events.handlers&&E.set({events:c(f)});let N=function(e,t){if(!t&&"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){let{width:t,height:n,top:i,left:r}=e.parentElement.getBoundingClientRect();return{width:t,height:n,top:i,left:r}}return!t&&"u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0}:{width:0,height:0,top:0,left:0,...t}}(e,l);if(cv.equ(N,E.size,c7)||E.setSize(N.width,N.height,N.top,N.left),b&&E.viewport.dpr!==cm(b)&&E.setDpr(b),E.frameloop!==x&&E.setFrameloop(x),E.onPointerMissed||E.set({onPointerMissed:w}),S&&!cv.equ(S,E.performance,c7)&&E.set(e=>({performance:{...e.performance,...S}})),!E.xr){let e=(e,t)=>{let n=f.getState();"never"!==n.frameloop&&hf(e,!0,n,t)},t=()=>{let t=f.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||hp(t)},i={connect(){let e=f.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){let e=f.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(n=A.xr)?void 0:n.addEventListener)&&i.connect(),E.set({xr:i})}if(A.shadowMap){let e=A.shadowMap.enabled,t=A.shadowMap.type;A.shadowMap.enabled=!!d,cv.boo(d)?A.shadowMap.type=2:cv.str(d)?A.shadowMap.type=null!=(a=({basic:0,percentage:1,soft:2,variance:3})[d])?a:2:cv.obj(d)&&Object.assign(A.shadowMap,d),(e!==A.shadowMap.enabled||t!==A.shadowMap.type)&&(A.shadowMap.needsUpdate=!0)}return eu.enabled=!_,g||(A.outputColorSpace=p?L:I,A.toneMapping=4*!m),E.legacy!==_&&E.set(()=>({legacy:_})),E.linear!==p&&E.set(()=>({linear:p})),E.flat!==m&&E.set(()=>({flat:m})),!o||cv.fun(o)||cU(o)||cv.equ(o,A,c7)||cC(A,o),i=h,g=!0,s(),this},render(t){return g||v||this.configure(),v.then(()=>{c8.updateContainer((0,u9.jsx)(ht,{store:f,children:t,onCreated:i,rootElement:e}),m,null,()=>void 0)}),f},unmount(){hn(e)}}}function ht({store:e,children:t,onCreated:n,rootElement:i}){return cc(()=>{let t=e.getState();t.set(e=>({internal:{...e.internal,active:!0}})),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(i)},[]),(0,u9.jsx)(cD.Provider,{value:e,children:t})}function hn(e,t){let n=c9.get(e),i=null==n?void 0:n.fiber;if(i){let r=null==n?void 0:n.store.getState();r&&(r.internal.active=!1),c8.updateContainer(null,i,null,()=>{r&&setTimeout(()=>{try{null==r.events.disconnect||r.events.disconnect(),null==(n=r.gl)||null==(i=n.renderLists)||null==i.dispose||i.dispose(),null==(a=r.gl)||null==a.forceContextLoss||a.forceContextLoss(),null!=(s=r.gl)&&s.xr&&r.xr.disconnect();var n,i,a,s,o=r.scene;for(let e in"Scene"!==o.type&&(null==o.dispose||o.dispose()),o){let t=o[e];(null==t?void 0:t.type)!=="Scene"&&(null==t||null==t.dispose||t.dispose())}c9.delete(e),t&&t(e)}catch(e){}},500)})}}function hi({state:e={},children:t,container:n}){let{events:i,size:r,...a}=e,s=cO(),[o]=E.useState(()=>new s3),[l]=E.useState(()=>new Y),u=ch((e,t)=>{let a;if(t.camera&&r){let n=t.camera;a=e.viewport.getCurrentViewport(n,new eE,r),n!==e.camera&&cP(n,r)}return{...e,...t,scene:n,raycaster:o,pointer:l,mouse:l,previousRoot:s,events:{...e.events,...t.events,...i},size:{...e.size,...r},viewport:{...e.viewport,...a},setEvents:e=>t.set(t=>({...t,events:{...t.events,...e}}))}}),c=E.useMemo(()=>{let e=u3((e,t)=>({...a,set:e,get:t})),t=t=>e.setState(e=>u.current(t,e));return t(s.getState()),s.subscribe(t),e},[s,n]);return(0,u9.jsx)(u9.Fragment,{children:c8.createPortal((0,u9.jsx)(cD.Provider,{value:c,children:t}),c,null)})}let hr=new Set,ha=new Set,hs=new Set;function ho(e,t){if(e.size)for(let{callback:n}of e.values())n(t)}function hl(e,t){switch(e){case"before":return ho(hr,t);case"after":return ho(ha,t);case"tail":return ho(hs,t)}}function hu(e,t,n){let i=t.clock.getDelta();"never"===t.frameloop&&"number"==typeof e&&(i=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),s=t.internal.subscribers;for(let e=0;e0)&&!(null!=(t=c.gl.xr)&&t.isPresenting)&&(l+=hu(e,c))}if(hh=!1,hl("after",e),0===l)return hl("tail",e),hc=!1,cancelAnimationFrame(u)}function hp(e,t=1){var n;if(!e)return c9.forEach(e=>hp(e.store.getState(),t));(null==(n=e.gl.xr)||!n.isPresenting)&&e.internal.active&&"never"!==e.frameloop&&(t>1?e.internal.frames=Math.min(60,e.internal.frames+t):hh?e.internal.frames=2:e.internal.frames=1,hc||(hc=!0,requestAnimationFrame(hd)))}function hf(e,t=!0,n,i){if(t&&hl("before",e),n)hu(e,n,i);else for(let t of c9.values())hu(e,t.store.getState());t&&hl("after",e)}let hm={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function hg(e){let{handlePointer:t}=function(e){function t(e){return e.filter(e=>["Move","Over","Enter","Out","Leave"].some(t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))}function n(t){let{internal:n}=e.getState();for(let e of n.hovered.values())if(!t.length||!t.find(t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId)){let i=e.eventObject.__r3f;if(n.hovered.delete(cL(e)),null!=i&&i.eventCount){let n=i.handlers,r={...e,intersections:t};null==n.onPointerOut||n.onPointerOut(r),null==n.onPointerLeave||n.onPointerLeave(r)}}}function i(e,t){for(let n=0;nn([]);case"onLostPointerCapture":return t=>{let{internal:i}=e.getState();"pointerId"in t&&i.capturedMap.has(t.pointerId)&&requestAnimationFrame(()=>{i.capturedMap.has(t.pointerId)&&(i.capturedMap.delete(t.pointerId),n([]))})}}return function(a){let{onPointerMissed:s,internal:o}=e.getState();o.lastEvent.current=a;let l="onPointerMove"===r,u="onClick"===r||"onContextMenu"===r||"onDoubleClick"===r,c=function(t,n){let i=e.getState(),r=new Set,a=[],s=n?n(i.internal.interaction):i.internal.interaction;for(let e=0;e{let n=cg(e.object),i=cg(t.object);return n&&i&&i.events.priority-n.events.priority||e.distance-t.distance}).filter(e=>{let t=cL(e);return!r.has(t)&&(r.add(t),!0)});for(let e of(i.events.filter&&(o=i.events.filter(o,i)),o)){let t=e.object;for(;t;){var l;null!=(l=t.__r3f)&&l.eventCount&&a.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&i.internal.capturedMap.has(t.pointerId))for(let e of i.internal.capturedMap.get(t.pointerId).values())r.has(cL(e.intersection))||a.push(e.intersection);return a}(a,l?t:void 0),h=u?function(t){let{internal:n}=e.getState(),i=t.offsetX-n.initialClick[0],r=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(i*i+r*r))}(a):0;"onPointerDown"===r&&(o.initialClick=[a.offsetX,a.offsetY],o.initialHits=c.map(e=>e.eventObject)),u&&!c.length&&h<=2&&(i(a,o.interaction),s&&s(a)),l&&n(c),!function(e,t,i,r){if(e.length){let a={stopped:!1};for(let s of e){let o=cg(s.object);if(o||s.object.traverseAncestors(e=>{let t=cg(e);if(t)return o=t,!1}),o){let{raycaster:l,pointer:u,camera:c,internal:h}=o,d=new eE(u.x,u.y,0).unproject(c),p=e=>{var t,n;return null!=(t=null==(n=h.capturedMap.get(e))?void 0:n.has(s.eventObject))&&t},f=e=>{let n={intersection:s,target:t.target};h.capturedMap.has(e)?h.capturedMap.get(e).set(s.eventObject,n):h.capturedMap.set(e,new Map([[s.eventObject,n]])),t.target.setPointerCapture(e)},m=e=>{let t=h.capturedMap.get(e);t&&cN(h.capturedMap,s.eventObject,t,e)},g={};for(let e in t){let n=t[e];"function"!=typeof n&&(g[e]=n)}let v={...s,...g,pointer:u,intersections:e,stopped:a.stopped,delta:i,unprojectedPoint:d,ray:l.ray,camera:c,stopPropagation(){let i="pointerId"in t&&h.capturedMap.get(t.pointerId);(!i||i.has(s.eventObject))&&(v.stopped=a.stopped=!0,h.hovered.size&&Array.from(h.hovered.values()).find(e=>e.eventObject===s.eventObject)&&n([...e.slice(0,e.indexOf(s)),s]))},target:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},currentTarget:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},nativeEvent:t};if(r(v),!0===a.stopped)break}}}}(c,a,h,function(e){let t=e.eventObject,n=t.__r3f;if(!(null!=n&&n.eventCount))return;let s=n.handlers;if(l){if(s.onPointerOver||s.onPointerEnter||s.onPointerOut||s.onPointerLeave){let t=cL(e),n=o.hovered.get(t);n?n.stopped&&e.stopPropagation():(o.hovered.set(t,e),null==s.onPointerOver||s.onPointerOver(e),null==s.onPointerEnter||s.onPointerEnter(e))}null==s.onPointerMove||s.onPointerMove(e)}else{let n=s[r];n?(!u||o.initialHits.includes(t))&&(i(a,o.interaction.filter(e=>!o.initialHits.includes(e))),n(e)):u&&o.initialHits.includes(t)&&i(a,o.interaction.filter(e=>!o.initialHits.includes(e)))}})}}}}(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-(2*(e.offsetY/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(hm).reduce((e,n)=>({...e,[n]:t(n)}),{}),update:()=>{var t;let{events:n,internal:i}=e.getState();null!=(t=i.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(i.lastEvent.current)},connect:t=>{let{set:n,events:i}=e.getState();if(null==i.disconnect||i.disconnect(),n(e=>({events:{...e.events,connected:t}})),i.handlers)for(let e in i.handlers){let n=i.handlers[e],[r,a]=hm[e];t.addEventListener(r,n,{passive:a})}},disconnect:()=>{let{set:t,events:n}=e.getState();if(n.connected){if(n.handlers)for(let e in n.handlers){let t=n.handlers[e],[i]=hm[e];n.connected.removeEventListener(i,t)}t(e=>({events:{...e.events,connected:void 0}}))}}}}e.s(["B",0,cp,"C",0,cF,"D",0,cz,"E",0,cf,"G",0,cH,"a",0,ch,"b",0,cc,"c",0,he,"d",0,hn,"e",0,cZ,"f",0,hg,"i",0,cl,"o",0,function(e,t,n){return(0,u9.jsx)(hi,{children:e,container:t,state:n})},"s",0,cC,"u",0,cd],1950),e.i(8560),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"PMREMGenerator",0,o8,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderChunk",0,oB,"ShaderLib",0,oH,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsLib",0,ok,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGLRenderer",0,uK,"WebGLUtils",0,uk,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"createCanvasElement",0,et],32009);var hv=e.i(32009);function h_(e,t){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}}let hy=["x","y","top","bottom","left","right","width","height"];function hx({ref:e,children:t,fallback:n,resize:i,style:r,gl:a,events:s=hg,eventSource:o,eventPrefix:l,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,scene:y,onPointerMissed:x,onCreated:b,...S}){E.useMemo(()=>cZ(hv),[]);let M=cd(),[T,w]=function({debounce:e,scroll:t,polyfill:n,offsetSize:i}={debounce:0,scroll:!1,offsetSize:!1}){var r,a,s;let o=n||("u"(p.current=!0,()=>void(p.current=!1)));let[f,m,g]=(0,E.useMemo)(()=>{let e=()=>{let e,t;if(!c.current.element)return;let{left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d}=c.current.element.getBoundingClientRect(),f={left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d};c.current.element instanceof HTMLElement&&i&&(f.height=c.current.element.offsetHeight,f.width=c.current.element.offsetWidth),Object.freeze(f),p.current&&(e=c.current.lastBounds,t=f,!hy.every(n=>e[n]===t[n]))&&u(c.current.lastBounds=f)};return[e,d?h_(e,d):e,h?h_(e,h):e]},[u,i,h,d]);function v(){c.current.scrollContainers&&(c.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",g,!0)),c.current.scrollContainers=null),c.current.resizeObserver&&(c.current.resizeObserver.disconnect(),c.current.resizeObserver=null),c.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",c.current.orientationHandler))}function _(){c.current.element&&(c.current.resizeObserver=new o(g),c.current.resizeObserver.observe(c.current.element),t&&c.current.scrollContainers&&c.current.scrollContainers.forEach(e=>e.addEventListener("scroll",g,{capture:!0,passive:!0})),c.current.orientationHandler=()=>{g()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",c.current.orientationHandler))}return r=g,a=!!t,(0,E.useEffect)(()=>{if(a)return window.addEventListener("scroll",r,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",r,!0)},[r,a]),s=m,(0,E.useEffect)(()=>(window.addEventListener("resize",s),()=>void window.removeEventListener("resize",s)),[s]),(0,E.useEffect)(()=>{v(),_()},[t,g,m]),(0,E.useEffect)(()=>v,[]),[e=>{e&&e!==c.current.element&&(v(),c.current.element=e,c.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:i,overflowX:r,overflowY:a}=window.getComputedStyle(t);return[i,r,a].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),_())},l,f]}({scroll:!0,debounce:{scroll:50,resize:0},...i}),A=E.useRef(null),C=E.useRef(null);E.useImperativeHandle(e,()=>A.current);let R=ch(x),[P,I]=E.useState(!1),[L,N]=E.useState(!1);if(P)throw P;if(L)throw L;let U=E.useRef(null);cc(()=>{let e=A.current;w.width>0&&w.height>0&&e&&(U.current||(U.current=he(e)),async function(){await U.current.configure({gl:a,scene:y,events:s,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,size:w,onPointerMissed:(...e)=>null==R.current?void 0:R.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(o?cl(o)?o.current:o:C.current),l&&e.setEvents({compute:(e,t)=>{let n=e[l+"X"],i=e[l+"Y"];t.pointer.set(n/t.size.width*2-1,-(2*(i/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==b||b(e)}}),U.current.render((0,u9.jsx)(M,{children:(0,u9.jsx)(cf,{set:N,children:(0,u9.jsx)(E.Suspense,{fallback:(0,u9.jsx)(cp,{set:I}),children:null!=t?t:null})})}))}())}),E.useEffect(()=>{let e=A.current;if(e)return()=>hn(e)},[]);let D=o?"none":"auto";return(0,u9.jsx)("div",{ref:C,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:D,...r},...S,children:(0,u9.jsx)("div",{ref:T,style:{width:"100%",height:"100%"},children:(0,u9.jsx)("canvas",{ref:A,style:{display:"block"},children:n})})})}e.s(["Canvas",0,function(e){return(0,u9.jsx)(ci,{children:(0,u9.jsx)(hx,{...e})})}],75056),e.s(["useFrame",0,cz],25234),e.s(["useThree",0,cF],28600)},67335,e=>{"use strict";var t=e.i(1950);e.s(["extend",()=>t.e])},44208,e=>{"use strict";var t=e.i(1950);e.s(["createPortal",()=>t.o])},60602,e=>{"use strict";var t=e.i(1950);e.s(["useLoader",()=>t.G])},24205,e=>{"use strict";var t=e.i(1950);e.s(["applyProps",()=>t.s])}]); \ No newline at end of file diff --git a/.next/static/chunks/04vqjcwjasc-3.js b/.next/static/chunks/04vqjcwjasc-3.js deleted file mode 100644 index b2697f1..0000000 --- a/.next/static/chunks/04vqjcwjasc-3.js +++ /dev/null @@ -1,101 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41626,e=>{"use strict";var t,r,n,i,s,o,a,l,c,u,d,p,f,m,h,g,v,y,x,w,b,_,j,M,S,R=e.i(43476),N=e.i(71645),k=e.i(75056),V=e.i(25234),A=e.i(43257),P=e.i(8560),C=e.i(28600);function T(e,t,r){t.traverse(t=>{t.material&&(e.properties.remove(t.material),null==t.material.dispose||t.material.dispose())}),e.info.programs.length=0,e.compile(t,r)}function I({focus:e=0,samples:t=10,size:r=25}){let n=(0,C.useThree)(e=>e.gl),i=(0,C.useThree)(e=>e.scene),s=(0,C.useThree)(e=>e.camera);return N.useEffect(()=>{let o=P.ShaderChunk.shadowmap_pars_fragment;return P.ShaderChunk.shadowmap_pars_fragment=P.ShaderChunk.shadowmap_pars_fragment.replace("#ifdef USE_SHADOWMAP","#ifdef USE_SHADOWMAP\n"+(({focus:e=0,size:t=25,samples:r=10}={})=>` -#define PENUMBRA_FILTER_SIZE float(${t}) -#define RGB_NOISE_FUNCTION(uv) (randRGB(uv)) -vec3 randRGB(vec2 uv) { - return vec3( - fract(sin(dot(uv, vec2(12.75613, 38.12123))) * 13234.76575), - fract(sin(dot(uv, vec2(19.45531, 58.46547))) * 43678.23431), - fract(sin(dot(uv, vec2(23.67817, 78.23121))) * 93567.23423) - ); -} - -vec3 lowPassRandRGB(vec2 uv) { - // 3x3 convolution (average) - // can be implemented as separable with an extra buffer for a total of 6 samples instead of 9 - vec3 result = vec3(0); - result += RGB_NOISE_FUNCTION(uv + vec2(-1.0, -1.0)); - result += RGB_NOISE_FUNCTION(uv + vec2(-1.0, 0.0)); - result += RGB_NOISE_FUNCTION(uv + vec2(-1.0, +1.0)); - result += RGB_NOISE_FUNCTION(uv + vec2( 0.0, -1.0)); - result += RGB_NOISE_FUNCTION(uv + vec2( 0.0, 0.0)); - result += RGB_NOISE_FUNCTION(uv + vec2( 0.0, +1.0)); - result += RGB_NOISE_FUNCTION(uv + vec2(+1.0, -1.0)); - result += RGB_NOISE_FUNCTION(uv + vec2(+1.0, 0.0)); - result += RGB_NOISE_FUNCTION(uv + vec2(+1.0, +1.0)); - result *= 0.111111111; // 1.0 / 9.0 - return result; -} -vec3 highPassRandRGB(vec2 uv) { - // by subtracting the low-pass signal from the original signal, we're being left with the high-pass signal - // hp(x) = x - lp(x) - return RGB_NOISE_FUNCTION(uv) - lowPassRandRGB(uv) + 0.5; -} - - -vec2 vogelDiskSample(int sampleIndex, int sampleCount, float angle) { - const float goldenAngle = 2.399963f; // radians - float r = sqrt(float(sampleIndex) + 0.5f) / sqrt(float(sampleCount)); - float theta = float(sampleIndex) * goldenAngle + angle; - float sine = sin(theta); - float cosine = cos(theta); - return vec2(cosine, sine) * r; -} -float penumbraSize( const in float zReceiver, const in float zBlocker ) { // Parallel plane estimation - return (zReceiver - zBlocker) / zBlocker; -} -float findBlocker(sampler2D shadowMap, vec2 uv, float compare, float angle) { - float texelSize = 1.0 / float(textureSize(shadowMap, 0).x); - float blockerDepthSum = float(${e}); - float blockers = 0.0; - - int j = 0; - vec2 offset = vec2(0.); - float depth = 0.; - - #pragma unroll_loop_start - for(int i = 0; i < ${r}; i ++) { - offset = (vogelDiskSample(j, ${r}, angle) * texelSize) * 2.0 * PENUMBRA_FILTER_SIZE; - depth = unpackRGBAToDepth( texture2D( shadowMap, uv + offset)); - if (depth < compare) { - blockerDepthSum += depth; - blockers++; - } - j++; - } - #pragma unroll_loop_end - - if (blockers > 0.0) { - return blockerDepthSum / blockers; - } - return -1.0; -} - - -float vogelFilter(sampler2D shadowMap, vec2 uv, float zReceiver, float filterRadius, float angle) { - float texelSize = 1.0 / float(textureSize(shadowMap, 0).x); - float shadow = 0.0f; - int j = 0; - vec2 vogelSample = vec2(0.0); - vec2 offset = vec2(0.0); - #pragma unroll_loop_start - for (int i = 0; i < ${r}; i++) { - vogelSample = vogelDiskSample(j, ${r}, angle) * texelSize; - offset = vogelSample * (1.0 + filterRadius * float(${t})); - shadow += step( zReceiver, unpackRGBAToDepth( texture2D( shadowMap, uv + offset ) ) ); - j++; - } - #pragma unroll_loop_end - return shadow * 1.0 / ${r}.0; -} - -float PCSS (sampler2D shadowMap, vec4 coords) { - vec2 uv = coords.xy; - float zReceiver = coords.z; // Assumed to be eye-space z in this code - float angle = highPassRandRGB(gl_FragCoord.xy).r * PI2; - float avgBlockerDepth = findBlocker(shadowMap, uv, zReceiver, angle); - if (avgBlockerDepth == -1.0) { - return 1.0; - } - float penumbraRatio = penumbraSize(zReceiver, avgBlockerDepth); - return vogelFilter(shadowMap, uv, zReceiver, 1.25 * penumbraRatio, angle); -}`)({size:r,samples:t,focus:e})).replace("#if defined( SHADOWMAP_TYPE_PCF )","\nreturn PCSS(shadowMap, shadowCoord);\n#if defined( SHADOWMAP_TYPE_PCF )"),T(n,i,s),()=>{P.ShaderChunk.shadowmap_pars_fragment=o,T(n,i,s)}},[e,r,t]),null}var F=e.i(90072);e.i(47167);var z=e.i(78140);let E="/models/3d_scene_final.glb",O="/draco/",B=[/WheelStock_FR_RB1c_Tire_1k_0$/i,/WheelStock_FR_RB1c_Tire_1k_0\.001$/i,/WheelStock_RL_RB1c_Tire/i,/WheelStock_RR_RB1c_Tire/i],L=/^LCT300007/i,D=/road|floor|slab|driveway|apron|grass|ground|pad|curb/i,W=/asphalt|concrete|lane|apron|curb|pavement|tarmac|grass/i,G=/tree|foliage|atlas|bush|hedge|shrub/i,q=/tree|leaf|leaves|bark|foliage|shrub|grass/i,U=/carton|cube|crate|package_box|barrel|pallet|bench/i,$=/cardboard|pallet/i,H=/street_light|streetlight|lamp/i,Z=/street_light/i,Q=/atlas|background_tree/i,Y=/background_tree_atlas/i;function K({truckRef:e,wheelRefs:t,tier:r="desktop",...n}){let{scene:i}=(0,z.useGLTF)(E,O);return(0,N.useLayoutEffect)(()=>{let n=[null,null,null,null],s=null;if(i.traverse(e=>{if(!e.isMesh)return;let t=e.name||"";/WheelStock_(FR|RL|RR)_RB1c_Tire/i.test(t)&&(s=e,B.forEach((r,i)=>{!n[i]&&r.test(t)&&(n[i]=e)}))}),n.forEach((e,r)=>{let n=e?.parent?.parent??null;n&&t?.[r]&&(t[r].current=n)}),e){let t=s;for(;t&&t.parent&&t.parent!==i;)t=t.parent;e.current=t??null}i.traverse(e=>{if(!e.isMesh)return;let t=e.name||"",n=(Array.isArray(e.material)?e.material[0]?.name:e.material?.name)||"",i=L.test(t),s=D.test(t)||W.test(n);e.castShadow=i,e.receiveShadow=i||s,i&&(e.frustumCulled=!1);let o=!1;"mobile"===r?o=G.test(t)||q.test(n)||U.test(t)||$.test(n)||H.test(t)||Z.test(n):"tablet"===r&&(o=Q.test(t)||Y.test(n)),e.visible=!o})},[i,e,t,r]),(0,R.jsx)("primitive",{object:i,...n,dispose:null})}z.useGLTF.preload(E,O);let J=(0,e.i(68834).create)(e=>({scrollProgress:0,activeSection:0,truckProgress:0,cameraTarget:[19.727,4.397,-31.08],lenis:null,setScrollProgress:t=>e({scrollProgress:t}),setActiveSection:t=>e({activeSection:t}),setTruckProgress:t=>e({truckProgress:t}),setCameraTarget:t=>e({cameraTarget:t}),setLenis:t=>e({lenis:t})})),X=[new F.Vector3(15.5,.45,-26.5),new F.Vector3(13.399,.324,-24.742),new F.Vector3(11.211,.178,-22.973),new F.Vector3(8.823,.111,-20.949),new F.Vector3(6.447,.059,-19.06),new F.Vector3(3.786,.072,-17.002),new F.Vector3(.732,.124,-14.955),new F.Vector3(-2.156,.124,-12.903),new F.Vector3(-4.417,.124,-10.929),new F.Vector3(-5.896,.124,-8.052),new F.Vector3(-5.985,.124,-5.497),new F.Vector3(-4.362,.124,-3.25),new F.Vector3(-1.448,.124,-1.234),new F.Vector3(2.539,.124,.986),new F.Vector3(6.686,.124,3.379),new F.Vector3(8.213,.124,6.14),new F.Vector3(7.976,.124,9.176),new F.Vector3(6.424,.124,12.428),new F.Vector3(3.883,.124,15.769),new F.Vector3(1.241,.124,19.056)],ee=new F.CatmullRomCurve3(X);function et(e){return e<.14?0:e<.38?.5*(e-.14)/.24:e<.5?.5:e<.76?.5+.5*(e-.5)/.26:1}let er={firstMileWhole:{position:new F.Vector3(38,15,-10),target:new F.Vector3(24.377,4,-39.303)},firstMileFront:{position:new F.Vector3(7,3,-19),target:new F.Vector3(15.5,1.5,-26.5)},midMile:{position:new F.Vector3(-7,7.5,8),target:new F.Vector3(-19.146,2.5,-9)},lastMileClose:{position:new F.Vector3(-3.5,4,15),target:new F.Vector3(8,2,20)},lastMileZoomedOut:{position:new F.Vector3(-10.4,5.2,12),target:new F.Vector3(8,2,20)},analytics:{position:new F.Vector3(-13.5,5,31),target:new F.Vector3(-7.7,3.5,25.4)}},en=new F.Vector3,ei=new F.Vector3,es=new F.Vector3(0,1,0),eo=new F.Vector3,ea=new F.Vector3,el=new F.Vector3,ec=e=>e*e*(3-2*e);function eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);rtypeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ep(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}new F.Vector2,new F.Vector2;function em(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var eh=function e(t,r,n){var i=this;em(this,e),eu(this,"dot2",function(e,t){return i.x*e+i.y*t}),eu(this,"dot3",function(e,t,r){return i.x*e+i.y*t+i.z*r}),this.x=t,this.y=r,this.z=n},eg=[new eh(1,1,0),new eh(-1,1,0),new eh(1,-1,0),new eh(-1,-1,0),new eh(1,0,1),new eh(-1,0,1),new eh(1,0,-1),new eh(-1,0,-1),new eh(0,1,1),new eh(0,-1,1),new eh(0,1,-1),new eh(0,-1,-1)],ev=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],ey=Array(512),ex=Array(512),ew=0;(ew=Math.floor(ew))<256&&(ew|=ew<<8);for(var eb,e_=0;e_<256;e_++)eb=1&e_?ev[e_]^255&ew:ev[e_]^ew>>8&255,ey[e_]=ey[e_+256]=eb,ex[e_]=ex[e_+256]=eg[eb%12];function ej(e){var t=function(e){if("number"==typeof e)e=Math.abs(e);else if("string"==typeof e){var t=e;e=0;for(var r=0;r3&&void 0!==arguments[3]?arguments[3]:.25,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.01,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:eM,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:.001,l="velocity_"+t;if(void 0===e.__damp&&(e.__damp={}),void 0===e.__damp[l]&&(e.__damp[l]=0),Math.abs(e[t]-r)<=a)return e[t]=r,!1;var c=2/(n=Math.max(1e-4,n)),u=o(c*i),d=e[t]-r,p=r,f=s*n;d=Math.min(Math.max(d,-f),f),r=e[t]-d;var m=(e.__damp[l]+c*d)*i;e.__damp[l]=(e.__damp[l]-c*m)*u;var h=r+(d+m)*u;return p-e[t]>0==h>p&&(h=p,e.__damp[l]=(h-p)/i),e[t]=h,!0}var eR=new F.Vector3,eN=new F.Quaternion,ek=new F.Quaternion,eV=new F.Matrix4,eA=new F.Vector3;function eP(e,t,r,n,i,s,o,a){var l,c,u,d;return eS(e,t,e[t]+(u=(l=r-e[t])-Math.floor(l/(c=2*Math.PI))*c,(d=Math.max(0,Math.min(c,u)))>Math.PI&&(d-=2*Math.PI),d),n,i,s,o,a)}var eC=new F.Vector2,eT=new F.Vector3;function eI(e,t,r,o,a,l,c){return"number"==typeof t?eT.setScalar(t):Array.isArray(t)?eT.set(t[0],t[1],t[2]):eT.copy(t),n=eS(e,"x",eT.x,r,o,a,l,c),i=eS(e,"y",eT.y,r,o,a,l,c),s=eS(e,"z",eT.z,r,o,a,l,c),n||i||s}var eF=new F.Vector4,ez=new F.Euler,eE=new F.Color,eO=new F.Quaternion,eB=new F.Vector4,eL=new F.Vector4,eD=new F.Vector4;function eW(e,t,r,n,i,s,o){Array.isArray(t)?eO.set(t[0],t[1],t[2],t[3]):eO.copy(t);var a=e.dot(eO)>0?1:-1;return eO.x*=a,eO.y*=a,eO.z*=a,eO.w*=a,g=eS(e,"x",eO.x,r,n,i,s,o),v=eS(e,"y",eO.y,r,n,i,s,o),y=eS(e,"z",eO.z,r,n,i,s,o),x=eS(e,"w",eO.w,r,n,i,s,o),eB.set(e.x,e.y,e.z,e.w).normalize(),eL.set(e.__damp.velocity_x,e.__damp.velocity_y,e.__damp.velocity_z,e.__damp.velocity_w),eD.copy(eB).multiplyScalar(eL.dot(eB)/eB.dot(eB)),e.__damp.velocity_x-=eD.x,e.__damp.velocity_y-=eD.y,e.__damp.velocity_z-=eD.z,e.__damp.velocity_w-=eD.w,e.set(eB.x,eB.y,eB.z,eB.w),g||v||y||x}var eG=new F.Spherical,eq=new F.Matrix4,eU=new F.Vector3,e$=new F.Quaternion,eH=new F.Vector3,eZ=Object.freeze({__proto__:null,rsqw:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/(2*Math.PI);return r/Math.atan(1/t)*Math.atan(Math.sin(2*Math.PI*e*n)/t)},exp:eM,linear:function(e){return e},sine:{in:function(e){return 1-Math.cos(e*Math.PI/2)},out:function(e){return Math.sin(e*Math.PI/2)},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{in:function(e){return e*e*e},out:function(e){return 1-Math.pow(1-e,3)},inOut:function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}},quint:{in:function(e){return e*e*e*e*e},out:function(e){return 1-Math.pow(1-e,5)},inOut:function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2}},circ:{in:function(e){return 1-Math.sqrt(1-Math.pow(e,2))},out:function(e){return Math.sqrt(1-Math.pow(e-1,2))},inOut:function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2}},quart:{in:function(e){return e*e*e*e},out:function(e){return 1- --e*e*e*e},inOut:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e}},expo:{in:function(e){return 0===e?0:Math.pow(2,10*e-10)},out:function(e){return 1===e?1:1-Math.pow(2,-10*e)},inOut:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}},damp:eS,dampLookAt:function(e,t,r,n,i,s,o){"number"==typeof t?eR.setScalar(t):Array.isArray(t)?eR.set(t[0],t[1],t[2]):eR.copy(t);var a=e.parent;(e.updateWorldMatrix(!0,!1),eA.setFromMatrixPosition(e.matrixWorld),e&&e.isCamera||e&&e.isLight)?eV.lookAt(eA,eR,e.up):eV.lookAt(eR,eA,e.up),eW(e.quaternion,ek.setFromRotationMatrix(eV),r,n,i,s,o),a&&(eV.extractRotation(a.matrixWorld),eN.setFromRotationMatrix(eV),eW(e.quaternion,ek.copy(e.quaternion).premultiply(eN.invert()),r,n,i,s,o))},dampAngle:eP,damp2:function(e,n,i,s,o,a,l){return"number"==typeof n?eC.setScalar(n):Array.isArray(n)?eC.set(n[0],n[1]):eC.copy(n),t=eS(e,"x",eC.x,i,s,o,a,l),r=eS(e,"y",eC.y,i,s,o,a,l),t||r},damp3:eI,damp4:function(e,t,r,n,i,s,u){return"number"==typeof t?eF.setScalar(t):Array.isArray(t)?eF.set(t[0],t[1],t[2],t[3]):eF.copy(t),o=eS(e,"x",eF.x,r,n,i,s,u),a=eS(e,"y",eF.y,r,n,i,s,u),l=eS(e,"z",eF.z,r,n,i,s,u),c=eS(e,"w",eF.w,r,n,i,s,u),o||a||l||c},dampE:function(e,t,r,n,i,s,o){return Array.isArray(t)?ez.set(t[0],t[1],t[2],t[3]):ez.copy(t),u=eP(e,"x",ez.x,r,n,i,s,o),d=eP(e,"y",ez.y,r,n,i,s,o),p=eP(e,"z",ez.z,r,n,i,s,o),u||d||p},dampC:function(e,t,r,n,i,s,o){return t instanceof F.Color?eE.copy(t):Array.isArray(t)?eE.setRGB(t[0],t[1],t[2]):eE.set(t),f=eS(e,"r",eE.r,r,n,i,s,o),m=eS(e,"g",eE.g,r,n,i,s,o),h=eS(e,"b",eE.b,r,n,i,s,o),f||m||h},dampQ:eW,dampS:function(e,t,r,n,i,s,o){return Array.isArray(t)?eG.set(t[0],t[1],t[2]):eG.copy(t),w=eS(e,"radius",eG.radius,r,n,i,s,o),b=eP(e,"phi",eG.phi,r,n,i,s,o),_=eP(e,"theta",eG.theta,r,n,i,s,o),w||b||_},dampM:function(e,t,r,n,i,s,o){return void 0===e.__damp&&(e.__damp={position:new F.Vector3,rotation:new F.Quaternion,scale:new F.Vector3},e.decompose(e.__damp.position,e.__damp.rotation,e.__damp.scale)),Array.isArray(t)?eq.set.apply(eq,ef(t)):eq.copy(t),eq.decompose(eU,e$,eH),j=eI(e.__damp.position,eU,r,n,i,s,o),M=eW(e.__damp.rotation,e$,r,n,i,s,o),S=eI(e.__damp.scale,eH,r,n,i,s,o),e.compose(e.__damp.position,e.__damp.rotation,e.__damp.scale),j||M||S}});function eQ(){let e=(0,N.useRef)(new F.Vector3(19.7,4.4,-31.08)),t=(0,N.useRef)(new F.Vector3).current,r=(0,N.useRef)(new F.Vector3).current;return(0,V.useFrame)((n,i)=>{let{camera:s}=n;!function(e,t,r){let n=et(e);if(ee.getPoint(n,en),ee.getTangent(n,ei).normalize(),eo.crossVectors(ei,es).normalize(),ea.copy(en).addScaledVector(ei,7.2).addScaledVector(es,3.2).addScaledVector(eo,-3),el.copy(en).addScaledVector(ei,7.2).addScaledVector(es,3.2).addScaledVector(eo,3),e<.04)t.copy(er.firstMileWhole.position),r.copy(er.firstMileWhole.target);else if(e<.14){let n=ec((e-.04)/.1);t.lerpVectors(er.firstMileWhole.position,er.firstMileFront.position,n),r.lerpVectors(er.firstMileWhole.target,er.firstMileFront.target,n)}else if(e<.18){let n=ec((e-.14)/.04);t.lerpVectors(er.firstMileFront.position,ea,n),r.lerpVectors(er.firstMileFront.target,en,n)}else if(e<.34)t.copy(ea),r.copy(en);else if(e<.38){let n=ec((e-.34)/.04);t.lerpVectors(ea,er.midMile.position,n),r.lerpVectors(en,er.midMile.target,n)}else if(e<.5)t.copy(er.midMile.position),r.copy(er.midMile.target);else if(e<.54){let n=ec((e-.5)/.04);t.lerpVectors(er.midMile.position,el,n),r.lerpVectors(er.midMile.target,en,n)}else if(e<.72)t.copy(el),r.copy(en);else if(e<.76){let n=ec((e-.72)/.04);t.lerpVectors(el,er.lastMileClose.position,n),r.lerpVectors(en,er.lastMileClose.target,n)}else if(e<.92)if(e<.8)t.copy(er.lastMileClose.position),r.copy(er.lastMileClose.target);else if(e<.84){let n=ec((e-.8)/.04);t.lerpVectors(er.lastMileClose.position,er.lastMileZoomedOut.position,n),r.lerpVectors(er.lastMileClose.target,er.lastMileZoomedOut.target,n)}else t.copy(er.lastMileZoomedOut.position),r.copy(er.lastMileZoomedOut.target);else if(e<.96){let n=ec((e-.92)/.04);t.lerpVectors(er.lastMileZoomedOut.position,er.analytics.position,n),r.lerpVectors(er.lastMileZoomedOut.target,er.analytics.target,n)}else t.copy(er.analytics.position),r.copy(er.analytics.target)}(J.getState().scrollProgress,t,r);let o=Number.isFinite(i)&&i>0?Math.min(i,.1):1/60;eZ.damp3(s.position,t,.35,o),eZ.damp3(e.current,r,.25,o),Number.isFinite(s.position.x)||s.position.copy(t),Number.isFinite(e.current.x)||e.current.copy(r),s.lookAt(e.current);let a=n.size.width/n.size.height,l=a<1?Math.min(75,45/Math.sqrt(a)):45;s.fov!==l&&(s.fov=l,s.updateProjectionMatrix())}),null}function eY({truckRef:e,wheelRefs:t}){let r=(0,N.useRef)(!1),n=(0,N.useRef)(0),i=(0,N.useRef)(0),s=(0,N.useRef)(!1),o=(0,N.useRef)(0),a=(0,N.useRef)(0),l=(0,N.useRef)(0);return(0,V.useFrame)((c,u)=>{var d;let p;if(!e.current)return;let f=Number.isFinite(u)&&u>0?Math.min(u,.1):1/60,m=J.getState().scrollProgress,h=et(m),g=m-i.current;g<-1e-4?s.current=!0:g>1e-4&&(s.current=!1),i.current=m;let v=e.current.children[0];if(v&&e.current.children.length>1&&([...e.current.children].slice(1).forEach(e=>{v.attach(e)}),v.rotation.set(0,-Math.PI/2,0),e.current.traverse(e=>{e.isMesh&&(e.frustumCulled=!1,e.castShadow=!0,e.receiveShadow=!0)})),!r.current){let t;n.current=h,n.current_velocity=0,l.current=h,i.current=m,s.current=!1,o.current=0,o.current_velocity=0;let a=ee.getPoint(n.current);if(n.current>=.99){let e=ee.getTangent(1),r=ee.getPoint(1);t=new F.Vector3().copy(r).addScaledVector(e,1)}else{let e=Math.min(n.current+.01,1);t=ee.getPoint(e)}e.current.position.copy(a),e.current.position.distanceToSquared(t)>1e-4&&e.current.lookAt(t),r.current=!0}eZ.damp(n,"current",h,.3,f),!Number.isFinite(n.current)&&(n.current=h,n.__damp&&(n.__damp={})),n.current=F.MathUtils.clamp(n.current,0,1);let y=ee.getPoint(n.current);if(n.current>=.99){let e=ee.getTangent(1),t=ee.getPoint(1);p=new F.Vector3().copy(t).addScaledVector(e,1)}else{let e=Math.min(n.current+.01,1);p=ee.getPoint(e)}e.current.position.copy(y),e.current.position.distanceToSquared(p)>1e-4&&e.current.lookAt(p);let x=0;n.current>.05&&n.current<.95&&s.current&&(x=Math.PI),eZ.damp(o,"current",x,.2,f),!Number.isFinite(o.current)&&(o.current=x,o.current_velocity=0,o.__damp&&(o.__damp={})),e.current.rotateY(o.current);let w=Math.abs(n.current-l.current);l.current=n.current,n.current>.001&&n.current<.999&&(a.current+=250*w),d=a.current,t&&0!==t.length&&t.forEach((e,t)=>{e.current&&(e.current.rotation.y=d*(t%2==0?1:-1))}),e.current.children&&e.current.children[0]&&(e.current.children[0].position.y=.003*Math.sin(45*c.clock.getElapsedTime()))}),null}let eK=[{pos:[0,4.2,-4.56],target:[0,0,-4.56]},{pos:[9.113,4.2,.944],target:[9.113,0,.944]},{pos:[-10.158,4.2,-9.874],target:[-10.158,0,-9.874]},{pos:[3.513,4.2,9.195],target:[3.513,0,9.195]},{pos:[3.96,4.2,-21.17],target:[3.96,0,-21.17]},{pos:[12.25,4.2,-16.7],target:[12.25,0,-16.7]},{pos:[3.052,4.2,-12.335],target:[3.052,0,-12.335]},{pos:[-2.03,4.2,-16.89],target:[-2.03,0,-16.89]},{pos:[-27.151,3.98,-9],target:[-27.151,0,-9]}],eJ=new F.Color("#333333"),eX=new F.Color("#ffdf6d"),e0=new F.Color("#000000"),e1=new F.Color("#ffdf6d");function e2({pos:e,targetPos:t}){let r=(0,N.useRef)(),n=(0,N.useRef)(),i=(0,N.useRef)();return(0,N.useEffect)(()=>{r.current&&n.current&&(r.current.target=n.current,r.current.target.updateMatrixWorld())},[]),(0,V.useFrame)(()=>{r.current&&(r.current.intensity=0),i.current&&(i.current.material.color.lerpColors(eJ,eX,0),i.current.material.emissive.lerpColors(e0,e1,0))}),(0,R.jsxs)("group",{children:[(0,R.jsx)("spotLight",{ref:r,position:e,intensity:0,distance:12,angle:Math.PI/4.5,penumbra:.6,decay:1.2,color:"#ffdf6d",castShadow:!1}),(0,R.jsxs)("mesh",{ref:i,position:e,children:[(0,R.jsx)("sphereGeometry",{args:[.16,16,16]}),(0,R.jsx)("meshStandardMaterial",{color:"#333333",emissive:"#000000",emissiveIntensity:3.5,roughness:.1})]}),(0,R.jsx)("object3D",{ref:n,position:t})]})}let e3=N.default.memo(function(){return(0,R.jsx)("group",{children:eK.map((e,t)=>(0,R.jsx)(e2,{pos:e.pos,targetPos:e.target},t))})}),e5=new F.Color("#f5f5f7"),e4=new F.Color,e9=new F.Vector3,e6={desktop:{shadows:!0,softShadows:!0,environment:!0,streetLights:!0,dpr:[1,1.5],antialias:!0,shadowMap:2048},tablet:{shadows:!0,softShadows:!1,environment:!0,streetLights:!1,dpr:[1,1.5],antialias:!1,shadowMap:1024},mobile:{shadows:!1,softShadows:!1,environment:!1,streetLights:!1,dpr:[1,1],antialias:!1,shadowMap:512}},e7=N.default.memo(function({truckRef:e,shadows:t,shadowMap:r}){let n=(0,N.useRef)(),i=(0,N.useRef)();return(0,N.useEffect)(()=>{n.current&&i.current&&(n.current.target=i.current)},[]),(0,V.useFrame)(t=>{n.current&&i.current&&e.current&&(e.current.getWorldPosition(e9),i.current.position.copy(e9),i.current.updateMatrixWorld(),n.current.position.set(e9.x+10,e9.y+20,e9.z+10)),t.scene&&(t.scene.background=e4.copy(e5),t.scene.environmentIntensity=1)}),(0,R.jsxs)("group",{children:[(0,R.jsx)("ambientLight",{intensity:.45}),(0,R.jsx)("directionalLight",{ref:n,castShadow:t,position:[10,20,10],intensity:1.5,"shadow-mapSize-width":r,"shadow-mapSize-height":r,"shadow-camera-far":100,"shadow-camera-left":-35,"shadow-camera-right":35,"shadow-camera-top":35,"shadow-camera-bottom":-35,"shadow-bias":-1e-4}),(0,R.jsx)("object3D",{ref:i})]})});function e8({onReady:e}){return(0,N.useEffect)(()=>{let t=0,r=0;return t=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>e?.())}),()=>{cancelAnimationFrame(t),cancelAnimationFrame(r)}},[e]),null}let te=N.default.memo(function({dashboardRefs:e,wheelRefs:t,truckRef:r,tier:n="desktop",onReady:i}){let s=e6[n]??e6.desktop;return(0,R.jsx)("div",{style:{width:"100%",height:"100%",position:"absolute",top:0,left:0},children:(0,R.jsxs)(k.Canvas,{shadows:s.shadows,dpr:s.dpr,camera:{position:[32,12,-18],fov:45},gl:{antialias:s.antialias,powerPreference:"high-performance"},children:[(0,R.jsx)("color",{attach:"background",args:["#f5f5f7"]}),s.softShadows&&(0,R.jsx)(I,{size:10,samples:12,focus:1}),(0,R.jsx)(e7,{truckRef:r,shadows:s.shadows,shadowMap:s.shadowMap}),s.streetLights&&(0,R.jsx)(e3,{}),s.environment?(0,R.jsx)(N.Suspense,{fallback:null,children:(0,R.jsx)(A.Environment,{preset:"city"})}):(0,R.jsx)("hemisphereLight",{args:["#ffffff","#9aa0a6",.9]}),(0,R.jsxs)(N.Suspense,{fallback:null,children:[(0,R.jsx)(K,{dashboardRefs:e,truckRef:r,wheelRefs:t,tier:n}),(0,R.jsx)(e8,{onReady:i})]}),(0,R.jsx)(eY,{truckRef:r,wheelRefs:t}),(0,R.jsx)(eQ,{})]})})});var tt=e.i(89970),tr=e.i(83495);let tn=(e,t,r)=>Math.min(Math.max(e,t),r),ti=e=>{if("u"{e?e.scrollTo(t,{duration:1.5}):window.scrollTo({top:t,behavior:"smooth"})};tt.default.registerPlugin(tr.ScrollTrigger);let to={desktop:600,tablet:550,mobile:500};function ta({dashboardRefs:e,onPinState:t,tier:r="desktop",ready:n=!1}){let i=J(e=>e.setScrollProgress),s=J(e=>e.setActiveSection),o=(0,N.useRef)(null),a=(0,N.useRef)(0),l=(0,N.useRef)("before"),c=(0,N.useRef)(null);return(0,N.useEffect)(()=>{let r=o.current;if(!r)return;let n=r=>{i(r);let n=r<=2e-4?"before":r>=.9998?"after":"pinned";n!==l.current&&(l.current=n,t?.(n));let o=0;if(r>=.92?o=3:r>=.5?o=2:r>=.12&&(o=1),o!==a.current&&(a.current=o,s(o)),e){var c,u,d;c=e.bars||[],u=e.pieQuarters||[],d=r>=.92?(r-.92)/.08:0,c.forEach((e,t)=>{if(e.current){let r=tn((d-.08*t)/.5,0,1);e.current.scale.y=r}}),u.forEach((e,t)=>{e.current&&(e.current.rotation.y=-.709+d*Math.PI*2*(2+.5*t))})}},u=tr.ScrollTrigger.create({trigger:r,start:"top top",end:"bottom bottom",scrub:2.5,invalidateOnRefresh:!0,onUpdate:e=>n(e.progress),onRefresh:e=>n(e.progress)});c.current=u;let d=requestAnimationFrame(()=>tr.ScrollTrigger.refresh()),p=0,f=new ResizeObserver(()=>{cancelAnimationFrame(p),p=requestAnimationFrame(()=>tr.ScrollTrigger.refresh())});f.observe(document.documentElement);let m=!1;return document.fonts?.ready&&document.fonts.ready.then(()=>{m||tr.ScrollTrigger.refresh()}),()=>{cancelAnimationFrame(d),cancelAnimationFrame(p),f.disconnect(),m=!0,u.kill(),c.current=null}},[i,s,e,t]),(0,N.useEffect)(()=>{n&&tr.ScrollTrigger.refresh()},[n]),(0,R.jsx)("div",{ref:o,id:"scroll-trigger-trigger",style:{position:"relative",width:"100%",height:`${to[r]??600}vh`,pointerEvents:"none",zIndex:0}})}function tl(){let e=J(e=>e.activeSection),t=J(e=>e.lenis);return(0,R.jsx)("div",{className:"side-navigation",id:"main-navbar",children:[{label:"First Mile",index:0},{label:"Mid Mile",index:1},{label:"Last Mile",index:2},{label:"Analytics",index:3}].map(r=>(0,R.jsxs)("button",{onClick:()=>{ts(t,ti([0,.38,.76,.92][r.index]))},className:`side-nav-item ${e===r.index?"active":""}`,children:[(0,R.jsx)("span",{className:"side-nav-label",children:r.label}),(0,R.jsx)("span",{className:"side-nav-dot"})]},r.index))})}let tc=[{id:"first-mile",title:"First Mile Warehouse",subtitle:"Consolidation & Prep",description:"Incoming shipments are securely loaded, checked, and queued for transfer in our high-capacity fulfillment centers.",progressStart:0,progressEnd:.25},{id:"mid-mile",title:"Mid Mile Hub",subtitle:"Sorting & Direct Dispatch",description:"Consolidated goods travel between primary distribution nodes. Heavy logistics lanes sorting thousands of parcels per hour.",progressStart:.25,progressEnd:.5},{id:"last-mile",title:"Last Mile Delivery",subtitle:"Doorstep Courier Services",description:"Local courier fleets take over for the final leg — MileTruth™ AI sequences the fastest doorstep routes and keeps every package tracked through to a confirmed delivery.",progressStart:.5,progressEnd:.75},{id:"analytics",title:"Fulfillment Analytics",subtitle:"Real-Time Operational Insights",description:"A fully centralized dashboard monitoring transit times, fleet coordinates, carbon footprint, and delivery success rates.",progressStart:.75,progressEnd:1}];function tu({children:e,active:t,id:r,className:n=""}){let i=(0,N.useRef)(null);return(0,N.useEffect)(()=>{let e=i.current;if(!e)return;let n=e.querySelectorAll(".section-badge, .section-title, .section-subtitle, .section-description, .section-metrics, .section-supporting, .section-close-btn"),s="promise-section"===r;t?(tt.default.killTweensOf([e,n]),tt.default.to(e,{xPercent:s?-50:0,yPercent:s?-50:0,y:0,scale:1,opacity:1,duration:.85,ease:"power4.out"}),tt.default.fromTo(n,{y:15,opacity:0},{y:0,opacity:1,duration:.6,stagger:.08,ease:"power3.out",delay:.1})):(tt.default.killTweensOf([e,n]),tt.default.to(e,{xPercent:s?-50:0,yPercent:s?-50:0,y:s?18:20,scale:.96,opacity:0,duration:.5,ease:"power3.inOut"}),tt.default.to(n,{y:10,opacity:0,duration:.35,ease:"power2.in"}))},[t,r]),(0,R.jsx)("div",{ref:i,id:r,className:`section-panel ${t?"active":""} ${n}`,style:{opacity:0,transform:"promise-section"===r?"translate(-50%, -50%) translateY(18px) scale(0.96)":"translateY(20px) scale(0.96)"},children:e})}function td({active:e}){let t=tc[0];return(0,R.jsxs)(tu,{active:e,id:"first-mile-section",children:[(0,R.jsx)("div",{className:"section-badge",children:"Stage 01"}),(0,R.jsx)("h2",{className:"section-title",children:t.title}),(0,R.jsx)("h3",{className:"section-subtitle",children:t.subtitle}),(0,R.jsx)("p",{className:"section-description",children:t.description}),(0,R.jsxs)("div",{className:"section-metrics",children:[(0,R.jsxs)("div",{className:"metric-item",children:[(0,R.jsx)("span",{className:"metric-value",children:"14,250"}),(0,R.jsx)("span",{className:"metric-label",children:"Parcels Processed"})]}),(0,R.jsxs)("div",{className:"metric-item",children:[(0,R.jsx)("span",{className:"metric-value",children:"99.98%"}),(0,R.jsx)("span",{className:"metric-label",children:"Sorting Accuracy"})]})]})]})}function tp({active:e}){let t=tc[1],r=J(e=>e.lenis);return(0,R.jsxs)(tu,{active:e,id:"mid-mile-section",children:[(0,R.jsx)("div",{className:"section-badge",children:"Stage 02"}),(0,R.jsx)("h2",{className:"section-title",children:t.title}),(0,R.jsx)("h3",{className:"section-subtitle",children:t.subtitle}),(0,R.jsx)("p",{className:"section-description",children:t.description}),(0,R.jsxs)("div",{className:"section-metrics mm-info-strip",children:[(0,R.jsxs)("div",{className:"mm-info-row",children:[(0,R.jsx)("span",{className:"mm-info-icon","aria-hidden":"true",children:(0,R.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,R.jsx)("rect",{x:"1",y:"3",width:"15",height:"13"}),(0,R.jsx)("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"}),(0,R.jsx)("circle",{cx:"5.5",cy:"18.5",r:"2.5"}),(0,R.jsx)("circle",{cx:"18.5",cy:"18.5",r:"2.5"})]})}),(0,R.jsxs)("div",{className:"mm-info-content",children:[(0,R.jsx)("h4",{className:"mm-info-title",children:"Vehicles In Transit"}),(0,R.jsx)("p",{className:"mm-info-text",children:"A live view of active vehicles moving shipments between regional distribution hubs."})]})]}),(0,R.jsxs)("div",{className:"mm-info-row",children:[(0,R.jsx)("span",{className:"mm-info-icon","aria-hidden":"true",children:(0,R.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,R.jsx)("line",{x1:"16.5",y1:"9.4",x2:"7.5",y2:"4.21"}),(0,R.jsx)("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}),(0,R.jsx)("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"}),(0,R.jsx)("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"})]})}),(0,R.jsxs)("div",{className:"mm-info-content",children:[(0,R.jsx)("h4",{className:"mm-info-title",children:"Packages In Transit"}),(0,R.jsx)("p",{className:"mm-info-text",children:"Real-time visibility into parcels currently moving through the mid-mile network."})]})]})]}),(0,R.jsxs)("button",{className:"section-close-btn",onClick:()=>{ts(r,ti(.575))},children:["Continue Journey",(0,R.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{marginLeft:"6px"},children:[(0,R.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,R.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]})}function tf({active:e}){let t=tc[2],r=J(e=>e.lenis);return(0,R.jsxs)(tu,{active:e,id:"last-mile-section",children:[(0,R.jsx)("div",{className:"section-badge",children:"Stage 03"}),(0,R.jsx)("h2",{className:"section-title",children:t.title}),(0,R.jsx)("h3",{className:"section-subtitle",children:t.subtitle}),(0,R.jsx)("p",{className:"section-description",children:t.description}),(0,R.jsxs)("div",{className:"section-metrics",children:[(0,R.jsxs)("div",{className:"metric-item",children:[(0,R.jsx)("span",{className:"metric-value",children:"99.4%"}),(0,R.jsx)("span",{className:"metric-label",children:"On-Time Delivery"})]}),(0,R.jsxs)("div",{className:"metric-item",children:[(0,R.jsx)("span",{className:"metric-value",children:"12.5 min"}),(0,R.jsx)("span",{className:"metric-label",children:"Avg. Doorstep Time"})]})]}),(0,R.jsxs)("div",{className:"section-supporting",children:[(0,R.jsx)("span",{className:"supporting-dot"}),(0,R.jsxs)("div",{className:"supporting-text",children:[(0,R.jsx)("span",{className:"supporting-value",children:"Real-Time visibility"}),(0,R.jsx)("span",{className:"supporting-label",children:"Live GPS · Active now"})]})]}),(0,R.jsxs)("button",{className:"section-close-btn",onClick:()=>{ts(r,ti(.92))},children:["Continue",(0,R.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{marginLeft:"6px"},children:[(0,R.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,R.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]})}function tm({active:e}){return(0,R.jsxs)(tu,{active:e,id:"promise-section",children:[(0,R.jsx)("div",{className:"section-badge",children:"The Doormile Promise"}),(0,R.jsxs)("h2",{className:"section-title promise-title",children:["One Connected System.",(0,R.jsx)("br",{}),"One Promise Kept."]}),(0,R.jsx)("span",{className:"promise-divider","aria-hidden":!0}),(0,R.jsx)("p",{className:"section-description promise-desc",children:"Stop managing three separate logistics services. Doormile unifies first, mid and last mile into a single intelligent delivery system powered by MileTruth™ AI."})]})}var th=e.i(92599);function tg(){let e=J(e=>e.scrollProgress<.14),t=J(e=>e.scrollProgress>=.38&&e.scrollProgress<.5),r=J(e=>e.scrollProgress>=.78&&e.scrollProgress<.875),n=J(e=>e.scrollProgress>=.9);return(0,R.jsxs)("div",{className:"sections-overlay-container",children:[(0,R.jsx)(td,{active:e}),(0,R.jsx)(tp,{active:t}),(0,R.jsx)(tf,{active:r}),(0,R.jsx)(tm,{active:n})]})}function tv({hidden:e}){return(0,R.jsxs)("div",{className:"dm-hiw-3d-loader","aria-hidden":e,style:{position:"absolute",inset:0,zIndex:50,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"18px",background:"linear-gradient(180deg, #f5f5f7 0%, #e9edf2 100%)",opacity:+!e,pointerEvents:e?"none":"auto",transition:"opacity 0.6s ease"},children:[(0,R.jsx)("span",{style:{width:30,height:30,borderRadius:"50%",border:"3px solid rgba(192,18,39,0.18)",borderTopColor:"#c01227",animation:"dm-hiw-spin 0.8s linear infinite"}}),(0,R.jsx)("span",{style:{fontWeight:600,letterSpacing:"0.01em",color:"#1f1f1f",fontSize:"0.95rem"},children:"Loading Doormile Experience…"}),(0,R.jsx)("style",{children:"@keyframes dm-hiw-spin{to{transform:rotate(360deg)}}"})]})}function ty(){return(0,R.jsxs)("section",{className:"dm-hiw-3d-fallback",style:{position:"relative",minHeight:"70vh",display:"flex",alignItems:"flex-end",background:"linear-gradient(180deg, #eef1f5 0%, #dfe5ec 55%, #cfd7e0 100%)",overflow:"hidden"},children:[(0,R.jsx)("img",{src:"/images/home2-banner-1.webp",alt:"Doormile delivery journey — first mile to last mile",loading:"lazy",decoding:"async",onError:e=>{e.currentTarget.style.display="none"},style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}}),(0,R.jsx)("div",{style:{position:"relative",padding:"2rem clamp(1rem, 5vw, 4rem)",maxWidth:720},children:(0,R.jsx)("p",{style:{fontWeight:700,fontSize:"clamp(1.25rem, 3vw, 2rem)",lineHeight:1.2,margin:0},children:"From first mile to last mile, every delivery tracked."})})]})}tt.default.registerPlugin(tr.ScrollTrigger),e.s(["default",0,function(){let e=J(e=>e.setLenis),t=function(){let[e,t]=(0,N.useState)(null);return(0,N.useEffect)(()=>{let e,r,n,i,s,o,a;t((r=window.matchMedia("(prefers-reduced-motion: reduce)").matches,n=window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0,i=window.innerWidth,s="number"==typeof navigator.deviceMemory?navigator.deviceMemory:8,o=navigator.hardwareConcurrency||8,a=function(){if("u"=1024?"desktop":i>=768&&i<=1366?"tablet":n&&i<768||i<768?"mobile":"tablet",(s<=2||o<=2)&&"mobile"!==e&&(e="mobile"),{tier:e,isTouch:n,reducedMotion:r,fallback:r||!a||s<=1,lowMemory:s<=4}))},[]),e}(),r=(0,N.useRef)(null),n=(0,N.useRef)(null),[i,s]=(0,N.useState)("before"),[o,a]=(0,N.useState)(!1),[l,c]=(0,N.useState)(!1),u=(0,N.useCallback)(()=>c(!0),[]),d=t?.tier??"desktop",p=t?.fallback??!1,f=t?.isTouch??!1,m=null!=t&&!p;(0,N.useEffect)(()=>{if(!m)return;let e=r.current;if(!e)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(a(!0),t.disconnect())},{rootMargin:"200% 0px"});return t.observe(e),()=>t.disconnect()},[m]),(0,N.useEffect)(()=>{let t;if(!m||f)return;let r=new th.default({duration:1.2,lerp:.08,syncTouch:!1});e(r),r.on("scroll",tr.ScrollTrigger.update);let n=e=>{r.raf(e),t=requestAnimationFrame(n)};return t=requestAnimationFrame(n),tr.ScrollTrigger.refresh(),()=>{cancelAnimationFrame(t),r.destroy(),e(null)}},[m,f,e]),(0,N.useEffect)(()=>{if(!o)return;let e=n.current;if(!e)return;let t=null,r=r=>{let n=r>=.92;n!==t&&(t=n,e.style.opacity=n?"0.85":"1")};return r(J.getState().scrollProgress),J.subscribe(e=>r(e.scrollProgress))},[o]);let h=(0,N.useRef)(null),g=N.default.useMemo(()=>[{current:null},{current:null},{current:null},{current:null}],[]),v=N.default.useMemo(()=>({bars:[],floorBars:[],pieQuarters:[]}),[]);return null==t?(0,R.jsx)("div",{ref:r,className:"dm-hiw-3d",style:{minHeight:"100vh"},"aria-hidden":!0}):p?(0,R.jsx)(ty,{}):(0,R.jsxs)("div",{ref:r,className:`dm-hiw-3d is-${i}`,children:[(0,R.jsxs)("div",{className:"dm-hiw-3d-stage",children:[(0,R.jsx)("div",{ref:n,className:"canvas-wrapper",style:{transition:"opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)"},children:o&&(0,R.jsx)(te,{truckRef:h,wheelRefs:g,dashboardRefs:v,tier:d,onReady:u})}),o&&(0,R.jsx)(tv,{hidden:l}),(0,R.jsx)(tl,{}),(0,R.jsx)(tg,{})]}),(0,R.jsx)(ta,{dashboardRefs:v,onPinState:s,tier:d,ready:l})]})}],41626)},88493,e=>{e.n(e.i(41626))}]); \ No newline at end of file diff --git a/.next/static/chunks/04xui0pxt.et1.js b/.next/static/chunks/04xui0pxt.et1.js deleted file mode 100644 index ba8e2d7..0000000 --- a/.next/static/chunks/04xui0pxt.et1.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89970,83495,t=>{"use strict";function e(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,S={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},A={duration:.5,overwrite:!1,delay:0},P=2*Math.PI,D=P/4,R=0,z=Math.sqrt,F=Math.cos,I=Math.sin,B=function(t){return"string"==typeof t},Y=function(t){return"function"==typeof t},L=function(t){return"number"==typeof t},N=function(t){return void 0===t},X=function(t){return"object"==typeof t},U=function(t){return!1!==t},q=function(){return"u">typeof window},H=function(t){return Y(t)||B(t)},W="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},V=Array.isArray,j=/random\([^)]+\)/g,G=/,\s*/g,Q=/(?:-?\.?\d|\.)+/gi,Z=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,$=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,J=/[+-]=-?[.\d]+/,tt=/[^,'"\[\]\s]+/gi,te=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,tr={},tn={},ti=function(t){return(tn=tz(t,tr))&&rM},ts=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ta=function(t,e){return!e&&console.warn(t)},to=function(t,e){return t&&(tr[t]=e)&&tn&&(tn[t]=e)||tr},tu=function(){return 0},tl={suppressEvents:!0,isStart:!0,kill:!1},tc={suppressEvents:!0,kill:!1},tf={suppressEvents:!0},th={},tp=[],td={},t_={},tg={},tm=30,tv=[],ty="",tx=function(t){var e,r,n=t[0];if(X(n)||Y(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=tv.length;r--&&!tv[r].targetTest(n););e=tv[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new eX(t[r],e)))||t.splice(r,1);return t},tb=function(t){return t._gsap||tx(ei(t))[0]._gsap},tT=function(t,e,r){return(r=t[e])&&Y(r)?t[e]():N(r)&&t.getAttribute&&t.getAttribute(e)||r},tw=function(t,e){return(t=t.split(",")).forEach(e)||t},tk=function(t){return Math.round(1e5*t)/1e5||0},tM=function(t){return Math.round(1e7*t)/1e7||0},tO=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},tC=function(t,e){for(var r=e.length,n=0;0>t.indexOf(e[n])&&++ns;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=a,e.parent=e._dp=t,e},tN=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},tX=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},tU=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},tq=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},tH=function(t,e,r,n){return t._startAt&&(y?t._startAt.revert(tc):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},tW=function(t){return t._repeat?tV(t._tTime,t=t.duration()+t._rDelay)*t:0},tV=function(t,e){var r=Math.floor(t=tM(t/e));return t&&r===t?r-1:r},tj=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},tG=function(t){return t._end=tM(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},tQ=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=tM(r._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),tG(t),r._dirty||tU(r,t)),t},tZ=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start1e-8)&&e.render(r,!0)),tU(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},t$=function(t,e,r,n){return e.parent&&tX(e),e._start=tM((L(r)?r:r||t!==b?t4(t,r,e):t._time)+e._delay),e._end=tM(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),tL(t,e,"_first","_last",t._sort?"_start":0),t1(e)||(t._recent=e),n||tZ(t,e),t._ts<0&&tQ(t,t._tTime),t},tK=function(t,e){return(tr.ScrollTrigger||ts("scrollTrigger",e))&&tr.ScrollTrigger.create(e,t)},tJ=function(t,e,r,n,i){return(e0(t,e,i),t._initted)?!r&&t._pt&&!y&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&O!==eC.frame?(tp.push(t),t._lazy=[i,n],1):void 0:1},t0=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(0>r.rawTime()||t(r))},t1=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},t2=function(t,e,r,n){var i,s,a,o=t.ratio,u=e<0||!e&&(!t._start&&t0(t)&&!(!t._initted&&t1(t))||(t._ts<0||t._dp._ts<0)&&!t1(t))?0:1,l=t._rDelay,c=0;if(l&&t._repeat&&(s=tV(c=et(0,t._tDur,e),l),t._yoyo&&1&s&&(u=1-u),s!==tV(t._tTime,l)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||y||n||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&tJ(t,e,n,r,c))return;for(a=t._zTime,t._zTime=e||1e-8*!!r,r||(r=e&&!a),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=c,i=t._pt;i;)i.r(u,i.d),i=i._next;e<0&&tH(t,e,r,!0),t._onUpdate&&!r&&e_(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&e_(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&tX(t,1),r||y||(e_(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},t5=function(t,e,r){var n;if(r>e)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start0&&!n&&tQ(t,t._tTime=t._tDur*a),t.parent&&tG(t),r||tU(t.parent,t),t},t8=function(t){return t instanceof eq?tU(t):t3(t,t._dur)},t6={_start:0,endTime:tu,totalDuration:tu},t4=function t(e,r,n){var i,s,a,o=e.labels,u=e._recent||t6,l=e.duration()>=1e8?u.endTime(!1):e._dur;return B(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s)?(i>=0&&(r=r.replace(/=/,"")),("<"===s?u._start:u.endTime(u._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?u:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=l),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(V(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:l+s):null==r?l:+r},t9=function(t,e,r){var n,i,s=L(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=U(i.vars.inherit)&&i.parent;o.immediateRender=U(n.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new e4(e[0],o,e[a+1])},t7=function(t,e){return t||0===t?e(t):e},et=function(t,e,r){return re?e:r},ee=function(t,e){return B(t)&&(e=te.exec(t))?e[1]:""},er=[].slice,en=function(t,e){return t&&X(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&X(t[0]))&&!t.nodeType&&t!==T},ei=function(t,e,r){var n;return x&&!e&&x.selector?x.selector(t):B(t)&&!r&&(w||!eE())?er.call((e||k).querySelectorAll(t),0):V(t)?(void 0===n&&(n=[]),t.forEach(function(t){var e;return B(t)&&!r||en(t,1)?(e=n).push.apply(e,ei(t)):n.push(t)})||n):en(t)?er.call(t,0):t?[t]:[]},es=function(t){return t=ei(t)[0]||ta("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ei(e,r.querySelectorAll?r:r===t?ta("Invalid scope")||k.createElement("div"):t)}},ea=function(t){return t.sort(function(){return .5-Math.random()})},eo=function(t){if(Y(t))return t;var e=X(t)?t:{each:t},r=eI(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,u=e.axis,l=n,c=n;return B(n)?l=c=({center:.5,edges:.5,end:1})[n]||0:!a&&o&&(l=n[0],c=n[1]),function(t,a,f){var h,p,d,_,g,m,v,y,x,b=(f||e).length,T=s[b];if(!T){if(!(x="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(v=-1e8;v<(v=f[x++].getBoundingClientRect().left)&&xv&&(v=g),gb?b-1:u?"y"===u?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),T.b=b<0?i-b:i,T.u=ee(e.amount||e.each)||0,r=r&&b<0?eF(r):r}return b=(T[t]-T.min)/T.max||0,tM(T.b+(r?r(b):b)*T.v)+T.u}},eu=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=tM(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(L(r)?0:ee(r))}},el=function(t,e){var r,n,i=V(t);return!i&&X(t)&&(r=i=t.radius||1e8,t.values?(n=!L((t=ei(t.values))[0]))&&(r*=r):t=eu(t.increment)),t7(e,i?Y(t)?function(e){return Math.abs((n=t(e))-e)<=r?n:e}:function(e){for(var i,s,a=parseFloat(n?e.x:e),o=parseFloat(n?e.y:0),u=1e8,l=0,c=t.length;c--;)(i=n?(i=t[c].x-a)*i+(s=t[c].y-o)*s:Math.abs(t[c]-a))(i=Math.abs(i))&&(s=n,o=i);return s},e_=function(t,e,r){var n,i,s,a=t.vars,o=a[e],u=x,l=t._ctx;if(o)return n=a[e+"Params"],i=a.callbackScope||t,r&&tp.length&&tE(),l&&(x=l),s=n?o.apply(i,n):o.call(i),x=u,s},eg=function(t){return tX(t),t.scrollTrigger&&t.scrollTrigger.kill(!!y),1>t.progress()&&e_(t,"onInterrupt"),t},em=[],ev=function(t){if(t)if(t=!t.name&&t.default||t,q()||t.headless){var e=t.name,r=Y(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:tu,render:ra,add:e$,kill:ru,modifier:ro,rawVars:0},s={targetTest:0,get:0,getSetter:rr,aliases:{},register:0};if(eE(),t!==n){if(t_[e])return;tR(n,tR(tI(t,i),s)),tz(n.prototype,tz(i,tI(t,s))),t_[n.prop=e]=n,t.targetTest&&(tv.push(n),th[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}to(e,n),t.register&&t.register(rM,n,rf)}else em.push(t)},ey={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ex=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*255+.5|0},eb=function(t,e,r){var n,i,s,a,o,u,l,c,f,h,p=t?L(t)?[t>>16,t>>8&255,255&t]:0:ey.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ey[t])p=ey[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),t="#"+n+n+(i=t.charAt(2))+i+(s=t.charAt(3))+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=h=t.match(Q),e){if(~t.indexOf("="))return p=t.match(Z),r&&p.length<4&&(p[3]=1),p}else a=p[0]%360/360,o=p[1]/100,i=(u=p[2]/100)<=.5?u*(o+1):u+o-u*o,n=2*u-i,p.length>3&&(p[3]*=1),p[0]=ex(a+1/3,n,i),p[1]=ex(a,n,i),p[2]=ex(a-1/3,n,i);else p=t.match(Q)||ey.transparent;p=p.map(Number)}return e&&!h&&(n=p[0]/255,u=((l=Math.max(n,i=p[1]/255,s=p[2]/255))+(c=Math.min(n,i,s)))/2,l===c?a=o=0:(f=l-c,o=u>.5?f/(2-l-c):f/(l+c),a=(l===n?(i-s)/f+6*(ic||y<0)&&(h+=y-f),p+=y,((r=(m=p-h)-_)>0||x)&&(v=++a.frame,o=m-1e3*a.time,a.time=m/=1e3,_+=r+(r>=d?4:d-r),s=1),x||(n=i(t)),s)for(u=0;utypeof requestAnimationFrame&&requestAnimationFrame,n&&a.sleep(),i=s||function(t){return setTimeout(t,_-1e3*a.time+1|0)},E=1,m(2))},sleep:function(){(s?cancelAnimationFrame:clearTimeout)(n),E=0,i=tu},lagSmoothing:function(t,e){f=Math.min(e||33,c=t||1/0)},fps:function(t){d=1e3/(t||240),_=1e3*a.time+d},add:function(t,e,r){var n=e?function(e,r,i,s){t(e,r,i,s),a.remove(n)}:t;return a.remove(t),g[r?"unshift":"push"](n),eE(),n},remove:function(t,e){~(e=g.indexOf(t))&&g.splice(e,1)&&u>=e&&u--},_listeners:g}),eE=function(){return!E&&eC.wake()},eS={},eA=/^[\d.\-M][\d.\-,\s]/,eP=/["']/g,eD=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,u=s.length;o1&&r.config?r.config.apply(null,~t.indexOf("{")?[eD(e[1])]:eR(t).split(",").map(tP)):eS._CE&&eA.test(t)?eS._CE("",t):r},eF=function(t){return function(e){return 1-t(1-e)}},eI=function(t,e){return t&&(Y(t)?t:eS[t]||ez(t))||e},eB=function(t,e,r,n){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===n&&(n=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var i,s={easeIn:e,easeOut:r,easeInOut:n};return tw(t,function(t){for(var e in eS[t]=tr[t]=s,eS[i=t.toLowerCase()]=r,s)eS[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=eS[t+"."+e]=s[e]}),s},eY=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},eL=function t(e,r,n){var i=r>=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),a=s/P*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*I((t-a)*s)+1},u="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:eY(o);return s=P/s,u.config=function(r,n){return t(e,r,n)},u},eN=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:eY(n);return i.config=function(r){return t(e,r)},i};tw("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;eB(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow((1-t)*2,r)/2})}),eS.Linear.easeNone=eS.none=eS.Linear.easeIn,eB("Elastic",eL("in"),eL("out"),eL()),eW=2*(eH=1/2.75),eV=2.5*eH,eB("Bounce",function(t){return 1-ej(1-t)},ej=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,t3(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(eE(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(tQ(this,t),!r._dp||r.parent||tZ(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:-((r.totalDuration()-r._tTime)/r._ts))&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&t$(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),tA(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+tW(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-t:t)+tW(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?tV(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?tj(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(et(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),tG(this),tq(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(eE(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=tM(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&t$(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(U(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?tj(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=tf);var e=y;return y=t,tS(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),y=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,t8(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,t8(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(t4(this,t),U(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,U(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this,r=e._prom;return new Promise(function(n){var i=Y(t)?t:tD,s=function(){var t=e.then;e.then=null,r&&r(),Y(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),n(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?s():e._prom=s})},e.kill=function(){eg(this)},t}();tR(eU.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var eq=function(t){function n(r,n){var i;return void 0===r&&(r={}),(i=t.call(this,r)||this).labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=U(r.sortChildren),b&&t$(r.parent||b,e(i),n),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&tK(e(i),r.scrollTrigger),i}r(n,t);var i=n.prototype;return i.to=function(t,e,r){return t9(0,arguments,this),this},i.from=function(t,e,r){return t9(1,arguments,this),this},i.fromTo=function(t,e,r,n){return t9(2,arguments,this),this},i.set=function(t,e,r){return e.duration=0,e.parent=this,tB(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new e4(t,e,t4(this,r),1),this},i.call=function(t,e,r){return t$(this,e4.delayedCall(0,t,e),r)},i.staggerTo=function(t,e,r,n,i,s,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new e4(t,r,t4(this,i)),this},i.staggerFrom=function(t,e,r,n,i,s,a){return r.runBackwards=1,tB(r).immediateRender=U(r.immediateRender),this.staggerTo(t,e,r,n,i,s,a)},i.staggerFromTo=function(t,e,r,n,i,s,a,o){return n.startAt=r,tB(n).immediateRender=U(n.immediateRender),this.staggerTo(t,e,n,i,s,a,o)},i.render=function(t,e,r){var n,i,s,a,o,u,l,c,f,h,p,d,_=this._time,g=this._dirty?this.totalDuration():this._tDur,m=this._dur,v=t<=0?0:tM(t),x=this._zTime<0!=t<0&&(this._initted||!m);if(this!==b&&v>g&&t>=0&&(v=g),v!==this._tTime||r||x){if(_!==this._time&&m&&(v+=this._time-_,t+=this._time-_),n=v,f=this._start,u=!(c=this._ts),x&&(m||(_=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,o=m+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(n=tM(v%o),v===g?(a=this._repeat,n=m):((a=~~(h=tM(v/o)))&&a===h&&(n=m,a--),n>m&&(n=m)),h=tV(this._tTime,o),!_&&this._tTime&&h!==a&&this._tTime-h*o-this._dur<=0&&(h=a),p&&1&a&&(n=m-n,d=1),a!==h&&!this._lock){var T=p&&1&h,w=T===(p&&1&a);if(a=_&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var k=t<0?t:n;i;){if(s=i._prev,(i._act||k<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(k-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(k-i._start)*i._ts,e,r||y&&tS(i)),n!==this._time||!this._ts&&!u){l=0,s&&(v+=this._zTime=k?-1e-8:1e-8);break}}i=s}}if(l&&!e&&(this.pause(),l.render(n>=_?0:-1e-8)._zTime=n>=_?1:-1,this._ts))return this._start=f,tG(this),this.render(t,e,r);this._onUpdate&&!e&&e_(this,"onUpdate",!0),(v===g&&this._tTime>=this.totalDuration()||!v&&_)&&(f===this._start||Math.abs(c)!==Math.abs(this._ts))&&!this._lock&&((t||!m)&&(v===g&&this._ts>0||!v&&this._ts<0)&&tX(this,1),e||t<0&&!_||!v&&!_&&g||(e_(this,v===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom()))}return this},i.add=function(t,e){var r=this;if(L(e)||(e=t4(this,e,t)),!(t instanceof eU)){if(V(t))return t.forEach(function(t){return r.add(t,e)}),this;if(B(t))return this.addLabel(t,e);if(!Y(t))return this;t=e4.delayedCall(0,t)}return this!==t?t$(this,t,e):this},i.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof e4?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},i.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},i.remove=function(t){return B(t)?this.removeLabel(t):Y(t)?this.killTweensOf(t):(t.parent===this&&tN(this,t),t===this._recent&&(this._recent=this._last),tU(this))},i.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=tM(eC.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=t4(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,r){var n=e4.delayedCall(0,e||tu,r);return n.data="isPause",this._hasPause=1,t$(this,n,t4(this,t))},i.removePause=function(t){var e=this._first;for(t=t4(this,t);e;)e._start===t&&"isPause"===e.data&&tX(e),e=e._next},i.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)eG!==n[i]&&n[i].kill(t,e);return this},i.getTweensOf=function(t,e){for(var r,n=[],i=ei(t),s=this._first,a=L(e);s;)s instanceof e4?tC(s._targets,i)&&(a?(!eG||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},i.tweenTo=function(t,e){e=e||{};var r,n=this,i=t4(n,t),s=e,a=s.startAt,o=s.onStart,u=s.onStartParams,l=s.immediateRender,c=e4.to(n,tR({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||1e-8,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());c._dur!==t&&t3(c,t,0,1).render(c._time,!0,!0),r=1}o&&o.apply(c,u||[])}},e));return l?c.render(0):c},i.tweenFromTo=function(t,e,r){return this.tweenTo(e,tR({startAt:{time:t4(this,t)}},r))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),ed(this,t4(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},i.shiftChildren=function(t,e,r){void 0===r&&(r=0);var n,i=this._first,s=this.labels;for(t=tM(t);i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return tU(this)},i.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},i.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),tU(this)},i.totalDuration=function(t){var e,r,n,i=0,s=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(n=this.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>a&&this._sort&&s._ts&&!this._lock?(this._lock=1,t$(this,s,r-s._delay,1)._lock=0):a=r,r<0&&s._ts&&(i-=r,(!n&&!this._dp||n&&n.smoothChildTiming)&&(this._start+=tM(r/this._ts),this._time-=r,this._tTime-=r),this.shiftChildren(-r,!1,-Infinity),a=0),s._end>i&&s._ts&&(i=s._end),s=e;t3(this,this===b&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},n.updateRoot=function(t){if(b._ts&&(tA(b,tj(t,b)),O=eC.frame),eC.frame>=tm){tm+=S.autoSleep||120;var e=b._first;if((!e||!e._ts)&&S.autoSleep&&eC._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||eC.sleep()}}},n}(eU);tR(eq.prototype,{_lock:0,_hasPause:0,_forcing:0});var eH,eW,eV,ej,eG,eQ,eZ=function(t,e,r,n,i,s,a){var o,u,l,c,f,h,p,d,_=new rf(this._pt,t,e,0,1,rs,null,i),g=0,m=0;for(_.b=r,_.e=n,r+="",n+="",(p=~n.indexOf("random("))&&(n=eh(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),u=r.match(K)||[];o=K.exec(n);)c=o[0],f=n.substring(g,o.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[m++]&&(h=parseFloat(u[m-1])||0,_._pt={_next:_._pt,p:f||1===m?f:",",s:h,c:"="===c.charAt(1)?tO(h,c)-h:parseFloat(c)-h,m:l&&l<4?Math.round:0},g=K.lastIndex);return _.c=g")}),a.duration();else{for(c in u={},w)"ease"===c||"easeEach"===c||e5(c,w[c],u,w.easeEach);for(c in u)for(o=0,A=u[c].sort(function(t,e){return t.t-e.t}),R=0;oh-1e-8&&!d?h:t<1e-8?0:t;if(p){if(_!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(n=_,c=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&d)return this.totalTime(100*a+t,e,r);if(n=tM(_%a),_===h?(s=this._repeat,n=p):(s=~~(o=tM(_/a)))&&s===o?(n=p,s--):n>p&&(n=p),(u=this._yoyo&&1&s)&&(n=p-n),o=tV(this._tTime,a),n===f&&!r&&this._initted&&s===o)return this._tTime=_,this;s!==o&&this.vars.repeatRefresh&&!u&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(tM(a*s),!0).invalidate()._lock=0)}if(!this._initted){if(tJ(this,d?t:n,r,e,_))return this._tTime=0,this;if(f!==this._time&&!(r&&this.vars.repeatRefresh&&s!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._rEase){var g=n0||!_&&this._ts<0)&&tX(this,1),!e&&!(d&&!f)&&(_||f||u)&&(e_(this,_===h?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom()))}}else t2(this,t,e,r);return this},i.targets=function(){return this._targets},i.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},i.resetTo=function(t,e,r,n,i){E||eC.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||e0(this,s),e1(this,t,e,r,n,this._ease(s/this._dur),s,i))?this.resetTo(t,e,r,n,1):(tQ(this,0),this.parent||tL(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?eg(this):this.scrollTrigger&&this.scrollTrigger.kill(!!y),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,eG&&!0!==eG.vars.overwrite)._first||eg(this),this.parent&&r!==this.timeline.totalDuration()&&t3(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,u,l,c=this._targets,f=t?ei(t):c,h=this._ptLookup,p=this._pt;if((!e||"all"===e)&&tY(c,f))return"all"===e&&(this._pt=0),eg(this);for(n=this._op=this._op||[],"all"!==e&&(B(e)&&(o={},tw(e,function(t){return o[t]=1}),e=o),e=e2(c,e)),l=c.length;l--;)if(~f.indexOf(c[l]))for(o in i=h[l],"all"===e?(n[l]=e,a=i,s={}):(s=n[l]=n[l]||{},a=e),a)(u=i&&i[o])&&("kill"in u.d&&!0!==u.d.kill(o)||tN(this,u,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&p&&eg(this),this},n.to=function(t,e){return new n(t,e,arguments[2])},n.from=function(t,e){return t9(1,arguments)},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},n.fromTo=function(t,e,r){return t9(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,r){return b.killTweensOf(t,e,r)},n}(eU);tR(e4.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),tw("staggerTo,staggerFrom,staggerFromTo",function(t){e4[t]=function(){var e=new eq,r=er.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}});var e9=function(t,e,r){return t[e]=r},e7=function(t,e,r){return t[e](r)},rt=function(t,e,r,n){return t[e](n.fp,r)},re=function(t,e,r){return t.setAttribute(e,r)},rr=function(t,e){return Y(t[e])?e7:N(t[e])&&t.setAttribute?re:e9},rn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},ri=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},rs=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},ra=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ro=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},ru=function(t){for(var e,r,n=this._pt;n;)r=n._next,(n.p!==t||n.op)&&n.op!==t?n.dep||(e=1):tN(this,n,"_pt"),n=r;return!e},rl=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},rc=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},rf=function(){function t(t,e,r,n,i,s,a,o,u){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||rn,this.d=a||this,this.set=o||e9,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=rl,this.m=t,this.mt=r,this.tween=e},t}();tw(ty+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return th[t]=1}),tr.TweenMax=tr.TweenLite=e4,tr.TimelineLite=tr.TimelineMax=eq,b=new eq({sortChildren:!1,defaults:A,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),S.stringFilter=eO;var rh=[],rp={},rd=[],r_=0,rg=0,rm=function(t){return(rp[t]||rd).map(function(t){return t()})},rv=function(){var t=Date.now(),e=[];t-r_>2&&(rm("matchMediaInit"),rh.forEach(function(t){var r,n,i,s,a=t.queries,o=t.conditions;for(n in a)(r=T.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(t.revert(),i&&e.push(t))}),rm("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),r_=t,rm("matchMedia"))},ry=function(){function t(t,e){this.selector=e&&es(e),this.data=[],this._r=[],this.isReverted=!1,this.id=rg++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Y(t)&&(r=e,e=t,t=Y);var n=this,i=function(){var t,i=x,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=es(r)),x=n,t=e.apply(n,arguments),Y(t)&&n._r.push(t),x=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===Y?i(n,function(t){return n.add(null,t)}):t?n[t]=i:i},e.ignore=function(t){var e=x;x=null,t(this),x=e},e.getTweens=function(){var e=[];return this.data.forEach(function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof e4&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){for(var n,i=r.getTweens(),s=r.data.length;s--;)"isFlip"===(n=r.data[s]).data&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(t){return i.splice(i.indexOf(t),1)}));for(i.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),s=r.data.length;s--;)(n=r.data[s])instanceof eq?"nested"!==n.data&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):n instanceof e4||!n.revert||n.revert(t);r._r.forEach(function(e){return e(t,r)}),r.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var a=rh.length;a--;)rh[a].id===this.id&&rh.splice(a,1)},e.revert=function(t){this.kill(t||{})},t}(),rx=function(){function t(t){this.contexts=[],this.scope=t,x&&x.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){X(t)||(t={matches:t});var n,i,s,a=new ry(0,r||this.scope),o=a.conditions={};for(i in x&&!a.selector&&(a.selector=x.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(n=T.matchMedia(t[i]))&&(0>rh.indexOf(a)&&rh.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(rv):n.addEventListener("change",rv));return s&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),rb={registerPlugin:function(){for(var t=arguments.length,e=Array(t),r=0;r1){var n=t.map(function(t){return rM.quickSetter(t,e,r)}),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=t_[e],a=tb(t),o=a.harness&&(a.harness.aliases||{})[e]||e,u=s?function(e){var n=new s;C._pt=0,n.init(t,r?e+r:e,C,0,[t]),n.render(1,n),C._pt&&ra(1,C)}:a.set(t,o);return s?u:function(e){return u(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var n,i=rM.to(t,tR(((n={})[e]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return b.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eI(t.ease,A.ease)),tF(A,t||{})},config:function(t){return tF(S,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach(function(t){return t&&!t_[t]&&!tr[t]&&ta(e+" effect requires "+t+" plugin.")}),tg[e]=function(t,e,n){return r(ei(t),tR(e||{},i),n)},s&&(eq.prototype[e]=function(t,r,n){return this.add(tg[e](t,X(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){eS[t]=eI(e)},parseEase:function(t,e){return arguments.length?eI(t,e):eS},getById:function(t){return b.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new eq(t);for(i.smoothChildTiming=U(t.smoothChildTiming),b.remove(i),i._dp=0,i._time=i._tTime=b._time,r=b._first;r;)n=r._next,(e||!(!r._dur&&r instanceof e4&&r.vars.onComplete===r._targets[0]))&&t$(i,r,r._start-r._delay),r=n;return t$(b,i,0),i},context:function(t,e){return t?new ry(t,e):x},matchMedia:function(t){return new rx(t)},matchMediaRefresh:function(){return rh.forEach(function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()})||rv()},addEventListener:function(t,e){var r=rp[t]||(rp[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=rp[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return V(e)?ef(e,t(0,e.length),r):t7(n,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return V(e)?ef(e,t(0,e.length-1),r):t7(n,function(t){return t=(s+(t-e)%s)%s||0,e+(t>i?s-t:t)})},distribute:eo,random:ec,snap:el,normalize:function(t,e,r){return ep(t,e,0,1,r)},getUnit:ee,clamp:function(t,e,r){return t7(r,function(r){return et(t,e,r)})},splitColor:eb,toArray:ei,selector:es,mapRange:ep,pipe:function(){for(var t=arguments.length,e=Array(t),r=0;r=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(r1,r,"")),e=r0}(s||r)&&this.props.push(e,r,s[e])},r5=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},r3=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?r9[i]:"")+t},nt=function(){"u">typeof window&&window.document&&(rC=(rO=window.document).documentElement,rS=r6("div")||{style:{}},r6("div"),r1=(r0=r7(r0))+"Origin",rS.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rD=!!r7("perspective"),rP=rM.core.reverting,rE=1)},ne=function(t){var e,r=t.ownerSVGElement,n=r6("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0);i.style.display="block",n.appendChild(i),rC.appendChild(n);try{e=i.getBBox()}catch(t){}return n.removeChild(i),rC.removeChild(n),e},nr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},nn=function(t){var e,r;try{e=t.getBBox()}catch(n){e=ne(t),r=1}return e&&(e.width||e.height)||r||(e=ne(t)),!e||e.width||e.x||e.y?e:{x:+nr(t,["x","cx","x1"])||0,y:+nr(t,["y","cy","y1"])||0,width:0,height:0}},ni=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&nn(t))},ns=function(t,e){if(e){var r,n=t.style;e in rR&&e!==r1&&(e=r0),n.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),n.removeProperty("--"===r?e:e.replace(rB,"-$1").toLowerCase())):n.removeAttribute(e)}},na=function(t,e,r,n,i,s){var a=new rf(t._pt,e,r,0,1,s?rj:rV);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},no={deg:1,rad:1,turn:1},nu={grid:1,flex:1},nl=function t(e,r,n,i){var s,a,o,u,l=parseFloat(n)||0,c=(n+"").trim().substr((l+"").length)||"px",f=rS.style,h=rY.test(r),p="svg"===e.tagName.toLowerCase(),d=(p?"client":"offset")+(h?"Width":"Height"),_="px"===i,g="%"===i;if(i===c||!l||no[i]||no[c])return l;if("px"===c||_||(l=t(e,r,n,"px")),u=e.getCTM&&ni(e),(g||"%"===c)&&(rR[r]||~r.indexOf("adius")))return s=u?e.getBBox()[h?"width":"height"]:e[d],tk(g?l/s*100:l/100*s);if(f[h?"width":"height"]=100+(_?c:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,u&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==rO&&a.appendChild||(a=rO.body),(o=a._gsap)&&g&&o.width&&h&&o.time===eC.time&&!o.uncache)return tk(l/o.width*100);if(g&&("height"===r||"width"===r)){var m=e.style[r];e.style[r]=100+i,s=e[d],m?e.style[r]=m:ns(e,r)}else(g||"%"===c)&&!nu[r4(a,"display")]&&(f.position=r4(e,"position")),a===e&&(f.position="static"),a.appendChild(rS),s=rS[d],a.removeChild(rS),f.position="absolute";return h&&g&&((o=tb(a)).time=eC.time,o.width=a[d]),tk(_?s*l/100:s&&l?100/s*l:0)},nc=function(t,e,r,n){var i;return rE||nt(),e in rN&&"transform"!==e&&~(e=rN[e]).indexOf(",")&&(e=e.split(",")[0]),rR[e]&&"transform"!==e?(i=nT(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:nw(r4(t,r1))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=n_[e]&&n_[e](t,e,r)||r4(t,e)||tT(t,e)||+("opacity"===e)),r&&!~(i+"").trim().indexOf(" ")?nl(t,e,i,r)+r:i},nf=function(t,e,r,n){if(!r||"none"===r){var i=r7(e,t,1),s=i&&r4(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=r4(t,"borderTopColor"))}var a,o,u,l,c,f,h,p,d,_,g,m=new rf(this._pt,t.style,e,0,1,rs),v=0,y=0;if(m.b=r,m.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=r4(t,n.substring(4,n.indexOf(")")))),"auto"===n&&(f=t.style[e],t.style[e]=n,n=r4(t,e)||n,f?t.style[e]=f:ns(t,e)),eO(a=[r,n]),r=a[0],n=a[1],u=r.match($)||[],(n.match($)||[]).length){for(;o=$.exec(n);)h=o[0],d=n.substring(v,o.index),c?c=(c+1)%5:("rgba("===d.substr(-5)||"hsla("===d.substr(-5))&&(c=1),h!==(f=u[y++]||"")&&(l=parseFloat(f)||0,g=f.substr((l+"").length),"="===h.charAt(1)&&(h=tO(l,h)+g),p=parseFloat(h),_=h.substr((p+"").length),v=$.lastIndex-_.length,_||(_=_||S.units[e]||g,v===n.length&&(n+=_,m.e+=_)),g!==_&&(l=nl(t,e,f,_)||0),m._pt={_next:m._pt,p:d||1===y?d:",",s:l,c:p-l,m:c&&c<4||"zIndex"===e?Math.round:0});m.c=v-1;)rR[r=o[i]]&&(n=1,r="transformOrigin"===r?r1:r0),ns(s,r);n&&(ns(s,r0),u&&(u.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",nT(s,1),u.uncache=1,r5(a)))}},n_={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new rf(t._pt,e,r,0,0,nd);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},ng=[1,0,0,1,0,0],nm={},nv=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},ny=function(t){var e=r4(t,r0);return nv(e)?ng:e.substr(7).match(Z).map(tk)},nx=function(t,e){var r,n,i,s,a=t._gsap||tb(t),o=t.style,u=ny(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?ng:u:(u!==ng||t.offsetParent||t===rC||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(s=1,n=t.nextElementSibling,rC.appendChild(t)),u=ny(t),i?o.display=i:ns(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):rC.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},nb=function(t,e,r,n,i,s){var a,o,u,l,c=t._gsap,f=i||nx(t,!0),h=c.xOrigin||0,p=c.yOrigin||0,d=c.xOffset||0,_=c.yOffset||0,g=f[0],m=f[1],v=f[2],y=f[3],x=f[4],b=f[5],T=e.split(" "),w=parseFloat(T[0])||0,k=parseFloat(T[1])||0;r?f!==ng&&(o=g*y-m*v)&&(u=y/o*w+-v/o*k+(v*b-y*x)/o,l=-m/o*w+g/o*k-(g*b-m*x)/o,w=u,k=l):(w=(a=nn(t)).x+(~T[0].indexOf("%")?w/100*a.width:w),k=a.y+(~(T[1]||T[0]).indexOf("%")?k/100*a.height:k)),n||!1!==n&&c.smooth?(c.xOffset=d+((x=w-h)*g+(b=k-p)*v)-x,c.yOffset=_+(x*m+b*y)-b):c.xOffset=c.yOffset=0,c.xOrigin=w,c.yOrigin=k,c.smooth=!!n,c.origin=e,c.originIsAbsolute=!!r,t.style[r1]="0px 0px",s&&(na(s,c,"xOrigin",h,w),na(s,c,"yOrigin",p,k),na(s,c,"xOffset",d,c.xOffset),na(s,c,"yOffset",_,c.yOffset)),t.setAttribute("data-svg-origin",w+" "+k)},nT=function(t,e){var r=t._gsap||new eX(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,A,P,D,R,z,F,I=t.style,B=r.scaleX<0,Y=getComputedStyle(t),L=r4(t,r1)||"0";return n=i=s=u=l=c=f=h=p=0,a=o=1,r.svg=!!(t.getCTM&&ni(t)),Y.translate&&(("none"!==Y.translate||"none"!==Y.scale||"none"!==Y.rotate)&&(I[r0]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[r0]?Y[r0]:"")),I.scale=I.rotate=I.translate="none"),g=nx(t,r.svg),r.svg&&(r.uncache?(C=t.getBBox(),L=r.xOrigin-C.x+"px "+(r.yOrigin-C.y)+"px",O=""):O=!e&&t.getAttribute("data-svg-origin"),nb(t,O||L,!!O||r.originIsAbsolute,!1!==r.smooth,g)),d=r.xOrigin||0,_=r.yOrigin||0,g!==ng&&(x=g[0],b=g[1],T=g[2],w=g[3],n=k=g[4],i=M=g[5],6===g.length?(a=Math.sqrt(x*x+b*b),o=Math.sqrt(w*w+T*T),u=x||b?rI(b,x)*rz:0,(f=T||w?rI(T,w)*rz+u:0)&&(o*=Math.abs(Math.cos(f*rF))),r.svg&&(n-=d-(d*x+_*T),i-=_-(d*b+_*w))):(F=g[6],R=g[7],A=g[8],P=g[9],D=g[10],z=g[11],n=g[12],i=g[13],s=g[14],l=(m=rI(F,D))*rz,m&&(O=k*(v=Math.cos(-m))+A*(y=Math.sin(-m)),C=M*v+P*y,E=F*v+D*y,A=-(k*y)+A*v,P=-(M*y)+P*v,D=-(F*y)+D*v,z=-(R*y)+z*v,k=O,M=C,F=E),c=(m=rI(-T,D))*rz,m&&(O=x*(v=Math.cos(-m))-A*(y=Math.sin(-m)),C=b*v-P*y,E=T*v-D*y,z=w*y+z*v,x=O,b=C,T=E),u=(m=rI(b,x))*rz,m&&(O=x*(v=Math.cos(m))+b*(y=Math.sin(m)),C=k*v+M*y,b=b*v-x*y,M=M*v-k*y,x=O,k=C),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),a=tk(Math.sqrt(x*x+b*b+T*T)),o=tk(Math.sqrt(M*M+F*F)),f=Math.abs(m=rI(k,M))>2e-4?m*rz:0,p=z?1/(z<0?-z:z):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!nv(r4(t,r0)),O&&t.setAttribute("transform",O))),Math.abs(f)>90&&270>Math.abs(f)&&(B?(a*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=tk(a),r.scaleY=tk(o),r.rotation=tk(u)+"deg",r.rotationX=tk(l)+"deg",r.rotationY=tk(c)+"deg",r.skewX=f+"deg",r.skewY=h+"deg",r.transformPerspective=p+"px",(r.zOrigin=parseFloat(L.split(" ")[2])||!e&&r.zOrigin||0)&&(I[r1]=nw(L)),r.xOffset=r.yOffset=0,r.force3D=S.force3D,r.renderTransform=r.svg?nE:rD?nC:nM,r.uncache=0,r},nw=function(t){return(t=t.split(" "))[0]+" "+t[1]},nk=function(t,e,r){var n=ee(e);return tk(parseFloat(e)+parseFloat(nl(t,"x",r+"px",n)))+n},nM=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,nC(t,e)},nO="0deg",nC=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,p=r.scaleX,d=r.scaleY,_=r.transformPerspective,g=r.force3D,m=r.target,v=r.zOrigin,y="",x="auto"===g&&t&&1!==t||!0===g;if(v&&(c!==nO||l!==nO)){var b,T=parseFloat(l)*rF,w=Math.sin(T),k=Math.cos(T);s=nk(m,s,-(w*(b=Math.cos(T=parseFloat(c)*rF))*v)),a=nk(m,a,-(-Math.sin(T)*v)),o=nk(m,o,-(k*b*v)+v)}"0px"!==_&&(y+="perspective("+_+") "),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||"0px"!==s||"0px"!==a||"0px"!==o)&&(y+="0px"!==o||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+") "),u!==nO&&(y+="rotate("+u+") "),l!==nO&&(y+="rotateY("+l+") "),c!==nO&&(y+="rotateX("+c+") "),(f!==nO||h!==nO)&&(y+="skew("+f+", "+h+") "),(1!==p||1!==d)&&(y+="scale("+p+", "+d+") "),m.style[r0]=y||"translate(0, 0)"},nE=function(t,e){var r,n,i,s,a,o=e||this,u=o.xPercent,l=o.yPercent,c=o.x,f=o.y,h=o.rotation,p=o.skewX,d=o.skewY,_=o.scaleX,g=o.scaleY,m=o.target,v=o.xOrigin,y=o.yOrigin,x=o.xOffset,b=o.yOffset,T=o.forceCSS,w=parseFloat(c),k=parseFloat(f);h=parseFloat(h),p=parseFloat(p),(d=parseFloat(d))&&(p+=d=parseFloat(d),h+=d),h||p?(h*=rF,p*=rF,r=Math.cos(h)*_,n=Math.sin(h)*_,i=-(Math.sin(h-p)*g),s=Math.cos(h-p)*g,p&&(d*=rF,i*=a=Math.sqrt(1+(a=Math.tan(p-d))*a),s*=a,d&&(r*=a=Math.sqrt(1+(a=Math.tan(d))*a),n*=a)),r=tk(r),n=tk(n),i=tk(i),s=tk(s)):(r=_,s=g,n=i=0),(w&&!~(c+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(w=nl(m,"x",c,"px"),k=nl(m,"y",f,"px")),(v||y||x||b)&&(w=tk(w+v-(v*r+y*i)+x),k=tk(k+y-(v*n+y*s)+b)),(u||l)&&(w=tk(w+u/100*(a=m.getBBox()).width),k=tk(k+l/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+w+","+k+")",m.setAttribute("transform",a),T&&(m.style[r0]=a)},nS=function(t,e,r,n,i){var s,a,o=B(i),u=parseFloat(i)*(o&&~i.indexOf("rad")?rz:1)-n,l=n+u+"deg";return o&&("short"===(s=i.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===s&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===s&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),t._pt=a=new rf(t._pt,e,r,n,u,rU),a.e=l,a.u="deg",t._props.push(r),a},nA=function(t,e){for(var r in e)t[r]=e[r];return t},nP=function(t,e,r){var n,i,s,a,o,u,l,c=nA({},r._gsap),f=r.style;for(i in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),f[r0]=e,n=nT(r,1),ns(r,r0),r.setAttribute("transform",s)):(s=getComputedStyle(r)[r0],f[r0]=e,n=nT(r,1),f[r0]=s),rR)(s=c[i])!==(a=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(o=ee(s)!==(l=ee(a))?nl(r,i,s,l):parseFloat(s),u=parseFloat(a),t._pt=new rf(t._pt,n,i,o,u-o,rX),t._pt.u=l||0,t._props.push(i));nA(n,c)};tw("padding,margin,Width,Radius",function(t,e){var r="Right",n="Bottom",i="Left",s=(e<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return e<2?t+r:"border"+r+t});n_[e>1?"border"+t:t]=function(t,e,r,n,i){var a,o;if(arguments.length<4)return 5===(o=(a=s.map(function(e){return nc(t,e,r)})).join(" ")).split(a[0]).length?a[0]:o;a=(n+"").split(" "),o={},s.forEach(function(t,e){return o[t]=a[e]=a[e]||a[(e-1)/2|0]}),t.init(e,o,i)}});var nD={name:"css",register:nt,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T=this._props,w=t.style,k=r.vars.startAt;for(f in rE||nt(),this.styles=this.styles||r8(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(a=e[f],!(t_[f]&&eJ(f,e,r,n,t,i)))){if(l=typeof a,c=n_[f],"function"===l&&(l=typeof(a=a.call(r,n,t,i))),"string"===l&&~a.indexOf("random(")&&(a=eh(a)),c)c(this,t,f,a,r)&&(y=1);else if("--"===f.substr(0,2))s=(getComputedStyle(t).getPropertyValue(f)+"").trim(),a+="",ek.lastIndex=0,!ek.test(s)&&(h=ee(s),(p=ee(a))?h!==p&&(s=nl(t,f,s,p)+p):h&&(a+=h)),this.add(w,"setProperty",s,a,n,i,0,0,f),T.push(f),x.push(f,0,w[f]);else if("undefined"!==l){if(k&&f in k?(B(s="function"==typeof k[f]?k[f].call(r,n,t,i):k[f])&&~s.indexOf("random(")&&(s=eh(s)),ee(s+"")||"auto"===s||(s+=S.units[f]||ee(nc(t,f))||""),"="===(s+"").charAt(1)&&(s=nc(t,f))):s=nc(t,f),u=parseFloat(s),(d="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),f in rN&&("autoAlpha"===f&&(1===u&&"hidden"===nc(t,"visibility")&&o&&(u=0),x.push("visibility",0,w.visibility),na(this,w,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=rN[f]).indexOf(",")&&(f=f.split(",")[0])),_=f in rR){if(this.styles.save(f),b=a,"string"===l&&"var(--"===a.substring(0,6)){if("calc("===(a=r4(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=a,a=r4(t,"perspective"),M?t.style.perspective=M:ns(t,"perspective")}o=parseFloat(a)}if(g||((m=t._gsap).renderTransform&&!e.parseTransform||nT(t,e.parseTransform),v=!1!==e.smoothOrigin&&m.smooth,(g=this._pt=new rf(this._pt,w,r0,0,1,m.renderTransform,m,0,-1)).dep=1),"scale"===f)this._pt=new rf(this._pt,m,"scaleY",m.scaleY,(d?tO(m.scaleY,d+o):o)-m.scaleY||0,rX),this._pt.u=0,T.push("scaleY",f),f+="X";else if("transformOrigin"===f){x.push(r1,0,w[r1]),a=np(a),m.svg?nb(t,a,0,v,0,this):((p=parseFloat(a.split(" ")[2])||0)!==m.zOrigin&&na(this,m,"zOrigin",m.zOrigin,p),na(this,w,f,nw(s),nw(a)));continue}else if("svgOrigin"===f){nb(t,a,1,v,0,this);continue}else if(f in nm){nS(this,m,f,u,d?tO(u,d+a):a);continue}else if("smoothOrigin"===f){na(this,m,"smooth",m.smooth,a);continue}else if("force3D"===f){m[f]=a;continue}else if("transform"===f){nP(this,a,t);continue}}else f in w||(f=r7(f)||f);if(_||(o||0===o)&&(u||0===u)&&!rL.test(a)&&f in w)h=(s+"").substr((u+"").length),o||(o=0),p=ee(a)||(f in S.units?S.units[f]:h),h!==p&&(u=nl(t,f,s,p)),this._pt=new rf(this._pt,_?m:w,f,u,(d?tO(u,d+o):o)-u,!_&&("px"===p||"zIndex"===f)&&!1!==e.autoRound?rW:rX),this._pt.u=p||0,_&&b!==a?(this._pt.b=s,this._pt.e=b,this._pt.r=rH):h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=rq);else if(f in w)nf.call(this,t,f,s,d?d+a:a);else if(f in t)this.add(t,f,s||t[f],d?d+a:a,n,i);else if("parseTransform"!==f){ts(f,a);continue}_||(f in w?x.push(f,0,w[f]):"function"==typeof t[f]?x.push(f,2,t[f]()):x.push(f,1,s||t[f])),T.push(f)}}y&&rc(this)},render:function(t,e){if(e.tween._time||!rP())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:nc,aliases:rN,getSetter:function(t,e,r){var n=rN[e];return n&&0>n.indexOf(",")&&(e=n),e in rR&&e!==r1&&(t._gsap.x||nc(t,"x"))?r&&rA===r?"scale"===e?r$:rZ:(rA=r||{},"scale"===e?rK:rJ):t.style&&!N(t.style[e])?rG:~e.indexOf("-")?rQ:rr(t,e)},core:{_removeProperty:ns,_getMatrix:nx}};rM.utils.checkPrefix=r7,rM.core.getStyleSaver=r8,nF=tw("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(nz="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){rR[t]=1}),tw(nz,function(t){S.units[t]="deg",nm[t]=1}),rN[nF[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+nz,tw("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");rN[e[1]]=nF[e[0]]}),tw("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){S.units[t]="px"}),rM.registerPlugin(nD);var nR=rM.registerPlugin(nD)||rM;nR.core.Tween,t.s(["default",0,nR],89970);var nz,nF,nI,nB,nY,nL,nN,nX,nU,nq,nH,nW,nV,nj,nG,nQ=function(){return nI||"u">typeof window&&(nI=window.gsap)&&nI.registerPlugin&&nI},nZ=1,n$=[],nK=[],nJ=[],n0=Date.now,n1=function(t,e){return e},n2=function(){var t=nH.core,e=t.bridge||{},r=t._scrollers,n=t._proxies;r.push.apply(r,nK),n.push.apply(n,nJ),nK=r,nJ=n,n1=function(t,r){return e[t](r)}},n5=function(t,e){return~nJ.indexOf(t)&&nJ[nJ.indexOf(t)+1][e]},n3=function(t){return!!~nW.indexOf(t)},n8=function(t,e,r,n,i){return t.addEventListener(e,r,{passive:!1!==n,capture:!!i})},n6=function(t,e,r,n){return t.removeEventListener(e,r,!!n)},n4="scrollLeft",n9="scrollTop",n7=function(){return nV&&nV.isPressed||nK.cache++},it=function(t,e){var r=function r(n){if(n||0===n){nZ&&(nY.history.scrollRestoration="manual");var i=nV&&nV.isPressed;t(n=r.v=Math.round(n)||(nV&&nV.iOS?1:0)),r.cacheID=nK.cache,i&&n1("ss",n)}else(e||nK.cache!==r.cacheID||n1("ref"))&&(r.cacheID=nK.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},ie={s:n4,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:it(function(t){return arguments.length?nY.scrollTo(t,ir.sc()):nY.pageXOffset||nL[n4]||nN[n4]||nX[n4]||0})},ir={s:n9,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:ie,sc:it(function(t){return arguments.length?nY.scrollTo(ie.sc(),t):nY.pageYOffset||nL[n9]||nN[n9]||nX[n9]||0})},ii=function(t,e){return(e&&e._ctx&&e._ctx.selector||nI.utils.toArray)(t)[0]||("string"==typeof t&&!1!==nI.config().nullTargetWarn?console.warn("Element not found:",t):null)},is=function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1},ia=function(t,e){var r=e.s,n=e.sc;n3(t)&&(t=nL.scrollingElement||nN);var i=nK.indexOf(t),s=n===ir.sc?1:2;~i||(i=nK.push(t)-1),nK[i+s]||n8(t,"scroll",n7);var a=nK[i+s],o=a||(nK[i+s]=it(n5(t,r),!0)||(n3(t)?n:it(function(e){return arguments.length?t[r]=e:t[r]})));return o.target=t,a||(o.smooth="smooth"===nI.getProperty(t,"scrollBehavior")),o},io=function(t,e,r){var n=t,i=t,s=n0(),a=s,o=e||50,u=Math.max(500,3*o),l=function(t,e){var u=n0();e||u-s>o?(i=n,n=t,a=s,s=u):r?n+=t:n=i+(t-i)/(u-a)*(s-a)};return{update:l,reset:function(){i=n=r?0:n,a=s=0},getVelocity:function(t){var e=a,o=i,c=n0();return(t||0===t)&&t!==n&&l(t),s===a||c-a>u?0:(n+(r?o:-o))/((r?c:s)-e)*1e3}}},iu=function(t,e){return e&&!t._gsapAllow&&!1!==t.cancelable&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},il=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},ic=function(){(nH=nI.core.globals().ScrollTrigger)&&nH.core&&n2()},ih=function(t){return nI=t||nQ(),!nB&&nI&&"u">typeof document&&document.body&&(nY=window,nN=(nL=document).documentElement,nX=nL.body,nW=[nY,nL,nN,nX],nI.utils.clamp,nG=nI.core.context||function(){},nq="onpointerenter"in nX?"pointer":"mouse",nU=ip.isTouch=nY.matchMedia&&nY.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in nY||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),nj=ip.eventTypes=("ontouchstart"in nN?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in nN)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return nZ=0},500),nB=1),nH||ic(),nB};ie.op=ir,nK.cache=0;var ip=function(){var t;function e(t){this.init(t)}return e.prototype.init=function(t){nB||ih(nI)||console.warn("Please gsap.registerPlugin(Observer)"),nH||ic();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,a=t.debounce,o=t.preventDefault,u=t.onStop,l=t.onStopDelay,c=t.ignore,f=t.wheelSpeed,h=t.event,p=t.onDragStart,d=t.onDragEnd,_=t.onDrag,g=t.onPress,m=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,T=t.onChangeX,w=t.onChangeY,k=t.onChange,M=t.onToggleX,O=t.onToggleY,C=t.onHover,E=t.onHoverEnd,S=t.onMove,A=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,z=t.onWheel,F=t.onEnable,I=t.onDisable,B=t.onClick,Y=t.scrollSpeed,L=t.capture,N=t.allowClicks,X=t.lockAxis,U=t.onLockAxis;this.target=i=ii(i)||nN,this.vars=t,c&&(c=nI.utils.toArray(c)),e=e||1e-9,r=r||0,f=f||1,Y=Y||1,n=n||"wheel,touch,pointer",a=!1!==a,s||(s=parseFloat(nY.getComputedStyle(nX).lineHeight)||22);var q,H,W,V,j,G,Q,Z=this,$=0,K=0,J=t.passive||!o&&!1!==t.passive,tt=ia(i,ie),te=ia(i,ir),tr=tt(),tn=te(),ti=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===nj[0],ts=n3(i),ta=i.ownerDocument||nL,to=[0,0,0],tu=[0,0,0],tl=0,tc=function(){return tl=n0()},tf=function(t,e){return(Z.event=t)&&c&&is(t.target,c)||e&&ti&&"touch"!==t.pointerType||A&&A(t,e)},th=function(){var t=Z.deltaX=il(to),r=Z.deltaY=il(tu),n=Math.abs(t)>=e,i=Math.abs(r)>=e;k&&(n||i)&&k(Z,t,r,to,tu),n&&(v&&Z.deltaX>0&&v(Z),y&&Z.deltaX<0&&y(Z),T&&T(Z),M&&Z.deltaX<0!=$<0&&M(Z),$=Z.deltaX,to[0]=to[1]=to[2]=0),i&&(b&&Z.deltaY>0&&b(Z),x&&Z.deltaY<0&&x(Z),w&&w(Z),O&&Z.deltaY<0!=K<0&&O(Z),K=Z.deltaY,tu[0]=tu[1]=tu[2]=0),(V||W)&&(S&&S(Z),W&&(p&&1===W&&p(Z),_&&_(Z),W=0),V=!1),G&&(G=!1,1)&&U&&U(Z),j&&(z(Z),j=!1),q=0},tp=function(t,e,r){to[r]+=t,tu[r]+=e,Z._vx.update(t),Z._vy.update(e),a?q||(q=requestAnimationFrame(th)):th()},td=function(t,e){X&&!Q&&(Z.axis=Q=Math.abs(t)>Math.abs(e)?"x":"y",G=!0),"y"!==Q&&(to[2]+=t,Z._vx.update(t,!0)),"x"!==Q&&(tu[2]+=e,Z._vy.update(e,!0)),a?q||(q=requestAnimationFrame(th)):th()},t_=function(t){if(!tf(t,1)){var e=(t=iu(t,o)).clientX,n=t.clientY,i=e-Z.x,s=n-Z.y,a=Z.isDragging;Z.x=e,Z.y=n,(a||(i||s)&&(Math.abs(Z.startX-e)>=r||Math.abs(Z.startY-n)>=r))&&(W||(W=a?2:1),a||(Z.isDragging=!0),td(i,s))}},tg=Z.onPress=function(t){tf(t,1)||t&&t.button||(Z.axis=Q=null,H.pause(),Z.isPressed=!0,t=iu(t),$=K=0,Z.startX=Z.x=t.clientX,Z.startY=Z.y=t.clientY,Z._vx.reset(),Z._vy.reset(),n8(P?i:ta,nj[1],t_,J,!0),Z.deltaX=Z.deltaY=0,g&&g(Z))},tm=Z.onRelease=function(t){if(!tf(t,1)){n6(P?i:ta,nj[1],t_,!0);var e=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),s=iu(t);!n&&e&&(Z._vx.reset(),Z._vy.reset(),o&&N&&nI.delayedCall(.08,function(){if(n0()-tl>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(ta.createEvent){var e=ta.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,nY,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),Z.isDragging=Z.isGesturing=Z.isPressed=!1,u&&r&&!P&&H.restart(!0),W&&th(),d&&r&&d(Z),m&&m(Z,n)}},tv=function(t){return t.touches&&t.touches.length>1&&(Z.isGesturing=!0)&&D(t,Z.isDragging)},ty=function(){return Z.isGesturing=!1,R(Z)},tx=function(t){if(!tf(t)){var e=tt(),r=te();tp((e-tr)*Y,(r-tn)*Y,1),tr=e,tn=r,u&&H.restart(!0)}},tb=function(t){if(!tf(t)){t=iu(t,o),z&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?nY.innerHeight:1)*f;tp(t.deltaX*e,t.deltaY*e,0),u&&!P&&H.restart(!0)}},tT=function(t){if(!tf(t)){var e=t.clientX,r=t.clientY,n=e-Z.x,i=r-Z.y;Z.x=e,Z.y=r,V=!0,u&&H.restart(!0),(n||i)&&td(n,i)}},tw=function(t){Z.event=t,C(Z)},tk=function(t){Z.event=t,E(Z)},tM=function(t){return tf(t)||iu(t,o)&&B(Z)};H=Z._dc=nI.delayedCall(l||.25,function(){Z._vx.reset(),Z._vy.reset(),H.pause(),u&&u(Z)}).pause(),Z.deltaX=Z.deltaY=0,Z._vx=io(0,50,!0),Z._vy=io(0,50,!0),Z.scrollX=tt,Z.scrollY=te,Z.isDragging=Z.isGesturing=Z.isPressed=!1,nG(this),Z.enable=function(t){return!Z.isEnabled&&(n8(ts?ta:i,"scroll",n7),n.indexOf("scroll")>=0&&n8(ts?ta:i,"scroll",tx,J,L),n.indexOf("wheel")>=0&&n8(i,"wheel",tb,J,L),(n.indexOf("touch")>=0&&nU||n.indexOf("pointer")>=0)&&(n8(i,nj[0],tg,J,L),n8(ta,nj[2],tm),n8(ta,nj[3],tm),N&&n8(i,"click",tc,!0,!0),B&&n8(i,"click",tM),D&&n8(ta,"gesturestart",tv),R&&n8(ta,"gestureend",ty),C&&n8(i,nq+"enter",tw),E&&n8(i,nq+"leave",tk),S&&n8(i,nq+"move",tT)),Z.isEnabled=!0,Z.isDragging=Z.isGesturing=Z.isPressed=V=W=!1,Z._vx.reset(),Z._vy.reset(),tr=tt(),tn=te(),t&&t.type&&tg(t),F&&F(Z)),Z},Z.disable=function(){Z.isEnabled&&(n$.filter(function(t){return t!==Z&&n3(t.target)}).length||n6(ts?ta:i,"scroll",n7),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),n6(P?i:ta,nj[1],t_,!0)),n6(ts?ta:i,"scroll",tx,L),n6(i,"wheel",tb,L),n6(i,nj[0],tg,L),n6(ta,nj[2],tm),n6(ta,nj[3],tm),n6(i,"click",tc,!0),n6(i,"click",tM),n6(ta,"gesturestart",tv),n6(ta,"gestureend",ty),n6(i,nq+"enter",tw),n6(i,nq+"leave",tk),n6(i,nq+"move",tT),Z.isEnabled=Z.isPressed=Z.isDragging=!1,I&&I(Z))},Z.kill=Z.revert=function(){Z.disable();var t=n$.indexOf(Z);t>=0&&n$.splice(t,1),nV===Z&&(nV=0)},n$.push(Z),P&&n3(i)&&(nV=Z),Z.enable(h)},t=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(t,e){for(var r=0;r-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},i3=function(t,e){return e&&(!so(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},i8=function(){return iC=1},i6=function(){return iC=0},i4=function(t){return t},i9=function(t){return Math.round(1e5*t)/1e5||0},i7=function(){return"u">typeof window},st=function(){return id||i7()&&(id=window.gsap)&&id.registerPlugin&&id},se=function(t){return!!~ix.indexOf(t)},sr=function(t){return("Height"===t?iH:ig["inner"+t])||iv["client"+t]||iy["client"+t]},sn=function(t){return n5(t,"getBoundingClientRect")||(se(t)?function(){return ac.width=ig.innerWidth,ac.height=iH,ac}:function(){return sS(t)})},si=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=n5(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?sr(i):t["client"+i])||0}},ss=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(s=n5(t,r="scroll"+n))?s()-sn(t)()[i]:se(t)?(iv[r]||iy[r])-sr(n):t[r]-t["offset"+n])},sa=function(t,e){for(var r=0;r0){for(t-=i,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in sL?sL[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},sX=function(t,e,r,n,i,s,a,o){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=im.createElement("div"),d=se(r)||"fixed"===n5(r,"pinType"),_=-1!==t.indexOf("scroller"),g=d?iy:"IFRAME"===r.tagName?r.contentDocument.body:r,m=-1!==t.indexOf("start"),v=m?u:l,y="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((_||o)&&d?"fixed;":"absolute;"),(_||o||!d)&&(y+=(n===ir?s_:sg)+":"+(s+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],sU(p,0,n,m),p},sU=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+sk]=1,i["border"+a+sk]=0,i[r.p]=e+"px",id.set(t,i)},sq=[],sH={},sW=function(){return iJ()-i1>34&&(iG||(iG=requestAnimationFrame(ae)))},sV=function(){iI&&iI.isPressed&&!(iI.startX>iy.clientWidth)||(nK.cache++,iI?iG||(iG=requestAnimationFrame(ae)):ae(),i1||sK("scrollStart"),i1=iJ())},sj=function(){iL=ig.innerWidth,iY=ig.innerHeight},sG=function(t){nK.cache++,(!0===t||!iO&&!iF&&!im.fullscreenElement&&!im.webkitFullscreenElement&&(!iB||iL!==ig.innerWidth||Math.abs(ig.innerHeight-iY)>.25*ig.innerHeight))&&ib.restart(!0)},sQ={},sZ=[],s$=function t(){return sF(am,"scrollEnd",t)||s9(!0)},sK=function(t){return sQ[t]&&sQ[t].map(function(t){return t()})||sZ},sJ=[],s0=function(t){for(var e=0;ee,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)}),s4(!1),iV=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}),nK.forEach(function(t){su(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),s5(iU,1),ib.pause(),s3++,iQ=2,ae(2),sq.forEach(function(t){return su(t.vars.onRefresh)&&t.vars.onRefresh(t)}),iQ=am.isRefreshing=!1,sK("refresh")},s7=0,at=1,ae=function(t){if(2===t||!iQ&&!iW){am.isUpdating=!0,i$&&i$.update(0);var e=sq.length,r=iJ(),n=r-i0>=50,i=e&&sq[0].scroll();if(at=s7>i?-1:1,iQ||(s7=i),n&&(i1&&!iC&&r-i1>200&&(i1=0,sK("scrollEnd")),ik=i0,i0=r),at<0){for(iS=e;iS-- >0;)sq[iS]&&sq[iS].update(0,n);at=1}else for(iS=0;iS20),r-=r-x}if(p&&(o[p]=t||-.001,t<0&&(t=0)),s){var w=t+r,k=s._isStart;d="scroll"+n.d2,sU(s,w,n,k&&w>20||!k&&(c?Math.max(iy[d],iv[d]):s.parentNode[d])<=w+1),c&&(u=sS(a),c&&(s.style[n.op.p]=u[n.op.p]-n.op.m-s._offset+"px"))}return h&&g&&(d=sS(g),h.seek(f),_=sS(g),h._caScrollDist=d[n.p]-_[n.p],t=t/h._caScrollDist*f),h&&h.seek(m),h?t:Math.round(t)},ah=/(webkit|moz|length|cssText|inset)/i,ap=function(t,e,r,n){if(t.parentNode!==e){var i,s,a=t.style;if(e===iy){for(i in t._stOrig=a.cssText,s=sO(t))+i||ah.test(i)||!s[i]||"string"!=typeof a[i]||"0"===i||(a[i]=s[i]);a.top=r,a.left=n}else a.cssText=t._stOrig;id.core.getCache(t).uncache=1,e.appendChild(t)}},ad=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=Math.round(e)}},a_=function(t,e,r){var n={};n[e.p]="+="+r,id.set(t,n)},ag=function(t,e){var r=ia(t,e),n="_scroll"+e.p2,i=function e(i,s,a,o,u){var l=e.tween,c=s.onComplete,f={};a=a||r();var h=ad(r,a,function(){l.kill(),e.tween=0});return u=o&&u||0,o=o||i-a,l&&l.kill(),s[n]=i,s.inherit=!1,s.modifiers=f,f[n]=function(){return h(a+o*l.ratio+u*l.ratio*l.ratio)},s.onUpdate=function(){nK.cache++,e.tween&&ae()},s.onComplete=function(){e.tween=0,c&&c.call(l)},l=e.tween=id.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},sz(t,"wheel",r.wheelHandler),am.isTouch&&sz(t,"touchmove",r.wheelHandler),i},am=function(){function t(e,r){i_||t.register(id)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),iX(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!i2){this.update=this.refresh=this.kill=i4;return}var n,i,s,a,o,u,l,c,f,h,p,d,_,g,m,v,y,x,b,T,w,k,M,O,C,E,S,A,P,D,R,z,F,I,B,Y,L,N,X,U,q,H=e=sE(so(e)||sl(e)||e.nodeType?{trigger:e}:e,sY),W=H.onUpdate,V=H.toggleClass,j=H.id,G=H.onToggle,Q=H.onRefresh,Z=H.scrub,$=H.trigger,K=H.pin,J=H.pinSpacing,tt=H.invalidateOnRefresh,te=H.anticipatePin,tr=H.onScrubComplete,tn=H.onSnapComplete,ti=H.once,ts=H.snap,ta=H.pinReparent,to=H.pinSpacer,tu=H.containerAnimation,tl=H.fastScrollEnd,tc=H.preventOverlaps,tf=e.horizontal||e.containerAnimation&&!1!==e.horizontal?ie:ir,th=!Z&&0!==Z,tp=ii(e.scroller||ig),td=id.core.getCache(tp),t_=se(tp),tg=("pinType"in e?e.pinType:n5(tp,"pinType")||t_&&"fixed")==="fixed",tm=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],tv=th&&e.toggleActions.split(" "),ty="markers"in e?e.markers:sY.markers,tx=t_?0:parseFloat(sO(tp)["border"+tf.p2+sk])||0,tb=this,tT=e.onRefreshInit&&function(){return e.onRefreshInit(tb)},tw=si(tp,t_,tf),tk=!t_||~nJ.indexOf(tp)?sn(tp):function(){return ac},tM=0,tO=0,tC=0,tE=ia(tp,tf);if(tb._startClamp=tb._endClamp=!1,tb._dir=tf,te*=45,tb.scroller=tp,tb.scroll=tu?tu.time.bind(tu):tE,u=tE(),tb.vars=e,r=r||e.animation,"refreshPriority"in e&&(iR=1,-9999===e.refreshPriority&&(i$=tb)),td.tweenScroll=td.tweenScroll||{top:ag(tp,ir),left:ag(tp,ie)},tb.tweenTo=s=td.tweenScroll[tf.p],tb.scrubDuration=function(t){(B=sl(t)&&t)?I?I.duration(t):I=id.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:B,paused:!0,onComplete:function(){return tr&&tr(tb)}}):(I&&I.progress(1).kill(),I=0)},r&&(r.vars.lazy=!1,r._initted&&!tb.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),tb.animation=r.pause(),r.scrollTrigger=tb,tb.scrubDuration(Z),z=0,j||(j=r.vars.id)),ts&&((!sc(ts)||ts.push)&&(ts={snapTo:ts}),"scrollBehavior"in iy.style&&id.set(t_?[iy,iv]:tp,{scrollBehavior:"auto"}),nK.forEach(function(t){return su(t)&&t.target===(t_?im.scrollingElement||iv:tp)&&(t.smooth=!1)}),o=su(ts.snapTo)?ts.snapTo:"labels"===ts.snapTo?(n=r,function(t){return id.utils.snap(sP(n),t)}):"labelsDirectional"===ts.snapTo?(i=r,function(t,e){return sD(sP(i))(t,e.direction)}):!1!==ts.directional?function(t,e){return sD(ts.snapTo)(t,iJ()-tO<500?0:e.direction)}:id.utils.snap(ts.snapTo),Y=sc(Y=ts.duration||{min:.1,max:2})?iw(Y.min,Y.max):iw(Y,Y),L=id.delayedCall(ts.delay||B/2||.1,function(){var t=tE(),e=iJ()-tO<500,n=s.tween;if((e||10>Math.abs(tb.getVelocity()))&&!n&&!iC&&tM!==t){var i,a,u=(t-c)/v,l=r&&!th?r.totalProgress():u,h=e?0:(l-F)/(iJ()-ik)*1e3||0,p=id.utils.clamp(-u,1-u,sp(h/2)*h/.185),d=u+(!1===ts.inertia?0:p),_=ts,g=_.onStart,m=_.onInterrupt,y=_.onComplete;if(sl(i=o(d,tb))||(i=d),a=Math.max(0,Math.round(c+i*v)),t<=f&&t>=c&&a!==t){if(n&&!n._initted&&n.data<=sp(a-t))return;!1===ts.inertia&&(p=i-u),s(a,{duration:Y(sp(.185*Math.max(sp(d-l),sp(i-l))/h/.05||0)),ease:ts.ease||"power3",data:sp(a-t),onInterrupt:function(){return L.restart(!0)&&m&&sh(tb,m)},onComplete:function(){tb.update(),tM=tE(),r&&!th&&(I?I.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),z=F=r&&!th?r.totalProgress():tb.progress,tn&&tn(tb),y&&sh(tb,y)}},t,p*v,a-t-p*v),g&&sh(tb,g,s.tween)}}else tb.isActive&&tM!==t&&L.restart(!0)}).pause()),j&&(sH[j]=tb),(q=($=tb.trigger=ii($||!0!==K&&K))&&$._gsap&&$._gsap.stRevert)&&(q=q(tb)),K=!0===K?$:ii(K),so(V)&&(V={targets:$,className:V}),K&&(!1===J||J===sw||(J=(!!J||!K.parentNode||!K.parentNode.style||"flex"!==sO(K.parentNode).display)&&sT),tb.pin=K,(a=id.core.getCache(K)).spacer?y=a.pinState:(to&&((to=ii(to))&&!to.nodeType&&(to=to.current||to.nativeElement),a.spacerIsNative=!!to,to&&(a.spacerState=au(to))),a.spacer=T=to||im.createElement("div"),T.classList.add("pin-spacer"),j&&T.classList.add("pin-spacer-"+j),a.pinState=y=au(K)),!1!==e.force3D&&id.set(K,{force3D:!0}),tb.spacer=T=a.spacer,E=(R=sO(K))[J+tf.os2],k=id.getProperty(K),M=id.quickSetter(K,tf.a,"px"),as(K,T,R),b=au(K)),ty){g=sc(ty)?sE(ty,sB):sB,d=sX("scroller-start",j,tp,tf,g,0),_=sX("scroller-end",j,tp,tf,g,0,d),w=d["offset"+tf.op.d2];var tS=ii(n5(tp,"content")||tp);h=this.markerStart=sX("start",j,tS,tf,g,w,0,tu),p=this.markerEnd=sX("end",j,tS,tf,g,w,0,tu),tu&&(U=id.quickSetter([h,p],tf.a,"px")),tg||nJ.length&&!0===n5(tp,"fixedMarkers")||(sC(t_?iy:tp),id.set([d,_],{force3D:!0}),A=id.quickSetter(d,tf.a,"px"),D=id.quickSetter(_,tf.a,"px"))}if(tu){var tA=tu.vars.onUpdate,tP=tu.vars.onUpdateParams;tu.eventCallback("onUpdate",function(){tb.update(0,0,1),tA&&tA.apply(tu,tP||[])})}if(tb.previous=function(){return sq[sq.indexOf(tb)-1]},tb.next=function(){return sq[sq.indexOf(tb)+1]},tb.revert=function(t,e){if(!e)return tb.kill(!0);var n=!1!==t||!tb.enabled,i=iO;n!==tb.isReverted&&(n&&(N=Math.max(tE(),tb.scroll.rec||0),tC=tb.progress,X=r&&r.progress()),h&&[h,p,d,_].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(iO=tb,tb.update(n)),!K||ta&&tb.isActive||(n?ai(K,T,y):as(K,T,sO(K),S)),n||tb.update(n),iO=i,tb.isReverted=n)},tb.refresh=function(n,i,a,o){if(!iO&&tb.enabled||i){if(K&&n&&i1)return void sz(t,"scrollEnd",s$);!iQ&&tT&&tT(tb),iO=tb,s.tween&&!a&&(s.tween.kill(),s.tween=0),I&&I.pause(),tt&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tb.isReverted||tb.revert(!0,!0),tb._subPinOffset=!1;var g,w,M,E,A,D,R,z,F,B,Y,U,q,H=tw(),W=tk(),V=tu?tu.duration():ss(tp,tf),j=v<=.01||!v,G=0,Z=o||0,te=sc(a)?a.end:e.end,tr=e.endTrigger||$,tn=sc(a)?a.start:e.start||(0!==e.start&&$?K?"0 0":"0 100%":0),ti=tb.pinnedContainer=e.pinnedContainer&&ii(e.pinnedContainer,tb),ts=$&&Math.max(0,sq.indexOf(tb))||0,to=ts;for(ty&&sc(a)&&(U=id.getProperty(d,tf.p),q=id.getProperty(_,tf.p));to-- >0;)(D=sq[to]).end||D.refresh(0,1)||(iO=tb),(R=D.pin)&&(R===$||R===K||R===ti)&&!D.isReverted&&(B||(B=[]),B.unshift(D),D.revert(!0,!0)),D!==sq[to]&&(ts--,to--);for(su(tn)&&(tn=tn(tb)),c=af(tn=i5(tn,"start",tb),$,H,tf,tE(),h,d,tb,W,tx,tg,V,tu,tb._startClamp&&"_startClamp")||(K?-.001:0),su(te)&&(te=te(tb)),so(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(so(tn)?tn.split(" ")[0]:"")+te:(G=sN(te.substr(2),H),te=so(tn)?tn:(tu?id.utils.mapRange(0,tu.duration(),tu.scrollTrigger.start,tu.scrollTrigger.end,c):c)+G,tr=$)),te=i5(te,"end",tb),f=Math.max(c,af(te||(tr?"100% 0":V),tr,H,tf,tE()+G,p,_,tb,W,tx,tg,V,tu,tb._endClamp&&"_endClamp"))||-.001,G=0,to=ts;to--;)(R=(D=sq[to]||{}).pin)&&D.start-D._pinPush<=c&&!tu&&D.end>0&&(g=D.end-(tb._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush=ss(tp,tf)))g=sO(K),E=tf===ir,M=tE(),O=parseFloat(k(tf.a))+Z,!V&&f>1&&(Y={style:Y=(t_?im.scrollingElement||iv:tp).style,value:Y["overflow"+tf.a.toUpperCase()]},t_&&"scroll"!==sO(iy)["overflow"+tf.a.toUpperCase()]&&(Y.style["overflow"+tf.a.toUpperCase()]="scroll")),as(K,T,g),b=au(K),w=sS(K,!0),z=tg&&ia(tp,E?ie:ir)(),J?((S=[J+tf.os2,v+Z+"px"]).t=T,(to=J===sT?sA(K,tf)+v+Z:0)&&(S.push(tf.d,to+"px"),"auto"!==T.style.flexBasis&&(T.style.flexBasis=to+"px")),ao(S),ti&&sq.forEach(function(t){t.pin===ti&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),tg&&tE(N)):(to=sA(K,tf))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=to+"px"),tg&&((A={top:w.top+(E?M-c:z)+"px",left:w.left+(E?z:M-c)+"px",boxSizing:"border-box",position:"fixed"})[sm]=A["max"+sk]=Math.ceil(w.width)+"px",A[sv]=A["max"+sM]=Math.ceil(w.height)+"px",A[sw]=A[sw+"Top"]=A[sw+sy]=A[sw+sb]=A[sw+sx]="0",A[sT]=g[sT],A[sT+"Top"]=g[sT+"Top"],A[sT+sy]=g[sT+sy],A[sT+sb]=g[sT+sb],A[sT+sx]=g[sT+sx],x=al(y,A,ta),iQ&&tE(0)),r?(F=r._initted,iz(1),r.render(r.duration(),!0,!0),C=k(tf.a)-O+v+Z,P=Math.abs(v-C)>1,tg&&P&&x.splice(x.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),iz(0)):C=v,Y&&(Y.value?Y.style["overflow"+tf.a.toUpperCase()]=Y.value:Y.style.removeProperty("overflow-"+tf.a));else if($&&tE()&&!tu)for(w=$.parentNode;w&&w!==iy;)w._pinOffset&&(c-=w._pinOffset,f-=w._pinOffset),w=w.parentNode;B&&B.forEach(function(t){return t.revert(!1,!0)}),tb.start=c,tb.end=f,u=l=iQ?N:tE(),tu||iQ||(u0?sq.slice(0,e).reverse():sq.slice(e+1);return(so(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return tb.direction>0?t.end<=c:t.start>=f})},tb.update=function(t,e,n){if(!tu||n||t){var i,a,o,h,p,_,g,m=!0===iQ?N:tb.scroll(),y=t?0:(m-c)/v,w=y<0?0:y>1?1:y||0,k=tb.progress;if(e&&(l=u,u=tu?tE():m,ts&&(F=z,z=r&&!th?r.totalProgress():w)),te&&K&&!iO&&!iK&&i1&&(!w&&cm+(m-l)/(iJ()-ik)*te&&(w=.9999)),w!==k&&tb.enabled){if(h=(p=(i=tb.isActive=!!w&&w<1)!=(!!k&&k<1))||!!w!=!!k,tb.direction=w>k?1:-1,tb.progress=w,h&&!iO&&(a=w&&!k?0:1===w?1:1===k?2:3,th&&(o=!p&&"none"!==tv[a+1]&&tv[a+1]||tv[a],g=r&&("complete"===o||"reset"===o||o in r))),tc&&(p||g)&&(g||Z||!r)&&(su(tc)?tc(tb):tb.getTrailing(tc).forEach(function(t){return t.endAnimation()})),!th&&(!I||iO||iK?r&&r.totalProgress(w,!!(iO&&(tO||t))):(I._dp._time-I._start!==I._time&&I.render(I._dp._time-I._start),I.resetTo?I.resetTo("totalProgress",w,r._tTime/r._tDur):(I.vars.totalProgress=w,I.invalidate().restart()))),K)if(t&&J&&(T.style[J+tf.os2]=E),tg){if(h){if(_=!t&&w>k&&f+1>m&&m+1>=ss(tp,tf),ta)if(!t&&(i||_)){var S=sS(K,!0),R=m-c;ap(K,iy,S.top+(tf===ir?R:0)+"px",S.left+(tf===ir?0:R)+"px")}else ap(K,T);ao(i||_?x:b),P&&w<1&&i||M(O+(1!==w||_?0:C))}}else M(i9(O+C*w));!ts||s.tween||iO||iK||L.restart(!0),V&&(p||ti&&w&&(w<1||!ij))&&iT(V.targets).forEach(function(t){return t.classList[i||ti?"add":"remove"](V.className)}),!W||th||t||W(tb),h&&!iO?(th&&(g&&("complete"===o?r.pause().totalProgress(1):"reset"===o?r.restart(!0).pause():"restart"===o?r.restart(!0):r[o]()),W&&W(tb)),(p||!ij)&&(G&&p&&sh(tb,G),tm[a]&&sh(tb,tm[a]),ti&&(1===w?tb.kill(!1,1):tm[a]=0),!p&&tm[a=1===w?1:3]&&sh(tb,tm[a])),tl&&!i&&Math.abs(tb.getVelocity())>(sl(tl)?tl:2500)&&(sf(tb.callbackAnimation),I?I.progress(1):sf(r,"reverse"===o?1:!w,1))):th&&W&&!iO&&W(tb)}if(D){var B=tu?m/tu.duration()*(tu._caScrollDist||0):m;A(B+ +!!d._isFlipped),D(B)}U&&U(-m/tu.duration()*(tu._caScrollDist||0))}},tb.enable=function(e,r){tb.enabled||(tb.enabled=!0,sz(tp,"resize",sG),t_||sz(tp,"scroll",sV),tT&&sz(t,"refreshInit",tT),!1!==e&&(tb.progress=tC=0,u=l=tM=tE()),!1!==r&&tb.refresh())},tb.getTween=function(t){return t&&s?s.tween:I},tb.setPositions=function(t,e,r,n){if(tu){var i=tu.scrollTrigger,s=tu.duration(),a=i.end-i.start;t=i.start+a*t/s,e=i.start+a*e/s}tb.refresh(!1,!1,{start:i3(t,r&&!!tb._startClamp),end:i3(e,r&&!!tb._endClamp)},n),tb.update()},tb.adjustPinSpacing=function(t){if(S&&t){var e=S.indexOf(tf.d)+1;S[e]=parseFloat(S[e])+t+"px",S[1]=parseFloat(S[1])+t+"px",ao(S)}},tb.disable=function(e,r){if(!1!==e&&tb.revert(!0,!0),tb.enabled&&(tb.enabled=tb.isActive=!1,r||I&&I.pause(),N=0,a&&(a.uncache=1),tT&&sF(t,"refreshInit",tT),L&&(L.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!t_)){for(var n=sq.length;n--;)if(sq[n].scroller===tp&&sq[n]!==tb)return;sF(tp,"resize",sG),t_||sF(tp,"scroll",sV)}},tb.kill=function(t,n){tb.disable(t,n),I&&!n&&I.kill(),j&&delete sH[j];var i=sq.indexOf(tb);i>=0&&sq.splice(i,1),i===iS&&at>0&&iS--,i=0,sq.forEach(function(t){return t.scroller===tb.scroller&&(i=1)}),i||iQ||(tb.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),h&&[h,p,d,_].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),i$===tb&&(i$=0),K&&(a&&(a.uncache=1),i=0,sq.forEach(function(t){return t.pin===K&&i++}),i||(a.spacer=0)),e.onKill&&e.onKill(tb)},sq.push(tb),tb.enable(!1,!1),q&&q(tb),r&&r.add&&!v){var tD=tb.update;tb.update=function(){tb.update=tD,nK.cache++,c||f||tb.refresh()},id.delayedCall(.01,tb.update),v=.01,c=f=0}else tb.refresh();K&&s8()},t.register=function(e){return i_||(id=e||st(),i7()&&window.document&&t.enable(),i_=i2),i_},t.defaults=function(t){if(t)for(var e in t)sY[e]=t[e];return sY},t.disable=function(t,e){i2=0,sq.forEach(function(r){return r[e?"kill":"disable"](t)}),sF(ig,"wheel",sV),sF(im,"scroll",sV),clearInterval(iM),sF(im,"touchcancel",i4),sF(iy,"touchstart",i4),sR(sF,im,"pointerdown,touchstart,mousedown",i8),sR(sF,im,"pointerup,touchend,mouseup",i6),ib.kill(),sa(sF);for(var r=0;r0&&n.left+i0&&n.top+i=0&&sJ.splice(e,5),sJ.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),id.core.getCache(t),iX())}}):sJ},am.revert=function(t,e){return s2(!t,e)},am.create=function(t,e){return new am(t,e)},am.refresh=function(t){return t?sG(!0):(i_||am.register())&&s9(!0)},am.update=function(t){return++nK.cache&&ae(2*(!0===t))},am.clearScrollMemory=s5,am.maxScroll=function(t,e){return ss(t,e?ie:ir)},am.getScrollFunc=function(t,e){return ia(ii(t),e?ie:ir)},am.getById=function(t){return sH[t]},am.getAll=function(){return sq.filter(function(t){return"ScrollSmoother"!==t.vars.id})},am.isScrolling=function(){return!!i1},am.snapDirectional=sD,am.addEventListener=function(t,e){var r=sQ[t]||(sQ[t]=[]);~r.indexOf(e)||r.push(e)},am.removeEventListener=function(t,e){var r=sQ[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},am.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,a=e.batchMax||1e9,o=function(t,e){var r=[],n=[],i=id.delayedCall(s,function(){e(r,n),r=[],n=[]}).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),a<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&su(e[r])&&"onRefreshInit"!==r?o(r,e[r]):e[r];return su(a)&&(a=a(),sz(am,"refresh",function(){return a=e.batchMax()})),iT(t).forEach(function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(am.create(e))}),n};var av,ay=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},ax=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(ip.isTouch?" pinch-zoom":""):"none",e===iv&&t(iy,r)},ab={auto:1,scroll:1},aT=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||id.core.getCache(s),o=iJ();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==iy&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(ab[(e=sO(s)).overflowY]||ab[e.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==n&&!se(s)&&(ab[(e=sO(s)).overflowY]||ab[e.overflowX]),a._isScrollT=o}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},aw=function(t,e,r,n){return ip.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&aT,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&sz(im,ip.eventTypes[0],aM,!1,!0)},onDisable:function(){return sF(im,ip.eventTypes[0],aM,!0)}})},ak=/(input|label|select|textarea)/i,aM=function(t){var e=ak.test(t.target.tagName);(e||av)&&(t._gsapAllow=!0,av=e)},aO=function(t){sc(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,n,i,s,a,o,u,l=t,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=ii(t.target)||iv,_=id.core.globals().ScrollSmoother,g=_&&_.get(),m=iN&&(t.content&&ii(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),v=ia(d,ir),y=ia(d,ie),x=1,b=(ip.isTouch&&ig.visualViewport?ig.visualViewport.scale*ig.visualViewport.width:ig.outerWidth)/ig.innerWidth,T=0,w=su(f)?function(){return f(e)}:function(){return f||2.8},k=aw(d,t.type,!0,h),M=function(){return i=!1},O=i4,C=i4,E=function(){r=ss(d,ir),C=iw(+!!iN,r),c&&(O=iw(0,ss(d,ie))),n=s3},S=function(){m._gsap.y=i9(parseFloat(m._gsap.y)+v.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},A=function(){if(i){requestAnimationFrame(M);var t=i9(e.deltaY/2),r=C(v.v-t);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=i9((parseFloat(m&&m._gsap.y)||0)-v.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",v.cacheID=nK.cache,ae()}return!0}v.offset&&S(),i=!0},P=function(){E(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return m&&id.set(m,{y:"+=0"}),t.ignoreCheck=function(t){return iN&&"touchmove"===t.type&&A(t)||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=i9((ig.visualViewport&&ig.visualViewport.scale||1)/b),s.pause(),t!==x&&ax(d,x>1.01||!c&&"x"),a=y(),o=v(),E(),n=s3},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&S(),e){nK.cache++;var n,i,a=w();c&&(i=(n=y())+-(.05*a*t.velocityX)/.227,a*=ay(y,n,i,ss(d,ie)),s.vars.scrollX=O(i)),i=(n=v())+-(.05*a*t.velocityY)/.227,a*=ay(v,n,i,ss(d,ir)),s.vars.scrollY=C(i),s.invalidate().duration(a).play(.01),(iN&&s.vars.scrollY>=r||n>=r-1)&&id.to({},{onUpdate:P,duration:a})}else u.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),iJ()-T>1e3&&(n=0,T=iJ())},t.onChange=function(t,e,r,i,s){if(s3!==n&&E(),e&&c&&y(O(i[2]===e?a+(t.startX-t.x):y()+e-i[1])),r){v.offset&&S();var u=s[2]===r,l=u?o+t.startY-t.y:v()+r-s[1],f=C(l);u&&l!==f&&(o+=f-l),v(f)}(r||e)&&ae()},t.onEnable=function(){ax(d,!c&&"x"),am.addEventListener("refresh",P),sz(ig,"resize",P),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){ax(d,!0),sF(ig,"resize",P),am.removeEventListener("refresh",P),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new ip(t)).iOS=iN,iN&&!v()&&v(1),iN&&id.ticker.add(i4),u=e._dc,s=id.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ad(v,v(),function(){return s.pause()})},onUpdate:ae,onComplete:u.vars.onComplete}),e};am.sort=function(t){if(su(t))return sq.sort(t);var e=ig.pageYOffset||0;return am.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+ig.innerHeight}),sq.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},am.observe=function(t){return new ip(t)},am.normalizeScroll=function(t){if(void 0===t)return iI;if(!0===t&&iI)return iI.enable();if(!1===t){iI&&iI.kill(),iI=t;return}var e=t instanceof ip?t:aO(t);return iI&&iI.target===e.target&&iI.kill(),se(e.target)&&(iI=e),e},am.core={_getVelocityProp:io,_inputObserver:aw,_scrollers:nK,_proxies:nJ,bridge:{ss:function(){i1||sK("scrollStart"),i1=iJ()},ref:function(){return iO}}},st()&&id.registerPlugin(am),t.s(["ScrollTrigger",0,am],83495)}]); \ No newline at end of file diff --git a/.next/static/chunks/06~35roaehny..js b/.next/static/chunks/06~35roaehny..js deleted file mode 100644 index 488cae1..0000000 --- a/.next/static/chunks/06~35roaehny..js +++ /dev/null @@ -1,1069 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36202,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(89970),n=e.i(2018);e.s(["default",0,function(){let[e,a]=(0,r.useState)(0),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=setInterval(()=>{a(e=>+(0===e))},7e3);return()=>clearInterval(e)},[]),(0,r.useEffect)(()=>{if(!o.current)return;let e=o.current.querySelector(".owl-item.active");if(!e)return;let t=e.querySelector(".heading-content"),r=e.querySelector(".text-content"),n=e.querySelector(".wings-hero-actions"),a=[t,r,n].filter(Boolean);if(a.length){if(i.default.killTweensOf(a),window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return void i.default.set(a,{y:0,opacity:1,scale:1});t&&i.default.fromTo(t,{y:55,opacity:0,scale:.95},{y:0,opacity:1,scale:1,duration:1.1,ease:"power4.out"}),r&&i.default.fromTo(r,{y:30,opacity:0},{y:0,opacity:1,duration:.95,ease:"power3.out",delay:.25}),n&&i.default.fromTo(n,{y:24,opacity:0},{y:0,opacity:1,duration:.85,ease:"power3.out",delay:.38})}},[e]);let s=e=>{a(e)},l=()=>{a(e=>+(0===e))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("link",{rel:"preload",as:"image",href:"/images/wings-heroslider4.png"}),(0,t.jsx)("link",{rel:"preload",as:"image",href:"/images/wings-heroslide2.png"}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wings-hero-bg.elementor-repeater-item-3264830, - .wings-hero-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.06)), url('/images/wings-heroslider4.png') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - .wings-hero-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.06)), url('/images/wings-heroslide2.png') !important; - } - - #doormile-wings, - #doormile-wings .content, - #doormile-wings .content-inner, - #doormile-wings .elementor { - max-width: 100vw !important; - overflow-x: hidden !important; - } - - .wings-hero-page, - .wings-hero-page .elementor-widget-container, - .wings-hero-page .logico-content-slider-widget, - .wings-hero-page .content-slider-wrapper, - .wings-hero-page .content-slider-container, - .wings-hero-page .content-slider, - .wings-hero-page .owl-stage-outer, - .wings-hero-page .owl-stage, - .wings-hero-page .owl-item, - .wings-hero-page .slider-item, - .wings-hero-page .slide-content, - .wings-hero-page .slide-content-inner { - max-width: 100% !important; - box-sizing: border-box !important; - } - - .wings-hero-page .slide-content { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - height: 100% !important; - padding: 0 !important; - box-sizing: border-box !important; - } - - .wings-hero-page .slide-content-inner { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - max-width: 1000px !important; - margin: 0 auto !important; - box-sizing: border-box !important; - } - - .wings-hero-page .content-slider-item-heading, - .wings-hero-page .content-slider-item-heading .heading-content { - text-align: center !important; - display: block !important; - width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - white-space: normal !important; - overflow-wrap: break-word !important; - } - - .wings-hero-page .content-slider-item-heading { - font-size: clamp(30px, 5.5vw, 80px) !important; - line-height: 1.05 !important; - } - - .wings-hero-page .content-slider-item-text { - display: flex !important; - justify-content: center !important; - width: 100% !important; - margin-top: 23px !important; - } - - .wings-hero-page .text-content { - text-align: center !important; - max-width: 680px !important; - width: 100% !important; - margin: 0 auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - box-sizing: border-box !important; - white-space: normal !important; - overflow-wrap: break-word !important; - } - - .wings-hero-page .content-slider-item-text p { - font-size: clamp(16px, 1.35vw, 23px) !important; - line-height: 1.65 !important; - white-space: normal !important; - overflow-wrap: break-word !important; - } - - .wings-hero-actions { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - gap: 16px; - margin-top: 30px; - position: relative; - z-index: 5; - opacity: 1; - visibility: visible; - } - - .wings-hero-actions .logico-alter-button { - display: inline-flex !important; - align-items: center !important; - justify-content: center !important; - opacity: 1; - visibility: visible; - } - - .wings-mobile-break { - display: none; - } - - .wings-hero-page a.wings-hero-primary, - .wings-hero-page a.wings-hero-secondary { - --logico-button-text-color: #ffffff; - --logico-button-border-color: rgba(255, 255, 255, 0.72); - --logico-button-background-color: rgba(255, 255, 255, 0); - --logico-button-text-hover: #ffffff; - --logico-button-border-hover: #c01227; - --logico-button-background-hover: #c01227; - --logico-button-icon-hover: #ffffff; - } - - .wings-hero-page a.wings-hero-primary { - --logico-button-border-color: #c01227; - --logico-button-background-color: #c01227; - } - - .wings-hero-page a.wings-hero-primary:hover, - .wings-hero-page a.wings-hero-secondary:hover { - color: #ffffff !important; - } - - @media (min-width: 1025px) { - .wings-hero-page.elementor-element-741f56c { - padding: 20px !important; - } - - .wings-hero-page .owl-carousel.owl-theme .content-item { - height: 800px !important; - min-height: 800px !important; - border-radius: 24px !important; - overflow: hidden !important; - } - } - - @media (max-width: 1024px) { - .wings-hero-page.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - overflow: hidden !important; - border-radius: 25px !important; - } - - .wings-hero-page .owl-stage-outer { - height: 600px !important; - } - - .wings-hero-page .owl-carousel.owl-theme .content-item { - width: 100% !important; - min-height: 600px !important; - height: 600px !important; - border-radius: 25px !important; - overflow: hidden !important; - } - - .wings-hero-page .slide-content { - min-height: 600px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - } - - @media (max-width: 767px) { - .wings-hero-page.elementor-element-741f56c { - width: 100vw !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - border-radius: 22px !important; - } - - .wings-hero-page .slide-content, - .wings-hero-page .slide-content-inner { - width: calc(100vw - 20px) !important; - max-width: calc(100vw - 20px) !important; - } - - .wings-hero-page .slide-content-inner { - margin-left: 0 !important; - margin-right: auto !important; - } - - .wings-hero-page .owl-stage-outer { - height: 520px !important; - } - - .wings-hero-page .owl-carousel.owl-theme .content-item, - .wings-hero-page .slide-content { - min-height: 520px !important; - height: 520px !important; - border-radius: 22px !important; - } - - .wings-hero-page .slide-content-inner { - width: 100% !important; - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .wings-hero-page .content-slider-item-heading { - max-width: 100% !important; - font-size: clamp(20px, 7vw, 32px) !important; - line-height: 1.12 !important; - } - - .wings-hero-page .content-slider-item-text p { - font-size: 14px !important; - line-height: 1.58 !important; - } - - .wings-hero-page .content-slider-item-text, - .wings-hero-page .text-content { - max-width: min(280px, calc(100vw - 70px)) !important; - width: min(280px, calc(100vw - 70px)) !important; - } - - .wings-hero-actions { - flex-direction: column; - gap: 10px; - margin-top: 18px; - } - - .wings-hero-actions .logico-alter-button { - min-width: 0 !important; - width: 190px !important; - padding: 0.78em 3.7em 0.78em 1.35em !important; - min-height: 42px !important; - font-size: 12px !important; - } - - .wings-mobile-break { - display: block; - } - - .wings-hero-page .slider-footer { - text-align: right !important; - margin-bottom: 24px !important; - } - - .wings-hero-page .slider-footer .slider-pagination { - justify-content: flex-end !important; - margin-left: 22px !important; - margin-right: 22px !important; - } - - .wings-hero-page .owl-dots, - .wings-hero-page .owl-nav { - display: none !important; - } - } - `}}),(0,t.jsx)("div",{className:"wings-hero-page elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",ref:o,children:[(0,t.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden",height:"800px"},children:(0,t.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsx)("div",{className:`owl-item ${0===e?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===e),visibility:0===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard wings-hero-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsxs)("span",{className:"heading-content",children:["Where Quick Commerce",(0,t.jsx)("br",{}),(0,t.jsx)(n.ShimmerText,{className:"font-extrabold",children:"Meets Quick Logistics"})]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"MileTruth™ AI forecasts demand, protects promises, and coordinates every handoff from runway to doorstep."})})})]})})})}),(0,t.jsx)("div",{className:`owl-item ${1===e?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===e),visibility:1===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard wings-hero-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsxs)("span",{className:"heading-content",children:["Doormile Wings",(0,t.jsx)("br",{}),(0,t.jsx)(n.ShimmerText,{className:"font-extrabold",children:"Same-Day Air"}),(0,t.jsx)("br",{className:"wings-mobile-break"})," ",(0,t.jsx)(n.ShimmerText,{className:"font-extrabold",children:"Logistics"})]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"Linking India's major regional capitals with AI-powered air movement and zero-emission EV last-mile delivery."})})})]})})})})]})}),(0,t.jsxs)("div",{className:"owl-nav",children:[(0,t.jsx)("button",{type:"button",className:"owl-next",onClick:l,"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,t.jsx)("button",{type:"button",className:"owl-prev",onClick:l,"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,t.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,t.jsx)("div",{className:"slider-footer-content",children:(0,t.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px"},children:[(0,t.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,t.jsx)("span",{className:"slider-progress-current",children:0===e?"01":"02"})," / ",(0,t.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,t.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0===e?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,t.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${0===e?"active":""}`,onClick:()=>s(0),children:(0,t.jsx)("span",{})}),(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${1===e?"active":""}`,onClick:()=>s(1),children:(0,t.jsx)("span",{})})]})]})})})]})})})})})})})]})}])},63061,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(89970),n=e.i(83495),a=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,o=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,s=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,l=/(^[#\.][a-z]|[a-y][a-z])/i,d=Math.PI/180,c=180/Math.PI,p=Math.sin,h=Math.cos,g=Math.abs,m=Math.sqrt,u=Math.atan2,f=function(e){return"string"==typeof e},w=function(e){return"number"==typeof e},x={},b={},y=function(e){return Math.round((e+1e8)%1*1e5)/1e5||(e<0?0:1)},v=function(e){return Math.round(1e5*e)/1e5||0},j=function(e){return Math.round(1e10*e)/1e10||0},k=function(e){return e.closed=.001>Math.abs(e[0]-e[e.length-2])&&.001>Math.abs(e[1]-e[e.length-1])},N=function(e,t,r,i){var n=e[t],a=1===i?6:R(n,r,i);if((a||!i)&&a+r+2t){for(;--n&&e[n]>t;);n<0&&(n=0)}else for(;e[++n] element or an SVG path data string")}var z=function(e,t){var r,i=document.createElementNS("http://www.w3.org/2000/svg","path"),n=[].slice.call(e.attributes),a=n.length;for(t=","+t+",";--a>-1;)r=n[a].nodeName.toLowerCase(),0>t.indexOf(","+r+",")&&i.setAttributeNS(null,r,n[a].nodeValue);return i},P={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},T=function(e,t){for(var r=t?t.split(","):[],i={},n=r.length;--n>-1;)i[r[n]]=+e.getAttribute(r[n])||0;return i};function A(e,t,r){var i,n=e[t],a=e[t+2],o=e[t+4];return n+=(a-n)*r,a+=(o-a)*r,n+=(a-n)*r,i=a+(o+(e[t+6]-o)*r-a)*r-n,n=e[t+1],a=e[t+3],o=e[t+5],n+=(a-n)*r,a+=(o-a)*r,n+=(a-n)*r,v(u(a+(o+(e[t+7]-o)*r-a)*r-n,i)*c)}function I(e,t,r){var i=Math.max(0,~~(g((r=void 0===r?1:j(r)||0)-(t=j(t)||0))-1e-8)),n=function(e){for(var t=[],r=0;rr&&(t=1-t,r=1-r,L(n),n.totalLength=0),t<0||r<0){var a=Math.abs(~~Math.min(t,r))+1;t+=a,r+=a}n.totalLength||W(n);var o,s,l,d,c,p,h,m,u=r>1,f=H(n,t,x,!0),w=H(n,r,b),y=w.segment,v=f.segment,k=w.segIndex,_=f.segIndex,S=w.i,z=f.i,P=_===k,T=S===z&&P;if(u||i){for(o=k<_||P&&SMath.abs(1-(r-t))?k=_-1:!w.t&&k?k--:N(n,k,S,w.t)&&o&&_++,1===f.t&&(_=(_+1)%n.length),c=[],h=1+(p=n.length)*i,m=_,h+=(p-_+k)%p,d=0;dk)&&n.splice(d,1);else y.angle=A(y,S+l,0),S+=l,f=y[S],w=y[S+1],y.length=y.totalLength=0,y.totalPoints=n.totalPoints=8,y.push(f,w,f,w,f,w,f,w);return n.totalLength=0,n}function W(e,t){var r,i,n;for(n=r=i=0;ng(n)&&.01>g(d)&&g(o)+g(p)<.01)e.length>8&&(e.splice(i,6),i-=6,k-=6);else for(r=1;r<=v;r++)f=1-(w=j*r),s=l-(l=(w*w*n+3*f*(w*a+f*o))*w),(b=m((h=u-(u=(w*w*d+3*f*(w*c+f*p))*w))*h+s*s))=1)return 0;var i=e[t],n=e[t+1],a=e[t+2],o=e[t+3],s=e[t+4],l=e[t+5],d=e[t+6],c=e[t+7],p=i+(a-i)*r,h=a+(s-a)*r,g=n+(o-n)*r,m=o+(l-o)*r,u=p+(h-p)*r,f=g+(m-g)*r,w=s+(d-s)*r,x=l+(c-l)*r;return h+=(w-h)*r,m+=(x-m)*r,e.splice(t+2,4,v(p),v(g),v(u),v(f),v(u+(h-u)*r),v(f+(m-f)*r),v(h),v(m),v(w),v(x)),e.samples&&e.samples.splice(t/6*e.resolution|0,0,0,0,0,0,0,0),6}function H(e,t,r,i){r=r||{},e.totalLength||W(e),(t<0||t>1)&&(t=y(t));var n,a,o,s,l,d,c,p=0,h=e[0];if(t)if(1===t)c=1,p=e.length-1,d=(h=e[p]).length-8;else{if(e.length>1){for(o=e.totalLength*t,l=d=0;(l+=e[d++].totalLength)1)&&(t=y(t)),g.lookup||W(e),e.length>1){for(o=e.totalLength*t,l=d=0;(l+=e[d++].totalLength)=1?1-1e-9:c||1e-9):g.angle||0),m}function O(e,t,r,i,n,a,o){for(var s,l,d,c,p,h=e.length;--h>-1;)for(d=0,l=(s=e[h]).length;d-1e-4?0:t}).match(a)||[],_=[],L=0,M=0,C=2/3,S=N.length,z=0,P="ERROR: malformed path: "+e,T=function(e,t,r,i){w=(r-e)/3,x=(i-t)/3,c.push(e+w,t+x,r-w,i-x,r,i)};if(!e||!isNaN(N[0])||isNaN(N[1]))return console.log(P),_;for(t=0;t.5||g(M-n)>.5)&&(T(L,M,i,n),"L"===o&&(t+=2)),L=i,M=n;else if("A"===o){if(v=N[t+4],j=N[t+5],w=N[t+6],x=N[t+7],r=7,v.length>1&&(v.length<3?(x=w,w=j,r--):(x=j,w=v.substr(2),r-=2),j=v.charAt(1),v=v.charAt(0)),b=function(e,t,r,i,n,a,o,s,l){if(e!==s||t!==l){r=g(r),i=g(i);var c=n%360*d,u=h(c),f=p(c),w=Math.PI,x=2*w,b=(e-s)/2,y=(t-l)/2,v=u*b+f*y,j=-f*b+u*y,k=v*v,N=j*j,_=k/(r*r)+N/(i*i);_>1&&(r=m(_)*r,i=m(_)*i);var L=r*r,M=i*i,C=(L*M-L*N-M*k)/(L*N+M*k);C<0&&(C=0);var S=(a===o?-1:1)*m(C),z=r*j/i*S,P=-(i*v/r*S),T=(e+s)/2+(u*z-f*P),A=(t+l)/2+(f*z+u*P),I=(v-z)/r,W=(j-P)/i,R=(-v-z)/r,H=(-j-P)/i,B=I*I+W*W,O=(W<0?-1:1)*Math.acos(I/m(B)),E=(I*H-W*R<0?-1:1)*Math.acos((I*R+W*H)/m(B*(R*R+H*H)));isNaN(E)&&(E=w),!o&&E>0?E-=x:o&&E<0&&(E+=x),O%=x;var D,G=Math.ceil(g(E%=x)/(x/4)),F=[],$=E/G,V=4/3*p($/2)/(1+h($/2)),Y=u*r,q=f*r,X=-(f*i),Z=u*i;for(D=0;Dg(e[0]-e[2])&&1e-4>g(e[1]-e[3])&&(e=e.slice(2));var r,i,n,a,o,s,l,d,c,p,h,u,f,w,x,b=e.length-2,y=+e[0],j=+e[1],k=+e[2],N=+e[3],_=[y,j,y,j],L=k-y,M=N-j,C=e.nonSmooth||[],S=.001>Math.abs(e[b]-y)&&.001>Math.abs(e[b+1]-j);if(!b)return[y,j,y,j,y,j,y,j];for(S&&(e.push(k,N),k=y,N=j,y=e[b-2],j=e[b-1],e.unshift(y,j),b+=4,C=[0,0].concat(C)),t=t||0===t?+t:1,n=2;n1?eo(i):i.getItem(0).matrix:Z).a*n.x+i.c*n.y,o=i.b*n.x+i.d*n.y):(i=new ec,a=o=0),t&&"g"===e.tagName.toLowerCase()&&(a=o=0),(d||!e.getBoundingClientRect().width?l:p).appendChild(r),r.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+a)+","+(i.f+o)+")");else{if(a=o=0,K)for(i=e.offsetParent,n=e;n&&(n=n.parentNode)&&n!==i&&n.parentNode;)($.getComputedStyle(n)[Q]+"").length>4&&(a=n.offsetLeft,o=n.offsetTop,n=0);if("absolute"!==(s=$.getComputedStyle(e)).position&&"fixed"!==s.position)for(i=e.offsetParent;p&&p!==i;)a+=p.scrollLeft||0,o+=p.scrollTop||0,p=p.parentNode;(n=r.style).top=e.offsetTop-o+"px",n.left=e.offsetLeft-a+"px",n[Q]=s[Q],n[J]=s[J],n.position="fixed"===s.position?"fixed":"absolute",h.appendChild(r)}return r},ed=function(e,t,r,i,n,a,o){return e.a=t,e.b=r,e.c=i,e.d=n,e.e=a,e.f=o,e},ec=function(){function e(e,t,r,i,n,a){void 0===e&&(e=1),void 0===t&&(t=0),void 0===r&&(r=0),void 0===i&&(i=1),void 0===n&&(n=0),void 0===a&&(a=0),ed(this,e,t,r,i,n,a)}var t=e.prototype;return t.inverse=function(){var e=this.a,t=this.b,r=this.c,i=this.d,n=this.e,a=this.f,o=e*i-t*r||1e-10;return ed(this,i/o,-t/o,-r/o,e/o,(r*a-i*n)/o,-(e*a-t*n)/o)},t.multiply=function(e){var t=this.a,r=this.b,i=this.c,n=this.d,a=this.e,o=this.f,s=e.a,l=e.c,d=e.b,c=e.d,p=e.e,h=e.f;return ed(this,s*t+d*i,s*r+d*n,l*t+c*i,l*r+c*n,a+p*t+h*i,o+p*r+h*n)},t.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(e){var t=this.a,r=this.b,i=this.c,n=this.d,a=this.e,o=this.f;return t===e.a&&r===e.b&&i===e.c&&n===e.d&&a===e.e&&o===e.f},t.apply=function(e,t){void 0===t&&(t={});var r=e.x,i=e.y,n=this.a,a=this.b,o=this.c,s=this.d,l=this.e,d=this.f;return t.x=r*n+i*o+l||0,t.y=r*a+i*s+d||0,t},e}();function ep(e,t,r,i){if(!e||!e.parentNode||(F||ee(e)).documentElement===e)return new ec;var n=et(e),a=en(e)?er:ei,o=el(e,r),s=a[0].getBoundingClientRect(),l=a[1].getBoundingClientRect(),d=a[2].getBoundingClientRect(),c=o.parentNode,p=!i&&function e(t){return"fixed"===$.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?e(t):void 0)}(e),h=new ec((l.left-s.left)/100,(l.top-s.top)/100,(d.left-s.left)/100,(d.top-s.top)/100,s.left+(p?0:$.pageXOffset||F.scrollLeft||V.scrollLeft||Y.scrollLeft||0),s.top+(p?0:$.pageYOffset||F.scrollTop||V.scrollTop||Y.scrollTop||0));if(c.removeChild(o),n)for(s=n.length;s--;)(l=n[s]).scaleX=l.scaleY=0,l.renderTransform(1,l);return t?h.inverse():h}var eh,eg,em,eu,ef,ew,ex="x,translateX,left,marginLeft,xPercent".split(","),eb="y,translateY,top,marginTop,yPercent".split(","),ey=Math.PI/180,ev=function(e,t,r,i){for(var n=t.length,a=2===i?0:i,o=0;ol.indexOf(",")?l:r,c=e._pt=new eg(e._pt,t,d,0,0,e_,0,o.set(t,d,e));c.u=em(o.get(t,d,a))||0,c.path=i,c.pp=n,e._props.push(d)},eP={version:"3.15.0",name:"motionPath",register:function(e,t,r){em=(eh=e).utils.getUnit,eu=eh.utils.toArray,ef=eh.core.getStyleSaver,ew=eh.core.reverting||function(){},eg=r},init:function(e,t,r){if(!eh)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof t&&!t.style&&t.path||(t={path:t});var i,n,a,o,s=[],l=t,d=l.path,c=l.autoRotate,p=l.unitX,h=l.unitY,g=l.x,m=l.y,u=d[0],f=(i=t.start,n="end"in t?t.end:1,function(e){return i||1!==n?I(e,i,n):e});if(this.rawPaths=s,this.target=e,this.tween=r,this.styles=ef&&ef(e,"transform"),(this.rotate=c||0===c)&&(this.rOffset=parseFloat(c)||0,this.radians=!!t.useRadians,this.rProp=t.rotation||"rotation",this.rSet=e._gsap.set(e,this.rProp,this),this.ru=em(e._gsap.get(e,this.rProp))||0),!Array.isArray(d)||"closed"in d||"number"==typeof u)W(a=f(eS(S(t.path),e,t)),t.resolution),s.push(a),ez(this,e,t.x||"x",a,"x",t.unitX||"px"),ez(this,e,t.y||"y",a,"y",t.unitY||"px");else{for(o in u)!g&&~ex.indexOf(o)?g=o:!m&&~eb.indexOf(o)&&(m=o);for(o in g&&m?s.push(eN(this,ev(ev([],d,g,0),d,m,1),e,g,m,f,t,p||em(d[0][g]),h||em(d[0][m]))):g=m=0,u)o!==g&&o!==m&&s.push(eN(this,ev([],d,o,2),e,o,0,f,t,em(d[0][o])))}r.vars.immediateRender&&this.render(r.progress(),this)},render:function(e,t){var r=t.rawPaths,i=r.length,n=t._pt;if(t.tween._time||!ew()){for(e>1?e=1:e<0&&(e=0);i--;)B(r[i],e,!i&&t.rotate,r[i]);for(;n;)n.set(n.t,n.p,n.path[n.pp]+n.u,n.d,e),n=n._next;t.rotate&&t.rSet(t.target,t.rProp,r[0].angle*(t.radians?ey:1)+t.rOffset+t.ru,t,e)}else t.styles.revert()},getLength:function(e){return W(S(e)).totalLength},sliceRawPath:I,getRawPath:S,pointsToSegment:D,stringToRawPath:E,rawPathToString:G,transformRawPath:O,getGlobalMatrix:ep,getPositionOnPath:B,cacheRawPathMeasurements:W,convertToPath:function(e,t){return eu(e).map(function(e){var r,i,n,a,s,l,d,c,p,h,g,m,u,f,w,x,b,y,v,j,k,N,_,L;return r=!1!==t,"path"!==(L=e.tagName.toLowerCase())&&e.getBBox?(d=z(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),_=T(e,P[L]),"rect"===L?(s=_.rx,l=_.ry||s,n=_.x,a=_.y,g=_.width-2*s,m=_.height-2*l,s||l?(u=n+.44771525016900005*s,x=(w=(f=n+s)+g)+.552284749831*s,b=w+s,y=a+.44771525016900005*l,k=(j=(v=a+l)+m)+.552284749831*l,N=j+l,i="M"+b+","+v+" V"+j+" C"+[b,k,x,N,w,N,w-(w-f)/3,N,f+(w-f)/3,N,f,N,u,N,n,k,n,j,n,j-(j-v)/3,n,v+(j-v)/3,n,v,n,y,u,a,f,a,f+(w-f)/3,a,w-(w-f)/3,a,w,a,x,a,b,y,b,v].join(",")+"z"):i="M"+(n+g)+","+a+" v"+m+" h"+-g+" v"+-m+" h"+g+"z"):"circle"===L||"ellipse"===L?("circle"===L?p=.552284749831*(s=l=_.r):(s=_.rx,p=.552284749831*(l=_.ry)),n=_.cx,a=_.cy,c=.552284749831*s,i="M"+(n+s)+","+a+" C"+[n+s,a+p,n+c,a+l,n,a+l,n-c,a+l,n-s,a+p,n-s,a,n-s,a-p,n-c,a-l,n,a-l,n+c,a-l,n+s,a-p,n+s,a].join(",")+"z"):"line"===L?i="M"+_.x1+","+_.y1+" L"+_.x2+","+_.y2:("polyline"===L||"polygon"===L)&&(i="M"+(n=(h=(e.getAttribute("points")+"").match(o)||[]).shift())+","+(a=h.shift())+" L"+h.join(","),"polygon"===L&&(i+=","+n+","+a+"z")),d.setAttribute("d",G(d._gsRawPath=E(i))),r&&e.parentNode&&(e.parentNode.insertBefore(d,e),e.parentNode.removeChild(e)),d):e})},convertCoordinates:function(e,t,r){var i=ep(t,!0,!0).multiply(ep(e));return r?i.apply(r):i},getAlignMatrix:eC,getRelativePosition:function(e,t,r,i){var n=eC(e,t,r,i);return{x:n.e,y:n.f}},arrayToRawPath:function(e,t){var r=ev(ev([],e,(t=t||{}).x||"x",0),e,t.y||"y",1);return t.relative&&ek(r),["cubic"===t.type?r:D(r,t.curviness)]}};(eh||"u">typeof window&&(eh=window.gsap)&&eh.registerPlugin&&eh)&&eh.registerPlugin(eP);var eT,eA,eI,eW,eR,eH,eB,eO,eE=function(){return"u">typeof window},eD=function(){return eT||eE()&&(eT=window.gsap)&&eT.registerPlugin&&eT},eG=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,eF={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},e$=function(e){return Math.round(1e4*e)/1e4},eV=function(e){return parseFloat(e)||0},eY=function(e,t){var r=eV(e);return~e.indexOf("%")?r/100*t:r},eq=function(e,t){return eV(e.getAttribute(t))},eX=Math.sqrt,eZ=function(e,t,r,i,n,a){return eX(Math.pow((eV(r)-eV(e))*n,2)+Math.pow((eV(i)-eV(t))*a,2))},eU=function(e){return console.warn(e)},eK=function(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")},eQ=function(e,t,r){var i,n,a=e.indexOf(" ");return a<0?(i=void 0!==r?r+"":e,n=e):(i=e.substr(0,a),n=e.substr(a+1)),(i=eY(i,t))>(n=eY(n,t))?[n,i]:[i,n]},eJ=function(e){if(!(e=eA(e)[0]))return 0;var t,r,i,n,a,o,s,l=e.tagName.toLowerCase(),d=e.style,c=1,p=1;eK(e)&&(c=eX((p=e.getScreenCTM()).a*p.a+p.b*p.b),p=eX(p.d*p.d+p.c*p.c));try{r=e.getBBox()}catch(e){eU("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var h=r||{x:0,y:0,width:0,height:0},g=h.x,m=h.y,u=h.width,f=h.height;if(r&&(u||f)||!eF[l]||(u=eq(e,eF[l][0]),f=eq(e,eF[l][1]),"rect"!==l&&"line"!==l&&(u*=2,f*=2),"line"===l&&(g=eq(e,"x1"),m=eq(e,"y1"),u=Math.abs(u-g),f=Math.abs(f-m))),"path"===l)n=d.strokeDasharray,d.strokeDasharray="none",t=e.getTotalLength()||0,e$(c)!==e$(p)&&!eH&&(eH=1)&&eU("Warning: length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(c+p)/2,d.strokeDasharray=n;else if("rect"===l)t=2*u*c+2*f*p;else if("line"===l)t=eZ(g,m,g+u,m+f,c,p);else if("polyline"===l||"polygon"===l)for(i=e.getAttribute("points").match(eG)||[],"polygon"===l&&i.push(i[0],i[1]),t=0,a=2;at&&(i=t),[-n||0,i-n||0]},e1=function(){eE()&&(document,eI=window,eR=eT=eD(),eA=eT.utils.toArray,eB=eT.core.getStyleSaver,eO=eT.core.reverting||function(){},eW=-1!==((eI.navigator||{}).userAgent||"").indexOf("Edge"))},e2={version:"3.15.0",name:"drawSVG",register:function(e){eT=e,e1()},init:function(e,t,r,i,n){if(!e.getBBox)return!1;eR||e1();var a,o,s,l=eJ(e);return this.styles=eB&&eB(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=r,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",a=e0(e,l),o=eQ(t,l,a[0]),this._length=e$(l),this._dash=e$(a[1]-a[0]),this._offset=e$(-a[0]),this._dashPT=this.add(this,"_dash",this._dash,e$(o[1]-o[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,e$(-o[0]),0,0,0,0,0,1),eW&&(s=eI.getComputedStyle(e)).strokeLinecap!==s.strokeLinejoin&&(o=eV(s.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",o,o+.01)),this._live=eK(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render:function(e,t){if(t.tween._time||!eO()){var r,i,n,a,o=t._pt,s=t._style;if(o){for(t._live&&(r=eJ(t._target))!==t._length&&(i=r/t._length,t._length=r,t._offsetPT&&(t._offsetPT.s*=i,t._offsetPT.c*=i),t._dashPT?(t._dashPT.s*=i,t._dashPT.c*=i):t._dash*=i);o;)o.r(e,o.d),o=o._next;n=t._dash||e&&1!==e&&1e-4||0,r=t._length-n+.1,a=t._offset,n&&a&&n+Math.abs(a%t._length)>t._length-.05&&(a+=a<0?.005:-.005)&&(r+=.005),s.strokeDashoffset=n?a:a+.001,s.strokeDasharray=r<.1?"none":n?n+"px,"+(t._nowrap?999999:r)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:eJ,getPosition:e0};eD()&&eT.registerPlugin(e2);var e5=e.i(2018);let e4=!1;i.default.registerPlugin(n.ScrollTrigger,eP);try{i.default.registerPlugin(e2),e4=!0}catch{e4=!1}let e3=[{title:"Same-Day Air Logistics",desc:"Max 3-hour door-to-door delivery between India's major regional capitals.",icon:(0,t.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("polyline",{points:"12 6 12 12 16 14"})]})},{title:"AI-Powered Operations",desc:"MileTruth™ AI continuously forecasts demand and optimizes every route and load.",icon:(0,t.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"3"}),(0,t.jsx)("path",{d:"M9 9h6v6H9z"}),(0,t.jsx)("path",{d:"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3"})]})},{title:"Regional Connectivity",desc:"Dedicated air capacity linking major economic hubs, not passenger-belly space.",icon:(0,t.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"6",cy:"6",r:"2.5"}),(0,t.jsx)("circle",{cx:"18",cy:"6",r:"2.5"}),(0,t.jsx)("circle",{cx:"12",cy:"18",r:"2.5"}),(0,t.jsx)("path",{d:"M8.2 7.2 10 16M15.8 7.2 14 16M8.5 6h7"})]})},{title:"EV Last Mile",desc:"Zero-emission electric vehicles complete every first- and final-mile delivery.",icon:(0,t.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M3 13h13l3 4h2v3H3z"}),(0,t.jsx)("circle",{cx:"7",cy:"20",r:"1.6"}),(0,t.jsx)("circle",{cx:"16",cy:"20",r:"1.6"}),(0,t.jsx)("path",{d:"M6 13V8a1 1 0 0 1 1-1h5l3 6"})]})}];function e6(e,t){if(e.length<2||t<=0)return e;let r=[e[0]];for(let i=0;i{let t,r,g=e.current,m=a.current,u=o.current,f=s.current,w=l.current,x=d.current,b=c.current;if(!g||!m||!u||!f||!w||!x||!b)return;let y=0,v=0,j=null,k=null,N=i.default.context(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=()=>{let e,t=g.getBoundingClientRect(),r=window.matchMedia("(max-width: 600px)").matches,i=p.current.map((e,i)=>{let n=h.current[i];if(!e||!n)return null;let a=e.getBoundingClientRect(),o=n.getBoundingClientRect(),s=a.top-t.top,l=a.bottom-t.top,d=a.left-t.left,c=a.right-t.left;return r?{x:12,y:o.top+o.height/2-t.top,top:s,bottom:l,left:d,right:c}:{x:o.left+o.width/2-t.left,y:a.top-t.top-14,top:s,bottom:l,left:d,right:c}}).filter(e=>null!==e),n=i.map(({x:e,y:t})=>({x:e,y:t}));m.setAttribute("width",String(t.width)),m.setAttribute("height",String(t.height)),m.setAttribute("viewBox",`0 0 ${t.width} ${t.height}`);let a=r?0:Math.max(20,Math.min(38,t.width/20));if(r)e=n;else{let t,r,o=function(e){let t=[];for(let r of e){let e=t[t.length-1];e&&12>=Math.abs(e[0].top-r.top)?e.push(r):t.push([r])}return t}(i);e=o.length<=1?e6(n,a):(t=[],r=null,o.forEach((e,i)=>{let n=i%2==0?e:[...e].reverse(),s=n[0].y,l=null===r?a:Math.max(0,Math.min(a,(s-r-6)/1.43)),d=e6(n.map(({x:e,y:t})=>({x:e,y:t})),l);if(t.length>0){var c,p;let e,r=t[t.length-1],n=d[0],a=(c=o[i-1],p=(i-1)%2==0?"right":"left",(e=[...c].sort((e,t)=>e.left-t.left)).length<2?(e[0].left+e[0].right)/2:"right"===p?(e[e.length-2].right+e[e.length-1].left)/2:(e[0].right+e[1].left)/2);t.push({x:a,y:r.y},{x:a,y:n.y})}t.push(...d),r=Math.max(...e.map(e=>e.bottom))}),t)}let o=function(e){if(e.length<2)return"";let t=`M ${e[0].x} ${e[0].y}`;for(let r=0;r{cancelAnimationFrame(y),y=requestAnimationFrame(()=>{e?a():o()})})).observe(g),a(),v=requestAnimationFrame(()=>{a(),n.ScrollTrigger.refresh()}),"complete"!==document.readyState&&(r=()=>n.ScrollTrigger.refresh(),window.addEventListener("load",r,{once:!0}));let o=()=>{k&&k.kill();let{points:e,isMobile:t}=a();if(e.length<2)return;let r=u.getTotalLength(),n=.22*r,o=r+200;f.setAttribute("stroke-dasharray",`${n} ${o}`);let s=e.map(e=>{let t=0,i=1/0,n=Math.max(2,r/400);for(let a=0;a<=r;a+=n){let r=u.getPointAtLength(a),n=(r.x-e.x)**2+(r.y-e.y)**2;n!1),d=0,c=!1,m=i.default.timeline({scrollTrigger:{trigger:g,start:"top 75%",end:"bottom 35%",scrub:1}});k=m,j=m.scrollTrigger??null;e4?m.to(u,{drawSVG:"100%",duration:4.680000000000001,ease:"power2.inOut"},0):(i.default.set(u,{strokeDasharray:r,strokeDashoffset:r}),m.to(u,{strokeDashoffset:0,duration:4.680000000000001,ease:"power2.inOut"},0)),m.to(u,{opacity:t?.15:.18,duration:.9,ease:"sine.out"},0),i.default.set([x,b],{svgOrigin:"0 0"}),m.to(w,{opacity:1,duration:.3,ease:"sine.out"},0),m.to(f,{opacity:1,duration:.4,ease:"sine.out"},0),m.to(w,{motionPath:{path:u,autoRotate:!1,alignOrigin:[.5,.5]},duration:5.2,ease:"power2.inOut",onUpdate:function(){let e=this.progress(),t=e*r,a=Math.max(1,.01*r),o=u.getPointAtLength(Math.max(0,t-a)),g=u.getPointAtLength(Math.min(r,t+a)),m=180*Math.atan2(g.y-o.y,g.x-o.x)/Math.PI+90;if(c){let e=m-d;d+=.12*(e=((e+180)%360+360)%360-180)}else d=m,c=!0;i.default.set(x,{rotation:d}),i.default.set(b,{rotation:d}),f.setAttribute("stroke-dashoffset",String(n-t)),s.forEach((t,r)=>{if(!l[r]&&e>=t){let e,t;l[r]=!0,e=p.current[r],t=h.current[r],e&&(e.classList.add("wwg-card-flown","wwg-card-pulse"),t&&i.default.timeline({delay:.28}).to(t,{scale:1.02,duration:.32,ease:"expo.out"}).to(t,{scale:1,duration:.32,ease:"sine.inOut"}),i.default.delayedCall(.95,()=>e.classList.remove("wwg-card-pulse")))}else l[r]&&e{t?.disconnect(),cancelAnimationFrame(y),cancelAnimationFrame(v),cancelAnimationFrame(0),r&&window.removeEventListener("load",r),j?.kill(),k?.kill(),N.revert()}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wwg-section { - background: #ffffff; - padding: var(--space-section-lg, 80px) 0; - } - - .wwg-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wwg-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wwg-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wwg-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wwg-grid-wrap { - position: relative; - overflow: visible; - } - - .wwg-flightpath { - position: absolute; - inset: 0; - pointer-events: none; - overflow: visible; - z-index: 5; - } - - .wwg-flightpath-line { - fill: none; - stroke: #c8102e; - stroke-width: 2; - stroke-linecap: round; - stroke-linejoin: round; - opacity: 0; - } - - /* A brighter, blurred copy of the same route, painted *behind* the - crisp foreground line (see JSX order). Its dasharray is driven - per-frame (see onUpdate) to keep a soft window of it trailing - directly beneath the pulse; because it sits behind rather than on - top, its blur reads as a glow radiating from under the route - instead of visually thickening the route's own edges. Stroke - width intentionally matches the base route so it never peeks out - wider than the crisp line drawn on top of it. */ - .wwg-illum-trail { - fill: none; - stroke: #ff3d5a; - stroke-width: 2; - stroke-linecap: round; - filter: blur(5px); - opacity: 0; - } - - /* The traveler is the primary visual: a single centered optical - pulse riding the route, with a small secondary aircraft glyph - carried inside it. Position (translate) lives on .wwg-traveler; - only the inner .wwg-traveler-directional group rotates to face - the direction of travel — the round pulse core stays outside it - so it never rotates, always reading as a clean point of light. */ - .wwg-traveler { - opacity: 0; - pointer-events: none; - will-change: transform; - /* Explicit center alignment (paired with alignOrigin: [0.5, 0.5] - on the motionPath tween) so the traveler's own center — not a - corner/default reference point — is what MotionPathPlugin locks - to the route, keeping it precisely on the path's centerline - with no vertical drift. */ - transform-origin: 50% 50%; - } - - .wwg-traveler-directional { - transform-origin: 0px 0px; - will-change: transform; - } - - /* Large, radially-symmetric ambient glow — the true hero of the - traveler. Centered on the pulse with no directional offset, so - there is never a brighter patch leading ahead of the aircraft. - Non-directional, so it lives outside the rotating - .wwg-traveler-directional group. */ - .wwg-pulse-bloom { - fill: #c8102e; - opacity: 0.2; - filter: blur(18px); - } - - .wwg-pulse-halo { - fill: #c8102e; - opacity: 0.52; - filter: blur(7px); - } - - .wwg-pulse-core { - fill: #ffffff; - filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.98)) drop-shadow(0 0 9px rgba(200, 16, 46, 0.85)) - drop-shadow(0 0 15px rgba(200, 16, 46, 0.5)); - } - - /* Deliberately no drop-shadow of its own — the bloom/halo/trail - above supply all the glow. Sized to be clearly recognizable as an - aircraft without becoming the focal point: the pulse is still the - brightest, largest element on screen at every moment. */ - .wwg-aircraft { - color: #c8102e; - opacity: 0.65; - } - - .wwg-grid { - display: grid; - grid-template-columns: repeat(4, minmax(0, 1fr)); - gap: 24px; - } - - .wwg-card { - position: relative; - min-width: 0; - padding: 30px 24px; - border: 1px solid rgba(17, 17, 17, 0.08); - border-radius: 18px; - background: #fafafa; - /* Staggered delays so activation reads as a cascade — glow moves - first (see .wwg-card-glow below, no delay), then border/shape, - then the background tint settles last — rather than every - property snapping at once. The "expo-out" curve (rather than - plain ease) is what gives it a soft, premium settle instead of a - mechanical linear-ish snap. */ - transition: - border-color 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, - box-shadow 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, - transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, - background-color 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s; - } - - .wwg-card:hover { - border-color: rgba(200, 16, 46, 0.35); - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06); - transform: translateY(-4px); - } - - .wwg-card-glow { - position: absolute; - inset: -12px; - border-radius: 22px; - background: radial-gradient(circle, rgba(200, 16, 46, 0.45) 0%, rgba(200, 16, 46, 0) 70%); - opacity: 0; - z-index: -1; - pointer-events: none; - filter: blur(6px); - transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1); - } - - .wwg-card-flown { - border-color: rgba(200, 16, 46, 0.25); - background-color: #fdf7f8; - } - - .wwg-card-flown .wwg-card-glow { - opacity: 0.32; - } - - .wwg-card-pulse { - border-color: rgba(200, 16, 46, 0.5); - box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07); - transform: translateY(-3px); - } - - .wwg-card-pulse .wwg-card-glow { - opacity: 0.85; - } - - .wwg-icon { - width: 52px; - height: 52px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 14px; - background: rgba(200, 16, 46, 0.06); - color: #c8102e; - margin-bottom: 20px; - transition: - background-color 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s, - filter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s; - } - - .wwg-card-flown .wwg-icon { - background: rgba(200, 16, 46, 0.1); - } - - .wwg-card-pulse .wwg-icon { - background: rgba(200, 16, 46, 0.14); - filter: brightness(1.12); - } - - .wwg-card-title { - font-size: 17px !important; - font-weight: 700 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0 0 8px 0; - } - - .wwg-card-desc { - font-size: 14.5px; - line-height: 1.55; - color: rgba(17, 17, 17, 0.6); - margin: 0; - } - - @media (max-width: 1024px) { - .wwg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wwg-grid { grid-template-columns: 1fr; padding-left: 28px; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width; trimmed to a real mobile value to match the section - rhythm near the footer. Matches this file's own MOBILE_BQ - breakpoint used by the flight-path animation logic. */ - .wwg-section { padding-top: 44px; padding-bottom: 44px; } - } - - @media (prefers-reduced-motion: reduce) { - .wwg-card, .wwg-card-glow, .wwg-icon { - transition: none; - } - } - `}}),(0,t.jsx)("section",{className:"wwg-section",id:"wings-why",children:(0,t.jsx)("div",{className:"dm-section-container",children:(0,t.jsxs)("div",{className:"wwg-inner",children:[(0,t.jsxs)(e5.ScrollReveal,{delay:.05,duration:.75,yOffset:25,className:"wwg-header",children:[(0,t.jsx)("div",{className:"wwg-eyebrow",children:"/ Why Doormile Wings /"}),(0,t.jsx)("h2",{className:"wwg-title",children:"Built for the speed of the Gen-Z economy"})]}),(0,t.jsxs)("div",{className:"wwg-grid-wrap",ref:e,children:[(0,t.jsxs)("svg",{ref:a,className:"wwg-flightpath","aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{ref:s,className:"wwg-illum-trail",d:""}),(0,t.jsx)("path",{ref:o,className:"wwg-flightpath-line",d:""}),(0,t.jsxs)("g",{ref:l,className:"wwg-traveler",children:[(0,t.jsx)("circle",{className:"wwg-pulse-bloom",cx:"0",cy:"0",r:"26"}),(0,t.jsx)("g",{ref:d,className:"wwg-traveler-directional",children:(0,t.jsx)("ellipse",{className:"wwg-pulse-halo",cx:"0",cy:"0",rx:"11",ry:"6"})}),(0,t.jsx)("circle",{className:"wwg-pulse-core",cx:"0",cy:"0",r:"2.6"}),(0,t.jsx)("g",{ref:c,className:"wwg-traveler-directional",children:(0,t.jsx)("path",{className:"wwg-aircraft",d:"M0,-13 C-0.78,-13 -1.3,-12.22 -1.3,-11.31 L-1.3,-3.9 L-11.05,1.3 L-11.05,3.9 L-1.3,0.91 L-1.3,9.1 L-4.55,11.44 L-4.55,13 L0,11.7 L4.55,13 L4.55,11.44 L1.3,9.1 L1.3,0.91 L11.05,3.9 L11.05,1.3 L1.3,-3.9 L1.3,-11.31 C1.3,-12.22 0.78,-13 0,-13 Z",fill:"currentColor"})})]})]}),(0,t.jsx)(e5.StaggerChildren,{stagger:.1,duration:.7,yOffset:30,className:"wwg-grid",children:e3.map((e,r)=>(0,t.jsxs)("div",{className:"wwg-card",ref:e=>{p.current[r]=e},children:[(0,t.jsx)("span",{className:"wwg-card-glow","aria-hidden":"true"}),(0,t.jsx)("div",{className:"wwg-icon","aria-hidden":"true",ref:e=>{h.current[r]=e},children:e.icon}),(0,t.jsx)("h3",{className:"wwg-card-title",children:e.title}),(0,t.jsx)("p",{className:"wwg-card-desc",children:e.desc})]},e.title))})]})]})})})]})}],63061)},10425,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(89970),n=e.i(83495),a=e.i(2018);i.default.registerPlugin(n.ScrollTrigger),e.s(["default",0,function(){let e=(0,r.useRef)(null),n=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=e.current,r=n.current,a=o.current,d=s.current,c=l.current;t&&r&&a&&d&&c&&(i.default.set([r,a,d],{opacity:0,y:40}),i.default.set(c,{opacity:0,scale:.7}),i.default.timeline({scrollTrigger:{trigger:t,start:"top 78%",toggleActions:"play none none none"}}).to(r,{opacity:1,y:0,duration:.85,ease:"power3.out"}).to([a,d],{opacity:1,y:0,duration:.8,stagger:.12,ease:"power3.out"},"-=0.5").to(c,{opacity:1,scale:1,duration:.5,ease:"back.out(1.7)"},"-=0.35"))},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wsa-section { - background: #fafafa; - padding: var(--space-section-lg, 80px) 0; - } - - .wsa-header { - max-width: 720px; - margin: 0 auto 48px auto; - text-align: center; - } - - .wsa-eyebrow { - font-size: 13px; - font-weight: 700; - letter-spacing: 2px; - text-transform: uppercase; - color: rgba(17, 17, 17, 0.45); - margin-bottom: 16px; - } - - .wsa-title { - font-size: clamp(28px, 3.2vw, 46px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #111111 !important; - margin: 0; - } - - .wsa-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wsa-face-off { - position: relative; - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); - gap: 24px; - } - - .wsa-panel { - min-width: 0; - border-radius: 22px; - padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); - text-align: center; - } - - .wsa-panel-surface { - background: #ffffff; - border: 1px solid rgba(17, 17, 17, 0.08); - } - - .wsa-panel-wings { - background: #111114; - border: 1px solid rgba(255, 255, 255, 0.06); - } - - .wsa-panel-label { - font-size: 13px; - font-weight: 800; - letter-spacing: 2px; - text-transform: uppercase; - margin-bottom: 20px; - } - - .wsa-panel-surface .wsa-panel-label { color: rgba(17, 17, 17, 0.4); } - .wsa-panel-wings .wsa-panel-label { color: #c8102e; } - - .wsa-value { - font-size: clamp(40px, 6vw, 76px); - font-weight: 900; - letter-spacing: -0.03em; - line-height: 1; - } - - .wsa-panel-surface .wsa-value { color: #c8102e; } - .wsa-panel-wings .wsa-value { color: #ffffff; } - - .wsa-unit { - margin-top: 10px; - font-size: 15px; - font-weight: 700; - } - - .wsa-panel-surface .wsa-unit { color: rgba(17, 17, 17, 0.45); } - .wsa-panel-wings .wsa-unit { color: rgba(255, 255, 255, 0.75); } - - .wsa-panel-sub { - margin-top: 18px; - font-size: 14px; - line-height: 1.5; - } - - .wsa-panel-surface .wsa-panel-sub { color: rgba(17, 17, 17, 0.4); } - .wsa-panel-wings .wsa-panel-sub { color: rgba(255, 255, 255, 0.55); } - - .wsa-vs { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 56px; - height: 56px; - border-radius: 50%; - background: #ffffff; - border: 1px solid rgba(17, 17, 17, 0.1); - box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); - display: flex; - align-items: center; - justify-content: center; - font-size: 13px; - font-weight: 800; - letter-spacing: 1px; - color: #c8102e; - z-index: 2; - } - - @media (max-width: 767px) { - .wsa-face-off { grid-template-columns: 1fr; gap: 40px; } - /* Effective visible gap above/below the VS circle is (grid gap + - this margin), i.e. 40px - 28px = 12px on each side — an equal, - ~40% reduction from the previous 20px/20px so the circle reads - as bridging the two cards instead of floating in a large empty - gap. margin: auto keeps it horizontally centered; the shorthand - applies identically to top and bottom so both stay equal. */ - .wsa-vs { position: static; transform: none; margin: -28px auto; } - /* var(--space-section-lg) floors at a fixed 52px on any phone - width; trimmed to a real mobile value to match the section - rhythm near the footer. */ - .wsa-section { padding-top: 44px; padding-bottom: 44px; } - } - `}}),(0,t.jsx)("section",{className:"wsa-section",ref:e,id:"wings-speed",children:(0,t.jsxs)("div",{className:"dm-section-container",children:[(0,t.jsxs)("div",{className:"wsa-header",ref:n,children:[(0,t.jsx)("div",{className:"wsa-eyebrow",children:"/ The Speed Advantage /"}),(0,t.jsx)("h2",{className:"wsa-title",children:"Same-day, not some-day"})]}),(0,t.jsx)("div",{className:"wsa-inner",children:(0,t.jsxs)("div",{className:"wsa-face-off",children:[(0,t.jsxs)("div",{className:"wsa-panel wsa-panel-surface",ref:o,children:[(0,t.jsx)("div",{className:"wsa-panel-label",children:"Surface Logistics"}),(0,t.jsxs)("div",{className:"wsa-value",children:["48–",(0,t.jsx)(a.CountUp,{end:96,duration:1.6,triggerOnce:!0})]}),(0,t.jsx)("div",{className:"wsa-unit",children:"Hours"}),(0,t.jsx)("p",{className:"wsa-panel-sub",children:"Delhi–Mumbai standard surface transit time."})]}),(0,t.jsx)("div",{className:"wsa-vs",ref:l,children:"VS"}),(0,t.jsxs)("div",{className:"wsa-panel wsa-panel-wings",ref:s,children:[(0,t.jsx)("div",{className:"wsa-panel-label",children:"Doormile Wings"}),(0,t.jsxs)("div",{className:"wsa-value",children:["Max ",(0,t.jsx)(a.CountUp,{end:3,duration:1.4,triggerOnce:!0})]}),(0,t.jsx)("div",{className:"wsa-unit",children:"Hours, Door-to-Door"}),(0,t.jsx)("p",{className:"wsa-panel-sub",children:"Same-day delivery between major regional capitals."})]})]})})]})})]})}])},91607,e=>{e.v({eyebrow:"WingsHowItWorks-module__yyfdHG__eyebrow",flow:"WingsHowItWorks-module__yyfdHG__flow",header:"WingsHowItWorks-module__yyfdHG__header",headerRow:"WingsHowItWorks-module__yyfdHG__headerRow",progress:"WingsHowItWorks-module__yyfdHG__progress",progressCount:"WingsHowItWorks-module__yyfdHG__progressCount",progressFill:"WingsHowItWorks-module__yyfdHG__progressFill",progressTrack:"WingsHowItWorks-module__yyfdHG__progressTrack",section:"WingsHowItWorks-module__yyfdHG__section",sectionShell:"WingsHowItWorks-module__yyfdHG__sectionShell",step:"WingsHowItWorks-module__yyfdHG__step",stepActive:"WingsHowItWorks-module__yyfdHG__stepActive",stepBottom:"WingsHowItWorks-module__yyfdHG__stepBottom",stepDesc:"WingsHowItWorks-module__yyfdHG__stepDesc",stepIcon:"WingsHowItWorks-module__yyfdHG__stepIcon",stepNum:"WingsHowItWorks-module__yyfdHG__stepNum",stepTag:"WingsHowItWorks-module__yyfdHG__stepTag",stepTitle:"WingsHowItWorks-module__yyfdHG__stepTitle",stepTop:"WingsHowItWorks-module__yyfdHG__stepTop",title:"WingsHowItWorks-module__yyfdHG__title"})},48920,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(2018),n=e.i(91607);let a=[{label:"Local Pickup",desc:"Fast, on-demand first-mile logistics dispatched by electric vehicle.",icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M3 13h13l3 4h2v3H3z"}),(0,t.jsx)("circle",{cx:"7",cy:"20",r:"1.6"}),(0,t.jsx)("circle",{cx:"16",cy:"20",r:"1.6"}),(0,t.jsx)("path",{d:"M6 13V8a1 1 0 0 1 1-1h5l3 6"})]})},{label:"Airport Clearance",desc:"Automated screening, grouping, and rapid cross-docking at the hub.",icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"}),(0,t.jsx)("path",{d:"m9 12 2 2 4-4"})]})},{label:"Air Transit",desc:"Optimized cargo flights bypass surface congestion on our regional fleet.",icon:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M22 12h-6l-4-9-2 1 3 8H5l-2-3-1.5.6L3 14l1.5 4.4L6 18l-2-3h8l3 8 2-1-3-8h6z"})})},{label:"Destination Hub",desc:"Immediate de-consolidation and screening upon arrival.",icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"4",y:"10",width:"16",height:"11",rx:"1"}),(0,t.jsx)("path",{d:"M9 21v-6h6v6M4 10 12 3l8 7"})]})},{label:"EV Last-Mile",desc:"Zero-emission electric vehicles complete the final delivery.",icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M3 13h13l3 4h2v3H3z"}),(0,t.jsx)("circle",{cx:"7",cy:"20",r:"1.6"}),(0,t.jsx)("circle",{cx:"16",cy:"20",r:"1.6"}),(0,t.jsx)("path",{d:"M6 13V8a1 1 0 0 1 1-1h5l3 6"})]})}];e.s(["default",0,function(){let[e,o]=(0,r.useState)(0);return(0,t.jsx)("section",{className:n.default.section,id:"wings-how-it-works",children:(0,t.jsxs)("div",{className:n.default.sectionShell,children:[(0,t.jsxs)("div",{className:n.default.headerRow,children:[(0,t.jsxs)(i.ScrollReveal,{delay:.05,duration:.75,yOffset:25,className:n.default.header,children:[(0,t.jsx)("div",{className:n.default.eyebrow,children:"/ How It Works /"}),(0,t.jsxs)("h2",{className:n.default.title,children:["Pickup to",(0,t.jsx)("br",{}),"delivery, one",(0,t.jsx)("br",{}),"connected flow"]})]}),(0,t.jsxs)("div",{className:n.default.progress,"aria-hidden":"true",children:[(0,t.jsxs)("span",{className:n.default.progressCount,children:[String(e+1).padStart(2,"0")," / ",String(a.length).padStart(2,"0")]}),(0,t.jsx)("span",{className:n.default.progressTrack,children:(0,t.jsx)("span",{className:n.default.progressFill,style:{width:`${(e+1)/a.length*100}%`}})})]})]}),(0,t.jsx)(i.StaggerChildren,{stagger:.06,duration:.6,yOffset:24,className:n.default.flow,children:a.map((r,i)=>(0,t.jsxs)("div",{className:`${n.default.step} ${i===e?n.default.stepActive:""}`,onMouseEnter:()=>o(i),onClick:()=>o(i),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&o(i)},children:[(0,t.jsxs)("div",{className:n.default.stepTop,children:[(0,t.jsx)("span",{className:n.default.stepNum,children:String(i+1).padStart(2,"0")}),(0,t.jsxs)("span",{className:n.default.stepTag,children:[(0,t.jsx)("span",{className:n.default.stepIcon,"aria-hidden":"true",children:r.icon}),"Step"]})]}),(0,t.jsxs)("div",{className:n.default.stepBottom,children:[(0,t.jsx)("h3",{className:n.default.stepTitle,children:r.label}),(0,t.jsx)("p",{className:n.default.stepDesc,children:r.desc})]})]},r.label))})]})})}])},55064,e=>{"use strict";var t=e.i(43476),r=e.i(71645),i=e.i(89970),n=e.i(2018);let a=[{title:"Demand Forecasting",desc:"AI-driven forward projection of cargo demand, preemptively positioning aircraft and ground capacity.",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M3 3v18h18"}),(0,t.jsx)("path",{d:"M7 14l4-4 3 3 6-7"})]})},{title:"Dynamic Pricing",desc:"Real-time rate adjustments that track market capacity fluctuations and optimize yield.",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M9.5 9.5c0-1.4 1.1-2.3 2.5-2.3s2.5.9 2.5 2c0 1.6-2.2 1.8-2.5 3.3M12 17h.01"})]})},{title:"Route Optimization",desc:"Dynamic scheduling for ground EV pickups and flights that bypasses congestion for the fastest path.",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,t.jsx)("polyline",{points:"13 6 19 12 13 18"})]})},{title:"Load Balancing",desc:"Automated weight-and-balance modeling for optimal, safe aircraft load layout within minutes.",icon:(0,t.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M12 3v18M5 8l7-5 7 5M5 8v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8"})})},{title:"Predictive Maintenance",desc:"Continuous telemetry monitoring triggers preemptive alerts, drastically reducing aircraft downtime.",icon:(0,t.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M22 12h-6l-4 8-4-16-4 8H2"})})},{title:"Real-Time Tracking",desc:"End-to-end sensor monitoring keeps shippers, airline, and EV operators updated on exact shipment state.",icon:(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}];function o({children:e,className:n}){let a=(0,r.useRef)(null),s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=a.current,t=s.current;if(!e||!t||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;let r=r=>{let n=e.getBoundingClientRect(),a=r.clientX-n.left,o=r.clientY-n.top,s=n.width/2,l=n.height/2;i.default.to(e,{duration:.4,rotateX:-((o-l)/l*3),rotateY:(a-s)/s*3,y:-4,transformPerspective:1e3,ease:"power2.out"}),i.default.set(t,{"--mx":`${a}px`,"--my":`${o}px`}),i.default.to(t,{duration:.3,opacity:1,ease:"power2.out"}),i.default.to(e.querySelector(".wmt-card-icon"),{duration:.4,z:25,ease:"power2.out"}),i.default.to(e.querySelector(".wmt-card-title"),{duration:.4,z:15,ease:"power2.out"})},n=()=>{i.default.to(e,{duration:.8,rotateX:0,rotateY:0,y:0,ease:"power3.out"}),i.default.to(t,{duration:.5,opacity:0,ease:"power3.out"}),i.default.to(e.querySelectorAll(".wmt-card-icon, .wmt-card-title"),{duration:.8,z:0,ease:"power3.out"})};return e.addEventListener("mousemove",r),e.addEventListener("mouseleave",n),()=>{e.removeEventListener("mousemove",r),e.removeEventListener("mouseleave",n)}},[]),(0,t.jsxs)("div",{ref:a,className:n,children:[(0,t.jsx)("div",{ref:s,style:{position:"absolute",inset:0,borderRadius:"inherit",background:"radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08) 0%, rgba(200, 16, 46, 0.03) 40%, transparent 100%)",opacity:0,pointerEvents:"none",zIndex:0,transform:"translateZ(1px)",mixBlendMode:"screen"}}),(0,t.jsx)("div",{style:{position:"relative",zIndex:1,transformStyle:"preserve-3d"},children:e})]})}e.s(["default",0,function(){let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t,r=e.current;if(!r)return;let i=r.getContext("2d");if(!i)return;let n=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,a=r.width=r.offsetWidth,o=r.height=r.offsetHeight,s=()=>{a=r.width=r.offsetWidth,o=r.height=r.offsetHeight};window.addEventListener("resize",s);let l=[{x:.12,y:.5},{x:.34,y:.25},{x:.56,y:.65},{x:.78,y:.3},{x:.92,y:.6}],d=[{from:0,to:1,t:0,speed:.006},{from:1,to:2,t:.4,speed:.005},{from:2,to:3,t:.15,speed:.007},{from:3,to:4,t:.6,speed:.005}],c=()=>{i.clearRect(0,0,a,o),i.lineWidth=1.5,i.setLineDash([6,6]),i.strokeStyle="rgba(200, 16, 46, 0.16)",i.beginPath();for(let e=0;e{e.t+=e.speed,e.t>=1&&(e.t=0);let t=l[e.from],r=l[e.to],n=t.x*a+(r.x*a-t.x*a)*e.t,s=t.y*o+(r.y*o-t.y*o)*e.t;i.beginPath(),i.arc(n,s,3.5,0,2*Math.PI),i.fillStyle="#c8102e",i.shadowColor="#c8102e",i.shadowBlur=10,i.fill(),i.shadowBlur=0}),l.forEach(e=>{let t=e.x*a,r=e.y*o;i.beginPath(),i.arc(t,r,7,0,2*Math.PI),i.fillStyle="rgba(200, 16, 46, 0.1)",i.fill(),i.beginPath(),i.arc(t,r,3,0,2*Math.PI),i.fillStyle="rgba(255, 255, 255, 0.25)",i.fill()}),n||(t=requestAnimationFrame(c))};return c(),()=>{window.removeEventListener("resize",s),t&&cancelAnimationFrame(t)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wmt-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(24px, 4vw, 40px) auto; - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 48px); - } - - .wmt-canvas { - position: absolute; - inset: 0; - z-index: 0; - width: 100%; - height: 100%; - pointer-events: none; - opacity: 0.12; - } - - .wmt-glow { - position: absolute; - width: 480px; - height: 480px; - border-radius: 50%; - pointer-events: none; - filter: blur(140px); - z-index: 0; - opacity: 0.06; - } - - .wmt-glow.tl { left: -8%; top: -12%; background: radial-gradient(circle, #c8102e 0%, transparent 70%); } - .wmt-glow.br { right: -8%; bottom: -12%; background: radial-gradient(circle, #ff3b3b 0%, transparent 70%); } - - .wmt-inner { - position: relative; - z-index: 1; - max-width: 1380px; - margin: 0 auto; - } - - .wmt-header { - margin: 0 auto 48px auto; - max-width: 720px; - text-align: center; - } - - .wmt-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #c8102e; - margin-bottom: 16px; - } - - .wmt-title { - font-size: clamp(28px, 3.4vw, 48px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wmt-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 18px; - margin-bottom: 20px; - } - - .wmt-card { - min-width: 0; - position: relative; - background: rgba(255, 255, 255, 0.035); - border: 1px solid rgba(255, 255, 255, 0.07); - border-radius: 18px; - padding: 26px 22px; - transition: border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1); - transform-style: preserve-3d; - will-change: transform; - } - - .wmt-card:hover { - border-color: rgba(255, 255, 255, 0.16); - background-color: rgba(255, 255, 255, 0.055); - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); - } - - .wmt-card-icon { - width: 40px; - height: 40px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 10px; - background: rgba(200, 16, 46, 0.12); - color: #ffffff; - margin-bottom: 18px; - } - - .wmt-card-title { - font-size: 15.5px !important; - font-weight: 700 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 8px 0; - } - - .wmt-card-desc { - font-size: 16px; - line-height: 1.55; - color: rgba(255, 255, 255, 0.55); - margin: 0; - } - - .wmt-callout { - position: relative; - border-radius: 20px; - padding: 34px 32px; - background: linear-gradient(135deg, rgba(200, 16, 46, 0.95) 0%, rgba(110, 8, 26, 0.98) 100%); - border: 1px solid rgba(255, 255, 255, 0.15); - display: flex; - align-items: center; - justify-content: space-between; - gap: 24px; - flex-wrap: wrap; - overflow: hidden; - } - - .wmt-callout::after { - content: ""; - position: absolute; - inset: -1.5px; - border-radius: 20px; - background: linear-gradient(90deg, #c8102e, #ff3366, #ff0033, #c8102e); - background-size: 300% 100%; - animation: wmt-sweep 6s linear infinite; - z-index: -1; - opacity: 0.6; - } - - @keyframes wmt-sweep { - 0% { background-position: 0% 50%; } - 50% { background-position: 100% 50%; } - 100% { background-position: 0% 50%; } - } - - .wmt-callout-body { max-width: 640px; } - - .wmt-callout-title { - font-size: 20px !important; - font-weight: 800 !important; - line-height: 1.3 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0 0 8px 0; - } - - .wmt-callout-desc { - font-size: 14px; - line-height: 1.55; - color: rgba(255, 255, 255, 0.85); - margin: 0; - } - - .wmt-callout-badge { - flex-shrink: 0; - font-size: 11.5px; - font-weight: 800; - letter-spacing: 1px; - text-transform: uppercase; - color: #ffffff; - background: rgba(255, 255, 255, 0.15); - border: 1px solid rgba(255, 255, 255, 0.25); - border-radius: 999px; - padding: 8px 16px; - } - - @media (max-width: 1024px) { - .wmt-section { width: calc(100% - 24px); border-radius: 22px; } - .wmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } - } - - @media (max-width: 600px) { - .wmt-grid { grid-template-columns: 1fr; } - .wmt-callout { flex-direction: column; align-items: flex-start; } - /* The vertical clamp() floors at a fixed 64px on any phone width; - trimmed to a real mobile value to match the section rhythm near - the footer. Horizontal padding is left untouched (its own - clamp already resolves small on phones). */ - .wmt-section { padding-top: 48px; padding-bottom: 48px; } - } - `}}),(0,t.jsxs)("section",{className:"wmt-section",id:"wings-miletruth",children:[(0,t.jsx)("canvas",{ref:e,className:"wmt-canvas","aria-hidden":"true"}),(0,t.jsx)("div",{className:"wmt-glow tl","aria-hidden":"true"}),(0,t.jsx)("div",{className:"wmt-glow br","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"wmt-inner dm-section-container",children:[(0,t.jsxs)(n.ScrollReveal,{delay:.05,duration:.75,yOffset:25,className:"wmt-header",children:[(0,t.jsx)("div",{className:"wmt-eyebrow",children:"/ MileTruth™ AI /"}),(0,t.jsx)("h2",{className:"wmt-title",children:"The intelligence layer behind every delivery"})]}),(0,t.jsx)(n.StaggerChildren,{stagger:.08,duration:.65,yOffset:25,className:"wmt-grid",children:a.map(e=>(0,t.jsxs)(o,{className:"wmt-card",children:[(0,t.jsx)("div",{className:"wmt-card-icon","aria-hidden":"true",children:e.icon}),(0,t.jsx)("h3",{className:"wmt-card-title",children:e.title}),(0,t.jsx)("p",{className:"wmt-card-desc",children:e.desc})]},e.title))}),(0,t.jsx)(n.ScrollReveal,{delay:.15,duration:.8,yOffset:25,children:(0,t.jsxs)("div",{className:"wmt-callout",children:[(0,t.jsxs)("div",{className:"wmt-callout-body",children:[(0,t.jsx)("h3",{className:"wmt-callout-title",children:"Digital Twin of the Logistics Network"}),(0,t.jsx)("p",{className:"wmt-callout-desc",children:"A live virtual model of every ground vehicle, terminal, and flight — simulating what-if scenarios before bottlenecks ever form."})]}),(0,t.jsx)("span",{className:"wmt-callout-badge",children:"SaaS Ready"})]})})]})]})]})}])},13378,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let i=[{year:"Year 1",trackLeft:"10%",phase:"Launch Phase",phaseClass:"yellow",desc:"Establish localized clearance hubs and launch cargo services connecting 5–6 key commercial cities."},{year:"Year 2",trackLeft:"30%",phase:"Network Growth",phaseClass:"green",desc:"Expand hub operations and airfield schedules, serving 15 regional and secondary cargo airports."},{year:"Year 3",trackLeft:"50%",phase:"Cross-Border Nodes",phaseClass:"blue",desc:"Add international regional routes, bridging key freight corridors in South Asia."},{year:"Year 5",trackLeft:"70%",phase:"Operational Scale",phaseClass:"blue",desc:"Expand to a fleet of 25 leased cargo aircraft, servicing over 50 regional airports nationwide."},{year:"Year 10",trackLeft:"90%",phase:"Global Duplication",phaseClass:"white-pill",desc:"Replicate our asset-light, AI-powered logistics framework across Asia, Africa, and the Middle East.",glow:!0}];e.s(["default",0,function(){let[e,n]=(0,r.useState)(i.length-1),a=(e+1)/i.length*100;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .wrm-section { - position: relative; - width: calc(100% - 40px); - margin: clamp(32px, 4vw, 56px) auto clamp(16px, 2vw, 32px); - border-radius: 28px; - overflow: hidden; - box-sizing: border-box; - background: #09090b; - padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 48px); - } - - .wrm-header { - margin: 0 auto 44px auto; - max-width: 720px; - text-align: center; - } - - .wrm-eyebrow { - font-size: 13px; - font-weight: 800; - letter-spacing: 2.5px; - text-transform: uppercase; - color: #c8102e; - margin-bottom: 16px; - } - - .wrm-title { - font-size: clamp(28px, 3.4vw, 48px) !important; - font-weight: 800 !important; - letter-spacing: -0.03em !important; - line-height: 1.15 !important; - text-transform: none !important; - color: #ffffff !important; - margin: 0; - } - - .wrm-inner { - max-width: 1380px; - margin: 0 auto; - } - - .wrm-track-wrap { - position: relative; - height: 4px; - background: rgba(255, 255, 255, 0.08); - border-radius: 2px; - margin: 0 auto 44px auto; - } - - .wrm-track-fill { - position: absolute; - left: 0; - top: 0; - height: 100%; - background: #c8102e; - box-shadow: 0 0 10px #c8102e; - border-radius: 2px; - transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1); - } - - .wrm-nodes { position: absolute; inset: 0; } - - .wrm-node { - position: absolute; - top: 50%; - transform: translate(-50%, -50%); - width: 12px; - height: 12px; - border-radius: 50%; - background: #18181b; - border: 2px solid rgba(255, 255, 255, 0.2); - transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; - } - - .wrm-node.is-active { - background: #c8102e; - border-color: #ffffff; - box-shadow: 0 0 10px #c8102e; - } - - .wrm-grid { - display: grid; - grid-template-columns: repeat(5, minmax(0, 1fr)); - gap: 16px; - } - - .wrm-card { - position: relative; - min-width: 0; - padding: 24px 20px; - border-radius: 16px; - border: 1px solid rgba(255, 255, 255, 0.07); - background: rgba(255, 255, 255, 0.03); - cursor: pointer; - transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease; - } - - .wrm-card:hover, - .wrm-card.is-active { - transform: translateY(-6px); - border-color: rgba(200, 16, 46, 0.5); - background: rgba(200, 16, 46, 0.06); - box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); - } - - .wrm-card-year { - font-size: 20px; - font-weight: 900; - color: #ffffff; - letter-spacing: -0.5px; - margin-bottom: 14px; - } - - .wrm-phase-pill { - display: inline-block; - font-size: 10.5px; - font-weight: 800; - text-transform: uppercase; - letter-spacing: 0.5px; - padding: 4px 9px; - border-radius: 6px; - margin-bottom: 12px; - } - - .wrm-phase-pill.yellow { background: rgba(234,179,8,0.12); color: #eab308; border: 1px solid rgba(234,179,8,0.2); } - .wrm-phase-pill.green { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); } - .wrm-phase-pill.blue { background: rgba(59,130,246,0.12); color: #3b82f6; border: 1px solid rgba(59,130,246,0.2); } - .wrm-phase-pill.white-pill { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); } - - .wrm-card-desc { - font-size: 14.5px; - line-height: 1.55; - color: rgba(255, 255, 255, 0.55); - margin: 0; - } - - .wrm-card.wrm-glow { - background: linear-gradient(135deg, rgba(200, 16, 46, 0.95) 0%, rgba(110, 8, 26, 0.98) 100%); - border-color: rgba(255, 255, 255, 0.15); - } - - .wrm-card.wrm-glow .wrm-card-desc { color: rgba(255, 255, 255, 0.85); } - .wrm-card.wrm-glow:hover, - .wrm-card.wrm-glow.is-active { - box-shadow: 0 20px 40px rgba(200, 16, 46, 0.45); - } - - @media (max-width: 1024px) { - .wrm-section { width: calc(100% - 24px); border-radius: 22px; } - .wrm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } - } - - @media (max-width: 767px) { - /* Both the outer margin-top and the internal vertical padding - clamp()s floor at fixed, sizeable values (56px + 64px = ~120px - combined) on any phone width — noticeably heavier than the - section rhythm near the footer. Horizontal padding is left - untouched (its own clamp already resolves small on phones). */ - .wrm-section { - margin-top: 24px; - padding-top: 32px; - padding-bottom: 32px; - } - .wrm-track-wrap { display: none; } - .wrm-grid { - grid-template-columns: 1fr; - gap: 14px; - position: relative; - padding-left: 26px; - } - .wrm-grid::before { - content: ''; - position: absolute; - left: 5px; - top: 8px; - bottom: 8px; - width: 2px; - border-radius: 2px; - background: rgba(255, 255, 255, 0.12); - } - .wrm-card { position: relative; } - .wrm-card::before { - content: ''; - position: absolute; - left: -25px; - top: 22px; - width: 12px; - height: 12px; - border-radius: 50%; - background: #18181b; - border: 2px solid rgba(255, 255, 255, 0.2); - } - .wrm-card.is-active::before, - .wrm-card:hover::before { - background: #c8102e; - border-color: #ffffff; - box-shadow: 0 0 10px rgba(200, 16, 46, 0.7); - } - } - `}}),(0,t.jsx)("section",{className:"wrm-section",id:"wings-roadmap",children:(0,t.jsxs)("div",{className:"dm-section-container",children:[(0,t.jsxs)("div",{className:"wrm-header",children:[(0,t.jsx)("div",{className:"wrm-eyebrow",children:"/ Future Roadmap /"}),(0,t.jsx)("h2",{className:"wrm-title",children:"A ten-year path to national scale"})]}),(0,t.jsxs)("div",{className:"wrm-inner",children:[(0,t.jsxs)("div",{className:"wrm-track-wrap","aria-hidden":"true",children:[(0,t.jsx)("div",{className:"wrm-track-fill",style:{width:`${a}%`}}),(0,t.jsx)("div",{className:"wrm-nodes",children:i.map((r,n)=>(0,t.jsx)("div",{className:`wrm-node${n<=e?" is-active":""}`,style:{left:`${(n+.5)/i.length*100}%`}},n))})]}),(0,t.jsx)("div",{className:"wrm-grid",children:i.map((r,i)=>(0,t.jsxs)("div",{className:`wrm-card${r.glow?" wrm-glow":""}${i===e?" is-active":""}`,onMouseEnter:()=>n(i),onClick:()=>n(i),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&n(i)},children:[(0,t.jsx)("div",{className:"wrm-card-year",children:r.year}),(0,t.jsx)("span",{className:`wrm-phase-pill ${r.phaseClass}`,children:r.phase}),(0,t.jsx)("p",{className:"wrm-card-desc",children:r.desc})]},r.year))})]})]})})]})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/07uz2g0_38qia.js b/.next/static/chunks/07uz2g0_38qia.js deleted file mode 100644 index 1057a1f..0000000 --- a/.next/static/chunks/07uz2g0_38qia.js +++ /dev/null @@ -1,4 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54394,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return i},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return s},getAccessFallbackErrorTypeByStatus:function(){return l},getAccessFallbackHTTPStatus:function(){return c},isHTTPAccessFallbackError:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},o=new Set(Object.values(i)),s="NEXT_HTTP_ERROR_FALLBACK";function u(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===s&&o.has(Number(r))}function c(e){return Number(e.digest.split(";")[1])}function l(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65713,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return i}});let n=e.r(54394),a=e.r(68391);function i(e){return(0,a.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3680,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return a}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61994,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return l},PathParamsContext:function(){return c},PathnameContext:function(){return u},ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},SearchParamsContext:function(){return s},createDevToolsInstrumentedPromise:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(71645),o=e.r(3680),s=(0,i.createContext)(null),u=(0,i.createContext)(null),c=(0,i.createContext)(null),l=(0,i.createContext)(null);function d(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},45955,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},42852,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={RenderStage:function(){return u},StagedRenderingController:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let o=e.r(12718),s=e.r(39470);var u=((n={})[n.Before=1]="Before",n[n.EarlyStatic=2]="EarlyStatic",n[n.Static=3]="Static",n[n.EarlyRuntime=4]="EarlyRuntime",n[n.Runtime=5]="Runtime",n[n.Dynamic=6]="Dynamic",n[n.Abandoned=7]="Abandoned",n);class c{constructor(e,t,r){this.abortSignal=e,this.abandonController=t,this.shouldTrackSyncIO=r,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,s.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,s.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,s.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,s.createPromiseWithResolvers)(),e&&e.addEventListener("abort",()=>{let{reason:t}=e;this.staticStagePromise.promise.catch(l),this.staticStagePromise.reject(t),this.earlyRuntimeStagePromise.promise.catch(l),this.earlyRuntimeStagePromise.reject(t),this.runtimeStagePromise.promise.catch(l),this.runtimeStagePromise.reject(t),this.dynamicStagePromise.promise.catch(l),this.dynamicStagePromise.reject(t)},{once:!0}),t&&t.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.staticStageListeners.push(t);else if(4===e)this.earlyRuntimeStageListeners.push(t);else if(5===e)this.runtimeStageListeners.push(t);else if(6===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new o.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;switch(this.currentStage){case 1:case 5:case 6:case 7:default:return!1;case 2:case 3:case 4:return!0}}syncInterruptCurrentStageWithReason(e){if(1!==this.currentStage&&7!==this.currentStage){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=e,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:this.syncInterruptReason=e,this.advanceStage(6);return;case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){let{currentStage:e}=this;switch(e){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:this.currentStage=7;return}}advanceStage(e){if(e<=this.currentStage)return;let t=this.currentStage;if(this.currentStage=e,t<3&&e>=3&&this.resolveStaticStage(),t<4&&e>=4&&this.resolveEarlyRuntimeStage(),t<5&&e>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<6&&e>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){let e=this.staticStageListeners;for(let t=0;t{n.then(e.bind(null,i),t)}),void 0!==a&&(o.displayName=a),o);return this.abortSignal&&s.catch(l),s}}function l(){}},62141,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getCacheSignal:function(){return b},getDraftModeProviderForCacheScope:function(){return g},getHmrRefreshHash:function(){return m},getPrerenderResumeDataCache:function(){return d},getRenderResumeDataCache:function(){return f},getServerComponentsHmrCache:function(){return p},getStagedRenderingController:function(){return y},isHmrRefresh:function(){return h},isInEarlyRenderStage:function(){return u},throwForMissingRequestStore:function(){return c},throwInvariantForMissingStore:function(){return l},workUnitAsyncStorage:function(){return i.workUnitAsyncStorageInstance}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(45955);e.r(21768);let o=e.r(12718),s=e.r(42852);function u(e){let t=e.stagedRendering;return!!t&&(t.currentStage===s.RenderStage.EarlyStatic||t.currentStage===s.RenderStage.EarlyRuntime)}function c(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function l(){throw Object.defineProperty(new o.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function d(e){switch(e.type){case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-client":case"validation-client":return e.prerenderResumeDataCache;case"request":if(e.prerenderResumeDataCache)return e.prerenderResumeDataCache;case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function f(e){switch(e.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":if(e.renderResumeDataCache)return e.renderResumeDataCache;case"prerender-ppr":return e.prerenderResumeDataCache??null;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":case"generate-static-params":return null;default:return e}}function m(e){}function h(e){return!1}function p(e){}function g(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function y(e){switch(e.type){case"request":case"prerender-runtime":return e.stagedRendering??null;case"prerender":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function b(e){switch(e.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return e.cacheSignal;case"request":if(e.cacheSignal)return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}},13957,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(90809)._(e.r(71645)),o=i.default.createContext(null);function s(e){let t=(0,i.useContext)(o);t&&t(e)}},22783,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return i}});let n=e.r(54394),a=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function i(){let e=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw e.digest=a,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79854,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(54394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},22683,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(54394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},15507,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,a.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(32061),a=e.r(65713);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63138,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={delayUntilRuntimeStage:function(){return h},getRuntimeStage:function(){return m},isHangingPromiseRejectionError:function(){return o},makeDevtoolsIOAwarePromise:function(){return f},makeHangingPromise:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(42852);function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===s}let s="HANGING_PROMISE_REJECTION";class u extends Error{constructor(e,t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${e}".`),this.route=e,this.expression=t,this.digest=s}}let c=new WeakMap;function l(e,t,r){if(e.aborted)return Promise.reject(new u(t,r));{let n=new Promise((n,a)=>{let i=a.bind(null,new u(t,r)),o=c.get(e);if(o)o.push(i);else{let t=[i];c.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e{setTimeout(()=>{t(e)},0)})}function m(e){return e.currentStage===i.RenderStage.EarlyStatic||e.currentStage===i.RenderStage.EarlyRuntime?i.RenderStage.EarlyRuntime:i.RenderStage.Runtime}function h(e,t){let{stagedRendering:r}=e;return r?r.waitForStage(m(r)).then(()=>t):t}},67287,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isPostpone",{enumerable:!0,get:function(){return a}});let n=Symbol.for("react.postpone");function a(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},76353,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DynamicServerError:function(){return o},isDynamicServerError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="DYNAMIC_SERVER_USAGE";class o extends Error{constructor(e){super(`Dynamic server usage: ${e}`),this.description=e,this.digest=i}}function s(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43248,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={StaticGenBailoutError:function(){return o},isStaticGenBailoutError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="NEXT_STATIC_GEN_BAILOUT";class o extends Error{constructor(...e){super(...e),this.code=i}}function s(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54839,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={METADATA_BOUNDARY_NAME:function(){return i},OUTLET_BOUNDARY_NAME:function(){return s},ROOT_LAYOUT_BOUNDARY_NAME:function(){return u},VIEWPORT_BOUNDARY_NAME:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="__next_metadata_boundary__",o="__next_viewport_boundary__",s="__next_outlet_boundary__",u="__next_root_layout_boundary__"},29419,(e,t,r)=>{"use strict";var n=e.i(47167);Object.defineProperty(r,"__esModule",{value:!0});var a={atLeastOneTask:function(){return u},scheduleImmediate:function(){return s},scheduleOnNextTick:function(){return o},waitAtLeastOneReactRenderTask:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let o=e=>{Promise.resolve().then(()=>{n.default.nextTick(e)})},s=e=>{setImmediate(e)};function u(){return new Promise(e=>s(e))}function c(){return new Promise(e=>setImmediate(e))}},2897,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"INSTANT_VALIDATION_BOUNDARY_NAME",{enumerable:!0,get:function(){return n}});let n="__next_instant_validation_boundary__"},67673,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,i,o={DynamicHoleKind:function(){return Z},Postpone:function(){return T},PreludeState:function(){return ei},abortAndThrowOnSynchronousRequestDataAccess:function(){return D},abortOnSynchronousPlatformIOAccess:function(){return j},accessedDynamicData:function(){return L},annotateDynamicAccess:function(){return H},consumeDynamicAccess:function(){return $},createDynamicTrackingState:function(){return E},createDynamicValidationState:function(){return R},createHangingInputAbortSignal:function(){return X},createInstantValidationState:function(){return Q},createRenderInBrowserAbortSignal:function(){return B},formatDynamicAPIAccesses:function(){return U},getFirstDynamicReason:function(){return v},getNavigationDisallowedDynamicReasons:function(){return ec},getStaticShellDisallowedDynamicReasons:function(){return eu},isDynamicPostpone:function(){return C},isPrerenderInterruptedError:function(){return I},logDisallowedDynamicError:function(){return eo},markCurrentScopeAsDynamic:function(){return S},postponeWithTracking:function(){return x},throwIfDisallowedDynamic:function(){return es},throwToInterruptStaticGeneration:function(){return O},trackAllowedDynamicAccess:function(){return J},trackDynamicDataInDynamicRender:function(){return w},trackDynamicHoleInNavigation:function(){return ee},trackDynamicHoleInRuntimeShell:function(){return er},trackDynamicHoleInStaticShell:function(){return en},trackThrownErrorInNavigation:function(){return et},useDynamicRouteParams:function(){return F},useDynamicSearchParams:function(){return W}};for(var s in o)Object.defineProperty(r,s,{enumerable:!0,get:o[s]});let u=(n=e.r(71645))&&n.__esModule?n:{default:n},c=e.r(76353),l=e.r(43248),d=e.r(62141),f=e.r(63599),m=e.r(63138),h=e.r(54839),p=e.r(29419),g=e.r(32061),y=e.r(12718),b=e.r(2897),_="function"==typeof u.default.unstable_postpone;function E(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function R(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function v(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function S(e,t,r){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t)switch(t.type){case"prerender-ppr":return x(e.route,r,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;let n=Object.defineProperty(new c.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}function O(e,t,r){let n=Object.defineProperty(new c.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function w(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function P(e,t,r){let n=M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let a=r.dynamicTracking;a&&a.dynamicAccesses.push({stack:a.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function j(e,t,r,n){let a=n.dynamicTracking;P(e,t,n),a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicErrorWithStack=r)}function D(e,t,r,n){if(!1===n.controller.signal.aborted){P(e,t,n);let a=n.dynamicTracking;a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicErrorWithStack=r)}throw M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}function T({reason:e,route:t}){let r=d.workUnitAsyncStorage.getStore();x(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function x(e,t,r){(function(){if(!_)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),u.default.unstable_postpone(A(e,t))}function A(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function C(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&N(e.message)}function N(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===N(A("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let k="NEXT_PRERENDER_INTERRUPTED";function M(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=k,t}function I(e){return"object"==typeof e&&null!==e&&e.digest===k&&"name"in e&&"message"in e&&e instanceof Error}function L(e){return e.length>0}function $(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function U(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: -${t}`))}function B(){let e=new AbortController;return e.abort(Object.defineProperty(new g.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function X(e){switch(e.type){case"prerender":case"prerender-runtime":let t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(()=>{t.abort()});else if("prerender-runtime"===e.type&&e.stagedRendering){let{stagedRendering:r}=e;r.waitForStage((0,m.getRuntimeStage)(r)).then(()=>(0,p.scheduleOnNextTick)(()=>t.abort()))}else(0,p.scheduleOnNextTick)(()=>t.abort());return t.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function H(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function F(e){let t=f.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t&&r)switch(r.type){case"prerender-client":case"prerender":{let n=r.fallbackRouteParams;n&&n.size>0&&u.default.use((0,m.makeHangingPromise)(r.renderSignal,t.route,e));break}case"prerender-ppr":{let n=r.fallbackRouteParams;if(n&&n.size>0)return x(t.route,e,r.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called during a runtime prerender. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function W(e){let t=f.workAsyncStorage.getStore(),r=d.workUnitAsyncStorage.getStore();if(t)switch(!r&&(0,d.throwForMissingRequestStore)(e),r.type){case"validation-client":case"request":return;case"prerender-client":u.default.use((0,m.makeHangingPromise)(r.renderSignal,t.route,e));break;case"prerender-legacy":case"prerender-ppr":if(t.forceStatic)return;throw Object.defineProperty(new g.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new y.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}let z=/\n\s+at Suspense \(\)/,V=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${h.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),q=RegExp(`\\n\\s+at ${h.METADATA_BOUNDARY_NAME}[\\n\\s]`),G=RegExp(`\\n\\s+at ${h.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),Y=RegExp(`\\n\\s+at ${h.OUTLET_BOUNDARY_NAME}[\\n\\s]`),K=RegExp(`\\n\\s+at ${b.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`);function J(e,t,r,n){if(!Y.test(t)){if(q.test(t)){r.hasDynamicMetadata=!0;return}if(G.test(t)){r.hasDynamicViewport=!0;return}if(V.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(z.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let a=ea(Object.defineProperty(Error(`Route "${e.route}": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(a)}}}var Z=((a={})[a.Runtime=1]="Runtime",a[a.Dynamic=2]="Dynamic",a);function Q(e){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:e}}function ee(e,t,r,n,a,i){if(Y.test(t))return;if(q.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": ${1===a?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`."} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicMetadata=n;return}if(G.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": ${1===a?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(n);return}let o=K.exec(t);if(o){let e=z.exec(t);if(e&&e.index`.":"Uncached data or `connection()` was accessed outside of ``."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(s)}function et(e,t,r,n){let a=K.exec(n);if(a){let i=z.exec(n);if(i&&i.index\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(a)}function en(e,t,r,n){if(!Y.test(t)){if(q.test(t)){r.dynamicMetadata=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,configurable:!0}),t,null);return}if(G.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(n);return}if(V.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(z.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let a=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(a)}}}function ea(e,t,r){return null!==r&&(e.cause=r()),e.stack=e.name+": "+e.message+t,e}var ei=((i={})[i.Full=0]="Full",i[i.Empty=1]="Empty",i[i.Errored=2]="Errored",i);function eo(e,t){console.error(t),console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${e.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}function es(e,t,r,n){if(n.syncDynamicErrorWithStack)throw eo(e,n.syncDynamicErrorWithStack),new l.StaticGenBailoutError;if(0!==t){if(r.hasSuspenseAboveBody)return;let n=r.dynamicErrors;if(n.length>0){for(let t=0;t0)return n;if(1===t)return[Object.defineProperty(new y.InvariantError(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===r.hasAllowedDynamic&&0===r.dynamicErrors.length&&r.dynamicMetadata)return[r.dynamicMetadata];return[]}function ec(e,t,r,n,a){if(n){let{missingSampleErrors:e}=n;if(e.length>0)return e}let{validationPreventingErrors:i}=r;if(i.length>0)return i;if(a.renderedIds.size0)return n;if(1===t)return r.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new y.InvariantError(`Route "${e.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})]}else{let e=r.dynamicErrors;if(e.length>0)return e;if(!1===r.hasAllowedDynamic&&r.dynamicMetadata)return[r.dynamicMetadata]}return[]}},91414,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,o.isNextRouterError)(t)||(0,i.isBailoutToCSRError)(t)||(0,u.isDynamicServerError)(t)||(0,s.isDynamicPostpone)(t)||(0,a.isPostpone)(t)||(0,n.isHangingPromiseRejectionError)(t)||(0,s.isPrerenderInterruptedError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(63138),a=e.r(67287),i=e.r(32061),o=e.r(65713),s=e.r(67673),u=e.r(76353);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return f},forbidden:function(){return u.forbidden},notFound:function(){return s.notFound},permanentRedirect:function(){return o.permanentRedirect},redirect:function(){return o.redirect},unauthorized:function(){return c.unauthorized},unstable_isUnrecognizedActionError:function(){return d},unstable_rethrow:function(){return l.unstable_rethrow}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(3680),o=e.r(24063),s=e.r(22783),u=e.r(79854),c=e.r(22683),l=e.r(90508);function d(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let f={push:"push",replace:"replace"};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76562,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return l.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return E},usePathname:function(){return b},useRouter:function(){return _},useSearchParams:function(){return y},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return R},useServerInsertedHTML:function(){return c.useServerInsertedHTML}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(90809)._(e.r(71645)),o=e.r(8372),s=e.r(61994),u=e.r(13258),c=e.r(13957),l=e.r(92838),d=e.r(92805),f="u"e?new s.ReadonlyURLSearchParams(e):null,[e])}function b(){return f?.("usePathname()"),(0,i.useContext)(s.PathnameContext)}function _(){let e=(0,i.useContext)(o.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function E(){return f?.("useParams()"),(0,i.useContext)(s.PathParamsContext)}function R(e="children"){f?.("useSelectedLayoutSegments()");let t=(0,i.useContext)(o.LayoutRouterContext);return t?(0,u.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function v(e="children"){f?.("useSelectedLayoutSegment()"),(0,i.useContext)(s.NavigationPromisesContext);let t=R(e);return(0,u.computeSelectedLayoutSegment)(t,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/.next/static/chunks/0812b12auw1ih.js b/.next/static/chunks/0812b12auw1ih.js deleted file mode 100644 index 2eb02f5..0000000 --- a/.next/static/chunks/0812b12auw1ih.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94909,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={default:function(){return c},getImageProps:function(){return a}};for(var o in s)Object.defineProperty(i,o,{enumerable:!0,get:s[o]});let r=t.r(55682),n=t.r(8927),l=t.r(5500),h=r._(t.r(1948));function a(t){let{props:e}=(0,n.getImgProps)(t,{defaultLoader:h.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let c=l.Image},57688,(t,e,i)=>{e.exports=t.r(94909)},92599,t=>{"use strict";var e="1.3.23";function i(t,e,i){return Math.max(t,Math.min(e,i))}var s=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let s=i(0,this.currentTime/this.duration,1),o=(e=s>=1)?1:this.easing(s);this.value=this.from+(this.to-this.from)*o}else if(this.lerp){var s,o,r,n;this.value=(s=this.value,o=this.to,r=60*this.lerp,(1-(n=1-Math.exp(-r*t)))*s+n*o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:s,easing:o,onStart:r,onUpdate:n}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,r?.(),this.onUpdate=n}},o=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(t,e,{autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(this,s)},e)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},r=class{events={};emit(t,...e){let i=this.events[t]||[];for(let t=0,s=i.length;t{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}};let n=100/6,l={passive:!1};function h(t,e){return 1===t?n:2===t?e:1}var a=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new r;constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,l),this.element.addEventListener("touchstart",this.onTouchStart,l),this.element.addEventListener("touchmove",this.onTouchMove,l),this.element.addEventListener("touchend",this.onTouchEnd,l)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,l),this.element.removeEventListener("touchstart",this.onTouchStart,l),this.element.removeEventListener("touchmove",this.onTouchMove,l),this.element.removeEventListener("touchend",this.onTouchEnd,l)}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.options.touchMultiplier,o=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t,o=h(s,this.window.width),r=h(s,this.window.height);e*=o,i*=r,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let c=t=>Math.min(1,1.001-2**(-10*t));var p=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new s;emitter=new r;dimensions;virtualScroll;constructor({wrapper:t=window,content:i=document.documentElement,eventsTarget:s=t,smoothWheel:r=!0,syncTouch:n=!1,syncTouchLerp:l=.075,touchInertiaExponent:h=1.7,duration:p,easing:d,lerp:u=.1,infinite:m=!1,orientation:v="vertical",gestureOrientation:f="horizontal"===v?"both":"vertical",touchMultiplier:g=1,wheelMultiplier:w=1,autoResize:S=!0,prevent:y,virtualScroll:E,overscroll:b=!0,autoRaf:T=!1,anchors:z=!1,autoToggle:L=!1,allowNestedScroll:N=!1,__experimental__naiveDimensions:R=!1,naiveDimensions:O=R,stopInertiaOnNavigate:_=!1}={}){window.lenisVersion=e,window.lenis||(window.lenis={}),window.lenis.version=e,"horizontal"===v&&(window.lenis.horizontal=!0),!0===n&&(window.lenis.touch=!0),t&&t!==document.documentElement||(t=window),"number"==typeof p&&"function"!=typeof d?d=c:"function"==typeof d&&"number"!=typeof p&&(p=1),this.options={wrapper:t,content:i,eventsTarget:s,smoothWheel:r,syncTouch:n,syncTouchLerp:l,touchInertiaExponent:h,duration:p,easing:d,lerp:u,infinite:m,gestureOrientation:f,orientation:v,touchMultiplier:g,wheelMultiplier:w,autoResize:S,prevent:y,virtualScroll:E,overscroll:b,autoRaf:T,anchors:z,autoToggle:L,allowNestedScroll:N,naiveDimensions:O,stopInertiaOnNavigate:_},this.dimensions=new o(t,i,{autoResize:S}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new a(s,{touchMultiplier:g,wheelMultiplier:w}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName?.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){let t=e.find(t=>i.host===t.host&&i.pathname===t.pathname&&t.hash);if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=`#${t.hash.split("#")[1]}`;this.scrollTo(i,e);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname))return void this.reset()};onPointerDown=t=>{1===t.button&&this.reset()};onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:i,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;let o=s.type.includes("touch"),r=s.type.includes("wheel");this.isTouching="touchstart"===s.type||"touchmove"===s.type;let n=0===e&&0===i;if(this.options.syncTouch&&o&&"touchstart"===s.type&&n&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===e;if(n||l)return;let h=s.composedPath();h=h.slice(0,h.indexOf(this.rootElement));let a=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(h.find(t=>t instanceof HTMLElement&&("function"==typeof a&&a?.(t)||t.hasAttribute?.("data-lenis-prevent")||"vertical"===c&&t.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===c&&t.hasAttribute?.("data-lenis-prevent-horizontal")||o&&t.hasAttribute?.("data-lenis-prevent-touch")||r&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(t,{deltaX:e,deltaY:i}))))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&r)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let p=i;"both"===this.options.gestureOrientation?p=Math.abs(i)>Math.abs(e)?i:e:"horizontal"===this.options.gestureOrientation&&(p=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();let d=o&&this.options.syncTouch,u=o&&"touchend"===s.type;u&&(p=Math.sign(p)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+p,{programmatic:!1,...d?{lerp:u?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:s=!1,lock:o=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:l=r?this.options.duration:void 0,easing:h=r?this.options.easing:void 0,onStart:a,onComplete:p,force:d=!1,userData:u}={}){if((this.isStopped||this.isLocked)&&!d)return;let m=t,v=e;if("string"==typeof m&&["top","left","start","#"].includes(m))m=0;else if("string"==typeof m&&["bottom","right","end"].includes(m))m=this.limit;else{let t=null;if("string"==typeof m?(t=document.querySelector(m))||("#top"===m?m=0:console.warn("Lenis: Target not found",m)):m instanceof HTMLElement&&m?.nodeType&&(t=m),t){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();v-=this.isHorizontal?t.left:t.top}let e=t.getBoundingClientRect(),i=getComputedStyle(t),s=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),o=getComputedStyle(this.rootElement),r=this.isHorizontal?Number.parseFloat(o.scrollPaddingLeft):Number.parseFloat(o.scrollPaddingTop);m=(this.isHorizontal?e.left:e.top)+this.animatedScroll-(Number.isNaN(s)?0:s)-(Number.isNaN(r)?0:r)}}if("number"==typeof m){if(m+=v,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;let t=m-this.animatedScroll;t>this.limit/2?m-=this.limit:t<-this.limit/2&&(m+=this.limit)}}else m=i(0,m,this.limit);if(m===this.targetScroll){a?.(this),p?.(this);return}if(this.userData=u??{},s){this.animatedScroll=this.targetScroll=m,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),p?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=m),"number"==typeof l&&"function"!=typeof h?h=c:"function"==typeof h&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,m,{duration:l,easing:h,lerp:n,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",a?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),r&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),p?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:i}){let s,o,r,n,l,h,a,c,p,d,u,m,v,f,g,w,S=Date.now();t._lenis||(t._lenis={});let y=t._lenis;if(S-(y.time??0)>2e3){y.time=Date.now();let e=window.getComputedStyle(t);if(y.computedStyle=e,s=["auto","overlay","scroll"].includes(e.overflowX),o=["auto","overlay","scroll"].includes(e.overflowY),l=["auto"].includes(e.overscrollBehaviorX),h=["auto"].includes(e.overscrollBehaviorY),y.hasOverflowX=s,y.hasOverflowY=o,!(s||o))return!1;a=t.scrollWidth,c=t.scrollHeight,p=t.clientWidth,d=t.clientHeight,r=a>p,n=c>d,y.isScrollableX=r,y.isScrollableY=n,y.scrollWidth=a,y.scrollHeight=c,y.clientWidth=p,y.clientHeight=d,y.hasOverscrollBehaviorX=l,y.hasOverscrollBehaviorY=h}else r=y.isScrollableX,n=y.isScrollableY,s=y.hasOverflowX,o=y.hasOverflowY,a=y.scrollWidth,c=y.scrollHeight,p=y.clientWidth,d=y.clientHeight,l=y.hasOverscrollBehaviorX,h=y.hasOverscrollBehaviorY;if(!(s&&r||o&&n))return!1;let E=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===E)u=Math.round(t.scrollLeft),m=a-p,v=e,f=s,g=r,w=l;else{if("vertical"!==E)return!1;u=Math.round(t.scrollTop),m=c-d,v=i,f=o,g=n,w=h}return!w&&(u>=m||u<=0)||(v>0?u0)&&f&&g}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(let t of Array.from(this.rootElement.classList))("lenis"===t||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}};t.s(["default",0,p])}]); \ No newline at end of file diff --git a/.next/static/chunks/098a0lm-b~rn..js b/.next/static/chunks/098a0lm-b~rn..js deleted file mode 100644 index bcac4a3..0000000 --- a/.next/static/chunks/098a0lm-b~rn..js +++ /dev/null @@ -1,31 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35451,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var a=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?a=n.concat(a):c=-1,a.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=a.length;t;){for(n=a,a=[];++c1)for(var r=1;r{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(35451)},45689,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},43476,(e,t,r)=>{"use strict";t.exports=e.r(45689)},50740,(e,t,r)=>{"use strict";var n=e.i(47167),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),_=Symbol.iterator,b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function x(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||b}function S(){}function O(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=x.prototype;var j=O.prototype=new S;j.constructor=O,v(j,x.prototype),j.isPureReactComponent=!0;var E=Array.isArray;function T(){}var R={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function P(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var M=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function H(e,t,r){if(null==e)return e;var n=[],u=0;return!function e(t,r,n,u,s){var a,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case i:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,u,s)}}if(d)return s=s(t),d=""===u?"."+C(t,0):u,E(s)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(A(s)&&(a=s,l=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(M,"$&/")+"/")+d,s=P(a.type,l,a.props)),r.push(s)),1;d=0;var p=""===u?".":u+":";if(E(t))for(var g=0;g{"use strict";t.exports=e.r(50740)},18800,(e,t,r)=>{"use strict";var n=e.r(71645);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(18800)},55682,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},90317,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class u{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return s?new s:new u}function l(e){return s?s.bind(e):u.bind(e)}function c(){return s?s.snapshot():function(e,...t){return e(...t)}}},43369,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var o={getAssetToken:function(){return a},getAssetTokenQuery:function(){return l},getDeploymentId:function(){return u},getDeploymentIdQuery:function(){return s}};for(var i in o)Object.defineProperty(r,i,{enumerable:!0,get:o[i]});function u(){return n}function s(e=!1){let t=n;return t?`${e?"&":"?"}dpl=${t}`:""}function a(){return!1}function l(e=!1){return""}"u">typeof window?(n=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId):n=void 0},42344,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(42344)},32061,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return u},isBailoutToCSRError:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i="BAILOUT_TO_CLIENT_SIDE_RENDERING";class u extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=i}}function s(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===i}},12354,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return i}});let n=e.r(71645),o=e.r(61994);function i(){return!function(){if("u"0}}return!1}()?(0,n.useContext)(o.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78377,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return u},useNavFailureHandler:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(71645);let i=e.r(51191);function u(e){return!!(e&&"u">typeof window)&&!!window.next.__pendingUrl&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==(0,i.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function s(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72383,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return g},ErrorBoundaryHandler:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),u=e.r(43476),s=i._(e.r(71645)),a=e.r(90373),l=e.r(65713);e.r(78377);let c=e.r(12354),f=e.r(82604),d=e.r(8372),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class y extends s.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.unstable_retry=()=>{(0,s.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,l.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error&&!p?((0,c.handleISRError)({error:this.state.error}),(0,u.jsxs)(u.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,u.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset,unstable_retry:this.unstable_retry})]})):this.props.children}}function g({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let o=(0,a.useUntrackedPathname)();return e?(0,u.jsx)(y,{pathname:o,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,u.jsx)(u.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),u=e.r(43476),s=i._(e.r(71645)),a=e.r(76562),l=e.r(24063),c=e.r(68391);function f({redirect:e,reset:t,redirectType:r}){let n=(0,a.useRouter)();return(0,s.useEffect)(()=>{s.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends s.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,l.getURLFromRedirectError)(e),r=(0,l.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,u.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,a.useRouter)();return(0,u.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70725,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=e.r(13258);function o(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return s},OutletBoundary:function(){return l},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(54839),u={[i.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[i.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[i.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[i.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},s=u[i.METADATA_BOUNDARY_NAME.slice(0)],a=u[i.VIEWPORT_BOUNDARY_NAME.slice(0)],l=u[i.OUTLET_BOUNDARY_NAME.slice(0)],c=u[i.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},42732,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext({})},18576,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={WarningIcon:function(){return a},errorStyles:function(){return u},errorThemeCss:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(55682);let i=e.r(43476);e.r(71645);let u={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=` -:root { - --next-error-bg: #fff; - --next-error-text: #171717; - --next-error-title: #171717; - --next-error-message: #171717; - --next-error-digest: #666666; - --next-error-btn-text: #fff; - --next-error-btn-bg: #171717; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #171717; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); -} -@media (prefers-color-scheme: dark) { - :root { - --next-error-bg: #0a0a0a; - --next-error-text: #ededed; - --next-error-title: #ededed; - --next-error-message: #ededed; - --next-error-digest: #a0a0a0; - --next-error-btn-text: #0a0a0a; - --next-error-btn-bg: #ededed; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #ededed; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); - } -} -body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } -`.replace(/\n\s*/g,"");function a(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:u.icon,children:(0,i.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}}),e.r(55682);let n=e.r(43476);e.r(71645);let o=e.r(12354),i=e.r(18576),u=function({error:e}){let t=e?.digest,r=!!t;return(0,o.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:i.errorStyles.container,children:(0,n.jsxs)("div",{style:i.errorStyles.card,children:[(0,n.jsx)(i.WarningIcon,{}),(0,n.jsx)("h1",{style:i.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:i.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:i.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/.next/static/chunks/0_54tjq7o59~u.js b/.next/static/chunks/0_54tjq7o59~u.js deleted file mode 100644 index dbeea5c..0000000 --- a/.next/static/chunks/0_54tjq7o59~u.js +++ /dev/null @@ -1,114 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31497,e=>{"use strict";let t=parseInt(e.i(90072).REVISION.replace(/\D+/g,""));e.s(["version",0,t])},43257,e=>{"use strict";let t;var r=e.i(31067),n=e.i(71645),a=e.i(28600),i=e.i(25234),s=e.i(44208),o=e.i(24205),l=e.i(67335),A=e.i(90072),u=A,c=e.i(31497);class h extends u.Mesh{constructor(e,t){var r,n;const a=(e=>e&&e.isCubeTexture)(e),i=Math.floor(Math.log2((null!=(n=a?null==(r=e.image[0])?void 0:r.width:e.image.width)?n:1024)/4)),s=Math.pow(2,i),o=3*Math.max(s,112),l=` - varying vec3 vWorldPosition; - void main() - { - vec4 worldPosition = ( modelMatrix * vec4( position, 1.0 ) ); - vWorldPosition = worldPosition.xyz; - - gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); - } - `,A=[a?"#define ENVMAP_TYPE_CUBE":"",`#define CUBEUV_TEXEL_WIDTH ${1/o}`,`#define CUBEUV_TEXEL_HEIGHT ${1/(4*s)}`,`#define CUBEUV_MAX_MIP ${i}.0`].join("\n")+` - #define ENVMAP_TYPE_CUBE_UV - varying vec3 vWorldPosition; - uniform float radius; - uniform float height; - uniform float angle; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube map; - #else - uniform sampler2D map; - #endif - // From: https://www.shadertoy.com/view/4tsBD7 - float diskIntersectWithBackFaceCulling( vec3 ro, vec3 rd, vec3 c, vec3 n, float r ) - { - float d = dot ( rd, n ); - - if( d > 0.0 ) { return 1e6; } - - vec3 o = ro - c; - float t = - dot( n, o ) / d; - vec3 q = o + rd * t; - - return ( dot( q, q ) < r * r ) ? t : 1e6; - } - // From: https://www.iquilezles.org/www/articles/intersectors/intersectors.htm - float sphereIntersect( vec3 ro, vec3 rd, vec3 ce, float ra ) - { - vec3 oc = ro - ce; - float b = dot( oc, rd ); - float c = dot( oc, oc ) - ra * ra; - float h = b * b - c; - - if( h < 0.0 ) { return -1.0; } - - h = sqrt( h ); - - return - b + h; - } - vec3 project() - { - vec3 p = normalize( vWorldPosition ); - vec3 camPos = cameraPosition; - camPos.y -= height; - float intersection = sphereIntersect( camPos, p, vec3( 0.0 ), radius ); - if( intersection > 0.0 ) { - - vec3 h = vec3( 0.0, - height, 0.0 ); - float intersection2 = diskIntersectWithBackFaceCulling( camPos, p, h, vec3( 0.0, 1.0, 0.0 ), radius ); - p = ( camPos + min( intersection, intersection2 ) * p ) / radius; - } else { - p = vec3( 0.0, 1.0, 0.0 ); - } - return p; - } - #include - #include - void main() - { - vec3 projectedWorldPosition = project(); - - #ifdef ENVMAP_TYPE_CUBE - vec3 outcolor = textureCube( map, projectedWorldPosition ).rgb; - #else - vec3 direction = normalize( projectedWorldPosition ); - vec2 uv = equirectUv( direction ); - vec3 outcolor = texture2D( map, uv ).rgb; - #endif - gl_FragColor = vec4( outcolor, 1.0 ); - #include - #include <${c.version>=154?"colorspace_fragment":"encodings_fragment"}> - } - `,h={map:{value:e},height:{value:(null==t?void 0:t.height)||15},radius:{value:(null==t?void 0:t.radius)||100}};super(new u.IcosahedronGeometry(1,16),new u.ShaderMaterial({uniforms:h,fragmentShader:A,vertexShader:l,side:u.DoubleSide}))}set radius(e){this.material.uniforms.radius.value=e}get radius(){return this.material.uniforms.radius.value}set height(e){this.material.uniforms.height.value=e}get height(){return this.material.uniforms.height.value}}var d=e.i(60602),f=A;class B extends f.DataTextureLoader{constructor(e){super(e),this.type=f.HalfFloatType}parse(e){let t,r,n,a=function(e,t){switch(e){case 1:throw Error("THREE.RGBELoader: Read Error: "+(t||""));case 2:throw Error("THREE.RGBELoader: Write Error: "+(t||""));case 3:throw Error("THREE.RGBELoader: Bad File Format: "+(t||""));default:throw Error("THREE.RGBELoader: Memory Error: "+(t||""))}},i=function(e,t,r){t=t||1024;let n=e.pos,a=-1,i=0,s="",o=String.fromCharCode.apply(null,new Uint16Array(e.subarray(n,n+128)));for(;0>(a=o.indexOf("\n"))&&i=e.byteLength)&&(t=i(e))||a(1,"no header found"),(r=t.match(/^#\?(\S+)/))||a(3,"bad initial token"),A.valid|=1,A.programtype=r[1],A.string+=t+"\n";!1!==(t=i(e));){if(A.string+=t+"\n","#"===t.charAt(0)){A.comments+=t+"\n";continue}if((r=t.match(n))&&(A.gamma=parseFloat(r[1])),(r=t.match(s))&&(A.exposure=parseFloat(r[1])),(r=t.match(o))&&(A.valid|=2,A.format=r[1]),(r=t.match(l))&&(A.valid|=4,A.height=parseInt(r[1],10),A.width=parseInt(r[2],10)),2&A.valid&&4&A.valid)break}return 2&A.valid||a(3,"missing format specifier"),4&A.valid||a(3,"missing image size specifier"),A}(s),l=o.width,A=o.height,u=function(e,t,r){if(t<8||t>32767||2!==e[0]||2!==e[1]||128&e[2])return new Uint8Array(e);t!==(e[2]<<8|e[3])&&a(3,"wrong scanline width");let n=new Uint8Array(4*t*r);n.length||a(4,"unable to allocate buffer space");let i=0,s=0,o=4*t,l=new Uint8Array(4),A=new Uint8Array(o),u=r;for(;u>0&&se.byteLength&&a(1),l[0]=e[s++],l[1]=e[s++],l[2]=e[s++],l[3]=e[s++],(2!=l[0]||2!=l[1]||(l[2]<<8|l[3])!=t)&&a(3,"bad rgbe scanline format");let r=0,c;for(;r128;if(t&&(c-=128),(0===c||r+c>o)&&a(3,"bad scanline data"),t){let t=e[s++];for(let e=0;e>>1|(21845&x)<<1;J=(61680&(J=(52428&J)>>>2|(13107&J)<<2))>>>4|(3855&J)<<4,H[x]=((65280&J)>>>8|(255&J)<<8)>>>1}for(var L=function(e,t,r){for(var n,a=e.length,i=0,s=new M(t);i>>l]=A}else for(i=0,n=new M(a);i>>15-e[i]);return n},S=new g(288),x=0;x<144;++x)S[x]=8;for(var x=144;x<256;++x)S[x]=9;for(var x=256;x<280;++x)S[x]=7;for(var x=280;x<288;++x)S[x]=8;for(var U=new g(32),x=0;x<32;++x)U[x]=5;var O=L(S,9,0),P=L(S,9,1),_=L(U,5,0),K=L(U,5,1),k=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},N=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},Q=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},X=function(e){return(e/8|0)+(7&e&&1)},j=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof M?M:e instanceof v?v:g)(r-t);return n.set(e.subarray(t,r)),n},Y=function(e,t,r){var n=e.length;if(!n||r&&!r.l&&n<5)return t||new g(0);var a=!t||r,i=!r||r.i;r||(r={}),t||(t=new g(3*n));var s=function(e){var r=t.length;if(e>r){var n=new g(Math.max(2*r,e));n.set(t),t=n}},o=r.f||0,l=r.p||0,A=r.b||0,u=r.l,c=r.d,h=r.m,d=r.n,f=8*n;do{if(!u){r.f=o=N(e,l,1);var B=N(e,l+1,3);if(l+=3,B)if(1==B)u=P,c=K,h=9,d=5;else if(2==B){var p=N(e,l,31)+257,C=N(e,l+10,15)+4,m=p+N(e,l+5,31)+1;l+=14;for(var M=new g(m),v=new g(19),I=0;I>>4;if(H<16)M[I++]=H;else{var x=0,J=0;for(16==H?(J=3+N(e,l,3),l+=2,x=M[I-1]):17==H?(J=3+N(e,l,7),l+=3):18==H&&(J=11+N(e,l,127),l+=7);J--;)M[I++]=x}}var S=M.subarray(0,p),U=M.subarray(p);h=k(S),d=k(U),u=L(S,h,1),c=L(U,d,1)}else throw"invalid block type";else{var H=X(l)+4,O=e[H-4]|e[H-3]<<8,_=H+O;if(_>n){if(i)throw"unexpected EOF";break}a&&s(A+O),t.set(e.subarray(H,_),A),r.b=A+=O,r.p=l=8*_;continue}if(l>f){if(i)throw"unexpected EOF";break}}a&&s(A+131072);for(var Y=(1<>>4;if((l+=15&x)>f){if(i)throw"unexpected EOF";break}if(!x)throw"invalid length/literal";if(V<256)t[A++]=V;else if(256==V){Z=l,u=null;break}else{var z=V-254;if(V>264){var I=V-257,q=F[I];z=N(e,l,(1<>>4;if(!$)throw"invalid distance";l+=15&$;var U=T[ee];if(ee>3){var q=E[ee];U+=Q(e,l)&(1<f){if(i)throw"unexpected EOF";break}a&&s(A+131072);for(var et=A+z;A>>8},Z=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},V=function(e,t){for(var r=[],n=0;nh&&(h=i[n].s);var d=new M(h+1),f=z(r[u-1],d,0);if(f>t){var n=0,B=0,p=f-t,C=1<t)B+=C-(1<>>=p;B>0;){var v=i[n].s;d[v]=0&&B;--n){var F=i[n].s;d[F]==t&&(--d[F],++B)}f=t}return[new g(d),f]},z=function(e,t,r){return -1==e.s?Math.max(z(e.l,t,r+1),z(e.r,t,r+1)):t[e.s]=r},q=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new M(++t),n=0,a=e[0],i=1,s=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==a&&o!=t)++i;else{if(!a&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(a),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(a);i=1,a=e[o]}return[r.subarray(0,n),t]},$=function(e,t){for(var r=0,n=0;n>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var i=0;i4&&!J[y[K-1]];--K);var k=A+5<<3,N=$(a,S)+$(i,U)+s,Q=$(a,p)+$(i,g)+s+14+3*K+$(w,J)+(2*w[16]+3*w[17]+7*w[18]);if(k<=N&&k<=Q)return ee(t,u,e.subarray(l,l+A));if(W(t,u,1+(Q15&&(W(t,u,z[H]>>>5&127),u+=z[H]>>>12)}}else c=O,h=S,d=_,f=U;for(var H=0;H255){var et=n[H]>>>18&31;Z(t,u,c[et+257]),u+=h[et+257],et>7&&(W(t,u,n[H]>>>23&31),u+=F[et]);var er=31&n[H];Z(t,u,d[er]),u+=f[er],er>3&&(Z(t,u,n[H]>>>5&8191),u+=E[er])}else Z(t,u,c[n[H]]),u+=h[n[H]];return Z(t,u,c[256]),u+h[256]},er=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),en=new g(0),ea=function(e,t,r,n,a,i){var s=e.length,o=new g(n+s+5*(1+Math.ceil(s/7e3))+a),l=o.subarray(n,o.length-a),A=0;if(!t||s<8)for(var u=0;u<=s;u+=65535){var c=u+65535;c>>13,f=8191&h,B=(1<7e3||x>24576)&&P>423){A=et(e,l,0,G,R,D,H,x,L,u-L,A),x=T=H=0,L=u;for(var _=0;_<286;++_)R[_]=0;for(var _=0;_<30;++_)D[_]=0}var K=2,k=0,N=f,Q=U-O&32767;if(P>2&&S==I(u-Q))for(var Y=Math.min(d,P)-1,W=Math.min(32767,u),Z=Math.min(258,P);Q<=W&&--N&&U!=O;){if(e[u+K]==e[u+K-Q]){for(var V=0;VK){if(K=V,k=Q,V>Y)break;for(var z=Math.min(Q,V-2),q=0,_=0;_q&&(q=ei,O=$)}}}O=p[U=O],Q+=U-O+32768&32767}if(k){G[x++]=0x10000000|b[K]<<18|w[k];var es=31&b[K],eo=31&w[k];H+=F[es]+E[eo],++R[257+es],++D[eo],J=u+K,++T}else G[x++]=e[u],++R[e[u]]}}A=et(e,l,i,G,R,D,H,x,L,u-L,A),!i&&7&A&&(A=ee(l,A+1,en))}return j(o,0,n+X(A)+a)},ei=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-0x12477ce0)^r>>>1;e[t]=r}return e}(),es=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n>>8;e=r},d:function(){return~e}}},eo=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,i=r.length,s=0;s!=i;){for(var o=Math.min(s+2655,i);s>16),a=(65535&a)+15*(a>>16)}e=n,t=a},d:function(){return e%=65521,t%=65521,(255&e)<<24|e>>>8<<16|(255&t)<<8|t>>>8}}},el=function(e,t,r,n,a){return ea(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)},eA=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},eu=function(e,t,r){for(var n=e(),a=e.toString(),i=a.slice(a.indexOf("[")+1,a.lastIndexOf("]")).replace(/ /g,"").split(","),s=0;s>>0},ey=function(e,t){return eE(e,t)+0x100000000*eE(e,t+4)},eI=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},eG=function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:2*(9==t.level),e[9]=3,0!=t.mtime&&eI(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}},eR=function(e){if(31!=e[0]||139!=e[1]||8!=e[2])throw"invalid gzip data";var t=e[3],r=10;4&t&&(r+=e[10]|(e[11]<<8)+2);for(var n=(t>>3&1)+(t>>4&1);n>0;n-=!e[r++]);return r+(2&t)},eb=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},eD=function(e){return 10+(e.filename&&e.filename.length+1||0)},eT=function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)},ew=function(e){if((15&e[0])!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function eH(e,t){return t||"function"!=typeof e||(t=e,e={}),this.ondata=t,e}var ex=function(){function e(e,t){t||"function"!=typeof e||(t=e,e={}),this.ondata=t,this.o=e||{}}return e.prototype.p=function(e,t){this.ondata(el(e,this.o,0,0,!t),t)},e.prototype.push=function(e,t){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=t,this.p(e,t||!1)},e}(),eJ=function(e,t){ev([eB,function(){return[eM,ex]}],this,eH.call(this,e,t),function(e){onmessage=eM(new ex(e.data))},6)};function eL(e,t){return el(e,t||{},0,0)}var eS=function(){function e(e){this.s={},this.p=new g(0),this.ondata=e}return e.prototype.e=function(e){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var t=this.p.length,r=new g(t+e.length);r.set(this.p),r.set(e,t),this.p=r},e.prototype.c=function(e){this.d=this.s.i=e||!1;var t=this.s.b,r=Y(this.p,this.o,this.s);this.ondata(j(r,t,this.s.b),this.d),this.o=j(r,this.s.b-32768),this.s.b=this.o.length,this.p=j(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(e,t){this.e(e),this.c(t)},e}(),eU=function(e){this.ondata=e,ev([ef,function(){return[eM,eS]}],this,0,function(){onmessage=eM(new eS)},7)};function eO(e,t){return Y(e,t)}(function(){function e(e,t){this.c=es(),this.l=0,this.v=1,ex.call(this,e,t)}e.prototype.push=function(e,t){ex.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){this.c.p(e),this.l+=e.length;var r=el(e,this.o,this.v&&eD(this.o),t&&8,!t);this.v&&(eG(r,this.o),this.v=0),t&&(eI(r,r.length-8,this.c.d()),eI(r,r.length-4,this.l)),this.ondata(r,t)}})();var eP=function(){function e(e){this.v=1,eS.call(this,e)}return e.prototype.push=function(e,t){if(eS.prototype.e.call(this,e),this.v){var r=this.p.length>3?eR(this.p):4;if(r>=this.p.length&&!t)return;this.p=this.p.subarray(r),this.v=0}if(t){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}eS.prototype.c.call(this,t)},e}(),e_=function(e){this.ondata=e,ev([ef,ep,function(){return[eM,eS,eP]}],this,0,function(){onmessage=eM(new eP)},9)},eK=(function(){function e(e,t){this.c=eo(),this.v=1,ex.call(this,e,t)}e.prototype.push=function(e,t){ex.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){this.c.p(e);var r=el(e,this.o,this.v&&2,t&&4,!t);this.v&&(eT(r,this.o),this.v=0),t&&eI(r,r.length-4,this.c.d()),this.ondata(r,t)}}(),function(){function e(e){this.v=1,eS.call(this,e)}return e.prototype.push=function(e,t){if(eS.prototype.e.call(this,e),this.v){if(this.p.length<2&&!t)return;this.p=this.p.subarray(2),this.v=0}if(t){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}eS.prototype.c.call(this,t)},e}()),ek=function(e){this.ondata=e,ev([ef,eC,function(){return[eM,eS,eK]}],this,0,function(){onmessage=eM(new eK)},11)};function eN(e,t){return Y((ew(e),e.subarray(2,-4)),t)}var eQ=function(){function e(e){this.G=eP,this.I=eS,this.Z=eK,this.ondata=e}return e.prototype.push=function(e,t){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(e,t);else{if(this.p&&this.p.length){var r=new g(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length)}else this.p=e;if(this.p.length>2){var n=this,a=function(){n.ondata.apply(n,arguments)};this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(a):(15&this.p[0])!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(a):new this.Z(a),this.s.push(this.p,t),this.p=null}}},e}();(function(e){this.G=e_,this.I=eU,this.Z=ek,this.ondata=e}).prototype.push=function(e,t){eQ.prototype.push.call(this,e,t)};var eX="u">typeof TextEncoder&&new TextEncoder,ej="u">typeof TextDecoder&&new TextDecoder,eY=0;try{ej.decode(en,{stream:!0}),eY=1}catch(e){}var eW=function(e){for(var t="",r=0;;){var n=e[r++],a=(n>127)+(n>223)+(n>239);if(r+a>e.length)return[t,j(e,r-1)];a?3==a?t+=String.fromCharCode(55296|(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536)>>10,56320|1023&n):1&a?t+=String.fromCharCode((31&n)<<6|63&e[r++]):t+=String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}};function eZ(e,t){if(t){for(var r=new g(e.length),n=0;n>1)),s=0,o=function(e){i[s++]=e},n=0;ni.length){var l=new g(s+8+(a-n<<1));l.set(i),i=l}var A=e.charCodeAt(n);A<128||t?o(A):(A<2048?o(192|A>>6):(A>55295&&A<57344?(o(240|(A=65536+(1047552&A)|1023&e.charCodeAt(++n))>>18),o(128|A>>12&63)):o(224|A>>12),o(128|A>>6&63)),o(128|63&A))}return j(i,0,s)}(function(e){this.ondata=e,eY?this.t=new TextDecoder:this.p=en}).prototype.push=function(e,t){if(!this.ondata)throw"no callback";if(t=!!t,this.t){if(this.ondata(this.t.decode(e,{stream:!0}),t),t){if(this.t.decode().length)throw"invalid utf-8 data";this.t=null}return}if(!this.p)throw"stream finished";var r=new g(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length);var n=eW(r),a=n[0],i=n[1];if(t){if(i.length)throw"invalid utf-8 data";this.p=null}else this.p=i;this.ondata(a,t)},(function(e){this.ondata=e}).prototype.push=function(e,t){if(!this.ondata)throw"no callback";if(this.d)throw"stream finished";this.ondata(eZ(e),this.d=t||!1)};var eV=function(e){return 1==e?3:e<6?2:+(9==e)},ez=function(e,t){for(;1!=eF(e,t);t+=4+eF(e,t+2));return[ey(e,t+12),ey(e,t+4),ey(e,t+20)]},eq=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;if(n>65535)throw"extra field too long";t+=n+4}return t},e$=function(e,t,r,n,a,i,s,o){var l=n.length,A=r.extra,u=o&&o.length,c=eq(A);eI(e,t,null!=s?0x2014b50:0x4034b50),t+=4,null!=s&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(null==i&&8),e[t++]=a&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var h=new Date(null==r.mtime?Date.now():r.mtime),d=h.getFullYear()-1980;if(d<0||d>119)throw"date not in range 1980-2099";if(eI(e,t,d<<25|h.getMonth()+1<<21|h.getDate()<<16|h.getHours()<<11|h.getMinutes()<<5|h.getSeconds()>>>1),t+=4,null!=i&&(eI(e,t,r.crc),eI(e,t+4,i),eI(e,t+8,r.size)),eI(e,t+12,l),eI(e,t+14,c),t+=16,null!=s&&(eI(e,t,u),eI(e,t+6,r.attrs),eI(e,t+10,s),t+=14),e.set(n,t),t+=l,c)for(var f in A){var B=A[f],p=B.length;eI(e,t,+f),eI(e,t+2,p),e.set(B,t+4),t+=4+p}return u&&(e.set(o,t),t+=u),t},e0=function(e,t,r,n,a){eI(e,t,0x6054b50),eI(e,t+8,r),eI(e,t+10,r),eI(e,t+12,n),eI(e,t+16,a)},e1=function(){function e(e){this.filename=e,this.c=es(),this.size=0,this.compression=0}return e.prototype.process=function(e,t){this.ondata(null,e,t)},e.prototype.push=function(e,t){if(!this.ondata)throw"no callback - add to ZIP archive before pushing";this.c.p(e),this.size+=e.length,t&&(this.crc=this.c.d()),this.process(e,t||!1)},e}();function e9(e,t){var r=this;t||(t={}),e1.call(this,e),this.d=new ex(t,function(e,t){r.ondata(null,e,t)}),this.compression=8,this.flag=eV(t.level)}function e2(e,t){var r=this;t||(t={}),e1.call(this,e),this.d=new eJ(t,function(e,t,n){r.ondata(e,t,n)}),this.compression=8,this.flag=eV(t.level),this.terminate=this.d.terminate}function e8(e){this.ondata=e,this.u=[],this.d=1}e9.prototype.process=function(e,t){try{this.d.push(e,t)}catch(e){this.ondata(e,null,t)}},e9.prototype.push=function(e,t){e1.prototype.push.call(this,e,t)},e2.prototype.process=function(e,t){this.d.push(e,t)},e2.prototype.push=function(e,t){e1.prototype.push.call(this,e,t)},e8.prototype.add=function(e){var t=this;if(2&this.d)throw"stream finished";var r=eZ(e.filename),n=r.length,a=e.comment,i=a&&eZ(a),s=n!=e.filename.length||i&&a.length!=i.length,o=n+eq(e.extra)+30;if(n>65535)throw"filename too long";var l=new g(o);e$(l,0,e,r,s);var A=[l],u=function(){for(var e=0,r=A;e0){var n=Math.min(this.c,e.length),a=e.subarray(0,n);if(this.c-=n,this.d?this.d.push(a,!this.c):this.k[0].push(a),(e=e.subarray(n)).length)return this.push(e,t)}else{var i=0,s=0,o=void 0,l=void 0;this.p.length?e.length?((l=new g(this.p.length+e.length)).set(this.p),l.set(e,this.p.length)):l=this.p:l=e;for(var A=l.length,u=this.c,c=u&&this.d,h=this;ss+30+c+d){var f,B,p=[];h.k.unshift(p),i=2;var C=eE(l,s+18),m=eE(l,s+22),g=function(e,t){if(t){for(var r="",n=0;n=0&&(M.size=C,M.originalSize=m),h.onfile(M)}return"break"}if(u){if(0x8074b50==e)return o=s+=12+(-2==u&&8),i=3,h.c=0,"break";else if(0x2014b50==e)return o=s-=4,i=3,h.c=0,"break"}}();++s);if(this.p=en,u<0){var d=i?l.subarray(0,o-12-(-2==u&&8)-(0x8074b50==eE(l,o-16)&&4)):l.subarray(0,s);c?c.push(d,!!i):this.k[+(2==i)].push(d)}if(2&i)return this.push(l.subarray(s),t);this.p=l.subarray(s)}if(t){if(this.c)throw"invalid zip file";this.p=null}},e5.prototype.register=function(e){this.o[e.compression]=e};let e7=c.version>=152;class te extends p.DataTextureLoader{constructor(e){super(e),this.type=p.HalfFloatType}parse(e){let t={l:0,c:0,lc:0};function r(e,r,n,a,i){for(;n>(n-=e)&(1<>(n-=8),d=new Uint8Array([d])[0];if(c.value+d>h)return!1;for(var f=u[c.value-1];d-- >0;)u[c.value++]=f}else{if(!(c.value32767?t-65536:t}let A={a:0,b:0};function u(e,t){var r=l(e),n=l(t),a=r+(1&n)+(n>>1),i=a-n;A.a=a,A.b=i}function c(e,t){var r=65535&t,n=(65535&e)-(r>>1)&65535;A.a=r+n-32768&65535,A.b=n}function h(e,l,A,u,c,h){var d=A.value,f=I(l,A),B=I(l,A);A.value+=4;var p=I(l,A);if(A.value+=4,f<0||f>=65537||B<0||B>=65537)throw"Something wrong with HUF_ENCSIZE";for(var C=Array(65537),m=Array(16384),g=0;g<16384;g++)m[g]={},m[g].len=0,m[g].lit=0,m[g].p=null;var M=u-(A.value-d);if(!function(e,a,i,s,o,l){for(var A=0,u=0;s<=o;s++){if(a.value-a.value>i)return!1;r(6,A,u,e,a);var c=t.l;if(A=t.c,u=t.lc,l[s]=c,63==c){if(a.value-a.value>i)throw"Something wrong with hufUnpackEncTable";r(8,A,u,e,a);var h=t.l+6;if(A=t.c,u=t.lc,s+h>o+1)throw"Something wrong with hufUnpackEncTable";for(;h--;)l[s++]=0;s--}else if(c>=59){var h=c-59+2;if(s+h>o+1)throw"Something wrong with hufUnpackEncTable";for(;h--;)l[s++]=0;s--}}!function(e){for(var t=0;t<=58;++t)n[t]=0;for(var t=0;t<65537;++t)n[e[t]]+=1;for(var r=0,t=58;t>0;--t){var a=r+n[t]>>1;n[t]=r,r=a}for(var t=0;t<65537;++t){var i=e[t];i>0&&(e[t]=i|n[i]++<<6)}}(l)}(e,A,M,f,B,C),p>8*(u-(A.value-d)))throw"Something wrong with hufUncompress";!function(e,t,r,n){for(;t<=r;t++){var a=e[t]>>6,i=63&e[t];if(a>>i)throw"Invalid table entry";if(i>14){var s=n[a>>i-14];if(s.len)throw"Invalid table entry";if(s.lit++,s.p){var o=s.p;s.p=Array(s.lit);for(var l=0;l0;l--){var s=n[(a<<14-i)+A];if(s.len||s.p)throw"Invalid table entry";s.len=i,s.lit=t,A++}}}(C,f,B,m),function(e,t,r,n,l,A,u,c,h,d){for(var f=0,B=0,p=Math.trunc(l.value+(A+7)/8);l.value=14;){var C=t[f>>B-14&16383];if(C.len)B-=C.len,o(C.lit,u,f,B,r,n,l,h,d,c),f=s.c,B=s.lc;else{if(!C.p)throw"hufDecode issues";for(m=0;m=g&&e[C.p[m]]>>6==(f>>B-g&(1<>=M,B-=M;B>0;){var C=t[f<<14-B&16383];if(C.len)B-=C.len,o(C.lit,u,f,B,r,n,l,h,d,c),f=s.c,B=s.lc;else throw"hufDecode issues"}}(C,m,e,l,A,p,B,h,c,{value:0})}function d(e){for(var t=1;ti)&&(t[a++]=e[r++],!(a>i));){;t[a++]=e[n++]}}function B(e){for(var t=e.byteLength,r=[],n=0,a=new DataView(e);t>0;){var i=a.getInt8(n++);if(i<0){var s=-i;t-=s+1;for(var o=0;o=8192)throw"Something is wrong with PIZ_COMPRESSION BITMAP_SIZE";if(l<=d)for(var o=0;o>3]&1<<(7&n))&&(t[r++]=n);for(var a=r-1;r<65536;)t[r++]=0;return a}(a,f),p=I(t,r);h(e.array,t,r,p,n,i);for(var o=0;oa?a:r,h=1;h<=l;)h<<=1;for(h>>=1,d=h,h>>=1;h>=1;){for(var d,f,B,p,C,m=0,g=0+i*(a-d),M=i*h,v=i*d,F=n*h,E=n*d;m<=g;m+=v){for(var y=m,I=m+n*(r-d);y<=I;y+=E){var G=y+F,R=y+M,b=R+F;o?(u(e[y+t],e[R+t]),f=A.a,p=A.b,u(e[G+t],e[b+t]),B=A.a,C=A.b,u(f,B),e[y+t]=A.a,e[G+t]=A.b,u(p,C)):(c(e[y+t],e[R+t]),f=A.a,p=A.b,c(e[G+t],e[b+t]),B=A.a,C=A.b,c(f,B),e[y+t]=A.a,e[G+t]=A.b,c(p,C)),e[R+t]=A.a,e[b+t]=A.b}if(r&h){var R=y+M;o?u(e[y+t],e[R+t]):c(e[y+t],e[R+t]),f=A.a,e[R+t]=A.b,e[y+t]=f}}if(a&h)for(var y=m,I=m+n*(r-d);y<=I;y+=E){var G=y+F;o?u(e[y+t],e[G+t]):c(e[y+t],e[G+t]),f=A.a,e[G+t]=A.b,e[y+t]=f}d=h,h>>=1}}(n,C.start+m,C.nx,C.size,C.ny,C.nx*C.size,B);for(var g=i,M=0;M0;){var o=E(t.buffer,r),l=R(t,r),A=l>>2&3,u=new Int8Array([(l>>4)-1])[0],c=R(t,r);i.push({name:o,index:u,type:c,compression:A}),s-=o.length+3}for(var d=U.channels,f=Array(e.channels),C=0;C=0&&(v.idx[y.index]=F),m.offset=F)}if(a.acCompressedSize>0)switch(a.acCompression){case 0:var I=new Uint16Array(a.totalAcUncompressedCount);h(e.array,t,r,a.acCompressedSize,I,a.totalAcUncompressedCount);break;case 1:var G=e.array.slice(r.value,r.value+a.totalAcUncompressedCount),D=eN(G),I=new Uint16Array(D.buffer);r.value+=a.totalAcUncompressedCount}if(a.dcCompressedSize>0){var T=new Uint16Array(g({array:e.array,offset:r,size:a.dcCompressedSize}).buffer);r.value+=a.dcCompressedSize}if(a.rleRawSize>0){var G=e.array.slice(r.value,r.value+a.rleCompressedSize),D=eN(G),x=B(D.buffer);r.value+=a.rleCompressedSize}for(var J=0,L=Array(f.length),C=0;C>8==255?a+=255&n:(r[a]=n,a++),e.value++}(f,n,m[e]),v=m[e],(F=C[e])[0]=w(v[0]),F[1]=w(v[1]),F[2]=w(v[5]),F[3]=w(v[6]),F[4]=w(v[14]),F[5]=w(v[15]),F[6]=w(v[27]),F[7]=w(v[28]),F[8]=w(v[2]),F[9]=w(v[4]),F[10]=w(v[7]),F[11]=w(v[13]),F[12]=w(v[16]),F[13]=w(v[26]),F[14]=w(v[29]),F[15]=w(v[42]),F[16]=w(v[3]),F[17]=w(v[8]),F[18]=w(v[12]),F[19]=w(v[17]),F[20]=w(v[25]),F[21]=w(v[30]),F[22]=w(v[41]),F[23]=w(v[43]),F[24]=w(v[9]),F[25]=w(v[11]),F[26]=w(v[18]),F[27]=w(v[24]),F[28]=w(v[31]),F[29]=w(v[40]),F[30]=w(v[44]),F[31]=w(v[53]),F[32]=w(v[10]),F[33]=w(v[19]),F[34]=w(v[23]),F[35]=w(v[32]),F[36]=w(v[39]),F[37]=w(v[45]),F[38]=w(v[52]),F[39]=w(v[54]),F[40]=w(v[20]),F[41]=w(v[22]),F[42]=w(v[33]),F[43]=w(v[38]),F[44]=w(v[46]),F[45]=w(v[51]),F[46]=w(v[55]),F[47]=w(v[60]),F[48]=w(v[21]),F[49]=w(v[34]),F[50]=w(v[37]),F[51]=w(v[47]),F[52]=w(v[50]),F[53]=w(v[56]),F[54]=w(v[59]),F[55]=w(v[61]),F[56]=w(v[35]),F[57]=w(v[36]),F[58]=w(v[48]),F[59]=w(v[49]),F[60]=w(v[57]),F[61]=w(v[58]),F[62]=w(v[62]),F[63]=w(v[63]),function(e){let t=.5*Math.cos(3.14159/16),r=.5*Math.cos(3.14159/8),n=.5*Math.cos(3*3.14159/16),a=.5*Math.cos(3*3.14159/8);for(var i=[,,,,],s=[,,,,],o=[,,,,],l=[,,,,],A=0;A<8;++A){var u=8*A;i[0]=r*e[u+2],i[1]=a*e[u+2],i[2]=r*e[u+6],i[3]=a*e[u+6],s[0]=t*e[u+1]+n*e[u+3]+.2777854612564676*e[u+5]+.09754573032714427*e[u+7],s[1]=n*e[u+1]-.09754573032714427*e[u+3]-t*e[u+5]-.2777854612564676*e[u+7],s[2]=.2777854612564676*e[u+1]-t*e[u+3]+.09754573032714427*e[u+5]+n*e[u+7],s[3]=.09754573032714427*e[u+1]-.2777854612564676*e[u+3]+n*e[u+5]-t*e[u+7],o[0]=.35355362513961314*(e[u+0]+e[u+4]),o[3]=.35355362513961314*(e[u+0]-e[u+4]),o[1]=i[0]+i[3],o[2]=i[1]-i[2],l[0]=o[0]+o[1],l[1]=o[3]+o[2],l[2]=o[3]-o[2],l[3]=o[0]-o[1],e[u+0]=l[0]+s[0],e[u+1]=l[1]+s[1],e[u+2]=l[2]+s[2],e[u+3]=l[3]+s[3],e[u+4]=l[3]-s[3],e[u+5]=l[2]-s[2],e[u+6]=l[1]-s[1],e[u+7]=l[0]-s[0]}for(var c=0;c<8;++c)i[0]=r*e[16+c],i[1]=a*e[16+c],i[2]=r*e[48+c],i[3]=a*e[48+c],s[0]=t*e[8+c]+n*e[24+c]+.2777854612564676*e[40+c]+.09754573032714427*e[56+c],s[1]=n*e[8+c]-.09754573032714427*e[24+c]-t*e[40+c]-.2777854612564676*e[56+c],s[2]=.2777854612564676*e[8+c]-t*e[24+c]+.09754573032714427*e[40+c]+n*e[56+c],s[3]=.09754573032714427*e[8+c]-.2777854612564676*e[24+c]+n*e[40+c]-t*e[56+c],o[0]=.35355362513961314*(e[c]+e[32+c]),o[3]=.35355362513961314*(e[c]-e[32+c]),o[1]=i[0]+i[3],o[2]=i[1]-i[2],l[0]=o[0]+o[1],l[1]=o[3]+o[2],l[2]=o[3]-o[2],l[3]=o[0]-o[1],e[0+c]=l[0]+s[0],e[8+c]=l[1]+s[1],e[16+c]=l[2]+s[2],e[24+c]=l[3]+s[3],e[32+c]=l[3]-s[3],e[40+c]=l[2]-s[2],e[48+c]=l[1]-s[1],e[56+c]=l[0]-s[0]}(C[e])}for(var I=C,G=0;G<64;++G){var R=I[0][G],b=I[1][G],D=I[2][G];I[0][G]=R+1.5747*D,I[1][G]=R-.1873*b-.4682*D,I[2][G]=R+1.8556*b}for(let t=0;t<3;++t)!function(e,t,r){for(var n,a=0;a<64;++a){t[r+a]=p.DataUtils.toHalfFloat((n=e[a])<=1?Math.sign(n)*Math.pow(Math.abs(n),2.2):Math.sign(n)*Math.pow(9.025013291561939,Math.abs(n)-1))}}(C[t],g[t],64*e)}let i=0;for(let n=0;n<3;++n){let a=r[e.idx[n]].type;for(let e=8*t;e<8*t+E;++e){i=M[n][e];for(let t=0;t>10,r=1023&e;return(e>>15?-1:1)*(t?31===t?r?NaN:1/0:Math.pow(2,t-15)*(1+r/1024):r/1024*6103515625e-14)}function H(e,t){var r=e.getUint16(t.value,!0);return t.value+=2,r}function x(e,t){return w(H(e,t))}let J=new DataView(e),L=new Uint8Array(e),S={value:0},U=function(e,t,r){let n={};if(0x1312f76!=e.getUint32(0,!0))throw"THREE.EXRLoader: provided file doesn't appear to be in OpenEXR format.";n.version=e.getUint8(4);let a=e.getUint8(5);n.spec={singleTile:!!(2&a),longName:!!(4&a),deepFormat:!!(8&a),multiPart:!!(16&a)},r.value=8;for(var i=!0;i;){var s=E(t,r);if(0==s)i=!1;else{var o=E(t,r),l=I(e,r),A=function(e,t,r,n,a){var i,s,o,l,A,u,c;if("string"===n||"stringvector"===n||"iccProfile"===n)return i=new TextDecoder().decode(new Uint8Array(t).slice(r.value,r.value+a)),r.value=r.value+a,i;if("chlist"===n)return function(e,t,r,n){for(var a=r.value,i=[];r.valueO.height?O.height-t:O.scanlineBlockSize;let r=O.size=O.height)break;for(let e=0;e{let n;switch(e){case A.UnsignedByteType:n=new Uint8ClampedArray(t*r*4);break;case A.HalfFloatType:n=new Uint16Array(t*r*4);break;case A.UnsignedIntType:n=new Uint32Array(t*r*4);break;case A.ByteType:n=new Int8Array(t*r*4);break;case A.ShortType:n=new Int16Array(t*r*4);break;case A.IntType:n=new Int32Array(t*r*4);break;case A.FloatType:n=new Float32Array(t*r*4);break;default:throw Error("Unsupported data type")}return n};class tn{_renderer;_rendererIsDisposable=!1;_material;_scene;_camera;_quad;_renderTarget;_width;_height;_type;_colorSpace;_supportsReadPixels=!0;constructor(e){this._width=e.width,this._height=e.height,this._type=e.type,this._colorSpace=e.colorSpace;const r={format:A.RGBAFormat,depthBuffer:!1,stencilBuffer:!1,type:this._type,colorSpace:this._colorSpace,anisotropy:e.renderTargetOptions?.anisotropy!==void 0?e.renderTargetOptions?.anisotropy:1,generateMipmaps:e.renderTargetOptions?.generateMipmaps!==void 0&&e.renderTargetOptions?.generateMipmaps,magFilter:e.renderTargetOptions?.magFilter!==void 0?e.renderTargetOptions?.magFilter:A.LinearFilter,minFilter:e.renderTargetOptions?.minFilter!==void 0?e.renderTargetOptions?.minFilter:A.LinearFilter,samples:e.renderTargetOptions?.samples!==void 0?e.renderTargetOptions?.samples:void 0,wrapS:e.renderTargetOptions?.wrapS!==void 0?e.renderTargetOptions?.wrapS:A.ClampToEdgeWrapping,wrapT:e.renderTargetOptions?.wrapT!==void 0?e.renderTargetOptions?.wrapT:A.ClampToEdgeWrapping};if(this._material=e.material,e.renderer?this._renderer=e.renderer:(this._renderer=tn.instantiateRenderer(),this._rendererIsDisposable=!0),this._scene=new A.Scene,this._camera=new A.OrthographicCamera,this._camera.position.set(0,0,10),this._camera.left=-.5,this._camera.right=.5,this._camera.top=.5,this._camera.bottom=-.5,this._camera.updateProjectionMatrix(),!((e,r,n,a)=>{if(void 0!==t)return t;let i=new A.WebGLRenderTarget(1,1,a);r.setRenderTarget(i);let s=new A.Mesh(new A.PlaneGeometry,new A.MeshBasicMaterial({color:0xffffff}));r.render(s,n),r.setRenderTarget(null);let o=tr(e,i.width,i.height);return r.readRenderTargetPixels(i,0,0,i.width,i.height,o),i.dispose(),s.geometry.dispose(),s.material.dispose(),t=0!==o[0]})(this._type,this._renderer,this._camera,r)){let e;this._type===A.HalfFloatType&&(e=this._renderer.extensions.has("EXT_color_buffer_float")?A.FloatType:void 0),void 0!==e?(console.warn(`This browser does not support reading pixels from ${this._type} RenderTargets, switching to ${A.FloatType}`),this._type=e):(this._supportsReadPixels=!1,console.warn("This browser dos not support toArray or toDataTexture, calls to those methods will result in an error thrown"))}this._quad=new A.Mesh(new A.PlaneGeometry,this._material),this._quad.geometry.computeBoundingBox(),this._scene.add(this._quad),this._renderTarget=new A.WebGLRenderTarget(this.width,this.height,r),this._renderTarget.texture.mapping=e.renderTargetOptions?.mapping!==void 0?e.renderTargetOptions?.mapping:A.UVMapping}static instantiateRenderer(){let e=new tt.WebGLRenderer;return e.setSize(128,128),e}render=()=>{this._renderer.setRenderTarget(this._renderTarget);try{this._renderer.render(this._scene,this._camera)}catch(e){throw this._renderer.setRenderTarget(null),e}this._renderer.setRenderTarget(null)};toArray(){if(!this._supportsReadPixels)throw Error("Can't read pixels in this browser");let e=tr(this._type,this._width,this._height);return this._renderer.readRenderTargetPixels(this._renderTarget,0,0,this._width,this._height,e),e}toDataTexture(e){let t=new A.DataTexture(this.toArray(),this.width,this.height,A.RGBAFormat,this._type,e?.mapping||A.UVMapping,e?.wrapS||A.ClampToEdgeWrapping,e?.wrapT||A.ClampToEdgeWrapping,e?.magFilter||A.LinearFilter,e?.minFilter||A.LinearFilter,e?.anisotropy||1,A.LinearSRGBColorSpace);return t.generateMipmaps=e?.generateMipmaps!==void 0&&e?.generateMipmaps,t}disposeOnDemandRenderer(){this._renderer.setRenderTarget(null),this._rendererIsDisposable&&(this._renderer.dispose(),this._renderer.forceContextLoss())}dispose(e){this.disposeOnDemandRenderer(),e&&this.renderTarget.dispose(),this.material instanceof A.ShaderMaterial&&Object.values(this.material.uniforms).forEach(e=>{e.value instanceof A.Texture&&e.value.dispose()}),Object.values(this.material).forEach(e=>{e instanceof A.Texture&&e.dispose()}),this.material.dispose(),this._quad.geometry.dispose()}get width(){return this._width}set width(e){this._width=e,this._renderTarget.setSize(this._width,this._height)}get height(){return this._height}set height(e){this._height=e,this._renderTarget.setSize(this._width,this._height)}get renderer(){return this._renderer}get renderTarget(){return this._renderTarget}set renderTarget(e){this._renderTarget=e,this._width=e.width,this._height=e.height}get material(){return this._material}get type(){return this._type}get colorSpace(){return this._colorSpace}}var ta=A;class ti extends Error{}class ts extends Error{}let to=(e,t,r)=>{let n=RegExp(`${t}="([^"]*)"`,"i").exec(e);if(n)return n[1];let a=RegExp(`<${t}[^>]*>([\\s\\S]*?)`,"i").exec(e);if(a){let e=a[1].match(/([^<]*)<\/rdf:li>/g);return e&&3===e.length?e.map(e=>e.replace(/<\/?rdf:li>/g,"")):a[1].trim()}if(void 0!==r)return r;throw Error(`Can't find ${t} in gainmap metadata`)};class tl{options;constructor(e){this.options={debug:!!e&&void 0!==e.debug&&e.debug,extractFII:!e||void 0===e.extractFII||e.extractFII,extractNonFII:!e||void 0===e.extractNonFII||e.extractNonFII}}extract(e){return new Promise((t,r)=>{let n,a=this.options.debug,i=new DataView(e.buffer);if(65496!==i.getUint16(0))return void r(Error("Not a valid jpeg"));let s=i.byteLength,o=2,l=0;for(;o250)return void r(Error(`Found no marker after ${l} loops 😵`));if(255!==i.getUint8(o))return void r(Error(`Not a valid marker at offset 0x${o.toString(16)}, found: 0x${i.getUint8(o).toString(16)}`));if(n=i.getUint8(o+1),a&&console.log(`Marker: ${n.toString(16)}`),226===n){a&&console.log("Found APP2 marker (0xffe2)");let e=o+4;if(0x4d504600===i.getUint32(e)){let n,a=e+4;if(18761===i.getUint16(a))n=!1;else{if(19789!==i.getUint16(a))return void r(Error("No valid endianness marker found in TIFF header"));n=!0}if(42!==i.getUint16(a+2,!n))return void r(Error("Not valid TIFF data! (no 0x002A marker)"));let s=i.getUint32(a+4,!n);if(s<8)return void r(Error("Not valid TIFF data! (First offset less than 8)"));let o=a+s,l=i.getUint16(o,!n),A=o+2,u=0;for(let e=A;e{let t=(e=>{let t,r=(t="u">typeof TextDecoder?new TextDecoder().decode(e):e.toString()).indexOf("",r),n=t.slice(r,e+10);try{let e=to(n,"hdrgm:GainMapMin","0"),t=to(n,"hdrgm:GainMapMax"),r=to(n,"hdrgm:Gamma","1"),a=to(n,"hdrgm:OffsetSDR","0.015625"),i=to(n,"hdrgm:OffsetHDR","0.015625"),s=/hdrgm:HDRCapacityMin="([^"]*)"/.exec(n),o=s?s[1]:"0",l=/hdrgm:HDRCapacityMax="([^"]*)"/.exec(n);if(!l)throw Error("Incomplete gainmap metadata");let A=l[1];return{gainMapMin:Array.isArray(e)?e.map(e=>parseFloat(e)):[parseFloat(e),parseFloat(e),parseFloat(e)],gainMapMax:Array.isArray(t)?t.map(e=>parseFloat(e)):[parseFloat(t),parseFloat(t),parseFloat(t)],gamma:Array.isArray(r)?r.map(e=>parseFloat(e)):[parseFloat(r),parseFloat(r),parseFloat(r)],offsetSdr:Array.isArray(a)?a.map(e=>parseFloat(e)):[parseFloat(a),parseFloat(a),parseFloat(a)],offsetHdr:Array.isArray(i)?i.map(e=>parseFloat(e)):[parseFloat(i),parseFloat(i),parseFloat(i)],hdrCapacityMin:parseFloat(o),hdrCapacityMax:parseFloat(A)}}catch(e){}r=t.indexOf("new Promise((t,r)=>{let n=document.createElement("img");n.onload=()=>{t(n)},n.onerror=e=>{r(e)},n.src=URL.createObjectURL(e)});class tc extends ta.Loader{_renderer;_renderTargetOptions;_internalLoadingManager;_config;constructor(e,t){super(t),this._config=e,e.renderer&&(this._renderer=e.renderer),this._internalLoadingManager=new ta.LoadingManager}setRenderer(e){return this._renderer=e,this}setRenderTargetOptions(e){return this._renderTargetOptions=e,this}prepareQuadRenderer(){this._renderer||console.warn("WARNING: A Renderer was not passed to this Loader constructor or in setRenderer, the result of this Loader will need to be converted to a Data Texture with toDataTexture() before you can use it in your renderer.");let e=this._config.createMaterial({gainMapMax:[1,1,1],gainMapMin:[0,0,0],gamma:[1,1,1],offsetHdr:[1,1,1],offsetSdr:[1,1,1],hdrCapacityMax:1,hdrCapacityMin:0,maxDisplayBoost:1,gainMap:new ta.Texture,sdr:new ta.Texture});return this._config.createQuadRenderer({width:16,height:16,type:ta.HalfFloatType,colorSpace:ta.LinearSRGBColorSpace,material:e,renderer:this._renderer,renderTargetOptions:this._renderTargetOptions})}async processImages(e,t,r){let n,a,i=t?new Blob([t],{type:"image/jpeg"}):void 0,s=new Blob([e],{type:"image/jpeg"}),o=!1;if("u"new tB(e),createQuadRenderer:e=>new tn(e)},t)}async render(e,t,r,n){let{sdrImage:a,gainMapImage:i,needsFlip:s}=await this.processImages(r,n,"flipY"),{gainMap:o,sdr:l}=this.createTextures(a,i,s);this.updateQuadRenderer(e,a,o,l,t),e.render()}}class tC extends tp{load([e,t,r],n,a,i){let s,o,l,A=this.prepareQuadRenderer(),u=async()=>{if(s&&o&&l){try{await this.render(A,l,s,o)}catch(n){this.manager.itemError(e),this.manager.itemError(t),this.manager.itemError(r),"function"==typeof i&&i(n),A.disposeOnDemandRenderer();return}"function"==typeof n&&n(A),this.manager.itemEnd(e),this.manager.itemEnd(t),this.manager.itemEnd(r),A.disposeOnDemandRenderer()}},c=!0,h=0,d=0,f=!0,B=0,p=0,C=!0,m=0,g=0,M=()=>{"function"==typeof a&&a(new ProgressEvent("progress",{lengthComputable:c&&f&&C,loaded:d+p+g,total:h+B+m}))};this.manager.itemStart(e),this.manager.itemStart(t),this.manager.itemStart(r);let v=new th.FileLoader(this._internalLoadingManager);v.setResponseType("arraybuffer"),v.setRequestHeader(this.requestHeader),v.setPath(this.path),v.setWithCredentials(this.withCredentials),v.load(e,async e=>{if("string"==typeof e)throw Error("Invalid sdr buffer");s=e,await u()},e=>{c=e.lengthComputable,d=e.loaded,h=e.total,M()},t=>{this.manager.itemError(e),"function"==typeof i&&i(t)});let F=new th.FileLoader(this._internalLoadingManager);F.setResponseType("arraybuffer"),F.setRequestHeader(this.requestHeader),F.setPath(this.path),F.setWithCredentials(this.withCredentials),F.load(t,async e=>{if("string"==typeof e)throw Error("Invalid gainmap buffer");o=e,await u()},e=>{f=e.lengthComputable,p=e.loaded,B=e.total,M()},e=>{this.manager.itemError(t),"function"==typeof i&&i(e)});let E=new th.FileLoader(this._internalLoadingManager);return E.setRequestHeader(this.requestHeader),E.setPath(this.path),E.setWithCredentials(this.withCredentials),E.load(r,async e=>{if("string"!=typeof e)throw Error("Invalid metadata string");l=JSON.parse(e),await u()},e=>{C=e.lengthComputable,g=e.loaded,m=e.total,M()},e=>{this.manager.itemError(r),"function"==typeof i&&i(e)}),A}}class tm extends tp{load(e,t,r,n){let a=this.prepareQuadRenderer(),i=new th.FileLoader(this._internalLoadingManager);return i.setResponseType("arraybuffer"),i.setRequestHeader(this.requestHeader),i.setPath(this.path),i.setWithCredentials(this.withCredentials),this.manager.itemStart(e),i.load(e,async r=>{let i,s,o;if("string"==typeof r)throw Error("Invalid buffer, received [string], was expecting [ArrayBuffer]");let l=new Uint8Array(r);try{let e=await tA(l);i=e.sdr,s=e.gainMap,o=e.metadata}catch(t){if(t instanceof ts||t instanceof ti)console.warn(`Failure to reconstruct an HDR image from ${e}: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg`),o={gainMapMin:[0,0,0],gainMapMax:[1,1,1],gamma:[1,1,1],hdrCapacityMin:0,hdrCapacityMax:1,offsetHdr:[0,0,0],offsetSdr:[0,0,0]},i=l;else throw t}try{await this.render(a,o,i.buffer,s?.buffer)}catch(t){this.manager.itemError(e),"function"==typeof n&&n(t),a.disposeOnDemandRenderer();return}"function"==typeof t&&t(a),this.manager.itemEnd(e),a.disposeOnDemandRenderer()},r,t=>{this.manager.itemError(e),"function"==typeof n&&n(t)}),a}}let tg={apartment:"lebombo_1k.hdr",city:"potsdamer_platz_1k.hdr",dawn:"kiara_1_dawn_1k.hdr",forest:"forest_slope_1k.hdr",lobby:"st_fagans_interior_1k.hdr",night:"dikhololo_night_1k.hdr",park:"rooitou_park_1k.hdr",studio:"studio_small_03_1k.hdr",sunset:"venice_sunset_1k.hdr",warehouse:"empty_warehouse_01_1k.hdr"},tM="https://raw.githack.com/pmndrs/drei-assets/456060a26bbeb8fdf79326f224b6d99b8bcce736/hdri/",tv=["/px.png","/nx.png","/py.png","/ny.png","/pz.png","/nz.png"];function tF({files:e=tv,path:t="",preset:r,colorSpace:i,extensions:s}={}){r&&(tI(r),e=tg[r],t=tM);let o=Array.isArray(e),{extension:l,isCubemap:u}=tG(e),c=tR(l);if(!c)throw Error("useEnvironment: Unrecognized file extension: "+e);let h=(0,a.useThree)(e=>e.gl);(0,n.useLayoutEffect)(()=>{("webp"===l||"jpg"===l||"jpeg"===l)&&h.domElement.addEventListener("webglcontextlost",function(){d.useLoader.clear(c,o?[e]:e)},{once:!0})},[e,h.domElement]);let f=(0,d.useLoader)(c,o?[e]:e,e=>{("webp"===l||"jpg"===l||"jpeg"===l)&&e.setRenderer(h),null==e.setPath||e.setPath(t),s&&s(e)}),B=o?f[0]:f;if("jpg"===l||"jpeg"===l||"webp"===l){var p;B=null==(p=B.renderTarget)?void 0:p.texture}return B.mapping=u?A.CubeReflectionMapping:A.EquirectangularReflectionMapping,B.colorSpace=null!=i?i:u?"srgb":"srgb-linear",B}let tE={files:tv,path:"",preset:void 0,extensions:void 0};tF.preload=e=>{let t={...tE,...e},{files:r,path:n=""}=t,{preset:a,extensions:i}=t;a&&(tI(a),r=tg[a],n=tM);let{extension:s}=tG(r);if("webp"===s||"jpg"===s||"jpeg"===s)throw Error("useEnvironment: Preloading gainmaps is not supported");let o=tR(s);if(!o)throw Error("useEnvironment: Unrecognized file extension: "+r);d.useLoader.preload(o,Array.isArray(r)?[r]:r,e=>{null==e.setPath||e.setPath(n),i&&i(e)})};let ty={files:tv,preset:void 0};function tI(e){if(!(e in tg))throw Error("Preset must be one of: "+Object.keys(tg).join(", "))}function tG(e){var t;let r=Array.isArray(e)&&6===e.length,n=Array.isArray(e)&&3===e.length&&e.some(e=>e.endsWith("json")),a=Array.isArray(e)?e[0]:e;return{extension:r?"cube":n?"webp":a.startsWith("data:application/exr")?"exr":a.startsWith("data:application/hdr")?"hdr":a.startsWith("data:image/jpeg")?"jpg":null==(t=a.split(".").pop())||null==(t=t.split("?"))||null==(t=t.shift())?void 0:t.toLowerCase(),isCubemap:r,isGainmap:n}}function tR(e){return"cube"===e?A.CubeTextureLoader:"hdr"===e?B:"exr"===e?te:"jpg"===e||"jpeg"===e?tm:"webp"===e?tC:null}function tb(e,t,r,n,a={}){var i,s,l,A,u;let c;a={backgroundBlurriness:0,backgroundIntensity:1,backgroundRotation:[0,0,0],environmentIntensity:1,environmentRotation:[0,0,0],...a};let h=(c=u=t||r).current&&c.current.isScene?u.current:u,d=h.background,f=h.environment,B={backgroundBlurriness:h.backgroundBlurriness,backgroundIntensity:h.backgroundIntensity,backgroundRotation:null!=(i=null==(s=h.backgroundRotation)||null==s.clone?void 0:s.clone())?i:[0,0,0],environmentIntensity:h.environmentIntensity,environmentRotation:null!=(l=null==(A=h.environmentRotation)||null==A.clone?void 0:A.clone())?l:[0,0,0]};return"only"!==e&&(h.environment=n),e&&(h.background=n),(0,o.applyProps)(h,a),()=>{"only"!==e&&(h.environment=f),e&&(h.background=d),(0,o.applyProps)(h,B)}}function tD({scene:e,background:t=!1,map:r,...i}){let s=(0,a.useThree)(e=>e.scene);return n.useLayoutEffect(()=>{if(r)return tb(t,e,s,r,i)}),null}function tT({background:e=!1,scene:t,blur:r,backgroundBlurriness:i,backgroundIntensity:s,backgroundRotation:o,environmentIntensity:l,environmentRotation:A,...u}){let c=tF(u),h=(0,a.useThree)(e=>e.scene);return n.useLayoutEffect(()=>tb(e,t,h,c,{backgroundBlurriness:null!=r?r:i,backgroundIntensity:s,backgroundRotation:o,environmentIntensity:l,environmentRotation:A})),n.useEffect(()=>()=>{c.dispose()},[c]),null}function tw({children:e,near:t=.1,far:r=1e3,resolution:o=256,frames:l=1,map:u,background:c=!1,blur:h,backgroundBlurriness:d,backgroundIntensity:f,backgroundRotation:B,environmentIntensity:p,environmentRotation:C,scene:m,files:g,path:M,preset:v,extensions:F}){let E=(0,a.useThree)(e=>e.gl),y=(0,a.useThree)(e=>e.scene),I=n.useRef(null),[G]=n.useState(()=>new A.Scene),R=n.useMemo(()=>{let e=new A.WebGLCubeRenderTarget(o);return e.texture.type=A.HalfFloatType,e},[o]);n.useEffect(()=>()=>{R.dispose()},[R]),n.useLayoutEffect(()=>{if(1===l){let e=E.autoClear;E.autoClear=!0,I.current.update(E,G),E.autoClear=e}return tb(c,m,y,R.texture,{backgroundBlurriness:null!=h?h:d,backgroundIntensity:f,backgroundRotation:B,environmentIntensity:p,environmentRotation:C})},[e,G,R.texture,m,y,c,l,E]);let b=1;return(0,i.useFrame)(()=>{if(l===1/0||b(0,l.extend)({GroundProjectedEnvImpl:h}),[]),n.useEffect(()=>()=>{o.dispose()},[o]);let u=n.useMemo(()=>[A],[A]),c=null==(t=e.ground)?void 0:t.height,d=null==(a=e.ground)?void 0:a.radius,f=null!=(i=null==(s=e.ground)?void 0:s.scale)?i:1e3;return n.createElement(n.Fragment,null,n.createElement(tD,(0,r.default)({},e,{map:A})),n.createElement("groundProjectedEnvImpl",{args:u,scale:f,height:c,radius:d}))}tF.clear=e=>{let t={...ty,...e},{files:r}=t,{preset:n}=t;n&&(tI(n),r=tg[n]);let{extension:a}=tG(r),i=tR(a);if(!i)throw Error("useEnvironment: Unrecognized file extension: "+r);d.useLoader.clear(i,Array.isArray(r)?[r]:r)},e.s(["Environment",0,function(e){return e.ground?n.createElement(tH,e):e.map?n.createElement(tD,e):e.children?n.createElement(tw,e):n.createElement(tT,e)}],43257)},68911,e=>{"use strict";var t=e.i(90072);e.s(["toCreasedNormals",0,function(e,r=Math.PI/3){let n=Math.cos(r),a=(1+1e-10)*100,i=[new t.Vector3,new t.Vector3,new t.Vector3],s=new t.Vector3,o=new t.Vector3,l=new t.Vector3,A=new t.Vector3;function u(e){let t=~~(e.x*a),r=~~(e.y*a),n=~~(e.z*a);return`${t},${r},${n}`}let c=e.index?e.toNonIndexed():e,h=c.attributes.position,d={};for(let e=0,r=h.count/3;en&&A.add(t)}A.normalize(),B.setXYZ(t+e,A.x,A.y,A.z)}}return c.setAttribute("normal",B),c},"toTrianglesDrawMode",0,function(e,r){if(r===t.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),e;if(r!==t.TriangleFanDrawMode&&r!==t.TriangleStripDrawMode)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",r),e;{let n=e.getIndex();if(null===n){let t=[],r=e.getAttribute("position");if(void 0===r)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e{"use strict";let t;var r=e.i(31067),n=e.i(71645),a=e.i(90072),i=e.i(68911),s=e.i(31497);function o(e){if("u">typeof TextDecoder)return new TextDecoder().decode(e);let t="";for(let r=0,n=e.length;r=2.0 are supported."));return}let l=new q(a,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});l.fileLoader.setRequestHeader(this.requestHeader);for(let e=0;e=0&&void 0===s[t]&&console.warn('THREE.GLTFLoader: Unknown extension "'+t+'".')}}l.setExtensions(i),l.setPlugins(s),l.parse(r,n)}parseAsync(e,t){let r=this;return new Promise(function(n,a){r.parse(e,t,n,a)})}}function c(){let e={};return{get:function(t){return e[t]},add:function(t,r){e[t]=r},remove:function(t){delete e[t]},removeAll:function(){e={}}}}let h={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class d{constructor(e){this.parser=e,this.name=h.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){let e=this.parser,t=this.parser.json.nodes||[];for(let r=0,n=t.length;r=0))return null;else throw Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return t.loadTextureImage(e,a.source,i)}}class R{constructor(e){this.parser=e,this.name=h.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){let t=this.name,r=this.parser,n=r.json,a=n.textures[e];if(!a.extensions||!a.extensions[t])return null;let i=a.extensions[t],s=n.images[i.source],o=r.textureLoader;if(s.uri){let e=r.options.manager.getHandler(s.uri);null!==e&&(o=e)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(e,i.source,o);if(n.extensionsRequired&&n.extensionsRequired.indexOf(t)>=0)throw Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){let t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(1===t.height)}})),this.isSupported}}class b{constructor(e){this.parser=e,this.name=h.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){let t=this.name,r=this.parser,n=r.json,a=n.textures[e];if(!a.extensions||!a.extensions[t])return null;let i=a.extensions[t],s=n.images[i.source],o=r.textureLoader;if(s.uri){let e=r.options.manager.getHandler(s.uri);null!==e&&(o=e)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(e,i.source,o);if(n.extensionsRequired&&n.extensionsRequired.indexOf(t)>=0)throw Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){let t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(1===t.height)}})),this.isSupported}}class D{constructor(e){this.name=h.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){let t=this.parser.json,r=t.bufferViews[e];if(!r.extensions||!r.extensions[this.name])return null;{let e=r.extensions[this.name],n=this.parser.getDependency("buffer",e.buffer),a=this.parser.options.meshoptDecoder;if(!a||!a.supported)if(!(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0))return null;else throw Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return n.then(function(t){let r=e.byteOffset||0,n=e.byteLength||0,i=e.count,s=e.byteStride,o=new Uint8Array(t,r,n);return a.decodeGltfBufferAsync?a.decodeGltfBufferAsync(i,s,o,e.mode,e.filter).then(function(e){return e.buffer}):a.ready.then(function(){let t=new ArrayBuffer(i*s);return a.decodeGltfBuffer(new Uint8Array(t),i,s,o,e.mode,e.filter),t})})}}}class T{constructor(e){this.name=h.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){let t=this.parser.json,r=t.nodes[e];if(!r.extensions||!r.extensions[this.name]||void 0===r.mesh)return null;for(let e of t.meshes[r.mesh].primitives)if(e.mode!==P.TRIANGLES&&e.mode!==P.TRIANGLE_STRIP&&e.mode!==P.TRIANGLE_FAN&&void 0!==e.mode)return null;let n=r.extensions[this.name].attributes,i=[],s={};for(let e in n)i.push(this.parser.getDependency("accessor",n[e]).then(t=>(s[e]=t,s[e])));return i.length<1?null:(i.push(this.parser.createNodeMesh(e)),Promise.all(i).then(e=>{let t=e.pop(),r=t.isGroup?t.children:[t],n=e[0].count,i=[];for(let e of r){let t=new a.Matrix4,r=new a.Vector3,o=new a.Quaternion,l=new a.Vector3(1,1,1),A=new a.InstancedMesh(e.geometry,e.material,n);for(let e=0;e=152?{TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3"}:{TEXCOORD_0:"uv",TEXCOORD_1:"uv2"},COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},X={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},j={CUBICSPLINE:void 0,LINEAR:a.InterpolateLinear,STEP:a.InterpolateDiscrete};function Y(e,t,r){for(let n in r.extensions)void 0===e[n]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[n]=r.extensions[n])}function W(e,t){void 0!==t.extras&&("object"==typeof t.extras?Object.assign(e.userData,t.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+t.extras))}function Z(e){let t="",r=Object.keys(e).sort();for(let n=0,a=r.length;ntypeof navigator&&void 0!==navigator.userAgent&&(r=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent),i=(n=navigator.userAgent.indexOf("Firefox")>-1)?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),"u"{let r=this.associations.get(e);for(let[n,i]of(null!=r&&this.associations.set(t,r),e.children.entries()))a(i,t.children[n])};return a(r,n),n.name+="_instance_"+e.uses[t]++,n}_invokeOne(e){let t=Object.values(this.plugins);t.push(this);for(let r=0;r=2&&s.setY(t,h[e*l+1]),l>=3&&s.setZ(t,h[e*l+2]),l>=4&&s.setW(t,h[e*l+3]),l>=5)throw Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return s})}loadTexture(e){let t=this.json,r=this.options,n=t.textures[e].source,a=t.images[n],i=this.textureLoader;if(a.uri){let e=r.manager.getHandler(a.uri);null!==e&&(i=e)}return this.loadTextureImage(e,n,i)}loadTextureImage(e,t,r){let n=this,i=this.json,s=i.textures[e],o=i.images[t],l=(o.uri||o.bufferView)+":"+s.sampler;if(this.textureCache[l])return this.textureCache[l];let A=this.loadImageSource(t,r).then(function(t){t.flipY=!1,t.name=s.name||o.name||"",""===t.name&&"string"==typeof o.uri&&!1===o.uri.startsWith("data:image/")&&(t.name=o.uri);let r=(i.samplers||{})[s.sampler]||{};return t.magFilter=K[r.magFilter]||a.LinearFilter,t.minFilter=K[r.minFilter]||a.LinearMipmapLinearFilter,t.wrapS=k[r.wrapS]||a.RepeatWrapping,t.wrapT=k[r.wrapT]||a.RepeatWrapping,n.associations.set(t,{textures:e}),t}).catch(function(){return null});return this.textureCache[l]=A,A}loadImageSource(e,t){let r=this.json,n=this.options;if(void 0!==this.sourceCache[e])return this.sourceCache[e].then(e=>e.clone());let i=r.images[e],s=self.URL||self.webkitURL,o=i.uri||"",l=!1;if(void 0!==i.bufferView)o=this.getDependency("bufferView",i.bufferView).then(function(e){l=!0;let t=new Blob([e],{type:i.mimeType});return o=s.createObjectURL(t)});else if(void 0===i.uri)throw Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");let A=Promise.resolve(o).then(function(e){return new Promise(function(r,i){let s=r;!0===t.isImageBitmapLoader&&(s=function(e){let t=new a.Texture(e);t.needsUpdate=!0,r(t)}),t.load(a.LoaderUtils.resolveURL(e,n.path),s,void 0,i)})}).then(function(e){var t;return!0===l&&s.revokeObjectURL(o),W(e,i),e.userData.mimeType=i.mimeType||((t=i.uri).search(/\.jpe?g($|\?)/i)>0||0===t.search(/^data\:image\/jpeg/)?"image/jpeg":t.search(/\.webp($|\?)/i)>0||0===t.search(/^data\:image\/webp/)?"image/webp":"image/png"),e}).catch(function(e){throw console.error("THREE.GLTFLoader: Couldn't load texture",o),e});return this.sourceCache[e]=A,A}assignTexture(e,t,r,n){let a=this;return this.getDependency("texture",r.index).then(function(i){if(!i)return null;if(void 0!==r.texCoord&&r.texCoord>0&&((i=i.clone()).channel=r.texCoord),a.extensions[h.KHR_TEXTURE_TRANSFORM]){let e=void 0!==r.extensions?r.extensions[h.KHR_TEXTURE_TRANSFORM]:void 0;if(e){let t=a.associations.get(i);i=a.extensions[h.KHR_TEXTURE_TRANSFORM].extendTexture(i,e),a.associations.set(i,t)}}return void 0!==n&&("number"==typeof n&&(n=3001===n?l:A),"colorSpace"in i?i.colorSpace=n:i.encoding=n===l?3001:3e3),e[t]=i,i})}assignFinalMaterial(e){let t=e.geometry,r=e.material,n=void 0===t.attributes.tangent,i=void 0!==t.attributes.color,s=void 0===t.attributes.normal;if(e.isPoints){let e="PointsMaterial:"+r.uuid,t=this.cache.get(e);t||(t=new a.PointsMaterial,a.Material.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,t.sizeAttenuation=!1,this.cache.add(e,t)),r=t}else if(e.isLine){let e="LineBasicMaterial:"+r.uuid,t=this.cache.get(e);t||(t=new a.LineBasicMaterial,a.Material.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,this.cache.add(e,t)),r=t}if(n||i||s){let e="ClonedMaterial:"+r.uuid+":";n&&(e+="derivative-tangents:"),i&&(e+="vertex-colors:"),s&&(e+="flat-shading:");let t=this.cache.get(e);t||(t=r.clone(),i&&(t.vertexColors=!0),s&&(t.flatShading=!0),n&&(t.normalScale&&(t.normalScale.y*=-1),t.clearcoatNormalScale&&(t.clearcoatNormalScale.y*=-1)),this.cache.add(e,t),this.associations.set(t,this.associations.get(r))),r=t}e.material=r}getMaterialType(){return a.MeshStandardMaterial}loadMaterial(e){let t,r=this,n=this.json,i=this.extensions,s=n.materials[e],o={},u=s.extensions||{},c=[];if(u[h.KHR_MATERIALS_UNLIT]){let e=i[h.KHR_MATERIALS_UNLIT];t=e.getMaterialType(),c.push(e.extendParams(o,s,r))}else{let n=s.pbrMetallicRoughness||{};if(o.color=new a.Color(1,1,1),o.opacity=1,Array.isArray(n.baseColorFactor)){let e=n.baseColorFactor;o.color.setRGB(e[0],e[1],e[2],A),o.opacity=e[3]}void 0!==n.baseColorTexture&&c.push(r.assignTexture(o,"map",n.baseColorTexture,l)),o.metalness=void 0!==n.metallicFactor?n.metallicFactor:1,o.roughness=void 0!==n.roughnessFactor?n.roughnessFactor:1,void 0!==n.metallicRoughnessTexture&&(c.push(r.assignTexture(o,"metalnessMap",n.metallicRoughnessTexture)),c.push(r.assignTexture(o,"roughnessMap",n.metallicRoughnessTexture))),t=this._invokeOne(function(t){return t.getMaterialType&&t.getMaterialType(e)}),c.push(Promise.all(this._invokeAll(function(t){return t.extendMaterialParams&&t.extendMaterialParams(e,o)})))}!0===s.doubleSided&&(o.side=a.DoubleSide);let d=s.alphaMode||"OPAQUE";if("BLEND"===d?(o.transparent=!0,o.depthWrite=!1):(o.transparent=!1,"MASK"===d&&(o.alphaTest=void 0!==s.alphaCutoff?s.alphaCutoff:.5)),void 0!==s.normalTexture&&t!==a.MeshBasicMaterial&&(c.push(r.assignTexture(o,"normalMap",s.normalTexture)),o.normalScale=new a.Vector2(1,1),void 0!==s.normalTexture.scale)){let e=s.normalTexture.scale;o.normalScale.set(e,e)}if(void 0!==s.occlusionTexture&&t!==a.MeshBasicMaterial&&(c.push(r.assignTexture(o,"aoMap",s.occlusionTexture)),void 0!==s.occlusionTexture.strength&&(o.aoMapIntensity=s.occlusionTexture.strength)),void 0!==s.emissiveFactor&&t!==a.MeshBasicMaterial){let e=s.emissiveFactor;o.emissive=new a.Color().setRGB(e[0],e[1],e[2],A)}return void 0!==s.emissiveTexture&&t!==a.MeshBasicMaterial&&c.push(r.assignTexture(o,"emissiveMap",s.emissiveTexture,l)),Promise.all(c).then(function(){let n=new t(o);return s.name&&(n.name=s.name),W(n,s),r.associations.set(n,{materials:e}),s.extensions&&Y(i,n,s),n})}createUniqueName(e){let t=a.PropertyBinding.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){let t=this,r=this.extensions,n=this.primitiveCache,i=[];for(let s=0,o=e.length;s0&&function(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(let r=0,n=t.weights.length;r1?new a.Group:1===t.length?t[0]:new a.Object3D)!==t[0])for(let e=0,r=t.length;e{let t=new Map;for(let[e,r]of n.associations)(e instanceof a.Material||e instanceof a.Texture)&&t.set(e,r);return e.traverse(e=>{let r=n.associations.get(e);null!=r&&t.set(e,r)}),t})(i),i})}_createAnimationTracks(e,t,r,n,i){let s,o=[],l=e.name?e.name:e.uuid,A=[];switch(X[i.path]===X.weights?e.traverse(function(e){e.morphTargetInfluences&&A.push(e.name?e.name:e.uuid)}):A.push(l),X[i.path]){case X.weights:s=a.NumberKeyframeTrack;break;case X.rotation:s=a.QuaternionKeyframeTrack;break;case X.position:case X.scale:s=a.VectorKeyframeTrack;break;default:s=1===r.itemSize?a.NumberKeyframeTrack:a.VectorKeyframeTrack}let u=void 0!==n.interpolation?j[n.interpolation]:a.InterpolateLinear,c=this._getArrayFromAccessor(r);for(let e=0,r=A.length;e{let r={attributeIDs:this.defaultAttributeIDs,attributeTypes:this.defaultAttributeTypes,useUniqueIDs:!1};this.decodeGeometry(e,r).then(t).catch(n)},r,n)}decodeDracoFile(e,t,r,n){let a={attributeIDs:r||this.defaultAttributeIDs,attributeTypes:n||this.defaultAttributeTypes,useUniqueIDs:!!r};this.decodeGeometry(e,a).then(t)}decodeGeometry(e,t){let r;for(let e in t.attributeTypes){let r=t.attributeTypes[e];void 0!==r.BYTES_PER_ELEMENT&&(t.attributeTypes[e]=r.name)}let n=JSON.stringify(t);if(et.has(e)){let t=et.get(e);if(t.key===n)return t.promise;if(0===e.byteLength)throw Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let a=this.workerNextTaskID++,i=e.byteLength,s=this._getWorker(a,i).then(n=>(r=n,new Promise((n,i)=>{r._callbacks[a]={resolve:n,reject:i},r.postMessage({type:"decode",id:a,taskConfig:t,buffer:e},[e])}))).then(e=>this._createGeometry(e.geometry));return s.catch(()=>!0).then(()=>{r&&a&&this._releaseTask(r,a)}),et.set(e,{key:n,promise:s}),s}_createGeometry(e){let t=new ee.BufferGeometry;e.index&&t.setIndex(new ee.BufferAttribute(e.index.array,1));for(let r=0;r{r.load(e,t,void 0,n)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;let e="object"!=typeof WebAssembly||"js"===this.decoderConfig.type,t=[];return e?t.push(this._loadLibrary("draco_decoder.js","text")):(t.push(this._loadLibrary("draco_wasm_wrapper.js","text")),t.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(t).then(t=>{let r=t[0];e||(this.decoderConfig.wasmBinary=t[1]);let n=en.toString(),a=["/* draco decoder */",r,"\n/* worker */",n.substring(n.indexOf("{")+1,n.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([a]))}),this.decoderPending}_getWorker(e,t){return this._initDecoder().then(()=>{if(this.workerPool.lengtht._taskLoad?-1:1});let r=this.workerPool[this.workerPool.length-1];return r._taskCosts[e]=t,r._taskLoad+=t,r})}_releaseTask(e,t){e._taskLoad-=e._taskCosts[t],delete e._callbacks[t],delete e._taskCosts[t]}debug(){console.log("Task load: ",this.workerPool.map(e=>e._taskLoad))}dispose(){for(let e=0;e{let t=e.draco,r=new t.Decoder,s=new t.DecoderBuffer;s.Init(new Int8Array(a),a.byteLength);try{let e=function(e,t,r,n){var a,i,s;let o,l,A,u,c,h,d=n.attributeIDs,f=n.attributeTypes,B=t.GetEncodedGeometryType(r);if(B===e.TRIANGULAR_MESH)c=new e.Mesh,h=t.DecodeBufferToMesh(r,c);else if(B===e.POINT_CLOUD)c=new e.PointCloud,h=t.DecodeBufferToPointCloud(r,c);else throw Error("THREE.DRACOLoader: Unexpected geometry type.");if(!h.ok()||0===c.ptr)throw Error("THREE.DRACOLoader: Decoding failed: "+h.error_msg());let p={index:null,attributes:[]};for(let r in d){let a,i,s=self[f[r]];if(n.useUniqueIDs)i=d[r],a=t.GetAttributeByUniqueId(c,i);else{if(-1===(i=t.GetAttributeId(c,e[d[r]])))continue;a=t.GetAttribute(c,i)}p.attributes.push(function(e,t,r,n,a,i){let s=i.num_components(),o=r.num_points()*s,l=o*a.BYTES_PER_ELEMENT,A=function(e,t){switch(t){case Float32Array:return e.DT_FLOAT32;case Int8Array:return e.DT_INT8;case Int16Array:return e.DT_INT16;case Int32Array:return e.DT_INT32;case Uint8Array:return e.DT_UINT8;case Uint16Array:return e.DT_UINT16;case Uint32Array:return e.DT_UINT32}}(e,a),u=e._malloc(l);t.GetAttributeDataArrayForAllPoints(r,i,A,l,u);let c=new a(e.HEAPF32.buffer,u,o).slice();return e._free(u),{name:n,array:c,itemSize:s}}(e,t,c,r,s,a))}return B===e.TRIANGULAR_MESH&&(a=e,i=t,s=c,o=3*s.num_faces(),l=4*o,A=a._malloc(l),i.GetTrianglesUInt32Array(s,l,A),u=new Uint32Array(a.HEAPF32.buffer,A,o).slice(),a._free(A),p.index={array:u,itemSize:1}),e.destroy(c),p}(t,r,s,i),a=e.attributes.map(e=>e.array.buffer);e.index&&a.push(e.index.array.buffer),self.postMessage({type:"decode",id:n.id,geometry:e},a)}catch(e){console.error(e),self.postMessage({type:"error",id:n.id,error:e.message})}finally{t.destroy(s),t.destroy(r)}})}}}var ea=e.i(60602);let ei=function(e){let t=new Map,r=new Map,n=e.clone();return function e(t,r,n){n(t,r);for(let a=0;a{let d={keys:u,deep:s,inject:A,castShadow:o,receiveShadow:l};if(Array.isArray(t=n.useMemo(()=>{if(!1===e&&!Array.isArray(t)){let e=!1;if(t.traverse(t=>{t.isSkinnedMesh&&(e=!0)}),e)return ei(t)}return t},[t,e])))return n.createElement("group",(0,r.default)({},c,{ref:h}),t.map(e=>n.createElement(es,(0,r.default)({key:e.uuid,object:e},d))),i);let{children:f,...B}=function(e,{keys:t=["near","far","color","distance","decay","penumbra","angle","intensity","skeleton","visible","castShadow","receiveShadow","morphTargetDictionary","morphTargetInfluences","name","geometry","material","position","rotation","scale","up","userData","bindMode","bindMatrix","bindMatrixInverse","skeleton"],deep:r,inject:i,castShadow:s,receiveShadow:o}){let l={};for(let r of t)l[r]=e[r];return r&&(l.geometry&&"materialsOnly"!==r&&(l.geometry=l.geometry.clone()),l.material&&"geometriesOnly"!==r&&(l.material=l.material.clone())),i&&(l="function"==typeof i?{...l,children:i(e)}:n.isValidElement(i)?{...l,children:i}:{...l,...i}),e instanceof a.Mesh&&(s&&(l.castShadow=!0),o&&(l.receiveShadow=!0)),l}(t,d),p=t.type[0].toLowerCase()+t.type.slice(1);return n.createElement(p,(0,r.default)({},B,c,{ref:h}),t.children.map(e=>"Bone"===e.type?n.createElement("primitive",(0,r.default)({key:e.uuid,object:e},d)):n.createElement(es,(0,r.default)({key:e.uuid,object:e},d,{isChild:!0}))),i,f)}),eo=null,el="https://www.gstatic.com/draco/versioned/decoders/1.5.5/";function eA(e=!0,r=!0,n){return a=>{n&&n(a),e&&(eo||(eo=new er),eo.setDecoderPath("string"==typeof e?e:el),a.setDRACOLoader(eo)),r&&a.setMeshoptDecoder((()=>{let e;if(t)return t;let r=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]),n=new Uint8Array([32,0,65,253,3,1,2,34,4,106,6,5,11,8,7,20,13,33,12,16,128,9,116,64,19,113,127,15,10,21,22,14,255,66,24,54,136,107,18,23,192,26,114,118,132,17,77,101,130,144,27,87,131,44,45,74,156,154,70,167]);if("object"!=typeof WebAssembly)return{supported:!1};let a="B9h9z9tFBBBF8fL9gBB9gLaaaaaFa9gEaaaB9gFaFa9gEaaaFaEMcBFFFGGGEIIILF9wFFFLEFBFKNFaFCx/IFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBF8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBGy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBEn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBIi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBKI9z9iqlBO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EDtD+uFD/mFDMBBABCTJRBAFCIJHFAG9JQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEMMMFBCUNMIT9tBB");let i=WebAssembly.instantiate(function(e){let t=new Uint8Array(e.length);for(let r=0;r96?n-71:n>64?n-65:n>47?n+4:n>46?63:62}let r=0;for(let a=0;a{(e=t.instance).exports.__wasm_call_ctors()});function s(t,r,n,a,i,s){let o=e.exports.sbrk,l=n+3&-4,A=o(l*a),u=o(i.length),c=new Uint8Array(e.exports.memory.buffer);c.set(i,u);let h=t(A,n,a,u,i.length);if(0===h&&s&&s(A,l,a),r.set(c.subarray(A,A+n*a)),o(A-o(0)),0!==h)throw Error(`Malformed buffer data: ${h}`)}let o={0:"",1:"meshopt_decodeFilterOct",2:"meshopt_decodeFilterQuat",3:"meshopt_decodeFilterExp",NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"},l={0:"meshopt_decodeVertexBuffer",1:"meshopt_decodeIndexBuffer",2:"meshopt_decodeIndexSequence",ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"};return t={ready:i,supported:!0,decodeVertexBuffer(t,r,n,a,i){s(e.exports.meshopt_decodeVertexBuffer,t,r,n,a,e.exports[o[i]])},decodeIndexBuffer(t,r,n,a){s(e.exports.meshopt_decodeIndexBuffer,t,r,n,a)},decodeIndexSequence(t,r,n,a){s(e.exports.meshopt_decodeIndexSequence,t,r,n,a)},decodeGltfBuffer(t,r,n,a,i,A){s(e.exports[l[i]],t,r,n,a,e.exports[o[A]])}}})())}}let eu=(e,t,r,n)=>(0,ea.useLoader)(u,e,eA(t,r,n));eu.preload=(e,t,r,n)=>ea.useLoader.preload(u,e,eA(t,r,n)),eu.clear=e=>ea.useLoader.clear(u,e),eu.setDecoderPath=e=>{el=e},e.s(["useGLTF",0,eu],78140);var ec=e.i(8155);let eh=e=>{let t=(0,ec.createStore)(e),r=e=>(function(e,t=e=>e){let r=n.default.useSyncExternalStore(e.subscribe,n.default.useCallback(()=>t(e.getState()),[e,t]),n.default.useCallback(()=>t(e.getInitialState()),[e,t]));return n.default.useDebugValue(r),r})(t,e);return Object.assign(r,t),r};e.s(["create",0,e=>e?eh(e):eh],68834)}]); \ No newline at end of file diff --git a/.next/static/chunks/0ayxrdbx8m13y.js b/.next/static/chunks/0ayxrdbx8m13y.js deleted file mode 100644 index e0f27c1..0000000 --- a/.next/static/chunks/0ayxrdbx8m13y.js +++ /dev/null @@ -1,702 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,i)=>{t.exports=e.r(76562)},82637,e=>{"use strict";var t=e.i(43476),i=e.i(71645);let n=(0,i.createContext)(null);e.s(["HeaderUIProvider",0,function({children:e}){let[l,a]=(0,i.useState)(!1),[o,r]=(0,i.useState)(!1),s=(0,i.useCallback)(()=>{a(e=>!e),r(!1)},[]),d=(0,i.useCallback)(()=>{r(e=>!e),a(!1)},[]),c=(0,i.useCallback)(()=>{a(!1),r(!1)},[]);return(0,t.jsx)(n.Provider,{value:{isMenuOpen:l,isSidebarOpen:o,toggleMenu:s,toggleSidebar:d,closeAll:c},children:e})},"useHeaderUI",0,function(){let e=(0,i.useContext)(n);if(!e)throw Error("useHeaderUI must be used inside ");return e}])},3374,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(22016),l=e.i(57688),a=e.i(18566),o=e.i(82637);let r={"/":"home","/how-it-works":"how-it-works","/miletruth":"miletruth","/solutions":"solutions","/about":"about","/doormile-wings":"doormile-wings","/empowerment":"entarpreneurship","/express":"express","/about-us":"about","/blog":"blogs","/contact":"contact","/privacy-policy":"privacy-policy","/terms-of-service":"terms-of-service","/cookie-policy":"cookie-policy"},s={home:["home"],"how-it-works":["how-it-works","how-its-works"],miletruth:["miletruth"],solutions:["solutions"],"doormile-wings":["doormile-wings"],entarpreneurship:["entarpreneurship"],blogs:["blogs"],contact:["contact"],"privacy-policy":["privacy-policy"],"terms-of-service":["terms-of-service"],"cookie-policy":["cookie-policy"],company:["blogs","how-it-works","about"]};e.s(["default",0,function(){let e=(0,a.usePathname)(),{isMenuOpen:d,isSidebarOpen:c,toggleMenu:m,toggleSidebar:h,closeAll:p}=(0,o.useHeaderUI)(),u="/"===e,g=r[e]??"";e.startsWith("/blog/")&&(g="blogs");let f=e=>(s[e]??[]).includes(g)?" active":"",x=(t,i,n,l=!1)=>{if(l&&C(),e!==i)return;t.preventDefault();let a=`${i}#${n}`;`${window.location.pathname}${window.location.hash}`!==a&&window.history.pushState(null,"",a),requestAnimationFrame(()=>{let e;(e=document.getElementById(n))?e.scrollIntoView({behavior:"smooth",block:"start"}):window.scrollTo({top:0,behavior:"smooth"})})},[w,b]=(0,i.useState)(!1),[v,y]=(0,i.useState)(!1),[j,k]=(0,i.useState)(!1),[N,_]=(0,i.useState)(!1),C=()=>{_(!1),p()};(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>{b(!0)});return()=>cancelAnimationFrame(e)},[]),(0,i.useEffect)(()=>{let e=null,t=()=>{null===e&&(e=requestAnimationFrame(()=>{y(window.scrollY>50),e=null}))};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t),null!==e&&cancelAnimationFrame(e)}},[]);let S=["elementor-element","elementor-element-466de1b","e-con-full","sticky-container-on","e-flex","cut-corner-no","e-con","e-parent","header-hide-until-scroll",w?"header-visible-scrolled":"",v?"dm-header-scrolled":""].filter(Boolean).join(" ");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{id:"masthead",itemScope:!0,itemType:"https://schema.org/WPHeader",children:[(0,t.jsx)("p",{className:"main-title bhf-hidden",itemProp:"headline",children:(0,t.jsx)(n.default,{href:"/",title:"Doormile",rel:"home",children:"Doormile"})}),(0,t.jsx)("div",{"data-elementor-type":"wp-post","data-elementor-id":"5180",className:"elementor elementor-5180",children:(0,t.jsxs)("div",{className:S,"data-id":"466de1b","data-element_type":"container","data-settings":'{"position":"absolute"}',style:u&&!w?{opacity:0,visibility:"hidden"}:void 0,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-e052838 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e052838","data-element_type":"container",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-d681ece e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d681ece","data-element_type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-472172e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"472172e","data-element_type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-2f31137 elementor-hidden-laptop elementor-hidden-tablet_extra elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile elementor-widget elementor-widget-logico_slide_sidebar","data-id":"2f31137","data-element_type":"widget","data-widget_type":"logico_slide_sidebar.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("div",{className:"logico-slide-sidebar-widget",children:(0,t.jsx)("div",{className:"dropdown-trigger","data-id":"2f31137",onClick:h,children:(0,t.jsx)("span",{className:"dropdown-trigger-icon"})})}),(0,t.jsxs)("div",{style:{zIndex:1e5},className:`slide-sidebar-wrapper slide-sidebar-position-left${c?" active":""}`,id:"side-panel-2f31137",children:[(0,t.jsx)("div",{className:"slide-sidebar-close",onClick:p}),(0,t.jsxs)("div",{className:"slide-sidebar",children:[(0,t.jsx)("div",{className:"slide-sidebar-header",children:(0,t.jsx)("figure",{className:"wp-block-image size-full is-resized",children:(0,t.jsx)(l.default,{width:305,height:58,src:"/images/doormile-logo.png",alt:"Doormile logo",className:"wp-image-5851",style:{width:"210px",height:"auto"},sizes:"(max-width: 305px) 100vw, 305px"})})}),(0,t.jsx)("div",{className:"slide-sidebar-content",tabIndex:0,role:"region","aria-label":"Menu content",children:(0,t.jsx)("div",{id:"block-37",className:"widget widget_block",children:(0,t.jsx)("div",{className:"widget-wrapper",children:(0,t.jsxs)("div",{className:"dm-block-group is-layout-constrained dm-block-group-is-layout-constrained",children:[(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Address"})}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Hyderabad"}),(0,t.jsxs)("p",{children:["5th Floor, Vision Ultima,",(0,t.jsx)("br",{}),"Street No.3, Jayabheri Enclave,",(0,t.jsx)("br",{}),"Gachibowli, Hyderabad,",(0,t.jsx)("br",{}),"Telangana 500032."]}),(0,t.jsx)("div",{style:{height:"12px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Coimbatore"}),(0,t.jsxs)("p",{children:["Mayflower Valencia,",(0,t.jsx)("br",{}),"Near Nava India Bus Stop,",(0,t.jsx)("br",{}),"Avinashi Road,",(0,t.jsx)("br",{}),"Udayampalayam,",(0,t.jsx)("br",{}),"Tamil Nadu 641037."]}),(0,t.jsx)("div",{style:{height:"12px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Bengaluru"}),(0,t.jsxs)("p",{children:["C612, 6th Floor,",(0,t.jsx)("br",{}),"Trifecta Starlight,",(0,t.jsx)("br",{}),"ITPL Road,",(0,t.jsx)("br",{}),"Garudacharapalya,",(0,t.jsx)("br",{}),"Mahadevapura,",(0,t.jsx)("br",{}),"Bangalore 560048,",(0,t.jsx)("br",{}),"Karnataka, India."]}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Contact Us"})}),(0,t.jsx)("p",{children:"Tel : +91 86886 97941"}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Email"})}),(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com","data-wplink-edit":"true",children:"care@doormile.com"})}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsxs)("ul",{className:"wp-block-social-links has-icon-color is-style-logos-only has-background is-layout-flex wp-block-social-links-is-layout-flex",style:{backgroundColor:"#1f1f1f"},children:[(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-facebook has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.facebook.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"Facebook"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-x has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://x.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"X"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-linkedin has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.linkedin.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"LinkedIn"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-youtube has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.youtube.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"YouTube"})]})})]})]})})})}),(0,t.jsx)("div",{className:"slide-sidebar-cta",children:(0,t.jsx)("div",{className:"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex",children:(0,t.jsx)("div",{className:"wp-block-button is-style-simple is-style-theme",children:(0,t.jsx)(n.default,{href:"/contact",className:"wp-block-button__link wp-element-button",style:{borderRadius:"10px"},children:"Get in touch"})})})})]})]})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-846e53d elementor-widget elementor-widget-site-logo","data-id":"846e53d","data-element_type":"widget","data-widget_type":"site-logo.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"hfe-site-logo",children:(0,t.jsx)(n.default,{"data-elementor-open-lightbox":"",className:"elementor-clickable",href:"/",children:(0,t.jsx)("div",{className:"hfe-site-logo-set",children:(0,t.jsxs)("div",{className:"hfe-site-logo-container",children:[(0,t.jsx)(l.default,{width:748,height:100,className:"hfe-site-logo-img logo-desktop elementor-animation-",src:"/images/doormile-white.png",alt:"doormile-logo",priority:!0}),(0,t.jsx)(l.default,{width:748,height:100,className:"hfe-site-logo-img logo-mobile elementor-animation-",src:"/images/doormile-black.png",alt:"doormile-logo",priority:!0})]})})})})})})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e44ee7e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e44ee7e","data-element_type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-0b7bf6f logico-breakpoint-laptop elementor-widget__width-auto elementor-widget elementor-widget-logico_navigation_menu","data-id":"0b7bf6f","data-element_type":"widget","data-widget_type":"logico_navigation_menu.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("div",{className:"header-menu-container",children:(0,t.jsx)("nav",{children:(0,t.jsxs)("ul",{id:"menu-main-menu",className:"main-menu",children:[(0,t.jsx)("li",{id:"menu-item-10508",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10508${f("home")}`,children:(0,t.jsx)(n.default,{href:"/#home",onClick:e=>x(e,"/","home"),children:"Home"})}),(0,t.jsx)("li",{id:"menu-item-10509",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10509${f("doormile-wings")}`,children:(0,t.jsx)(n.default,{href:"/doormile-wings",prefetch:!0,children:"Wings"})}),(0,t.jsx)("li",{id:"menu-item-10510",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10510${f("miletruth")}`,children:(0,t.jsx)(n.default,{href:"/miletruth#miletruth",onClick:e=>x(e,"/miletruth","miletruth"),children:"MileTruth™ AI"})}),(0,t.jsx)("li",{id:"menu-item-10511",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10511${f("solutions")}`,children:(0,t.jsx)(n.default,{href:"/solutions",prefetch:!0,children:"Solutions"})}),(0,t.jsx)("li",{id:"menu-item-10513",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10513${f("entarpreneurship")}`,children:(0,t.jsx)(n.default,{href:"/empowerment",prefetch:!0,children:"Entrepreneurship"})}),(0,t.jsxs)("li",{id:"menu-item-10535",className:`menu-item menu-item-type-custom menu-item-has-children menu-item-10535${f("company")}`,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onKeyDown:e=>{"Escape"===e.key&&(k(!1),e.currentTarget.querySelector(":scope > a")?.focus())},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||k(!1)},children:[(0,t.jsx)("a",{href:"#","aria-haspopup":"true","aria-expanded":j,onFocus:()=>k(!0),onClick:e=>{e.preventDefault(),k(e=>!e)},children:"Company"}),(0,t.jsxs)("ul",{className:"dm-solutions-dropdown",children:[(0,t.jsx)("li",{className:"about"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/about-us#about",onClick:e=>{k(!1),x(e,"/about-us","about")},children:"About"})}),(0,t.jsx)("li",{className:"blogs"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/blog#blogs",onClick:e=>{k(!1),x(e,"/blog","blogs")},children:"Blogs"})}),(0,t.jsx)("li",{className:"how-it-works"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/how-it-works#how-it-works",onClick:e=>{k(!1),x(e,"/how-it-works","how-it-works")},children:"How It Works"})})]})]})]})})}),(0,t.jsx)("div",{className:"menu-trigger","data-id":"0b7bf6f",onClick:()=>{_(!1),m()},children:(0,t.jsx)("span",{className:"menu-trigger-icon",children:(0,t.jsxs)("span",{className:"hamburger",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})})}),(0,t.jsxs)("div",{style:{zIndex:1e5},className:`mobile-header-menu-container${d?" active":""}`,id:"mobile-header-0b7bf6f",children:[(0,t.jsx)("div",{className:"mobile-header-row",children:(0,t.jsxs)("div",{className:"header-icons-container",children:[(0,t.jsx)("div",{className:"header-icon login-logout",children:(0,t.jsx)("a",{href:"#",title:"Login/Register",className:"link-login"})}),(0,t.jsx)("div",{className:"header-icon menu-close",onClick:C,children:(0,t.jsx)("span",{className:"menu-close-icon"})})]})}),(0,t.jsx)("nav",{children:(0,t.jsxs)("ul",{id:"menu-main-menu-1",className:"main-menu",children:[(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10508${f("home")}`,children:(0,t.jsx)(n.default,{href:"/#home",onClick:e=>x(e,"/","home",!0),children:"Home"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10509${f("doormile-wings")}`,children:(0,t.jsx)(n.default,{href:"/doormile-wings",prefetch:!0,onClick:C,children:"Wings"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10510${f("miletruth")}`,children:(0,t.jsx)(n.default,{href:"/miletruth#miletruth",onClick:e=>x(e,"/miletruth","miletruth",!0),children:"MileTruth™ AI"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10511${f("solutions")}`,children:(0,t.jsx)(n.default,{href:"/solutions",prefetch:!0,onClick:C,children:"Solutions"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10513${f("entarpreneurship")}`,children:(0,t.jsx)(n.default,{href:"/empowerment",prefetch:!0,onClick:C,children:"Entrepreneurship"})}),(0,t.jsxs)("li",{className:`menu-item menu-item-type-custom menu-item-10535 dm-mobile-solutions${f("company")}${N?" dm-accordion-open":""}`,children:[(0,t.jsxs)("div",{className:"dm-mobile-solutions-row",children:[(0,t.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),_(e=>!e)},children:"Company"}),(0,t.jsx)("button",{type:"button",className:"dm-mobile-solutions-toggle","aria-label":N?"Close Company menu":"Open Company menu","aria-haspopup":"true","aria-expanded":N,onClick:()=>_(e=>!e),children:(0,t.jsx)("span",{className:"dm-accordion-chevron","aria-hidden":"true"})})]}),(0,t.jsxs)("ul",{className:"dm-mobile-solutions-panel",children:[(0,t.jsx)("li",{className:"about"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/about-us#about",onClick:e=>x(e,"/about-us","about",!0),children:"About"})}),(0,t.jsx)("li",{className:"blogs"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/blog#blogs",onClick:e=>x(e,"/blog","blogs",!0),children:"Blogs"})}),(0,t.jsx)("li",{className:"how-it-works"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/how-it-works#how-it-works",onClick:e=>x(e,"/how-it-works","how-it-works",!0),children:"How It Works"})})]})]})]})}),(0,t.jsxs)("div",{className:"header-mobile-contacts",children:[(0,t.jsxs)("div",{className:"contact-item contact-item-phone",children:[(0,t.jsx)("span",{className:"contact-item-label",children:"Phone"}),(0,t.jsx)("div",{className:"contact-item-value",children:(0,t.jsx)("p",{children:"Tel : +91 86886 97941"})})]}),(0,t.jsxs)("div",{className:"contact-item contact-item-email",children:[(0,t.jsx)("span",{className:"contact-item-label",children:"Email"}),(0,t.jsx)("div",{className:"contact-item-value",children:(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com","data-wplink-edit":"true",children:"care@doormile.com"})})})]})]}),(0,t.jsx)("div",{className:"header-mobile-socials",children:(0,t.jsxs)("ul",{className:"mobile-menu-socials wrapper-socials",children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.facebook.com/",target:"_blank","aria-label":"Facebook",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://x.com/",target:"_blank","aria-label":"X (Twitter)",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.linkedin.com/",target:"_blank","aria-label":"LinkedIn",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.youtube.com/",target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})})})]})}),(0,t.jsx)("div",{className:"header-mobile-button",children:(0,t.jsx)(n.default,{className:"logico-alter-button",href:"/contact",children:"Get in Touch"})})]})]})})})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-f961133 e-con-full elementor-hidden-laptop elementor-hidden-tablet_extra elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f961133","data-element_type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-cabdb09 elementor-widget elementor-widget-logico_header_button","data-id":"cabdb09","data-element_type":"widget","data-widget_type":"logico_header_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"header-button-container",children:(0,t.jsx)(n.default,{href:"/contact",className:"header-button header-button-animation-fade",children:"Contact Us"})})})})})]})})]}),(0,t.jsx)("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:` - /* ── Off-canvas menu: full-height flex column ── - Header (logo) at top, scrollable content in the middle, and the - "Get in touch" CTA pinned at the bottom — so the panel stays - usable however much content (e.g. multiple office addresses) it - holds. Scoped to #side-panel-2f31137; no other sidebar is touched. - Width, colors, the slide-in animation, and open/close behaviour - (driven by the .active class on the wrapper) are all unchanged. */ - #side-panel-2f31137 .slide-sidebar { - display: flex !important; - flex-direction: column !important; - height: 100% !important; - padding: 0 !important; /* the three sections own their padding */ - overflow: hidden !important; /* scrolling lives on the content area */ - } - /* Fit the *visible* viewport. The panel height is calc(100vh - 20px), - but on mobile 100vh is the larger, URL-bar-inclusive height, which - pushed the bottom of the scroll list + the CTA below the fold and - made scrolling appear broken. dvh tracks the actually-visible area; - vh is kept as a fallback for older browsers. */ - #side-panel-2f31137.slide-sidebar-wrapper { - height: calc(100vh - 20px); - height: calc(100dvh - 20px) !important; - } - #side-panel-2f31137 .slide-sidebar-header { - flex: 0 0 auto; - padding: 52px 36px 18px; /* top clears the floating close button */ - text-align: center; /* centre the logo */ - } - #side-panel-2f31137 .slide-sidebar-header figure { - margin: 0; - text-align: center; - } - #side-panel-2f31137 .slide-sidebar-header img { - display: inline-block; /* centred by the header's text-align */ - } - #side-panel-2f31137 .slide-sidebar-content { - flex: 1 1 auto; - min-height: 0; /* let the flex child shrink so it can scroll */ - overflow-y: auto; - overflow-x: hidden; - -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */ - overscroll-behavior: contain; /* don't chain scroll to the page */ - padding: 18px 60px 8px; /* top gap below the logo header */ - } - #side-panel-2f31137 .slide-sidebar-content:focus-visible { - outline: none; /* container is scroll-focusable, not a control */ - } - #side-panel-2f31137 .slide-sidebar-cta { - flex: 0 0 auto; - padding: 16px 60px 36px; - } - /* Compact, readable address blocks (tighter line + lead-in than the - default 1.75em body spacing). */ - #side-panel-2f31137 .slide-sidebar-content p { - line-height: 1.5; - margin-top: 4px; - } - /* Larger social icons — the logos-only block style renders them at 18px. */ - #side-panel-2f31137 .wp-block-social-links.is-style-logos-only .wp-block-social-link a svg { - width: 26px !important; - height: 26px !important; - } - - #masthead .elementor-element.elementor-element-466de1b { - position: absolute !important; - top: 5px !important; - left: 0 !important; - right: 0 !important; - width: auto !important; - transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease !important; - z-index: 10000 !important; - } - - /* .e-con's --padding-* falls through two competing stylesheets and lands at 10px locally - (vs 0 in production). Zero out the pill wrappers so the navbar matches prod height (~122px). */ - #masthead .elementor-element.elementor-element-e052838, - #masthead .elementor-element.elementor-element-d681ece { - padding-top: 0 !important; - padding-bottom: 0 !important; - } - - @media (min-width: 1025px) { - #masthead { - position: relative; - z-index: 10000; - } - - /* Production pins the wrapper via Elementor sticky-effects JS (not shipped here). - Force position:fixed once scrolled past 50px so the header stays in viewport. */ - #masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled { - position: fixed !important; - background: rgba(26, 26, 26, 0.92) !important; - -webkit-backdrop-filter: blur(14px) !important; - backdrop-filter: blur(14px) !important; - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important; - top: 0 !important; - } - - #masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled .elementor-element.elementor-element-e052838 { - background: transparent !important; - } - } - - /* ── Desktop navbar layout (3-section balanced grid) ── - The earlier Mac-M1 fix used justify-content:space-between, which - on wide screens flung the logo and nav to opposite edges and - left a large asymmetric gap between them. Replace it with a - responsive three-column grid so the nav stays optically centred - with equal space on both sides, the logo group sits left and the - Contact button right — proportional at every desktop width. - - The logo group (472172e) and nav (e44ee7e) are nested inside - e052838 › d681ece, while the Contact button (f961133) is their - uncle. Those two wrappers carry no visual styling on desktop - (their background/padding live only in the <1024px mobile block), - so display:contents flattens them and promotes all three logical - sections to be direct items of one header grid. The grid only - applies >=1025px, leaving the mobile pill layout untouched. */ - @media (min-width: 1025px) { - #masthead .elementor-element.elementor-element-466de1b { - display: grid !important; - grid-template-columns: 1fr auto 1fr !important; - align-items: center !important; - column-gap: clamp(16px, 2vw, 32px) !important; - /* Equal left/right safe areas pull the logo and Contact - button inward off the viewport edges. Because the inset - is symmetric, the 1fr side columns shrink equally and the - centred nav does not shift. */ - padding-inline: clamp(24px, 3vw, 48px) !important; - /* Consistent top/bottom breathing room inside the bar; with - align-items:center every section stays vertically centred. */ - padding-block: clamp(8px, 1vw, 16px) !important; - } - - #masthead .elementor-element.elementor-element-e052838, - #masthead .elementor-element.elementor-element-d681ece { - display: contents !important; - } - - /* navbar-left: menu/grid icon + logo */ - #masthead .elementor-element.elementor-element-472172e { - justify-self: start !important; - display: flex !important; - align-items: center !important; - gap: clamp(16px, 1.5vw, 28px) !important; - flex: 0 0 auto !important; - } - - /* Logo never shrinks — keeps a clean edge against the nav. */ - #masthead .elementor-element.elementor-element-846e53d { - flex-shrink: 0 !important; - } - - /* navbar-center: navigation menu, optically centred. */ - #masthead .elementor-element.elementor-element-e44ee7e { - justify-self: center !important; - display: flex !important; - align-items: center !important; - } - - /* navbar-right: Contact button, aligned to the right edge. */ - #masthead .elementor-element.elementor-element-f961133 { - justify-self: end !important; - } - } - - #masthead .header-menu-container .main-menu > li.active > a:before { - background-color: #ffffff !important; - opacity: 1 !important; - } - - #masthead .header-menu-container .main-menu > li.active > a { - color: #ffffff !important; - } - - #masthead .header-menu-container .main-menu > li > a:focus, - #masthead .header-menu-container .main-menu > li > a:focus-visible { - outline: none !important; - box-shadow: none !important; - } - - /* Responsive logo adjustment on mobile/tablet */ - @media (max-width: 1024px) { - #masthead .elementor-element.elementor-element-466de1b { - top: 18px !important; - } - #masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img { - width: 150px !important; - height: auto !important; - margin-left: 20px !important; - } - #masthead .header-menu-container { - display: none !important; - } - #masthead .menu-trigger { - display: block !important; - } - - /* Sticky header on scroll for mobile/tablet too — the desktop - rule lived only in the min-width:1025px block, so on phones the - absolutely-positioned navbar scrolled away with the page. Pin it - to the top once scrolled past 50px, matching desktop behaviour. */ - #masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled { - position: fixed !important; - top: 18px !important; - left: 0 !important; - right: 0 !important; - } - - #masthead .elementor-element.elementor-element-e052838 { - margin-left: 0px !important; - margin-right: 0px !important; - border-radius: 16px !important; - } - } - - @media (max-width: 480px) { - #masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img { - width: 150px !important; - margin-left: 8px !important; - } - } - - /* The theme reveals the mobile slide-in menu via Elementor's - body[data-elementor-device-mode="mobile"] rules, which are set by - Elementor's frontend JS — that JS isn't shipped in this Next port, - so the panel stayed display:none and the hamburger opened nothing. - Restore it with the same 1024px breakpoint the nav already switches - at. The panel sits off-screen (right:-320px) until .active slides - it in, matching production behaviour. */ - @media (max-width: 1024px) { - #masthead .elementor-widget-logico_navigation_menu .mobile-header-menu-container { - display: block !important; - } - } - - /* The bundled 'fontello' subset is missing the search (\\e85c) and - close (\\e845) glyphs, so those two icons render as empty tofu - boxes. Replace them with inline SVGs via CSS masks so they paint - in the current text colour (matching the working cart/user icons) - and respond to hover. */ - #masthead .header-icon.search-link .search-trigger-icon::before, - #masthead .header-icon.menu-close .menu-close-icon::before { - content: "" !important; - display: block; - width: 1em; - height: 1em; - background-color: currentColor; - -webkit-mask-repeat: no-repeat; - mask-repeat: no-repeat; - -webkit-mask-position: center; - mask-position: center; - -webkit-mask-size: contain; - mask-size: contain; - } - #masthead .header-icon.search-link .search-trigger-icon::before { - -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E"); - mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E"); - } - #masthead .header-icon.menu-close .menu-close-icon::before { - -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E"); - mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E"); - } - - /* ── Company dropdown (desktop) / accordion (mobile) ── - Company (Blogs + How It Works) is a non-navigating parent — - its trigger is a plain anchor with no href target, only a - dropdown toggle. Class names below (.dm-solutions-dropdown, - .dm-mobile-solutions*) are unchanged from when this same - component/markup belonged to Solutions, reusing site.css's dead - .menu-item-has-children chevron (fontello glyph, already - coloured white for this exact header widget) instead of - inventing a new arrow. Desktop opens on hover/focus; mobile is a - height-collapsing accordion controlled by the chevron button. */ - @media (min-width: 1025px) { - #masthead .header-menu-container nav { - display: flex; - align-items: center; - } - - #masthead .header-menu-container .main-menu { - display: inline-flex !important; - align-items: center; - gap: 16px !important; - margin: 0 !important; - line-height: 1; - } - - #masthead .header-menu-container .main-menu > li { - display: flex; - align-items: center; - margin-right: 0 !important; - } - - #masthead .header-menu-container .main-menu > li > a { - display: inline-flex !important; - align-items: center; - justify-content: center; - padding-top: 0 !important; - padding-bottom: 0 !important; - min-height: 48px; - line-height: 1.2 !important; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children { - position: relative; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children:after { - content: ""; - position: absolute; - top: 100%; - left: 50%; - width: 100%; - min-width: 360px; - height: 24px; - transform: translateX(-50%); - pointer-events: auto; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown { - position: absolute; - top: 100%; - left: 50%; - transform: translate(-50%, 34px); - width: 240px; - min-width: 240px; - margin: 0; - padding: 12px; - list-style: none; - background: linear-gradient(180deg, rgba(31, 31, 31, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%); - -webkit-backdrop-filter: blur(20px); - backdrop-filter: blur(20px); - box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08); - border: 1px solid rgba(255, 255, 255, 0.09); - border-radius: 18px; - opacity: 0; - visibility: hidden; - pointer-events: none; - transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; - z-index: 20; - } - - /* .main-menu li:not(:last-of-type) (site.css) is a descendant - selector that also matches these nested
  • s, pushing every - row but the last 12px to the right. Cancel it here. */ - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li { - margin-right: 0 !important; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li + li { - margin-top: 10px; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a { - display: flex; - align-items: center; - justify-content: flex-start; - gap: 10px; - height: 48px; - padding: 0 16px; - border-radius: 10px; - /* Hardcoded rather than var(--logico-dark-text-color): that - variable is only overridden to white inside a few unrelated - scoped contexts (e.g. #side-panel-2f31137) and otherwise - falls back to the sitewide light-theme value (#111111), - which would be invisible on this dark glass panel. */ - color: rgba(255, 255, 255, 0.85); - font-family: var(--font-manrope), "Manrope", sans-serif; - font-size: 15px; - font-weight: 600; - line-height: 1.25; - letter-spacing: normal; - white-space: nowrap; - text-decoration: none; - transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s ease; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:before { - content: ""; - width: 11px; - height: 11px; - margin-left: -16px; - flex: 0 0 11px; - background-color: #c01227; - opacity: 0; - transform: translateX(-10px); - -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4'/%3E%3Cpath d='M5 4h7v7'/%3E%3C/svg%3E"); - mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4'/%3E%3Cpath d='M5 4h7v7'/%3E%3C/svg%3E"); - -webkit-mask-repeat: no-repeat; - mask-repeat: no-repeat; - -webkit-mask-position: center; - mask-position: center; - -webkit-mask-size: contain; - mask-size: contain; - transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, background-color 0.25s ease-in-out; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:hover, - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:focus-visible { - background-color: rgba(255, 255, 255, 0.08); - color: #ffffff; - padding-left: 22px; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:hover:before, - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:focus-visible:before { - opacity: 1; - transform: translateX(0); - background-color: #c01227; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li.dm-child-active > a { - color: #ffffff; - font-weight: 700; - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children > a[aria-expanded="true"] ~ .dm-solutions-dropdown { - opacity: 1; - visibility: visible; - pointer-events: auto; - transform: translate(-50%, 24px); - } - - #masthead .header-menu-container .main-menu > li.menu-item-has-children > a[aria-expanded="true"]:after { - transform: rotate(180deg); - } - - /* Outlines are globally suppressed for .main-menu>li>a above; - restore a visible focus ring scoped only to this trigger. */ - #masthead .header-menu-container .main-menu > li.menu-item-has-children > a:focus-visible { - outline: 2px solid var(--logico-dark-text-color, #ffffff); - outline-offset: 6px; - border-radius: 4px; - } - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-row { - display: flex !important; - align-items: center; - justify-content: space-between; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-row > a { - display: block; - flex: 1 1 auto; - padding: 0.75em 0; - color: var(--logico-default-text-color); - text-decoration: none; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-toggle { - display: inline-flex; - align-items: center; - justify-content: center; - width: 44px; - height: 44px; - margin: 0; - padding: 0; - flex: 0 0 44px; - border: 0; - background: transparent; - color: var(--logico-default-text-color); - cursor: pointer; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-toggle:focus-visible { - outline: 2px solid currentColor; - outline-offset: 2px; - border-radius: 4px; - } - - #masthead .mobile-header-menu-container .dm-accordion-chevron { - display: inline-block; - width: 0.7em; - height: 0.7em; - flex: 0 0 auto; - background-color: currentColor; - -webkit-mask-repeat: no-repeat; - mask-repeat: no-repeat; - -webkit-mask-position: center; - mask-position: center; - -webkit-mask-size: contain; - mask-size: contain; - -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); - mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); - transition: transform 0.3s ease; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions.dm-accordion-open .dm-accordion-chevron { - transform: rotate(180deg); - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel { - max-height: 0; - overflow: hidden; - list-style: none; - margin: 0; - padding: 0; - padding-left: 18px; - transition: max-height 0.3s ease; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions.dm-accordion-open .dm-mobile-solutions-panel { - max-height: 160px; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li { - font-size: 0.9em; - } - - /* .mobile-header-menu-container ul.main-menu>li>a (site.css) only - matches direct children of .main-menu, so these nested links - fall through to the sitewide generic underlined-anchor default. - Restore the plain sibling-item look explicitly. */ - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li > a { - display: block; - padding: 0.35em 0; - color: var(--logico-default-text-color); - text-decoration: none; - } - - /* A vendor li:before rule (checkmark bullet, likely intended for a - feature-list style elsewhere) leaks through here since the reset - at .mobile-header-menu-container ul.main-menu>li:before only - matches direct children of .main-menu, not this nested li. - Suppress it on both the
  • and — these child rows aren't - top-level nav items and shouldn't carry any bullet/indicator. */ - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li:before, - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li > a:before { - content: none !important; - display: none !important; - } - - #masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li.dm-child-active > a { - color: var(--logico-light-text-color); - text-decoration: underline; - } - `}})]})}])},95187,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var l in n)Object.defineProperty(i,l,{enumerable:!0,get:n[l]});let a=e.r(32120),o=e.r(92245),r=e.r(35326)},58234,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(22016),l=e.i(57688),a=e.i(95187);let o=(0,a.createServerReference)("40e2b8629200f7c165ff2ddf03a4abb61bdbd79eca",a.callServer,void 0,a.findSourceMapURL,"sendEmailAction");var r=e.i(2018);e.s(["default",0,function(){let e={"--grid-column-gap":"52px","--grid-row-gap":"18px",columnGap:"52px",rowGap:"18px"},[a,s]=(0,i.useState)(!1),[d,c]=(0,i.useState)({fullName:"",email:"",subject:"",message:""}),[m,h]=(0,i.useState)("idle");(0,i.useEffect)(()=>{let e=()=>{window.scrollY>300?s(!0):s(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let p=e=>{let{name:t,value:i}=e.target;c(e=>({...e,[t]:i})),("success"===m||"error"===m)&&h("idle")},u=async e=>{e.preventDefault(),h("submitting");try{let e=await o(d);e.success?(h("success"),c({fullName:"",email:"",subject:"",message:""})):(console.error("Failed to submit contact form:",e.error),h("error"))}catch(e){console.error("Error submitting contact form:",e),h("error")}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .logico-form-field.dm-field-filled .logico-label-wrapper>label { - font-size: 14px; - top: -14px; - color: var(--logico-dark-text-color); - } - .logico-form-field.dm-field-filled .logico-label-placeholder .logico-label-placeholder-text:before { - right: 100%; - left: initial; - } - .logico-form-field.dm-field-filled .logico-label-placeholder .logico-label-placeholder-text:after { - left: 100%; - right: initial; - } - `}}),(0,t.jsx)("footer",{"data-rocket-location-hash":"1eeca93394c4fc14089e9d12a2a92e22",itemScope:!0,itemType:"https://schema.org/WPFooter",id:"colophon",role:"contentinfo",children:(0,t.jsx)("div",{className:"footer-width-fixer",children:(0,t.jsx)("div",{"data-elementor-type":"wp-post","data-elementor-id":"6585",className:"elementor elementor-6585",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-3cd920c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"3cd920c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-b29b8fc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"b29b8fc","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-ef6fa6d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"ef6fa6d","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-9990148 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"9990148","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-8899bdf elementor-absolute elementor-widget elementor-widget-image","data-id":"8899bdf","data-element_type":"widget","data-e-type":"widget","data-settings":'{"_position":"absolute"}',"data-widget_type":"image.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(l.default,{width:965,height:474,src:"/images/bg-map.png",className:"attachment-full size-full wp-image-1148",alt:""})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-a0e7516 elementor-widget elementor-widget-logico_heading","data-id":"a0e7516","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"/ get in touch /"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-687d944 elementor-widget elementor-widget-logico_heading","data-id":"687d944","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(r.ScrollReveal,{delay:.1,duration:.8,yOffset:25,children:(0,t.jsx)("h3",{className:"logico-title",style:{color:"white"},children:"We are always ready to help you and answer your questions"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-670d1b2 elementor-widget elementor-widget-text-editor","data-id":"670d1b2","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Connecting businesses with fast, secure, smart deliveries."})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-2631b42 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"2631b42","data-element_type":"container","data-e-type":"container",children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-df89993 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"df89993","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-69b6892 elementor-widget elementor-widget-logico_heading","data-id":"69b6892","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsx)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"})}),(0,t.jsx)("span",{children:"Contact"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-87be926 elementor-widget elementor-widget-text-editor","data-id":"87be926","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Tel : +91 86886 97941"})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-f5d8e63 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f5d8e63","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-774e540 elementor-widget elementor-widget-logico_heading","data-id":"774e540","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),(0,t.jsx)("span",{children:"Address"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-9c1cf03 elementor-widget elementor-widget-text-editor","data-id":"9c1cf03","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"5th Floor, Vision Ultima, Street No.3, Jayabheri Enclave, Gachibowli, Hyderabad, Telangana 500032."})})})]})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-645be8d e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"645be8d","data-element_type":"container","data-e-type":"container",children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-a96d151 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"a96d151","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-37e647f elementor-widget elementor-widget-logico_heading","data-id":"37e647f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"m22 7-10 5L2 7"})]}),(0,t.jsx)("span",{children:"Email"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-ba67644 elementor-widget elementor-widget-text-editor","data-id":"ba67644","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com",children:"care@doormile.com"})})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-9ba4b82 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"9ba4b82","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-e9a5d79 elementor-widget elementor-widget-logico_heading","data-id":"e9a5d79","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"18",cy:"5",r:"3"}),(0,t.jsx)("circle",{cx:"6",cy:"12",r:"3"}),(0,t.jsx)("circle",{cx:"18",cy:"19",r:"3"}),(0,t.jsx)("line",{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),(0,t.jsx)("line",{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})]}),(0,t.jsx)("span",{children:"Social"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-a6bccba elementor-shape-square elementor-grid-0 elementor-widget elementor-widget-social-icons","data-id":"a6bccba","data-element_type":"widget","data-e-type":"widget","data-widget_type":"social-icons.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-social-icons-wrapper elementor-grid",role:"list",style:e,children:[(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-linkedin-in elementor-repeater-item-38e1bcc",href:"https://www.linkedin.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"LinkedIn"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-linkedin-in",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})]})}),(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-youtube elementor-repeater-item-b0d5e1f",href:"https://www.youtube.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"YouTube"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-youtube",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})]})})]})})})]})]})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-a5c503d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"a5c503d","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-535776a elementor-widget elementor-widget-logico_heading","data-id":"535776a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Get in Touch"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-0e6fedf elementor-widget elementor-widget-logico_wpforms","data-id":"0e6fedf","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_wpforms.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-wpforms-widget",children:(0,t.jsx)("div",{className:"wpforms-container wpforms-render-modern",id:"wpforms-369",children:(0,t.jsxs)("form",{id:"wpforms-form-369",className:"wpforms-validate wpforms-form",onSubmit:u,children:[(0,t.jsxs)("div",{className:"wpforms-field-container",children:[(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.fullName?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Full name"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-name",children:"Full name"})]}),(0,t.jsx)("input",{type:"text",id:"footer-field-name",className:"wpforms-field-large",name:"fullName",value:d.fullName,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.email?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Email"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-email",children:"Email"})]}),(0,t.jsx)("input",{type:"email",id:"footer-field-email",className:"wpforms-field-large",name:"email",value:d.email,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.subject?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Subject"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-subject",children:"Subject"})]}),(0,t.jsx)("input",{type:"text",id:"footer-field-subject",className:"wpforms-field-large",name:"subject",value:d.subject,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.message?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Message"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-message",children:"Message"})]}),(0,t.jsx)("textarea",{id:"footer-field-message",className:"wpforms-field-large",name:"message",value:d.message,onChange:p,required:!0})]})]}),(0,t.jsxs)("div",{className:"wpforms-submit-container",children:[(0,t.jsx)("button",{type:"submit",id:"wpforms-submit-369",className:"logico-alter-button wpforms-submit",disabled:"submitting"===m,children:"submitting"===m?"Sending...":"Send a message"}),"success"===m&&(0,t.jsx)("div",{style:{marginTop:"16px",color:"#4CAF50",fontSize:"14px",fontWeight:"bold"},children:"Message sent successfully!"}),"error"===m&&(0,t.jsx)("div",{style:{color:"#f44336",marginTop:"10px",fontSize:"14px"},children:"Failed to send message. Please try again."})]})]})})})})})]})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e183a77 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e183a77","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-5219697 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5219697","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-e6af8aa elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"e6af8aa","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(r.ScrollReveal,{delay:.1,duration:.8,yOffset:25,children:(0,t.jsxs)("h2",{className:"logico-title",children:["Delivered ",(0,t.jsx)("span",{style:{color:"#c01227"},children:"on time"})," with no hassle."]})})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-ba22941 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"ba22941","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-54629ca elementor-widget-divider--view-line elementor-widget elementor-widget-divider","data-id":"54629ca","data-element_type":"widget","data-e-type":"widget","data-widget_type":"divider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-divider",children:(0,t.jsx)("span",{className:"elementor-divider-separator"})})})})}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-3f1ba7a e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3f1ba7a","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-64e2e81 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"64e2e81","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-b5c897d elementor-widget elementor-widget-image","data-id":"b5c897d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(n.default,{href:"/",children:(0,t.jsx)(l.default,{width:748,height:184,src:"/images/logo-slogan.png",style:{width:"280px",height:"auto"},className:"attachment-full size-full wp-image-5851",alt:"Doormile Tagline"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e4e6486 elementor-shape-square elementor-grid-0 elementor-widget elementor-widget-social-icons","data-id":"e4e6486","data-element_type":"widget","data-e-type":"widget","data-widget_type":"social-icons.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-social-icons-wrapper elementor-grid",role:"list",style:e,children:[(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-linkedin-in",href:"https://www.linkedin.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"LinkedIn"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-linkedin-in",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})]})}),(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-youtube",href:"https://www.youtube.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"YouTube"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-youtube",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})]})})]})})})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-5b73dd3 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5b73dd3","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-b2507df elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"b2507df","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/miletruth",children:"MileTruth™"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/how-it-works",children:"How It Works"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/solutions",children:"Use Cases"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/contact",children:"Request Demo"})})]})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-451f15c e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"451f15c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-a219b7d elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"a219b7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/doormile-wings",children:"Doormile Wings"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/about-us",children:"About Us"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/about-us#women-entrepreneurship",children:"Women entrepreneurship"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/blog",children:"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/contact",children:"Contact"})})]})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-44a1f5d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"44a1f5d","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-189484a elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"189484a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/privacy-policy",children:"Privacy Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/terms-of-service",children:"Terms of Service"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/cookie-policy",children:"Cookie Policy"})})]})})})})]})]})})})})})}),(0,t.jsx)("div",{className:`footer-scroll-top ${a?"active":""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},style:{cursor:"pointer"}}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .elementor-6585 .elementor-element.elementor-element-e6af8aa .logico-title, - .elementor-6585 .elementor-element.elementor-element-3f1ba7a .logico-title, - .elementor-6585 .elementor-element.elementor-element-3f1ba7a .logico-custom-menu-widget { - font-family: var(--font-manrope), system-ui, -apple-system, "Segoe UI", sans-serif; - } - /* Prevent footer custom navigation menu items from wrapping on hover, - which causes layout shifts, height changes, and cursor flickering loops. */ - .elementor-6585 .logico-custom-menu-widget li a { - white-space: nowrap !important; - } - /* The divider widget is a flex child that should grow via Elementor's - --container-widget-flex-grow variable, but the base rule wiring that - variable to flex-grow lives in elementor-frontend.css (not loaded). */ - .elementor-6585 .elementor-element.elementor-element-54629ca { - flex-grow: 1; - width: 100%; - } - .elementor-6585 .elementor-element.elementor-element-54629ca .elementor-divider-separator { - display: block; - border-top: var(--divider-border-width, 1px) var(--divider-border-style, solid) var(--divider-color, #CBCBCB); - } - - /* Production renders footer social icons at ~25px; ours default to 50px because the - base Elementor icon-size rule (font-size + SVG width:1em) is in elementor-frontend.css - which isn't loaded. Match prod for both upper (a6bccba) and lower (e4e6486) groups. */ - .elementor-6585 .elementor-element.elementor-element-a6bccba .elementor-social-icon, - .elementor-6585 .elementor-element.elementor-element-e4e6486 .elementor-social-icon { - font-size: 16px; - } - .elementor-6585 .elementor-element.elementor-element-a6bccba .elementor-social-icon svg, - .elementor-6585 .elementor-element.elementor-element-e4e6486 .elementor-social-icon svg { - width: 25px; - height: 25px; - } - - /* Compact footer link columns on phones (<=480px). The kit only sets - column --width at min-width:481px, so below that all four blocks - fall back to 100% and stack into one very tall column. Put the - logo+social full-width on top, then lay the three link groups out - in a 2-up grid (matching the tablet 47% intent) so the footer is - roughly half as tall. */ - /* Inline icon beside each contact label (Call Center / Our Location / - Email / Social network). */ - .elementor-6585 .dm-foot-label { - display: inline-flex !important; - align-items: center; - gap: 8px; - } - .elementor-6585 .dm-foot-label .dm-foot-ic { - flex: 0 0 auto; - color: #C01227; - } - - /* ── Compact mobile contact footer (<=600px) ── - On phones the upper contact section stacked into one very tall - column with 50px margins between every block. Tighten the heading, - collapse those stack margins, and pair Email + Social side-by-side - (both are short) so the footer is far shorter without losing the - full-width address readability. */ - @media (max-width: 600px) { - /* Trim the band's oversized top/bottom padding on phones. */ - .elementor-6585 .elementor-element.elementor-element-b29b8fc > .e-con-inner { - padding-top: 40px !important; - padding-bottom: 40px !important; - } - .elementor-6585 .elementor-element.elementor-element-687d944 .logico-title { - font-size: clamp(24px, 6.6vw, 32px) !important; - line-height: 1.2 !important; - } - .elementor-6585 .dm-foot-label .dm-foot-ic { width: 14px; height: 14px; } - /* The Call Center / Our Location group carries a 10px side padding - the Email / Social group doesn't, leaving its labels indented - 10px out of line with everything else — zero it so all four - contact blocks share the same left edge as the heading. */ - .elementor-6585 .elementor-element.elementor-element-2631b42 { - padding-left: 0 !important; - padding-right: 0 !important; - } - /* All four contact blocks stack in one left-aligned column with a - consistent gap (Social network sits below Email). */ - .elementor-6585 .elementor-element.elementor-element-2631b42, - .elementor-6585 .elementor-element.elementor-element-f5d8e63, - .elementor-6585 .elementor-element.elementor-element-645be8d, - .elementor-6585 .elementor-element.elementor-element-9ba4b82 { - margin-top: 22px !important; - } - .elementor-6585 .elementor-element.elementor-element-645be8d > .e-con-inner { - flex-direction: column !important; - gap: 0 !important; - align-items: stretch !important; - } - .elementor-6585 .elementor-element.elementor-element-a96d151, - .elementor-6585 .elementor-element.elementor-element-9ba4b82 { - width: 100% !important; - } - } - - @media (max-width: 480px) { - .elementor-6585 .elementor-element.elementor-element-3f1ba7a { - display: flex !important; - flex-direction: row !important; - flex-wrap: wrap !important; - gap: 36px 16px !important; - } - .elementor-6585 .elementor-element.elementor-element-64e2e81 { - flex: 0 0 100% !important; - width: 100% !important; - } - .elementor-6585 .elementor-element.elementor-element-5b73dd3, - .elementor-6585 .elementor-element.elementor-element-451f15c, - .elementor-6585 .elementor-element.elementor-element-44a1f5d { - flex: 1 1 calc(50% - 8px) !important; - width: calc(50% - 8px) !important; - min-width: 0 !important; - } - /* Allow long links (e.g. "Women entrepreneurship") to wrap inside - the narrow columns instead of overflowing. */ - .elementor-6585 .logico-custom-menu-widget li a { - white-space: normal !important; - } - /* Trim the large social-icons top gap so the brand block stays tight. */ - .elementor-6585 .elementor-element.elementor-element-e4e6486 > .elementor-widget-container { - margin-top: 24px !important; - } - } - `}})]})}],58234)},67989,e=>{"use strict";var t=e.i(71645),i=e.i(18566);let n="wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page",l={"/":`home-page ${n} page-id-61 elementor-page-61 is-home-page`,"/how-it-works":"wp-singular page-template-default page page-id-59 wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-page elementor-page-59","/miletruth":`${n} page-id-59 elementor-page-59`,"/solutions":`${n} page-id-59 elementor-page-59`,"/about-us":`home ${n} page-id-59 elementor-page-59`,"/empowerment":`home ${n} page-id-59 elementor-page-59`,"/blog":`${n} page-id-59 elementor-page-59`,"/contact":`${n} page-id-59 elementor-page-59`};e.s(["default",0,function(){let e=(0,i.usePathname)();return(0,t.useEffect)(()=>{document.body.className=l[e]??n},[e]),null}],67989)},92260,e=>{"use strict";var t=e.i(43476),i=e.i(82637);e.s(["default",0,function(){let{isMenuOpen:e,isSidebarOpen:n,closeAll:l}=(0,i.useHeaderUI)();return(0,t.jsx)("div",{className:`body-overlay${e||n?" active":""}`,onClick:l})}])},48064,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(18566),l=e.i(89970),a=e.i(83495);e.s(["default",0,function({children:e}){let o=(0,n.usePathname)(),r=()=>{a.ScrollTrigger.getAll().forEach(e=>{e.vars&&"block-deco"===e.vars.id&&e.kill()});let e=window.innerHeight||document.documentElement.clientHeight;document.querySelectorAll(".block-decoration").forEach(t=>{a.ScrollTrigger.create({id:"block-deco",trigger:t,start:"top 92%",onEnter:()=>{setTimeout(()=>{t.classList.add("animated")},150)},onEnterBack:()=>{setTimeout(()=>{t.classList.add("animated")},150)},onLeave:()=>{t.classList.remove("animated")},onLeaveBack:()=>{t.classList.remove("animated")}});let i=t.getBoundingClientRect();i.top0&&t.classList.add("animated")})};return(0,i.useEffect)(()=>{let e;l.default.registerPlugin(a.ScrollTrigger),l.default.defaults({ease:"power3.out",duration:.8}),a.ScrollTrigger.config({ignoreMobileResize:!0}),r();let t=()=>{r(),a.ScrollTrigger.refresh(!0)};window.addEventListener("load",t);let i=()=>{clearTimeout(e),e=setTimeout(()=>{r(),a.ScrollTrigger.refresh(!0)},200)};return window.addEventListener("resize",i),()=>{clearTimeout(e),window.removeEventListener("load",t),window.removeEventListener("resize",i),a.ScrollTrigger.getAll().forEach(e=>e.kill())}},[]),(0,i.useEffect)(()=>{let e=()=>{r(),a.ScrollTrigger.refresh(!0)};e();let t=[setTimeout(e,100),setTimeout(e,400),setTimeout(e,800),setTimeout(e,1500)];return()=>{t.forEach(clearTimeout)}},[o]),(0,t.jsx)(t.Fragment,{children:e})}])},26290,e=>{"use strict";var t=e.i(71645),i=e.i(18566),n=e.i(89970),l=e.i(83495),a=e.i(92599);let o=["/how-it-works"];e.s(["default",0,function(){let e=(0,i.usePathname)();return(0,t.useEffect)(()=>{let t,i=o.some(t=>e===t||e.startsWith(`${t}/`)),r=window.matchMedia("(prefers-reduced-motion: reduce)").matches,s=window.matchMedia("(hover: hover) and (pointer: fine)").matches;if(i||r||!s){if(window.location.hash){let e=()=>{try{let e=document.querySelector(window.location.hash);e&&e.scrollIntoView()}catch(e){console.warn(e)}};e(),t=setTimeout(e,100)}else window.scrollTo(0,0);return()=>{t&&clearTimeout(t)}}n.default.registerPlugin(l.ScrollTrigger);let d="/miletruth"===e||e.startsWith("/miletruth/"),c=new a.default(d?{lerp:.13,wheelMultiplier:1.3,touchMultiplier:1.6,orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0}:{duration:1.05,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0});if(window.location.hash){let e=()=>{try{let e=document.querySelector(window.location.hash);e&&c.scrollTo(e,{immediate:!0})}catch(e){console.warn(e)}};e(),t=setTimeout(e,100)}else c.scrollTo(0,{immediate:!0}),window.scrollTo(0,0);c.on("scroll",l.ScrollTrigger.update);let m=e=>c.raf(1e3*e);return n.default.ticker.add(m),n.default.ticker.lagSmoothing(0),l.ScrollTrigger.refresh(),()=>{t&&clearTimeout(t),n.default.ticker.remove(m),c.destroy()}},[e]),null}])},8971,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(57688),l=e.i(18566);function a(e){return`${e.pathname}${e.search}`}e.s(["default",0,function(){let e=(0,l.usePathname)(),[o,r]=(0,i.useState)("hidden"),s=(0,i.useRef)("hidden"),d=(0,i.useRef)(0),c=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),p=(0,i.useRef)(null),u=e=>{s.current=e,r(e)},g=e=>{e.current&&(clearTimeout(e.current),e.current=null)},f=()=>{if(c.current=null,g(p),"hidden"===s.current||"hiding"===s.current)return;let e=Math.max(0,420-(performance.now()-d.current));g(h),h.current=setTimeout(()=>{u("hiding"),h.current=setTimeout(()=>u("hidden"),360)},e)};return((0,i.useEffect)(()=>{m.current=`${e}${window.location.search}`,f()},[e]),(0,i.useEffect)(()=>{let e=(e,t=!1)=>{(t||e!==a(new URL(window.location.href)))&&(c.current!==e||"visible"!==s.current)&&(c.current=e,g(h),g(p),d.current=performance.now(),u("visible"),p.current=setTimeout(()=>{f()},800))},t=t=>{if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let i=t.target?.closest("a[href]");if(!i||!(i instanceof HTMLAnchorElement))return;let n=(e=>{let t=e.getAttribute("href");if(!t||t.startsWith("#")||e.target&&"_self"!==e.target||e.hasAttribute("download")||/^(mailto:|tel:|sms:|javascript:)/i.test(t))return null;let i=new URL(t,window.location.href);if(i.origin!==window.location.origin)return null;let n=new URL(window.location.href);return i.pathname===n.pathname&&i.search===n.search?null:a(i)})(i);n&&e(n)},i=window.history.pushState,n=window.history.replaceState,l=t=>{t!==a(new URL(window.location.href))&&window.setTimeout(()=>{e(t,!0)},0)};window.history.pushState=function(...e){let t=e[2];if("string"==typeof t||t instanceof URL){let e=new URL(t,window.location.href);e.origin===window.location.origin&&l(a(e))}return i.apply(this,e)},window.history.replaceState=function(...e){let t=e[2];if("string"==typeof t||t instanceof URL){let e=new URL(t,window.location.href);e.origin===window.location.origin&&l(a(e))}return n.apply(this,e)};let o=()=>{let t=a(new URL(window.location.href));t!==m.current&&e(t,!0)};return document.addEventListener("click",t,!0),window.addEventListener("popstate",o),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("popstate",o),window.history.pushState=i,window.history.replaceState=n,g(h),g(p)}},[]),"hidden"===o)?null:(0,t.jsxs)("div",{className:`dm-loader${"hiding"===o?" is-hiding":""}`,role:"status","aria-live":"polite","aria-label":"Loading",onTransitionEnd:e=>{"opacity"===e.propertyName&&"hiding"===o&&(r("hidden"),s.current="hidden")},children:[(0,t.jsx)("div",{className:"dm-loader__pulse",children:(0,t.jsx)(n.default,{src:"/images/preloader.png",alt:"Doormile",width:325,height:239,priority:!0,className:"dm-loader__logo"})}),(0,t.jsx)("style",{children:` - .dm-loader { - position: fixed; - inset: 0; - z-index: 100000; - display: grid; - place-items: center; - background: #000; - opacity: 1; - transition: opacity 0.32s ease; - will-change: opacity; - } - .dm-loader.is-hiding { opacity: 0; pointer-events: none; } - .dm-loader__pulse { animation: dmLoaderPulse 1.5s linear infinite; display: grid; place-items: center; } - .dm-loader__logo { display: block; margin: 0 auto; width: clamp(120px, 32vw, 180px); height: auto; } - @keyframes dmLoaderPulse { - 50% { transform: scale(0.85); } - 100% { transform: scale(1); } - } - @media (prefers-reduced-motion: reduce) { - .dm-loader__pulse { animation: none; } - } - `})]})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/0b561qo91.1jg.js b/.next/static/chunks/0b561qo91.1jg.js deleted file mode 100644 index 2efeda2..0000000 --- a/.next/static/chunks/0b561qo91.1jg.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31067,t=>{"use strict";function e(){return(e=Object.assign.bind()).apply(null,arguments)}t.s(["default",()=>e])}]); \ No newline at end of file diff --git a/.next/static/chunks/0b~g01t48jn6q.js b/.next/static/chunks/0b~g01t48jn6q.js deleted file mode 100644 index 3168a70..0000000 --- a/.next/static/chunks/0b~g01t48jn6q.js +++ /dev/null @@ -1,114 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68911,e=>{"use strict";var t=e.i(90072);e.s(["toCreasedNormals",0,function(e,r=Math.PI/3){let n=Math.cos(r),a=(1+1e-10)*100,i=[new t.Vector3,new t.Vector3,new t.Vector3],s=new t.Vector3,o=new t.Vector3,l=new t.Vector3,A=new t.Vector3;function u(e){let t=~~(e.x*a),r=~~(e.y*a),n=~~(e.z*a);return`${t},${r},${n}`}let c=e.index?e.toNonIndexed():e,h=c.attributes.position,d={};for(let e=0,r=h.count/3;en&&A.add(t)}A.normalize(),B.setXYZ(t+e,A.x,A.y,A.z)}}return c.setAttribute("normal",B),c},"toTrianglesDrawMode",0,function(e,r){if(r===t.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),e;if(r!==t.TriangleFanDrawMode&&r!==t.TriangleStripDrawMode)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",r),e;{let n=e.getIndex();if(null===n){let t=[],r=e.getAttribute("position");if(void 0===r)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e{"use strict";let t=parseInt(e.i(90072).REVISION.replace(/\D+/g,""));e.s(["version",0,t])},78140,68834,e=>{"use strict";let t;var r=e.i(31067),n=e.i(71645),a=e.i(90072),i=e.i(68911),s=e.i(31497);function o(e){if("u">typeof TextDecoder)return new TextDecoder().decode(e);let t="";for(let r=0,n=e.length;r=2.0 are supported."));return}let l=new q(a,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});l.fileLoader.setRequestHeader(this.requestHeader);for(let e=0;e=0&&void 0===s[t]&&console.warn('THREE.GLTFLoader: Unknown extension "'+t+'".')}}l.setExtensions(i),l.setPlugins(s),l.parse(r,n)}parseAsync(e,t){let r=this;return new Promise(function(n,a){r.parse(e,t,n,a)})}}function c(){let e={};return{get:function(t){return e[t]},add:function(t,r){e[t]=r},remove:function(t){delete e[t]},removeAll:function(){e={}}}}let h={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class d{constructor(e){this.parser=e,this.name=h.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){let e=this.parser,t=this.parser.json.nodes||[];for(let r=0,n=t.length;r=0))return null;else throw Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return t.loadTextureImage(e,a.source,i)}}class R{constructor(e){this.parser=e,this.name=h.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){let t=this.name,r=this.parser,n=r.json,a=n.textures[e];if(!a.extensions||!a.extensions[t])return null;let i=a.extensions[t],s=n.images[i.source],o=r.textureLoader;if(s.uri){let e=r.options.manager.getHandler(s.uri);null!==e&&(o=e)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(e,i.source,o);if(n.extensionsRequired&&n.extensionsRequired.indexOf(t)>=0)throw Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){let t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(1===t.height)}})),this.isSupported}}class b{constructor(e){this.parser=e,this.name=h.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){let t=this.name,r=this.parser,n=r.json,a=n.textures[e];if(!a.extensions||!a.extensions[t])return null;let i=a.extensions[t],s=n.images[i.source],o=r.textureLoader;if(s.uri){let e=r.options.manager.getHandler(s.uri);null!==e&&(o=e)}return this.detectSupport().then(function(a){if(a)return r.loadTextureImage(e,i.source,o);if(n.extensionsRequired&&n.extensionsRequired.indexOf(t)>=0)throw Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return r.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){let t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(1===t.height)}})),this.isSupported}}class D{constructor(e){this.name=h.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){let t=this.parser.json,r=t.bufferViews[e];if(!r.extensions||!r.extensions[this.name])return null;{let e=r.extensions[this.name],n=this.parser.getDependency("buffer",e.buffer),a=this.parser.options.meshoptDecoder;if(!a||!a.supported)if(!(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0))return null;else throw Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return n.then(function(t){let r=e.byteOffset||0,n=e.byteLength||0,i=e.count,s=e.byteStride,o=new Uint8Array(t,r,n);return a.decodeGltfBufferAsync?a.decodeGltfBufferAsync(i,s,o,e.mode,e.filter).then(function(e){return e.buffer}):a.ready.then(function(){let t=new ArrayBuffer(i*s);return a.decodeGltfBuffer(new Uint8Array(t),i,s,o,e.mode,e.filter),t})})}}}class T{constructor(e){this.name=h.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){let t=this.parser.json,r=t.nodes[e];if(!r.extensions||!r.extensions[this.name]||void 0===r.mesh)return null;for(let e of t.meshes[r.mesh].primitives)if(e.mode!==P.TRIANGLES&&e.mode!==P.TRIANGLE_STRIP&&e.mode!==P.TRIANGLE_FAN&&void 0!==e.mode)return null;let n=r.extensions[this.name].attributes,i=[],s={};for(let e in n)i.push(this.parser.getDependency("accessor",n[e]).then(t=>(s[e]=t,s[e])));return i.length<1?null:(i.push(this.parser.createNodeMesh(e)),Promise.all(i).then(e=>{let t=e.pop(),r=t.isGroup?t.children:[t],n=e[0].count,i=[];for(let e of r){let t=new a.Matrix4,r=new a.Vector3,o=new a.Quaternion,l=new a.Vector3(1,1,1),A=new a.InstancedMesh(e.geometry,e.material,n);for(let e=0;e=152?{TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3"}:{TEXCOORD_0:"uv",TEXCOORD_1:"uv2"},COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},X={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},j={CUBICSPLINE:void 0,LINEAR:a.InterpolateLinear,STEP:a.InterpolateDiscrete};function Y(e,t,r){for(let n in r.extensions)void 0===e[n]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[n]=r.extensions[n])}function W(e,t){void 0!==t.extras&&("object"==typeof t.extras?Object.assign(e.userData,t.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+t.extras))}function Z(e){let t="",r=Object.keys(e).sort();for(let n=0,a=r.length;ntypeof navigator&&void 0!==navigator.userAgent&&(r=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent),i=(n=navigator.userAgent.indexOf("Firefox")>-1)?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),"u"{let r=this.associations.get(e);for(let[n,i]of(null!=r&&this.associations.set(t,r),e.children.entries()))a(i,t.children[n])};return a(r,n),n.name+="_instance_"+e.uses[t]++,n}_invokeOne(e){let t=Object.values(this.plugins);t.push(this);for(let r=0;r=2&&s.setY(t,h[e*l+1]),l>=3&&s.setZ(t,h[e*l+2]),l>=4&&s.setW(t,h[e*l+3]),l>=5)throw Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return s})}loadTexture(e){let t=this.json,r=this.options,n=t.textures[e].source,a=t.images[n],i=this.textureLoader;if(a.uri){let e=r.manager.getHandler(a.uri);null!==e&&(i=e)}return this.loadTextureImage(e,n,i)}loadTextureImage(e,t,r){let n=this,i=this.json,s=i.textures[e],o=i.images[t],l=(o.uri||o.bufferView)+":"+s.sampler;if(this.textureCache[l])return this.textureCache[l];let A=this.loadImageSource(t,r).then(function(t){t.flipY=!1,t.name=s.name||o.name||"",""===t.name&&"string"==typeof o.uri&&!1===o.uri.startsWith("data:image/")&&(t.name=o.uri);let r=(i.samplers||{})[s.sampler]||{};return t.magFilter=K[r.magFilter]||a.LinearFilter,t.minFilter=K[r.minFilter]||a.LinearMipmapLinearFilter,t.wrapS=k[r.wrapS]||a.RepeatWrapping,t.wrapT=k[r.wrapT]||a.RepeatWrapping,n.associations.set(t,{textures:e}),t}).catch(function(){return null});return this.textureCache[l]=A,A}loadImageSource(e,t){let r=this.json,n=this.options;if(void 0!==this.sourceCache[e])return this.sourceCache[e].then(e=>e.clone());let i=r.images[e],s=self.URL||self.webkitURL,o=i.uri||"",l=!1;if(void 0!==i.bufferView)o=this.getDependency("bufferView",i.bufferView).then(function(e){l=!0;let t=new Blob([e],{type:i.mimeType});return o=s.createObjectURL(t)});else if(void 0===i.uri)throw Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");let A=Promise.resolve(o).then(function(e){return new Promise(function(r,i){let s=r;!0===t.isImageBitmapLoader&&(s=function(e){let t=new a.Texture(e);t.needsUpdate=!0,r(t)}),t.load(a.LoaderUtils.resolveURL(e,n.path),s,void 0,i)})}).then(function(e){var t;return!0===l&&s.revokeObjectURL(o),W(e,i),e.userData.mimeType=i.mimeType||((t=i.uri).search(/\.jpe?g($|\?)/i)>0||0===t.search(/^data\:image\/jpeg/)?"image/jpeg":t.search(/\.webp($|\?)/i)>0||0===t.search(/^data\:image\/webp/)?"image/webp":"image/png"),e}).catch(function(e){throw console.error("THREE.GLTFLoader: Couldn't load texture",o),e});return this.sourceCache[e]=A,A}assignTexture(e,t,r,n){let a=this;return this.getDependency("texture",r.index).then(function(i){if(!i)return null;if(void 0!==r.texCoord&&r.texCoord>0&&((i=i.clone()).channel=r.texCoord),a.extensions[h.KHR_TEXTURE_TRANSFORM]){let e=void 0!==r.extensions?r.extensions[h.KHR_TEXTURE_TRANSFORM]:void 0;if(e){let t=a.associations.get(i);i=a.extensions[h.KHR_TEXTURE_TRANSFORM].extendTexture(i,e),a.associations.set(i,t)}}return void 0!==n&&("number"==typeof n&&(n=3001===n?l:A),"colorSpace"in i?i.colorSpace=n:i.encoding=n===l?3001:3e3),e[t]=i,i})}assignFinalMaterial(e){let t=e.geometry,r=e.material,n=void 0===t.attributes.tangent,i=void 0!==t.attributes.color,s=void 0===t.attributes.normal;if(e.isPoints){let e="PointsMaterial:"+r.uuid,t=this.cache.get(e);t||(t=new a.PointsMaterial,a.Material.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,t.sizeAttenuation=!1,this.cache.add(e,t)),r=t}else if(e.isLine){let e="LineBasicMaterial:"+r.uuid,t=this.cache.get(e);t||(t=new a.LineBasicMaterial,a.Material.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,this.cache.add(e,t)),r=t}if(n||i||s){let e="ClonedMaterial:"+r.uuid+":";n&&(e+="derivative-tangents:"),i&&(e+="vertex-colors:"),s&&(e+="flat-shading:");let t=this.cache.get(e);t||(t=r.clone(),i&&(t.vertexColors=!0),s&&(t.flatShading=!0),n&&(t.normalScale&&(t.normalScale.y*=-1),t.clearcoatNormalScale&&(t.clearcoatNormalScale.y*=-1)),this.cache.add(e,t),this.associations.set(t,this.associations.get(r))),r=t}e.material=r}getMaterialType(){return a.MeshStandardMaterial}loadMaterial(e){let t,r=this,n=this.json,i=this.extensions,s=n.materials[e],o={},u=s.extensions||{},c=[];if(u[h.KHR_MATERIALS_UNLIT]){let e=i[h.KHR_MATERIALS_UNLIT];t=e.getMaterialType(),c.push(e.extendParams(o,s,r))}else{let n=s.pbrMetallicRoughness||{};if(o.color=new a.Color(1,1,1),o.opacity=1,Array.isArray(n.baseColorFactor)){let e=n.baseColorFactor;o.color.setRGB(e[0],e[1],e[2],A),o.opacity=e[3]}void 0!==n.baseColorTexture&&c.push(r.assignTexture(o,"map",n.baseColorTexture,l)),o.metalness=void 0!==n.metallicFactor?n.metallicFactor:1,o.roughness=void 0!==n.roughnessFactor?n.roughnessFactor:1,void 0!==n.metallicRoughnessTexture&&(c.push(r.assignTexture(o,"metalnessMap",n.metallicRoughnessTexture)),c.push(r.assignTexture(o,"roughnessMap",n.metallicRoughnessTexture))),t=this._invokeOne(function(t){return t.getMaterialType&&t.getMaterialType(e)}),c.push(Promise.all(this._invokeAll(function(t){return t.extendMaterialParams&&t.extendMaterialParams(e,o)})))}!0===s.doubleSided&&(o.side=a.DoubleSide);let d=s.alphaMode||"OPAQUE";if("BLEND"===d?(o.transparent=!0,o.depthWrite=!1):(o.transparent=!1,"MASK"===d&&(o.alphaTest=void 0!==s.alphaCutoff?s.alphaCutoff:.5)),void 0!==s.normalTexture&&t!==a.MeshBasicMaterial&&(c.push(r.assignTexture(o,"normalMap",s.normalTexture)),o.normalScale=new a.Vector2(1,1),void 0!==s.normalTexture.scale)){let e=s.normalTexture.scale;o.normalScale.set(e,e)}if(void 0!==s.occlusionTexture&&t!==a.MeshBasicMaterial&&(c.push(r.assignTexture(o,"aoMap",s.occlusionTexture)),void 0!==s.occlusionTexture.strength&&(o.aoMapIntensity=s.occlusionTexture.strength)),void 0!==s.emissiveFactor&&t!==a.MeshBasicMaterial){let e=s.emissiveFactor;o.emissive=new a.Color().setRGB(e[0],e[1],e[2],A)}return void 0!==s.emissiveTexture&&t!==a.MeshBasicMaterial&&c.push(r.assignTexture(o,"emissiveMap",s.emissiveTexture,l)),Promise.all(c).then(function(){let n=new t(o);return s.name&&(n.name=s.name),W(n,s),r.associations.set(n,{materials:e}),s.extensions&&Y(i,n,s),n})}createUniqueName(e){let t=a.PropertyBinding.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){let t=this,r=this.extensions,n=this.primitiveCache,i=[];for(let s=0,o=e.length;s0&&function(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(let r=0,n=t.weights.length;r1?new a.Group:1===t.length?t[0]:new a.Object3D)!==t[0])for(let e=0,r=t.length;e{let t=new Map;for(let[e,r]of n.associations)(e instanceof a.Material||e instanceof a.Texture)&&t.set(e,r);return e.traverse(e=>{let r=n.associations.get(e);null!=r&&t.set(e,r)}),t})(i),i})}_createAnimationTracks(e,t,r,n,i){let s,o=[],l=e.name?e.name:e.uuid,A=[];switch(X[i.path]===X.weights?e.traverse(function(e){e.morphTargetInfluences&&A.push(e.name?e.name:e.uuid)}):A.push(l),X[i.path]){case X.weights:s=a.NumberKeyframeTrack;break;case X.rotation:s=a.QuaternionKeyframeTrack;break;case X.position:case X.scale:s=a.VectorKeyframeTrack;break;default:s=1===r.itemSize?a.NumberKeyframeTrack:a.VectorKeyframeTrack}let u=void 0!==n.interpolation?j[n.interpolation]:a.InterpolateLinear,c=this._getArrayFromAccessor(r);for(let e=0,r=A.length;e{let r={attributeIDs:this.defaultAttributeIDs,attributeTypes:this.defaultAttributeTypes,useUniqueIDs:!1};this.decodeGeometry(e,r).then(t).catch(n)},r,n)}decodeDracoFile(e,t,r,n){let a={attributeIDs:r||this.defaultAttributeIDs,attributeTypes:n||this.defaultAttributeTypes,useUniqueIDs:!!r};this.decodeGeometry(e,a).then(t)}decodeGeometry(e,t){let r;for(let e in t.attributeTypes){let r=t.attributeTypes[e];void 0!==r.BYTES_PER_ELEMENT&&(t.attributeTypes[e]=r.name)}let n=JSON.stringify(t);if(et.has(e)){let t=et.get(e);if(t.key===n)return t.promise;if(0===e.byteLength)throw Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let a=this.workerNextTaskID++,i=e.byteLength,s=this._getWorker(a,i).then(n=>(r=n,new Promise((n,i)=>{r._callbacks[a]={resolve:n,reject:i},r.postMessage({type:"decode",id:a,taskConfig:t,buffer:e},[e])}))).then(e=>this._createGeometry(e.geometry));return s.catch(()=>!0).then(()=>{r&&a&&this._releaseTask(r,a)}),et.set(e,{key:n,promise:s}),s}_createGeometry(e){let t=new ee.BufferGeometry;e.index&&t.setIndex(new ee.BufferAttribute(e.index.array,1));for(let r=0;r{r.load(e,t,void 0,n)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;let e="object"!=typeof WebAssembly||"js"===this.decoderConfig.type,t=[];return e?t.push(this._loadLibrary("draco_decoder.js","text")):(t.push(this._loadLibrary("draco_wasm_wrapper.js","text")),t.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(t).then(t=>{let r=t[0];e||(this.decoderConfig.wasmBinary=t[1]);let n=en.toString(),a=["/* draco decoder */",r,"\n/* worker */",n.substring(n.indexOf("{")+1,n.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([a]))}),this.decoderPending}_getWorker(e,t){return this._initDecoder().then(()=>{if(this.workerPool.lengtht._taskLoad?-1:1});let r=this.workerPool[this.workerPool.length-1];return r._taskCosts[e]=t,r._taskLoad+=t,r})}_releaseTask(e,t){e._taskLoad-=e._taskCosts[t],delete e._callbacks[t],delete e._taskCosts[t]}debug(){console.log("Task load: ",this.workerPool.map(e=>e._taskLoad))}dispose(){for(let e=0;e{let t=e.draco,r=new t.Decoder,s=new t.DecoderBuffer;s.Init(new Int8Array(a),a.byteLength);try{let e=function(e,t,r,n){var a,i,s;let o,l,A,u,c,h,d=n.attributeIDs,f=n.attributeTypes,B=t.GetEncodedGeometryType(r);if(B===e.TRIANGULAR_MESH)c=new e.Mesh,h=t.DecodeBufferToMesh(r,c);else if(B===e.POINT_CLOUD)c=new e.PointCloud,h=t.DecodeBufferToPointCloud(r,c);else throw Error("THREE.DRACOLoader: Unexpected geometry type.");if(!h.ok()||0===c.ptr)throw Error("THREE.DRACOLoader: Decoding failed: "+h.error_msg());let p={index:null,attributes:[]};for(let r in d){let a,i,s=self[f[r]];if(n.useUniqueIDs)i=d[r],a=t.GetAttributeByUniqueId(c,i);else{if(-1===(i=t.GetAttributeId(c,e[d[r]])))continue;a=t.GetAttribute(c,i)}p.attributes.push(function(e,t,r,n,a,i){let s=i.num_components(),o=r.num_points()*s,l=o*a.BYTES_PER_ELEMENT,A=function(e,t){switch(t){case Float32Array:return e.DT_FLOAT32;case Int8Array:return e.DT_INT8;case Int16Array:return e.DT_INT16;case Int32Array:return e.DT_INT32;case Uint8Array:return e.DT_UINT8;case Uint16Array:return e.DT_UINT16;case Uint32Array:return e.DT_UINT32}}(e,a),u=e._malloc(l);t.GetAttributeDataArrayForAllPoints(r,i,A,l,u);let c=new a(e.HEAPF32.buffer,u,o).slice();return e._free(u),{name:n,array:c,itemSize:s}}(e,t,c,r,s,a))}return B===e.TRIANGULAR_MESH&&(a=e,i=t,s=c,o=3*s.num_faces(),l=4*o,A=a._malloc(l),i.GetTrianglesUInt32Array(s,l,A),u=new Uint32Array(a.HEAPF32.buffer,A,o).slice(),a._free(A),p.index={array:u,itemSize:1}),e.destroy(c),p}(t,r,s,i),a=e.attributes.map(e=>e.array.buffer);e.index&&a.push(e.index.array.buffer),self.postMessage({type:"decode",id:n.id,geometry:e},a)}catch(e){console.error(e),self.postMessage({type:"error",id:n.id,error:e.message})}finally{t.destroy(s),t.destroy(r)}})}}}var ea=e.i(60602);let ei=function(e){let t=new Map,r=new Map,n=e.clone();return function e(t,r,n){n(t,r);for(let a=0;a{let d={keys:u,deep:s,inject:A,castShadow:o,receiveShadow:l};if(Array.isArray(t=n.useMemo(()=>{if(!1===e&&!Array.isArray(t)){let e=!1;if(t.traverse(t=>{t.isSkinnedMesh&&(e=!0)}),e)return ei(t)}return t},[t,e])))return n.createElement("group",(0,r.default)({},c,{ref:h}),t.map(e=>n.createElement(es,(0,r.default)({key:e.uuid,object:e},d))),i);let{children:f,...B}=function(e,{keys:t=["near","far","color","distance","decay","penumbra","angle","intensity","skeleton","visible","castShadow","receiveShadow","morphTargetDictionary","morphTargetInfluences","name","geometry","material","position","rotation","scale","up","userData","bindMode","bindMatrix","bindMatrixInverse","skeleton"],deep:r,inject:i,castShadow:s,receiveShadow:o}){let l={};for(let r of t)l[r]=e[r];return r&&(l.geometry&&"materialsOnly"!==r&&(l.geometry=l.geometry.clone()),l.material&&"geometriesOnly"!==r&&(l.material=l.material.clone())),i&&(l="function"==typeof i?{...l,children:i(e)}:n.isValidElement(i)?{...l,children:i}:{...l,...i}),e instanceof a.Mesh&&(s&&(l.castShadow=!0),o&&(l.receiveShadow=!0)),l}(t,d),p=t.type[0].toLowerCase()+t.type.slice(1);return n.createElement(p,(0,r.default)({},B,c,{ref:h}),t.children.map(e=>"Bone"===e.type?n.createElement("primitive",(0,r.default)({key:e.uuid,object:e},d)):n.createElement(es,(0,r.default)({key:e.uuid,object:e},d,{isChild:!0}))),i,f)}),eo=null,el="https://www.gstatic.com/draco/versioned/decoders/1.5.5/";function eA(e=!0,r=!0,n){return a=>{n&&n(a),e&&(eo||(eo=new er),eo.setDecoderPath("string"==typeof e?e:el),a.setDRACOLoader(eo)),r&&a.setMeshoptDecoder((()=>{let e;if(t)return t;let r=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]),n=new Uint8Array([32,0,65,253,3,1,2,34,4,106,6,5,11,8,7,20,13,33,12,16,128,9,116,64,19,113,127,15,10,21,22,14,255,66,24,54,136,107,18,23,192,26,114,118,132,17,77,101,130,144,27,87,131,44,45,74,156,154,70,167]);if("object"!=typeof WebAssembly)return{supported:!1};let a="B9h9z9tFBBBF8fL9gBB9gLaaaaaFa9gEaaaB9gFaFa9gEaaaFaEMcBFFFGGGEIIILF9wFFFLEFBFKNFaFCx/IFMO/LFVK9tv9t9vq95GBt9f9f939h9z9t9f9j9h9s9s9f9jW9vq9zBBp9tv9z9o9v9wW9f9kv9j9v9kv9WvqWv94h919m9mvqBF8Z9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv94h919m9mvqBGy9tv9z9o9v9wW9f9kv9j9v9kv9J9u9kv949TvZ91v9u9jvBEn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9P9jWBIi9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9R919hWBLn9tv9z9o9v9wW9f9kv9j9v9kv69p9sWvq9F949wBKI9z9iqlBOc+x8ycGBM/qQFTa8jUUUUBCU/EBlHL8kUUUUBC9+RKGXAGCFJAI9LQBCaRKAE2BBC+gF9HQBALAEAIJHOAGlAGTkUUUBRNCUoBAG9uC/wgBZHKCUGAKCUG9JyRVAECFJRICBRcGXEXAcAF9PQFAVAFAclAcAVJAF9JyRMGXGXAG9FQBAMCbJHKC9wZRSA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/mFAIAOAIAcD9OD9RD/kFHEAED/mFD/kFD/kFD/jFD/nFHID/mF9DBBX9LDYHOD/kFCTD+rFALAID/mFAOD/kFCggEDtD9OD9QHLAEAID/mFAOD/kFCaDbCBDnGCBDnECBDnKCBDnOCBDncCBDnMCBDnfCBDnbD9OHEDQNVi8ZcMpySQ8c8dfb8e8fD9QDMBBABAKAND9OALAEDQBFTtGEmYILPdKOenD9QDMBBABCAJRBAGCIJHGAF9JQBMMM/hEIGaF97FaL978jUUUUBCTlREGXAF9FQBCBRIEXAEABDBBBHLABCTJHKDBBBHODQILKOSQfbPden8c8d8e8fHNCTD+sFHVCID+rFDMIBAB9DBBU8/DY9D/zI818/DYAVCEDtD9QD/6FD/nFHVALAODQBFGENVcMTtmYi8ZpyHLCTD+rFCTD+sFD/6FD/mFHOAOD/mFAVALCTD+sFD/6FD/mFHcAcD/mFAVANCTD+rFCTD+sFD/6FD/mFHNAND/mFD/kFD/kFD/lFCBDtD+4FD/jF9DB/+g6DYHVD/mF9DBBX9LDYHLD/kFCggEDtHMD9OAcAVD/mFALD/kFCTD+rFD9QHcANAVD/mFALD/kFCTD+rFAOAVD/mFALD/kFAMD9OD9QHVDQBFTtGEmYILPdKOenHLD8dBAEDBIBDyB+t+J83EBABCNJALD8dFAEDBIBDyF+t+J83EBAKAcAVDQNVi8ZcMpySQ8c8dfb8e8fHVD8dBAEDBIBDyG+t+J83EBABCiJAVD8dFAEDBIBDyE+t+J83EBABCAJRBAICIJHIAF9JQBMMM9jFF97GXAGCGrAF9sHG9FQBCBRFEXABABDBBBHECND+rFCND+sFD/6FAECiD+sFCnD+rFCUUU/8EDtD+uFD/mFDMBBABCTJRBAFCIJHFAG9JQBMMM9TFEaCBCB8oGUkUUBHFABCEJC98ZJHBjGUkUUBGXGXAB8/BCTWHGuQBCaREABAGlCggEJCTrXBCa6QFMAFREMAEMMMFBCUNMIT9tBB");let i=WebAssembly.instantiate(function(e){let t=new Uint8Array(e.length);for(let r=0;r96?n-71:n>64?n-65:n>47?n+4:n>46?63:62}let r=0;for(let a=0;a{(e=t.instance).exports.__wasm_call_ctors()});function s(t,r,n,a,i,s){let o=e.exports.sbrk,l=n+3&-4,A=o(l*a),u=o(i.length),c=new Uint8Array(e.exports.memory.buffer);c.set(i,u);let h=t(A,n,a,u,i.length);if(0===h&&s&&s(A,l,a),r.set(c.subarray(A,A+n*a)),o(A-o(0)),0!==h)throw Error(`Malformed buffer data: ${h}`)}let o={0:"",1:"meshopt_decodeFilterOct",2:"meshopt_decodeFilterQuat",3:"meshopt_decodeFilterExp",NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"},l={0:"meshopt_decodeVertexBuffer",1:"meshopt_decodeIndexBuffer",2:"meshopt_decodeIndexSequence",ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"};return t={ready:i,supported:!0,decodeVertexBuffer(t,r,n,a,i){s(e.exports.meshopt_decodeVertexBuffer,t,r,n,a,e.exports[o[i]])},decodeIndexBuffer(t,r,n,a){s(e.exports.meshopt_decodeIndexBuffer,t,r,n,a)},decodeIndexSequence(t,r,n,a){s(e.exports.meshopt_decodeIndexSequence,t,r,n,a)},decodeGltfBuffer(t,r,n,a,i,A){s(e.exports[l[i]],t,r,n,a,e.exports[o[A]])}}})())}}let eu=(e,t,r,n)=>(0,ea.useLoader)(u,e,eA(t,r,n));eu.preload=(e,t,r,n)=>ea.useLoader.preload(u,e,eA(t,r,n)),eu.clear=e=>ea.useLoader.clear(u,e),eu.setDecoderPath=e=>{el=e},e.s(["useGLTF",0,eu],78140);var ec=e.i(8155);let eh=e=>{let t=(0,ec.createStore)(e),r=e=>(function(e,t=e=>e){let r=n.default.useSyncExternalStore(e.subscribe,n.default.useCallback(()=>t(e.getState()),[e,t]),n.default.useCallback(()=>t(e.getInitialState()),[e,t]));return n.default.useDebugValue(r),r})(t,e);return Object.assign(r,t),r};e.s(["create",0,e=>e?eh(e):eh],68834)},43257,e=>{"use strict";let t;var r=e.i(31067),n=e.i(71645),a=e.i(28600),i=e.i(25234),s=e.i(44208),o=e.i(24205),l=e.i(67335),A=e.i(90072),u=A,c=e.i(31497);class h extends u.Mesh{constructor(e,t){var r,n;const a=(e=>e&&e.isCubeTexture)(e),i=Math.floor(Math.log2((null!=(n=a?null==(r=e.image[0])?void 0:r.width:e.image.width)?n:1024)/4)),s=Math.pow(2,i),o=3*Math.max(s,112),l=` - varying vec3 vWorldPosition; - void main() - { - vec4 worldPosition = ( modelMatrix * vec4( position, 1.0 ) ); - vWorldPosition = worldPosition.xyz; - - gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); - } - `,A=[a?"#define ENVMAP_TYPE_CUBE":"",`#define CUBEUV_TEXEL_WIDTH ${1/o}`,`#define CUBEUV_TEXEL_HEIGHT ${1/(4*s)}`,`#define CUBEUV_MAX_MIP ${i}.0`].join("\n")+` - #define ENVMAP_TYPE_CUBE_UV - varying vec3 vWorldPosition; - uniform float radius; - uniform float height; - uniform float angle; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube map; - #else - uniform sampler2D map; - #endif - // From: https://www.shadertoy.com/view/4tsBD7 - float diskIntersectWithBackFaceCulling( vec3 ro, vec3 rd, vec3 c, vec3 n, float r ) - { - float d = dot ( rd, n ); - - if( d > 0.0 ) { return 1e6; } - - vec3 o = ro - c; - float t = - dot( n, o ) / d; - vec3 q = o + rd * t; - - return ( dot( q, q ) < r * r ) ? t : 1e6; - } - // From: https://www.iquilezles.org/www/articles/intersectors/intersectors.htm - float sphereIntersect( vec3 ro, vec3 rd, vec3 ce, float ra ) - { - vec3 oc = ro - ce; - float b = dot( oc, rd ); - float c = dot( oc, oc ) - ra * ra; - float h = b * b - c; - - if( h < 0.0 ) { return -1.0; } - - h = sqrt( h ); - - return - b + h; - } - vec3 project() - { - vec3 p = normalize( vWorldPosition ); - vec3 camPos = cameraPosition; - camPos.y -= height; - float intersection = sphereIntersect( camPos, p, vec3( 0.0 ), radius ); - if( intersection > 0.0 ) { - - vec3 h = vec3( 0.0, - height, 0.0 ); - float intersection2 = diskIntersectWithBackFaceCulling( camPos, p, h, vec3( 0.0, 1.0, 0.0 ), radius ); - p = ( camPos + min( intersection, intersection2 ) * p ) / radius; - } else { - p = vec3( 0.0, 1.0, 0.0 ); - } - return p; - } - #include - #include - void main() - { - vec3 projectedWorldPosition = project(); - - #ifdef ENVMAP_TYPE_CUBE - vec3 outcolor = textureCube( map, projectedWorldPosition ).rgb; - #else - vec3 direction = normalize( projectedWorldPosition ); - vec2 uv = equirectUv( direction ); - vec3 outcolor = texture2D( map, uv ).rgb; - #endif - gl_FragColor = vec4( outcolor, 1.0 ); - #include - #include <${c.version>=154?"colorspace_fragment":"encodings_fragment"}> - } - `,h={map:{value:e},height:{value:(null==t?void 0:t.height)||15},radius:{value:(null==t?void 0:t.radius)||100}};super(new u.IcosahedronGeometry(1,16),new u.ShaderMaterial({uniforms:h,fragmentShader:A,vertexShader:l,side:u.DoubleSide}))}set radius(e){this.material.uniforms.radius.value=e}get radius(){return this.material.uniforms.radius.value}set height(e){this.material.uniforms.height.value=e}get height(){return this.material.uniforms.height.value}}var d=e.i(60602),f=A;class B extends f.DataTextureLoader{constructor(e){super(e),this.type=f.HalfFloatType}parse(e){let t,r,n,a=function(e,t){switch(e){case 1:throw Error("THREE.RGBELoader: Read Error: "+(t||""));case 2:throw Error("THREE.RGBELoader: Write Error: "+(t||""));case 3:throw Error("THREE.RGBELoader: Bad File Format: "+(t||""));default:throw Error("THREE.RGBELoader: Memory Error: "+(t||""))}},i=function(e,t,r){t=t||1024;let n=e.pos,a=-1,i=0,s="",o=String.fromCharCode.apply(null,new Uint16Array(e.subarray(n,n+128)));for(;0>(a=o.indexOf("\n"))&&i=e.byteLength)&&(t=i(e))||a(1,"no header found"),(r=t.match(/^#\?(\S+)/))||a(3,"bad initial token"),A.valid|=1,A.programtype=r[1],A.string+=t+"\n";!1!==(t=i(e));){if(A.string+=t+"\n","#"===t.charAt(0)){A.comments+=t+"\n";continue}if((r=t.match(n))&&(A.gamma=parseFloat(r[1])),(r=t.match(s))&&(A.exposure=parseFloat(r[1])),(r=t.match(o))&&(A.valid|=2,A.format=r[1]),(r=t.match(l))&&(A.valid|=4,A.height=parseInt(r[1],10),A.width=parseInt(r[2],10)),2&A.valid&&4&A.valid)break}return 2&A.valid||a(3,"missing format specifier"),4&A.valid||a(3,"missing image size specifier"),A}(s),l=o.width,A=o.height,u=function(e,t,r){if(t<8||t>32767||2!==e[0]||2!==e[1]||128&e[2])return new Uint8Array(e);t!==(e[2]<<8|e[3])&&a(3,"wrong scanline width");let n=new Uint8Array(4*t*r);n.length||a(4,"unable to allocate buffer space");let i=0,s=0,o=4*t,l=new Uint8Array(4),A=new Uint8Array(o),u=r;for(;u>0&&se.byteLength&&a(1),l[0]=e[s++],l[1]=e[s++],l[2]=e[s++],l[3]=e[s++],(2!=l[0]||2!=l[1]||(l[2]<<8|l[3])!=t)&&a(3,"bad rgbe scanline format");let r=0,c;for(;r128;if(t&&(c-=128),(0===c||r+c>o)&&a(3,"bad scanline data"),t){let t=e[s++];for(let e=0;e>>1|(21845&x)<<1;J=(61680&(J=(52428&J)>>>2|(13107&J)<<2))>>>4|(3855&J)<<4,H[x]=((65280&J)>>>8|(255&J)<<8)>>>1}for(var L=function(e,t,r){for(var n,a=e.length,i=0,s=new M(t);i>>l]=A}else for(i=0,n=new M(a);i>>15-e[i]);return n},S=new g(288),x=0;x<144;++x)S[x]=8;for(var x=144;x<256;++x)S[x]=9;for(var x=256;x<280;++x)S[x]=7;for(var x=280;x<288;++x)S[x]=8;for(var U=new g(32),x=0;x<32;++x)U[x]=5;var O=L(S,9,0),P=L(S,9,1),_=L(U,5,0),K=L(U,5,1),k=function(e){for(var t=e[0],r=1;rt&&(t=e[r]);return t},N=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},Q=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},X=function(e){return(e/8|0)+(7&e&&1)},j=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof M?M:e instanceof v?v:g)(r-t);return n.set(e.subarray(t,r)),n},Y=function(e,t,r){var n=e.length;if(!n||r&&!r.l&&n<5)return t||new g(0);var a=!t||r,i=!r||r.i;r||(r={}),t||(t=new g(3*n));var s=function(e){var r=t.length;if(e>r){var n=new g(Math.max(2*r,e));n.set(t),t=n}},o=r.f||0,l=r.p||0,A=r.b||0,u=r.l,c=r.d,h=r.m,d=r.n,f=8*n;do{if(!u){r.f=o=N(e,l,1);var B=N(e,l+1,3);if(l+=3,B)if(1==B)u=P,c=K,h=9,d=5;else if(2==B){var p=N(e,l,31)+257,C=N(e,l+10,15)+4,m=p+N(e,l+5,31)+1;l+=14;for(var M=new g(m),v=new g(19),I=0;I>>4;if(H<16)M[I++]=H;else{var x=0,J=0;for(16==H?(J=3+N(e,l,3),l+=2,x=M[I-1]):17==H?(J=3+N(e,l,7),l+=3):18==H&&(J=11+N(e,l,127),l+=7);J--;)M[I++]=x}}var S=M.subarray(0,p),U=M.subarray(p);h=k(S),d=k(U),u=L(S,h,1),c=L(U,d,1)}else throw"invalid block type";else{var H=X(l)+4,O=e[H-4]|e[H-3]<<8,_=H+O;if(_>n){if(i)throw"unexpected EOF";break}a&&s(A+O),t.set(e.subarray(H,_),A),r.b=A+=O,r.p=l=8*_;continue}if(l>f){if(i)throw"unexpected EOF";break}}a&&s(A+131072);for(var Y=(1<>>4;if((l+=15&x)>f){if(i)throw"unexpected EOF";break}if(!x)throw"invalid length/literal";if(V<256)t[A++]=V;else if(256==V){Z=l,u=null;break}else{var z=V-254;if(V>264){var I=V-257,q=F[I];z=N(e,l,(1<>>4;if(!$)throw"invalid distance";l+=15&$;var U=T[ee];if(ee>3){var q=E[ee];U+=Q(e,l)&(1<f){if(i)throw"unexpected EOF";break}a&&s(A+131072);for(var et=A+z;A>>8},Z=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},V=function(e,t){for(var r=[],n=0;nh&&(h=i[n].s);var d=new M(h+1),f=z(r[u-1],d,0);if(f>t){var n=0,B=0,p=f-t,C=1<t)B+=C-(1<>>=p;B>0;){var v=i[n].s;d[v]=0&&B;--n){var F=i[n].s;d[F]==t&&(--d[F],++B)}f=t}return[new g(d),f]},z=function(e,t,r){return -1==e.s?Math.max(z(e.l,t,r+1),z(e.r,t,r+1)):t[e.s]=r},q=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new M(++t),n=0,a=e[0],i=1,s=function(e){r[n++]=e},o=1;o<=t;++o)if(e[o]==a&&o!=t)++i;else{if(!a&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(a),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(a);i=1,a=e[o]}return[r.subarray(0,n),t]},$=function(e,t){for(var r=0,n=0;n>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var i=0;i4&&!J[y[K-1]];--K);var k=A+5<<3,N=$(a,S)+$(i,U)+s,Q=$(a,p)+$(i,g)+s+14+3*K+$(w,J)+(2*w[16]+3*w[17]+7*w[18]);if(k<=N&&k<=Q)return ee(t,u,e.subarray(l,l+A));if(W(t,u,1+(Q15&&(W(t,u,z[H]>>>5&127),u+=z[H]>>>12)}}else c=O,h=S,d=_,f=U;for(var H=0;H255){var et=n[H]>>>18&31;Z(t,u,c[et+257]),u+=h[et+257],et>7&&(W(t,u,n[H]>>>23&31),u+=F[et]);var er=31&n[H];Z(t,u,d[er]),u+=f[er],er>3&&(Z(t,u,n[H]>>>5&8191),u+=E[er])}else Z(t,u,c[n[H]]),u+=h[n[H]];return Z(t,u,c[256]),u+h[256]},er=new v([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),en=new g(0),ea=function(e,t,r,n,a,i){var s=e.length,o=new g(n+s+5*(1+Math.ceil(s/7e3))+a),l=o.subarray(n,o.length-a),A=0;if(!t||s<8)for(var u=0;u<=s;u+=65535){var c=u+65535;c>>13,f=8191&h,B=(1<7e3||x>24576)&&P>423){A=et(e,l,0,G,R,D,H,x,L,u-L,A),x=T=H=0,L=u;for(var _=0;_<286;++_)R[_]=0;for(var _=0;_<30;++_)D[_]=0}var K=2,k=0,N=f,Q=U-O&32767;if(P>2&&S==I(u-Q))for(var Y=Math.min(d,P)-1,W=Math.min(32767,u),Z=Math.min(258,P);Q<=W&&--N&&U!=O;){if(e[u+K]==e[u+K-Q]){for(var V=0;VK){if(K=V,k=Q,V>Y)break;for(var z=Math.min(Q,V-2),q=0,_=0;_q&&(q=ei,O=$)}}}O=p[U=O],Q+=U-O+32768&32767}if(k){G[x++]=0x10000000|b[K]<<18|w[k];var es=31&b[K],eo=31&w[k];H+=F[es]+E[eo],++R[257+es],++D[eo],J=u+K,++T}else G[x++]=e[u],++R[e[u]]}}A=et(e,l,i,G,R,D,H,x,L,u-L,A),!i&&7&A&&(A=ee(l,A+1,en))}return j(o,0,n+X(A)+a)},ei=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-0x12477ce0)^r>>>1;e[t]=r}return e}(),es=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n>>8;e=r},d:function(){return~e}}},eo=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,i=r.length,s=0;s!=i;){for(var o=Math.min(s+2655,i);s>16),a=(65535&a)+15*(a>>16)}e=n,t=a},d:function(){return e%=65521,t%=65521,(255&e)<<24|e>>>8<<16|(255&t)<<8|t>>>8}}},el=function(e,t,r,n,a){return ea(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)},eA=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},eu=function(e,t,r){for(var n=e(),a=e.toString(),i=a.slice(a.indexOf("[")+1,a.lastIndexOf("]")).replace(/ /g,"").split(","),s=0;s>>0},ey=function(e,t){return eE(e,t)+0x100000000*eE(e,t+4)},eI=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},eG=function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:2*(9==t.level),e[9]=3,0!=t.mtime&&eI(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}},eR=function(e){if(31!=e[0]||139!=e[1]||8!=e[2])throw"invalid gzip data";var t=e[3],r=10;4&t&&(r+=e[10]|(e[11]<<8)+2);for(var n=(t>>3&1)+(t>>4&1);n>0;n-=!e[r++]);return r+(2&t)},eb=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},eD=function(e){return 10+(e.filename&&e.filename.length+1||0)},eT=function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)},ew=function(e){if((15&e[0])!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function eH(e,t){return t||"function"!=typeof e||(t=e,e={}),this.ondata=t,e}var ex=function(){function e(e,t){t||"function"!=typeof e||(t=e,e={}),this.ondata=t,this.o=e||{}}return e.prototype.p=function(e,t){this.ondata(el(e,this.o,0,0,!t),t)},e.prototype.push=function(e,t){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=t,this.p(e,t||!1)},e}(),eJ=function(e,t){ev([eB,function(){return[eM,ex]}],this,eH.call(this,e,t),function(e){onmessage=eM(new ex(e.data))},6)};function eL(e,t){return el(e,t||{},0,0)}var eS=function(){function e(e){this.s={},this.p=new g(0),this.ondata=e}return e.prototype.e=function(e){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var t=this.p.length,r=new g(t+e.length);r.set(this.p),r.set(e,t),this.p=r},e.prototype.c=function(e){this.d=this.s.i=e||!1;var t=this.s.b,r=Y(this.p,this.o,this.s);this.ondata(j(r,t,this.s.b),this.d),this.o=j(r,this.s.b-32768),this.s.b=this.o.length,this.p=j(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(e,t){this.e(e),this.c(t)},e}(),eU=function(e){this.ondata=e,ev([ef,function(){return[eM,eS]}],this,0,function(){onmessage=eM(new eS)},7)};function eO(e,t){return Y(e,t)}(function(){function e(e,t){this.c=es(),this.l=0,this.v=1,ex.call(this,e,t)}e.prototype.push=function(e,t){ex.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){this.c.p(e),this.l+=e.length;var r=el(e,this.o,this.v&&eD(this.o),t&&8,!t);this.v&&(eG(r,this.o),this.v=0),t&&(eI(r,r.length-8,this.c.d()),eI(r,r.length-4,this.l)),this.ondata(r,t)}})();var eP=function(){function e(e){this.v=1,eS.call(this,e)}return e.prototype.push=function(e,t){if(eS.prototype.e.call(this,e),this.v){var r=this.p.length>3?eR(this.p):4;if(r>=this.p.length&&!t)return;this.p=this.p.subarray(r),this.v=0}if(t){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}eS.prototype.c.call(this,t)},e}(),e_=function(e){this.ondata=e,ev([ef,ep,function(){return[eM,eS,eP]}],this,0,function(){onmessage=eM(new eP)},9)},eK=(function(){function e(e,t){this.c=eo(),this.v=1,ex.call(this,e,t)}e.prototype.push=function(e,t){ex.prototype.push.call(this,e,t)},e.prototype.p=function(e,t){this.c.p(e);var r=el(e,this.o,this.v&&2,t&&4,!t);this.v&&(eT(r,this.o),this.v=0),t&&eI(r,r.length-4,this.c.d()),this.ondata(r,t)}}(),function(){function e(e){this.v=1,eS.call(this,e)}return e.prototype.push=function(e,t){if(eS.prototype.e.call(this,e),this.v){if(this.p.length<2&&!t)return;this.p=this.p.subarray(2),this.v=0}if(t){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}eS.prototype.c.call(this,t)},e}()),ek=function(e){this.ondata=e,ev([ef,eC,function(){return[eM,eS,eK]}],this,0,function(){onmessage=eM(new eK)},11)};function eN(e,t){return Y((ew(e),e.subarray(2,-4)),t)}var eQ=function(){function e(e){this.G=eP,this.I=eS,this.Z=eK,this.ondata=e}return e.prototype.push=function(e,t){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(e,t);else{if(this.p&&this.p.length){var r=new g(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length)}else this.p=e;if(this.p.length>2){var n=this,a=function(){n.ondata.apply(n,arguments)};this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(a):(15&this.p[0])!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(a):new this.Z(a),this.s.push(this.p,t),this.p=null}}},e}();(function(e){this.G=e_,this.I=eU,this.Z=ek,this.ondata=e}).prototype.push=function(e,t){eQ.prototype.push.call(this,e,t)};var eX="u">typeof TextEncoder&&new TextEncoder,ej="u">typeof TextDecoder&&new TextDecoder,eY=0;try{ej.decode(en,{stream:!0}),eY=1}catch(e){}var eW=function(e){for(var t="",r=0;;){var n=e[r++],a=(n>127)+(n>223)+(n>239);if(r+a>e.length)return[t,j(e,r-1)];a?3==a?t+=String.fromCharCode(55296|(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536)>>10,56320|1023&n):1&a?t+=String.fromCharCode((31&n)<<6|63&e[r++]):t+=String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}};function eZ(e,t){if(t){for(var r=new g(e.length),n=0;n>1)),s=0,o=function(e){i[s++]=e},n=0;ni.length){var l=new g(s+8+(a-n<<1));l.set(i),i=l}var A=e.charCodeAt(n);A<128||t?o(A):(A<2048?o(192|A>>6):(A>55295&&A<57344?(o(240|(A=65536+(1047552&A)|1023&e.charCodeAt(++n))>>18),o(128|A>>12&63)):o(224|A>>12),o(128|A>>6&63)),o(128|63&A))}return j(i,0,s)}(function(e){this.ondata=e,eY?this.t=new TextDecoder:this.p=en}).prototype.push=function(e,t){if(!this.ondata)throw"no callback";if(t=!!t,this.t){if(this.ondata(this.t.decode(e,{stream:!0}),t),t){if(this.t.decode().length)throw"invalid utf-8 data";this.t=null}return}if(!this.p)throw"stream finished";var r=new g(this.p.length+e.length);r.set(this.p),r.set(e,this.p.length);var n=eW(r),a=n[0],i=n[1];if(t){if(i.length)throw"invalid utf-8 data";this.p=null}else this.p=i;this.ondata(a,t)},(function(e){this.ondata=e}).prototype.push=function(e,t){if(!this.ondata)throw"no callback";if(this.d)throw"stream finished";this.ondata(eZ(e),this.d=t||!1)};var eV=function(e){return 1==e?3:e<6?2:+(9==e)},ez=function(e,t){for(;1!=eF(e,t);t+=4+eF(e,t+2));return[ey(e,t+12),ey(e,t+4),ey(e,t+20)]},eq=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;if(n>65535)throw"extra field too long";t+=n+4}return t},e$=function(e,t,r,n,a,i,s,o){var l=n.length,A=r.extra,u=o&&o.length,c=eq(A);eI(e,t,null!=s?0x2014b50:0x4034b50),t+=4,null!=s&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(null==i&&8),e[t++]=a&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var h=new Date(null==r.mtime?Date.now():r.mtime),d=h.getFullYear()-1980;if(d<0||d>119)throw"date not in range 1980-2099";if(eI(e,t,d<<25|h.getMonth()+1<<21|h.getDate()<<16|h.getHours()<<11|h.getMinutes()<<5|h.getSeconds()>>>1),t+=4,null!=i&&(eI(e,t,r.crc),eI(e,t+4,i),eI(e,t+8,r.size)),eI(e,t+12,l),eI(e,t+14,c),t+=16,null!=s&&(eI(e,t,u),eI(e,t+6,r.attrs),eI(e,t+10,s),t+=14),e.set(n,t),t+=l,c)for(var f in A){var B=A[f],p=B.length;eI(e,t,+f),eI(e,t+2,p),e.set(B,t+4),t+=4+p}return u&&(e.set(o,t),t+=u),t},e0=function(e,t,r,n,a){eI(e,t,0x6054b50),eI(e,t+8,r),eI(e,t+10,r),eI(e,t+12,n),eI(e,t+16,a)},e1=function(){function e(e){this.filename=e,this.c=es(),this.size=0,this.compression=0}return e.prototype.process=function(e,t){this.ondata(null,e,t)},e.prototype.push=function(e,t){if(!this.ondata)throw"no callback - add to ZIP archive before pushing";this.c.p(e),this.size+=e.length,t&&(this.crc=this.c.d()),this.process(e,t||!1)},e}();function e9(e,t){var r=this;t||(t={}),e1.call(this,e),this.d=new ex(t,function(e,t){r.ondata(null,e,t)}),this.compression=8,this.flag=eV(t.level)}function e2(e,t){var r=this;t||(t={}),e1.call(this,e),this.d=new eJ(t,function(e,t,n){r.ondata(e,t,n)}),this.compression=8,this.flag=eV(t.level),this.terminate=this.d.terminate}function e8(e){this.ondata=e,this.u=[],this.d=1}e9.prototype.process=function(e,t){try{this.d.push(e,t)}catch(e){this.ondata(e,null,t)}},e9.prototype.push=function(e,t){e1.prototype.push.call(this,e,t)},e2.prototype.process=function(e,t){this.d.push(e,t)},e2.prototype.push=function(e,t){e1.prototype.push.call(this,e,t)},e8.prototype.add=function(e){var t=this;if(2&this.d)throw"stream finished";var r=eZ(e.filename),n=r.length,a=e.comment,i=a&&eZ(a),s=n!=e.filename.length||i&&a.length!=i.length,o=n+eq(e.extra)+30;if(n>65535)throw"filename too long";var l=new g(o);e$(l,0,e,r,s);var A=[l],u=function(){for(var e=0,r=A;e0){var n=Math.min(this.c,e.length),a=e.subarray(0,n);if(this.c-=n,this.d?this.d.push(a,!this.c):this.k[0].push(a),(e=e.subarray(n)).length)return this.push(e,t)}else{var i=0,s=0,o=void 0,l=void 0;this.p.length?e.length?((l=new g(this.p.length+e.length)).set(this.p),l.set(e,this.p.length)):l=this.p:l=e;for(var A=l.length,u=this.c,c=u&&this.d,h=this;ss+30+c+d){var f,B,p=[];h.k.unshift(p),i=2;var C=eE(l,s+18),m=eE(l,s+22),g=function(e,t){if(t){for(var r="",n=0;n=0&&(M.size=C,M.originalSize=m),h.onfile(M)}return"break"}if(u){if(0x8074b50==e)return o=s+=12+(-2==u&&8),i=3,h.c=0,"break";else if(0x2014b50==e)return o=s-=4,i=3,h.c=0,"break"}}();++s);if(this.p=en,u<0){var d=i?l.subarray(0,o-12-(-2==u&&8)-(0x8074b50==eE(l,o-16)&&4)):l.subarray(0,s);c?c.push(d,!!i):this.k[+(2==i)].push(d)}if(2&i)return this.push(l.subarray(s),t);this.p=l.subarray(s)}if(t){if(this.c)throw"invalid zip file";this.p=null}},e5.prototype.register=function(e){this.o[e.compression]=e};let e7=c.version>=152;class te extends p.DataTextureLoader{constructor(e){super(e),this.type=p.HalfFloatType}parse(e){let t={l:0,c:0,lc:0};function r(e,r,n,a,i){for(;n>(n-=e)&(1<>(n-=8),d=new Uint8Array([d])[0];if(c.value+d>h)return!1;for(var f=u[c.value-1];d-- >0;)u[c.value++]=f}else{if(!(c.value32767?t-65536:t}let A={a:0,b:0};function u(e,t){var r=l(e),n=l(t),a=r+(1&n)+(n>>1),i=a-n;A.a=a,A.b=i}function c(e,t){var r=65535&t,n=(65535&e)-(r>>1)&65535;A.a=r+n-32768&65535,A.b=n}function h(e,l,A,u,c,h){var d=A.value,f=I(l,A),B=I(l,A);A.value+=4;var p=I(l,A);if(A.value+=4,f<0||f>=65537||B<0||B>=65537)throw"Something wrong with HUF_ENCSIZE";for(var C=Array(65537),m=Array(16384),g=0;g<16384;g++)m[g]={},m[g].len=0,m[g].lit=0,m[g].p=null;var M=u-(A.value-d);if(!function(e,a,i,s,o,l){for(var A=0,u=0;s<=o;s++){if(a.value-a.value>i)return!1;r(6,A,u,e,a);var c=t.l;if(A=t.c,u=t.lc,l[s]=c,63==c){if(a.value-a.value>i)throw"Something wrong with hufUnpackEncTable";r(8,A,u,e,a);var h=t.l+6;if(A=t.c,u=t.lc,s+h>o+1)throw"Something wrong with hufUnpackEncTable";for(;h--;)l[s++]=0;s--}else if(c>=59){var h=c-59+2;if(s+h>o+1)throw"Something wrong with hufUnpackEncTable";for(;h--;)l[s++]=0;s--}}!function(e){for(var t=0;t<=58;++t)n[t]=0;for(var t=0;t<65537;++t)n[e[t]]+=1;for(var r=0,t=58;t>0;--t){var a=r+n[t]>>1;n[t]=r,r=a}for(var t=0;t<65537;++t){var i=e[t];i>0&&(e[t]=i|n[i]++<<6)}}(l)}(e,A,M,f,B,C),p>8*(u-(A.value-d)))throw"Something wrong with hufUncompress";!function(e,t,r,n){for(;t<=r;t++){var a=e[t]>>6,i=63&e[t];if(a>>i)throw"Invalid table entry";if(i>14){var s=n[a>>i-14];if(s.len)throw"Invalid table entry";if(s.lit++,s.p){var o=s.p;s.p=Array(s.lit);for(var l=0;l0;l--){var s=n[(a<<14-i)+A];if(s.len||s.p)throw"Invalid table entry";s.len=i,s.lit=t,A++}}}(C,f,B,m),function(e,t,r,n,l,A,u,c,h,d){for(var f=0,B=0,p=Math.trunc(l.value+(A+7)/8);l.value=14;){var C=t[f>>B-14&16383];if(C.len)B-=C.len,o(C.lit,u,f,B,r,n,l,h,d,c),f=s.c,B=s.lc;else{if(!C.p)throw"hufDecode issues";for(m=0;m=g&&e[C.p[m]]>>6==(f>>B-g&(1<>=M,B-=M;B>0;){var C=t[f<<14-B&16383];if(C.len)B-=C.len,o(C.lit,u,f,B,r,n,l,h,d,c),f=s.c,B=s.lc;else throw"hufDecode issues"}}(C,m,e,l,A,p,B,h,c,{value:0})}function d(e){for(var t=1;ti)&&(t[a++]=e[r++],!(a>i));){;t[a++]=e[n++]}}function B(e){for(var t=e.byteLength,r=[],n=0,a=new DataView(e);t>0;){var i=a.getInt8(n++);if(i<0){var s=-i;t-=s+1;for(var o=0;o=8192)throw"Something is wrong with PIZ_COMPRESSION BITMAP_SIZE";if(l<=d)for(var o=0;o>3]&1<<(7&n))&&(t[r++]=n);for(var a=r-1;r<65536;)t[r++]=0;return a}(a,f),p=I(t,r);h(e.array,t,r,p,n,i);for(var o=0;oa?a:r,h=1;h<=l;)h<<=1;for(h>>=1,d=h,h>>=1;h>=1;){for(var d,f,B,p,C,m=0,g=0+i*(a-d),M=i*h,v=i*d,F=n*h,E=n*d;m<=g;m+=v){for(var y=m,I=m+n*(r-d);y<=I;y+=E){var G=y+F,R=y+M,b=R+F;o?(u(e[y+t],e[R+t]),f=A.a,p=A.b,u(e[G+t],e[b+t]),B=A.a,C=A.b,u(f,B),e[y+t]=A.a,e[G+t]=A.b,u(p,C)):(c(e[y+t],e[R+t]),f=A.a,p=A.b,c(e[G+t],e[b+t]),B=A.a,C=A.b,c(f,B),e[y+t]=A.a,e[G+t]=A.b,c(p,C)),e[R+t]=A.a,e[b+t]=A.b}if(r&h){var R=y+M;o?u(e[y+t],e[R+t]):c(e[y+t],e[R+t]),f=A.a,e[R+t]=A.b,e[y+t]=f}}if(a&h)for(var y=m,I=m+n*(r-d);y<=I;y+=E){var G=y+F;o?u(e[y+t],e[G+t]):c(e[y+t],e[G+t]),f=A.a,e[G+t]=A.b,e[y+t]=f}d=h,h>>=1}}(n,C.start+m,C.nx,C.size,C.ny,C.nx*C.size,B);for(var g=i,M=0;M0;){var o=E(t.buffer,r),l=R(t,r),A=l>>2&3,u=new Int8Array([(l>>4)-1])[0],c=R(t,r);i.push({name:o,index:u,type:c,compression:A}),s-=o.length+3}for(var d=U.channels,f=Array(e.channels),C=0;C=0&&(v.idx[y.index]=F),m.offset=F)}if(a.acCompressedSize>0)switch(a.acCompression){case 0:var I=new Uint16Array(a.totalAcUncompressedCount);h(e.array,t,r,a.acCompressedSize,I,a.totalAcUncompressedCount);break;case 1:var G=e.array.slice(r.value,r.value+a.totalAcUncompressedCount),D=eN(G),I=new Uint16Array(D.buffer);r.value+=a.totalAcUncompressedCount}if(a.dcCompressedSize>0){var T=new Uint16Array(g({array:e.array,offset:r,size:a.dcCompressedSize}).buffer);r.value+=a.dcCompressedSize}if(a.rleRawSize>0){var G=e.array.slice(r.value,r.value+a.rleCompressedSize),D=eN(G),x=B(D.buffer);r.value+=a.rleCompressedSize}for(var J=0,L=Array(f.length),C=0;C>8==255?a+=255&n:(r[a]=n,a++),e.value++}(f,n,m[e]),v=m[e],(F=C[e])[0]=w(v[0]),F[1]=w(v[1]),F[2]=w(v[5]),F[3]=w(v[6]),F[4]=w(v[14]),F[5]=w(v[15]),F[6]=w(v[27]),F[7]=w(v[28]),F[8]=w(v[2]),F[9]=w(v[4]),F[10]=w(v[7]),F[11]=w(v[13]),F[12]=w(v[16]),F[13]=w(v[26]),F[14]=w(v[29]),F[15]=w(v[42]),F[16]=w(v[3]),F[17]=w(v[8]),F[18]=w(v[12]),F[19]=w(v[17]),F[20]=w(v[25]),F[21]=w(v[30]),F[22]=w(v[41]),F[23]=w(v[43]),F[24]=w(v[9]),F[25]=w(v[11]),F[26]=w(v[18]),F[27]=w(v[24]),F[28]=w(v[31]),F[29]=w(v[40]),F[30]=w(v[44]),F[31]=w(v[53]),F[32]=w(v[10]),F[33]=w(v[19]),F[34]=w(v[23]),F[35]=w(v[32]),F[36]=w(v[39]),F[37]=w(v[45]),F[38]=w(v[52]),F[39]=w(v[54]),F[40]=w(v[20]),F[41]=w(v[22]),F[42]=w(v[33]),F[43]=w(v[38]),F[44]=w(v[46]),F[45]=w(v[51]),F[46]=w(v[55]),F[47]=w(v[60]),F[48]=w(v[21]),F[49]=w(v[34]),F[50]=w(v[37]),F[51]=w(v[47]),F[52]=w(v[50]),F[53]=w(v[56]),F[54]=w(v[59]),F[55]=w(v[61]),F[56]=w(v[35]),F[57]=w(v[36]),F[58]=w(v[48]),F[59]=w(v[49]),F[60]=w(v[57]),F[61]=w(v[58]),F[62]=w(v[62]),F[63]=w(v[63]),function(e){let t=.5*Math.cos(3.14159/16),r=.5*Math.cos(3.14159/8),n=.5*Math.cos(3*3.14159/16),a=.5*Math.cos(3*3.14159/8);for(var i=[,,,,],s=[,,,,],o=[,,,,],l=[,,,,],A=0;A<8;++A){var u=8*A;i[0]=r*e[u+2],i[1]=a*e[u+2],i[2]=r*e[u+6],i[3]=a*e[u+6],s[0]=t*e[u+1]+n*e[u+3]+.2777854612564676*e[u+5]+.09754573032714427*e[u+7],s[1]=n*e[u+1]-.09754573032714427*e[u+3]-t*e[u+5]-.2777854612564676*e[u+7],s[2]=.2777854612564676*e[u+1]-t*e[u+3]+.09754573032714427*e[u+5]+n*e[u+7],s[3]=.09754573032714427*e[u+1]-.2777854612564676*e[u+3]+n*e[u+5]-t*e[u+7],o[0]=.35355362513961314*(e[u+0]+e[u+4]),o[3]=.35355362513961314*(e[u+0]-e[u+4]),o[1]=i[0]+i[3],o[2]=i[1]-i[2],l[0]=o[0]+o[1],l[1]=o[3]+o[2],l[2]=o[3]-o[2],l[3]=o[0]-o[1],e[u+0]=l[0]+s[0],e[u+1]=l[1]+s[1],e[u+2]=l[2]+s[2],e[u+3]=l[3]+s[3],e[u+4]=l[3]-s[3],e[u+5]=l[2]-s[2],e[u+6]=l[1]-s[1],e[u+7]=l[0]-s[0]}for(var c=0;c<8;++c)i[0]=r*e[16+c],i[1]=a*e[16+c],i[2]=r*e[48+c],i[3]=a*e[48+c],s[0]=t*e[8+c]+n*e[24+c]+.2777854612564676*e[40+c]+.09754573032714427*e[56+c],s[1]=n*e[8+c]-.09754573032714427*e[24+c]-t*e[40+c]-.2777854612564676*e[56+c],s[2]=.2777854612564676*e[8+c]-t*e[24+c]+.09754573032714427*e[40+c]+n*e[56+c],s[3]=.09754573032714427*e[8+c]-.2777854612564676*e[24+c]+n*e[40+c]-t*e[56+c],o[0]=.35355362513961314*(e[c]+e[32+c]),o[3]=.35355362513961314*(e[c]-e[32+c]),o[1]=i[0]+i[3],o[2]=i[1]-i[2],l[0]=o[0]+o[1],l[1]=o[3]+o[2],l[2]=o[3]-o[2],l[3]=o[0]-o[1],e[0+c]=l[0]+s[0],e[8+c]=l[1]+s[1],e[16+c]=l[2]+s[2],e[24+c]=l[3]+s[3],e[32+c]=l[3]-s[3],e[40+c]=l[2]-s[2],e[48+c]=l[1]-s[1],e[56+c]=l[0]-s[0]}(C[e])}for(var I=C,G=0;G<64;++G){var R=I[0][G],b=I[1][G],D=I[2][G];I[0][G]=R+1.5747*D,I[1][G]=R-.1873*b-.4682*D,I[2][G]=R+1.8556*b}for(let t=0;t<3;++t)!function(e,t,r){for(var n,a=0;a<64;++a){t[r+a]=p.DataUtils.toHalfFloat((n=e[a])<=1?Math.sign(n)*Math.pow(Math.abs(n),2.2):Math.sign(n)*Math.pow(9.025013291561939,Math.abs(n)-1))}}(C[t],g[t],64*e)}let i=0;for(let n=0;n<3;++n){let a=r[e.idx[n]].type;for(let e=8*t;e<8*t+E;++e){i=M[n][e];for(let t=0;t>10,r=1023&e;return(e>>15?-1:1)*(t?31===t?r?NaN:1/0:Math.pow(2,t-15)*(1+r/1024):r/1024*6103515625e-14)}function H(e,t){var r=e.getUint16(t.value,!0);return t.value+=2,r}function x(e,t){return w(H(e,t))}let J=new DataView(e),L=new Uint8Array(e),S={value:0},U=function(e,t,r){let n={};if(0x1312f76!=e.getUint32(0,!0))throw"THREE.EXRLoader: provided file doesn't appear to be in OpenEXR format.";n.version=e.getUint8(4);let a=e.getUint8(5);n.spec={singleTile:!!(2&a),longName:!!(4&a),deepFormat:!!(8&a),multiPart:!!(16&a)},r.value=8;for(var i=!0;i;){var s=E(t,r);if(0==s)i=!1;else{var o=E(t,r),l=I(e,r),A=function(e,t,r,n,a){var i,s,o,l,A,u,c;if("string"===n||"stringvector"===n||"iccProfile"===n)return i=new TextDecoder().decode(new Uint8Array(t).slice(r.value,r.value+a)),r.value=r.value+a,i;if("chlist"===n)return function(e,t,r,n){for(var a=r.value,i=[];r.valueO.height?O.height-t:O.scanlineBlockSize;let r=O.size=O.height)break;for(let e=0;e{let n;switch(e){case A.UnsignedByteType:n=new Uint8ClampedArray(t*r*4);break;case A.HalfFloatType:n=new Uint16Array(t*r*4);break;case A.UnsignedIntType:n=new Uint32Array(t*r*4);break;case A.ByteType:n=new Int8Array(t*r*4);break;case A.ShortType:n=new Int16Array(t*r*4);break;case A.IntType:n=new Int32Array(t*r*4);break;case A.FloatType:n=new Float32Array(t*r*4);break;default:throw Error("Unsupported data type")}return n};class tn{_renderer;_rendererIsDisposable=!1;_material;_scene;_camera;_quad;_renderTarget;_width;_height;_type;_colorSpace;_supportsReadPixels=!0;constructor(e){this._width=e.width,this._height=e.height,this._type=e.type,this._colorSpace=e.colorSpace;const r={format:A.RGBAFormat,depthBuffer:!1,stencilBuffer:!1,type:this._type,colorSpace:this._colorSpace,anisotropy:e.renderTargetOptions?.anisotropy!==void 0?e.renderTargetOptions?.anisotropy:1,generateMipmaps:e.renderTargetOptions?.generateMipmaps!==void 0&&e.renderTargetOptions?.generateMipmaps,magFilter:e.renderTargetOptions?.magFilter!==void 0?e.renderTargetOptions?.magFilter:A.LinearFilter,minFilter:e.renderTargetOptions?.minFilter!==void 0?e.renderTargetOptions?.minFilter:A.LinearFilter,samples:e.renderTargetOptions?.samples!==void 0?e.renderTargetOptions?.samples:void 0,wrapS:e.renderTargetOptions?.wrapS!==void 0?e.renderTargetOptions?.wrapS:A.ClampToEdgeWrapping,wrapT:e.renderTargetOptions?.wrapT!==void 0?e.renderTargetOptions?.wrapT:A.ClampToEdgeWrapping};if(this._material=e.material,e.renderer?this._renderer=e.renderer:(this._renderer=tn.instantiateRenderer(),this._rendererIsDisposable=!0),this._scene=new A.Scene,this._camera=new A.OrthographicCamera,this._camera.position.set(0,0,10),this._camera.left=-.5,this._camera.right=.5,this._camera.top=.5,this._camera.bottom=-.5,this._camera.updateProjectionMatrix(),!((e,r,n,a)=>{if(void 0!==t)return t;let i=new A.WebGLRenderTarget(1,1,a);r.setRenderTarget(i);let s=new A.Mesh(new A.PlaneGeometry,new A.MeshBasicMaterial({color:0xffffff}));r.render(s,n),r.setRenderTarget(null);let o=tr(e,i.width,i.height);return r.readRenderTargetPixels(i,0,0,i.width,i.height,o),i.dispose(),s.geometry.dispose(),s.material.dispose(),t=0!==o[0]})(this._type,this._renderer,this._camera,r)){let e;this._type===A.HalfFloatType&&(e=this._renderer.extensions.has("EXT_color_buffer_float")?A.FloatType:void 0),void 0!==e?(console.warn(`This browser does not support reading pixels from ${this._type} RenderTargets, switching to ${A.FloatType}`),this._type=e):(this._supportsReadPixels=!1,console.warn("This browser dos not support toArray or toDataTexture, calls to those methods will result in an error thrown"))}this._quad=new A.Mesh(new A.PlaneGeometry,this._material),this._quad.geometry.computeBoundingBox(),this._scene.add(this._quad),this._renderTarget=new A.WebGLRenderTarget(this.width,this.height,r),this._renderTarget.texture.mapping=e.renderTargetOptions?.mapping!==void 0?e.renderTargetOptions?.mapping:A.UVMapping}static instantiateRenderer(){let e=new tt.WebGLRenderer;return e.setSize(128,128),e}render=()=>{this._renderer.setRenderTarget(this._renderTarget);try{this._renderer.render(this._scene,this._camera)}catch(e){throw this._renderer.setRenderTarget(null),e}this._renderer.setRenderTarget(null)};toArray(){if(!this._supportsReadPixels)throw Error("Can't read pixels in this browser");let e=tr(this._type,this._width,this._height);return this._renderer.readRenderTargetPixels(this._renderTarget,0,0,this._width,this._height,e),e}toDataTexture(e){let t=new A.DataTexture(this.toArray(),this.width,this.height,A.RGBAFormat,this._type,e?.mapping||A.UVMapping,e?.wrapS||A.ClampToEdgeWrapping,e?.wrapT||A.ClampToEdgeWrapping,e?.magFilter||A.LinearFilter,e?.minFilter||A.LinearFilter,e?.anisotropy||1,A.LinearSRGBColorSpace);return t.generateMipmaps=e?.generateMipmaps!==void 0&&e?.generateMipmaps,t}disposeOnDemandRenderer(){this._renderer.setRenderTarget(null),this._rendererIsDisposable&&(this._renderer.dispose(),this._renderer.forceContextLoss())}dispose(e){this.disposeOnDemandRenderer(),e&&this.renderTarget.dispose(),this.material instanceof A.ShaderMaterial&&Object.values(this.material.uniforms).forEach(e=>{e.value instanceof A.Texture&&e.value.dispose()}),Object.values(this.material).forEach(e=>{e instanceof A.Texture&&e.dispose()}),this.material.dispose(),this._quad.geometry.dispose()}get width(){return this._width}set width(e){this._width=e,this._renderTarget.setSize(this._width,this._height)}get height(){return this._height}set height(e){this._height=e,this._renderTarget.setSize(this._width,this._height)}get renderer(){return this._renderer}get renderTarget(){return this._renderTarget}set renderTarget(e){this._renderTarget=e,this._width=e.width,this._height=e.height}get material(){return this._material}get type(){return this._type}get colorSpace(){return this._colorSpace}}var ta=A;class ti extends Error{}class ts extends Error{}let to=(e,t,r)=>{let n=RegExp(`${t}="([^"]*)"`,"i").exec(e);if(n)return n[1];let a=RegExp(`<${t}[^>]*>([\\s\\S]*?)`,"i").exec(e);if(a){let e=a[1].match(/([^<]*)<\/rdf:li>/g);return e&&3===e.length?e.map(e=>e.replace(/<\/?rdf:li>/g,"")):a[1].trim()}if(void 0!==r)return r;throw Error(`Can't find ${t} in gainmap metadata`)};class tl{options;constructor(e){this.options={debug:!!e&&void 0!==e.debug&&e.debug,extractFII:!e||void 0===e.extractFII||e.extractFII,extractNonFII:!e||void 0===e.extractNonFII||e.extractNonFII}}extract(e){return new Promise((t,r)=>{let n,a=this.options.debug,i=new DataView(e.buffer);if(65496!==i.getUint16(0))return void r(Error("Not a valid jpeg"));let s=i.byteLength,o=2,l=0;for(;o250)return void r(Error(`Found no marker after ${l} loops 😵`));if(255!==i.getUint8(o))return void r(Error(`Not a valid marker at offset 0x${o.toString(16)}, found: 0x${i.getUint8(o).toString(16)}`));if(n=i.getUint8(o+1),a&&console.log(`Marker: ${n.toString(16)}`),226===n){a&&console.log("Found APP2 marker (0xffe2)");let e=o+4;if(0x4d504600===i.getUint32(e)){let n,a=e+4;if(18761===i.getUint16(a))n=!1;else{if(19789!==i.getUint16(a))return void r(Error("No valid endianness marker found in TIFF header"));n=!0}if(42!==i.getUint16(a+2,!n))return void r(Error("Not valid TIFF data! (no 0x002A marker)"));let s=i.getUint32(a+4,!n);if(s<8)return void r(Error("Not valid TIFF data! (First offset less than 8)"));let o=a+s,l=i.getUint16(o,!n),A=o+2,u=0;for(let e=A;e{let t=(e=>{let t,r=(t="u">typeof TextDecoder?new TextDecoder().decode(e):e.toString()).indexOf("",r),n=t.slice(r,e+10);try{let e=to(n,"hdrgm:GainMapMin","0"),t=to(n,"hdrgm:GainMapMax"),r=to(n,"hdrgm:Gamma","1"),a=to(n,"hdrgm:OffsetSDR","0.015625"),i=to(n,"hdrgm:OffsetHDR","0.015625"),s=/hdrgm:HDRCapacityMin="([^"]*)"/.exec(n),o=s?s[1]:"0",l=/hdrgm:HDRCapacityMax="([^"]*)"/.exec(n);if(!l)throw Error("Incomplete gainmap metadata");let A=l[1];return{gainMapMin:Array.isArray(e)?e.map(e=>parseFloat(e)):[parseFloat(e),parseFloat(e),parseFloat(e)],gainMapMax:Array.isArray(t)?t.map(e=>parseFloat(e)):[parseFloat(t),parseFloat(t),parseFloat(t)],gamma:Array.isArray(r)?r.map(e=>parseFloat(e)):[parseFloat(r),parseFloat(r),parseFloat(r)],offsetSdr:Array.isArray(a)?a.map(e=>parseFloat(e)):[parseFloat(a),parseFloat(a),parseFloat(a)],offsetHdr:Array.isArray(i)?i.map(e=>parseFloat(e)):[parseFloat(i),parseFloat(i),parseFloat(i)],hdrCapacityMin:parseFloat(o),hdrCapacityMax:parseFloat(A)}}catch(e){}r=t.indexOf("new Promise((t,r)=>{let n=document.createElement("img");n.onload=()=>{t(n)},n.onerror=e=>{r(e)},n.src=URL.createObjectURL(e)});class tc extends ta.Loader{_renderer;_renderTargetOptions;_internalLoadingManager;_config;constructor(e,t){super(t),this._config=e,e.renderer&&(this._renderer=e.renderer),this._internalLoadingManager=new ta.LoadingManager}setRenderer(e){return this._renderer=e,this}setRenderTargetOptions(e){return this._renderTargetOptions=e,this}prepareQuadRenderer(){this._renderer||console.warn("WARNING: A Renderer was not passed to this Loader constructor or in setRenderer, the result of this Loader will need to be converted to a Data Texture with toDataTexture() before you can use it in your renderer.");let e=this._config.createMaterial({gainMapMax:[1,1,1],gainMapMin:[0,0,0],gamma:[1,1,1],offsetHdr:[1,1,1],offsetSdr:[1,1,1],hdrCapacityMax:1,hdrCapacityMin:0,maxDisplayBoost:1,gainMap:new ta.Texture,sdr:new ta.Texture});return this._config.createQuadRenderer({width:16,height:16,type:ta.HalfFloatType,colorSpace:ta.LinearSRGBColorSpace,material:e,renderer:this._renderer,renderTargetOptions:this._renderTargetOptions})}async processImages(e,t,r){let n,a,i=t?new Blob([t],{type:"image/jpeg"}):void 0,s=new Blob([e],{type:"image/jpeg"}),o=!1;if("u"new tB(e),createQuadRenderer:e=>new tn(e)},t)}async render(e,t,r,n){let{sdrImage:a,gainMapImage:i,needsFlip:s}=await this.processImages(r,n,"flipY"),{gainMap:o,sdr:l}=this.createTextures(a,i,s);this.updateQuadRenderer(e,a,o,l,t),e.render()}}class tC extends tp{load([e,t,r],n,a,i){let s,o,l,A=this.prepareQuadRenderer(),u=async()=>{if(s&&o&&l){try{await this.render(A,l,s,o)}catch(n){this.manager.itemError(e),this.manager.itemError(t),this.manager.itemError(r),"function"==typeof i&&i(n),A.disposeOnDemandRenderer();return}"function"==typeof n&&n(A),this.manager.itemEnd(e),this.manager.itemEnd(t),this.manager.itemEnd(r),A.disposeOnDemandRenderer()}},c=!0,h=0,d=0,f=!0,B=0,p=0,C=!0,m=0,g=0,M=()=>{"function"==typeof a&&a(new ProgressEvent("progress",{lengthComputable:c&&f&&C,loaded:d+p+g,total:h+B+m}))};this.manager.itemStart(e),this.manager.itemStart(t),this.manager.itemStart(r);let v=new th.FileLoader(this._internalLoadingManager);v.setResponseType("arraybuffer"),v.setRequestHeader(this.requestHeader),v.setPath(this.path),v.setWithCredentials(this.withCredentials),v.load(e,async e=>{if("string"==typeof e)throw Error("Invalid sdr buffer");s=e,await u()},e=>{c=e.lengthComputable,d=e.loaded,h=e.total,M()},t=>{this.manager.itemError(e),"function"==typeof i&&i(t)});let F=new th.FileLoader(this._internalLoadingManager);F.setResponseType("arraybuffer"),F.setRequestHeader(this.requestHeader),F.setPath(this.path),F.setWithCredentials(this.withCredentials),F.load(t,async e=>{if("string"==typeof e)throw Error("Invalid gainmap buffer");o=e,await u()},e=>{f=e.lengthComputable,p=e.loaded,B=e.total,M()},e=>{this.manager.itemError(t),"function"==typeof i&&i(e)});let E=new th.FileLoader(this._internalLoadingManager);return E.setRequestHeader(this.requestHeader),E.setPath(this.path),E.setWithCredentials(this.withCredentials),E.load(r,async e=>{if("string"!=typeof e)throw Error("Invalid metadata string");l=JSON.parse(e),await u()},e=>{C=e.lengthComputable,g=e.loaded,m=e.total,M()},e=>{this.manager.itemError(r),"function"==typeof i&&i(e)}),A}}class tm extends tp{load(e,t,r,n){let a=this.prepareQuadRenderer(),i=new th.FileLoader(this._internalLoadingManager);return i.setResponseType("arraybuffer"),i.setRequestHeader(this.requestHeader),i.setPath(this.path),i.setWithCredentials(this.withCredentials),this.manager.itemStart(e),i.load(e,async r=>{let i,s,o;if("string"==typeof r)throw Error("Invalid buffer, received [string], was expecting [ArrayBuffer]");let l=new Uint8Array(r);try{let e=await tA(l);i=e.sdr,s=e.gainMap,o=e.metadata}catch(t){if(t instanceof ts||t instanceof ti)console.warn(`Failure to reconstruct an HDR image from ${e}: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg`),o={gainMapMin:[0,0,0],gainMapMax:[1,1,1],gamma:[1,1,1],hdrCapacityMin:0,hdrCapacityMax:1,offsetHdr:[0,0,0],offsetSdr:[0,0,0]},i=l;else throw t}try{await this.render(a,o,i.buffer,s?.buffer)}catch(t){this.manager.itemError(e),"function"==typeof n&&n(t),a.disposeOnDemandRenderer();return}"function"==typeof t&&t(a),this.manager.itemEnd(e),a.disposeOnDemandRenderer()},r,t=>{this.manager.itemError(e),"function"==typeof n&&n(t)}),a}}let tg={apartment:"lebombo_1k.hdr",city:"potsdamer_platz_1k.hdr",dawn:"kiara_1_dawn_1k.hdr",forest:"forest_slope_1k.hdr",lobby:"st_fagans_interior_1k.hdr",night:"dikhololo_night_1k.hdr",park:"rooitou_park_1k.hdr",studio:"studio_small_03_1k.hdr",sunset:"venice_sunset_1k.hdr",warehouse:"empty_warehouse_01_1k.hdr"},tM="https://raw.githack.com/pmndrs/drei-assets/456060a26bbeb8fdf79326f224b6d99b8bcce736/hdri/",tv=["/px.png","/nx.png","/py.png","/ny.png","/pz.png","/nz.png"];function tF({files:e=tv,path:t="",preset:r,colorSpace:i,extensions:s}={}){r&&(tI(r),e=tg[r],t=tM);let o=Array.isArray(e),{extension:l,isCubemap:u}=tG(e),c=tR(l);if(!c)throw Error("useEnvironment: Unrecognized file extension: "+e);let h=(0,a.useThree)(e=>e.gl);(0,n.useLayoutEffect)(()=>{("webp"===l||"jpg"===l||"jpeg"===l)&&h.domElement.addEventListener("webglcontextlost",function(){d.useLoader.clear(c,o?[e]:e)},{once:!0})},[e,h.domElement]);let f=(0,d.useLoader)(c,o?[e]:e,e=>{("webp"===l||"jpg"===l||"jpeg"===l)&&e.setRenderer(h),null==e.setPath||e.setPath(t),s&&s(e)}),B=o?f[0]:f;if("jpg"===l||"jpeg"===l||"webp"===l){var p;B=null==(p=B.renderTarget)?void 0:p.texture}return B.mapping=u?A.CubeReflectionMapping:A.EquirectangularReflectionMapping,B.colorSpace=null!=i?i:u?"srgb":"srgb-linear",B}let tE={files:tv,path:"",preset:void 0,extensions:void 0};tF.preload=e=>{let t={...tE,...e},{files:r,path:n=""}=t,{preset:a,extensions:i}=t;a&&(tI(a),r=tg[a],n=tM);let{extension:s}=tG(r);if("webp"===s||"jpg"===s||"jpeg"===s)throw Error("useEnvironment: Preloading gainmaps is not supported");let o=tR(s);if(!o)throw Error("useEnvironment: Unrecognized file extension: "+r);d.useLoader.preload(o,Array.isArray(r)?[r]:r,e=>{null==e.setPath||e.setPath(n),i&&i(e)})};let ty={files:tv,preset:void 0};function tI(e){if(!(e in tg))throw Error("Preset must be one of: "+Object.keys(tg).join(", "))}function tG(e){var t;let r=Array.isArray(e)&&6===e.length,n=Array.isArray(e)&&3===e.length&&e.some(e=>e.endsWith("json")),a=Array.isArray(e)?e[0]:e;return{extension:r?"cube":n?"webp":a.startsWith("data:application/exr")?"exr":a.startsWith("data:application/hdr")?"hdr":a.startsWith("data:image/jpeg")?"jpg":null==(t=a.split(".").pop())||null==(t=t.split("?"))||null==(t=t.shift())?void 0:t.toLowerCase(),isCubemap:r,isGainmap:n}}function tR(e){return"cube"===e?A.CubeTextureLoader:"hdr"===e?B:"exr"===e?te:"jpg"===e||"jpeg"===e?tm:"webp"===e?tC:null}function tb(e,t,r,n,a={}){var i,s,l,A,u;let c;a={backgroundBlurriness:0,backgroundIntensity:1,backgroundRotation:[0,0,0],environmentIntensity:1,environmentRotation:[0,0,0],...a};let h=(c=u=t||r).current&&c.current.isScene?u.current:u,d=h.background,f=h.environment,B={backgroundBlurriness:h.backgroundBlurriness,backgroundIntensity:h.backgroundIntensity,backgroundRotation:null!=(i=null==(s=h.backgroundRotation)||null==s.clone?void 0:s.clone())?i:[0,0,0],environmentIntensity:h.environmentIntensity,environmentRotation:null!=(l=null==(A=h.environmentRotation)||null==A.clone?void 0:A.clone())?l:[0,0,0]};return"only"!==e&&(h.environment=n),e&&(h.background=n),(0,o.applyProps)(h,a),()=>{"only"!==e&&(h.environment=f),e&&(h.background=d),(0,o.applyProps)(h,B)}}function tD({scene:e,background:t=!1,map:r,...i}){let s=(0,a.useThree)(e=>e.scene);return n.useLayoutEffect(()=>{if(r)return tb(t,e,s,r,i)}),null}function tT({background:e=!1,scene:t,blur:r,backgroundBlurriness:i,backgroundIntensity:s,backgroundRotation:o,environmentIntensity:l,environmentRotation:A,...u}){let c=tF(u),h=(0,a.useThree)(e=>e.scene);return n.useLayoutEffect(()=>tb(e,t,h,c,{backgroundBlurriness:null!=r?r:i,backgroundIntensity:s,backgroundRotation:o,environmentIntensity:l,environmentRotation:A})),n.useEffect(()=>()=>{c.dispose()},[c]),null}function tw({children:e,near:t=.1,far:r=1e3,resolution:o=256,frames:l=1,map:u,background:c=!1,blur:h,backgroundBlurriness:d,backgroundIntensity:f,backgroundRotation:B,environmentIntensity:p,environmentRotation:C,scene:m,files:g,path:M,preset:v,extensions:F}){let E=(0,a.useThree)(e=>e.gl),y=(0,a.useThree)(e=>e.scene),I=n.useRef(null),[G]=n.useState(()=>new A.Scene),R=n.useMemo(()=>{let e=new A.WebGLCubeRenderTarget(o);return e.texture.type=A.HalfFloatType,e},[o]);n.useEffect(()=>()=>{R.dispose()},[R]),n.useLayoutEffect(()=>{if(1===l){let e=E.autoClear;E.autoClear=!0,I.current.update(E,G),E.autoClear=e}return tb(c,m,y,R.texture,{backgroundBlurriness:null!=h?h:d,backgroundIntensity:f,backgroundRotation:B,environmentIntensity:p,environmentRotation:C})},[e,G,R.texture,m,y,c,l,E]);let b=1;return(0,i.useFrame)(()=>{if(l===1/0||b(0,l.extend)({GroundProjectedEnvImpl:h}),[]),n.useEffect(()=>()=>{o.dispose()},[o]);let u=n.useMemo(()=>[A],[A]),c=null==(t=e.ground)?void 0:t.height,d=null==(a=e.ground)?void 0:a.radius,f=null!=(i=null==(s=e.ground)?void 0:s.scale)?i:1e3;return n.createElement(n.Fragment,null,n.createElement(tD,(0,r.default)({},e,{map:A})),n.createElement("groundProjectedEnvImpl",{args:u,scale:f,height:c,radius:d}))}tF.clear=e=>{let t={...ty,...e},{files:r}=t,{preset:n}=t;n&&(tI(n),r=tg[n]);let{extension:a}=tG(r),i=tR(a);if(!i)throw Error("useEnvironment: Unrecognized file extension: "+r);d.useLoader.clear(i,Array.isArray(r)?[r]:r)},e.s(["Environment",0,function(e){return e.ground?n.createElement(tH,e):e.map?n.createElement(tD,e):e.children?n.createElement(tw,e):n.createElement(tT,e)}],43257)}]); \ No newline at end of file diff --git a/.next/static/chunks/0cbrtnt1~j.f_.js b/.next/static/chunks/0cbrtnt1~j.f_.js deleted file mode 100644 index 102ac15..0000000 --- a/.next/static/chunks/0cbrtnt1~j.f_.js +++ /dev/null @@ -1,517 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1517,e=>{"use strict";let t,r;var i=e.i(43476),n=e.i(71645),s=e.i(75056),a=e.i(25234),o=e.i(28600),l=e.i(31067),c=e.i(90072),d=e.i(68911);let u=n.forwardRef(function({args:[e=1,t=1,r=1]=[],radius:i=.05,steps:s=1,smoothness:a=4,bevelSegments:o=4,creaseAngle:c=.4,children:d,...u},m){return n.createElement("mesh",(0,l.default)({ref:m},u),n.createElement(f,{args:[e,t,r],radius:i,steps:s,smoothness:a,bevelSegments:o,creaseAngle:c}),d)}),f=n.forwardRef(function({args:[e=1,t=1,r=1]=[],radius:i=.05,steps:s=1,smoothness:a=4,bevelSegments:o=4,creaseAngle:u=.4,...f},m){let p=n.useMemo(()=>{let r,n;return r=new c.Shape,n=i-1e-5,r.absarc(1e-5,1e-5,1e-5,-Math.PI/2,-Math.PI,!0),r.absarc(1e-5,t-2*n,1e-5,Math.PI,Math.PI/2,!0),r.absarc(e-2*n,t-2*n,1e-5,Math.PI/2,0,!0),r.absarc(e-2*n,1e-5,1e-5,0,-Math.PI/2,!0),r},[e,t,i]),h=n.useMemo(()=>({depth:r-2*i,bevelEnabled:!0,bevelSegments:2*o,steps:s,bevelSize:i-1e-5,bevelThickness:i,curveSegments:a}),[r,i,a,o,s]),v=n.useRef(null);return n.useLayoutEffect(()=>{v.current&&(v.current.center(),(0,d.toCreasedNormals)(v.current,u))},[p,h,u]),n.useImperativeHandle(m,()=>v.current),n.createElement("extrudeGeometry",(0,l.default)({ref:v,args:[p,h]},f))});var m=c,p=c;let h=new p.Box3,v=new p.Vector3;class x extends p.InstancedBufferGeometry{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new p.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new p.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))}applyMatrix4(e){let t=this.attributes.instanceStart,r=this.attributes.instanceEnd;return void 0!==t&&(t.applyMatrix4(e),r.applyMatrix4(e),t.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}setPositions(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));let r=new p.InstancedInterleavedBuffer(t,6,1);return this.setAttribute("instanceStart",new p.InterleavedBufferAttribute(r,3,0)),this.setAttribute("instanceEnd",new p.InterleavedBufferAttribute(r,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e,t=3){let r;e instanceof Float32Array?r=e:Array.isArray(e)&&(r=new Float32Array(e));let i=new p.InstancedInterleavedBuffer(r,2*t,1);return this.setAttribute("instanceColorStart",new p.InterleavedBufferAttribute(i,t,0)),this.setAttribute("instanceColorEnd",new p.InterleavedBufferAttribute(i,t,t)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new p.WireframeGeometry(e.geometry)),this}fromLineSegments(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new p.Box3);let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;void 0!==e&&void 0!==t&&(this.boundingBox.setFromBufferAttribute(e),h.setFromBufferAttribute(t),this.boundingBox.union(h))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new p.Sphere),null===this.boundingBox&&this.computeBoundingBox();let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;if(void 0!==e&&void 0!==t){let r=this.boundingSphere.center;this.boundingBox.getCenter(r);let i=0;for(let n=0,s=e.count;n - #include - #include - #include - - uniform float linewidth; - uniform vec2 resolution; - - attribute vec3 instanceStart; - attribute vec3 instanceEnd; - - #ifdef USE_COLOR - #ifdef USE_LINE_COLOR_ALPHA - varying vec4 vLineColor; - attribute vec4 instanceColorStart; - attribute vec4 instanceColorEnd; - #else - varying vec3 vLineColor; - attribute vec3 instanceColorStart; - attribute vec3 instanceColorEnd; - #endif - #endif - - #ifdef WORLD_UNITS - - varying vec4 worldPos; - varying vec3 worldStart; - varying vec3 worldEnd; - - #ifdef USE_DASH - - varying vec2 vUv; - - #endif - - #else - - varying vec2 vUv; - - #endif - - #ifdef USE_DASH - - uniform float dashScale; - attribute float instanceDistanceStart; - attribute float instanceDistanceEnd; - varying float vLineDistance; - - #endif - - void trimSegment( const in vec4 start, inout vec4 end ) { - - // trim end segment so it terminates between the camera plane and the near plane - - // conservative estimate of the near plane - float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column - float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column - float nearEstimate = - 0.5 * b / a; - - float alpha = ( nearEstimate - start.z ) / ( end.z - start.z ); - - end.xyz = mix( start.xyz, end.xyz, alpha ); - - } - - void main() { - - #ifdef USE_COLOR - - vLineColor = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd; - - #endif - - #ifdef USE_DASH - - vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd; - vUv = uv; - - #endif - - float aspect = resolution.x / resolution.y; - - // camera space - vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 ); - vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 ); - - #ifdef WORLD_UNITS - - worldStart = start.xyz; - worldEnd = end.xyz; - - #else - - vUv = uv; - - #endif - - // special case for perspective projection, and segments that terminate either in, or behind, the camera plane - // clearly the gpu firmware has a way of addressing this issue when projecting into ndc space - // but we need to perform ndc-space calculations in the shader, so we must address this issue directly - // perhaps there is a more elegant solution -- WestLangley - - bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column - - if ( perspective ) { - - if ( start.z < 0.0 && end.z >= 0.0 ) { - - trimSegment( start, end ); - - } else if ( end.z < 0.0 && start.z >= 0.0 ) { - - trimSegment( end, start ); - - } - - } - - // clip space - vec4 clipStart = projectionMatrix * start; - vec4 clipEnd = projectionMatrix * end; - - // ndc space - vec3 ndcStart = clipStart.xyz / clipStart.w; - vec3 ndcEnd = clipEnd.xyz / clipEnd.w; - - // direction - vec2 dir = ndcEnd.xy - ndcStart.xy; - - // account for clip-space aspect ratio - dir.x *= aspect; - dir = normalize( dir ); - - #ifdef WORLD_UNITS - - // get the offset direction as perpendicular to the view vector - vec3 worldDir = normalize( end.xyz - start.xyz ); - vec3 offset; - if ( position.y < 0.5 ) { - - offset = normalize( cross( start.xyz, worldDir ) ); - - } else { - - offset = normalize( cross( end.xyz, worldDir ) ); - - } - - // sign flip - if ( position.x < 0.0 ) offset *= - 1.0; - - float forwardOffset = dot( worldDir, vec3( 0.0, 0.0, 1.0 ) ); - - // don't extend the line if we're rendering dashes because we - // won't be rendering the endcaps - #ifndef USE_DASH - - // extend the line bounds to encompass endcaps - start.xyz += - worldDir * linewidth * 0.5; - end.xyz += worldDir * linewidth * 0.5; - - // shift the position of the quad so it hugs the forward edge of the line - offset.xy -= dir * forwardOffset; - offset.z += 0.5; - - #endif - - // endcaps - if ( position.y > 1.0 || position.y < 0.0 ) { - - offset.xy += dir * 2.0 * forwardOffset; - - } - - // adjust for linewidth - offset *= linewidth * 0.5; - - // set the world position - worldPos = ( position.y < 0.5 ) ? start : end; - worldPos.xyz += offset; - - // project the worldpos - vec4 clip = projectionMatrix * worldPos; - - // shift the depth of the projected points so the line - // segments overlap neatly - vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd; - clip.z = clipPose.z * clip.w; - - #else - - vec2 offset = vec2( dir.y, - dir.x ); - // undo aspect ratio adjustment - dir.x /= aspect; - offset.x /= aspect; - - // sign flip - if ( position.x < 0.0 ) offset *= - 1.0; - - // endcaps - if ( position.y < 0.0 ) { - - offset += - dir; - - } else if ( position.y > 1.0 ) { - - offset += dir; - - } - - // adjust for linewidth - offset *= linewidth; - - // adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ... - offset /= resolution.y; - - // select end - vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd; - - // back to clip space - offset *= clip.w; - - clip.xy += offset; - - #endif - - gl_Position = clip; - - vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation - - #include - #include - #include - - } - `,fragmentShader:` - uniform vec3 diffuse; - uniform float opacity; - uniform float linewidth; - - #ifdef USE_DASH - - uniform float dashOffset; - uniform float dashSize; - uniform float gapSize; - - #endif - - varying float vLineDistance; - - #ifdef WORLD_UNITS - - varying vec4 worldPos; - varying vec3 worldStart; - varying vec3 worldEnd; - - #ifdef USE_DASH - - varying vec2 vUv; - - #endif - - #else - - varying vec2 vUv; - - #endif - - #include - #include - #include - #include - - #ifdef USE_COLOR - #ifdef USE_LINE_COLOR_ALPHA - varying vec4 vLineColor; - #else - varying vec3 vLineColor; - #endif - #endif - - vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) { - - float mua; - float mub; - - vec3 p13 = p1 - p3; - vec3 p43 = p4 - p3; - - vec3 p21 = p2 - p1; - - float d1343 = dot( p13, p43 ); - float d4321 = dot( p43, p21 ); - float d1321 = dot( p13, p21 ); - float d4343 = dot( p43, p43 ); - float d2121 = dot( p21, p21 ); - - float denom = d2121 * d4343 - d4321 * d4321; - - float numer = d1343 * d4321 - d1321 * d4343; - - mua = numer / denom; - mua = clamp( mua, 0.0, 1.0 ); - mub = ( d1343 + d4321 * ( mua ) ) / d4343; - mub = clamp( mub, 0.0, 1.0 ); - - return vec2( mua, mub ); - - } - - void main() { - - #include - - #ifdef USE_DASH - - if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps - - if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX - - #endif - - float alpha = opacity; - - #ifdef WORLD_UNITS - - // Find the closest points on the view ray and the line segment - vec3 rayEnd = normalize( worldPos.xyz ) * 1e5; - vec3 lineDir = worldEnd - worldStart; - vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd ); - - vec3 p1 = worldStart + lineDir * params.x; - vec3 p2 = rayEnd * params.y; - vec3 delta = p1 - p2; - float len = length( delta ); - float norm = len / linewidth; - - #ifndef USE_DASH - - #ifdef USE_ALPHA_TO_COVERAGE - - float dnorm = fwidth( norm ); - alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm ); - - #else - - if ( norm > 0.5 ) { - - discard; - - } - - #endif - - #endif - - #else - - #ifdef USE_ALPHA_TO_COVERAGE - - // artifacts appear on some hardware if a derivative is taken within a conditional - float a = vUv.x; - float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; - float len2 = a * a + b * b; - float dlen = fwidth( len2 ); - - if ( abs( vUv.y ) > 1.0 ) { - - alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 ); - - } - - #else - - if ( abs( vUv.y ) > 1.0 ) { - - float a = vUv.x; - float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0; - float len2 = a * a + b * b; - - if ( len2 > 1.0 ) discard; - - } - - #endif - - #endif - - vec4 diffuseColor = vec4( diffuse, alpha ); - #ifdef USE_COLOR - #ifdef USE_LINE_COLOR_ALPHA - diffuseColor *= vLineColor; - #else - diffuseColor.rgb *= vLineColor; - #endif - #endif - - #include - - gl_FragColor = diffuseColor; - - #include - #include <${j.version>=154?"colorspace_fragment":"encodings_fragment"}> - #include - #include - - } - `,clipping:!0}),this.isLineMaterial=!0,this.onBeforeCompile=function(){this.transparent?this.defines.USE_LINE_COLOR_ALPHA="1":delete this.defines.USE_LINE_COLOR_ALPHA},Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(e){this.uniforms.diffuse.value=e}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(e){this.uniforms.linewidth.value=e}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(e){!!e!="USE_DASH"in this.defines&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(e){this.uniforms.dashScale.value=e}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(e){this.uniforms.dashSize.value=e}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(e){this.uniforms.dashOffset.value=e}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(e){this.uniforms.gapSize.value=e}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(e){this.uniforms.opacity.value=e}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(e){this.uniforms.resolution.value.copy(e)}},alphaToCoverage:{enumerable:!0,get:function(){return"USE_ALPHA_TO_COVERAGE"in this.defines},set:function(e){!!e!="USE_ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),!0===e?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(e)}}let S=j.version>=125?"uv1":"uv2",M=new m.Vector4,w=new m.Vector3,E=new m.Vector3,A=new m.Vector4,_=new m.Vector4,U=new m.Vector4,z=new m.Vector3,R=new m.Matrix4,P=new m.Line3,D=new m.Vector3,I=new m.Box3,L=new m.Sphere,C=new m.Vector4;function B(e,t,i){return C.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),C.multiplyScalar(1/C.w),C.x=r/i.width,C.y=r/i.height,C.applyMatrix4(e.projectionMatrixInverse),C.multiplyScalar(1/C.w),Math.abs(Math.max(C.x,C.y))}class F extends m.Mesh{constructor(e=new x,t=new b({color:0xffffff*Math.random()})){super(e,t),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){let e=this.geometry,t=e.attributes.instanceStart,r=e.attributes.instanceEnd,i=new Float32Array(2*t.count);for(let e=0,n=0,s=t.count;ef&&_.z>f)continue;if(A.z>f){let e=A.z-_.z,t=(A.z-f)/e;A.lerp(_,t)}else if(_.z>f){let e=_.z-A.z,t=(_.z-f)/e;_.lerp(A,t)}A.applyMatrix4(s),_.applyMatrix4(s),A.multiplyScalar(1/A.w),_.multiplyScalar(1/_.w),A.x*=a.x/2,A.y*=a.y/2,_.x*=a.x/2,_.y*=a.y/2,P.start.copy(A),P.start.z=0,P.end.copy(_),P.end.z=0;let l=P.closestPointToPointParameter(z,!0);P.at(l,D);let u=m.MathUtils.lerp(A.z,_.z,l),p=u>=-1&&u<=1,h=z.distanceTo(D)<.5*r;if(p&&h){P.start.fromBufferAttribute(c,i),P.end.fromBufferAttribute(d,i),P.start.applyMatrix4(o),P.end.applyMatrix4(o);let r=new m.Vector3,s=new m.Vector3;t.distanceSqToSegment(P.start,P.end,s,r),n.push({point:s,pointOnLine:r,distance:t.origin.distanceTo(s),object:e,face:null,faceIndex:i,uv:null,[S]:null})}}}(this,o,i))}}onBeforeRender(e){let t=this.material.uniforms;t&&t.resolution&&(e.getViewport(M),this.material.uniforms.resolution.value.set(M.z,M.w))}}class T extends x{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){let t=e.length-3,r=new Float32Array(2*t);for(let i=0;ie.size),v=n.useMemo(()=>a?new F:new k,[a]),[g]=n.useState(()=>new b),y=(null==r||null==(m=r[0])?void 0:m.length)===4?4:3,j=n.useMemo(()=>{let i=a?new x:new T,n=e.map(e=>{let t=Array.isArray(e);return e instanceof c.Vector3||e instanceof c.Vector4?[e.x,e.y,e.z]:e instanceof c.Vector2?[e.x,e.y,0]:t&&3===e.length?[e[0],e[1],e[2]]:t&&2===e.length?[e[0],e[1],0]:e});if(i.setPositions(n.flat()),r){t=0xffffff;let e=r.map(e=>e instanceof c.Color?e.toArray():e);i.setColors(e.flat(),y)}return i},[e,a,r,y]);return n.useLayoutEffect(()=>{v.computeLineDistances()},[e,v]),n.useLayoutEffect(()=>{d?g.defines.USE_DASH="":delete g.defines.USE_DASH,g.needsUpdate=!0},[d,g]),n.useEffect(()=>()=>{j.dispose(),g.dispose()},[j]),n.createElement("primitive",(0,l.default)({object:v,ref:f},u),n.createElement("primitive",{object:j,attach:"geometry"}),n.createElement("primitive",(0,l.default)({object:g,attach:"material",color:t,vertexColors:!!r,resolution:[h.width,h.height],linewidth:null!=(p=null!=i?i:s)?p:1,dashed:d,transparent:4===y},u)))});var O=c,N=e.i(67335);let V=parseInt(c.REVISION.replace(/\D+/g,""));class H extends O.ShaderMaterial{constructor(){super({uniforms:{time:{value:0},pixelRatio:{value:1}},vertexShader:` - uniform float pixelRatio; - uniform float time; - attribute float size; - attribute float speed; - attribute float opacity; - attribute vec3 noise; - attribute vec3 color; - varying vec3 vColor; - varying float vOpacity; - - void main() { - vec4 modelPosition = modelMatrix * vec4(position, 1.0); - modelPosition.y += sin(time * speed + modelPosition.x * noise.x * 100.0) * 0.2; - modelPosition.z += cos(time * speed + modelPosition.x * noise.y * 100.0) * 0.2; - modelPosition.x += cos(time * speed + modelPosition.x * noise.z * 100.0) * 0.2; - vec4 viewPosition = viewMatrix * modelPosition; - vec4 projectionPostion = projectionMatrix * viewPosition; - gl_Position = projectionPostion; - gl_PointSize = size * 25. * pixelRatio; - gl_PointSize *= (1.0 / - viewPosition.z); - vColor = color; - vOpacity = opacity; - } - `,fragmentShader:` - varying vec3 vColor; - varying float vOpacity; - void main() { - float distanceToCenter = distance(gl_PointCoord, vec2(0.5)); - float strength = 0.05 / distanceToCenter - 0.1; - gl_FragColor = vec4(vColor, strength * vOpacity); - #include - #include <${V>=154?"colorspace_fragment":"encodings_fragment"}> - } - `})}get time(){return this.uniforms.time.value}set time(e){this.uniforms.time.value=e}get pixelRatio(){return this.uniforms.pixelRatio.value}set pixelRatio(e){this.uniforms.pixelRatio.value=e}}let W=e=>e&&e.constructor===Float32Array,$=e=>e instanceof O.Vector2||e instanceof O.Vector3||e instanceof O.Vector4,q=e=>Array.isArray(e)?e:$(e)?e.toArray():[e,e,e];function Y(e,t,r){return n.useMemo(()=>{if(void 0!==t)if(W(t))return t;else{if(t instanceof O.Color){let r=Array.from({length:3*e},()=>[t.r,t.g,t.b]).flat();return Float32Array.from(r)}if($(t)||Array.isArray(t)){let r=Array.from({length:3*e},()=>q(t)).flat();return Float32Array.from(r)}return Float32Array.from({length:e},()=>t)}return Float32Array.from({length:e},r)},[t])}let K=n.forwardRef(({noise:e=1,count:t=100,speed:r=1,opacity:i=1,scale:s=1,size:c,color:d,children:u,...f},m)=>{n.useMemo(()=>(0,N.extend)({SparklesImplMaterial:H}),[]);let p=n.useRef(null),h=(0,o.useThree)(e=>e.viewport.dpr),v=q(s),x=n.useMemo(()=>Float32Array.from(Array.from({length:t},()=>v.map(O.MathUtils.randFloatSpread)).flat()),[t,...v]),g=Y(t,c,Math.random),y=Y(t,i),j=Y(t,r),b=Y(3*t,e),S=Y(void 0===d?3*t:t,W(d)?d:new O.Color(d),()=>1);return(0,a.useFrame)(e=>{p.current&&p.current.material&&(p.current.material.time=e.clock.elapsedTime)}),n.useImperativeHandle(m,()=>p.current,[]),n.createElement("points",(0,l.default)({key:`particle-${t}-${JSON.stringify(s)}`},f,{ref:p}),n.createElement("bufferGeometry",null,n.createElement("bufferAttribute",{attach:"attributes-position",args:[x,3]}),n.createElement("bufferAttribute",{attach:"attributes-size",args:[g,1]}),n.createElement("bufferAttribute",{attach:"attributes-opacity",args:[y,1]}),n.createElement("bufferAttribute",{attach:"attributes-speed",args:[j,1]}),n.createElement("bufferAttribute",{attach:"attributes-color",args:[S,3]}),n.createElement("bufferAttribute",{attach:"attributes-noise",args:[b,3]})),u||n.createElement("sparklesImplMaterial",{transparent:!0,pixelRatio:h,depthWrite:!1}))});var Z=e.i(60099),J=e.i(78140),X=e.i(68834);let Q=0,ee=(0,X.create)(e=>(c.DefaultLoadingManager.onStart=(t,r,i)=>{e({active:!0,item:t,loaded:r,total:i,progress:(r-Q)/(i-Q)*100})},c.DefaultLoadingManager.onLoad=()=>{e({active:!1})},c.DefaultLoadingManager.onError=t=>e(e=>({errors:[...e.errors,t]})),c.DefaultLoadingManager.onProgress=(t,r,i)=>{r===i&&(Q=i),e({active:!0,item:t,loaded:r,total:i,progress:(r-Q)/(i-Q)*100||100})},{errors:[],active:!1,progress:0,item:"",loaded:0,total:0})),et={uniforms:{tDiffuse:{value:null},h:{value:1/512}},vertexShader:` - varying vec2 vUv; - - void main() { - - vUv = uv; - gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); - - } - `,fragmentShader:` - uniform sampler2D tDiffuse; - uniform float h; - - varying vec2 vUv; - - void main() { - - vec4 sum = vec4( 0.0 ); - - sum += texture2D( tDiffuse, vec2( vUv.x - 4.0 * h, vUv.y ) ) * 0.051; - sum += texture2D( tDiffuse, vec2( vUv.x - 3.0 * h, vUv.y ) ) * 0.0918; - sum += texture2D( tDiffuse, vec2( vUv.x - 2.0 * h, vUv.y ) ) * 0.12245; - sum += texture2D( tDiffuse, vec2( vUv.x - 1.0 * h, vUv.y ) ) * 0.1531; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633; - sum += texture2D( tDiffuse, vec2( vUv.x + 1.0 * h, vUv.y ) ) * 0.1531; - sum += texture2D( tDiffuse, vec2( vUv.x + 2.0 * h, vUv.y ) ) * 0.12245; - sum += texture2D( tDiffuse, vec2( vUv.x + 3.0 * h, vUv.y ) ) * 0.0918; - sum += texture2D( tDiffuse, vec2( vUv.x + 4.0 * h, vUv.y ) ) * 0.051; - - gl_FragColor = sum; - - } - `},er={uniforms:{tDiffuse:{value:null},v:{value:1/512}},vertexShader:` - varying vec2 vUv; - - void main() { - - vUv = uv; - gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); - - } - `,fragmentShader:` - - uniform sampler2D tDiffuse; - uniform float v; - - varying vec2 vUv; - - void main() { - - vec4 sum = vec4( 0.0 ); - - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 4.0 * v ) ) * 0.051; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 3.0 * v ) ) * 0.0918; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 2.0 * v ) ) * 0.12245; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 1.0 * v ) ) * 0.1531; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 1.0 * v ) ) * 0.1531; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 2.0 * v ) ) * 0.12245; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 3.0 * v ) ) * 0.0918; - sum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 4.0 * v ) ) * 0.051; - - gl_FragColor = sum; - - } - `},ei=n.forwardRef(({scale:e=10,frames:t=1/0,opacity:r=1,width:i=1,height:s=1,blur:d=1,near:u=0,far:f=10,resolution:m=512,smooth:p=!0,color:h="#000000",depthWrite:v=!1,renderOrder:x,...g},y)=>{let j,b,S=n.useRef(null),M=(0,o.useThree)(e=>e.scene),w=(0,o.useThree)(e=>e.gl),E=n.useRef(null);i*=Array.isArray(e)?e[0]:e||1,s*=Array.isArray(e)?e[1]:e||1;let[A,_,U,z,R,P,D]=n.useMemo(()=>{let e=new c.WebGLRenderTarget(m,m),t=new c.WebGLRenderTarget(m,m);t.texture.generateMipmaps=e.texture.generateMipmaps=!1;let r=new c.PlaneGeometry(i,s).rotateX(Math.PI/2),n=new c.Mesh(r),a=new c.MeshDepthMaterial;a.depthTest=a.depthWrite=!1,a.onBeforeCompile=e=>{e.uniforms={...e.uniforms,ucolor:{value:new c.Color(h)}},e.fragmentShader=e.fragmentShader.replace("void main() {",`uniform vec3 ucolor; - void main() { - `),e.fragmentShader=e.fragmentShader.replace("vec4( vec3( 1.0 - fragCoordZ ), opacity );","vec4( ucolor * fragCoordZ * 2.0, ( 1.0 - fragCoordZ ) * 1.0 );")};let o=new c.ShaderMaterial(et),l=new c.ShaderMaterial(er);return l.depthTest=o.depthTest=!1,[e,r,a,n,o,l,t]},[m,i,s,e,h]),I=e=>{z.visible=!0,z.material=R,R.uniforms.tDiffuse.value=A.texture,R.uniforms.h.value=e/256,w.setRenderTarget(D),w.render(z,E.current),z.material=P,P.uniforms.tDiffuse.value=D.texture,P.uniforms.v.value=e/256,w.setRenderTarget(A),w.render(z,E.current),z.visible=!1},L=0;return(0,a.useFrame)(()=>{E.current&&(t===1/0||LS.current,[]),n.createElement("group",(0,l.default)({"rotation-x":Math.PI/2},g,{ref:S}),n.createElement("mesh",{renderOrder:x,geometry:_,scale:[1,-1,1],rotation:[-Math.PI/2,0,0]},n.createElement("meshBasicMaterial",{transparent:!0,map:A.texture,opacity:r,depthWrite:v})),n.createElement("orthographicCamera",{ref:E,args:[-i/2,i/2,s/2,-s/2,u,f]}))});var en=e.i(43257),es=e.i(24205);let ea=n.forwardRef(({light:e,args:t,map:r,toneMapped:i=!1,color:s="white",form:a="rect",intensity:o=1,scale:d=1,target:u=[0,0,0],children:f,...m},p)=>{let h=n.useRef(null);return n.useImperativeHandle(p,()=>h.current,[]),n.useLayoutEffect(()=>{f||m.material||((0,es.applyProps)(h.current.material,{color:s}),h.current.material.color.multiplyScalar(o))},[s,o,f,m.material]),n.useLayoutEffect(()=>{m.rotation||h.current.quaternion.identity(),u&&!m.rotation&&("boolean"==typeof u?h.current.lookAt(0,0,0):h.current.lookAt(Array.isArray(u)?new c.Vector3(...u):u))},[u,m.rotation]),d=Array.isArray(d)&&2===d.length?[d[0],d[1],1]:d,n.createElement("mesh",(0,l.default)({ref:h,scale:d},m),"circle"===a?n.createElement("ringGeometry",{args:t||[0,.5,64]}):"ring"===a?n.createElement("ringGeometry",{args:t||[.25,.5,64]}):"rect"===a||"plane"===a?n.createElement("planeGeometry",{args:t||[1,1]}):"box"===a?n.createElement("boxGeometry",{args:t||[1,1,1]}):n.createElement(a,{args:t}),f||n.createElement("meshBasicMaterial",{toneMapped:i,map:r,side:c.DoubleSide}),e&&n.createElement("pointLight",(0,l.default)({castShadow:!0},e)))});function eo({all:e,scene:t,camera:r}){let i=(0,o.useThree)(({gl:e})=>e),s=(0,o.useThree)(({camera:e})=>e),a=(0,o.useThree)(({scene:e})=>e);return n.useLayoutEffect(()=>{let n=[];e&&(t||a).traverse(e=>{!1===e.visible&&(n.push(e),e.visible=!0)}),i.compile(t||a,r||s);let o=new c.WebGLCubeRenderTarget(128);new c.CubeCamera(.01,1e5,o).update(i,t||a),o.dispose(),n.forEach(e=>e.visible=!1)},[]),null}var el=e.i(79877),ec=e.i(33623),ed=e.i(48228);let eu="#eef1f6",ef="#22C55E",em="#8B5CF6",ep="#3B82F6",eh="#F59E0B",ev="#C01227";function ex(){let e=(0,o.useThree)(e=>e.gl),t=(0,n.useRef)(null),r=(0,n.useRef)({t:0,frames:0,mount:0,firstFrame:0,nav:0});return(0,n.useEffect)(()=>{let e=r.current;e.mount=performance.now();let i=performance.getEntriesByType("navigation")[0];e.nav=i?Math.round(i.loadEventEnd||i.domContentLoadedEventEnd):0;let n=document.createElement("div");return n.style.cssText="position:fixed;top:10px;left:10px;z-index:99999;font:11px/1.5 ui-monospace,monospace;background:rgba(0,0,0,.82);color:#39ff14;padding:8px 11px;border-radius:7px;white-space:pre;pointer-events:none",document.body.appendChild(n),t.current=n,()=>{n.remove()}},[]),(0,a.useFrame)((i,n)=>{let s=r.current;if(!s.firstFrame&&s.mount&&(s.firstFrame=performance.now()-s.mount),s.frames++,s.t+=n,s.t>=.5&&t.current){let r=e.info.render,i=e.info.memory;t.current.textContent=`FPS ${(s.frames/s.t).toFixed(0)} -draws ${r.calls}${r.calls<100?" ✓":" ⚠"} -triangles ${r.triangles.toLocaleString()} -geometries ${i.geometries} -textures ${i.textures} -programs ${e.info.programs?.length??0} -page load ${s.nav}ms -WF3 1st fr ${Math.round(s.firstFrame)}ms`,s.frames=0,s.t=0}}),null}function eg({progress:e,reduced:t,isMobile:r}){let i=(0,n.useRef)(new c.Vector3(...(0,ed.cameraFor)(0).look));return(0,a.useFrame)((n,s)=>{let a=(e.current??0)*(ed.N-1),{pos:o,look:l}=(0,ed.cameraFor)(a),c=n.clock.elapsedTime,d=+!!r,u=o[0]*(1-.25*d)+.22*Math.sin(.22*c),f=o[1]+1.1*d+.1*Math.sin(.3*c),m=o[2]+3*d,p=t?1:1-Math.pow(.0025,s),h=n.camera;h.position.x+=(u-h.position.x)*p,h.position.y+=(f-h.position.y)*p,h.position.z+=(m-h.position.z)*p,i.current.x+=(l[0]-i.current.x)*p,i.current.y+=(l[1]-i.current.y)*p,i.current.z+=(l[2]-i.current.z)*p,h.lookAt(i.current)}),null}function ey(e,t,r){let i=(0,n.useRef)([]);return(0,n.useEffect)(()=>{r||(i.current=[])},[r]),(0,a.useFrame)(()=>{if(!r)return;let n=(t.current??0)*(ed.N-1),s=c.MathUtils.clamp(1-(Math.abs(n-e)-.2)/.3,0,1);for(let e of i.current)e.style.opacity=String(s)}),e=>{e&&!i.current.includes(e)&&i.current.push(e)}}function ej({position:e,color:t,size:r=.1,pulse:s=!1}){let o=(0,n.useRef)(null);return(0,a.useFrame)(t=>{o.current&&o.current.scale.setScalar(1+.2*Math.sin(2*t.clock.elapsedTime+e[0]))}),(0,i.jsxs)("group",{position:e,children:[(0,i.jsxs)("mesh",{children:[(0,i.jsx)("sphereGeometry",{args:[r,16,16]}),(0,i.jsx)("meshStandardMaterial",{color:t,emissive:t,emissiveIntensity:1,toneMapped:!1})]}),s&&(0,i.jsxs)("mesh",{ref:o,rotation:[-Math.PI/2,0,0],position:[0,-(.6*r),0],children:[(0,i.jsx)("ringGeometry",{args:[1.5*r,1.8*r,24]}),(0,i.jsx)("meshBasicMaterial",{color:t,transparent:!0,opacity:.5,side:c.DoubleSide,toneMapped:!1})]})]})}function eb({curve:e,color:t,speed:r=.4,offset:s=0,size:o=.06}){let l=(0,n.useRef)(null);return(0,a.useFrame)(t=>{l.current&&l.current.position.copy(e.getPoint((t.clock.elapsedTime*r+s)%1))}),(0,i.jsxs)("mesh",{ref:l,children:[(0,i.jsx)("sphereGeometry",{args:[o,8,8]}),(0,i.jsx)("meshBasicMaterial",{color:t,toneMapped:!1})]})}function eS(e,t){return new c.LineCurve3(new c.Vector3(...e),new c.Vector3(...t))}let eM={bike:"/models/scooter.glb",auto:"/models/auto_rickshaw.glb",truck:"/models/truck.glb",van:"/models/van.glb"},ew={bike:{size:1,rotY:.72*Math.PI},auto:{size:.92,rotY:.72*Math.PI},truck:{size:1.2,rotY:.72*Math.PI},van:{size:1.02,rotY:.72*Math.PI}};function eE(e,t){let r=e.clone(!0),i=[];r.traverse(e=>{if(/wheel|tyre|tire|\brim\b/i.test(e.name)&&i.push(e),!e.isMesh)return;e.castShadow=!0,e.receiveShadow=!1;let t=e.material,r=e=>{"transmission"in e&&e.transmission>0&&(e.transmission=0,e.transparent=!1,e.opacity=1),"envMapIntensity"in e&&(e.envMapIntensity=.4),e.needsUpdate=!0};Array.isArray(t)?t.forEach(r):r(t)});let n=new c.Box3().setFromObject(r),s=new c.Vector3;n.getSize(s);let a=new c.Vector3;n.getCenter(a);let o=t/Math.max(s.x,s.y,s.z,1e-4);return r.scale.setScalar(o),r.position.set(-a.x*o,-n.min.y*o,-a.z*o),{root:r,wheels:i}}function eA({kind:e,awake:t=!0}){let r=ew[e],{scene:s}=(0,J.useGLTF)(eM[e]),{root:o}=(0,n.useMemo)(()=>eE(s,r.size),[s,r]),l=(0,n.useRef)(null);return(0,a.useFrame)(r=>{let i=l.current;if(!i||!t)return;let n=r.clock.elapsedTime;switch(e){case"bike":i.position.y=.025*Math.abs(Math.sin(3*n)),i.rotation.z=.012*Math.sin(3*n);break;case"auto":i.rotation.z=.045*Math.sin(1.6*n),i.position.x=.02*Math.sin(1.6*n);break;case"truck":i.position.y=.012*Math.sin(+n),i.rotation.x=.006*Math.sin(.8*n);break;default:i.position.y=.05+.03*Math.sin(1.3*n)}}),(0,i.jsx)("group",{ref:l,rotation:[0,r.rotY,0],children:(0,i.jsx)("primitive",{object:o})})}function e_({route:e,reduced:t,i:r,progress:s,awake:o=!0}){let{scene:l}=(0,J.useGLTF)(eM.truck),d=(0,n.useMemo)(()=>eE(l,.85),[l]),u=(0,n.useRef)([]);(0,n.useEffect)(()=>{u.current=d.wheels},[d]);let f=(0,n.useRef)(null),m=(0,n.useRef)(null),p=(0,n.useMemo)(()=>new c.Quaternion,[]),h=(0,n.useMemo)(()=>new c.Euler,[]),v=(0,n.useRef)(0);return(0,a.useFrame)((i,n)=>{let a=f.current;if(!a||!o)return;let l=(s.current??0)*(ed.N-1),d=c.MathUtils.clamp(l-(r-.5),0,1),x=e.getPointAt(d);a.position.set(x.x,.02,x.z);let g=e.getPointAt(Math.min(1,d+.02)),y=g.x-x.x,j=g.z-x.z;if(y*y+j*j>1e-7&&(h.set(0,Math.atan2(-j,y)+0,0),p.setFromEuler(h),a.quaternion.slerp(p,t?1:1-Math.pow(6e-4,n))),!t){let e=Math.abs(d-v.current),t=u.current;for(let r=0;rJ.useGLTF.preload(e));let eU=[{id:"A",veh:"EV Bike",icon:"🚲",x:-2,kind:"bike"},{id:"B",veh:"Auto",icon:"🛺",x:-.67,kind:"auto"},{id:"C",veh:"Cargo Truck",icon:"🚚",x:.67,kind:"truck"},{id:"D",veh:"EV Van",icon:"🚐",x:2,kind:"van"}];function ez({curve:e,offset:t}){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,a.useFrame)(i=>{let n=(.3*i.clock.elapsedTime+t)%1;r.current&&(r.current.position.copy(e.getPoint(n)),r.current.rotation.y=6*n),s.current&&(s.current.opacity=n>.9?(1-n)*10:n<.08?12*n:1)}),(0,i.jsxs)("mesh",{ref:r,children:[(0,i.jsx)("boxGeometry",{args:[.16,.12,.16]}),(0,i.jsx)("meshStandardMaterial",{ref:s,color:"#ffffff",emissive:ef,emissiveIntensity:.6,transparent:!0,metalness:.1,roughness:.5,toneMapped:!1})]})}function eR({rider:e,register:t,awake:r,focused:s}){return(0,i.jsxs)("group",{position:[e.x,0,.1],children:[(0,i.jsxs)("mesh",{position:[0,.014,0],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.52,.64,36]}),(0,i.jsx)("meshBasicMaterial",{color:ef,transparent:!0,opacity:.6,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,.008,0],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("circleGeometry",{args:[.52,36]}),(0,i.jsx)("meshBasicMaterial",{color:ef,transparent:!0,opacity:.08,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsx)("group",{position:[0,.02,0],children:(0,i.jsx)(n.Suspense,{fallback:null,children:(0,i.jsx)(eA,{kind:e.kind,awake:r})})}),s&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,1.5,0],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-chip",ref:t,children:[(0,i.jsx)("span",{className:"dm-st3d-chip__ico",children:e.icon}),(0,i.jsxs)("span",{className:"dm-st3d-chip__txt",children:[(0,i.jsxs)("b",{children:["Rider ",e.id]}),e.veh]})]})})]})}let eP=[3.3,.45,-.7],eD=[0,.55,-1.4],eI=n.default.memo(function({i:e,progress:t,reduced:r,awake:s,focused:o}){let l=ey(e,t,s),d=(0,n.useRef)(null),u=(0,n.useRef)(null);(0,a.useFrame)((e,t)=>{if(s){if(d.current)if(r)d.current.textContent="59";else{let t=e.clock.elapsedTime%3.6;d.current.textContent=String(Math.min(59,Math.round(t/2.4*59)))}u.current&&!r&&(u.current.rotation.z+=.5*t)}});let f=(0,n.useMemo)(()=>eS(eP,eD),[]),m=(0,n.useMemo)(()=>eU.map(e=>eS(eD,[e.x,.12,.1])),[]);return(0,i.jsxs)("group",{position:(0,ed.districtPosition)(e),visible:s,children:[(0,i.jsx)(ej,{position:eP,color:ef,size:.12}),(0,i.jsx)(G,{points:f.getPoints(2),color:ef,lineWidth:1.8,transparent:!0,opacity:.5,toneMapped:!1}),s&&!r&&[0,.5].map(e=>(0,i.jsx)(ez,{curve:f,offset:e},e)),(0,i.jsxs)("group",{position:[0,0,-1.4],children:[(0,i.jsxs)("mesh",{position:[0,.02,0],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.95,1.12,44]}),(0,i.jsx)("meshBasicMaterial",{color:ef,transparent:!0,opacity:.5,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,.1,0],children:[(0,i.jsx)("cylinderGeometry",{args:[.72,.86,.2,6]}),(0,i.jsx)("meshStandardMaterial",{color:"#102a1d",metalness:.4,roughness:.45,emissive:ef,emissiveIntensity:.12})]}),(0,i.jsxs)("mesh",{position:[0,.55,0],children:[(0,i.jsx)("icosahedronGeometry",{args:[.32,1]}),(0,i.jsx)("meshStandardMaterial",{color:ef,emissive:ef,emissiveIntensity:1.2,toneMapped:!1,flatShading:!0})]}),(0,i.jsxs)("mesh",{ref:u,position:[0,.55,0],rotation:[Math.PI/2.4,0,0],children:[(0,i.jsx)("torusGeometry",{args:[.5,.025,10,40]}),(0,i.jsx)("meshStandardMaterial",{color:ef,emissive:ef,emissiveIntensity:1,toneMapped:!1})]})]}),m.map((e,t)=>(0,i.jsxs)("group",{children:[(0,i.jsx)(G,{points:e.getPoints(2),color:ef,lineWidth:1.6,transparent:!0,opacity:.45,toneMapped:!1}),s&&!r&&(0,i.jsx)(eb,{curve:e,color:ef,speed:.55,offset:.22*t})]},t)),(0,i.jsx)(ei,{position:[0,.02,.1],scale:[7.5,2.6],resolution:512,blur:2.6,far:1.2,opacity:.4,frames:1,color:"#1e293b"}),eU.map(e=>(0,i.jsx)(eR,{rider:e,register:l,awake:s,focused:o},e.id)),o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[eP[0],eP[1]+.5,eP[2]],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag",style:{"--tc":ef},ref:l,children:"📄 orders.csv"})}),(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,1.8,-1.4],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-count",ref:l,children:[(0,i.jsx)("span",{ref:d,children:"0"})," Orders"]})}),(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,1.32,-1.4],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag",style:{"--tc":ef},ref:l,children:"🤖 AI Assignment Hub"})})]})]})}),eL=[{name:"EV Aware",unified:!0},{name:"Multi Trip",unified:!0},{name:"Time Aware",unified:!0},{name:"Balanced",unified:!1},{name:"Fuel Saver",unified:!1},{name:"Proximity",unified:!1}],eC=[0,1.45,-2.7],eB=n.default.memo(function({i:e,progress:t,reduced:r,awake:s,focused:o}){let l=ey(e,t,s),d=(0,n.useRef)(null),u=(0,n.useRef)(null);(0,a.useFrame)((e,t)=>{!r&&s&&(d.current&&(d.current.rotation.z+=.6*t),u.current&&(u.current.rotation.y+=.4*t))});let f=(0,n.useMemo)(()=>eL.map((e,t)=>{let r=-.3+.18*Math.abs(t-2.5),i=[-3.4+1.36*t,.62,r];return{...e,end:i,curve:eS(eC,i)}}),[]);return(0,i.jsxs)("group",{position:(0,ed.districtPosition)(e),visible:s,children:[(0,i.jsxs)("mesh",{position:[0,.06,-.6],children:[(0,i.jsx)("cylinderGeometry",{args:[5.4,5.6,.12,56]}),(0,i.jsx)("meshStandardMaterial",{color:"#161b30",metalness:.5,roughness:.42,emissive:em,emissiveIntensity:.07})]}),(0,i.jsxs)("mesh",{position:[0,.13,-.6],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[5.2,5.42,64]}),(0,i.jsx)("meshBasicMaterial",{color:em,transparent:!0,opacity:.4,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,.65,-2.7],children:[(0,i.jsx)("cylinderGeometry",{args:[.4,.62,1.2,24]}),(0,i.jsx)("meshStandardMaterial",{color:"#2a3350",metalness:.5,roughness:.4})]}),(0,i.jsxs)("mesh",{ref:u,position:eC,children:[(0,i.jsx)("icosahedronGeometry",{args:[.6,1]}),(0,i.jsx)("meshStandardMaterial",{color:em,emissive:em,emissiveIntensity:1.3,toneMapped:!1,flatShading:!0})]}),(0,i.jsxs)("mesh",{ref:d,position:eC,rotation:[Math.PI/2.4,0,0],children:[(0,i.jsx)("torusGeometry",{args:[.98,.03,10,44]}),(0,i.jsx)("meshStandardMaterial",{color:em,emissive:em,emissiveIntensity:1.1,toneMapped:!1})]}),o&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,2.5,-2.7],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag",style:{"--tc":em},ref:l,children:"🤖 AI Engine"})}),f.map((e,t)=>{let n=e.unified?em:"#a99bd6";return(0,i.jsxs)("group",{children:[(0,i.jsx)(G,{points:e.curve.getPoints(2),color:n,lineWidth:e.unified?2.4:1.6,transparent:!0,opacity:e.unified?.7:.5,toneMapped:!1}),s&&!r&&(0,i.jsx)(eb,{curve:e.curve,color:n,speed:.5,offset:.16*t,size:e.unified?.075:.06}),(0,i.jsxs)("mesh",{position:[e.end[0],.135,e.end[2]],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.34,.44,28]}),(0,i.jsx)("meshBasicMaterial",{color:n,transparent:!0,opacity:e.unified?.6:.4,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsx)(ej,{position:e.end,color:n,size:e.unified?.15:.11}),o&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[e.end[0],e.end[1]+.62,e.end[2]],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:`dm-st3d-tag ${e.unified?"is-u":"is-muted"}`,style:{"--tc":e.unified?em:"#94a3b8"},ref:l,children:e.name})})]},e.name)})]})}),eF=[-2.9,1.9],eT=[[-1.5,-2.6],[.1,-1],[1.7,-2.3],[2.7,.3],[.9,1.5],[-.6,.5]],ek=[{t:"Route Optimization",p:[-2.7,2.5,-.4]},{t:"Battery Validation",p:[2.6,2.9,-1.2]},{t:"SLA Validation",p:[-2.3,2,1.6]},{t:"Feasibility Check",p:[2.5,1.7,1.8]}],eG=["Route Node A",null,"Route Node B",null,"Route Node C","📦 Delivery"];function eO({pos:e,i:t,progress:r}){let s=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,a.useFrame)(e=>{let i=(r.current??0)*(ed.N-1),n=c.MathUtils.clamp(i-(t-.5),0,1);if(s.current&&o.current)if(n>.85){let t=e.clock.elapsedTime%1.1/1.1;s.current.scale.setScalar(1+3*t),o.current.opacity=(1-t)*.6}else o.current.opacity=0}),(0,i.jsxs)("mesh",{ref:s,position:e,rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.2,.3,32]}),(0,i.jsx)("meshBasicMaterial",{ref:o,color:ep,transparent:!0,opacity:0,side:c.DoubleSide,toneMapped:!1})]})}function eN({pos:e,i:t,progress:r}){let s=(0,n.useRef)(null);return(0,a.useFrame)(()=>{let e=(r.current??0)*(ed.N-1),i=c.MathUtils.clamp(e-(t-.5),0,1);s.current&&(s.current.style.opacity=i>.9?"1":"0")}),(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:e,zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag is-win",style:{"--tc":ep,opacity:0},ref:s,children:"✓ Delivered"})})}let eV=n.default.memo(function({i:e,progress:t,reduced:r,awake:s,focused:a}){let o=ey(e,t,s),l=(0,n.useMemo)(()=>{let e=[eF,...eT].map(([e,t])=>new c.Vector3(e,.12,t));return new c.CatmullRomCurve3(e,!1,"catmullrom",.2)},[]),d=(0,n.useMemo)(()=>l.getPoints(100),[l]),u=eT[eT.length-1];return(0,i.jsxs)("group",{position:(0,ed.districtPosition)(e),visible:s,children:[(0,i.jsx)(G,{points:d,color:ep,lineWidth:2.6,transparent:!0,opacity:.8,toneMapped:!1}),(0,i.jsx)(n.Suspense,{fallback:null,children:(0,i.jsx)(e_,{route:l,reduced:r,i:e,progress:t,awake:s})}),(0,i.jsxs)("group",{position:[eF[0],0,eF[1]],children:[(0,i.jsxs)("mesh",{position:[0,.02,0],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.62,.74,36]}),(0,i.jsx)("meshBasicMaterial",{color:ep,transparent:!0,opacity:.5,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,.13,0],children:[(0,i.jsx)("cylinderGeometry",{args:[.5,.58,.26,6]}),(0,i.jsx)("meshStandardMaterial",{color:"#0f2036",emissive:ep,emissiveIntensity:.15,metalness:.4,roughness:.45})]}),(0,i.jsx)(ej,{position:[0,.52,0],color:ep,size:.14})]}),eT.map(([e,t],r)=>{let n=r===eT.length-1;return(0,i.jsxs)("group",{position:[e,0,t],children:[(0,i.jsxs)("mesh",{position:[0,.02,0],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[.16,.23,20]}),(0,i.jsx)("meshBasicMaterial",{color:ep,transparent:!0,opacity:.55,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,.3,0],children:[(0,i.jsx)("cylinderGeometry",{args:[.03,.03,.6,8]}),(0,i.jsx)("meshStandardMaterial",{color:ep,emissive:ep,emissiveIntensity:.4})]}),(0,i.jsx)(ej,{position:[0,.66,0],color:ep,size:n?.16:.12})]},r)}),s&&(0,i.jsx)(eO,{pos:[u[0],.02,u[1]],i:e,progress:t}),a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[eF[0],1.05,eF[1]],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag",style:{"--tc":ep},ref:o,children:"🏢 Dispatch Hub"})}),eT.map(([e,t],r)=>{let n=eG[r];return n?(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[e,1.06,t],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsx)("div",{className:"dm-st3d-tag",style:{"--tc":ep},ref:o,children:n})},r):null}),(0,i.jsx)(eN,{pos:[u[0],1.42,u[1]],i:e,progress:t}),ek.map(e=>(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:e.p,zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-tag",style:{"--tc":ep},ref:o,children:["✓ ",e.t]})},e.t)),(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,3.2,-.4],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-score",style:{"--tc":ep},ref:o,children:["🗺️ Route optimized · ",(0,i.jsx)("b",{children:"−18%"})," distance"]})})]})]})}),eH=[{n:"Fulfillment",v:88,a:-.66},{n:"SLA Compliance",v:95,a:-.22},{n:"Efficiency",v:92,a:.22},{n:"Battery",v:100,a:.66}],eW=n.default.memo(function({i:e,progress:t,awake:r,focused:s}){let a=ey(e,t,r),o=(0,n.useMemo)(()=>eH.map(e=>{let t=[3.6*Math.sin(e.a),1.5,-1.4+(1-Math.cos(e.a))*3.6];return{...e,p:t,rotY:-e.a}}),[]);return(0,i.jsxs)("group",{position:(0,ed.districtPosition)(e),visible:r,children:[(0,i.jsxs)("mesh",{position:[0,.45,1.4],rotation:[-.12,0,0],children:[(0,i.jsx)("boxGeometry",{args:[5.6,.18,1.5]}),(0,i.jsx)("meshStandardMaterial",{color:"#dfe4f1",metalness:.4,roughness:.4})]}),(0,i.jsxs)("mesh",{position:[0,.12,.9],children:[(0,i.jsx)("boxGeometry",{args:[5.2,.24,.6]}),(0,i.jsx)("meshStandardMaterial",{color:"#cdd5e6",metalness:.3,roughness:.5})]}),o.map(e=>(0,i.jsxs)("group",{position:e.p,rotation:[0,e.rotY,0],children:[(0,i.jsx)(u,{args:[1.7,1.15,.06],radius:.06,smoothness:2,children:(0,i.jsx)("meshStandardMaterial",{color:"#ffffff",emissive:eh,emissiveIntensity:.18,metalness:.1,roughness:.4,transparent:!0,opacity:.92})}),s&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:8,position:[0,0,.05],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-kpi",style:{"--tc":eh},ref:a,children:[(0,i.jsx)("span",{className:"dm-st3d-kpi__n",children:e.n}),(0,i.jsxs)("span",{className:"dm-st3d-kpi__v",children:[e.v,(0,i.jsx)("i",{children:"%"})]}),(0,i.jsx)("span",{className:"dm-st3d-kpi__bar",children:(0,i.jsx)("i",{style:{width:`${e.v}%`}})})]})})]},e.n)),s&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,3.1,-.4],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-score",style:{"--tc":eh},ref:a,children:["Performance Grade ",(0,i.jsx)("b",{children:"A"})," · 4.5 / 5"]})})]})}),e$=[{n:"EV Aware",v:88,x:-2.4,win:!0},{n:"Multi Trip",v:79,x:-.8,win:!1},{n:"Balanced",v:71,x:.8,win:!1},{n:"Proximity",v:64,x:2.4,win:!1}];function eq({p:e,register:t,focused:r}){let n=.6+e.v/100*2.2,s=e.win?ev:"#94a3b8";return(0,i.jsxs)("group",{position:[e.x,0,-.6],children:[(0,i.jsxs)("mesh",{position:[0,n/2+.1,0],children:[(0,i.jsx)("boxGeometry",{args:[1,n,1]}),(0,i.jsx)("meshStandardMaterial",{color:s,emissive:s,emissiveIntensity:e.win?.7:.15,metalness:.2,roughness:.4,transparent:!0,opacity:e.win?.96:.7,toneMapped:!1})]}),r&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[0,n+.45,0],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:`dm-st3d-tag ${e.win?"is-win":"is-muted"}`,style:{"--tc":s},ref:t,children:[(0,i.jsxs)("b",{children:[e.v,"%"]})," ",e.n]})})]})}let eY=n.default.memo(function({i:e,progress:t,reduced:r,isMobile:s,awake:o,focused:l}){let d=ey(e,t,o),u=(0,n.useRef)(null);return(0,a.useFrame)(e=>{u.current&&!r&&o&&(u.current.position.y=.6+.88*2.2+.95+.08*Math.sin(1.4*e.clock.elapsedTime),u.current.rotation.y+=.01)}),(0,i.jsxs)("group",{position:(0,ed.districtPosition)(e),visible:o,children:[(0,i.jsxs)("mesh",{position:[0,.05,-.6],children:[(0,i.jsx)("cylinderGeometry",{args:[4.3,4.5,.12,48]}),(0,i.jsx)("meshStandardMaterial",{color:"#1d1622",metalness:.5,roughness:.42,emissive:ev,emissiveIntensity:.06})]}),(0,i.jsxs)("mesh",{position:[0,.12,-.6],rotation:[-Math.PI/2,0,0],children:[(0,i.jsx)("ringGeometry",{args:[4.1,4.32,56]}),(0,i.jsx)("meshBasicMaterial",{color:ev,transparent:!0,opacity:.35,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[-2.4,.14,-.6],children:[(0,i.jsx)("cylinderGeometry",{args:[.85,.9,.14,28]}),(0,i.jsx)("meshStandardMaterial",{color:ev,emissive:ev,emissiveIntensity:.9,toneMapped:!1})]}),e$.map(e=>(0,i.jsx)(eq,{p:e,register:d,focused:l},e.n)),(0,i.jsxs)("mesh",{position:[-2.4,3,-.6],children:[(0,i.jsx)("coneGeometry",{args:[1,2.6,28,1,!0]}),(0,i.jsx)("meshBasicMaterial",{color:ev,transparent:!0,opacity:.07,side:c.DoubleSide,toneMapped:!1})]}),(0,i.jsxs)("group",{ref:u,position:[-2.4,3.5,-.6],children:[(0,i.jsxs)("mesh",{position:[0,.18,0],children:[(0,i.jsx)("sphereGeometry",{args:[.26,24,12,0,2*Math.PI,0,Math.PI/1.7]}),(0,i.jsx)("meshStandardMaterial",{color:"#FFD45A",emissive:"#FFB020",emissiveIntensity:1.2,metalness:.6,roughness:.25,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,-.06,0],children:[(0,i.jsx)("cylinderGeometry",{args:[.05,.05,.24,10]}),(0,i.jsx)("meshStandardMaterial",{color:"#FFD45A",emissive:"#FFB020",emissiveIntensity:1,toneMapped:!1})]}),(0,i.jsxs)("mesh",{position:[0,-.22,0],children:[(0,i.jsx)("cylinderGeometry",{args:[.18,.22,.1,16]}),(0,i.jsx)("meshStandardMaterial",{color:"#FFD45A",emissive:"#FFB020",emissiveIntensity:1,toneMapped:!1})]})]}),o&&!r&&(0,i.jsx)(K,{count:s?12:16,scale:[5,4,4],position:[-2.4,2.6,-.6],size:3.2,speed:.5,opacity:.9,color:"#ff9aa9"}),l&&(0,i.jsx)(Z.Html,{center:!0,distanceFactor:9,position:[.7,3,-.6],zIndexRange:[20,0],pointerEvents:"none",children:(0,i.jsxs)("div",{className:"dm-st3d-winner3d",ref:d,children:[(0,i.jsx)("span",{className:"dm-st3d-winner3d__top",children:"🏆 Best Strategy"}),(0,i.jsx)("span",{className:"dm-st3d-winner3d__name",children:"EV Aware"}),(0,i.jsxs)("span",{className:"dm-st3d-winner3d__row",children:[(0,i.jsx)("b",{children:"88%"})," Performance Score"]}),(0,i.jsxs)("span",{className:"dm-st3d-winner3d__row",children:[(0,i.jsx)("b",{children:"52/59"})," Orders Fulfilled"]})]})})]})});function eK(){let e=(0,n.useMemo)(()=>{let e=[];for(let t=0;te.getPoints(110),[e]);return(0,i.jsxs)("group",{children:[(0,i.jsx)(G,{points:t,color:"#9aa6c4",lineWidth:2,transparent:!0,opacity:.5,toneMapped:!1}),[0,.33,.66].map(t=>(0,i.jsx)(eb,{curve:e,color:"#c7cee0",speed:.06,offset:t,size:.09},t))]})}function eZ(){let e=-(13*(ed.N-1))/2,t=(0,n.useMemo)(()=>{let e=new c.CanvasTexture(function(){let e=document.createElement("canvas");e.width=e.height=256;let t=e.getContext("2d");t.fillStyle="#e7ebf3",t.fillRect(0,0,256,256),t.strokeStyle="#d3dae8",t.lineWidth=1.5;for(let e=0;e<=8;e++){let r=e/8*256+.5;t.beginPath(),t.moveTo(r,0),t.lineTo(r,256),t.stroke(),t.beginPath(),t.moveTo(0,r),t.lineTo(256,r),t.stroke()}return t.strokeStyle="#c0cadd",t.lineWidth=3,t.strokeRect(0,0,256,256),e}());return e.wrapS=e.wrapT=c.RepeatWrapping,e.repeat.set(52,52),e.colorSpace=c.SRGBColorSpace,e.anisotropy=4,e},[]);return(0,i.jsxs)("mesh",{rotation:[-Math.PI/2,0,0],position:[0,-.02,e],children:[(0,i.jsx)("planeGeometry",{args:[120,(ed.N+3)*13]}),(0,i.jsx)("meshStandardMaterial",{map:t,color:"#ffffff",metalness:.05,roughness:.92})]})}function eJ({onReady:e}){let{active:t,progress:r,errors:i=[]}=ee(),s=(0,o.useThree)(e=>e.gl),l=(0,o.useThree)(e=>e.scene),c=(0,o.useThree)(e=>e.camera),d=(0,n.useRef)(!1),u=(0,n.useRef)(!1),f=(0,n.useRef)(!1),m=(0,n.useRef)(0),p=(0,n.useRef)(0),h=(0,n.useRef)(0),[v,x]=(0,n.useState)(!1);(0,n.useEffect)(()=>{h.current=performance.now();let e=setInterval(()=>{performance.now()-h.current>3e3&&(x(!0),clearInterval(e))},200);return()=>clearInterval(e)},[]);let g=!t&&r>=100||i&&i.length>0||v;return(0,n.useEffect)(()=>{if(!d.current&&!u.current&&!f.current&&g){u.current=!0;try{let e="function"==typeof s.getContext&&!!s.getContext()?.getExtension?.("KHR_parallel_shader_compile");("function"==typeof s.compileAsync&&e?s.compileAsync(l,c):Promise.resolve().then(()=>s.compile(l,c))).catch(e=>{console.warn("StrategyCanvas compileAsync rejected:",e)}).finally(()=>{f.current=!0})}catch(e){console.warn("StrategyCanvas compile sync error:",e),f.current=!0}}},[g,c,s,l]),(0,a.useFrame)(()=>{if(d.current||!f.current)return;p.current++;let t=s.info.render;m.current=t.calls>=12&&t.triangles>=500?m.current+1:0,(m.current>=4||p.current>=30||v)&&(d.current=!0,requestAnimationFrame(()=>e?.()))}),null}function eX({progress:e,reduced:t,isMobile:r,stage:s,active:a,perf:o,onReady:l}){let c=e=>1>=Math.abs(e-s),[d,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{a&&u(!0)},[a]);let f=d&&!t&&!r;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("color",{attach:"background",args:[eu]}),(0,i.jsx)("fog",{attach:"fog",args:[eu,12,40]}),(0,i.jsx)("ambientLight",{intensity:.55}),(0,i.jsx)("hemisphereLight",{args:["#ffffff","#dfe4ee",.5]}),(0,i.jsx)("directionalLight",{position:[6,12,8],intensity:.7}),(0,i.jsx)("directionalLight",{position:[-7,5,4],intensity:.22,color:"#cdd6ff"}),(0,i.jsxs)(en.Environment,{resolution:64,frames:1,children:[(0,i.jsx)(ea,{intensity:.5,position:[0,6,-3],scale:[12,6,1]}),(0,i.jsx)(ea,{intensity:.3,position:[-6,3,4],scale:[6,6,1],color:"#dfe6ff"}),(0,i.jsx)(ea,{intensity:.3,position:[6,2,2],scale:[5,5,1],color:"#ffffff"})]}),(0,i.jsx)(eg,{progress:e,reduced:t,isMobile:r}),(0,i.jsx)(eZ,{}),(0,i.jsx)(eK,{}),(0,i.jsx)(eI,{i:0,progress:e,reduced:t,awake:c(0),focused:0===s}),(0,i.jsx)(eB,{i:1,progress:e,reduced:t,awake:c(1),focused:1===s}),(0,i.jsx)(eV,{i:2,progress:e,reduced:t,awake:c(2),focused:2===s}),(0,i.jsx)(eW,{i:3,progress:e,awake:c(3),focused:3===s}),(0,i.jsx)(eY,{i:4,progress:e,reduced:t,isMobile:r,awake:c(4),focused:4===s}),f&&(0,i.jsx)(K,{count:16,scale:[18,7,13*ed.N],position:[0,3,-(13*(ed.N-1))/2],size:2,speed:.22,opacity:.35,color:"#9aa6c4"}),f&&(0,i.jsx)(el.EffectComposer,{multisampling:0,children:(0,i.jsx)(el.Bloom,{mipmapBlur:!0,intensity:.7,luminanceThreshold:.74,luminanceSmoothing:.06,radius:.68,kernelSize:ec.KernelSize.SMALL})}),(0,i.jsx)(eo,{all:!0}),(0,i.jsx)(eJ,{onReady:l}),o&&(0,i.jsx)(ex,{})]})}e.s(["default",0,function({progress:e,reduced:t=!1,isMobile:r=!1,active:n=!0,stage:a=0,ready:o=!1,onReady:l}){let c=new URLSearchParams(window.location.search).has("perf");return(0,i.jsx)(s.Canvas,{dpr:[1,r?1:1.25],camera:{position:[0,4,8.2],fov:50,near:.1,far:120},gl:{antialias:!1,powerPreference:"high-performance",alpha:!1},frameloop:n||!o?"always":"never",children:(0,i.jsx)(eX,{progress:e,reduced:t,isMobile:r,stage:a,active:n,perf:c,onReady:l})})}],1517)},20927,e=>{e.n(e.i(1517))}]); \ No newline at end of file diff --git a/.next/static/chunks/0ckcqe5on274m.js b/.next/static/chunks/0ckcqe5on274m.js deleted file mode 100644 index 70db684..0000000 --- a/.next/static/chunks/0ckcqe5on274m.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64083,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(75056),i=e.i(25234),o=e.i(28600),s=e.i(79877),a=e.i(33623);let l="#020617",c="#00E5FF",u="#22C55E",h="#EF4444",p=(e,t,r)=>e+(t-e)*r;function m(e,t,r){let n,i=(n=(r-e)/(t-e||1))<0?0:n>1?1:n;return i*i*(3-2*i)}function f(e,t,r,n){return p(e,t,1-Math.exp(-r*n))}function d(e){let t=43758.5453*Math.sin(127.1*e+311.7);return t-Math.floor(t)}var g=e.i(90072);let x=new g.Color(c),j=new g.Color(h),M=new g.Color(u),y=Array.from({length:5},(e,t)=>{let r=t/5*Math.PI*2+.3,n=7+3*d(7*t+1),i=Math.cos(r)*n,o=Math.sin(r)*n;return new g.Vector3(i,.1,o)}),v=r.default.memo(function({progress:e}){let n=(0,r.useRef)(null),o=(0,r.useRef)([]),s=(0,r.useRef)([]),a=(0,r.useRef)([]),l=(0,r.useRef)(0),u=(0,r.useMemo)(()=>y.map(e=>{let t=[new g.Vector3(0,.15,0),new g.Vector3(.5*e.x,.6,.5*e.z),new g.Vector3(e.x,.15,e.z)];return new g.CatmullRomCurve3(t).getPoints(24)}),[]);return(0,i.useFrame)((t,r)=>{let i=e.current??0;l.current=f(l.current,i,3,r);let c=l.current,u=t.clock.elapsedTime;n.current&&(n.current.position.y=.04*Math.sin(1.2*u)),o.current.forEach((e,t)=>{e&&(e.rotation.y=u*(.8+.2*t))}),s.current.forEach((e,t)=>{if(e){let r=m(.45,.8,c);e.color.copy(j).lerp(t%2==0?x:M,r),e.opacity=p(.12,.7,r)*(.8+.2*Math.sin(4*u-.5*t))}}),a.current.forEach((e,t)=>{if(e){let r=m(.5,.82,c);e.color.copy(j).lerp(t%2==0?x:M,r),e.opacity=p(.06,.22,r)*(.85+.15*Math.sin(3*u-t))}})}),(0,t.jsxs)("group",{children:[(0,t.jsx)("gridHelper",{args:[60,48,c,c],position:[0,-.01,0],children:(0,t.jsx)("lineBasicMaterial",{attach:"material",color:c,transparent:!0,opacity:.05})}),u.map((e,r)=>(0,t.jsxs)("line",{children:[(0,t.jsx)("bufferGeometry",{children:(0,t.jsx)("float32BufferAttribute",{attach:"attributes-position",args:[new Float32Array(e.flatMap(e=>[e.x,e.y,e.z])),3]})}),(0,t.jsx)("lineBasicMaterial",{ref:e=>{s.current[r]=e},transparent:!0,opacity:.15,depthWrite:!1})]},`corr${r}`)),(0,t.jsxs)("group",{ref:n,position:[0,0,0],children:[(0,t.jsxs)("mesh",{position:[0,.35,0],children:[(0,t.jsx)("boxGeometry",{args:[2.2,.7,1.8]}),(0,t.jsx)("meshBasicMaterial",{color:"#0B1220"})]}),(0,t.jsxs)("mesh",{position:[0,.35,0],children:[(0,t.jsx)("boxGeometry",{args:[2.2,.7,1.8]}),(0,t.jsx)("meshBasicMaterial",{color:c,wireframe:!0,transparent:!0,opacity:.65})]}),[-.6,0,.6].map((e,r)=>(0,t.jsxs)("mesh",{position:[e,.18,.91],children:[(0,t.jsx)("boxGeometry",{args:[.3,.35,.06]}),(0,t.jsx)("meshBasicMaterial",{color:c,transparent:!0,opacity:.8})]},r)),(0,t.jsxs)("mesh",{position:[0,.85,0],children:[(0,t.jsx)("boxGeometry",{args:[1.2,.3,1]}),(0,t.jsx)("meshBasicMaterial",{color:c,transparent:!0,opacity:.15})]}),(0,t.jsxs)("mesh",{position:[0,.85,0],children:[(0,t.jsx)("boxGeometry",{args:[1.2,.3,1]}),(0,t.jsx)("meshBasicMaterial",{color:c,wireframe:!0,transparent:!0,opacity:.9})]}),[-.4,.4].map((e,r)=>(0,t.jsxs)("mesh",{position:[e,.71,-.4],rotation:[.15,0,0],children:[(0,t.jsx)("boxGeometry",{args:[.5,.03,.6]}),(0,t.jsx)("meshBasicMaterial",{color:"#1e293b"})]},r)),(0,t.jsxs)("group",{position:[0,1,0],children:[(0,t.jsxs)("mesh",{position:[0,.4,0],children:[(0,t.jsx)("cylinderGeometry",{args:[.03,.03,.8,8]}),(0,t.jsx)("meshBasicMaterial",{color:c})]}),(0,t.jsxs)("mesh",{position:[0,.8,0],children:[(0,t.jsx)("sphereGeometry",{args:[.12,16,16]}),(0,t.jsx)("meshBasicMaterial",{color:"#ffffff"})]})]}),(0,t.jsxs)("mesh",{rotation:[-Math.PI/2,0,0],position:[0,.02,0],children:[(0,t.jsx)("ringGeometry",{args:[1.8,2.2,32]}),(0,t.jsx)("meshBasicMaterial",{color:c,transparent:!0,opacity:.3,blending:g.AdditiveBlending})]})]})]})}),b=new g.Vector3(0,.5,0);function A(e){return new g.CatmullRomCurve3(e,!1,"catmullrom",.5)}let B=null;function w(){if(B)return B;let e=[],t=[];for(let r=0;r<5;r++){let n=r/5*Math.PI*2+.3,i=7+3*d(7*r+1),o=Math.cos(n)*i,s=Math.sin(n)*i,a=2+Math.floor(2*d(7*r+2)),l=[b.clone()];l.push(new g.Vector3(.35*o,.45+1.4,.35*s));let c=[];for(let e=0;e{if(!a.current||!l.current)return;let t=s/4*e.clock.elapsedTime%1;a.current.scale.setScalar(.4+t*(o-.4)),l.current.opacity=.72*Math.sin((1-t)*Math.PI)}),(0,t.jsxs)("mesh",{ref:a,position:[e.x,.03,e.z],rotation:[-Math.PI/2,0,0],children:[(0,t.jsx)("ringGeometry",{args:[.22,.28,24]}),(0,t.jsx)("meshBasicMaterial",{ref:l,color:n,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]})}),P=new g.Vector3,S=new g.Vector3,G=r.default.memo(function({progress:e,chaoticCurves:n}){let o=4*n.length,s=(0,r.useRef)([]),a=(0,r.useRef)([]),l=(0,r.useMemo)(()=>Array.from({length:o},(e,t)=>d(13*t+3)),[o]),c=(0,r.useMemo)(()=>Array.from({length:2*n.length},(e,t)=>t%2/2),[n.length]);return(0,i.useFrame)(t=>{let r=1-m(.48,.6,e.current??0),i=r>.01;if(s.current.forEach(e=>{e&&(e.visible=i)}),a.current.forEach(e=>{e&&(e.visible=i)}),!i)return;let u=t.clock.elapsedTime;for(let e=0;e{let t=e.material;t&&"opacity"in t&&(t.opacity=.5*r*Math.sin(o*Math.PI))})}}),(0,t.jsxs)("group",{children:[Array.from({length:o}).map((e,r)=>(0,t.jsxs)("mesh",{ref:e=>{s.current[r]=e},visible:!1,children:[(0,t.jsx)("sphereGeometry",{args:[.06,6,6]}),(0,t.jsx)("meshBasicMaterial",{color:h,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]},`cp-${r}`)),Array.from({length:2*n.length}).map((e,r)=>(0,t.jsx)("group",{ref:e=>{a.current[r]=e},visible:!1,children:(0,t.jsxs)("mesh",{rotation:[Math.PI/2,0,0],children:[(0,t.jsx)("coneGeometry",{args:[.06,.16,4]}),(0,t.jsx)("meshBasicMaterial",{color:h,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]})},`cc-${r}`))]})}),E=new g.Vector3,T=new g.Vector3,k=r.default.memo(function({progress:e,optimizedCurves:n}){let o=6*n.length,s=(0,r.useRef)([]),a=(0,r.useRef)([]),l=(0,r.useRef)([]),h=(0,r.useMemo)(()=>Array.from({length:o},(e,t)=>d(17*t+4)),[o]),p=(0,r.useMemo)(()=>Array.from({length:3*n.length},(e,t)=>t%3/3),[n.length]);return(0,i.useFrame)(t=>{let r=m(.52,.7,e.current??0),i=r>.01;if(s.current.forEach(e=>{e&&(e.visible=i)}),a.current.forEach(e=>{e&&(e.visible=i)}),l.current.forEach(e=>{e&&(e.visible=i)}),!i)return;let c=t.clock.elapsedTime;for(let e=0;e{let t=e.material;t&&"opacity"in t&&(t.opacity=.85*r*Math.sin(o*Math.PI))})}for(let e=0;e{let n=Math.floor(r/6)%2==0?c:u;return(0,t.jsxs)("mesh",{ref:e=>{s.current[r]=e},visible:!1,children:[(0,t.jsx)("sphereGeometry",{args:[.05,8,8]}),(0,t.jsx)("meshBasicMaterial",{color:n,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]},`op-${r}`)}),Array.from({length:3*n.length}).map((e,r)=>{let n=Math.floor(r/3)%2==0?c:u;return(0,t.jsx)("group",{ref:e=>{a.current[r]=e},visible:!1,children:(0,t.jsxs)("mesh",{rotation:[Math.PI/2,0,0],children:[(0,t.jsx)("coneGeometry",{args:[.07,.2,4]}),(0,t.jsx)("meshBasicMaterial",{color:n,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]})},`oc-${r}`)}),n.map((e,r)=>(0,t.jsxs)("mesh",{ref:e=>{l.current[r]=e},visible:!1,children:[(0,t.jsx)("sphereGeometry",{args:[.07,12,12]}),(0,t.jsx)("meshBasicMaterial",{color:r%2==0?c:u,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]},`pulse-${r}`))]})}),z=r.default.memo(function({progress:e,reduced:n=!1,isMobile:o=!1}){let{chaotic:s,optimized:a,chaosNodes:l,optimizedNodes:p}=(0,r.useMemo)(()=>w(),[]),f=(0,r.useRef)([]),d=(0,r.useRef)([]),x=(0,r.useRef)(null),j=(0,r.useRef)(null),M=(e,t)=>{if(!e.index)return;let r=Math.max(0,36*Math.floor(e.index.count*t/36));e.setDrawRange(0,r)};return(0,i.useFrame)(t=>{let r=e.current??0,n=t.clock.elapsedTime,i=1-m(.4,.56,r),o=(1-m(.38,.55,r))*.85,s=.7+.18*Math.sin(7*n);for(let e of f.current)e?.geo&&(M(e.geo,i),e.mat&&(e.mat.opacity=o*s));let a=m(.55,.74,r),l=m(.55,.66,r);for(let e=0;e(0,t.jsxs)("mesh",{frustumCulled:!1,children:[(0,t.jsx)("tubeGeometry",{ref:e=>{e&&(f.current[r]={...f.current[r]??{},geo:e})},args:[e.curve,120,.08,6,!1]}),(0,t.jsx)("meshBasicMaterial",{ref:e=>{e&&(f.current[r]={...f.current[r]??{},mat:e})},color:h,transparent:!0,opacity:.85,depthWrite:!1,blending:n?g.NormalBlending:g.AdditiveBlending})]},`c${r}`)),a.map((e,r)=>(0,t.jsxs)("mesh",{frustumCulled:!1,children:[(0,t.jsx)("tubeGeometry",{ref:e=>{e&&(d.current[r]={...d.current[r]??{},geo:e})},args:[e.curve,120,.1,6,!1]}),(0,t.jsx)("meshBasicMaterial",{ref:e=>{e&&(d.current[r]={...d.current[r]??{},mat:e})},color:r%2==0?c:u,transparent:!0,opacity:0,depthWrite:!1,blending:n?g.NormalBlending:g.AdditiveBlending})]},`o${r}`)),(0,t.jsx)("group",{ref:x,children:l.map((e,r)=>(0,t.jsxs)("group",{children:[(0,t.jsxs)("mesh",{position:e,children:[(0,t.jsx)("sphereGeometry",{args:[.18,12,12]}),(0,t.jsx)("meshBasicMaterial",{color:h,transparent:!0,opacity:.9,blending:g.AdditiveBlending})]}),(0,t.jsx)(R,{position:e,color:h})]},`cn-group-${r}`))}),(0,t.jsx)("group",{ref:j,scale:1e-4,children:p.map((e,r)=>(0,t.jsxs)("group",{children:[(0,t.jsxs)("mesh",{position:e,children:[(0,t.jsx)("sphereGeometry",{args:[.15,14,14]}),(0,t.jsx)("meshBasicMaterial",{color:u,transparent:!0,opacity:.95,blending:g.AdditiveBlending})]}),(0,t.jsx)(R,{position:e,color:u,maxScale:1.8,pulseSpeed:3})]},`on-group-${r}`))}),!o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(G,{progress:e,chaoticCurves:s.map(e=>e.curve)}),(0,t.jsx)(k,{progress:e,optimizedCurves:a.map(e=>e.curve)})]})]})}),V=new g.Vector3,C=new g.Vector3,I=new g.Vector3,F=r.default.memo(function({texture:e,tint:r,width:n,aspect:i}){let o=n/i;return(0,t.jsxs)("mesh",{position:[0,o/2.4,0],children:[(0,t.jsx)("planeGeometry",{args:[n,o]}),(0,t.jsx)("meshBasicMaterial",{map:e,color:r,transparent:!0,depthWrite:!1,side:g.DoubleSide,toneMapped:!1})]})}),$=new g.Vector3(0,.5,0),W=r.default.memo(function({progress:e,reduced:n=!1}){let{chaotic:o,optimized:s}=(0,r.useMemo)(()=>w(),[]),a=["truck","van","bike"],l=(0,r.useMemo)(()=>Array.from({length:7},(e,t)=>({curve:o[t%o.length].curve,type:a[t%3],speed:.018+.03*d(5*t+1),offset:d(5*t+2),color:h,nodes:o[t%o.length].nodes||[]})),[o]),p=(0,r.useMemo)(()=>Array.from({length:5},(e,t)=>({curve:s[t%s.length].curve,type:a[t%3],speed:.05+.025*d(7*t+1),offset:d(7*t+2),color:t%2==0?c:u,nodes:s[t%s.length].nodes||[]})),[s]),f=(0,r.useRef)([]),x=(0,r.useRef)([]),j=(0,r.useRef)([]),M=(0,r.useMemo)(()=>{let e=new g.TextureLoader().load("/images/truck.png");return e.colorSpace=g.SRGBColorSpace,e.anisotropy=8,e},[]),y=1080/948,v=(0,r.useRef)([]),b=(0,r.useRef)([]),A=(e,t,r,n,i,o)=>{if(!e||!t?.curve)return;let s=o>.02;if(e.visible=s,!s)return;let a=r[n];(void 0===a||Number.isNaN(a))&&(a=r[n]=t.offset??0),t.curve.getPointAt(a,V);let l=V.distanceTo($);t.nodes&&t.nodes.length>0&&t.nodes.forEach(e=>{let t=V.distanceTo(e);t{let t=e.material;t&&"opacity"in t&&(t.opacity=o*B(e))})},B=e=>{let t=e.material;return!t||t.map||t.wireframe||t.color&&0xffffff===t.color.getHex()||t.color&&0xef4444===t.color.getHex()?1:.2};return(0,i.useFrame)((t,r)=>{v.current.length!==l.length&&(v.current=l.map(e=>e.offset)),b.current.length!==p.length&&(b.current=p.map(e=>e.offset));let n=e.current??0,i=t.clock.elapsedTime,o=Math.min(.06,r),s=m(.1,.22,n)*(1-m(.7,.82,n))*(.85+.1*Math.sin(6*i)),a=m(.68,.82,n),c=t.camera;for(let e=0;e(0,t.jsx)("group",{ref:e=>{f.current[r]=e},children:(0,t.jsx)(F,{texture:M,tint:"#ff5a5a",width:1.61,aspect:y})},`cv${r}`)),p.map((e,r)=>(0,t.jsx)("group",{visible:!1,ref:e=>{x.current[r]=e},children:(0,t.jsx)(F,{texture:M,tint:"#d7dce4",width:1.75,aspect:y})},`ov${r}`)),p.map((e,r)=>Array.from({length:16},(i,o)=>(0,t.jsxs)("mesh",{visible:!1,ref:e=>{j.current[16*r+o]=e},children:[(0,t.jsx)("sphereGeometry",{args:[.1,8,8]}),(0,t.jsx)("meshBasicMaterial",{color:e.color,transparent:!0,opacity:0,depthWrite:!1,blending:n?g.NormalBlending:g.AdditiveBlending})]},`ot-${r}-${o}`)))]})}),N=r.default.memo(function({offset:e,index:n,progress:o,color:s}){let a=(0,r.useRef)(null),l=(0,r.useRef)(null),c=(0,r.useRef)([]),u=(0,r.useMemo)(()=>Array.from({length:3},(e,t)=>t/3),[]);(0,i.useFrame)(t=>{let r=o.current??0,i=t.clock.elapsedTime,s=m(.2,.4,r)*(1-m(.72,.85,r)),h=s>.01;a.current&&(a.current.visible=h),l.current&&h&&(l.current.opacity=s*(.15+.08*Math.sin(12*i+n))),c.current.forEach((t,r)=>{if(!t||(t.visible=h,!h))return;let o=.8+.4*d(5*n+r),a=(u[r]+o/3*i)%1;t.position.copy(e).multiplyScalar(a),t.material.opacity=s*Math.sin(a*Math.PI)*.8;let l=.04+.015*Math.sin(8*i+r);t.scale.setScalar(l/.06)})});let h=(0,r.useMemo)(()=>{let t=new g.BufferGeometry,r=new Float32Array([0,0,0,e.x,e.y,e.z]);return t.setAttribute("position",new g.BufferAttribute(r,3)),t},[e]);return(0,t.jsxs)("group",{children:[(0,t.jsx)("lineSegments",{ref:a,geometry:h,children:(0,t.jsx)("lineBasicMaterial",{ref:l,color:s,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})}),Array.from({length:3}).map((e,r)=>(0,t.jsxs)("mesh",{ref:e=>{c.current[r]=e},visible:!1,children:[(0,t.jsx)("sphereGeometry",{args:[.06,8,8]}),(0,t.jsx)("meshBasicMaterial",{color:s,transparent:!0,opacity:0,depthWrite:!1,blending:g.AdditiveBlending})]},r))]})}),Y=r.default.memo(function({progress:e}){let n=(0,r.useRef)(null),o=(0,r.useMemo)(()=>Array.from({length:5},(e,t)=>{let r=t/5*Math.PI*2+.3,n=7+3*d(7*t+1),i=Math.cos(r)*n,o=Math.sin(r)*n;return new g.Vector3(i,-3.3,o)}),[]);return(0,i.useFrame)(e=>{let t=e.clock.elapsedTime;n.current&&(n.current.position.y=3.4+.12*Math.sin(.8*t))}),(0,t.jsxs)("group",{ref:n,position:[0,3.4,0],children:[(0,t.jsxs)("mesh",{children:[(0,t.jsx)("sphereGeometry",{args:[.06,12,12]}),(0,t.jsx)("meshBasicMaterial",{color:u,blending:g.AdditiveBlending})]}),o.map((r,n)=>(0,t.jsx)(N,{offset:r,index:n,progress:e,color:n%2==0?c:u},`calc-beam-${n}`))]})}),D={radiusStart:17,radiusEnd:13,heightStart:9,heightEnd:6.5,lookAtY:2.4,fov:50},H={radiusStart:19,radiusEnd:15,heightStart:9.5,heightEnd:7,lookAtY:2.6,fov:54},K={radiusStart:16,radiusEnd:12,heightStart:8.5,heightEnd:6,lookAtY:2.3,fov:58};function U({progress:e,framing:t}){let n=(0,r.useRef)(0),s=(0,o.useThree)(e=>e.camera);return(0,r.useEffect)(()=>{"fov"in s&&(s.fov=t.fov,s.updateProjectionMatrix())},[s,t.fov]),(0,i.useFrame)((r,i)=>{let o=e.current??0;n.current=f(n.current,o,1.5,i);let s=n.current,a=r.clock.elapsedTime,l=p(t.radiusStart,t.radiusEnd,s),c=p(-.5,.45,s)+.02*a,u=p(t.heightStart,t.heightEnd,s)+.3*Math.sin(.4*a),h=r.camera;h.position.x=Math.sin(c)*l,h.position.z=Math.cos(c)*l,h.position.y=u,h.lookAt(0,t.lookAtY,0)}),null}let L=r.default.memo(function({progress:e,reduced:r=!1,isMobile:i=!1,isTablet:o=!1,active:c=!0}){let u=i?K:o?H:D;return(0,t.jsxs)(n.Canvas,{flat:!0,dpr:[1,i||r?1.25:1.5],camera:{position:[0,u.heightStart,u.radiusStart],fov:u.fov,near:.1,far:120},gl:{antialias:!i,powerPreference:"high-performance",alpha:!1},frameloop:c?"always":"never",children:[(0,t.jsx)("color",{attach:"background",args:[l]}),(0,t.jsx)("fog",{attach:"fog",args:[l,18,52]}),(0,t.jsx)("ambientLight",{intensity:.6}),(0,t.jsx)(U,{progress:e,framing:u}),(0,t.jsx)(v,{progress:e,count:i?48:90,reduced:r}),(0,t.jsx)(z,{progress:e,reduced:r,isMobile:i}),(0,t.jsx)(W,{progress:e,reduced:r}),(0,t.jsx)(Y,{progress:e,reduced:r}),!r&&(0,t.jsx)(s.EffectComposer,{multisampling:2*!i,children:(0,t.jsx)(s.Bloom,{mipmapBlur:!0,intensity:i?.5:1,luminanceThreshold:.15,luminanceSmoothing:.04,radius:i?.55:.75,kernelSize:a.KernelSize.MEDIUM})})]})});e.s(["default",0,L],64083)},29539,e=>{e.n(e.i(64083))}]); \ No newline at end of file diff --git a/.next/static/chunks/0d09zs~9jbu5_.js b/.next/static/chunks/0d09zs~9jbu5_.js deleted file mode 100644 index 0490cd2..0000000 --- a/.next/static/chunks/0d09zs~9jbu5_.js +++ /dev/null @@ -1,208 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56305,t=>{"use strict";let e,i,s;var n,r=t.i(43476),o=t.i(71645),a=t.i(70703);let l=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],h=new Set([...l,"pathRotation"]),u=(t,e,i)=>i>e?e:i"number"==typeof t,parse:parseFloat,transform:t=>t},c={...d,transform:t=>u(0,1,t)},p={...d,default:1},m=t=>Math.round(1e5*t)/1e5,f=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,g=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,y=(t,e)=>i=>!!("string"==typeof i&&g.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),v=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[n,r,o,a]=s.match(f);return{[t]:parseFloat(n),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},x={...d,transform:t=>Math.round(u(0,255,t))},b={test:y("rgb","red"),parse:v("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+x.transform(t)+", "+x.transform(e)+", "+x.transform(i)+", "+m(c.transform(s))+")"},w={test:y("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:b.transform},T=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),S=T("deg"),P=T("%"),k=T("px"),A=T("vh"),E=T("vw"),M={...P,parse:t=>P.parse(t)/100,transform:t=>P.transform(100*t)},V={test:y("hsl","hue"),parse:v("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+P.transform(m(e))+", "+P.transform(m(i))+", "+m(c.transform(s))+")"},C={test:t=>b.test(t)||w.test(t)||V.test(t),parse:t=>b.test(t)?b.parse(t):V.test(t)?V.parse(t):w.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?b.transform(t):V.transform(t),getAnimatableNone:t=>{let e=C.parse(t);return e.alpha=0,C.transform(e)}},j=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,R="number",D="color",L=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},n=[],r=0,o=e.replace(L,t=>(C.test(t)?(s.color.push(r),n.push(D),i.push(C.parse(t))):t.startsWith("var(")?(s.var.push(r),n.push("var"),i.push(t)):(s.number.push(r),n.push(R),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:s,types:n}}function B({split:t,types:e}){let i=t.length;return s=>{let n="";for(let r=0;r0},parse:function(t){return _(t).values},createTransformer:function(t){return B(_(t))},getAnimatableNone:function(t){let e=_(t);return B(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:C.test(t)?C.getAnimatableNone(t):t)(t,e.split[i])))}},I=new Set(["brightness","contrast","saturate","opacity"]);function N(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(f)||[];if(!s)return t;let n=i.replace(s,""),r=+!!I.has(e);return s!==i&&(r*=100),e+"("+r+n+")"}let O=/\b([a-z-]*)\(.*?\)/gu,z={...F,getAnimatableNone:t=>{let e=t.match(O);return e?e.map(N).join(" "):t}},U={...F,getAnimatableNone:t=>{let e=F.parse(t);return F.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},W={...d,transform:Math.round},$={borderWidth:k,borderTopWidth:k,borderRightWidth:k,borderBottomWidth:k,borderLeftWidth:k,borderRadius:k,borderTopLeftRadius:k,borderTopRightRadius:k,borderBottomRightRadius:k,borderBottomLeftRadius:k,width:k,maxWidth:k,height:k,maxHeight:k,top:k,right:k,bottom:k,left:k,inset:k,insetBlock:k,insetBlockStart:k,insetBlockEnd:k,insetInline:k,insetInlineStart:k,insetInlineEnd:k,padding:k,paddingTop:k,paddingRight:k,paddingBottom:k,paddingLeft:k,paddingBlock:k,paddingBlockStart:k,paddingBlockEnd:k,paddingInline:k,paddingInlineStart:k,paddingInlineEnd:k,margin:k,marginTop:k,marginRight:k,marginBottom:k,marginLeft:k,marginBlock:k,marginBlockStart:k,marginBlockEnd:k,marginInline:k,marginInlineStart:k,marginInlineEnd:k,fontSize:k,backgroundPositionX:k,backgroundPositionY:k,rotate:S,pathRotation:S,rotateX:S,rotateY:S,rotateZ:S,scale:p,scaleX:p,scaleY:p,scaleZ:p,skew:S,skewX:S,skewY:S,distance:k,translateX:k,translateY:k,translateZ:k,x:k,y:k,z:k,perspective:k,transformPerspective:k,opacity:c,originX:M,originY:M,originZ:k,zIndex:W,fillOpacity:c,strokeOpacity:c,numOctaves:W},H={...$,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:z,WebkitFilter:z,mask:U,WebkitMask:U},Y=t=>H[t],X=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:X(),y:X()}),G=()=>({min:0,max:0}),q=()=>({x:G(),y:G()}),Z=t=>!!(t&&t.getVelocity),J=new Set(["width","height","top","left","right","bottom",...l]),Q=t=>e=>e.test(t),tt=[d,k,P,S,E,A,{test:t=>"auto"===t,parse:t=>t}],te=t=>tt.find(Q(t));var ti=t.i(47167);let ts=()=>{},tn=()=>{};ti.default;let tr=t=>e=>"string"==typeof e&&e.startsWith(t),to=tr("--"),ta=tr("var(--"),tl=t=>!!ta(t)&&th.test(t.split("/*")[0].trim()),th=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tu(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let td=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tc=t=>180*t/Math.PI,tp=t=>tf(tc(Math.atan2(t[1],t[0]))),tm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tp,rotateZ:tp,skewX:t=>tc(Math.atan(t[1])),skewY:t=>tc(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tf=t=>((t%=360)<0&&(t+=360),t),tg=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ty=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tv={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tg,scaleY:ty,scale:t=>(tg(t)+ty(t))/2,rotateX:t=>tf(tc(Math.atan2(t[6],t[5]))),rotateY:t=>tf(tc(Math.atan2(-t[2],t[0]))),rotateZ:tp,rotate:tp,skewX:t=>tc(Math.atan(t[4])),skewY:t=>tc(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tx(t){return+!!t.includes("scale")}function tb(t,e){let i,s;if(!t||"none"===t)return tx(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tv,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tm,s=e}if(!s)return tx(e);let r=i[e],o=s[1].split(",").map(tw);return"function"==typeof r?r(o):o[r]}function tw(t){return parseFloat(t.trim())}let tT=t=>t===d||t===k,tS=new Set(["x","y","z"]),tP=l.filter(t=>!tS.has(t)),tk={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:s})=>{let n=t.max-t.min;return"border-box"===s?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:s})=>{let n=t.max-t.min;return"border-box"===s?n:n-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tb(e,"x"),y:(t,{transform:e})=>tb(e,"y")};tk.translateX=tk.x,tk.translateY=tk.y;let tA=t=>t,tE={},tM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tV(t,e){let i=!1,s=!0,n={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=tM.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,r=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){o.has(e)&&(u.schedule(e),t()),l++,e(a)}let u={schedule:(t,e=!1,r=!1)=>{let a=r&&n?i:s;return e&&o.add(t),a.add(t),t},cancel:t=>{s.delete(t),o.delete(t)},process:t=>{if(a=t,n){r=!0;return}n=!0;let o=i;i=s,s=o,i.forEach(h),e,l=0,i.clear(),n=!1,r&&(r=!1,u.process(t))}};return u}(r,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let r=tE.useManualTiming,o=r?n.timestamp:performance.now();i=!1,r||(n.delta=s?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),h.process(n),u.process(n),d.process(n),c.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:tM.reduce((e,r)=>{let a=o[r];return e[r]=(e,r=!1,o=!1)=>(!i&&(i=!0,s=!0,n.isProcessing||t(f)),a.schedule(e,r,o)),e},{}),cancel:t=>{for(let e=0;etypeof requestAnimationFrame?requestAnimationFrame:tA,!0),tL=new Set,t_=!1,tB=!1,tF=!1;function tI(){if(tB){let t=Array.from(tL).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],tP.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tB=!1,t_=!1,tL.forEach(t=>t.complete(tF)),tL.clear()}function tN(){tL.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tB=!0)})}class tO{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tL.add(this),t_||(t_=!0,tC.read(tN),tC.resolveKeyframes(tI))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.set(t[0])}for(let e=1;e{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tH=t=>1e3*t;function tY(t,e){-1===t.indexOf(e)&&t.push(e)}function tX(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tK{constructor(){this.subscriptions=[]}add(t){return tY(this.subscriptions,t),()=>tX(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n(void 0===e&&(e=t()),e)}let tZ={};function tJ(t,e){let i=tq(t);return()=>tZ[e]??i()}let tQ=tJ(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t0=t=>null!==t;function t1(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(t0),o=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return o&&void 0!==s?s:r[o]}class t2{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t5={layout:0,mainThread:0,waapi:0},t3=t=>Array.isArray(t)&&"number"==typeof t[0],t4=tJ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t9=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e`cubic-bezier(${t}, ${e}, ${i}, ${s})`,t8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t6([0,.65,.55,1]),circOut:t6([.55,0,1,.45]),backIn:t6([.31,.01,.66,-.59]),backOut:t6([.33,1.53,.69,.99])};function t7(t){return"function"==typeof t&&"applyToOptions"in t}class et extends t2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,tn("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t7(t)&&t4()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?t4()?t9(e,i):"ease-out":t3(e)?t6(e):Array.isArray(e)?e.map(e=>t(e,i)||t8.easeOut):t8[e]}(a,n);Array.isArray(d)&&(u.easing=d);let c={delay:s,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return p}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=t1(s,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tG(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tH(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:s}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tQ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tA):s(this)}}let ee=new Set(["opacity","clipPath","filter","transform"]),{schedule:ei}=tV(queueMicrotask,!1);function es(){e=void 0}let en={now:()=>(void 0===e&&en.set(tR.isProcessing||tE.useManualTiming?tR.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(es)}},er=(t,e)=>e?1e3/e*t:0,eo={current:void 0};class ea{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=en.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=en.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tK);let i=this.events[t].add(e);return"change"===t?()=>{i(),tC.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return eo.current&&eo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=en.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return er(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function el(t,e){return new ea(t,e)}let eh=[...tt,C,F],eu=new WeakMap;function ed(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ec(t){return"string"==typeof t||Array.isArray(t)}let ep=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],em=["initial",...ep];function ef(t){return ed(t.animate)||em.some(e=>ec(t[e]))}function eg(t){return!!(ef(t)||t.variants)}let ey={current:null},ev={current:!1},ex="u">typeof window;function eb(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ew(t,e,i,s){if("function"==typeof e){let[n,r]=eb(s);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,r]=eb(s);e=e(void 0!==i?i:t.custom,n,r)}return e}let eT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eS={};class eP{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,skipAnimations:n,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tO,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=en.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ev.current||function(){if(ev.current=!0,ex)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ey.current=t.matches;t.addEventListener("change",e),e()}else ey.current=!1}(),this.shouldReduceMotion=ey.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tj(this.notifyUpdate),tj(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&ee.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:s,times:n,ease:r,duration:o}=e.accelerate,a=new et({element:this.current,name:t,keyframes:s,times:n,ease:r,duration:tH(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let s=h.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tC.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in eS){let e=eS[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):q()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=el(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let s,n;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let s;s=i,!eh.find(Q(s))&&F.test(e)&&(i=tU(t,e))}this.setBaseTarget(t,Z(i)?i.get():i)}return Z(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=ew(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||Z(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new tK),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ei.render(this.render)}}class ek extends eP{constructor(){super(...arguments),this.KeyframeResolver=t$}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Z(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eA(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eE=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eV=l.length;function eC(t,e,i){let{style:s,vars:n,transformOrigin:r}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(h.has(t)){o=!0;continue}if(to(t)){n[t]=i;continue}{let e=eE(i,$[t]);t.startsWith("origin")?(a=!0,r[t]=e):s[t]=e}}if(!e.transform&&(o||i?s.transform=function(t,e,i){let s="",n=!0;for(let r=0;r"string"==typeof t&&"svg"===t.toLowerCase();function eF(t,{style:e,vars:i},s,n){let r,o=t.style;for(r in e)o[r]=e[r];for(r in n?.applyProjectionStyles(o,s),i)o.setProperty(r,i[r])}function eI(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eN={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!k.test(t))return t;else t=parseFloat(t);let i=eI(t,e.target.x),s=eI(t,e.target.y);return`${i}% ${s}%`}},eO=(t,e,i)=>t+(e-t)*i,ez={borderRadius:{...eN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eN,borderTopRightRadius:eN,borderBottomLeftRadius:eN,borderBottomRightRadius:eN,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=F.parse(t);if(s.length>5)return t;let n=F.createTransformer(t),r=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+r]/=o,s[1+r]/=a;let l=eO(o,a,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};function eU(t,{layout:e,layoutId:i}){return h.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ez[t]||"opacity"===t)}function eW(t,e,i){let s=t.style,n=e?.style,r={};if(!s)return r;for(let e in s)(Z(s[e])||n&&Z(n[e])||eU(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=s[e]);return r}function e$(t,e,i){let s=eW(t,e,i);for(let i in t)(Z(t[i])||Z(e[i]))&&(s[-1!==l.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}class eH extends ek{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(h.has(e)){let t=Y(e);return t&&t.default||0}return e=e_.has(e)?e:eA(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return e$(t,e,i)}build(t,e,i){eL(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in eF(t,e,void 0,s),e.attrs)t.setAttribute(e_.has(i)?i:eA(i),e.attrs[i])}mount(t){this.isSVGTag=eB(t.tagName),super.mount(t)}}function eY({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function eX(t){return void 0===t||1===t}function eK({scale:t,scaleX:e,scaleY:i}){return!eX(t)||!eX(e)||!eX(i)}function eG(t){return eK(t)||eq(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eq(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eZ(t,e,i,s,n){return void 0!==n&&(t=s+n*(t-s)),s+i*(t-s)+e}function eJ(t,e=0,i=1,s,n){t.min=eZ(t.min,e,i,s,n),t.max=eZ(t.max,e,i,s,n)}function eQ(t,{x:e,y:i}){eJ(t.x,e.translate,e.scale,e.originPoint),eJ(t.y,i.translate,i.scale,i.originPoint)}function e0(t,e){t.min+=e,t.max+=e}function e1(t,e,i,s,n=.5){let r=eO(t.min,t.max,n);eJ(t,e,i,r,s)}function e2(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e5(t,e,i){let s=i??t;e1(t.x,e2(e.x,s.x),e.scaleX,e.scale,e.originX),e1(t.y,e2(e.y,s.y),e.scaleY,e.scale,e.originY)}function e3(t,e){return eY(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}class e4 extends ek{constructor(){super(...arguments),this.type="html",this.renderInstance=eF}readValueFromInstance(t,e){if(h.has(e))return this.projection?.isProjecting?tx(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tb(i,e)})(t,e);{let i=window.getComputedStyle(t),s=(to(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e3(t,e)}build(t,e,i){eC(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eW(t,e,i)}}let e9=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function e6(t){if("string"!=typeof t||t.includes("-"));else if(e9.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let e8=(0,o.createContext)({}),e7=(0,o.createContext)({strict:!1}),it=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ie=(0,o.createContext)({});function ii(t){return Array.isArray(t)?t.join(" "):t}let is=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ir(t,e,i){for(let s in e)Z(e[s])||eU(s,i)||(t[s]=e[s])}let io=()=>({...is(),attrs:{}}),ia=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function il(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ia.has(t)}let ih=t=>!il(t);try{n=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof n&&(ih=t=>t.startsWith("on")?!il(t):n(t))}catch{}function iu(t){return Z(t)?t.get():t}let id=(0,o.createContext)(null);function ic(t){let e=(0,o.useRef)(null);return null===e.current&&(e.current=t()),e.current}let ip=t=>(e,i)=>{let s=(0,o.useContext)(ie),n=(0,o.useContext)(id),r=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,n){return{latestValues:function(t,e,i,s){let n={},r=s(t,{});for(let t in r)n[t]=iu(r[t]);let{initial:o,animate:a}=t,l=ef(t),h=eg(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!ed(d)){let e=Array.isArray(d)?d:[d];for(let i=0;iiy[e].some(e=>!!t[e])};eS=t,iv=!0}(),eS}let ib=Symbol.for("motionComponentSymbol"),iw="data-"+eA("framerAppearId"),iT=(0,o.createContext)({});function iS(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iP="u">typeof window?o.useLayoutEffect:o.useEffect;function ik(t,{forwardMotionProps:e=!1,type:i}={},s,n){s&&function(t){let e=ix();for(let i in t)e[i]={...e[i],...t[i]};eS=e}(s);let a=i?"svg"===i:e6(t),l=a?ig:im;function h(i,s){var h;let u,d,c,p={...(0,o.useContext)(it),...i,layoutId:function({layoutId:t}){let e=(0,o.useContext)(e8).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:m}=p,f=function(t){let{initial:e,animate:i}=function(t,e){if(ef(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ec(e)?e:void 0,animate:ec(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(ie));return(0,o.useMemo)(()=>({initial:e,animate:i}),[ii(e),ii(i)])}(i),g=l(i,m);if(!m&&"u">typeof window){(0,o.useContext)(e7).strict;let e=function(t){let{drag:e,layout:i}=ix();if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(p);u=e.MeasureLayout,f.visualElement=function(t,e,i,s,n,r){let{visualElement:a}=(0,o.useContext)(ie),l=(0,o.useContext)(e7),h=(0,o.useContext)(id),u=(0,o.useContext)(it),d=u.reducedMotion,c=u.skipAnimations,p=(0,o.useRef)(null),m=(0,o.useRef)(!1);s=s||l.renderer,!p.current&&s&&(p.current=s(t,{visualState:e,parent:a,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:d,skipAnimations:c,isSVG:r}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let f=p.current,g=(0,o.useContext)(iT);f&&!f.projection&&n&&("html"===f.type||"svg"===f.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!o||a&&iS(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(p.current,i,n,g);let y=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{f&&y.current&&f.update(i,h)});let v=i[iw],x=(0,o.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return iP(()=>{m.current=!0,f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,o.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,g,p,n,e.ProjectionNode,a)}return(0,r.jsxs)(ie.Provider,{value:f,children:[u&&f.visualElement?(0,r.jsx)(u,{visualElement:f.visualElement,...p}):null,function(t,e,i,{latestValues:s},n,r=!1,a){let l=(a??e6(t)?function(t,e,i,s){let n=(0,o.useMemo)(()=>{let i=io();return eL(i,e,eB(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ir(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,s,n={},r=(i=t.style||{},ir(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,o.useMemo)(()=>{let i=is();return eC(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n})(e,s,n,t),h=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!Z(t[n])&&(ih(n)||!0===i&&il(n)||!e&&!il(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,r),u=t!==o.Fragment?{...h,...l,ref:i}:{},{children:d}=e,c=(0,o.useMemo)(()=>Z(d)?d.get():d,[d]);return(0,o.createElement)(t,{...u,children:c})}(t,i,(h=f.visualElement,d=(0,o.useRef)(s),(0,o.useInsertionEffect)(()=>{d.current=s}),c=(0,o.useRef)(null),(0,o.useCallback)(t=>{t&&g.onMount?.(t),h&&(t?h.mount(t):h.unmount());let e=d.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):e(t);else e&&(e.current=t)},[h])),g,m,e,a)]})}h.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let u=(0,o.forwardRef)(h);return u[ib]=t,u}class iA{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iE(t,e,i){let s=t.getProps();return ew(s,e,void 0!==i?i:s.custom,t)}function iM(t,e){if(t?.inherit&&e){let{inherit:i,...s}=t;return{...e,...s}}return t}function iV(t,e){let i=t?.[e]??t?.default??t;return i!==t?iM(i,t):i}let iC=t=>Array.isArray(t);function ij(t,e){let i=t.getValue("willChange");if(Z(i)&&i.add)return i.add(e);if(!i&&tE.WillChange){let i=new tE.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iR=(...t)=>t.reduce((t,e)=>i=>e(t(i)));function iD(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iL(t,e){return i=>i>0?e:t}let i_=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},iB=[w,b,V];function iF(t){let e=iB.find(e=>e.test(t));if(ts(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===V&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,o=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,a=2*i-s;n=iD(a,s,t+1/3),r=iD(a,s,t),o=iD(a,s,t-1/3)}else n=r=o=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*o),alpha:s}}(i)),i}let iI=(t,e)=>{let i=iF(t),s=iF(e);if(!i||!s)return iL(t,e);let n={...i};return t=>(n.red=i_(i.red,s.red,t),n.green=i_(i.green,s.green,t),n.blue=i_(i.blue,s.blue,t),n.alpha=eO(i.alpha,s.alpha,t),b.transform(n))},iN=new Set(["none","hidden"]);function iO(t,e){return i=>eO(t,e,i)}function iz(t){return"number"==typeof t?iO:"string"==typeof t?tl(t)?iL:C.test(t)?iI:i$:Array.isArray(t)?iU:"object"==typeof t?C.test(t)?iI:iW:iL}function iU(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>iz(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in s)i[e]=s[e](t);return i}}let i$=(t,e)=>{let i=F.createTransformer(e),s=_(t),n=_(e);if(!(s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length))return ts(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iL(t,e);if(iN.has(t)&&!n.values.length||iN.has(e)&&!s.values.length)return iN.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iR(iU(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tC.update(e,t),stop:()=>tj(e),now:()=>tR.isProcessing?tR.timestamp:en.now()}};function iX(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let iK=.01,iG=2,iq=.005,iZ=.5;function iJ(t,e){return t*Math.sqrt(1-e*e)}let iQ=["duration","bounce"],i0=["stiffness","damping","mass"];function i1(t,e){return e.some(e=>void 0!==t[e])}function i2(t=.3,e=.3){let i,s,n,r,o,a,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:d}=l,c=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:g,mass:y,duration:v,velocity:x,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i1(t,i0)&&i1(t,iQ))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,n=2*u(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let n,r;ts(t<=tH(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=u(.05,1,o),t=u(.01,10,t/1e3),o<1?(n=e=>{let s=e*o,n=s*t;return .001-(s-i)/iJ(e,o)*Math.exp(-n)},r=e=>{let s=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-s),l=iJ(Math.pow(e,2),o);return(s*i+i-r)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(n,r,5/t);if(t=tH(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*s;return{stiffness:e,damping:2*o*Math.sqrt(s*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-((l.velocity||0)/1e3)}),w=x||0,T=g/(2*Math.sqrt(f*y)),S=p-c,P=Math.sqrt(f/y)/1e3,k=5>Math.abs(S);if(h||(h=k?iK:iG),d||(d=k?iq:iZ),T<1)n=iJ(P,T),r=(w+T*P*S)/n,i=t=>p-Math.exp(-T*P*t)*(r*Math.sin(n*t)+S*Math.cos(n*t)),o=T*P*r+S*n,a=T*P*S-r*n,s=t=>Math.exp(-T*P*t)*(o*Math.sin(n*t)+a*Math.cos(n*t));else if(1===T){i=t=>p-Math.exp(-P*t)*(S+(w+P*S)*t);let t=w+P*S;s=e=>Math.exp(-P*e)*(P*t*e-w)}else{let t=P*Math.sqrt(T*T-1);i=e=>{let i=Math.exp(-T*P*e),s=Math.min(t*e,300);return p-i*((w+T*P*S)*Math.sinh(s)+t*S*Math.cosh(s))/t};let e=(w+T*P*S)/t,n=T*P*e-S*t,r=T*P*S-e*t;s=e=>{let i=Math.exp(-T*P*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let A={calculatedDuration:b&&v||null,velocity:t=>tH(s(t)),next:t=>{if(!b&&T<1){let e=Math.exp(-T*P*t),i=Math.sin(n*t),s=Math.cos(n*t),l=p-e*(r*i+S*s);return m.done=Math.abs(tH(e*(o*i+a*s)))<=h&&Math.abs(p-l)<=d,m.value=m.done?p:l,m}let e=i(t);return b?m.done=t>=v:m.done=Math.abs(tH(s(t)))<=h&&Math.abs(p-e)<=d,m.value=m.done?p:e,m},toString:()=>{let t=Math.min(iX(A),2e4),e=t9(e=>A.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return A}function i5(t,e,i){let s=Math.max(e-5,0);return er(i-t(s),e-s)}function i3({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/s),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==a&&el){var i;d=t,c=i2({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i){let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}i2.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),n=Math.min(iX(s),2e4);return{type:"keyframes",ease:t=>s.next(n*t).value/e,duration:n/1e3}}(t,100,i2);return t.ease=e.ease,t.duration=tH(e.duration),t.type="keyframes",t};let i4=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i9(t,e,i,s){return t===e&&i===s?tA:n=>0===n||1===n?n:i4(function(t,e,i,s,n){let r,o,a=0;do(r=i4(o=e+(i-e)/2,s,n)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(n,0,1,t,i),e,s)}let i6=i9(.42,0,1,1),i8=i9(0,0,.58,1),i7=i9(.42,0,.58,1),st=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,se=t=>e=>1-t(1-e),si=i9(.33,1.53,.69,.99),ss=se(si),sn=st(ss),sr=t=>t>=1?1:(t*=2)<1?.5*ss(t):.5*(2-Math.pow(2,-10*(t-1))),so=t=>1-Math.sin(Math.acos(t)),sa=se(so),sl=st(so),sh={linear:tA,easeIn:i6,easeInOut:i7,easeOut:i8,circIn:so,circInOut:sl,circOut:sa,backIn:ss,backInOut:sn,backOut:si,anticipate:sr},su=t=>{if(t3(t)){tn(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,n]=t;return i9(e,i,s,n)}return"string"==typeof t?(tn(void 0!==sh[t],`Invalid easing type '${t}'`,"invalid-easing-type"),sh[t]):t},sd=(t,e,i)=>{let s=e-t;return s?(i-t)/s:1};function sc(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if(tn(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let s=[],n=i||tE.mix||iH,r=t.length-1;for(let i=0;i{if(o&&i1)for(;sh(u(t[0],t[r-1],e)):h}function sp({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r,o=Array.isArray(s)&&"number"!=typeof s[0]?s.map(su):su(s),a={done:!1,value:e[0]},l=sc((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let n=sd(0,e,s);t.push(eO(i,1,n))}}(r=[0],e.length-1),r),n.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||i7).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let sm={decay:i3,inertia:i3,tween:sp,keyframes:sp,spring:i2};function sf(t){"string"==typeof t.type&&(t.type=sm[t.type])}let sg=t=>t/100;class sy extends t2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==en.now()&&this.tick(en.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t5.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;sf(t);let{type:e=sp,repeat:i=0,repeatDelay:s=0,repeatType:n,velocity:r=0}=t,{keyframes:o}=t,a=e||sp;a!==sp&&"number"!=typeof o[0]&&(this.mixKeyframes=iR(sg,iH(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=iX(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:s,totalDuration:n,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return s.next(0);let{delay:h=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=s;if(c){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/a)):"mirror"===p&&(w=o)),b=u(0,1,i)*a}x?(this.delayState.value=d[0],i=this.delayState):i=w.next(b),r&&!x&&(i.value=r(i.value));let{done:T}=i;x||null===l||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&f!==i3&&(i.value=t1(d,this.options,y,this.speed)),g&&g(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=tH(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i5(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(en.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iY,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(en.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,t5.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let sv={anticipate:sr,backInOut:sn,circInOut:sl};class sx extends et{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in sv&&(t.ease=sv[t.ease])}(t),sf(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new sy({...r,autoplay:!1}),a=Math.max(10,en.now()-this.startTime),l=u(0,10,a-10),h=o.sample(a).value,{name:d}=this.options;n&&d&&tG(n,d,h),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,h,l),o.stop()}}let sb=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(F.test(t)||"0"===t)&&!t.startsWith("url("));function sw(t){t.duration=0,t.type="keyframes"}let sT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,sS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),sP=tq(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class sk extends t2{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=en.now();const d={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tO;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){let n;this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=en.now();let d=!0;!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=sb(n,e),a=sb(r,e);return ts(o===a,`You are trying to animate ${e} from "${n}" to "${r}". "${o?r:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=d&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return sP()&&i&&(ee.has(i)||sS.has(i)&&function(t){for(let e=0;e{this.notifyFinished()}).catch(tA),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tF=!0,tN(),tI(),tF=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let sA={type:"spring",stiffness:500,damping:25,restSpeed:10},sE={type:"keyframes",duration:.8},sM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sV=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),sC=(t,e,i,s={},n,r)=>o=>{let a=iV(s,t)||{},l=a.delay||s.delay||0,{elapsed:u=0}=s;u-=tH(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:n};!function(t){for(let e in t)if(!sV.has(e))return!0;return!1}(a)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?sE:h.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:sA:sM)(t,d)),d.duration&&(d.duration=tH(d.duration)),d.repeatDelay&&(d.repeatDelay=tH(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(sw(d),0===d.delay&&(c=!0)),(tE.instantAnimations||tE.skipAnimations||n?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,sw(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,c&&!r&&void 0!==e.get()){let t=t1(d.keyframes,a);if(void 0!==t)return void tC.update(()=>{d.onUpdate(t),d.onComplete()})}return a.isSync?new sy(d):new sk(d)};function sj(t,e,{delay:i=0,transitionOverride:s,type:n}={}){let{transition:r,transitionEnd:o,...a}=e,l=t.getDefaultTransition();r=r?iM(r,l):l;let h=r?.reduceMotion,u=r?.skipAnimations;s&&(r=s);let d=[],c=n&&t.animationState&&t.animationState.getState()[n],p=r?.path;for(let e in p&&p.animateVisualElement(t,a,r,i,d),a){let s=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||c&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(c,e))continue;let o={delay:i,...iV(r||{},e)};u&&(o.skipAnimations=!0);let l=s.get();if(void 0!==l&&!s.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){tC.update(()=>s.set(n));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[iw];if(i){let t=window.MotionHandoffAnimation(i,e,tC);null!==t&&(o.startTime=t,p=!0)}}ij(t,e);let m=h??t.shouldReduceMotion;s.start(sC(e,s,n,m&&J.has(e)?{type:!1}:o,t,p));let f=s.animation;f&&d.push(f)}if(o){let e=()=>tC.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:s={},...n}=iE(t,e)||{};for(let e in n={...n,...i}){var r;let i=iC(r=n[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,el(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function sR(t,e,i,s=0,n=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*s;return"function"==typeof i?i(r,o):1===n?r*s:a-r*s}function sD(t,e,i={}){let s=iE(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let r=s?()=>Promise.all(sj(t,s,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,s=0,n=0,r=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(sD(l,e,{...o,delay:i+("function"==typeof s?0:s)+sR(t.variantChildren,l,s,n,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,s,r,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[r,o]:[o,r];return t().then(()=>e())}}let sL=em.length;function s_(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;st.removeEventListener(e,i)}let sW={x:!1,y:!1};function s$(t){return t.max-t.min}function sH(t,e,i,s=.5){t.origin=s,t.originPoint=eO(e.min,e.max,t.origin),t.scale=s$(i)/s$(e),t.translate=eO(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function sY(t,e,i,s){sH(t.x,e.x,i.x,s?s.originX:void 0),sH(t.y,e.y,i.y,s?s.originY:void 0)}function sX(t,e,i,s=0){t.min=(s?eO(i.min,i.max,s):i.min)+e.min,t.max=t.min+s$(e)}function sK(t,e,i,s=0){let n=s?eO(i.min,i.max,s):i.min;t.min=e.min-n,t.max=t.min+s$(e)}function sG(t,e,i,s){sK(t.x,e.x,i.x,s?.x),sK(t.y,e.y,i.y,s?.y)}let sq=t=>"object"==typeof t&&null!==t;function sZ(t){return sq(t)&&"ownerSVGElement"in t}function sJ(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=i?.[t]??s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}let sQ=new WeakMap,s0=(t,e,i)=>(s,n)=>n&&n[0]?n[0][t+"Size"]:sZ(s)&&"getBBox"in s?s.getBBox()[e]:s[i],s1=s0("inline","width","offsetWidth"),s2=s0("block","height","offsetHeight");function s5({target:t,borderBoxSize:e}){sQ.get(t)?.forEach(i=>{i(t,{get width(){return s1(t,e)},get height(){return s2(t,e)}})})}function s3(t){t.forEach(s5)}let s4=new Set;function s9(t,e){let n;return"function"==typeof t?(s4.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};s4.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{s4.delete(t),s4.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(s3)),(n=sJ(t)).forEach(t=>{let s=sQ.get(t);s||(s=new Set,sQ.set(t,s)),s.add(e),i?.observe(t)}),()=>{n.forEach(t=>{let s=sQ.get(t);s?.delete(e),s?.size||i?.unobserve(t)})})}let s6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),s8=new Set(["INPUT","SELECT","TEXTAREA"]),s7=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nt(t){return{point:{x:t.pageX,y:t.pageY}}}function ne(t,e,i,s){return sU(t,e,t=>s7(t)&&i(t,nt(t)),s)}let ni=({current:t})=>t?t.ownerDocument.defaultView:null,ns=(t,e)=>Math.abs(t-e),nn=new Set(["auto","scroll"]);class nr{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=no(this.lastRawMoveEventInfo,this.transformPagePoint));let i=nl(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(ns(t.x,e.x)**2+ns(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!n)return;let{point:r}=i,{timestamp:o}=tR;this.history.push({...r,timestamp:o});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=no(e,this.transformPagePoint),tC.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=nl("pointercancel"===t.type?this.lastMoveEventInfo:no(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!s7(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const a=no(nt(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=tR;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,nl(a,this.history)),this.removeListeners=iR(ne(this.contextWindow,"pointermove",this.handlePointerMove),ne(this.contextWindow,"pointerup",this.handlePointerUp),ne(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(nn.has(t.overflowX)||nn.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:s.x-e.x,y:s.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,s),tC.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tj(this.updatePoint)}}function no(t,e){return e?{point:e(t.point)}:t}function na(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nl({point:t},e){return{point:t,delta:na(t,nh(e)),offset:na(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=nh(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>tH(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*tH(.1)&&(i=t[1]);let n=(s.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let r={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function nh(t){return t[t.length-1]}function nu(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function nd(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min{e&&this.snapToCursor(nt(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(sW[t])return null;else return sW[t]=!0,()=>{sW[t]=!1};return sW.x||sW.y?null:(sW.x=sW.y=!0,()=>{sW.x=sW.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sz(t=>{let e=this.getAxisMotionValue(t).get()||0;if(P.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=s$(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tC.update(()=>n(t,e),!1,!0),ij(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&tC.update(()=>r(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new nr(t,{onSessionStart:n,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:ni(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&tC.postRender(()=>o(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!ny(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&ti&&(t=s?eO(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&iS(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:nu(t.x,i,n),y:nu(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:nc(t,"left","right"),y:nc(t,"top","bottom")}}(e),s!==this.constraints&&!iS(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&sz(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iS(e))return!1;let s=e.current;tn(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let r=function(t,e,i){let s=e3(t,i),{scroll:n}=e;return n&&(e0(s.x,n.offset.x),e0(s.y,n.offset.y)),s}(s,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:nd(t.x,r.x),y:nd(t.y,r.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=eY(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(sz(o=>{if(!ny(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===r||r===o)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return ij(this.visualElement,t),i.start(sC(t,i,0,e,this.visualElement,!1))}stopAnimation(){sz(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){sz(e=>{let{drag:i}=this.getProps();if(!ny(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-eO(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iS(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};sz(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let r,o,a,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],r=.5,o=s$(i),(a=s$(n))>o?r=sd(n.min,n.max-o,i.min):o>a&&(r=sd(i.min,i.max-a,n.min)),u(0,1,r))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),sz(e=>{if(!ny(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set(eO(n,r,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;nm.set(this.visualElement,this);let e=this.visualElement.current,i=ne(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}=this.getProps(),n=t.target,r=n!==e&&(s8.has(n.tagName)||!0===n.isContentEditable);i&&s&&!r&&this.start(t)}),s=()=>{var i,s,n;let r,o,{dragConstraints:a}=this.getProps();iS(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=a.current,r=s9(i,ng(n=()=>this.scalePositionWithinConstraints())),o=s9(s,ng(n)),t=()=>{r(),o()}))},{projection:n}=this.visualElement,r=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tC.read(s);let o=sU(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(sz(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),r(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:o}}}function ng(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ny(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nv=t=>(e,i)=>{t&&tC.update(()=>t(e,i),!1,!0)},nx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nb=o;let nw=!1;class nT extends nb.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),nw&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),nw=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?r.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?r.promote():r.relegate()||tC.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),ei.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;nw=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function nS(t){let[e,i]=function(t=!0){let e=(0,o.useContext)(id);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:n}=e,r=(0,o.useId)();(0,o.useEffect)(()=>{if(t)return n(r)},[t]);let a=(0,o.useCallback)(()=>t&&s&&s(r),[r,s,t]);return!i&&s?[!1,a]:[!0]}(),s=(0,nb.useContext)(e8);return(0,r.jsx)(nT,{...t,layoutGroup:s,switchLayoutGroup:(0,nb.useContext)(iT),isPresent:e,safeToRemove:i})}let nP=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nk=nP.length,nA=t=>"string"==typeof t?parseFloat(t):t,nE=t=>"number"==typeof t||k.test(t);function nM(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nV=nj(0,.5,sa),nC=nj(.5,.95,tA);function nj(t,e,i){return s=>se?1:i(sd(t,e,s))}function nR(t,e){t.min=e.min,t.max=e.max}function nD(t,e){nR(t.x,e.x),nR(t.y,e.y)}function nL(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function n_(t,e,i,s,n){return t-=e,t=s+1/i*(t-s),void 0!==n&&(t=s+1/n*(t-s)),t}function nB(t,e,[i,s,n],r,o){!function(t,e=0,i=1,s=.5,n,r=t,o=t){if(P.test(e)&&(e=parseFloat(e),e=eO(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eO(r.min,r.max,s);t===r&&(a-=e),t.min=n_(t.min,e,i,a,n),t.max=n_(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,r,o)}let nF=["x","scaleX","originX"],nI=["y","scaleY","originY"];function nN(t,e,i,s){nB(t.x,e,nF,i?i.x:void 0,s?s.x:void 0),nB(t.y,e,nI,i?i.y:void 0,s?s.y:void 0)}function nO(t){return 0===t.translate&&1===t.scale}function nz(t){return nO(t.x)&&nO(t.y)}function nU(t,e){return t.min===e.min&&t.max===e.max}function nW(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function n$(t,e){return nW(t.x,e.x)&&nW(t.y,e.y)}function nH(t){return s$(t.x)/s$(t.y)}function nY(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nX{constructor(){this.members=[]}add(t){tY(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||(tX(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tX(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:n}=t.options;(void 0===s||s!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let nK=(t,e)=>t.depth-e.depth;class nG{constructor(){this.children=[],this.isDirty=!1}add(t){tY(this.children,t),this.isDirty=!0}remove(t){tX(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nK),this.isDirty=!1,this.children.forEach(t)}}let nq=["","X","Y","Z"],nZ=0;function nJ(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function nQ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nZ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(n2),this.nodes.forEach(re),this.nodes.forEach(ri),this.nodes.forEach(n5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;tC.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,r;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=en.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&(tj(r),n(i-250))},tC.setup(r,!0),i=()=>tj(r),nx.hasAnimatedSinceResize&&(nx.hasAnimatedSinceResize=!1,this.nodes.forEach(rt))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||rl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!n$(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iV(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h,e.path)}else e||rt(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tj(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rs),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=i.props[iw];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",tC,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||s$(this.snapshot.measuredBox.x)||s$(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=q());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nL(this.prevProjectionDelta.x,this.projectionDelta.x),nL(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sY(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&nY(this.projectionDelta.x,this.prevProjectionDelta.x)&&nY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1,i){let s,n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},a=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=q(),h=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(h&&!d&&!0===this.options.crossfade&&!this.path.some(ra));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,n=p?.(i);if(n?(a.x.translate=n.x,a.x.scale=eO(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=n.y,a.y.scale=eO(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(rr(a.x,t.x,i),rr(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,m,f,g,y,v;sG(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,ro(f.x,g.x,y.x,v),ro(f.y,g.y,y.y,v),s&&(u=this.relativeTarget,m=s,nU(u.x,m.x)&&nU(u.y,m.y))&&(this.isProjectionDirty=!1),s||(s=q()),nD(s,this.relativeTarget)}h&&(this.animationValues=o,function(t,e,i,s,n,r){n?(t.opacity=eO(0,i.opacity??1,nV(s)),t.opacityExit=eO(e.opacity??1,0,nC(s))):r&&(t.opacity=eO(e.opacity??1,i.opacity??1,s));for(let n=0;n{var e,i,s;let n;nx.hasAnimatedSinceResize=!0,t5.layout++,this.motionValue||(this.motionValue=el(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],s={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t5.layout--},onComplete:()=>{t5.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=Z(e)?e:el(e)).start(sC("",n,i,s)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&rc(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||q();let e=s$(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=s$(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}nD(e,i),e5(e,n),sY(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nX),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&nJ("z",t,s,this.animationValues);for(let e=0;et.currentAnimation?.stop()),this.root.nodes.forEach(n4),this.root.sharedNodes.clear()}}}function n0(t){t.updateLayout()}function n1(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;if("size"===n)sz(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=s$(s);s.min=i[t].min,s.max=s.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";nR(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else rc(n,e.layoutBox,i)&&sz(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],o=s$(i[s]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=K();sY(o,i,e.layoutBox);let a=K();r?sY(a,t.applyTransform(s,!0),e.measuredBox):sY(a,i,e.layoutBox);let l=!nz(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let o=t.options.layoutAnchor||void 0,a=q();sG(a,e.layoutBox,n.layoutBox,o);let l=q();sG(l,i,r.layoutBox,o),n$(a,l)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function n2(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function n5(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function n3(t){t.clearSnapshot()}function n4(t){t.clearMeasurements()}function n9(t){t.isLayoutDirty=!0,t.updateLayout()}function n6(t){t.isLayoutDirty=!1}function n8(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function n7(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rt(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function re(t){t.resolveTargetDelta()}function ri(t){t.calcProjection()}function rs(t){t.resetSkewAndRotation()}function rn(t){t.removeLeadSnapshot()}function rr(t,e,i){t.translate=eO(e.translate,0,i),t.scale=eO(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ro(t,e,i,s){t.min=eO(e.min,i.min,s),t.max=eO(e.max,i.max,s)}function ra(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rl={duration:.45,ease:[.4,0,.1,1]},rh=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ru=rh("applewebkit/")&&!rh("chrome/")?Math.round:tA;function rd(t){t.min=ru(t.min),t.max=ru(t.max)}function rc(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nH(e)-nH(i)))}function rp(t){return t!==t.root&&t.scroll?.wasRoot}let rm=nQ({attachResizeListener:(t,e)=>sU(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rf={current:void 0},rg=nQ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rf.current){let t=new rm({});t.mount(window),t.setOptions({layoutScroll:!0}),rf.current=t}return rf.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ry(t,e){let i=sJ(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function rv(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&tC.postRender(()=>n(e,nt(e)))}let rx=(t,e)=>!!e&&(t===e||rx(t,e.parentElement)),rb=new WeakSet;function rw(t){return e=>{"Enter"===e.key&&t(e)}}function rT(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rS(t){return s7(t)&&!(sW.x||sW.y)}let rP=new WeakSet;function rk(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&tC.postRender(()=>n(e,nt(e)))}let rA=new WeakMap,rE=new WeakMap,rM=t=>{let e=rA.get(t.target);e&&e(t)},rV=t=>{t.forEach(rM)},rC={some:0,all:1},rj=function(t,e){if("u"ik(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,r)=>"create"===r?s:(i.has(r)||i.set(r,ik(r,void 0,t,e)),i.get(r))})}({animation:{Feature:class extends iA{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>sD(t,e,i)));else if("string"==typeof e)s=sD(t,e,i);else{let n="function"==typeof e?iE(t,e,i.custom):e;s=Promise.all(sj(t,n,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=sN(),s=!0,n=!1,r=e=>(i,s)=>{let n=iE(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;tc&&v,S=!1,P=Array.isArray(y)?y:[y],k=P.reduce(r(f),{});!1===x&&(k={});let{prevResolvedValues:A={}}=g,E={...A,...k},M=e=>{T=!0,u.has(e)&&(S=!0,u.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=k[t],i=A[t];if(!d.hasOwnProperty(t))(iC(e)&&iC(i)?!s_(e,i)||w:e!==i)?null!=e?M(t):u.add(t):void 0!==e&&u.has(t)?M(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=k,g.isActive&&(d={...d,...k}),(s||n)&&t.blockInitialAnimation&&(T=!1);let V=b&&w,C=!V||S;T&&C&&h.push(...P.map(e=>{let i={type:f};if("string"==typeof e&&(s||n)&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=iE(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=sR(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=iE(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),h.push({animation:e})}let f=!!h.length;return s&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),s=!1,n=!1,f?e(h):Promise.resolve()}return{animateChanges:o,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=sN(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();ed(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iA{constructor(){super(...arguments),this.id=sO++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iE(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...s}=i;for(let t in s)this.node.getValue(t)?.jump(s[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iA{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:r="some",once:o}=i,a={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:rC[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;rE.has(i)||rE.set(i,{});let s=rE.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(rV,{root:t,...e})),s[n]}(a),rA.set(t,l),e.observe(t),()=>{rA.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iA{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[s,n,r]=ry(t,i),o=t=>{let s=t.currentTarget;if(!rS(t)||rP.has(t))return;rb.add(s),i.stopPropagation&&rP.add(t);let r=e(s,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),rb.has(s)&&rb.delete(s),rS(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,s===window||s===document||i.useGlobalTarget||rx(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return s.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),sq(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=rw(()=>{if(rb.has(i))return;rT(i,"down");let t=rw(()=>{rT(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>rT(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),s6.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(rk(this.node,e,"Start"),(t,{success:e})=>rk(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iA{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iR(sU(this.node.current,"focus",()=>this.onFocus()),sU(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iA{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=ry(t,i);return s.forEach(t=>{let i,s=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{s=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(s){r=!0;return}o(t)}};t.addEventListener("pointerenter",s=>{if("touch"===s.pointerType||sW.x||sW.y)return;r=!1;let o=e(t,s);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{s=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),r}(t,(t,e)=>(rv(this.node,e,"Start"),t=>rv(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iA{constructor(){super(...arguments),this.removePointerDownListener=tA}onPointerDown(t){this.session=new nr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ni(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:nv(t),onStart:nv(e),onMove:nv(i),onEnd:(t,e)=>{delete this.session,s&&tC.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=ne(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iA{constructor(t){super(t),this.removeGroupControls=tA,this.removeListeners=tA,this.controls=new nf(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tA}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:rg,MeasureLayout:nS},layout:{ProjectionNode:rg,MeasureLayout:nS}},(t,e)=>e.isSVG??e6(t)?new eH(e):new e4(e,{allowProjection:t!==o.Fragment}));function rR(t){let e=ic(()=>el(t)),{isStatic:i}=(0,o.useContext)(it);if(i){let[,i]=(0,o.useState)(t);(0,o.useEffect)(()=>e.on("change",i),[])}return e}function rD(t,e){let i=rR(e()),s=()=>i.set(e());return s(),iP(()=>{let e=()=>tC.preRender(s,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),tj(s)}}),i}function rL(t,e,i,s){if("function"==typeof t){let e;return eo.current=[],t(),e=rD(eo.current,t),eo.current=void 0,e}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof e){var n=t,r=e,o=i,a=s;let l=ic(()=>Object.keys(o)),h=ic(()=>({}));for(let t of l)h[t]=rL(n,r,o[t],a);return h}let l="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,s=t[0+i],n=sc(t[1+i],t[2+i],t[3+i]);return e?n(s):n}(e,i,s),h=Array.isArray(t)?r_(t,l):r_([t],([t])=>l(t)),u=Array.isArray(t)?void 0:t.accelerate;return u&&!u.isTransformed&&"function"!=typeof e&&Array.isArray(i)&&s?.clamp!==!1&&(h.accelerate={...u,times:e,keyframes:i,isTransformed:!0,...s?.ease?{ease:s.ease}:{}}),h}function r_(t,e){let i=ic(()=>[]);return rD(t,()=>{i.length=0;let s=t.length;for(let e=0;et.A(30860),{loadableGenerated:{modules:[20927]},ssr:!1});function rO({active:t}){return(0,r.jsx)("div",{className:"dm-st-rail","aria-hidden":!0,children:rI.STAGES.map((e,i)=>(0,r.jsxs)(o.default.Fragment,{children:[i>0&&(0,r.jsx)("span",{className:`dm-st-rail__line is-${i<=t?"on":"off"}`}),(0,r.jsxs)("div",{className:`dm-st-rail__step is-${i{let t=window.matchMedia("(max-width: 767px)"),e=window.matchMedia("(prefers-reduced-motion: reduce)"),i=()=>{x(t.matches),w(e.matches)};return i(),t.addEventListener("change",i),e.addEventListener("change",i),()=>{t.removeEventListener("change",i),e.removeEventListener("change",i)}},[]),(0,o.useEffect)(()=>{let t=e.current;if(!t)return;let i=new IntersectionObserver(t=>{t.some(t=>t.isIntersecting)&&(d(!0),y(!0),i.disconnect())},{rootMargin:"70% 0px"}),s=new IntersectionObserver(t=>y(t.some(t=>t.isIntersecting)),{rootMargin:"10% 0px"});return i.observe(t),s.observe(t),()=>{i.disconnect(),s.disconnect()}},[]),(0,o.useEffect)(()=>{let t=e.current;if(!t)return;rB.default.registerPlugin(rF.ScrollTrigger);let n="before",r=0,o=rF.ScrollTrigger.create({trigger:t,start:"top top",end:"bottom bottom",scrub:.4,invalidateOnRefresh:!0,onUpdate:t=>{let e=t.progress;i.current=e,s.set(e);let o=e<=2e-4?"before":e>=.9998?"after":"pinned";o!==n&&(n=o,a(o));let l=Math.round(e*(rI.N-1));l!==r&&(r=l,h(l))}}),l=setTimeout(()=>rF.ScrollTrigger.refresh(),120);return()=>{clearTimeout(l),o.kill()}},[s]),(0,o.useEffect)(()=>{if(!u)return;let t=setTimeout(()=>{p(t=>t||(console.warn("StrategySection: Scene readiness fallback triggered."),!0))},4e3);return()=>clearTimeout(t)},[u]),(0,o.useEffect)(()=>{if(c){let t=setTimeout(()=>{f(!1)},300);return()=>clearTimeout(t)}},[c]);let T=rL(s,[0,.03,.06],[1,1,0]),S=rL(s,[.02,.07],[0,1]);return(0,r.jsxs)("section",{ref:e,className:`dm-st is-${n}${t?" is-connected":""}`,"aria-label":"Strategy — Happier Riders. Higher Fulfillment.",children:[(0,r.jsx)("div",{className:"dm-st-sticky",children:(0,r.jsxs)("div",{className:"dm-st-card",children:[u&&(0,r.jsx)("div",{className:`dm-st-canvas${c?" is-ready":""}`,"aria-hidden":!c,children:(0,r.jsx)(rN,{progress:i,reduced:b,isMobile:v,active:g&&"pinned"===n,stage:l,ready:c,onReady:()=>p(!0)})}),m&&(0,r.jsxs)("div",{className:`dm-st-loader${c?" is-hiding":""}`,role:"status","aria-live":"polite","aria-label":"Loading MileTruth Strategy Engine",children:[(0,r.jsx)("span",{className:"dm-st-loader__ring"}),(0,r.jsx)("span",{className:"dm-st-loader__text",children:"Loading strategy engine..."})]}),"before"!==n&&(0,r.jsxs)("div",{className:`dm-st-ui${c?" is-ready":""}`,"aria-hidden":!c,children:[(0,r.jsxs)(rj.div,{className:"dm-st-top",style:{opacity:S},children:[(0,r.jsxs)("div",{className:"dm-st-eyebrow",children:[(0,r.jsx)("span",{className:"dm-st-dot"})," MileTruth Strategy Engine"]}),(0,r.jsx)(rO,{active:l})]}),(0,r.jsxs)(rj.div,{className:"dm-st-scrollhint",style:{opacity:T},children:[(0,r.jsx)("span",{children:"Scroll to follow the strategy"}),(0,r.jsx)("span",{className:"dm-st-arrow",children:"↓"})]}),(0,r.jsxs)(rz,{i:0,scroll:s,side:"left",active:l,children:[(0,r.jsx)("h3",{className:"dm-st-pillar__title",children:"Orders & riders enter the system"}),(0,r.jsx)("p",{className:"dm-st-anchor__lead",children:"Orders are uploaded and matched against the available fleet, ready for assignment."}),(0,r.jsxs)("div",{className:"dm-st-anchor__chips",children:[(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"59 Orders"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"4 Riders"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"Fleet ready"})]})]}),(0,r.jsxs)(rz,{i:1,scroll:s,side:"right",active:l,children:[(0,r.jsx)("h3",{className:"dm-st-pillar__title",children:"Six strategies, evaluated in parallel"}),(0,r.jsx)("p",{className:"dm-st-anchor__lead",children:"The AI runs every routing strategy at the same time — legacy baselines and MileTruth's unified engine."}),(0,r.jsxs)("div",{className:"dm-st-anchor__chips",children:[(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"EV Aware"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"Multi Trip"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"+4 more"})]})]}),(0,r.jsxs)(rz,{i:2,scroll:s,side:"left",active:l,children:[(0,r.jsx)("h3",{className:"dm-st-pillar__title",children:"Routes optimized & validated"}),(0,r.jsx)("p",{className:"dm-st-anchor__lead",children:"Every route is solved for distance, then checked against battery range and delivery SLAs."}),(0,r.jsxs)("div",{className:"dm-st-anchor__chips",children:[(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"Optimize"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"Battery"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"SLA"})]})]}),(0,r.jsxs)(rz,{i:3,scroll:s,side:"right",active:l,children:[(0,r.jsx)("h3",{className:"dm-st-pillar__title",children:"Every strategy is scored"}),(0,r.jsx)("p",{className:"dm-st-anchor__lead",children:"Each strategy is graded live on fulfillment, SLA compliance, efficiency and battery feasibility."}),(0,r.jsxs)("div",{className:"dm-st-anchor__chips",children:[(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"Grade A"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"88% Fulfillment"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"95% SLA"})]})]}),(0,r.jsxs)(rz,{i:4,scroll:s,side:"right",active:l,children:[(0,r.jsx)("h3",{className:"dm-st-pillar__title",children:"Happier riders. Higher fulfillment."}),(0,r.jsx)("p",{className:"dm-st-anchor__lead",children:"EV Aware wins — the best fulfillment with feasible, battery-safe routes for every rider."}),(0,r.jsxs)("div",{className:"dm-st-anchor__chips",children:[(0,r.jsx)("span",{className:"dm-st-anchor__chip dm-st-anchor__chip--win",children:"🏆 EV Aware"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"88% Score"}),(0,r.jsx)("span",{className:"dm-st-anchor__chip",children:"52/59 Fulfilled"})]})]})]})]})}),(0,r.jsx)("style",{children:rW})]})}let rW=` -/* Scroll length tuned for pacing: ~100vh per stage (was 144vh) so the 5 stages - complete in noticeably less scrolling and the workflow feels tighter / faster. - Stage cross-fade windows are progress-based (0…1), so they stay aligned. */ -.dm-st { position: relative; height: 500vh; background: transparent; } -.dm-st-sticky { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden; - will-change: transform; transform: translateZ(0); backface-visibility: hidden; } -.dm-st.is-pinned .dm-st-sticky { position: fixed; top: 0; left: 0; } -.dm-st.is-after .dm-st-sticky { position: absolute; top: auto; bottom: 0; } - -.dm-st-card { - position: absolute !important; inset: 20px !important; - border-radius: 28px !important; overflow: hidden !important; - background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #eef1f6 60%, #e6eaf2 100%) !important; - border: 1px solid rgba(15,23,42,0.08) !important; - box-shadow: 0 30px 90px -34px rgba(15,23,42,0.4) !important; - box-sizing: border-box !important; -} -@media (max-width: 767px) { .dm-st-card { inset: 10px !important; border-radius: 20px !important; } } - -/* Connected mode (inside Workflow 3): flatten the card's bottom so the Strategy - content card below butts directly against it — same seam as Workflow 1 & 2. */ -.dm-st.is-connected .dm-st-card { - top: 20px !important; left: 20px !important; right: 20px !important; bottom: 0 !important; - border-radius: 28px 28px 0 0 !important; border-bottom: none !important; - /* Flush against the Strategy card below — drop the heavy downward shadow so it - doesn't cast a dark band onto that card's top edge (the two read as one container). */ - box-shadow: none !important; -} -@media (max-width: 767px) { - .dm-st.is-connected .dm-st-card { - top: 10px !important; left: 10px !important; right: 10px !important; bottom: 0 !important; - border-radius: 20px 20px 0 0 !important; - } -} - -.dm-st-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0; visibility: hidden; - transition: opacity 0.25s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.25s; } -.dm-st-canvas.is-ready { opacity: 1; visibility: visible; transition-delay: 0s; } -.dm-st-canvas canvas { display: block; } - -.dm-st-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; - font-family: var(--font-space-grotesk), var(--font-manrope), system-ui, sans-serif; color: #0f172a; - opacity: 0; visibility: hidden; - transition: opacity 0.25s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.25s; } -.dm-st-ui.is-ready { opacity: 1; visibility: visible; transition-delay: 0s; } - -.dm-st-loader { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 6; - display: flex; align-items: center; gap: 8px; - background: rgba(15,23,42,0.85); border: 1px solid rgba(255,255,255,0.08); - padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); - opacity: 1; pointer-events: none; - animation: dmStLoaderFadeIn 0.2s ease both; - transition: opacity 0.25s ease; } -.dm-st-loader.is-hiding { opacity: 0; pointer-events: none; } -.dm-st-loader__ring { width: 14px; height: 14px; border-radius: 50%; - border: 2px solid rgba(255,255,255,0.2); border-top-color: #00E5FF; - animation: dm-hiw-spin 0.8s linear infinite; box-sizing: border-box; } -.dm-st-loader__text { font-family: var(--font-space-grotesk), var(--font-manrope), system-ui, sans-serif; - color: #ffffff; font-size: 13.5px; font-weight: 500; opacity: 0.75; white-space: nowrap; } -@keyframes dmStLoaderFadeIn { from { opacity: 0; } to { opacity: 1; } } -@keyframes dm-hiw-spin { to { transform: rotate(360deg); } } - -/* ---- Persistent header: title + 5-stage rail ---- */ -.dm-st-top { position: absolute; top: clamp(96px, 13vh, 128px); left: 0; right: 0; z-index: 5; - display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px; } -.dm-st-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.35; - letter-spacing: 0.28em; text-transform: uppercase; color: #475569; padding: 9px 18px; border-radius: 999px; - background: rgba(255,255,255,0.72); border: 1px solid rgba(15,23,42,0.08); backdrop-filter: blur(10px); white-space: nowrap; } -.dm-st-dot { width: 6px; height: 6px; border-radius: 50%; background: #6366f1; box-shadow: 0 0 10px #6366f1; } - -.dm-st-rail { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 980px; } -.dm-st-rail__step { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; - background: rgba(255,255,255,0.7); border: 1px solid rgba(15,23,42,0.08); backdrop-filter: blur(8px); - transition: all 0.45s cubic-bezier(0.22,1,0.36,1); } -.dm-st-rail__num { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; - font-size: 10px; font-weight: 800; color: #64748b; background: rgba(15,23,42,0.06); } -.dm-st-rail__title { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #64748b; white-space: nowrap; } -.dm-st-rail__step.is-current { background: color-mix(in srgb, var(--c) 16%, white); border-color: var(--c); - box-shadow: 0 0 22px -6px var(--c); } -.dm-st-rail__step.is-current .dm-st-rail__num { background: var(--c); color: #fff; } -.dm-st-rail__step.is-current .dm-st-rail__title { color: #0f172a; } -.dm-st-rail__step.is-done .dm-st-rail__num { background: #22C55E; color: #fff; } -.dm-st-rail__step.is-done .dm-st-rail__title { color: #334155; } -.dm-st-rail__line { width: 14px; height: 1px; background: rgba(15,23,42,0.14); margin: 0 3px; transition: background 0.45s ease; } -.dm-st-rail__line.is-on { background: var(--c, #22C55E); } - -.dm-st-scrollhint { position: absolute; bottom: clamp(26px, 6vh, 60px); left: 50%; transform: translateX(-50%); - display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; - color: #64748b; text-transform: uppercase; text-align: center; } -.dm-st-arrow { font-size: 18px; animation: dmStBob 1.8s ease-in-out infinite; } -@keyframes dmStBob { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(6px); opacity: 1; } } - -/* ---- Per-stage glass content card ---- */ -.dm-st-card-story { position: absolute; bottom: clamp(24px, 6vh, 64px); width: min(484px, 88vw); - pointer-events: auto; will-change: opacity, transform; padding: 20px 22px; border-radius: 20px; - background: rgba(255,255,255,0.94); border: 1px solid rgba(15,23,42,0.08); - /* backdrop blur removed — card cross-fades/translates per scroll-stage; blur was the - heaviest per-frame cost on this section. Near-opaque white keeps the glass look. */ - border-top: 3px solid var(--c); - box-shadow: 0 28px 70px -34px rgba(15,23,42,0.5); } -.dm-st-card-story.is-left { left: clamp(18px, 5vw, 72px); } -.dm-st-card-story.is-right { right: clamp(18px, 5vw, 72px); } -.dm-st-card-story__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } -.dm-st-pillar__num { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: #fff; - background: var(--c); border-radius: 7px; padding: 3px 8px; } -.dm-st-pillar__kicker { font-size: clamp(11px, 1.1vw, 13px); font-weight: 700; letter-spacing: 0.16em; - text-transform: uppercase; color: var(--c); } -.dm-st .dm-st-pillar__title { margin: 0 0 14px !important; padding: 0 !important; color: #0f172a !important; - font-weight: 700 !important; text-transform: none !important; letter-spacing: -0.015em !important; - font-size: clamp(18px, 2vw, 26px) !important; line-height: 1.16 !important; } -.dm-st .dm-st-pillar__title--hero { font-size: clamp(22px, 2.6vw, 34px) !important; - background: linear-gradient(90deg, #C01227, #E2354A) !important; -webkit-background-clip: text !important; - background-clip: text !important; -webkit-text-fill-color: transparent !important; } -.dm-st-foot { margin: 12px 0 0; font-size: clamp(12px, 1.1vw, 13.5px); line-height: 1.5; color: #475569; - display: flex; align-items: center; gap: 8px; } -.dm-st-livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); - animation: dmStPulse 1.8s ease-out infinite; } -@keyframes dmStPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } } - -/* In-scene 3D labels (drei ) — crisp glass chips floating in the WebGL scene */ -.dm-st3d-file, .dm-st3d-count, .dm-st3d-ai, .dm-st3d-chip { - font-family: var(--font-space-grotesk), var(--font-manrope), system-ui, sans-serif; - pointer-events: none; user-select: none; white-space: nowrap; transition: opacity 0.2s linear; } -.dm-st3d-file, .dm-st3d-ai { - display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0f172a; - background: rgba(255,255,255,0.88); border: 1px solid rgba(34,197,94,0.4); border-radius: 999px; - padding: 6px 13px; box-shadow: 0 8px 22px -12px rgba(34,197,94,0.7); backdrop-filter: blur(8px); } -.dm-st3d-count { font-size: 15px; font-weight: 800; color: #0f172a; background: rgba(255,255,255,0.9); - border: 1px solid rgba(34,197,94,0.45); border-radius: 12px; padding: 6px 14px; - box-shadow: 0 10px 26px -12px rgba(34,197,94,0.8); backdrop-filter: blur(8px); } -.dm-st3d-count span { color: #16a34a; font-size: 19px; } -.dm-st3d-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92); - border: 1px solid rgba(34,197,94,0.4); border-radius: 12px; padding: 6px 11px; - box-shadow: 0 10px 26px -14px rgba(15,23,42,0.7); backdrop-filter: blur(8px); } -.dm-st3d-chip__ico { font-size: 17px; } -.dm-st3d-chip__txt { display: flex; flex-direction: column; line-height: 1.15; } -.dm-st3d-chip__txt b { font-size: 12.5px; font-weight: 800; color: #0f172a; } -.dm-st3d-chip__txt { font-size: 10.5px; color: #475569; } - -/* Generic themed 3D chips (stages 02–05) — colour comes from --tc per element */ -.dm-st3d-tag, .dm-st3d-score { - font-family: var(--font-space-grotesk), var(--font-manrope), system-ui, sans-serif; - pointer-events: none; user-select: none; white-space: nowrap; transition: opacity 0.2s linear; } -.dm-st3d-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #0f172a; - background: rgba(255,255,255,0.9); border: 1px solid color-mix(in srgb, var(--tc, #8B5CF6) 55%, white); - border-radius: 999px; padding: 5px 11px; box-shadow: 0 8px 20px -12px var(--tc, #8B5CF6); backdrop-filter: blur(8px); } -.dm-st3d-tag b { font-weight: 800; color: var(--tc, #0f172a); } -.dm-st3d-tag.is-u { background: color-mix(in srgb, var(--tc) 14%, white); border-color: var(--tc); } -.dm-st3d-tag.is-muted { opacity: 0.82; border-style: dashed; } -.dm-st3d-tag.is-win { border-color: var(--tc); box-shadow: 0 10px 26px -10px var(--tc); } -.dm-st3d-score { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0f172a; - background: rgba(255,255,255,0.92); border: 1px solid color-mix(in srgb, var(--tc, #0f172a) 45%, white); - border-radius: 12px; padding: 6px 13px; box-shadow: 0 10px 26px -12px var(--tc, #0f172a); backdrop-filter: blur(8px); } -.dm-st3d-score b { font-size: 16px; font-weight: 800; color: var(--tc, #0f172a); } -.dm-st3d-score.is-win { border-color: var(--tc); } - -/* Light side-card anchor — the 3D world now carries the detail */ -.dm-st-anchor__lead { margin: 0 0 14px; font-size: clamp(13px, 1.2vw, 15px); line-height: 1.55; color: #475569; } -.dm-st-anchor__chips { display: flex; flex-wrap: wrap; gap: 8px; } -.dm-st-anchor__chip { font-size: 12px; font-weight: 700; color: #334155; padding: 6px 12px; border-radius: 999px; - background: color-mix(in srgb, var(--c) 9%, white); border: 1px solid color-mix(in srgb, var(--c) 30%, white); } -.dm-st-anchor__chip--win { color: #fff; background: linear-gradient(90deg, #C01227, #E2354A); border-color: transparent; } - -/* In-world Command Center KPI card + Winner card (drei , faded by proximity) */ -.dm-st3d-kpi, .dm-st3d-winner3d { - font-family: var(--font-space-grotesk), var(--font-manrope), system-ui, sans-serif; - pointer-events: none; user-select: none; transition: opacity 0.2s linear; } -.dm-st3d-kpi { display: flex; flex-direction: column; gap: 5px; width: 132px; padding: 9px 12px; border-radius: 12px; - background: rgba(255,255,255,0.95); border: 1px solid color-mix(in srgb, var(--tc, #F59E0B) 40%, white); - box-shadow: 0 10px 26px -14px var(--tc, #F59E0B); backdrop-filter: blur(8px); } -.dm-st3d-kpi__n { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; } -.dm-st3d-kpi__v { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1; } -.dm-st3d-kpi__v i { font-size: 14px; font-weight: 700; color: var(--tc, #F59E0B); font-style: normal; margin-left: 1px; } -.dm-st3d-kpi__bar { height: 6px; border-radius: 999px; background: rgba(15,23,42,0.08); overflow: hidden; } -.dm-st3d-kpi__bar i { display: block; height: 100%; border-radius: 999px; background: var(--tc, #F59E0B); } -.dm-st3d-winner3d { display: flex; flex-direction: column; gap: 3px; width: 184px; padding: 13px 15px; border-radius: 14px; - background: rgba(255,255,255,0.96); border: 1px solid rgba(192,18,39,0.4); box-shadow: 0 16px 40px -16px rgba(192,18,39,0.6); backdrop-filter: blur(8px); } -.dm-st3d-winner3d__top { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #C01227; } -.dm-st3d-winner3d__name { font-size: 26px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 4px; } -.dm-st3d-winner3d__row { font-size: 12px; color: #475569; } -.dm-st3d-winner3d__row b { color: #C01227; font-weight: 800; margin-right: 4px; } - -@media (max-width: 1000px) { - .dm-st-rail__title { display: none; } - .dm-st-rail__step { padding: 5px 7px; } - .dm-st-rail__line { width: 9px; } -} -@media (max-width: 767px) { - .dm-st { height: 420vh; } - /* Full-width, bottom-anchored story card. Bound its height to the viewport and - let it scroll internally so a tall stage card (Command Center / Winner) can - never be clipped off the top of a short phone screen — the active workflow - state always stays fully visible. */ - .dm-st-card-story { left: 0 !important; right: 0 !important; margin: 0 auto; width: calc(100% - 28px); - bottom: clamp(18px, 4vh, 40px); padding: 15px 16px; - max-height: 52vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; } -} -@media (prefers-reduced-motion: reduce) { - .dm-st-arrow { animation: none !important; } -} -`;t.s(["default",0,function(){return(0,r.jsxs)("section",{className:"dm-wf3","aria-label":"Workflow 3 — Happier Riders. Higher Fulfillment.",children:[(0,r.jsx)(rU,{}),(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .dm-wf3 { position: relative; margin: 0 auto; } - /* Cancel the global "section { padding: 6rem 0 }": both this wrapper - and the nested .dm-st are sections, so that padding would stack into - large empty bands around the pinned 3D experience. */ - .dm-wf3, .dm-wf3 .dm-st { padding-top: 0; padding-bottom: 0; } - `}})]})}],56305)},55819,t=>{t.n(t.i(56305))}]); \ No newline at end of file diff --git a/.next/static/chunks/0d1hvye~4r7kb.js b/.next/static/chunks/0d1hvye~4r7kb.js deleted file mode 100644 index e634dbc..0000000 --- a/.next/static/chunks/0d1hvye~4r7kb.js +++ /dev/null @@ -1,243 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55838,(e,t,n)=>{"use strict";var i=e.r(71645),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useState,s=i.useEffect,o=i.useLayoutEffect,l=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="u"{"use strict";t.exports=e.r(55838)},52822,(e,t,n)=>{"use strict";var i=e.r(71645),r=e.r(2239),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useSyncExternalStore,o=i.useRef,l=i.useEffect,u=i.useMemo,c=i.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,i,r){var h=o(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var p=s(e,(h=u(function(){function e(e){if(!l){if(l=!0,s=e,e=i(e),void 0!==r&&d.hasValue){var t=d.value;if(r(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var n=i(e);return void 0!==r&&r(t,n)?(s=e,t):(s=e,o=n)}var s,o,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,i,r]))[0],h[1]);return l(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}},30224,(e,t,n)=>{"use strict";t.exports=e.r(52822)},66936,(e,t,n)=>{"use strict";function i(e,t){var n=e.length;for(e.push(t);0>>1,r=e[i];if(0>>1;is(l,n))us(c,l)?(e[i]=c,e[u]=n,i=u):(e[i]=l,e[o]=n,i=o);else if(us(c,n))e[i]=c,e[u]=n,i=u;else break}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var h=[],d=[],p=1,f=null,m=3,g=!1,v=!1,_=!1,y=!1,x="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,S="u">typeof setImmediate?setImmediate:null;function M(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,i(h,t);else break;t=r(d)}}function T(e){if(_=!1,M(e),!v)if(null!==r(h))v=!0,w||(w=!0,o());else{var t=r(d);null!==t&&N(T,t.startTime-e)}}var w=!1,E=-1,A=5,C=-1;function R(){return!!y||!(n.unstable_now()-Ce&&R());){var s=f.callback;if("function"==typeof s){f.callback=null,m=f.priorityLevel;var l=s(f.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){f.callback=l,M(e),t=!0;break t}f===r(h)&&a(h),M(e)}else a(h);f=r(h)}if(null!==f)t=!0;else{var u=r(d);null!==u&&N(T,u.startTime-e),t=!1}}break e}finally{f=null,m=i,g=!1}}}finally{t?o():w=!1}}}if("function"==typeof S)o=function(){S(P)};else if("u">typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=P,o=function(){L.postMessage(null)}}else o=function(){x(P,0)};function N(e,t){E=x(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125s?(e.sortIndex=a,i(d,e),null===r(h)&&e===r(d)&&(_?(b(E),E=-1):_=!0,N(T,a-s))):(e.sortIndex=l,i(h,e),v||g||(v=!0,w||(w=!0,o()))),e},n.unstable_shouldYield=R,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},89499,(e,t,n)=>{"use strict";t.exports=e.r(66936)},75056,90072,8560,8155,1950,25234,28600,e=>{"use strict";let t,n,i,r,a,s,o,l,u,c,h,d,p,f,m,g,v,_;var y,x,b,S,M,T,w=e.i(47167),E=e.i(71645);let A={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},C={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},R="attached",P="detached",I="srgb",L="srgb-linear",N="linear",U="srgb",D="300 es";class O{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});let n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;let n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;let n=this._listeners[e];if(void 0!==n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;let t=this._listeners[e.type];if(void 0!==t){e.target=this;let n=t.slice(0);for(let t=0,i=n.length;t>8&255]+F[e>>16&255]+F[e>>24&255]+"-"+F[255&t]+F[t>>8&255]+"-"+F[t>>16&15|64]+F[t>>24&255]+"-"+F[63&n|128]+F[n>>8&255]+"-"+F[n>>16&255]+F[n>>24&255]+F[255&i]+F[i>>8&255]+F[i>>16&255]+F[i>>24&255]).toLowerCase()}function V(e,t,n){return Math.max(t,Math.min(n,e))}function G(e,t){return(e%t+t)%t}function W(e,t,n){return(1-n)*e+n*t}function j(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/0xffffffff;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/0x7fffffff,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error("Invalid component type.")}}function X(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(0xffffffff*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(0x7fffffff*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw Error("Invalid component type.")}}let q={DEG2RAD:B,RAD2DEG:k,generateUUID:H,clamp:V,euclideanModulo:G,mapLinear:function(e,t,n,i,r){return i+(e-t)*(r-i)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:W,damp:function(e,t,n,i){return W(e,t,1-Math.exp(-n*i))},pingpong:function(e,t=1){return t-Math.abs(G(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(z=e);let t=z+=0x6d2b79f5;return t=Math.imul(t^t>>>15,1|t),(((t^=t+Math.imul(t^t>>>7,61|t))^t>>>14)>>>0)/0x100000000},degToRad:function(e){return e*B},radToDeg:function(e){return e*k},isPowerOfTwo:function(e){return(e&e-1)==0&&0!==e},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,n,i,r){let a=Math.cos,s=Math.sin,o=a(n/2),l=s(n/2),u=a((t+i)/2),c=s((t+i)/2),h=a((t-i)/2),d=s((t-i)/2),p=a((i-t)/2),f=s((i-t)/2);switch(r){case"XYX":e.set(o*c,l*h,l*d,o*u);break;case"YZY":e.set(l*d,o*c,l*h,o*u);break;case"ZXZ":e.set(l*h,l*d,o*c,o*u);break;case"XZX":e.set(o*c,l*f,l*p,o*u);break;case"YXY":e.set(l*p,o*c,l*f,o*u);break;case"ZYZ":e.set(l*f,l*p,o*c,o*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}},normalize:X,denormalize:j};class Y{constructor(e=0,t=0){Y.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6],this.y=i[1]*t+i[4]*n+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),i=Math.sin(t),r=this.x-e.x,a=this.y-e.y;return this.x=r*n-a*i+e.x,this.y=r*i+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Z{constructor(e,t,n,i,r,a,s,o,l){Z.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l)}set(e,t,n,i,r,a,s,o,l){let u=this.elements;return u[0]=e,u[1]=i,u[2]=s,u[3]=t,u[4]=r,u[5]=o,u[6]=n,u[7]=a,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[3],o=n[6],l=n[1],u=n[4],c=n[7],h=n[2],d=n[5],p=n[8],f=i[0],m=i[3],g=i[6],v=i[1],_=i[4],y=i[7],x=i[2],b=i[5],S=i[8];return r[0]=a*f+s*v+o*x,r[3]=a*m+s*_+o*b,r[6]=a*g+s*y+o*S,r[1]=l*f+u*v+c*x,r[4]=l*m+u*_+c*b,r[7]=l*g+u*y+c*S,r[2]=h*f+d*v+p*x,r[5]=h*m+d*_+p*b,r[8]=h*g+d*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8];return t*a*u-t*s*l-n*r*u+n*s*o+i*r*l-i*a*o}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=u*a-s*l,h=s*o-u*r,d=l*r-a*o,p=t*c+n*h+i*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);let f=1/p;return e[0]=c*f,e[1]=(i*l-u*n)*f,e[2]=(s*n-i*a)*f,e[3]=h*f,e[4]=(u*t-i*o)*f,e[5]=(i*r-s*t)*f,e[6]=d*f,e[7]=(n*o-l*t)*f,e[8]=(a*t-n*r)*f,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,i,r,a,s){let o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*a+l*s)+a+e,-i*l,i*o,-i*(-l*a+o*s)+s+t,0,0,1),this}scale(e,t){return this.premultiply(J.makeScale(e,t)),this}rotate(e){return this.premultiply(J.makeRotation(-e)),this}translate(e,t){return this.premultiply(J.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}let J=new Z;function K(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}let $={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Q(e,t){return new $[e](t)}function ee(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function et(){let e=ee("canvas");return e.style.display="block",e}let en={};function ei(e){e in en||(en[e]=!0,console.warn(e))}function er(e,t,n){return new Promise(function(i,r){setTimeout(function a(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:r();break;case e.TIMEOUT_EXPIRED:setTimeout(a,n);break;default:i()}},n)})}function ea(e){let t=e.elements;t[2]=.5*t[2]+.5*t[3],t[6]=.5*t[6]+.5*t[7],t[10]=.5*t[10]+.5*t[11],t[14]=.5*t[14]+.5*t[15]}function es(e){let t=e.elements;-1===t[11]?(t[10]=-t[10]-1,t[14]=-t[14]):(t[10]=-t[10],t[14]=-t[14]+1)}let eo=new Z().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),el=new Z().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),eu=(d=[.64,.33,.3,.6,.15,.06],p=[.2126,.7152,.0722],f=[.3127,.329],(h={enabled:!0,workingColorSpace:L,spaces:{},convert:function(e,t,n){return!1!==this.enabled&&t!==n&&t&&n&&(this.spaces[t].transfer===U&&(e.r=ec(e.r),e.g=ec(e.g),e.b=ec(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===U&&(e.r=eh(e.r),e.g=eh(e.g),e.b=eh(e.b))),e},fromWorkingColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return""===e?N:this.spaces[e].transfer},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace}}).define({[L]:{primaries:d,whitePoint:f,transfer:N,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,workingColorSpaceConfig:{unpackColorSpace:I},outputColorSpaceConfig:{drawingBufferColorSpace:I}},[I]:{primaries:d,whitePoint:f,transfer:U,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,outputColorSpaceConfig:{drawingBufferColorSpace:I}}}),h);function ec(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function eh(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}class ed{static getDataURL(e){let n;if(/^data:/i.test(e.src)||"u"2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap){let t=ee("canvas");t.width=e.width,t.height=e.height;let n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);let i=n.getImageData(0,0,e.width,e.height),r=i.data;for(let e=0;etypeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap?ed.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let eg=0;class ev extends O{constructor(e=ev.DEFAULT_IMAGE,t=ev.DEFAULT_MAPPING,n=1001,i=1001,r=1006,a=1008,s=1023,o=1009,l=ev.DEFAULT_ANISOTROPY,u=""){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:eg++}),this.uuid=H(),this.name="",this.source=new ef(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=a,this.anisotropy=l,this.format=s,this.internalFormat=null,this.type=o,this.offset=new Y(0,0),this.repeat=new Y(1,1),this.center=new Y(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Z,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.pmremVersion=0}get image(){return this.source.data}set image(e=null){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}toJSON(e){let t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];let n={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(300!==this.mapping)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case 1e3:e.x=e.x-Math.floor(e.x);break;case 1001:e.x=e.x<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case 1e3:e.y=e.y-Math.floor(e.y);break;case 1001:e.y=e.y<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){!0===e&&this.pmremVersion++}}ev.DEFAULT_IMAGE=null,ev.DEFAULT_MAPPING=300,ev.DEFAULT_ANISOTROPY=1;class e_{constructor(e=0,t=0,n=0,i=1){e_.prototype.isVector4=!0,this.x=e,this.y=t,this.z=n,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,i){return this.x=e,this.y=t,this.z=n,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*i+a[12]*r,this.y=a[1]*t+a[5]*n+a[9]*i+a[13]*r,this.z=a[2]*t+a[6]*n+a[10]*i+a[14]*r,this.w=a[3]*t+a[7]*n+a[11]*i+a[15]*r,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,i,r,a=e.elements,s=a[0],o=a[4],l=a[8],u=a[1],c=a[5],h=a[9],d=a[2],p=a[6],f=a[10];if(.01>Math.abs(o-u)&&.01>Math.abs(l-d)&&.01>Math.abs(h-p)){if(.1>Math.abs(o+u)&&.1>Math.abs(l+d)&&.1>Math.abs(h+p)&&.1>Math.abs(s+c+f-3))return this.set(1,0,0,0),this;t=Math.PI;let e=(s+1)/2,a=(c+1)/2,m=(f+1)/2,g=(o+u)/4,v=(l+d)/4,_=(h+p)/4;return e>a&&e>m?e<.01?(n=0,i=.707106781,r=.707106781):(i=g/(n=Math.sqrt(e)),r=v/n):a>m?a<.01?(n=.707106781,i=0,r=.707106781):(n=g/(i=Math.sqrt(a)),r=_/i):m<.01?(n=.707106781,i=.707106781,r=0):(n=v/(r=Math.sqrt(m)),i=_/r),this.set(n,i,r,t),this}let m=Math.sqrt((p-h)*(p-h)+(l-d)*(l-d)+(u-o)*(u-o));return .001>Math.abs(m)&&(m=1),this.x=(p-h)/m,this.y=(l-d)/m,this.z=(u-o)/m,this.w=Math.acos((s+c+f-1)/2),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this.w=V(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this.w=V(this.w,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class ey extends O{constructor(e=1,t=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new e_(0,0,e,t),this.scissorTest=!1,this.viewport=new e_(0,0,e,t);const i=new ev({width:e,height:t,depth:1},(n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:1006,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},n)).mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace);i.flipY=!1,i.generateMipmaps=n.generateMipmaps,i.internalFormat=n.internalFormat,this.textures=[];const r=n.count;for(let e=0;e=0?1:-1,i=1-t*t;if(i>Number.EPSILON){let r=Math.sqrt(i),a=Math.atan2(r,t*n);e=Math.sin(e*a)/r,s=Math.sin(s*a)/r}let r=s*n;if(o=o*e+h*r,l=l*e+d*r,u=u*e+p*r,c=c*e+f*r,e===1-s){let e=1/Math.sqrt(o*o+l*l+u*u+c*c);o*=e,l*=e,u*=e,c*=e}}e[t]=o,e[t+1]=l,e[t+2]=u,e[t+3]=c}static multiplyQuaternionsFlat(e,t,n,i,r,a){let s=n[i],o=n[i+1],l=n[i+2],u=n[i+3],c=r[a],h=r[a+1],d=r[a+2],p=r[a+3];return e[t]=s*p+u*c+o*d-l*h,e[t+1]=o*p+u*h+l*c-s*d,e[t+2]=l*p+u*d+s*h-o*c,e[t+3]=u*p-s*c-o*h-l*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,i){return this._x=e,this._y=t,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,i=e._y,r=e._z,a=e._order,s=Math.cos,o=Math.sin,l=s(n/2),u=s(i/2),c=s(r/2),h=o(n/2),d=o(i/2),p=o(r/2);switch(a){case"XYZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"YXZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"ZXY":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"ZYX":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"YZX":this._x=h*u*c+l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c-h*d*p;break;case"XZY":this._x=h*u*c-l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!0===t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,i=Math.sin(n);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],i=t[4],r=t[8],a=t[1],s=t[5],o=t[9],l=t[2],u=t[6],c=t[10],h=n+s+c;if(h>0){let e=.5/Math.sqrt(h+1);this._w=.25/e,this._x=(u-o)*e,this._y=(r-l)*e,this._z=(a-i)*e}else if(n>s&&n>c){let e=2*Math.sqrt(1+n-s-c);this._w=(u-o)/e,this._x=.25*e,this._y=(i+a)/e,this._z=(r+l)/e}else if(s>c){let e=2*Math.sqrt(1+s-n-c);this._w=(r-l)/e,this._x=(i+a)/e,this._y=.25*e,this._z=(o+u)/e}else{let e=2*Math.sqrt(1+c-n-s);this._w=(a-i)/e,this._x=(r+l)/e,this._y=(o+u)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return nMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0):(this._x=0,this._y=-e.z,this._z=e.y)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x),this._w=n,this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(V(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(0===n)return this;let i=Math.min(1,t/n);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,i=e._y,r=e._z,a=e._w,s=t._x,o=t._y,l=t._z,u=t._w;return this._x=n*u+a*s+i*l-r*o,this._y=i*u+a*o+r*s-n*l,this._z=r*u+a*l+n*o-i*s,this._w=a*u-n*s-i*o-r*l,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);let n=this._x,i=this._y,r=this._z,a=this._w,s=a*e._w+n*e._x+i*e._y+r*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=a,this._x=n,this._y=i,this._z=r,this;let o=1-s*s;if(o<=Number.EPSILON){let e=1-t;return this._w=e*a+t*this._w,this._x=e*n+t*this._x,this._y=e*i+t*this._y,this._z=e*r+t*this._z,this.normalize(),this}let l=Math.sqrt(o),u=Math.atan2(l,s),c=Math.sin((1-t)*u)/l,h=Math.sin(t*u)/l;return this._w=a*c+this._w*h,this._x=n*c+this._x*h,this._y=i*c+this._y*h,this._z=r*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),i=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(i*Math.sin(e),i*Math.cos(e),r*Math.sin(t),r*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class eE{constructor(e=0,t=0,n=0){eE.prototype.isVector3=!0,this.x=e,this.y=t,this.z=n}set(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(eC.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(eC.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6]*i,this.y=r[1]*t+r[4]*n+r[7]*i,this.z=r[2]*t+r[5]*n+r[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=e.elements,a=1/(r[3]*t+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*t+r[4]*n+r[8]*i+r[12])*a,this.y=(r[1]*t+r[5]*n+r[9]*i+r[13])*a,this.z=(r[2]*t+r[6]*n+r[10]*i+r[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,i=this.z,r=e.x,a=e.y,s=e.z,o=e.w,l=2*(a*i-s*n),u=2*(s*t-r*i),c=2*(r*n-a*t);return this.x=t+o*l+a*c-s*u,this.y=n+o*u+s*l-r*c,this.z=i+o*c+r*u-a*l,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[4]*n+r[8]*i,this.y=r[1]*t+r[5]*n+r[9]*i,this.z=r[2]*t+r[6]*n+r[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,i=e.y,r=e.z,a=t.x,s=t.y,o=t.z;return this.x=i*o-r*s,this.y=r*a-n*o,this.z=n*s-i*a,this}projectOnVector(e){let t=e.lengthSq();if(0===t)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return eA.copy(this).projectOnVector(e),this.sub(eA)}reflect(e){return this.sub(eA.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,i=this.z-e.z;return t*t+n*n+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let i=Math.sin(t)*e;return this.x=i*Math.sin(n),this.y=Math.cos(t)*e,this.z=i*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=2*Math.random()-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}let eA=new eE,eC=new ew;class eR{constructor(e=new eE(Infinity,Infinity,Infinity),t=new eE(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,eI),eI.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(eB),ek.subVectors(this.max,eB),eN.subVectors(e.a,eB),eU.subVectors(e.b,eB),eD.subVectors(e.c,eB),eO.subVectors(eU,eN),eF.subVectors(eD,eU),ez.subVectors(eN,eD);let t=[0,-eO.z,eO.y,0,-eF.z,eF.y,0,-ez.z,ez.y,eO.z,0,-eO.x,eF.z,0,-eF.x,ez.z,0,-ez.x,-eO.y,eO.x,0,-eF.y,eF.x,0,-ez.y,ez.x,0];return!!eG(t,eN,eU,eD,ek)&&!!eG(t=[1,0,0,0,1,0,0,0,1],eN,eU,eD,ek)&&(eH.crossVectors(eO,eF),eG(t=[eH.x,eH.y,eH.z],eN,eU,eD,ek))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,eI).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(eI).length()),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(eP[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),eP[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),eP[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),eP[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),eP[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),eP[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),eP[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),eP[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(eP)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let eP=[new eE,new eE,new eE,new eE,new eE,new eE,new eE,new eE],eI=new eE,eL=new eR,eN=new eE,eU=new eE,eD=new eE,eO=new eE,eF=new eE,ez=new eE,eB=new eE,ek=new eE,eH=new eE,eV=new eE;function eG(e,t,n,i,r){for(let a=0,s=e.length-3;a<=s;a+=3){eV.fromArray(e,a);let s=r.x*Math.abs(eV.x)+r.y*Math.abs(eV.y)+r.z*Math.abs(eV.z),o=t.dot(eV),l=n.dot(eV),u=i.dot(eV);if(Math.max(-Math.max(o,l,u),Math.min(o,l,u))>s)return!1}return!0}let eW=new eR,ej=new eE,eX=new eE;class eq{constructor(e=new eE,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let n=this.center;void 0!==t?n.copy(t):eW.setFromPoints(e).getCenter(n);let i=0;for(let t=0,r=e.length;tthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?e.makeEmpty():(e.set(this.center,this.center),e.expandByScalar(this.radius)),e}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;ej.subVectors(e,this.center);let t=ej.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(ej,n/e),this.radius+=n}return this}union(e){return e.isEmpty()||(this.isEmpty()?this.copy(e):!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(eX.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ej.copy(e.center).add(eX)),this.expandByPoint(ej.copy(e.center).sub(eX)))),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}let eY=new eE,eZ=new eE,eJ=new eE,eK=new eE,e$=new eE,eQ=new eE,e0=new eE;class e1{constructor(e=new eE,t=new eE(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,eY)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=eY.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(eY.copy(this.origin).addScaledVector(this.direction,t),eY.distanceToSquared(e))}distanceSqToSegment(e,t,n,i){let r,a,s,o;eZ.copy(e).add(t).multiplyScalar(.5),eJ.copy(t).sub(e).normalize(),eK.copy(this.origin).sub(eZ);let l=.5*e.distanceTo(t),u=-this.direction.dot(eJ),c=eK.dot(this.direction),h=-eK.dot(eJ),d=eK.lengthSq(),p=Math.abs(1-u*u);if(p>0)if(r=u*h-c,a=u*c-h,o=l*p,r>=0)if(a>=-o)if(a<=o){let e=1/p;r*=e,a*=e,s=r*(r+u*a+2*c)+a*(u*r+a+2*h)+d}else s=-(r=Math.max(0,-(u*(a=l)+c)))*r+a*(a+2*h)+d;else s=-(r=Math.max(0,-(u*(a=-l)+c)))*r+a*(a+2*h)+d;else a<=-o?(a=(r=Math.max(0,-(-u*l+c)))>0?-l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d):a<=o?(r=0,s=(a=Math.min(Math.max(-l,-h),l))*(a+2*h)+d):(a=(r=Math.max(0,-(u*l+c)))>0?l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d);else a=u>0?-l:l,s=-(r=Math.max(0,-(u*a+c)))*r+a*(a+2*h)+d;return n&&n.copy(this.origin).addScaledVector(this.direction,r),i&&i.copy(eZ).addScaledVector(eJ,a),s}intersectSphere(e,t){eY.subVectors(e.center,this.origin);let n=eY.dot(this.direction),i=eY.dot(eY)-n*n,r=e.radius*e.radius;if(i>r)return null;let a=Math.sqrt(r-i),s=n-a,o=n+a;return o<0?null:s<0?this.at(o,t):this.at(s,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return!!(0===t||e.normal.dot(this.direction)*t<0)}intersectBox(e,t){let n,i,r,a,s,o,l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return(l>=0?(n=(e.min.x-h.x)*l,i=(e.max.x-h.x)*l):(n=(e.max.x-h.x)*l,i=(e.min.x-h.x)*l),u>=0?(r=(e.min.y-h.y)*u,a=(e.max.y-h.y)*u):(r=(e.max.y-h.y)*u,a=(e.min.y-h.y)*u),n>a||r>i||((r>n||isNaN(n))&&(n=r),(a=0?(s=(e.min.z-h.z)*c,o=(e.max.z-h.z)*c):(s=(e.max.z-h.z)*c,o=(e.min.z-h.z)*c),n>o||s>i||((s>n||n!=n)&&(n=s),(o=0?n:i,t)}intersectsBox(e){return null!==this.intersectBox(e,eY)}intersectTriangle(e,t,n,i,r){let a;e$.subVectors(t,e),eQ.subVectors(n,e),e0.crossVectors(e$,eQ);let s=this.direction.dot(e0);if(s>0){if(i)return null;a=1}else{if(!(s<0))return null;a=-1,s=-s}eK.subVectors(this.origin,e);let o=a*this.direction.dot(eQ.crossVectors(eK,eQ));if(o<0)return null;let l=a*this.direction.dot(e$.cross(eK));if(l<0||o+l>s)return null;let u=-a*eK.dot(e0);return u<0?null:this.at(u/s,r)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class e2{constructor(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){e2.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m)}set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){let g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=i,g[1]=r,g[5]=a,g[9]=s,g[13]=o,g[2]=l,g[6]=u,g[10]=c,g[14]=h,g[3]=d,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new e2().fromArray(this.elements)}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){let t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){let t=this.elements,n=e.elements,i=1/e3.setFromMatrixColumn(e,0).length(),r=1/e3.setFromMatrixColumn(e,1).length(),a=1/e3.setFromMatrixColumn(e,2).length();return t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i,t[3]=0,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){let t=this.elements,n=e.x,i=e.y,r=e.z,a=Math.cos(n),s=Math.sin(n),o=Math.cos(i),l=Math.sin(i),u=Math.cos(r),c=Math.sin(r);if("XYZ"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=-o*c,t[8]=l,t[1]=n+i*l,t[5]=e-r*l,t[9]=-s*o,t[2]=r-e*l,t[6]=i+n*l,t[10]=a*o}else if("YXZ"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e+r*s,t[4]=i*s-n,t[8]=a*l,t[1]=a*c,t[5]=a*u,t[9]=-s,t[2]=n*s-i,t[6]=r+e*s,t[10]=a*o}else if("ZXY"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e-r*s,t[4]=-a*c,t[8]=i+n*s,t[1]=n+i*s,t[5]=a*u,t[9]=r-e*s,t[2]=-a*l,t[6]=s,t[10]=a*o}else if("ZYX"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=i*l-n,t[8]=e*l+r,t[1]=o*c,t[5]=r*l+e,t[9]=n*l-i,t[2]=-l,t[6]=s*o,t[10]=a*o}else if("YZX"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=r-e*c,t[8]=i*c+n,t[1]=c,t[5]=a*u,t[9]=-s*u,t[2]=-l*u,t[6]=n*c+i,t[10]=e-r*c}else if("XZY"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=-c,t[8]=l*u,t[1]=e*c+r,t[5]=a*u,t[9]=n*c-i,t[2]=i*c-n,t[6]=s*u,t[10]=r*c+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(e5,e,e6)}lookAt(e,t,n){let i=this.elements;return e7.subVectors(e,t),0===e7.lengthSq()&&(e7.z=1),e7.normalize(),e8.crossVectors(n,e7),0===e8.lengthSq()&&(1===Math.abs(n.z)?e7.x+=1e-4:e7.z+=1e-4,e7.normalize(),e8.crossVectors(n,e7)),e8.normalize(),e9.crossVectors(e7,e8),i[0]=e8.x,i[4]=e9.x,i[8]=e7.x,i[1]=e8.y,i[5]=e9.y,i[9]=e7.y,i[2]=e8.z,i[6]=e9.z,i[10]=e7.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[4],o=n[8],l=n[12],u=n[1],c=n[5],h=n[9],d=n[13],p=n[2],f=n[6],m=n[10],g=n[14],v=n[3],_=n[7],y=n[11],x=n[15],b=i[0],S=i[4],M=i[8],T=i[12],w=i[1],E=i[5],A=i[9],C=i[13],R=i[2],P=i[6],I=i[10],L=i[14],N=i[3],U=i[7],D=i[11],O=i[15];return r[0]=a*b+s*w+o*R+l*N,r[4]=a*S+s*E+o*P+l*U,r[8]=a*M+s*A+o*I+l*D,r[12]=a*T+s*C+o*L+l*O,r[1]=u*b+c*w+h*R+d*N,r[5]=u*S+c*E+h*P+d*U,r[9]=u*M+c*A+h*I+d*D,r[13]=u*T+c*C+h*L+d*O,r[2]=p*b+f*w+m*R+g*N,r[6]=p*S+f*E+m*P+g*U,r[10]=p*M+f*A+m*I+g*D,r[14]=p*T+f*C+m*L+g*O,r[3]=v*b+_*w+y*R+x*N,r[7]=v*S+_*E+y*P+x*U,r[11]=v*M+_*A+y*I+x*D,r[15]=v*T+_*C+y*L+x*O,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[4],i=e[8],r=e[12],a=e[1],s=e[5],o=e[9],l=e[13],u=e[2],c=e[6],h=e[10],d=e[14];return e[3]*(r*o*c-i*l*c-r*s*h+n*l*h+i*s*d-n*o*d)+e[7]*(t*o*d-t*l*h+r*a*h-i*a*d+i*l*u-r*o*u)+e[11]*(t*l*c-t*s*d-r*a*c+n*a*d+r*s*u-n*l*u)+e[15]*(-i*s*u-t*o*c+t*s*h+i*a*c-n*a*h+n*o*u)}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(e,t,n){let i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=n),this}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11],p=e[12],f=e[13],m=e[14],g=e[15],v=c*m*l-f*h*l+f*o*d-s*m*d-c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]))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let n=Math.cos(t),i=Math.sin(t),r=1-n,a=e.x,s=e.y,o=e.z,l=r*a,u=r*s;return this.set(l*a+n,l*s-i*o,l*o+i*s,0,l*s+i*o,u*s+n,u*o-i*a,0,l*o-i*s,u*o+i*a,r*o*o+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,i,r,a){return this.set(1,n,r,0,e,1,a,0,t,i,1,0,0,0,0,1),this}compose(e,t,n){let i=this.elements,r=t._x,a=t._y,s=t._z,o=t._w,l=r+r,u=a+a,c=s+s,h=r*l,d=r*u,p=r*c,f=a*u,m=a*c,g=s*c,v=o*l,_=o*u,y=o*c,x=n.x,b=n.y,S=n.z;return i[0]=(1-(f+g))*x,i[1]=(d+y)*x,i[2]=(p-_)*x,i[3]=0,i[4]=(d-y)*b,i[5]=(1-(h+g))*b,i[6]=(m+v)*b,i[7]=0,i[8]=(p+_)*S,i[9]=(m-v)*S,i[10]=(1-(h+f))*S,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,n){let i=this.elements,r=e3.set(i[0],i[1],i[2]).length(),a=e3.set(i[4],i[5],i[6]).length(),s=e3.set(i[8],i[9],i[10]).length();0>this.determinant()&&(r=-r),e.x=i[12],e.y=i[13],e.z=i[14],e4.copy(this);let o=1/r,l=1/a,u=1/s;return e4.elements[0]*=o,e4.elements[1]*=o,e4.elements[2]*=o,e4.elements[4]*=l,e4.elements[5]*=l,e4.elements[6]*=l,e4.elements[8]*=u,e4.elements[9]*=u,e4.elements[10]*=u,t.setFromRotationMatrix(e4),n.x=r,n.y=a,n.z=s,this}makePerspective(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements;if(2e3===s)o=-(a+r)/(a-r),l=-2*a*r/(a-r);else if(2001===s)o=-a/(a-r),l=-a*r/(a-r);else throw Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);return u[0]=2*r/(t-e),u[4]=0,u[8]=(t+e)/(t-e),u[12]=0,u[1]=0,u[5]=2*r/(n-i),u[9]=(n+i)/(n-i),u[13]=0,u[2]=0,u[6]=0,u[10]=o,u[14]=l,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements,c=1/(t-e),h=1/(n-i),d=1/(a-r);if(2e3===s)o=(a+r)*d,l=-2*d;else if(2001===s)o=r*d,l=-1*d;else throw Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);return u[0]=2*c,u[4]=0,u[8]=0,u[12]=-((t+e)*c),u[1]=0,u[5]=2*h,u[9]=0,u[13]=-((n+i)*h),u[2]=0,u[6]=0,u[10]=l,u[14]=-o,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}let e3=new eE,e4=new e2,e5=new eE(0,0,0),e6=new eE(1,1,1),e8=new eE,e9=new eE,e7=new eE,te=new e2,tt=new ew;class tn{constructor(e=0,t=0,n=0,i=tn.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,i=this._order){return this._x=e,this._y=t,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){let i=e.elements,r=i[0],a=i[4],s=i[8],o=i[1],l=i[5],u=i[9],c=i[2],h=i[6],d=i[10];switch(t){case"XYZ":this._y=Math.asin(V(s,-1,1)),.9999999>Math.abs(s)?(this._x=Math.atan2(-u,d),this._z=Math.atan2(-a,r)):(this._x=Math.atan2(h,l),this._z=0);break;case"YXZ":this._x=Math.asin(-V(u,-1,1)),.9999999>Math.abs(u)?(this._y=Math.atan2(s,d),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-c,r),this._z=0);break;case"ZXY":this._x=Math.asin(V(h,-1,1)),.9999999>Math.abs(h)?(this._y=Math.atan2(-c,d),this._z=Math.atan2(-a,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-V(c,-1,1)),.9999999>Math.abs(c)?(this._x=Math.atan2(h,d),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-a,l));break;case"YZX":this._z=Math.asin(V(o,-1,1)),.9999999>Math.abs(o)?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,r)):(this._x=0,this._y=Math.atan2(s,d));break;case"XZY":this._z=Math.asin(-V(a,-1,1)),.9999999>Math.abs(a)?(this._x=Math.atan2(h,l),this._y=Math.atan2(s,r)):(this._x=Math.atan2(-u,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===n&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return te.makeRotationFromQuaternion(e),this.setFromRotationMatrix(te,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return tt.setFromEuler(this),this.setFromQuaternion(tt,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}tn.DEFAULT_ORDER="XYZ";class ti{constructor(){this.mask=1}set(e){this.mask=1<>>0}enable(e){this.mask|=1<1){for(let e=0;e1){for(let e=0;e0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(e=>({boxInitialized:e.boxInitialized,boxMin:e.box.min.toArray(),boxMax:e.box.max.toArray(),sphereInitialized:e.sphereInitialized,sphereRadius:e.sphere.radius,sphereCenter:e.sphere.center.toArray()})),i.maxInstanceCount=this._maxInstanceCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),null!==this._colorsTexture&&(i.colorsTexture=this._colorsTexture.toJSON(e)),null!==this.boundingSphere&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),null!==this.boundingBox&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()})),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(e.geometries,this.geometry);let t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){let n=t.shapes;if(Array.isArray(n))for(let t=0,i=n.length;t0){i.children=[];for(let t=0;t0){i.animations=[];for(let t=0;t0&&(n.geometries=t),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),s.length>0&&(n.images=s),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=i,n;function a(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(e,t,n,i,r){tx.subVectors(i,t),tb.subVectors(n,t),tS.subVectors(e,t);let a=tx.dot(tx),s=tx.dot(tb),o=tx.dot(tS),l=tb.dot(tb),u=tb.dot(tS),c=a*l-s*s;if(0===c)return r.set(0,0,0),null;let h=1/c,d=(l*o-s*u)*h,p=(a*u-s*o)*h;return r.set(1-d-p,p,d)}static containsPoint(e,t,n,i){return null!==this.getBarycoord(e,t,n,i,tM)&&tM.x>=0&&tM.y>=0&&tM.x+tM.y<=1}static getInterpolation(e,t,n,i,r,a,s,o){return null===this.getBarycoord(e,t,n,i,tM)?(o.x=0,o.y=0,"z"in o&&(o.z=0),"w"in o&&(o.w=0),null):(o.setScalar(0),o.addScaledVector(r,tM.x),o.addScaledVector(a,tM.y),o.addScaledVector(s,tM.z),o)}static getInterpolatedAttribute(e,t,n,i,r,a){return tP.setScalar(0),tI.setScalar(0),tL.setScalar(0),tP.fromBufferAttribute(e,t),tI.fromBufferAttribute(e,n),tL.fromBufferAttribute(e,i),a.setScalar(0),a.addScaledVector(tP,r.x),a.addScaledVector(tI,r.y),a.addScaledVector(tL,r.z),a}static isFrontFacing(e,t,n,i){return tx.subVectors(n,t),tb.subVectors(e,t),0>tx.cross(tb).dot(i)}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,i){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,n,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return tx.subVectors(this.c,this.b),tb.subVectors(this.a,this.b),.5*tx.cross(tb).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return tN.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return tN.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,i,r){return tN.getInterpolation(e,this.a,this.b,this.c,t,n,i,r)}containsPoint(e){return tN.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return tN.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n,i,r=this.a,a=this.b,s=this.c;tT.subVectors(a,r),tw.subVectors(s,r),tA.subVectors(e,r);let o=tT.dot(tA),l=tw.dot(tA);if(o<=0&&l<=0)return t.copy(r);tC.subVectors(e,a);let u=tT.dot(tC),c=tw.dot(tC);if(u>=0&&c<=u)return t.copy(a);let h=o*c-u*l;if(h<=0&&o>=0&&u<=0)return n=o/(o-u),t.copy(r).addScaledVector(tT,n);tR.subVectors(e,s);let d=tT.dot(tR),p=tw.dot(tR);if(p>=0&&d<=p)return t.copy(s);let f=d*l-o*p;if(f<=0&&l>=0&&p<=0)return i=l/(l-p),t.copy(r).addScaledVector(tw,i);let m=u*p-d*c;if(m<=0&&c-u>=0&&d-p>=0)return tE.subVectors(s,a),i=(c-u)/(c-u+(d-p)),t.copy(a).addScaledVector(tE,i);let g=1/(m+f+h);return n=f*g,i=h*g,t.copy(r).addScaledVector(tT,n).addScaledVector(tw,i)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let tU={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32},tD={h:0,s:0,l:0},tO={h:0,s:0,l:0};function tF(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*6*(2/3-n):e}class tz{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){return void 0===t&&void 0===n?e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e):this.setRGB(e,t,n),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=I){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,eu.toWorkingColorSpace(this,t),this}setRGB(e,t,n,i=eu.workingColorSpace){return this.r=e,this.g=t,this.b=n,eu.toWorkingColorSpace(this,i),this}setHSL(e,t,n,i=eu.workingColorSpace){if(e=G(e,1),t=V(t,0,1),n=V(n,0,1),0===t)this.r=this.g=this.b=n;else{let i=n<=.5?n*(1+t):n+t-n*t,r=2*n-i;this.r=tF(r,i,e+1/3),this.g=tF(r,i,e),this.b=tF(r,i,e-1/3)}return eu.toWorkingColorSpace(this,i),this}setStyle(e,t=I){let n;function i(t){void 0!==t&&1>parseFloat(t)&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let r,a=n[1],s=n[2];switch(a){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){let i=n[1],r=i.length;if(3===r)return this.setRGB(parseInt(i.charAt(0),16)/15,parseInt(i.charAt(1),16)/15,parseInt(i.charAt(2),16)/15,t);if(6===r)return this.setHex(parseInt(i,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=I){let n=tU[e.toLowerCase()];return void 0!==n?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ec(e.r),this.g=ec(e.g),this.b=ec(e.b),this}copyLinearToSRGB(e){return this.r=eh(e.r),this.g=eh(e.g),this.b=eh(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=I){return eu.fromWorkingColorSpace(tB.copy(this),e),65536*Math.round(V(255*tB.r,0,255))+256*Math.round(V(255*tB.g,0,255))+Math.round(V(255*tB.b,0,255))}getHexString(e=I){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=eu.workingColorSpace){let n,i;eu.fromWorkingColorSpace(tB.copy(this),t);let r=tB.r,a=tB.g,s=tB.b,o=Math.max(r,a,s),l=Math.min(r,a,s),u=(l+o)/2;if(l===o)n=0,i=0;else{let e=o-l;switch(i=u<=.5?e/(o+l):e/(2-o-l),o){case r:n=(a-s)/e+6*(a0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(let t in e){let n=e[t];if(void 0===n){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}let i=this[t];if(void 0===i){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[t]=n}}toJSON(e){let t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});let n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};function i(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.dispersion&&(n.dispersion=this.dispersion),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),void 0!==this.anisotropy&&(n.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapRotation&&(n.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(n.blending=this.blending),0!==this.side&&(n.side=this.side),!0===this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=!0),204!==this.blendSrc&&(n.blendSrc=this.blendSrc),205!==this.blendDst&&(n.blendDst=this.blendDst),100!==this.blendEquation&&(n.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(n.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&(n.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(n.blendAlpha=this.blendAlpha),3!==this.depthFunc&&(n.depthFunc=this.depthFunc),!1===this.depthTest&&(n.depthTest=this.depthTest),!1===this.depthWrite&&(n.depthWrite=this.depthWrite),!1===this.colorWrite&&(n.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(n.stencilWriteMask=this.stencilWriteMask),519!==this.stencilFunc&&(n.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(n.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(n.stencilFuncMask=this.stencilFuncMask),7680!==this.stencilFail&&(n.stencilFail=this.stencilFail),7680!==this.stencilZFail&&(n.stencilZFail=this.stencilZFail),7680!==this.stencilZPass&&(n.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(n.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaHash&&(n.alphaHash=!0),!0===this.alphaToCoverage&&(n.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=!0),!0===this.forceSinglePass&&(n.forceSinglePass=!0),!0===this.wireframe&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=!0),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),t){let t=i(e.textures),r=i(e.images);t.length>0&&(n.textures=t),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(null!==t){let e=t.length;n=Array(e);for(let i=0;i!==e;++i)n[i]=t[i].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}}class tV extends tH{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}let tG=function(){let e=new ArrayBuffer(4),t=new Float32Array(e),n=new Uint32Array(e),i=new Uint32Array(512),r=new Uint32Array(512);for(let e=0;e<256;++e){let t=e-127;t<-27?(i[e]=0,i[256|e]=32768,r[e]=24,r[256|e]=24):t<-14?(i[e]=1024>>-t-14,i[256|e]=1024>>-t-14|32768,r[e]=-t-1,r[256|e]=-t-1):t<=15?(i[e]=t+15<<10,i[256|e]=t+15<<10|32768,r[e]=13,r[256|e]=13):t<128?(i[e]=31744,i[256|e]=64512,r[e]=24,r[256|e]=24):(i[e]=31744,i[256|e]=64512,r[e]=13,r[256|e]=13)}let a=new Uint32Array(2048),s=new Uint32Array(64),o=new Uint32Array(64);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;(8388608&t)==0;)t<<=1,n-=8388608;t&=-8388609,n+=0x38800000,a[e]=t|n}for(let e=1024;e<2048;++e)a[e]=0x38000000+(e-1024<<13);for(let e=1;e<31;++e)s[e]=e<<23;s[31]=0x47800000,s[32]=0x80000000;for(let e=33;e<63;++e)s[e]=0x80000000+(e-32<<23);s[63]=0xc7800000;for(let e=1;e<64;++e)32!==e&&(o[e]=1024);return{floatView:t,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:a,exponentTable:s,offsetTable:o}}();function tW(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=V(e,-65504,65504),tG.floatView[0]=e;let t=tG.uint32View[0],n=t>>23&511;return tG.baseTable[n]+((8388607&t)>>tG.shiftTable[n])}function tj(e){let t=e>>10;return tG.uint32View[0]=tG.mantissaTable[tG.offsetTable[t]+(1023&e)]+tG.exponentTable[t],tG.floatView[0]}let tX={toHalfFloat:tW,fromHalfFloat:tj},tq=new eE,tY=new Y;class tZ{constructor(e,t,n=!1){if(Array.isArray(e))throw TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=n,this.usage=35044,this.updateRanges=[],this.gpuType=1015,this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let i=0,r=this.itemSize;it.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new eE(-1/0,-1/0,-1/0),new eE(Infinity,Infinity,Infinity));return}if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e0&&(e.userData=this.userData),void 0!==this.parameters){let t=this.parameters;for(let n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let i=n[t];e.data.attributes[t]=i.toJSON(e.data)}let i={},r=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,i=n.length;t0&&(i[t]=a,r=!0)}r&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let s=this.boundingSphere;return null!==s&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;null!==n&&this.setIndex(n.clone(t));let i=e.attributes;for(let e in i){let n=i[e];this.setAttribute(e,n.clone(t))}let r=e.morphAttributes;for(let e in r){let n=[],i=r[e];for(let e=0,r=i.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e(e.far-e.near)**2)||(ni.copy(r).invert(),nr.copy(e.ray).applyMatrix4(ni),(null===n.boundingBox||!1!==nr.intersectsBox(n.boundingBox))&&this._computeIntersections(e,t,nr)))}_computeIntersections(e,t,n){let i,r=this.geometry,a=this.material,s=r.index,o=r.attributes.position,l=r.attributes.uv,u=r.attributes.uv1,c=r.attributes.normal,h=r.groups,d=r.drawRange;if(null!==s)if(Array.isArray(a))for(let r=0,o=h.length;rn.far?null:{distance:l,point:np.clone(),object:e}}(e,t,n,i,no,nl,nu,nd);if(c){let e=new eE;tN.getBarycoord(nd,no,nl,nu,e),r&&(c.uv=tN.getInterpolatedAttribute(r,o,l,u,e,new Y)),a&&(c.uv1=tN.getInterpolatedAttribute(a,o,l,u,e,new Y)),s&&(c.normal=tN.getInterpolatedAttribute(s,o,l,u,e,new eE),c.normal.dot(i.direction)>0&&c.normal.multiplyScalar(-1));let t={a:o,b:l,c:u,normal:new eE,materialIndex:0};tN.getNormal(no,nl,nu,t.normal),c.face=t,c.barycoord=e}return c}class ng extends nn{constructor(e=1,t=1,n=1,i=1,r=1,a=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:i,heightSegments:r,depthSegments:a};const s=this;i=Math.floor(i),r=Math.floor(r);const o=[],l=[],u=[],c=[];let h=0,d=0;function p(e,t,n,i,r,a,p,f,m,g,v){let _=a/m,y=p/g,x=a/2,b=p/2,S=f/2,M=m+1,T=g+1,w=0,E=0,A=new eE;for(let a=0;a0?1:-1,u.push(A.x,A.y,A.z),c.push(o/m),c.push(1-a/g),w+=1}}for(let e=0;e0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)!0===this.extensions[e]&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}class nS extends ty{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new e2,this.projectionMatrix=new e2,this.projectionMatrixInverse=new e2,this.coordinateSystem=2e3}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}let nM=new eE,nT=new Y,nw=new Y;class nE extends nS{constructor(e=50,t=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=2*k*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(.5*B*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*k*Math.atan(Math.tan(.5*B*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){nM.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(nM.x,nM.y).multiplyScalar(-e/nM.z),nM.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(nM.x,nM.y).multiplyScalar(-e/nM.z)}getViewSize(e,t){return this.getViewBounds(e,nT,nw),t.subVectors(nw,nT)}setViewOffset(e,t,n,i,r,a){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(.5*B*this.fov)/this.zoom,n=2*t,i=this.aspect*n,r=-.5*i,a=this.view;if(null!==this.view&&this.view.enabled){let e=a.fullWidth,s=a.fullHeight;r+=a.offsetX*i/e,t-=a.offsetY*n/s,i*=a.width/e,n*=a.height/s}let s=this.filmOffset;0!==s&&(r+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,t,t-n,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}class nA extends ty{constructor(e,t,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new nE(-90,1,e,t);i.layers=this.layers,this.add(i);const r=new nE(-90,1,e,t);r.layers=this.layers,this.add(r);const a=new nE(-90,1,e,t);a.layers=this.layers,this.add(a);const s=new nE(-90,1,e,t);s.layers=this.layers,this.add(s);const o=new nE(-90,1,e,t);o.layers=this.layers,this.add(o);const l=new nE(-90,1,e,t);l.layers=this.layers,this.add(l)}updateCoordinateSystem(){let e=this.coordinateSystem,t=this.children.concat(),[n,i,r,a,s,o]=t;for(let e of t)this.remove(e);if(2e3===e)n.up.set(0,1,0),n.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),r.up.set(0,0,-1),r.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),o.up.set(0,1,0),o.lookAt(0,0,-1);else if(2001===e)n.up.set(0,-1,0),n.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),r.up.set(0,0,1),r.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),o.up.set(0,-1,0),o.lookAt(0,0,-1);else throw Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(let e of t)this.add(e),e.updateMatrixWorld()}update(e,t){null===this.parent&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());let[r,a,s,o,l,u]=this.children,c=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;let f=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0,i),e.render(t,r),e.setRenderTarget(n,1,i),e.render(t,a),e.setRenderTarget(n,2,i),e.render(t,s),e.setRenderTarget(n,3,i),e.render(t,o),e.setRenderTarget(n,4,i),e.render(t,l),n.texture.generateMipmaps=f,e.setRenderTarget(n,5,i),e.render(t,u),e.setRenderTarget(c,h,d),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class nC extends ev{constructor(e,t,n,i,r,a,s,o,l,u){super(e=void 0!==e?e:[],t=void 0!==t?t:301,n,i,r,a,s,o,l,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class nR extends ex{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1};this.texture=new nC([n,n,n,n,n,n],t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:1006}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let n={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},i=new ng(5,5,5),r=new nb({name:"CubemapFromEquirect",uniforms:nv(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:1,blending:0});r.uniforms.tEquirect.value=t;let a=new nf(i,r),s=t.minFilter;return 1008===t.minFilter&&(t.minFilter=1006),new nA(1,10,this).update(e,a),t.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(e,t,n,i){let r=e.getRenderTarget();for(let r=0;r<6;r++)e.setRenderTarget(this,r),e.clear(t,n,i);e.setRenderTarget(r)}}class nP{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new tz(e),this.density=t}clone(){return new nP(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class nI{constructor(e,t=1,n=1e3){this.isFog=!0,this.name="",this.color=new tz(e),this.near=t,this.far=n}clone(){return new nI(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class nL extends ty{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new tn,this.environmentIntensity=1,this.environmentRotation=new tn,this.overrideMaterial=null,"u">typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),1!==this.environmentIntensity&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class nN{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=35044,this.updateRanges=[],this.version=0,this.uuid=H()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,n){e*=this.stride,n*=t.stride;for(let i=0,r=this.stride;ie.far||t.push({distance:o,point:nF.clone(),uv:tN.getInterpolation(nF,nG,nW,nj,nX,nq,nY,new Y),face:null,object:this})}copy(e,t){return super.copy(e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function nJ(e,t,n,i,r,a){nk.subVectors(e,n).addScalar(.5).multiply(i),void 0!==r?(nH.x=a*nk.x-r*nk.y,nH.y=r*nk.x+a*nk.y):nH.copy(nk),e.copy(t),e.x+=nH.x,e.y+=nH.y,e.applyMatrix4(nV)}let nK=new eE,n$=new eE;class nQ extends ty{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);let t=e.levels;for(let e=0,n=t.length;e0){let n,i;for(n=1,i=t.length;n0){nK.setFromMatrixPosition(this.matrixWorld);let n=e.ray.origin.distanceTo(nK);this.getObjectForDistance(n).raycast(e,t)}}update(e){let t=this.levels;if(t.length>1){let n,i;nK.setFromMatrixPosition(e.matrixWorld),n$.setFromMatrixPosition(this.matrixWorld);let r=nK.distanceTo(n$)/e.zoom;for(n=1,t[0].object.visible=!0,i=t.length;n=e)t[n-1].object.visible=!1,t[n].object.visible=!0;else break}for(this._currentLevel=n-1;n1?null:t.copy(e.start).addScaledVector(n,r)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||i_.getNormalMatrix(e),i=this.coplanarPoint(ig).applyMatrix4(e),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}let ix=new eq,ib=new eE;class iS{constructor(e=new iy,t=new iy,n=new iy,i=new iy,r=new iy,a=new iy){this.planes=[e,t,n,i,r,a]}set(e,t,n,i,r,a){let s=this.planes;return s[0].copy(e),s[1].copy(t),s[2].copy(n),s[3].copy(i),s[4].copy(r),s[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=2e3){let n=this.planes,i=e.elements,r=i[0],a=i[1],s=i[2],o=i[3],l=i[4],u=i[5],c=i[6],h=i[7],d=i[8],p=i[9],f=i[10],m=i[11],g=i[12],v=i[13],_=i[14],y=i[15];if(n[0].setComponents(o-r,h-l,m-d,y-g).normalize(),n[1].setComponents(o+r,h+l,m+d,y+g).normalize(),n[2].setComponents(o+a,h+u,m+p,y+v).normalize(),n[3].setComponents(o-a,h-u,m-p,y-v).normalize(),n[4].setComponents(o-s,h-c,m-f,y-_).normalize(),2e3===t)n[5].setComponents(o+s,h+c,m+f,y+_).normalize();else if(2001===t)n[5].setComponents(s,c,f,_).normalize();else throw Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),ix.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),ix.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(ix)}intersectsSprite(e){return ix.center.set(0,0,0),ix.radius=.7071067811865476,ix.applyMatrix4(e.matrixWorld),this.intersectsSphere(ix)}intersectsSphere(e){let t=this.planes,n=e.center,i=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)0?e.max.x:e.min.x,ib.y=i.normal.y>0?e.max.y:e.min.y,ib.z=i.normal.z>0?e.max.z:e.min.z,0>i.distanceToPoint(ib))return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(0>t[n].distanceToPoint(e))return!1;return!0}clone(){return new this.constructor().copy(this)}}function iM(e,t){return e-t}function iT(e,t){return e.z-t.z}function iw(e,t){return t.z-e.z}let iE=new e2,iA=new tz(1,1,1),iC=new iS,iR=new eR,iP=new eq,iI=new eE,iL=new eE,iN=new eE,iU=new class{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t,n,i){let r=this.pool,a=this.list;this.index>=r.length&&r.push({start:-1,count:-1,z:-1,index:-1});let s=r[this.index];a.push(s),this.index++,s.start=e,s.count=t,s.z=n,s.index=i}reset(){this.list.length=0,this.index=0}},iD=new nf,iO=[];function iF(e,t){if(e.constructor!==t.constructor){let n=Math.min(e.length,t.length);for(let i=0;i65535?new Uint32Array(i):new Uint16Array(i);t.setIndex(new tZ(e,1))}this._geometryInitialized=!0}}_validateGeometry(e){let t=this.geometry;if(!!e.getIndex()!=!!t.getIndex())throw Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(let n in t.attributes){if(!e.hasAttribute(n))throw Error(`THREE.BatchedMesh: Added geometry missing "${n}". All geometries must have consistent attributes.`);let i=e.getAttribute(n),r=t.getAttribute(n);if(i.itemSize!==r.itemSize||i.normalized!==r.normalized)throw Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(e){let t=this._instanceInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid instanceId ${e}. Instance is either out of range or has been deleted.`)}validateGeometryId(e){let t=this._geometryInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid geometryId ${e}. Geometry is either out of range or has been deleted.`)}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.boundingBox,t=this._instanceInfo;e.makeEmpty();for(let n=0,i=t.length;n=this.maxInstanceCount&&0===this._availableInstanceIds.length)throw Error("THREE.BatchedMesh: Maximum item count reached.");let t={visible:!0,active:!0,geometryIndex:e},n=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(iM),n=this._availableInstanceIds.shift(),this._instanceInfo[n]=t):(n=this._instanceInfo.length,this._instanceInfo.push(t));let i=this._matricesTexture;iE.identity().toArray(i.image.data,16*n),i.needsUpdate=!0;let r=this._colorsTexture;return r&&(iA.toArray(r.image.data,4*n),r.needsUpdate=!0),this._visibilityChanged=!0,n}addGeometry(e,t=-1,n=-1){let i;this._initializeGeometry(e),this._validateGeometry(e);let r={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},a=this._geometryInfo;r.vertexStart=this._nextVertexStart,r.reservedVertexCount=-1===t?e.getAttribute("position").count:t;let s=e.getIndex();if(null!==s&&(r.indexStart=this._nextIndexStart,r.reservedIndexCount=-1===n?s.count:n),-1!==r.indexStart&&r.indexStart+r.reservedIndexCount>this._maxIndexCount||r.vertexStart+r.reservedVertexCount>this._maxVertexCount)throw Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(iM),a[i=this._availableGeometryIds.shift()]=r):(i=this._geometryCount,this._geometryCount++,a.push(r)),this.setGeometryAt(i,e),this._nextIndexStart=r.indexStart+r.reservedIndexCount,this._nextVertexStart=r.vertexStart+r.reservedVertexCount,i}setGeometryAt(e,t){if(e>=this._geometryCount)throw Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);let n=this.geometry,i=null!==n.getIndex(),r=n.getIndex(),a=t.getIndex(),s=this._geometryInfo[e];if(i&&a.count>s.reservedIndexCount||t.attributes.position.count>s.reservedVertexCount)throw Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");let o=s.vertexStart,l=s.reservedVertexCount;for(let e in s.vertexCount=t.getAttribute("position").count,n.attributes){let i=t.getAttribute(e),r=n.getAttribute(e);!function(e,t,n=0){let i=t.itemSize;if(e.isInterleavedBufferAttribute||e.array.constructor!==t.array.constructor){let r=e.count;for(let a=0;a=t.length||!1===t[e].active)return this;let n=this._instanceInfo;for(let t=0,i=n.length;tt).sort((e,t)=>n[e].vertexStart-n[t].vertexStart),r=this.geometry;for(let a=0,s=n.length;a=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingBox){let e=new eR,t=n.index,r=n.attributes.position;for(let n=i.start,a=i.start+i.count;n=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingSphere){let t=new eq;this.getBoundingBoxAt(e,iR),iR.getCenter(t.center);let r=n.index,a=n.attributes.position,s=0;for(let e=i.start,n=i.start+i.count;ee.active);if(Math.max(...n.map(e=>e.vertexStart+e.reservedVertexCount))>e)throw Error(`BatchedMesh: Geometry vertex values are being used outside the range ${t}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...n.map(e=>e.indexStart+e.reservedIndexCount))>t)throw Error(`BatchedMesh: Geometry index values are being used outside the range ${t}. Cannot shrink further.`);let i=this.geometry;i.dispose(),this._maxVertexCount=e,this._maxIndexCount=t,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new nn,this._initializeGeometry(i));let r=this.geometry;for(let e in i.index&&iF(i.index.array,r.index.array),i.attributes)iF(i.attributes[e].array,r.attributes[e].array)}raycast(e,t){let n=this._instanceInfo,i=this._geometryInfo,r=this.matrixWorld,a=this.geometry;iD.material=this.material,iD.geometry.index=a.index,iD.geometry.attributes=a.attributes,null===iD.geometry.boundingBox&&(iD.geometry.boundingBox=new eR),null===iD.geometry.boundingSphere&&(iD.geometry.boundingSphere=new eq);for(let a=0,s=n.length;a({...e,boundingBox:null!==e.boundingBox?e.boundingBox.clone():null,boundingSphere:null!==e.boundingSphere?e.boundingSphere.clone():null})),this._instanceInfo=e._instanceInfo.map(e=>({...e})),this._maxInstanceCount=e._maxInstanceCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),null!==this._colorsTexture&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){return this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,null!==this._colorsTexture&&(this._colorsTexture.dispose(),this._colorsTexture=null),this}onBeforeRender(e,t,n,i,r){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;let a=i.getIndex(),s=null===a?1:a.array.BYTES_PER_ELEMENT,o=this._instanceInfo,l=this._multiDrawStarts,u=this._multiDrawCounts,c=this._geometryInfo,h=this.perObjectFrustumCulled,d=this._indirectTexture,p=d.image.data;h&&(iE.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse).multiply(this.matrixWorld),iC.setFromProjectionMatrix(iE,e.coordinateSystem));let f=0;if(this.sortObjects){iE.copy(this.matrixWorld).invert(),iI.setFromMatrixPosition(n.matrixWorld).applyMatrix4(iE),iL.set(0,0,-1).transformDirection(n.matrixWorld).transformDirection(iE);for(let e=0,t=o.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;ei)return;ij.applyMatrix4(e.matrixWorld);let o=t.ray.origin.distanceTo(ij);if(!(ot.far))return{distance:o,point:iX.clone().applyMatrix4(e.matrixWorld),index:r,face:null,faceIndex:null,barycoord:null,object:e}}let iZ=new eE,iJ=new eE;class iK extends iq{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){let e=this.geometry;if(null===e.index){let t=e.attributes.position,n=[];for(let e=0,i=t.count;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;er.far)return;a.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:t,face:null,faceIndex:null,barycoord:null,object:s})}}class i6 extends ty{constructor(){super(),this.isGroup=!0,this.type="Group"}}class i8 extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==a?a:1006,this.magFilter=void 0!==r?r:1006,this.generateMipmaps=!1;const u=this;"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(function t(){u.needsUpdate=!0,e.requestVideoFrameCallback(t)})}clone(){return new this.constructor(this.image).copy(this)}update(){let e=this.image;!1=="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class i9 extends ev{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=1003,this.minFilter=1003,this.generateMipmaps=!1,this.needsUpdate=!0}}class i7 extends ev{constructor(e,t,n,i,r,a,s,o,l,u,c,h){super(null,a,s,o,l,u,i,r,c,h),this.isCompressedTexture=!0,this.image={width:t,height:n},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class re extends i7{constructor(e,t,n,i,r,a){super(e,t,n,r,a),this.isCompressedArrayTexture=!0,this.image.depth=i,this.wrapR=1001,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class rt extends i7{constructor(e,t,n){super(void 0,e[0].width,e[0].height,t,n,301),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class rn extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}}class ri extends ev{constructor(e,t,n,i,r,a,s,o,l,u=1026){if(1026!==u&&1027!==u)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&1026===u&&(n=1014),void 0===n&&1027===u&&(n=1020),super(null,i,r,a,s,o,u,n,l),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=void 0!==s?s:1003,this.minFilter=void 0!==o?o:1003,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return null!==this.compareFunction&&(t.compareFunction=this.compareFunction),t}}class rr{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){let n=this.getUtoTmapping(e);return this.getPoint(n,t)}getPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}getSpacedPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}getLength(){let e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let t=[],n,i=this.getPoint(0),r=0;t.push(0);for(let a=1;a<=e;a++)t.push(r+=(n=this.getPoint(a/e)).distanceTo(i)),i=n;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){let n,i=this.getLengths(),r=0,a=i.length;n=t||e*i[a-1];let s=0,o=a-1,l;for(;s<=o;)if((l=i[r=Math.floor(s+(o-s)/2)]-n)<0)s=r+1;else if(l>0)o=r-1;else{o=r;break}if(i[r=o]===n)return r/(a-1);let u=i[r],c=i[r+1];return(r+(n-u)/(c-u))/(a-1)}getTangent(e,t){let n=e-1e-4,i=e+1e-4;n<0&&(n=0),i>1&&(i=1);let r=this.getPoint(n),a=this.getPoint(i),s=t||(r.isVector2?new Y:new eE);return s.copy(a).sub(r).normalize(),s}getTangentAt(e,t){let n=this.getUtoTmapping(e);return this.getTangent(n,t)}computeFrenetFrames(e,t){let n=new eE,i=[],r=[],a=[],s=new eE,o=new e2;for(let t=0;t<=e;t++){let n=t/e;i[t]=this.getTangentAt(n,new eE)}r[0]=new eE,a[0]=new eE;let l=Number.MAX_VALUE,u=Math.abs(i[0].x),c=Math.abs(i[0].y),h=Math.abs(i[0].z);u<=l&&(l=u,n.set(1,0,0)),c<=l&&(l=c,n.set(0,1,0)),h<=l&&n.set(0,0,1),s.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],s),a[0].crossVectors(i[0],r[0]);for(let t=1;t<=e;t++){if(r[t]=r[t-1].clone(),a[t]=a[t-1].clone(),s.crossVectors(i[t-1],i[t]),s.length()>Number.EPSILON){s.normalize();let e=Math.acos(V(i[t-1].dot(i[t]),-1,1));r[t].applyMatrix4(o.makeRotationAxis(s,e))}a[t].crossVectors(i[t],r[t])}if(!0===t){let t=Math.acos(V(r[0].dot(r[e]),-1,1));t/=e,i[0].dot(s.crossVectors(r[0],r[e]))>0&&(t=-t);for(let n=1;n<=e;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],t*n)),a[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:a}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){let e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class ra extends rr{constructor(e=0,t=0,n=1,i=1,r=0,a=2*Math.PI,s=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=a,this.aClockwise=s,this.aRotation=o}getPoint(e,t=new Y){let n=2*Math.PI,i=this.aEndAngle-this.aStartAngle,r=Math.abs(i)n;)i-=n;i0?0:(Math.floor(Math.abs(o)/a)+1)*a:0===l&&o===a-1&&(o=a-2,l=1),this.closed||o>0?n=r[(o-1)%a]:(rl.subVectors(r[0],r[1]).add(r[0]),n=rl);let u=r[o%a],c=r[(o+1)%a];if(this.closed||o+2n.length-2?n.length-1:r+1],u=n[r>n.length-3?n.length-1:r+2];return t.set(rp(a,s.x,o.x,l.x,u.x),rp(a,s.y,o.y,l.y,u.y)),t}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t=n){let e=i[r]-n,a=this.curves[r],s=a.getLength(),o=0===s?0:1-e/s;return a.getPointAt(o,t)}r++}return null}getLength(){let e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let e=[],t=0;for(let n=0,i=this.curves.length;n1&&!n[n.length-1].equals(n[0])&&n.push(n[0]),n}copy(e){super.copy(e),this.curves=[];for(let t=0,n=e.curves.length;t0){let e=l.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(l);let u=l.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){let e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class rE extends nn{constructor(e=[new Y(0,-.5),new Y(.5,0),new Y(0,.5)],t=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:n,phiLength:i},t=Math.floor(t),i=V(i,0,2*Math.PI);const r=[],a=[],s=[],o=[],l=[],u=1/t,c=new eE,h=new Y,d=new eE,p=new eE,f=new eE;let m=0,g=0;for(let t=0;t<=e.length-1;t++)switch(t){case 0:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,f.copy(d),d.normalize(),o.push(d.x,d.y,d.z);break;case e.length-1:o.push(f.x,f.y,f.z);break;default:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,p.copy(d),d.x+=f.x,d.y+=f.y,d.z+=f.z,d.normalize(),o.push(d.x,d.y,d.z),f.copy(p)}for(let r=0;r<=t;r++){const d=n+r*u*i,p=Math.sin(d),f=Math.cos(d);for(let n=0;n<=e.length-1;n++){c.x=e[n].x*p,c.y=e[n].y,c.z=e[n].x*f,a.push(c.x,c.y,c.z),h.x=r/t,h.y=n/(e.length-1),s.push(h.x,h.y);const i=o[3*n+0]*p,u=o[3*n+1],d=o[3*n+0]*f;l.push(i,u,d)}}for(let n=0;n0||0!==i)&&(u.push(a,s,l),_+=3),(t>0||i!==r-1)&&(u.push(s,o,l),_+=3)}l.addGroup(g,_,0),g+=_})(),!1===a&&(e>0&&v(!0),t>0&&v(!1)),this.setIndex(u),this.setAttribute("position",new t4(c,3)),this.setAttribute("normal",new t4(h,3)),this.setAttribute("uv",new t4(d,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rR(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rP extends rR{constructor(e=1,t=1,n=32,i=1,r=!1,a=0,s=2*Math.PI){super(0,e,t,n,i,r,a,s),this.type="ConeGeometry",this.parameters={radius:e,height:t,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:a,thetaLength:s}}static fromJSON(e){return new rP(e.radius,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rI extends nn{constructor(e=[],t=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:n,detail:i};const r=[],a=[];function s(e){r.push(e.x,e.y,e.z)}function o(t,n){let i=3*t;n.x=e[i+0],n.y=e[i+1],n.z=e[i+2]}function l(e,t,n,i){i<0&&1===e.x&&(a[t]=e.x-1),0===n.x&&0===n.z&&(a[t]=i/2/Math.PI+.5)}function u(e){return Math.atan2(e.z,-e.x)}(function(e){let n=new eE,i=new eE,r=new eE;for(let a=0;a.9&&s<.1&&(t<.2&&(a[e+0]+=1),n<.2&&(a[e+2]+=1),i<.2&&(a[e+4]+=1))}}()}(),this.setAttribute("position",new t4(r,3)),this.setAttribute("normal",new t4(r.slice(),3)),this.setAttribute("uv",new t4(a,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rI(e.vertices,e.indices,e.radius,e.details)}}class rL extends rI{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],e,t),this.type="DodecahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new rL(e.radius,e.detail)}}let rN=new eE,rU=new eE,rD=new eE,rO=new tN;class rF extends nn{constructor(e=null,t=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:e,thresholdAngle:t},null!==e){const n=Math.cos(B*t),i=e.getIndex(),r=e.getAttribute("position"),a=i?i.count:r.count,s=[0,0,0],o=["a","b","c"],l=[,,,],u={},c=[];for(let e=0;e=n.next.y&&n.next.y!==n.y){let e=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(e<=a&&e>i&&(i=e,r=n.x=n.x&&n.x>=l&&a!==n.x&&rW(sr.x||n.x===r.x&&(d=r,p=n,0>rj(d.prev,d,p.prev)&&0>rj(p.next,d,d.next))))&&(r=n,c=h)),n=n.next}while(n!==o)return r}(e,t);if(!n)return t;let i=rK(n,e);return rH(i,i.next),rH(n,n.next)}(u[r],n);return n}(e,t,d,n)),e.length>80*n){i=a=e[0],r=s=e[1];for(let t=n;ta&&(a=o),l>s&&(s=l);u=0!==(u=Math.max(a-i,s-r))?32767/u:0}return function e(t,n,i,r,a,s,o){if(!t)return;!o&&s&&function(e,t,n,i){let r=e;do 0===r.z&&(r.z=rG(r.x,r.y,t,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==e)r.prevZ.nextZ=null,r.prevZ=null,function(e){let t,n,i,r,a,s,o,l,u=1;do{for(n=e,e=null,a=null,s=0;n;){for(s++,i=n,o=0,t=0;t0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:e=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(s>1)}(r)}(t,r,a,s);let l=t,u,c;for(;t.prev!==t.next;){if(u=t.prev,c=t.next,s?function(e,t,n,i){let r=e.prev,a=e.next;if(rj(r,e,a)>=0)return!1;let s=r.x,o=e.x,l=a.x,u=r.y,c=e.y,h=a.y,d=so?s>l?s:l:o>l?o:l,m=u>c?u>h?u:h:c>h?c:h,g=rG(d,p,t,n,i),v=rG(f,m,t,n,i),_=e.prevZ,y=e.nextZ;for(;_&&_.z>=g&&y&&y.z<=v;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0||(_=_.prevZ,y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0))return!1;y=y.nextZ}for(;_&&_.z>=g;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;y&&y.z<=v;){if(y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}(t,r,a,s):function(e){let t=e.prev,n=e.next;if(rj(t,e,n)>=0)return!1;let i=t.x,r=e.x,a=n.x,s=t.y,o=e.y,l=n.y,u=ir?i>a?i:a:r>a?r:a,d=s>o?s>l?s:l:o>l?o:l,p=n.next;for(;p!==t;){if(p.x>=u&&p.x<=h&&p.y>=c&&p.y<=d&&rW(i,s,r,o,a,l,p.x,p.y)&&rj(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}(t)){n.push(u.i/i|0),n.push(t.i/i|0),n.push(c.i/i|0),rQ(t),t=c.next,l=c.next;continue}if((t=c)===l){o?1===o?e(t=function(e,t,n){let i=e;do{let r=i.prev,a=i.next.next;!rX(r,a)&&rq(r,i,i.next,a)&&rJ(r,a)&&rJ(a,r)&&(t.push(r.i/n|0),t.push(i.i/n|0),t.push(a.i/n|0),rQ(i),rQ(i.next),i=e=a),i=i.next}while(i!==e)return rH(i)}(rH(t),n,i),n,i,r,a,s,2):2===o&&function(t,n,i,r,a,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){var l,u;if(o.i!==t.i&&(l=o,u=t,l.next.i!==u.i&&l.prev.i!==u.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&rq(n,n.next,e,t))return!0;n=n.next}while(n!==e)return!1}(l,u)&&(rJ(l,u)&&rJ(u,l)&&function(e,t){let n=e,i=!1,r=(e.x+t.x)/2,a=(e.y+t.y)/2;do n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next;while(n!==e)return i}(l,u)&&(rj(l.prev,l,u.prev)||rj(l,u.prev,u))||rX(l,u)&&rj(l.prev,l,l.next)>0&&rj(u.prev,u,u.next)>0))){let l=rK(o,t);o=rH(o,o.next),l=rH(l,l.next),e(o,n,i,r,a,s,0),e(l,n,i,r,a,s,0);return}t=t.next}o=o.next}while(o!==t)}(t,n,i,r,a,s):e(rH(t),n,i,r,a,s,1);break}}}(d,p,n,i,r,u,0),p};function rk(e,t,n,i,r){let a,s;if(r===function(e,t,n,i){let r=0;for(let a=t,s=n-i;a0)for(a=t;a=t;a-=i)s=r$(a,e[a],e[a+1],s);return s&&rX(s,s.next)&&(rQ(s),s=s.next),s}function rH(e,t){if(!e)return e;t||(t=e);let n=e,i;do if(i=!1,!n.steiner&&(rX(n,n.next)||0===rj(n.prev,n,n.next))){if(rQ(n),(n=t=n.prev)===n.next)break;i=!0}else n=n.next;while(i||n!==t)return t}function rV(e,t){return e.x-t.x}function rG(e,t,n,i,r){return(e=((e=((e=((e=((e=(e-n)*r|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)|(t=((t=((t=((t=((t=(t-i)*r|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)<<1}function rW(e,t,n,i,r,a,s,o){return(r-s)*(t-o)>=(e-s)*(a-o)&&(e-s)*(i-o)>=(n-s)*(t-o)&&(n-s)*(a-o)>=(r-s)*(i-o)}function rj(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function rX(e,t){return e.x===t.x&&e.y===t.y}function rq(e,t,n,i){let r=rZ(rj(e,t,n)),a=rZ(rj(e,t,i)),s=rZ(rj(n,i,e)),o=rZ(rj(n,i,t));return!!(r!==a&&s!==o||0===r&&rY(e,n,t)||0===a&&rY(e,i,t)||0===s&&rY(n,e,i)||0===o&&rY(n,t,i))}function rY(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function rZ(e){return e>0?1:e<0?-1:0}function rJ(e,t){return 0>rj(e.prev,e,e.next)?rj(e,t,e.next)>=0&&rj(e,e.prev,t)>=0:0>rj(e,t,e.prev)||0>rj(e,e.next,t)}function rK(e,t){let n=new r0(e.i,e.x,e.y),i=new r0(t.i,t.x,t.y),r=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function r$(e,t,n,i){let r=new r0(e,t,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function rQ(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function r0(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class r1{static area(e){let t=e.length,n=0;for(let i=t-1,r=0;rr1.area(e)}static triangulateShape(e,t){let n=[],i=[],r=[];r2(e),r3(n,e);let a=e.length;t.forEach(r2);for(let e=0;e2&&e[t-1].equals(e[0])&&e.pop()}function r3(e,t){for(let n=0;nNumber.EPSILON){let h=Math.sqrt(c),d=Math.sqrt(l*l+u*u),p=t.x-o/h,f=t.y+s/h,m=((n.x-u/d-p)*u-(n.y+l/d-f)*l)/(s*u-o*l),g=(i=p+s*m-e.x)*i+(r=f+o*m-e.y)*r;if(g<=2)return new Y(i,r);a=Math.sqrt(g/2)}else{let e=!1;s>Number.EPSILON?l>Number.EPSILON&&(e=!0):s<-Number.EPSILON?l<-Number.EPSILON&&(e=!0):Math.sign(o)===Math.sign(u)&&(e=!0),e?(i=-o,r=s,a=Math.sqrt(c)):(i=s,r=o,a=Math.sqrt(c/2))}return new Y(i/a,r/a)}let I=[];for(let e=0,t=E.length,n=t-1,i=e+1;e=0;e--){let t=e/v,n=f*Math.cos(t*Math.PI/2),i=m*Math.sin(t*Math.PI/2)+g;for(let e=0,t=E.length;e=0;){let a=r,s=r-1;s<0&&(s=e.length-1);for(let e=0,r=h+2*v;e0)&&d.push(t,r,l),(e!==n-1||o0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class ap extends tH{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new tz(0xffffff),this.specular=new tz(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class af extends tH{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new tz(0xffffff),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class am extends tH{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class ag extends tH{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class av extends tH{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class a_ extends tH{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}class ay extends tH{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new tz(0xffffff),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class ax extends iB{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function ab(e,t,n){return e&&(n||e.constructor!==t)?"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e):e}function aS(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function aM(e){let t=e.length,n=Array(t);for(let e=0;e!==t;++e)n[e]=e;return n.sort(function(t,n){return e[t]-e[n]}),n}function aT(e,t,n){let i=e.length,r=new e.constructor(i);for(let a=0,s=0;s!==i;++a){let i=n[a]*t;for(let n=0;n!==t;++n)r[s++]=e[i+n]}return r}function aw(e,t,n,i){let r=1,a=e[0];for(;void 0!==a&&void 0===a[i];)a=e[r++];if(void 0===a)return;let s=a[i];if(void 0!==s)if(Array.isArray(s))do void 0!==(s=a[i])&&(t.push(a.time),n.push.apply(n,s)),a=e[r++];while(void 0!==a)else if(void 0!==s.toArray)do void 0!==(s=a[i])&&(t.push(a.time),s.toArray(n,n.length)),a=e[r++];while(void 0!==a)else do void 0!==(s=a[i])&&(t.push(a.time),n.push(s)),a=e[r++];while(void 0!==a)}let aE={convertArray:ab,isTypedArray:aS,getKeyframeOrder:aM,sortedArray:aT,flattenJSON:aw,subclip:function(e,t,n,i,r=30){let a=e.clone();a.name=t;let s=[];for(let e=0;e=i)){l.push(t.times[e]);for(let n=0;na.tracks[e].times[0]&&(o=a.tracks[e].times[0]);for(let e=0;e=r.times[d]){let e=d*u+l,t=e+u-l;i=r.values.slice(e,t)}else{let e=r.createInterpolant(),t=l,n=u-l;e.evaluate(a),i=e.resultBuffer.slice(t,n)}"quaternion"===s&&new ew().fromArray(i).normalize().conjugate().toArray(i);let p=o.times.length;for(let e=0;e=r)){let s=t[1];e=(r=t[--n-1]))break i}a=n,n=0;break r}break n}for(;n>>1;et;)--a;if(++a,0!==r||a!==i){r>=a&&(r=(a=Math.max(a,1))-1);let e=this.getValueSize();this.times=n.slice(r,a),this.values=this.values.slice(r*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);let n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let a=null;for(let t=0;t!==r;t++){let i=n[t];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,i),e=!1;break}if(null!==a&&a>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,i,a),e=!1;break}a=i}if(void 0!==i&&aS(i))for(let t=0,n=i.length;t!==n;++t){let n=i[t];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),i=2302===this.getInterpolation(),r=e.length-1,a=1;for(let s=1;s0){e[a]=e[r];for(let e=r*n,i=a*n,s=0;s!==n;++s)t[i+s]=t[e+s];++a}return a!==e.length?(this.times=e.slice(0,a),this.values=t.slice(0,a*n)):(this.times=e,this.values=t),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=new this.constructor(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}aI.prototype.TimeBufferType=Float32Array,aI.prototype.ValueBufferType=Float32Array,aI.prototype.DefaultInterpolation=2301;class aL extends aI{constructor(e,t,n){super(e,t,n)}}aL.prototype.ValueTypeName="bool",aL.prototype.ValueBufferType=Array,aL.prototype.DefaultInterpolation=2300,aL.prototype.InterpolantFactoryMethodLinear=void 0,aL.prototype.InterpolantFactoryMethodSmooth=void 0;class aN extends aI{}aN.prototype.ValueTypeName="color";class aU extends aI{}aU.prototype.ValueTypeName="number";class aD extends aA{constructor(e,t,n,i){super(e,t,n,i)}interpolate_(e,t,n,i){let r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=(n-t)/(i-t),l=e*s;for(let e=l+s;l!==e;l+=4)ew.slerpFlat(r,0,a,l-s,a,l,o);return r}}class aO extends aI{InterpolantFactoryMethodLinear(e){return new aD(this.times,this.values,this.getValueSize(),e)}}aO.prototype.ValueTypeName="quaternion",aO.prototype.InterpolantFactoryMethodSmooth=void 0;class aF extends aI{constructor(e,t,n){super(e,t,n)}}aF.prototype.ValueTypeName="string",aF.prototype.ValueBufferType=Array,aF.prototype.DefaultInterpolation=2300,aF.prototype.InterpolantFactoryMethodLinear=void 0,aF.prototype.InterpolantFactoryMethodSmooth=void 0;class az extends aI{}az.prototype.ValueTypeName="vector";class aB{constructor(e="",t=-1,n=[],i=2500){this.name=e,this.tracks=n,this.duration=t,this.blendMode=i,this.uuid=H(),this.duration<0&&this.resetDuration()}static parse(e){let t=[],n=e.tracks,i=1/(e.fps||1);for(let e=0,r=n.length;e!==r;++e)t.push((function(e){if(void 0===e.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");let t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return aU;case"vector":case"vector2":case"vector3":case"vector4":return az;case"color":return aN;case"quaternion":return aO;case"bool":case"boolean":return aL;case"string":return aF}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){let t=[],n=[];aw(e.keys,t,n,"value"),e.times=t,e.values=n}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)})(n[e]).scale(i));let r=new this(e.name,e.duration,t,e.blendMode);return r.uuid=e.uuid,r}static toJSON(e){let t=[],n=e.tracks,i={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,i=n.length;e!==i;++e)t.push(aI.toJSON(n[e]));return i}static CreateFromMorphTargetSequence(e,t,n,i){let r=t.length,a=[];for(let e=0;e1){let e=a[1],t=i[e];t||(i[e]=t=[]),t.push(n)}}let a=[];for(let e in i)a.push(this.CreateFromMorphTargetSequence(e,i[e],t,n));return a}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;let n=function(e,t,n,i,r){if(0!==n.length){let a=[],s=[];aw(n,a,s,i),0!==a.length&&r.push(new e(t,a,s))}},i=[],r=e.name||"default",a=e.fps||30,s=e.blendMode,o=e.length||-1,l=e.hierarchy||[];for(let e=0;e{t&&t(r),this.manager.itemEnd(e)},0),r;if(void 0!==aW[e])return void aW[e].push({onLoad:t,onProgress:n,onError:i});aW[e]=[],aW[e].push({onLoad:t,onProgress:n,onError:i});let a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,o=this.responseType;fetch(a).then(t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"u"{if(i)e.close();else{let i=new ProgressEvent("progress",{lengthComputable:s,loaded:o+=r.byteLength,total:a});for(let e=0,t=n.length;e{e.error(t)})}()}}))}throw new aj(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)}).then(e=>{switch(o){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then(e=>new DOMParser().parseFromString(e,s));case"json":return e.json();default:if(void 0===s)return e.text();{let t=/charset="?([^;"\s]*)"?/i.exec(s),n=new TextDecoder(t&&t[1]?t[1].toLowerCase():void 0);return e.arrayBuffer().then(e=>n.decode(e))}}}).then(t=>{ak.add(e,t);let n=aW[e];delete aW[e];for(let e=0,i=n.length;e{let n=aW[e];if(void 0===n)throw this.manager.itemError(e),t;delete aW[e];for(let e=0,i=n.length;e{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class aq extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(n){try{t(r.parse(JSON.parse(n)))}catch(t){i?i(t):console.error(t),r.manager.itemError(e)}},n,i)}parse(e){let t=[];for(let n=0;n0:i.vertexColors=e.vertexColors),void 0!==e.uniforms)for(let t in e.uniforms){let r=e.uniforms[t];switch(i.uniforms[t]={},r.type){case"t":i.uniforms[t].value=n(r.value);break;case"c":i.uniforms[t].value=new tz().setHex(r.value);break;case"v2":i.uniforms[t].value=new Y().fromArray(r.value);break;case"v3":i.uniforms[t].value=new eE().fromArray(r.value);break;case"v4":i.uniforms[t].value=new e_().fromArray(r.value);break;case"m3":i.uniforms[t].value=new Z().fromArray(r.value);break;case"m4":i.uniforms[t].value=new e2().fromArray(r.value);break;default:i.uniforms[t].value=r.value}}if(void 0!==e.defines&&(i.defines=e.defines),void 0!==e.vertexShader&&(i.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(i.fragmentShader=e.fragmentShader),void 0!==e.glslVersion&&(i.glslVersion=e.glslVersion),void 0!==e.extensions)for(let t in e.extensions)i.extensions[t]=e.extensions[t];if(void 0!==e.lights&&(i.lights=e.lights),void 0!==e.clipping&&(i.clipping=e.clipping),void 0!==e.size&&(i.size=e.size),void 0!==e.sizeAttenuation&&(i.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(i.map=n(e.map)),void 0!==e.matcap&&(i.matcap=n(e.matcap)),void 0!==e.alphaMap&&(i.alphaMap=n(e.alphaMap)),void 0!==e.bumpMap&&(i.bumpMap=n(e.bumpMap)),void 0!==e.bumpScale&&(i.bumpScale=e.bumpScale),void 0!==e.normalMap&&(i.normalMap=n(e.normalMap)),void 0!==e.normalMapType&&(i.normalMapType=e.normalMapType),void 0!==e.normalScale){let t=e.normalScale;!1===Array.isArray(t)&&(t=[t,t]),i.normalScale=new Y().fromArray(t)}return void 0!==e.displacementMap&&(i.displacementMap=n(e.displacementMap)),void 0!==e.displacementScale&&(i.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(i.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(i.roughnessMap=n(e.roughnessMap)),void 0!==e.metalnessMap&&(i.metalnessMap=n(e.metalnessMap)),void 0!==e.emissiveMap&&(i.emissiveMap=n(e.emissiveMap)),void 0!==e.emissiveIntensity&&(i.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(i.specularMap=n(e.specularMap)),void 0!==e.specularIntensityMap&&(i.specularIntensityMap=n(e.specularIntensityMap)),void 0!==e.specularColorMap&&(i.specularColorMap=n(e.specularColorMap)),void 0!==e.envMap&&(i.envMap=n(e.envMap)),void 0!==e.envMapRotation&&i.envMapRotation.fromArray(e.envMapRotation),void 0!==e.envMapIntensity&&(i.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(i.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(i.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(i.lightMap=n(e.lightMap)),void 0!==e.lightMapIntensity&&(i.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(i.aoMap=n(e.aoMap)),void 0!==e.aoMapIntensity&&(i.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(i.gradientMap=n(e.gradientMap)),void 0!==e.clearcoatMap&&(i.clearcoatMap=n(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(i.clearcoatNormalMap=n(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(i.clearcoatNormalScale=new Y().fromArray(e.clearcoatNormalScale)),void 0!==e.iridescenceMap&&(i.iridescenceMap=n(e.iridescenceMap)),void 0!==e.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(e.iridescenceThicknessMap)),void 0!==e.transmissionMap&&(i.transmissionMap=n(e.transmissionMap)),void 0!==e.thicknessMap&&(i.thicknessMap=n(e.thicknessMap)),void 0!==e.anisotropyMap&&(i.anisotropyMap=n(e.anisotropyMap)),void 0!==e.sheenColorMap&&(i.sheenColorMap=n(e.sheenColorMap)),void 0!==e.sheenRoughnessMap&&(i.sheenRoughnessMap=n(e.sheenRoughnessMap)),i}setTextures(e){return this.textures=e,this}createMaterialFromType(e){return su.createMaterialFromType(e)}static createMaterialFromType(e){return new({ShadowMaterial:au,SpriteMaterial:nO,RawShaderMaterial:ac,ShaderMaterial:nb,PointsMaterial:iQ,MeshPhysicalMaterial:ad,MeshStandardMaterial:ah,MeshPhongMaterial:ap,MeshToonMaterial:af,MeshNormalMaterial:am,MeshLambertMaterial:ag,MeshDepthMaterial:av,MeshDistanceMaterial:a_,MeshBasicMaterial:tV,MeshMatcapMaterial:ay,LineDashedMaterial:ax,LineBasicMaterial:iB,Material:tH})[e]}}class sc{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),"u">typeof TextDecoder)return new TextDecoder().decode(e);let t="";for(let n=0,i=e.length;n0){(n=new aZ(new aH(t))).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t0){(t=new aZ(this.manager)).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t{let t=new eR;t.min.fromArray(e.boxMin),t.max.fromArray(e.boxMax);let n=new eq;return n.radius=e.sphereRadius,n.center.fromArray(e.sphereCenter),{boxInitialized:e.boxInitialized,box:t,sphereInitialized:e.sphereInitialized,sphere:n}}),a._maxInstanceCount=e.maxInstanceCount,a._maxVertexCount=e.maxVertexCount,a._maxIndexCount=e.maxIndexCount,a._geometryInitialized=e.geometryInitialized,a._geometryCount=e.geometryCount,a._matricesTexture=c(e.matricesTexture.uuid),void 0!==e.colorsTexture&&(a._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":a=new nQ;break;case"Line":a=new iq(l(e.geometry),u(e.material));break;case"LineLoop":a=new i$(l(e.geometry),u(e.material));break;case"LineSegments":a=new iK(l(e.geometry),u(e.material));break;case"PointCloud":case"Points":a=new i4(l(e.geometry),u(e.material));break;case"Sprite":a=new nZ(u(e.material));break;case"Group":a=new i6;break;case"Bone":a=new ie;break;default:a=new ty}if(a.uuid=e.uuid,void 0!==e.name&&(a.name=e.name),void 0!==e.matrix?(a.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(a.matrixAutoUpdate=e.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==e.position&&a.position.fromArray(e.position),void 0!==e.rotation&&a.rotation.fromArray(e.rotation),void 0!==e.quaternion&&a.quaternion.fromArray(e.quaternion),void 0!==e.scale&&a.scale.fromArray(e.scale)),void 0!==e.up&&a.up.fromArray(e.up),void 0!==e.castShadow&&(a.castShadow=e.castShadow),void 0!==e.receiveShadow&&(a.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.intensity&&(a.shadow.intensity=e.shadow.intensity),void 0!==e.shadow.bias&&(a.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(a.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(a.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&a.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(a.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(a.visible=e.visible),void 0!==e.frustumCulled&&(a.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(a.renderOrder=e.renderOrder),void 0!==e.userData&&(a.userData=e.userData),void 0!==e.layers&&(a.layers.mask=e.layers),void 0!==e.children){let s=e.children;for(let e=0;e{t&&t(n),r.manager.itemEnd(e)}).catch(e=>{i&&i(e)}):(setTimeout(function(){t&&t(a),r.manager.itemEnd(e)},0),a);let s={};s.credentials="anonymous"===this.crossOrigin?"same-origin":"include",s.headers=this.requestHeader;let o=fetch(e,s).then(function(e){return e.blob()}).then(function(e){return createImageBitmap(e,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(n){return ak.add(e,n),t&&t(n),r.manager.itemEnd(e),n}).catch(function(t){i&&i(t),ak.remove(e),r.manager.itemError(e),r.manager.itemEnd(e)});ak.add(e,o),r.manager.itemStart(e)}}class s_{static getContext(){return void 0===i&&(i=new(window.AudioContext||window.webkitAudioContext)),i}static setContext(e){i=e}}class sy extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);function s(t){i?i(t):console.error(t),r.manager.itemError(e)}a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(e){try{let n=e.slice(0);s_.getContext().decodeAudioData(n,function(e){t(e)}).catch(s)}catch(e){s(e)}},n,i)}}let sx=new e2,sb=new e2,sS=new e2;class sM{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new nE,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new nE,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){let t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){let n,i;t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,sS.copy(e.projectionMatrix);let r=t.eyeSep/2,a=r*t.near/t.focus,s=t.near*Math.tan(B*t.fov*.5)/t.zoom;sb.elements[12]=-r,sx.elements[12]=r,n=-s*t.aspect+a,i=s*t.aspect+a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraL.projectionMatrix.copy(sS),n=-s*t.aspect-a,i=s*t.aspect-a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraR.projectionMatrix.copy(sS)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(sb),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(sx)}}class sT extends nE{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class sw{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=sE(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){let t=sE();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function sE(){return performance.now()}let sA=new eE,sC=new ew,sR=new eE,sP=new eE;class sI extends ty{constructor(){super(),this.type="AudioListener",this.context=s_.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new sw}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);let t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(sA,sC,sR),sP.set(0,0,-1).applyQuaternion(sC),t.positionX){let e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(sA.x,e),t.positionY.linearRampToValueAtTime(sA.y,e),t.positionZ.linearRampToValueAtTime(sA.z,e),t.forwardX.linearRampToValueAtTime(sP.x,e),t.forwardY.linearRampToValueAtTime(sP.y,e),t.forwardZ.linearRampToValueAtTime(sP.z,e),t.upX.linearRampToValueAtTime(n.x,e),t.upY.linearRampToValueAtTime(n.y,e),t.upZ.linearRampToValueAtTime(n.z,e)}else t.setPosition(sA.x,sA.y,sA.z),t.setOrientation(sP.x,sP.y,sP.z,n.x,n.y,n.z)}}class sL extends ty{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+e;let t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this)}stop(e=0){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(this._progress=0,null!==this.source&&(this.source.stop(this.context.currentTime+e),this.source.onended=null),this.isPlaying=!1,this)}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(n,i,this._addIndex*t,1,t);for(let e=t,r=t+t;e!==r;++e)if(n[e]!==n[e+t]){s.setValue(n,i);break}}saveOriginalState(){let e=this.binding,t=this.buffer,n=this.valueSize,i=n*this._origIndex;e.getValue(t,i);for(let e=n;e!==i;++e)t[e]=t[i+e%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){let e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let n=e;n=.5)for(let i=0;i!==r;++i)e[t+i]=e[n+i]}_slerp(e,t,n,i){ew.slerpFlat(e,t,e,t,e,n,i)}_slerpAdditive(e,t,n,i,r){let a=this._workIndex*r;ew.multiplyQuaternionsFlat(e,a,e,t,e,n),ew.slerpFlat(e,t,e,t,e,a,i)}_lerp(e,t,n,i,r){let a=1-i;for(let s=0;s!==r;++s){let r=t+s;e[r]=e[r]*a+e[n+s]*i}}_lerpAdditive(e,t,n,i,r){for(let a=0;a!==r;++a){let r=t+a;e[r]=e[r]+e[n+a]*i}}}let sk="\\[\\]\\.:\\/",sH=RegExp("["+sk+"]","g"),sV="[^"+sk+"]",sG="[^"+sk.replace("\\.","")+"]",sW=RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",sV)+/(WCOD+)?/.source.replace("WCOD",sG)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",sV)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",sV)+"$"),sj=["material","materials","bones","map"];class sX{constructor(e,t,n){this.path=t,this.parsedPath=n||sX.parseTrackName(t),this.node=sX.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new sX.Composite(e,t,n):new sX(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(sH,"")}static parseTrackName(e){let t=sW.exec(e);if(null===t)throw Error("PropertyBinding: Cannot parse trackName: "+e);let n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){let e=n.nodeName.substring(i+1);-1!==sj.indexOf(e)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=e)}if(null===n.propertyName||0===n.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){let n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){let n=function(e){for(let i=0;i=r){let a=r++,u=e[a];t[u.uuid]=l,e[l]=u,t[o]=a,e[a]=s;for(let e=0;e!==i;++e){let t=n[e],i=t[a],r=t[l];t[l]=i,t[a]=r}}}this.nCachedObjects_=r}uncache(){let e=this._objects,t=this._indicesByUUID,n=this._bindings,i=n.length,r=this.nCachedObjects_,a=e.length;for(let s=0,o=arguments.length;s!==o;++s){let o=arguments[s],l=o.uuid,u=t[l];if(void 0!==u)if(delete t[l],u0&&(t[s.uuid]=u),e[u]=s,e.pop();for(let e=0;e!==i;++e){let t=n[e];t[u]=t[r],t.pop()}}}this.nCachedObjects_=r}subscribe_(e,t){let n=this._bindingsIndicesByPath,i=n[e],r=this._bindings;if(void 0!==i)return r[i];let a=this._paths,s=this._parsedPaths,o=this._objects,l=o.length,u=this.nCachedObjects_,c=Array(l);i=r.length,n[e]=i,a.push(e),s.push(t),r.push(c);for(let n=u,i=o.length;n!==i;++n){let i=o[n];c[n]=new sX(i,e,t)}return c}unsubscribe_(e){let t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){let i=this._paths,r=this._parsedPaths,a=this._bindings,s=a.length-1,o=a[s];t[e[s]]=n,a[n]=o,a.pop(),r[n]=r[s],r.pop(),i[n]=i[s],i.pop()}}}class sY{constructor(e,t,n=null,i=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=n,this.blendMode=i;const r=t.tracks,a=r.length,s=Array(a),o={endingStart:2400,endingEnd:2400};for(let e=0;e!==a;++e){const t=r[e].createInterpolant(null);s[e]=t,t.settings=o}this._interpolantSettings=o,this._interpolants=s,this._propertyBindings=Array(a),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){let n=this._clip.duration,i=e._clip.duration;e.warp(1,i/n,t),this.warp(n/i,1,t)}return this}crossFadeTo(e,t,n){return e.crossFadeFrom(this,t,n)}stopFading(){let e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,n){let i=this._mixer,r=i.time,a=this.timeScale,s=this._timeScaleInterpolant;null===s&&(s=i._lendControlInterpolant(),this._timeScaleInterpolant=s);let o=s.parameterPositions,l=s.sampleValues;return o[0]=r,o[1]=r+n,l[0]=e/a,l[1]=t/a,this}stopWarping(){let e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,n,i){if(!this.enabled)return void this._updateWeight(e);let r=this._startTime;if(null!==r){let i=(e-r)*n;i<0||0===n?t=0:(this._startTime=null,t=n*i)}t*=this._updateTimeScale(e);let a=this._updateTime(t),s=this._updateWeight(e);if(s>0){let e=this._interpolants,t=this._propertyBindings;if(2501===this.blendMode)for(let n=0,i=e.length;n!==i;++n)e[n].evaluate(a),t[n].accumulateAdditive(s);else for(let n=0,r=e.length;n!==r;++n)e[n].evaluate(a),t[n].accumulate(i,s)}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;let n=this._weightInterpolant;if(null!==n){let i=n.evaluate(e)[0];t*=i,e>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;let n=this._timeScaleInterpolant;null!==n&&(t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t))}return this._effectiveTimeScale=t,t}_updateTime(e){let t=this._clip.duration,n=this.loop,i=this.time+e,r=this._loopCount,a=2202===n;if(0===e)return -1===r?i:a&&(1&r)==1?t-i:i;if(2200===n){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));s:{if(i>=t)i=t;else if(i<0)i=0;else{this.time=i;break s}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===r&&(e>=0?(r=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),i>=t||i<0){let n=Math.floor(i/t);i-=t*n,r+=Math.abs(n);let s=this.repetitions-r;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=e>0?t:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===s){let t=e<0;this._setEndings(t,!t,a)}else this._setEndings(!1,!1,a);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(a&&(1&r)==1)return t-i}return i}_setEndings(e,t,n){let i=this._interpolantSettings;n?(i.endingStart=2401,i.endingEnd=2401):(e?i.endingStart=this.zeroSlopeAtStart?2401:2400:i.endingStart=2402,t?i.endingEnd=this.zeroSlopeAtEnd?2401:2400:i.endingEnd=2402)}_scheduleFading(e,t,n){let i=this._mixer,r=i.time,a=this._weightInterpolant;null===a&&(a=i._lendControlInterpolant(),this._weightInterpolant=a);let s=a.parameterPositions,o=a.sampleValues;return s[0]=r,o[0]=t,s[1]=r+e,o[1]=n,this}}let sZ=new Float32Array(1);class sJ extends O{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){let n=e._localRoot||this._root,i=e._clip.tracks,r=i.length,a=e._propertyBindings,s=e._interpolants,o=n.uuid,l=this._bindingsByRootAndName,u=l[o];void 0===u&&(u={},l[o]=u);for(let e=0;e!==r;++e){let r=i[e],l=r.name,c=u[l];if(void 0!==c)++c.referenceCount,a[e]=c;else{if(void 0!==(c=a[e])){null===c._cacheIndex&&(++c.referenceCount,this._addInactiveBinding(c,o,l));continue}let i=t&&t._propertyBindings[e].binding.parsedPath;c=new sB(sX.create(n,l,i),r.ValueTypeName,r.getValueSize()),++c.referenceCount,this._addInactiveBinding(c,o,l),a[e]=c}s[e].resultBuffer=c.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){let t=(e._localRoot||this._root).uuid,n=e._clip.uuid,i=this._actionsByClip[n];this._bindAction(e,i&&i.knownActions[0]),this._addInactiveAction(e,n,t)}let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){let t=e._cacheIndex;return null!==t&&t=0;--n)e[n].stop();return this}update(e){e*=this.timeScale;let t=this._actions,n=this._nActiveActions,i=this.time+=e,r=Math.sign(e),a=this._accuIndex^=1;for(let s=0;s!==n;++s)t[s]._update(i,e,r,a);let s=this._bindings,o=this._nActiveBindings;for(let e=0;e!==o;++e)s[e].apply(a);return this}setTime(e){this.time=0;for(let e=0;e=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,s7).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let ot=new eE,on=new eE;class oi{constructor(e=new eE,t=new eE){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){ot.subVectors(e,this.start),on.subVectors(this.end,this.start);let n=on.dot(on),i=on.dot(ot)/n;return t&&(i=V(i,0,1)),i}closestPointToPoint(e,t,n){let i=this.closestPointToPointParameter(e,t);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}let or=new eE;class oa extends ty{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const n=new nn,i=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1;e<32;e++,t++){const n=e/32*Math.PI*2,r=t/32*Math.PI*2;i.push(Math.cos(n),Math.sin(n),1,Math.cos(r),Math.sin(r),1)}n.setAttribute("position",new t4(i,3));const r=new iB({fog:!1,toneMapped:!1});this.cone=new iK(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);let e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),or.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(or),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}let os=new eE,oo=new e2,ol=new e2;class ou extends iK{constructor(e){const t=function e(t){let n=[];!0===t.isBone&&n.push(t);for(let i=0;i1)for(let n=0;n.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{oR.set(e.z,0,-e.x).normalize();let t=Math.acos(e.y);this.quaternion.setFromAxisAngle(oR,t)}}setLength(e,t=.2*e,n=.2*t){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class oI extends iK{constructor(e=1){const t=new nn;t.setAttribute("position",new t4([0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],3)),t.setAttribute("color",new t4([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3)),super(t,new iB({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(e,t,n){let i=new tz,r=this.geometry.attributes.color.array;return i.set(e),i.toArray(r,0),i.toArray(r,3),i.set(t),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class oL{constructor(){this.type="ShapePath",this.color=new tz,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new rw,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,n,i){return this.currentPath.quadraticCurveTo(e,t,n,i),this}bezierCurveTo(e,t,n,i,r,a){return this.currentPath.bezierCurveTo(e,t,n,i,r,a),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){let t,n,i,r,a,s=r1.isClockWise,o=this.subPaths;if(0===o.length)return[];let l=[];if(1===o.length)return n=o[0],(i=new rz).curves=n.curves,l.push(i),l;let u=!s(o[0].getPoints());u=e?!u:u;let c=[],h=[],d=[],p=0;h[0]=void 0,d[p]=[];for(let i=0,a=o.length;i1){let e=!1,t=0;for(let e=0,t=h.length;eNumber.EPSILON){if(l<0&&(n=t[a],o=-o,s=t[r],l=-l),e.ys.y)continue;if(e.y===n.y){if(e.x===n.x)return!0}else{let t=l*(e.x-n.x)-o*(e.y-n.y);if(0===t)return!0;if(t<0)continue;i=!i}}else{if(e.y!==n.y)continue;if(s.x<=e.x&&e.x<=n.x||n.x<=e.x&&e.x<=s.x)return!0}}return i})(a.p,h[i].p)&&(n!==i&&t++,s?(s=!1,c[i].push(a)):e=!0);s&&c[n].push(a)}}t>0&&!1===e&&(d=c)}for(let e=0,t=h.length;et?(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2):(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0),e},cover:function(e,t){let n=e.image&&e.image.width?e.image.width/e.image.height:1;return n>t?(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0):(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2),e},fill:function(e){return e.repeat.x=1,e.repeat.y=1,e.offset.x=0,e.offset.y=0,e},getByteLength:oU};class oO extends ex{constructor(e=1,t=1,n=1,i={}){console.warn('THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.'),super(e,t,{...i,count:n}),this.isWebGLMultipleRenderTargets=!0}get texture(){return this.textures}}function oF(){let e=null,t=!1,n=null,i=null;function r(t,a){n(t,a),i=e.requestAnimationFrame(r)}return{start:function(){!0===t||null!==n&&(i=e.requestAnimationFrame(r),t=!0)},stop:function(){e.cancelAnimationFrame(i),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function oz(e){let t=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)},remove:function(n){n.isInterleavedBufferAttribute&&(n=n.data);let i=t.get(n);i&&(e.deleteBuffer(i.buffer),t.delete(n))},update:function(n,i){if(n.isInterleavedBufferAttribute&&(n=n.data),n.isGLBufferAttribute){let e=t.get(n);(!e||e.versione.start-t.start);let t=0;for(let e=1;etypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"171"}})),"u">typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="171"),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RAD2DEG",0,k,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"arrayNeedsUint32",0,K,"cloneUniforms",0,nv,"createCanvasElement",0,et,"createElementNS",0,ee,"getByteLength",0,oU,"getUnlitUniformColorSpace",0,ny,"mergeUniforms",0,n_,"probeAsync",0,er,"toNormalizedProjectionMatrix",0,ea,"toReversedProjectionMatrix",0,es,"warnOnce",0,ei],90072);let oB={alphahash_fragment:"#ifdef USE_ALPHAHASH\n if ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;\n#endif",alphahash_pars_fragment:"#ifdef USE_ALPHAHASH\n const float ALPHA_HASH_SCALE = 0.05;\n float hash2D( vec2 value ) {\n return fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n }\n float hash3D( vec3 value ) {\n return hash2D( vec2( hash2D( value.xy ), value.z ) );\n }\n float getAlphaHashThreshold( vec3 position ) {\n float maxDeriv = max(\n length( dFdx( position.xyz ) ),\n length( dFdy( position.xyz ) )\n );\n float pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n vec2 pixScales = vec2(\n exp2( floor( log2( pixScale ) ) ),\n exp2( ceil( log2( pixScale ) ) )\n );\n vec2 alpha = vec2(\n hash3D( floor( pixScales.x * position.xyz ) ),\n hash3D( floor( pixScales.y * position.xyz ) )\n );\n float lerpFactor = fract( log2( pixScale ) );\n float x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n float a = min( lerpFactor, 1.0 - lerpFactor );\n vec3 cases = vec3(\n x * x / ( 2.0 * a * ( 1.0 - a ) ),\n ( x - 0.5 * a ) / ( 1.0 - a ),\n 1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n );\n float threshold = ( x < ( 1.0 - a ) )\n ? ( ( x < a ) ? cases.x : cases.y )\n : cases.z;\n return clamp( threshold , 1.0e-6, 1.0 );\n }\n#endif",alphamap_fragment:"#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n #ifdef ALPHA_TO_COVERAGE\n diffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n if ( diffuseColor.a < alphaTest ) discard;\n #endif\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n uniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n float ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n reflectedLight.indirectDiffuse *= ambientOcclusion;\n #if defined( USE_CLEARCOAT ) \n clearcoatSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_SHEEN ) \n sheenSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD )\n float dotNV = saturate( dot( geometryNormal, geometryViewDir ) );\n reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n #endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n uniform sampler2D aoMap;\n uniform float aoMapIntensity;\n#endif",batching_pars_vertex:"#ifdef USE_BATCHING\n #if ! defined( GL_ANGLE_multi_draw )\n #define gl_DrawID _gl_DrawID\n uniform int _gl_DrawID;\n #endif\n uniform highp sampler2D batchingTexture;\n uniform highp usampler2D batchingIdTexture;\n mat4 getBatchingMatrix( const in float i ) {\n int size = textureSize( batchingTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n float getIndirectIndex( const in int i ) {\n int size = textureSize( batchingIdTexture, 0 ).x;\n int x = i % size;\n int y = i / size;\n return float( texelFetch( batchingIdTexture, ivec2( x, y ), 0 ).r );\n }\n#endif\n#ifdef USE_BATCHING_COLOR\n uniform sampler2D batchingColorTexture;\n vec3 getBatchingColor( const in float i ) {\n int size = textureSize( batchingColorTexture, 0 ).x;\n int j = int( i );\n int x = j % size;\n int y = j / size;\n return texelFetch( batchingColorTexture, ivec2( x, y ), 0 ).rgb;\n }\n#endif",batching_vertex:"#ifdef USE_BATCHING\n mat4 batchingMatrix = getBatchingMatrix( getIndirectIndex( gl_DrawID ) );\n#endif",begin_vertex:"vec3 transformed = vec3( position );\n#ifdef USE_ALPHAHASH\n vPosition = vec3( position );\n#endif",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n vec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n return 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( specularColor, 1.0, dotVH );\n float G = G_BlinnPhong_Implicit( );\n float D = D_BlinnPhong( shininess, dotNH );\n return F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n const mat3 XYZ_TO_REC709 = mat3(\n 3.2404542, -0.9692660, 0.0556434,\n -1.5371385, 1.8760108, -0.2040259,\n -0.4985314, 0.0415560, 1.0572252\n );\n vec3 Fresnel0ToIor( vec3 fresnel0 ) {\n vec3 sqrtF0 = sqrt( fresnel0 );\n return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n }\n vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n }\n float IorToFresnel0( float transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n }\n vec3 evalSensitivity( float OPD, vec3 shift ) {\n float phase = 2.0 * PI * OPD * 1.0e-9;\n vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n xyz /= 1.0685e-7;\n vec3 rgb = XYZ_TO_REC709 * xyz;\n return rgb;\n }\n vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n vec3 I;\n float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n float cosTheta2Sq = 1.0 - sinTheta2Sq;\n if ( cosTheta2Sq < 0.0 ) {\n return vec3( 1.0 );\n }\n float cosTheta2 = sqrt( cosTheta2Sq );\n float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n float R12 = F_Schlick( R0, 1.0, cosTheta1 );\n float T121 = 1.0 - R12;\n float phi12 = 0.0;\n if ( iridescenceIOR < outsideIOR ) phi12 = PI;\n float phi21 = PI - phi12;\n vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n vec3 phi23 = vec3( 0.0 );\n if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n vec3 phi = vec3( phi21 ) + phi23;\n vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n vec3 r123 = sqrt( R123 );\n vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n vec3 C0 = R12 + Rs;\n I = C0;\n vec3 Cm = Rs - T121;\n for ( int m = 1; m <= 2; ++ m ) {\n Cm *= r123;\n vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n I += Cm * Sm;\n }\n return max( I, vec3( 0.0 ) );\n }\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n uniform sampler2D bumpMap;\n uniform float bumpScale;\n vec2 dHdxy_fwd() {\n vec2 dSTdx = dFdx( vBumpMapUv );\n vec2 dSTdy = dFdy( vBumpMapUv );\n float Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n float dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n float dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n return vec2( dBx, dBy );\n }\n vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n vec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n vec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\n vec3 vN = surf_norm;\n vec3 R1 = cross( vSigmaY, vN );\n vec3 R2 = cross( vN, vSigmaX );\n float fDet = dot( vSigmaX, R1 ) * faceDirection;\n vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n return normalize( abs( fDet ) * surf_norm - vGrad );\n }\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n vec4 plane;\n #ifdef ALPHA_TO_COVERAGE\n float distanceToPlane, distanceGradient;\n float clipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n if ( clipOpacity == 0.0 ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n float unionClipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n }\n #pragma unroll_loop_end\n clipOpacity *= 1.0 - unionClipOpacity;\n #endif\n diffuseColor.a *= clipOpacity;\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n bool clipped = true;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n }\n #pragma unroll_loop_end\n if ( clipped ) discard;\n #endif\n #endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n vClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n diffuseColor *= vColor;\n#elif defined( USE_COLOR )\n diffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR )\n varying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n varying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n vColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n vColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n vColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n vColor.xyz *= instanceColor.xyz;\n#endif\n#ifdef USE_BATCHING_COLOR\n vec3 batchingColor = getBatchingColor( getIndirectIndex( gl_DrawID ) );\n vColor.xyz *= batchingColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n return fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n float precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n float precisionSafeLength( vec3 v ) {\n float maxComponent = max3( abs( v ) );\n return length( v / maxComponent ) * maxComponent;\n }\n#endif\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n bool visible;\n};\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n vec3 indirectSpecular;\n};\n#ifdef USE_ALPHAHASH\n varying vec3 vPosition;\n#endif\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n mat3 tmp;\n tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n return tmp;\n}\nbool isPerspectiveMatrix( mat4 m ) {\n return m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n return vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n return RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n #define cubeUV_minMipLevel 4.0\n #define cubeUV_minTileSize 16.0\n float getFace( vec3 direction ) {\n vec3 absDirection = abs( direction );\n float face = - 1.0;\n if ( absDirection.x > absDirection.z ) {\n if ( absDirection.x > absDirection.y )\n face = direction.x > 0.0 ? 0.0 : 3.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n } else {\n if ( absDirection.z > absDirection.y )\n face = direction.z > 0.0 ? 2.0 : 5.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n }\n return face;\n }\n vec2 getUV( vec3 direction, float face ) {\n vec2 uv;\n if ( face == 0.0 ) {\n uv = vec2( direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 1.0 ) {\n uv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n } else if ( face == 2.0 ) {\n uv = vec2( - direction.x, direction.y ) / abs( direction.z );\n } else if ( face == 3.0 ) {\n uv = vec2( - direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 4.0 ) {\n uv = vec2( - direction.x, direction.z ) / abs( direction.y );\n } else {\n uv = vec2( direction.x, direction.y ) / abs( direction.z );\n }\n return 0.5 * ( uv + 1.0 );\n }\n vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n float face = getFace( direction );\n float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n mipInt = max( mipInt, cubeUV_minMipLevel );\n float faceSize = exp2( mipInt );\n highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n if ( face > 2.0 ) {\n uv.y += faceSize;\n face -= 3.0;\n }\n uv.x += face * faceSize;\n uv.x += filterInt * 3.0 * cubeUV_minTileSize;\n uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n uv.x *= CUBEUV_TEXEL_WIDTH;\n uv.y *= CUBEUV_TEXEL_HEIGHT;\n #ifdef texture2DGradEXT\n return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n #else\n return texture2D( envMap, uv ).rgb;\n #endif\n }\n #define cubeUV_r0 1.0\n #define cubeUV_m0 - 2.0\n #define cubeUV_r1 0.8\n #define cubeUV_m1 - 1.0\n #define cubeUV_r4 0.4\n #define cubeUV_m4 2.0\n #define cubeUV_r5 0.305\n #define cubeUV_m5 3.0\n #define cubeUV_r6 0.21\n #define cubeUV_m6 4.0\n float roughnessToMip( float roughness ) {\n float mip = 0.0;\n if ( roughness >= cubeUV_r1 ) {\n mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n } else if ( roughness >= cubeUV_r4 ) {\n mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n } else if ( roughness >= cubeUV_r5 ) {\n mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n } else if ( roughness >= cubeUV_r6 ) {\n mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n } else {\n mip = - 2.0 * log2( 1.16 * roughness ); }\n return mip;\n }\n vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n float mipF = fract( mip );\n float mipInt = floor( mip );\n vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n if ( mipF == 0.0 ) {\n return vec4( color0, 1.0 );\n } else {\n vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n return vec4( mix( color0, color1, mipF ), 1.0 );\n }\n }\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n vec3 transformedTangent = objectTangent;\n#endif\n#ifdef USE_BATCHING\n mat3 bm = mat3( batchingMatrix );\n transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n transformedNormal = bm * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = bm * transformedTangent;\n #endif\n#endif\n#ifdef USE_INSTANCING\n mat3 im = mat3( instanceMatrix );\n transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n transformedNormal = im * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = im * transformedTangent;\n #endif\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n transformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n #ifdef FLIP_SIDED\n transformedTangent = - transformedTangent;\n #endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n uniform sampler2D displacementMap;\n uniform float displacementScale;\n uniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n #ifdef DECODE_VIDEO_TEXTURE_EMISSIVE\n emissiveColor = sRGBTransferEOTF( emissiveColor );\n #endif\n totalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n uniform sampler2D emissiveMap;\n#endif",colorspace_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",colorspace_pars_fragment:"vec4 LinearTransferOETF( in vec4 value ) {\n return value;\n}\nvec4 sRGBTransferEOTF( in vec4 value ) {\n return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 sRGBTransferOETF( in vec4 value ) {\n return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vec3 cameraToFrag;\n if ( isOrthographic ) {\n cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToFrag = normalize( vWorldPosition - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vec3 reflectVec = reflect( cameraToFrag, worldNormal );\n #else\n vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n #endif\n #else\n vec3 reflectVec = vReflect;\n #endif\n #ifdef ENVMAP_TYPE_CUBE\n vec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n #else\n vec4 envColor = vec4( 0.0 );\n #endif\n #ifdef ENVMAP_BLENDING_MULTIPLY\n outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_MIX )\n outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_ADD )\n outgoingLight += envColor.xyz * specularStrength * reflectivity;\n #endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n uniform float envMapIntensity;\n uniform float flipEnvMap;\n uniform mat3 envMapRotation;\n #ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n #else\n uniform sampler2D envMap;\n #endif\n \n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n uniform float reflectivity;\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n varying vec3 vWorldPosition;\n uniform float refractionRatio;\n #else\n varying vec3 vReflect;\n #endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n \n varying vec3 vWorldPosition;\n #else\n varying vec3 vReflect;\n uniform float refractionRatio;\n #endif\n#endif",envmap_physical_pars_fragment:"#ifdef USE_ENVMAP\n vec3 getIBLIrradiance( const in vec3 normal ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n return PI * envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 reflectVec = reflect( - viewDir, normal );\n reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n reflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n return envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n #ifdef USE_ANISOTROPY\n vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 bentNormal = cross( bitangent, viewDir );\n bentNormal = normalize( cross( bentNormal, bitangent ) );\n bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n return getIBLRadiance( viewDir, bentNormal, roughness );\n #else\n return vec3( 0.0 );\n #endif\n }\n #endif\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vWorldPosition = worldPosition.xyz;\n #else\n vec3 cameraToVertex;\n if ( isOrthographic ) {\n cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vReflect = reflect( cameraToVertex, worldNormal );\n #else\n vReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n #endif\n #endif\n#endif",fog_vertex:"#ifdef USE_FOG\n vFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n varying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n #ifdef FOG_EXP2\n float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n #else\n float fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n #endif\n gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n uniform vec3 fogColor;\n varying float vFogDepth;\n #ifdef FOG_EXP2\n uniform float fogDensity;\n #else\n uniform float fogNear;\n uniform float fogFar;\n #endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n uniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n float dotNL = dot( normal, lightDirection );\n vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n #ifdef USE_GRADIENTMAP\n return vec3( texture2D( gradientMap, coord ).r );\n #else\n vec2 fw = fwidth( coord ) * 0.5;\n return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n #endif\n}",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n uniform sampler2D lightMap;\n uniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n vec3 diffuseColor;\n float specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Lambert\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n#if defined( USE_LIGHT_PROBES )\n uniform vec3 lightProbe[ 9 ];\n#endif\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n float x = normal.x, y = normal.y, z = normal.z;\n vec3 result = shCoefficients[ 0 ] * 0.886227;\n result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n return result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n return irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n vec3 irradiance = ambientLightColor;\n return irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n if ( cutoffDistance > 0.0 ) {\n distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n }\n return distanceFalloff;\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n return smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n struct DirectionalLight {\n vec3 direction;\n vec3 color;\n };\n uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n light.color = directionalLight.color;\n light.direction = directionalLight.direction;\n light.visible = true;\n }\n#endif\n#if NUM_POINT_LIGHTS > 0\n struct PointLight {\n vec3 position;\n vec3 color;\n float distance;\n float decay;\n };\n uniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = pointLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float lightDistance = length( lVector );\n light.color = pointLight.color;\n light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n }\n#endif\n#if NUM_SPOT_LIGHTS > 0\n struct SpotLight {\n vec3 position;\n vec3 direction;\n vec3 color;\n float distance;\n float decay;\n float coneCos;\n float penumbraCos;\n };\n uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = spotLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float angleCos = dot( light.direction, spotLight.direction );\n float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n if ( spotAttenuation > 0.0 ) {\n float lightDistance = length( lVector );\n light.color = spotLight.color * spotAttenuation;\n light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n } else {\n light.color = vec3( 0.0 );\n light.visible = false;\n }\n }\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n struct RectAreaLight {\n vec3 color;\n vec3 position;\n vec3 halfWidth;\n vec3 halfHeight;\n };\n uniform sampler2D ltc_1; uniform sampler2D ltc_2;\n uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n struct HemisphereLight {\n vec3 direction;\n vec3 skyColor;\n vec3 groundColor;\n };\n uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n float dotNL = dot( normal, hemiLight.direction );\n float hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n return irradiance;\n }\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n vec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Toon\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n vec3 diffuseColor;\n vec3 specularColor;\n float specularShininess;\n float specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_BlinnPhong\n#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n material.ior = ior;\n #ifdef USE_SPECULAR\n float specularIntensityFactor = specularIntensity;\n vec3 specularColorFactor = specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n #endif\n material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n #else\n float specularIntensityFactor = 1.0;\n vec3 specularColorFactor = vec3( 1.0 );\n material.specularF90 = 1.0;\n #endif\n material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n material.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n material.clearcoat = clearcoat;\n material.clearcoatRoughness = clearcoatRoughness;\n material.clearcoatF0 = vec3( 0.04 );\n material.clearcoatF90 = 1.0;\n #ifdef USE_CLEARCOATMAP\n material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n #endif\n #ifdef USE_CLEARCOAT_ROUGHNESSMAP\n material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n #endif\n material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n material.clearcoatRoughness += geometryRoughness;\n material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_DISPERSION\n material.dispersion = dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n material.iridescence = iridescence;\n material.iridescenceIOR = iridescenceIOR;\n #ifdef USE_IRIDESCENCEMAP\n material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n #endif\n #ifdef USE_IRIDESCENCE_THICKNESSMAP\n material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n #else\n material.iridescenceThickness = iridescenceThicknessMaximum;\n #endif\n#endif\n#ifdef USE_SHEEN\n material.sheenColor = sheenColor;\n #ifdef USE_SHEEN_COLORMAP\n material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n #endif\n material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n #ifdef USE_SHEEN_ROUGHNESSMAP\n material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n #ifdef USE_ANISOTROPYMAP\n mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n #else\n vec2 anisotropyV = anisotropyVector;\n #endif\n material.anisotropy = length( anisotropyV );\n if( material.anisotropy == 0.0 ) {\n anisotropyV = vec2( 1.0, 0.0 );\n } else {\n anisotropyV /= material.anisotropy;\n material.anisotropy = saturate( material.anisotropy );\n }\n material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n vec3 diffuseColor;\n float roughness;\n vec3 specularColor;\n float specularF90;\n float dispersion;\n #ifdef USE_CLEARCOAT\n float clearcoat;\n float clearcoatRoughness;\n vec3 clearcoatF0;\n float clearcoatF90;\n #endif\n #ifdef USE_IRIDESCENCE\n float iridescence;\n float iridescenceIOR;\n float iridescenceThickness;\n vec3 iridescenceFresnel;\n vec3 iridescenceF0;\n #endif\n #ifdef USE_SHEEN\n vec3 sheenColor;\n float sheenRoughness;\n #endif\n #ifdef IOR\n float ior;\n #endif\n #ifdef USE_TRANSMISSION\n float transmission;\n float transmissionAlpha;\n float thickness;\n float attenuationDistance;\n vec3 attenuationColor;\n #endif\n #ifdef USE_ANISOTROPY\n float anisotropy;\n float alphaT;\n vec3 anisotropyT;\n vec3 anisotropyB;\n #endif\n};\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n float x2 = x * x;\n float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n float a2 = pow2( alpha );\n float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n return 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n float a2 = pow2( alpha );\n float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n return RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_ANISOTROPY\n float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );\n float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n float v = 0.5 / ( gv + gl );\n return saturate(v);\n }\n float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n float a2 = alphaT * alphaB;\n highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n highp float v2 = dot( v, v );\n float w2 = a2 / v2;\n return RECIPROCAL_PI * a2 * pow2 ( w2 );\n }\n#endif\n#ifdef USE_CLEARCOAT\n vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n vec3 f0 = material.clearcoatF0;\n float f90 = material.clearcoatF90;\n float roughness = material.clearcoatRoughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n return F * ( V * D );\n }\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n vec3 f0 = material.specularColor;\n float f90 = material.specularF90;\n float roughness = material.roughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n #ifdef USE_IRIDESCENCE\n F = mix( F, material.iridescenceFresnel, material.iridescence );\n #endif\n #ifdef USE_ANISOTROPY\n float dotTL = dot( material.anisotropyT, lightDir );\n float dotTV = dot( material.anisotropyT, viewDir );\n float dotTH = dot( material.anisotropyT, halfDir );\n float dotBL = dot( material.anisotropyB, lightDir );\n float dotBV = dot( material.anisotropyB, viewDir );\n float dotBH = dot( material.anisotropyB, halfDir );\n float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n #else\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n #endif\n return F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n const float LUT_SIZE = 64.0;\n const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n const float LUT_BIAS = 0.5 / LUT_SIZE;\n float dotNV = saturate( dot( N, V ) );\n vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n uv = uv * LUT_SCALE + LUT_BIAS;\n return uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n float l = length( f );\n return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n float x = dot( v1, v2 );\n float y = abs( x );\n float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n float b = 3.4175940 + ( 4.1616724 + y ) * y;\n float v = a / b;\n float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n return cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n vec3 lightNormal = cross( v1, v2 );\n if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n vec3 T1, T2;\n T1 = normalize( V - N * dot( V, N ) );\n T2 = - cross( N, T1 );\n mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n vec3 coords[ 4 ];\n coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n coords[ 0 ] = normalize( coords[ 0 ] );\n coords[ 1 ] = normalize( coords[ 1 ] );\n coords[ 2 ] = normalize( coords[ 2 ] );\n coords[ 3 ] = normalize( coords[ 3 ] );\n vec3 vectorFormFactor = vec3( 0.0 );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n float result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n return vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n float alpha = pow2( roughness );\n float invAlpha = 1.0 / alpha;\n float cos2h = dotNH * dotNH;\n float sin2h = max( 1.0 - cos2h, 0.0078125 );\n return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float D = D_Charlie( sheenRoughness, dotNH );\n float V = V_Neubelt( dotNV, dotNL );\n return sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n float r2 = roughness * roughness;\n float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n return saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n vec4 r = roughness * c0 + c1;\n float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n return fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n return specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n #ifdef USE_IRIDESCENCE\n vec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n #else\n vec3 Fr = specularColor;\n #endif\n vec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n float Ess = fab.x + fab.y;\n float Ems = 1.0 - Ess;\n vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n singleScatter += FssEss;\n multiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 normal = geometryNormal;\n vec3 viewDir = geometryViewDir;\n vec3 position = geometryPosition;\n vec3 lightPos = rectAreaLight.position;\n vec3 halfWidth = rectAreaLight.halfWidth;\n vec3 halfHeight = rectAreaLight.halfHeight;\n vec3 lightColor = rectAreaLight.color;\n float roughness = material.roughness;\n vec3 rectCoords[ 4 ];\n rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n vec2 uv = LTC_Uv( normal, viewDir, roughness );\n vec4 t1 = texture2D( ltc_1, uv );\n vec4 t2 = texture2D( ltc_2, uv );\n mat3 mInv = mat3(\n vec3( t1.x, 0, t1.y ),\n vec3( 0, 1, 0 ),\n vec3( t1.z, 0, t1.w )\n );\n vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n }\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n #ifdef USE_CLEARCOAT\n float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n vec3 ccIrradiance = dotNLcc * directLight.color;\n clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n #endif\n reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n #ifdef USE_CLEARCOAT\n clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n #endif\n vec3 singleScattering = vec3( 0.0 );\n vec3 multiScattering = vec3( 0.0 );\n vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n #ifdef USE_IRIDESCENCE\n computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n #else\n computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n #endif\n vec3 totalScattering = singleScattering + multiScattering;\n vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n reflectedLight.indirectSpecular += radiance * singleScattering;\n reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct RE_Direct_Physical\n#define RE_Direct_RectArea RE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular RE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n#ifdef USE_CLEARCOAT\n geometryClearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n float dotNVi = saturate( dot( normal, geometryViewDir ) );\n if ( material.iridescenceThickness == 0.0 ) {\n material.iridescence = 0.0;\n } else {\n material.iridescence = saturate( material.iridescence );\n }\n if ( material.iridescence > 0.0 ) {\n material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n }\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n PointLight pointLight;\n #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n pointLight = pointLights[ i ];\n getPointLightInfo( pointLight, geometryPosition, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n pointLightShadow = pointLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n SpotLight spotLight;\n vec4 spotColor;\n vec3 spotLightCoord;\n bool inSpotLightMap;\n #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n spotLight = spotLights[ i ];\n getSpotLightInfo( spotLight, geometryPosition, directLight );\n #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n #else\n #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #endif\n #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n #endif\n #undef SPOT_LIGHT_MAP_INDEX\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n spotLightShadow = spotLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n DirectionalLight directionalLight;\n #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n directionalLight = directionalLights[ i ];\n getDirectionalLightInfo( directionalLight, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n directionalLightShadow = directionalLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n RectAreaLight rectAreaLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n rectAreaLight = rectAreaLights[ i ];\n RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n vec3 iblIrradiance = vec3( 0.0 );\n vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n #if defined( USE_LIGHT_PROBES )\n irradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n #endif\n #if ( NUM_HEMI_LIGHTS > 0 )\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if defined( RE_IndirectSpecular )\n vec3 radiance = vec3( 0.0 );\n vec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n irradiance += lightMapIrradiance;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n iblIrradiance += getIBLIrradiance( geometryNormal );\n #endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n #ifdef USE_ANISOTROPY\n radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n #else\n radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n #endif\n #ifdef USE_CLEARCOAT\n clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n #endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF )\n gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF )\n uniform float logDepthBufFC;\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n vFragDepth = 1.0 + gl_Position.w;\n vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n#endif",map_fragment:"#ifdef USE_MAP\n vec4 sampledDiffuseColor = texture2D( map, vMapUv );\n #ifdef DECODE_VIDEO_TEXTURE\n sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor );\n #endif\n diffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n uniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n #if defined( USE_POINTS_UV )\n vec2 uv = vUv;\n #else\n vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n #endif\n#endif\n#ifdef USE_MAP\n diffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n varying vec2 vUv;\n#else\n #if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n uniform mat3 uvTransform;\n #endif\n#endif\n#ifdef USE_MAP\n uniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n metalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n uniform sampler2D metalnessMap;\n#endif",morphinstance_vertex:"#ifdef USE_INSTANCING_MORPH\n float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n }\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS )\n vColor *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n #if defined( USE_COLOR_ALPHA )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n #elif defined( USE_COLOR )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n #endif\n }\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n objectNormal *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n #ifndef USE_INSTANCING_MORPH\n uniform float morphTargetBaseInfluence;\n uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n #endif\n uniform sampler2DArray morphTargetsTexture;\n uniform ivec2 morphTargetsTextureSize;\n vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n int y = texelIndex / morphTargetsTextureSize.x;\n int x = texelIndex - y * morphTargetsTextureSize.x;\n ivec3 morphUV = ivec3( x, y, morphTargetIndex );\n return texelFetch( morphTargetsTexture, morphUV, 0 );\n }\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n transformed *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n vec3 fdx = dFdx( vViewPosition );\n vec3 fdy = dFdy( vViewPosition );\n vec3 normal = normalize( cross( fdx, fdy ) );\n#else\n vec3 normal = normalize( vNormal );\n #ifdef DOUBLE_SIDED\n normal *= faceDirection;\n #endif\n#endif\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n #ifdef USE_TANGENT\n mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn = getTangentFrame( - vViewPosition, normal,\n #if defined( USE_NORMALMAP )\n vNormalMapUv\n #elif defined( USE_CLEARCOAT_NORMALMAP )\n vClearcoatNormalMapUv\n #else\n vUv\n #endif\n );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn[0] *= faceDirection;\n tbn[1] *= faceDirection;\n #endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n #ifdef USE_TANGENT\n mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn2[0] *= faceDirection;\n tbn2[1] *= faceDirection;\n #endif\n#endif\nvec3 nonPerturbedNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n #ifdef FLIP_SIDED\n normal = - normal;\n #endif\n #ifdef DOUBLE_SIDED\n normal = normal * faceDirection;\n #endif\n normal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n mapN.xy *= normalScale;\n normal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n vNormal = normalize( transformedNormal );\n #ifdef USE_TANGENT\n vTangent = normalize( transformedTangent );\n vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n #endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n uniform sampler2D normalMap;\n uniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n uniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n vec3 q0 = dFdx( eye_pos.xyz );\n vec3 q1 = dFdy( eye_pos.xyz );\n vec2 st0 = dFdx( uv.st );\n vec2 st1 = dFdy( uv.st );\n vec3 N = surf_norm;\n vec3 q1perp = cross( q1, N );\n vec3 q0perp = cross( N, q0 );\n vec3 T = q1perp * st0.x + q0perp * st1.x;\n vec3 B = q1perp * st0.y + q0perp * st1.y;\n float det = max( dot( T, T ), dot( B, B ) );\n float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n return mat3( T * scale, B * scale, N );\n }\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n vec3 clearcoatNormal = nonPerturbedNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n clearcoatMapN.xy *= clearcoatNormalScale;\n clearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n uniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform sampler2D clearcoatNormalMap;\n uniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n uniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform sampler2D iridescenceThicknessMap;\n#endif",opaque_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n return normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n return 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.;\nconst float Inv255 = 1. / 255.;\nconst vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 );\nconst vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g );\nconst vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b );\nconst vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a );\nvec4 packDepthToRGBA( const in float v ) {\n if( v <= 0.0 )\n return vec4( 0., 0., 0., 0. );\n if( v >= 1.0 )\n return vec4( 1., 1., 1., 1. );\n float vuf;\n float af = modf( v * PackFactors.a, vuf );\n float bf = modf( vuf * ShiftRight8, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af );\n}\nvec3 packDepthToRGB( const in float v ) {\n if( v <= 0.0 )\n return vec3( 0., 0., 0. );\n if( v >= 1.0 )\n return vec3( 1., 1., 1. );\n float vuf;\n float bf = modf( v * PackFactors.b, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec3( vuf * Inv255, gf * PackUpscale, bf );\n}\nvec2 packDepthToRG( const in float v ) {\n if( v <= 0.0 )\n return vec2( 0., 0. );\n if( v >= 1.0 )\n return vec2( 1., 1. );\n float vuf;\n float gf = modf( v * 256., vuf );\n return vec2( vuf * Inv255, gf );\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n return dot( v, UnpackFactors4 );\n}\nfloat unpackRGBToDepth( const in vec3 v ) {\n return dot( v, UnpackFactors3 );\n}\nfloat unpackRGToDepth( const in vec2 v ) {\n return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g;\n}\nvec4 pack2HalfToRGBA( const in vec2 v ) {\n vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( const in vec4 v ) {\n return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n return ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_BATCHING\n mvPosition = batchingMatrix * mvPosition;\n#endif\n#ifdef USE_INSTANCING\n mvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n gl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n vec3 dithering( vec3 color ) {\n float grid_position = rand( gl_FragCoord.xy );\n vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n return color + dither_shift_RGB;\n }\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n roughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n uniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n float texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n }\n vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n return unpackRGBATo2Half( texture2D( shadow, uv ) );\n }\n float VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n float occlusion = 1.0;\n vec2 distribution = texture2DDistribution( shadow, uv );\n float hard_shadow = step( compare , distribution.x );\n if (hard_shadow != 1.0 ) {\n float distance = compare - distribution.x ;\n float variance = max( 0.00000, distribution.y * distribution.y );\n float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n }\n return occlusion;\n }\n float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n float shadow = 1.0;\n shadowCoord.xyz /= shadowCoord.w;\n shadowCoord.z += shadowBias;\n bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n bool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n if ( frustumTest ) {\n #if defined( SHADOWMAP_TYPE_PCF )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx0 = - texelSize.x * shadowRadius;\n float dy0 = - texelSize.y * shadowRadius;\n float dx1 = + texelSize.x * shadowRadius;\n float dy1 = + texelSize.y * shadowRadius;\n float dx2 = dx0 / 2.0;\n float dy2 = dy0 / 2.0;\n float dx3 = dx1 / 2.0;\n float dy3 = dy1 / 2.0;\n shadow = (\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n ) * ( 1.0 / 17.0 );\n #elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx = texelSize.x;\n float dy = texelSize.y;\n vec2 uv = shadowCoord.xy;\n vec2 f = fract( uv * shadowMapSize + 0.5 );\n uv -= f * texelSize;\n shadow = (\n texture2DCompare( shadowMap, uv, shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n f.x ),\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n f.x ),\n f.y )\n ) * ( 1.0 / 9.0 );\n #elif defined( SHADOWMAP_TYPE_VSM )\n shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n #else\n shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n vec2 cubeToUV( vec3 v, float texelSizeY ) {\n vec3 absV = abs( v );\n float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n absV *= scaleToCube;\n v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n vec2 planar = v.xy;\n float almostATexel = 1.5 * texelSizeY;\n float almostOne = 1.0 - almostATexel;\n if ( absV.z >= almostOne ) {\n if ( v.z > 0.0 )\n planar.x = 4.0 - v.x;\n } else if ( absV.x >= almostOne ) {\n float signX = sign( v.x );\n planar.x = v.z * signX + 2.0 * signX;\n } else if ( absV.y >= almostOne ) {\n float signY = sign( v.y );\n planar.x = v.x + 2.0 * signY + 2.0;\n planar.y = v.z * signY - 2.0;\n }\n return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n }\n float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n float shadow = 1.0;\n vec3 lightToPosition = shadowCoord.xyz;\n \n float lightToPositionLength = length( lightToPosition );\n if ( lightToPositionLength - shadowCameraFar <= 0.0 && lightToPositionLength - shadowCameraNear >= 0.0 ) {\n float dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias;\n vec3 bd3D = normalize( lightToPosition );\n vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n shadow = (\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n ) * ( 1.0 / 9.0 );\n #else\n shadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n vec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n shadowWorldPosition = worldPosition;\n #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n #endif\n vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n float shadow = 1.0;\n #ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n directionalLight = directionalLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n spotLight = spotLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n pointLight = pointLightShadows[ i ];\n shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #endif\n return shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n mat4 boneMatX = getBoneMatrix( skinIndex.x );\n mat4 boneMatY = getBoneMatrix( skinIndex.y );\n mat4 boneMatZ = getBoneMatrix( skinIndex.z );\n mat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n uniform mat4 bindMatrix;\n uniform mat4 bindMatrixInverse;\n uniform highp sampler2D boneTexture;\n mat4 getBoneMatrix( const in float i ) {\n int size = textureSize( boneTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n vec4 skinned = vec4( 0.0 );\n skinned += boneMatX * skinVertex * skinWeight.x;\n skinned += boneMatY * skinVertex * skinWeight.y;\n skinned += boneMatZ * skinVertex * skinWeight.z;\n skinned += boneMatW * skinVertex * skinWeight.w;\n transformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n mat4 skinMatrix = mat4( 0.0 );\n skinMatrix += skinWeight.x * boneMatX;\n skinMatrix += skinWeight.y * boneMatY;\n skinMatrix += skinWeight.z * boneMatZ;\n skinMatrix += skinWeight.w * boneMatW;\n skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n #ifdef USE_TANGENT\n objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n #endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n specularStrength = texelSpecular.r;\n#else\n specularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n uniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n return saturate( toneMappingExposure * color );\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n return saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 CineonToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n color = max( vec3( 0.0 ), color - 0.004 );\n return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n vec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n return a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n const mat3 ACESInputMat = mat3(\n vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),\n vec3( 0.04823, 0.01566, 0.83777 )\n );\n const mat3 ACESOutputMat = mat3(\n vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),\n vec3( -0.07367, -0.00605, 1.07602 )\n );\n color *= toneMappingExposure / 0.6;\n color = ACESInputMat * color;\n color = RRTAndODTFit( color );\n color = ACESOutputMat * color;\n return saturate( color );\n}\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n vec3( 1.6605, - 0.1246, - 0.0182 ),\n vec3( - 0.5876, 1.1329, - 0.1006 ),\n vec3( - 0.0728, - 0.0083, 1.1187 )\n);\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n vec3( 0.6274, 0.0691, 0.0164 ),\n vec3( 0.3293, 0.9195, 0.0880 ),\n vec3( 0.0433, 0.0113, 0.8956 )\n);\nvec3 agxDefaultContrastApprox( vec3 x ) {\n vec3 x2 = x * x;\n vec3 x4 = x2 * x2;\n return + 15.5 * x4 * x2\n - 40.14 * x4 * x\n + 31.96 * x4\n - 6.868 * x2 * x\n + 0.4298 * x2\n + 0.1191 * x\n - 0.00232;\n}\nvec3 AgXToneMapping( vec3 color ) {\n const mat3 AgXInsetMatrix = mat3(\n vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n );\n const mat3 AgXOutsetMatrix = mat3(\n vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n );\n const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069;\n color *= toneMappingExposure;\n color = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n color = AgXInsetMatrix * color;\n color = max( color, 1e-10 ); color = log2( color );\n color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n color = clamp( color, 0.0, 1.0 );\n color = agxDefaultContrastApprox( color );\n color = AgXOutsetMatrix * color;\n color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n color = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n color = clamp( color, 0.0, 1.0 );\n return color;\n}\nvec3 NeutralToneMapping( vec3 color ) {\n const float StartCompression = 0.8 - 0.04;\n const float Desaturation = 0.15;\n color *= toneMappingExposure;\n float x = min( color.r, min( color.g, color.b ) );\n float offset = x < 0.08 ? x - 6.25 * x * x : 0.04;\n color -= offset;\n float peak = max( color.r, max( color.g, color.b ) );\n if ( peak < StartCompression ) return color;\n float d = 1. - StartCompression;\n float newPeak = 1. - d * d / ( peak + d - StartCompression );\n color *= newPeak / peak;\n float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );\n return mix( color, vec3( newPeak ), g );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n material.transmission = transmission;\n material.transmissionAlpha = 1.0;\n material.thickness = thickness;\n material.attenuationDistance = attenuationDistance;\n material.attenuationColor = attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n #endif\n #ifdef USE_THICKNESSMAP\n material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n #endif\n vec3 pos = vWorldPosition;\n vec3 v = normalize( cameraPosition - pos );\n vec3 n = inverseTransformDirection( normal, viewMatrix );\n vec4 transmitted = getIBLVolumeRefraction(\n n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,\n material.attenuationColor, material.attenuationDistance );\n material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n uniform float transmission;\n uniform float thickness;\n uniform float attenuationDistance;\n uniform vec3 attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n uniform sampler2D transmissionMap;\n #endif\n #ifdef USE_THICKNESSMAP\n uniform sampler2D thicknessMap;\n #endif\n uniform vec2 transmissionSamplerSize;\n uniform sampler2D transmissionSamplerMap;\n uniform mat4 modelMatrix;\n uniform mat4 projectionMatrix;\n varying vec3 vWorldPosition;\n float w0( float a ) {\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n }\n float w1( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 );\n }\n float w2( float a ){\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n }\n float w3( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * a );\n }\n float g0( float a ) {\n return w0( a ) + w1( a );\n }\n float g1( float a ) {\n return w2( a ) + w3( a );\n }\n float h0( float a ) {\n return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n }\n float h1( float a ) {\n return 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n }\n vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n uv = uv * texelSize.zw + 0.5;\n vec2 iuv = floor( uv );\n vec2 fuv = fract( uv );\n float g0x = g0( fuv.x );\n float g1x = g1( fuv.x );\n float h0x = h0( fuv.x );\n float h1x = h1( fuv.x );\n float h0y = h0( fuv.y );\n float h1y = h1( fuv.y );\n vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n }\n vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n vec2 fLodSizeInv = 1.0 / fLodSize;\n vec2 cLodSizeInv = 1.0 / cLodSize;\n vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n return mix( fSample, cSample, fract( lod ) );\n }\n vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n vec3 modelScale;\n modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n return normalize( refractionVector ) * thickness * modelScale;\n }\n float applyIorToRoughness( const in float roughness, const in float ior ) {\n return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n }\n vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n }\n vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n if ( isinf( attenuationDistance ) ) {\n return vec3( 1.0 );\n } else {\n vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance;\n }\n }\n vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,\n const in vec3 attenuationColor, const in float attenuationDistance ) {\n vec4 transmittedLight;\n vec3 transmittance;\n #ifdef USE_DISPERSION\n float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;\n vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );\n for ( int i = 0; i < 3; i ++ ) {\n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n \n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n \n vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );\n transmittedLight[ i ] = transmissionSample[ i ];\n transmittedLight.a += transmissionSample.a;\n transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];\n }\n transmittedLight.a /= 3.0;\n \n #else\n \n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n \n #endif\n vec3 attenuatedColor = transmittance * transmittedLight.rgb;\n vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n }\n#endif",uv_pars_fragment:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n uniform mat3 mapTransform;\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n uniform mat3 alphaMapTransform;\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n uniform mat3 lightMapTransform;\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n uniform mat3 aoMapTransform;\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n uniform mat3 bumpMapTransform;\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n uniform mat3 normalMapTransform;\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n uniform mat3 displacementMapTransform;\n varying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n uniform mat3 emissiveMapTransform;\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n uniform mat3 metalnessMapTransform;\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n uniform mat3 roughnessMapTransform;\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n uniform mat3 anisotropyMapTransform;\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n uniform mat3 clearcoatMapTransform;\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform mat3 clearcoatNormalMapTransform;\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform mat3 clearcoatRoughnessMapTransform;\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n uniform mat3 sheenColorMapTransform;\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n uniform mat3 sheenRoughnessMapTransform;\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n uniform mat3 iridescenceMapTransform;\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform mat3 iridescenceThicknessMapTransform;\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n uniform mat3 specularMapTransform;\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n uniform mat3 specularColorMapTransform;\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n uniform mat3 specularIntensityMapTransform;\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n vUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ANISOTROPYMAP\n vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n vec4 worldPosition = vec4( transformed, 1.0 );\n #ifdef USE_BATCHING\n worldPosition = batchingMatrix * worldPosition;\n #endif\n #ifdef USE_INSTANCING\n worldPosition = instanceMatrix * worldPosition;\n #endif\n worldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n gl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n vec4 texColor = texture2D( t2D, vUv );\n #ifdef DECODE_VIDEO_TEXTURE\n texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n uniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n #ifdef ENVMAP_TYPE_CUBE\n vec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n #elif defined( ENVMAP_TYPE_CUBE_UV )\n vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n #else\n vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",cube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n gl_FragColor = texColor;\n gl_FragColor.a *= opacity;\n #include \n #include \n}",depth_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n uniform float opacity;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #if DEPTH_PACKING == 3200\n diffuseColor.a = opacity;\n #endif\n #include \n #include \n #include \n #include \n #include \n float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n #if DEPTH_PACKING == 3200\n gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n #elif DEPTH_PACKING == 3201\n gl_FragColor = packDepthToRGBA( fragCoordZ );\n #elif DEPTH_PACKING == 3202\n gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 );\n #elif DEPTH_PACKING == 3203\n gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );\n #endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main () {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #include \n #include \n #include \n #include \n float dist = length( vWorldPosition - referencePosition );\n dist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n dist = saturate( dist );\n gl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n vec3 direction = normalize( vWorldDirection );\n vec2 sampleUV = equirectUv( direction );\n gl_FragColor = texture2D( tEquirect, sampleUV );\n #include \n #include \n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vLineDistance = scale * lineDistance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n if ( mod( vLineDistance, totalSize ) > dashSize ) {\n discard;\n }\n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",meshbasic_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n #include \n #include \n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n varying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n #else\n reflectedLight.indirectDiffuse += vec3( 1.0 );\n #endif\n #include \n reflectedLight.indirectDiffuse *= diffuseColor.rgb;\n vec3 outgoingLight = reflectedLight.indirectDiffuse;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 viewDir = normalize( vViewPosition );\n vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n vec3 y = cross( viewDir, x );\n vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n #ifdef USE_MATCAP\n vec4 matcapColor = texture2D( matcap, uv );\n #else\n vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n #endif\n vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n vViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n #include \n #include \n #include \n #include \n gl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n #ifdef OPAQUE\n gl_FragColor.a = 1.0;\n #endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n varying vec3 vWorldPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n#ifdef USE_TRANSMISSION\n vWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n #define IOR\n #define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n uniform float ior;\n#endif\n#ifdef USE_SPECULAR\n uniform float specularIntensity;\n uniform vec3 specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n uniform sampler2D specularColorMap;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n uniform sampler2D specularIntensityMap;\n #endif\n#endif\n#ifdef USE_CLEARCOAT\n uniform float clearcoat;\n uniform float clearcoatRoughness;\n#endif\n#ifdef USE_DISPERSION\n uniform float dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n uniform float iridescence;\n uniform float iridescenceIOR;\n uniform float iridescenceThicknessMinimum;\n uniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n uniform vec3 sheenColor;\n uniform float sheenRoughness;\n #ifdef USE_SHEEN_COLORMAP\n uniform sampler2D sheenColorMap;\n #endif\n #ifdef USE_SHEEN_ROUGHNESSMAP\n uniform sampler2D sheenRoughnessMap;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n uniform vec2 anisotropyVector;\n #ifdef USE_ANISOTROPYMAP\n uniform sampler2D anisotropyMap;\n #endif\n#endif\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n #include \n vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n #ifdef USE_SHEEN\n float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n #endif\n #ifdef USE_CLEARCOAT\n float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n}",points_vert:"uniform float size;\nuniform float scale;\n#include \n#include \n#include \n#include \n#include \n#include \n#ifdef USE_POINTS_UV\n varying vec2 vUv;\n uniform mat3 uvTransform;\n#endif\nvoid main() {\n #ifdef USE_POINTS_UV\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n gl_PointSize = size;\n #ifdef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n #endif\n #include \n #include \n #include \n #include \n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",shadow_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n #include \n #include \n #include \n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n vec4 mvPosition = modelViewMatrix[ 3 ];\n vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) );\n #ifndef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) scale *= - mvPosition.z;\n #endif\n vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n vec2 rotatedPosition;\n rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n mvPosition.xy += rotatedPosition;\n gl_Position = projectionMatrix * mvPosition;\n #include \n #include \n #include \n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n}"},ok={common:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Z}},envmap:{envMap:{value:null},envMapRotation:{value:new Z},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Z}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Z}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Z},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Z},normalScale:{value:new Y(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Z},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Z}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Z}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Z}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new tz(0xffffff)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0},uvTransform:{value:new Z}},sprite:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},center:{value:new Y(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}}},oH={basic:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.fog]),vertexShader:oB.meshbasic_vert,fragmentShader:oB.meshbasic_frag},lambert:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshlambert_vert,fragmentShader:oB.meshlambert_frag},phong:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},specular:{value:new tz(1118481)},shininess:{value:30}}]),vertexShader:oB.meshphong_vert,fragmentShader:oB.meshphong_frag},standard:{uniforms:n_([ok.common,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.roughnessmap,ok.metalnessmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag},toon:{uniforms:n_([ok.common,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.gradientmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshtoon_vert,fragmentShader:oB.meshtoon_frag},matcap:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,{matcap:{value:null}}]),vertexShader:oB.meshmatcap_vert,fragmentShader:oB.meshmatcap_frag},points:{uniforms:n_([ok.points,ok.fog]),vertexShader:oB.points_vert,fragmentShader:oB.points_frag},dashed:{uniforms:n_([ok.common,ok.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:oB.linedashed_vert,fragmentShader:oB.linedashed_frag},depth:{uniforms:n_([ok.common,ok.displacementmap]),vertexShader:oB.depth_vert,fragmentShader:oB.depth_frag},normal:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,{opacity:{value:1}}]),vertexShader:oB.meshnormal_vert,fragmentShader:oB.meshnormal_frag},sprite:{uniforms:n_([ok.sprite,ok.fog]),vertexShader:oB.sprite_vert,fragmentShader:oB.sprite_frag},background:{uniforms:{uvTransform:{value:new Z},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:oB.background_vert,fragmentShader:oB.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Z}},vertexShader:oB.backgroundCube_vert,fragmentShader:oB.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:oB.cube_vert,fragmentShader:oB.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:oB.equirect_vert,fragmentShader:oB.equirect_frag},distanceRGBA:{uniforms:n_([ok.common,ok.displacementmap,{referencePosition:{value:new eE},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:oB.distanceRGBA_vert,fragmentShader:oB.distanceRGBA_frag},shadow:{uniforms:n_([ok.lights,ok.fog,{color:{value:new tz(0)},opacity:{value:1}}]),vertexShader:oB.shadow_vert,fragmentShader:oB.shadow_frag}};oH.physical={uniforms:n_([oH.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Z},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Z},clearcoatNormalScale:{value:new Y(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Z},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Z},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Z},sheen:{value:0},sheenColor:{value:new tz(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Z},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Z},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Z},transmissionSamplerSize:{value:new Y},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Z},attenuationDistance:{value:0},attenuationColor:{value:new tz(0)},specularColor:{value:new tz(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Z},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Z},anisotropyVector:{value:new Y},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Z}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag};let oV={r:0,b:0,g:0},oG=new tn,oW=new e2;function oj(e,t,n,i,r,a,s){let o,l,u=new tz(0),c=+(!0!==a),h=null,d=0,p=null;function f(e){let i=!0===e.isScene?e.background:null;return i&&i.isTexture&&(i=(e.backgroundBlurriness>0?n:t).get(i)),i}function m(t,n){t.getRGB(oV,ny(e)),i.buffers.color.setClear(oV.r,oV.g,oV.b,n,s)}return{getClearColor:function(){return u},setClearColor:function(e,t=1){u.set(e),m(u,c=t)},getClearAlpha:function(){return c},setClearAlpha:function(e){m(u,c=e)},render:function(t){let n=!1,r=f(t);null===r?m(u,c):r&&r.isColor&&(m(r,1),n=!0);let a=e.xr.getEnvironmentBlendMode();"additive"===a?i.buffers.color.setClear(0,0,0,1,s):"alpha-blend"===a&&i.buffers.color.setClear(0,0,0,0,s),(e.autoClear||n)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))},addToRenderList:function(t,n){let i=f(n);i&&(i.isCubeTexture||306===i.mapping)?(void 0===l&&((l=new nf(new ng(1,1,1),new nb({name:"BackgroundCubeMaterial",uniforms:nv(oH.backgroundCube.uniforms),vertexShader:oH.backgroundCube.vertexShader,fragmentShader:oH.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),oG.copy(n.backgroundRotation),oG.x*=-1,oG.y*=-1,oG.z*=-1,i.isCubeTexture&&!1===i.isRenderTargetTexture&&(oG.y*=-1,oG.z*=-1),l.material.uniforms.envMap.value=i,l.material.uniforms.flipEnvMap.value=i.isCubeTexture&&!1===i.isRenderTargetTexture?-1:1,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(oW.makeRotationFromEuler(oG)),l.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,(h!==i||d!==i.version||p!==e.toneMapping)&&(l.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(void 0===o&&((o=new nf(new r9(2,2),new nb({name:"BackgroundMaterial",uniforms:nv(oH.background.uniforms),vertexShader:oH.background.vertexShader,fragmentShader:oH.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),Object.defineProperty(o.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(o)),o.material.uniforms.t2D.value=i,o.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,o.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,!0===i.matrixAutoUpdate&&i.updateMatrix(),o.material.uniforms.uvTransform.value.copy(i.matrix),(h!==i||d!==i.version||p!==e.toneMapping)&&(o.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),o.layers.enableAll(),t.unshift(o,o.geometry,o.material,0,0,null))},dispose:function(){void 0!==l&&(l.geometry.dispose(),l.material.dispose()),void 0!==o&&(o.geometry.dispose(),o.material.dispose())}}}function oX(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),i={},r=u(null),a=r,s=!1;function o(t){return e.bindVertexArray(t)}function l(t){return e.deleteVertexArray(t)}function u(e){let t=[],i=[],r=[];for(let e=0;e=0){let n=r[t],i=s[t];if(void 0===i&&("instanceMatrix"===t&&e.instanceMatrix&&(i=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(i=e.instanceColor)),void 0===n||n.attribute!==i||i&&n.data!==i.data)return!0;o++}return a.attributesNum!==o||a.index!==i}(n,m,l,g))&&function(e,t,n,i){let r={},s=t.attributes,o=0,l=n.getAttributes();for(let t in l)if(l[t].location>=0){let n=s[t];void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor));let i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[t]=i,o++}a.attributes=r,a.attributesNum=o,a.index=i}(n,m,l,g),null!==g&&t.update(g,e.ELEMENT_ARRAY_BUFFER),(M||s)&&(s=!1,function(n,i,r,a){c();let s=a.attributes,o=r.getAttributes(),l=i.defaultAttributeValues;for(let i in o){let r=o[i];if(r.location>=0){let o=s[i];if(void 0===o&&("instanceMatrix"===i&&n.instanceMatrix&&(o=n.instanceMatrix),"instanceColor"===i&&n.instanceColor&&(o=n.instanceColor)),void 0!==o){let i=o.normalized,s=o.itemSize,l=t.get(o);if(void 0===l)continue;let u=l.buffer,c=l.type,p=l.bytesPerElement,m=c===e.INT||c===e.UNSIGNED_INT||1013===o.gpuType;if(o.isInterleavedBufferAttribute){let t=o.data,l=t.stride,g=o.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let s=void 0!==n.precision?n.precision:"highp",o=a(s);o!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",o,"instead."),s=o);let l=!0===n.logarithmicDepthBuffer,u=!0===n.reverseDepthBuffer&&t.has("EXT_clip_control"),c=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),h=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS);return{isWebGL2:!0,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===t.has("EXT_texture_filter_anisotropic")){let n=t.get("EXT_texture_filter_anisotropic");r=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:a,textureFormatReadable:function(t){return 1023===t||i.convert(t)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT)},textureTypeReadable:function(n){let r=1016===n&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return 1009===n||i.convert(n)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)||1015===n||!!r},precision:s,logarithmicDepthBuffer:l,reverseDepthBuffer:u,maxTextures:c,maxVertexTextures:h,maxTextureSize:e.getParameter(e.MAX_TEXTURE_SIZE),maxCubemapSize:e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),maxAttributes:e.getParameter(e.MAX_VERTEX_ATTRIBS),maxVertexUniforms:e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),maxVaryings:e.getParameter(e.MAX_VARYING_VECTORS),maxFragmentUniforms:e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),vertexTextures:h>0,maxSamples:e.getParameter(e.MAX_SAMPLES)}}function oZ(e){let t=this,n=null,i=0,r=!1,a=!1,s=new iy,o=new Z,l={value:null,needsUpdate:!1};function u(e,n,i,r){let a=null!==e?e.length:0,u=null;if(0!==a){if(u=l.value,!0!==r||null===u){let t=i+4*a,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===u||u.length0),t.numPlanes=i,t.numIntersection=0)}}function oJ(e){let t=new WeakMap;function n(e,t){return 303===t?e.mapping=301:304===t&&(e.mapping=302),e}function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping;if(303===a||304===a)if(t.has(r))return n(t.get(r).texture,r.mapping);else{let a=r.image;if(!a||!(a.height>0))return null;{let s=new nR(a.height);return s.fromEquirectangularTexture(e,r),t.set(r,s),r.addEventListener("dispose",i),n(s.texture,r.mapping)}}}return r},dispose:function(){t=new WeakMap}}}let oK=[.125,.215,.35,.446,.526,.582],o$=new sn,oQ=new tz,o0=null,o1=0,o2=0,o3=!1,o4=(1+Math.sqrt(5))/2,o5=1/o4,o6=[new eE(-o4,o5,0),new eE(o4,o5,0),new eE(-o5,0,o4),new eE(o5,0,o4),new eE(0,o4,-o5),new eE(0,o4,o5),new eE(-1,1,-1),new eE(1,1,-1),new eE(-1,1,1),new eE(1,1,1)];class o8{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,n=.1,i=100){o0=this._renderer.getRenderTarget(),o1=this._renderer.getActiveCubeFace(),o2=this._renderer.getActiveMipmapLevel(),o3=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(256);let r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(e,n,i,r),t>0&&this._blur(r,0,0,t),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=lt(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=le(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;ee-4?o=oK[s-e+4-1]:0===s&&(o=0),i.push(o);let l=1/(a-2),u=-l,c=1+l,h=[u,u,c,u,c,c,u,u,c,c,u,c],d=new Float32Array(108),p=new Float32Array(72),f=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,i=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];d.set(i,18*e),p.set(h,12*e);let r=[e,e,e,e,e,e];f.set(r,6*e)}let m=new nn;m.setAttribute("position",new tZ(d,3)),m.setAttribute("uv",new tZ(p,2)),m.setAttribute("faceIndex",new tZ(f,1)),t.push(m),r>4&&r--}return{lodPlanes:t,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=(r=i,new nb({name:"SphericalGaussianBlur",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${r}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:new Float32Array(20)},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:new eE(0,1,0)}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:0,depthTest:!1,depthWrite:!1}))}return i}_compileMaterial(e){let t=new nf(this._lodPlanes[0],e);this._renderer.compile(t,o$)}_sceneToCubeUV(e,t,n,i){let r=new nE(90,1,t,n),a=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,u=o.toneMapping;o.getClearColor(oQ),o.toneMapping=0,o.autoClear=!1;let c=new tV({name:"PMREM.Background",side:1,depthWrite:!1,depthTest:!1}),h=new nf(new ng,c),d=!1,p=e.background;p?p.isColor&&(c.color.copy(p),e.background=null,d=!0):(c.color.copy(oQ),d=!0);for(let t=0;t<6;t++){let n=t%3;0===n?(r.up.set(0,a[t],0),r.lookAt(s[t],0,0)):1===n?(r.up.set(0,0,a[t]),r.lookAt(0,s[t],0)):(r.up.set(0,a[t],0),r.lookAt(0,0,s[t]));let l=this._cubeSize;o7(i,n*l,t>2?l:0,l,l),o.setRenderTarget(i),d&&o.render(h,r),o.render(e,r)}h.geometry.dispose(),h.material.dispose(),o.toneMapping=u,o.autoClear=l,e.background=p}_textureToCubeUV(e,t){let n=this._renderer,i=301===e.mapping||302===e.mapping;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=lt()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=le());let r=i?this._cubemapMaterial:this._equirectMaterial,a=new nf(this._lodPlanes[0],r);r.uniforms.envMap.value=e;let s=this._cubeSize;o7(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,o$)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let i=this._lodPlanes.length;for(let t=1;t20&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);let m=[],g=0;for(let e=0;e<20;++e){let t=e/p,n=Math.exp(-t*t/2);m.push(n),0===e?g+=n:ev-4?i-v+4:0),y,3*_,2*_),o.setRenderTarget(t),o.render(u,o$)}}function o9(e,t,n){let i=new ex(e,t,n);return i.texture.mapping=306,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function o7(e,t,n,i,r){e.viewport.set(t,n,i,r),e.scissor.set(t,n,i,r)}function le(){return new nb({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function lt(){return new nb({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function ln(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function li(e){let t=new WeakMap,n=null;function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping,s=303===a||304===a,o=301===a||302===a;if(s||o){let a=t.get(r),l=void 0!==a?a.texture.pmremVersion:0;if(r.isRenderTargetTexture&&r.pmremVersion!==l)return null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r,a):n.fromCubemap(r,a)).texture.pmremVersion=r.pmremVersion,t.set(r,a),a.texture;{if(void 0!==a)return a.texture;let l=r.image;return s&&l&&l.height>0||o&&l&&function(e){let t=0;for(let n=0;n<6;n++)void 0!==e[n]&&t++;return 6===t}(l)?(null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r):n.fromCubemap(r)).texture.pmremVersion=r.pmremVersion,t.set(r,a),r.addEventListener("dispose",i),a.texture):null}}}return r},dispose:function(){t=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function lr(e){let t={};function n(n){let i;if(void 0!==t[n])return t[n];switch(n){case"WEBGL_depth_texture":i=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=e.getExtension(n)}return t[n]=i,i}return{has:function(e){return null!==n(e)},init:function(){n("EXT_color_buffer_float"),n("WEBGL_clip_cull_distance"),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture"),n("WEBGL_render_shared_exponent")},get:function(e){let t=n(e);return null===t&&ei("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function la(e,t,n,i){let r={},a=new WeakMap;function s(e){let o=e.target;for(let e in null!==o.index&&t.remove(o.index),o.attributes)t.remove(o.attributes[e]);o.removeEventListener("dispose",s),delete r[o.id];let l=a.get(o);l&&(t.remove(l),a.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(e){let n=[],i=e.index,r=e.attributes.position,s=0;if(null!==i){let e=i.array;s=i.version;for(let t=0,i=e.length;tt.maxTextureSize&&(f=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);let m=new Float32Array(p*f*4*c),g=new eb(m,p,f,c);g.type=1015,g.needsUpdate=!0;let v=4*d;for(let t=0;t0)return e;let r=t*n,a=lm[r];if(void 0===a&&(a=new Float32Array(r),lm[r]=a),0!==t){i.toArray(a,0);for(let i=1,r=0;i!==t;++i)r+=n,e[i].toArray(a,r)}return a}function lb(e,t){if(e.length!==t.length)return!1;for(let n=0,i=e.length;n":" "} ${r}: ${n[e]}`)}return i.join("\n")}(e.getShaderSource(t),i)}}let ul=new eE;function uu(e){return""!==e}function uc(e,t){let n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function uh(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}let ud=/^[ \t]*#include +<([\w\d./]+)>/gm;function up(e){return e.replace(ud,um)}let uf=new Map;function um(e,t){let n=oB[t];if(void 0===n){let e=uf.get(t);if(void 0!==e)n=oB[e],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,e);else throw Error("Can not resolve #include <"+t+">")}return up(n)}let ug=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function uv(e){return e.replace(ug,u_)}function u_(e,t,n,i){let r="";for(let e=parseInt(t);e0&&(r+="\n"),(a=["#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x].filter(uu).join("\n")).length>0&&(a+="\n");else{let e,t,i,s;r=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",n.batching?"#define USE_BATCHING":"",n.batchingColor?"#define USE_BATCHING_COLOR":"",n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.instancingMorph?"#define USE_INSTANCING_MORPH":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+g:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+n.anisotropyMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH"," uniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif","\n"].filter(uu).join("\n"),a=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+m:"",n.envMap?"#define "+g:"",n.envMap?"#define "+v:"",_?"#define CUBEUV_TEXEL_WIDTH "+_.texelWidth:"",_?"#define CUBEUV_TEXEL_HEIGHT "+_.texelHeight:"",_?"#define CUBEUV_MAX_MIP "+_.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.dispersion?"#define USE_DISPERSION":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor||n.batchingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==n.toneMapping?"#define TONE_MAPPING":"",0!==n.toneMapping?oB.tonemapping_pars_fragment:"",0!==n.toneMapping?function(e,t){let n;switch(t){case 1:n="Linear";break;case 2:n="Reinhard";break;case 3:n="Cineon";break;case 4:n="ACESFilmic";break;case 6:n="AgX";break;case 7:n="Neutral";break;case 5:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",oB.colorspace_pars_fragment,(e=function(e){eu._getMatrix(us,eu.workingColorSpace,e);let t=`mat3( ${us.elements.map(e=>e.toFixed(4))} )`;switch(eu.getTransfer(e)){case N:return[t,"LinearTransferOETF"];case U:return[t,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",e),[t,"LinearTransferOETF"]}}(n.outputColorSpace),`vec4 linearToOutputTexel( vec4 value ) { - return ${e[1]}( vec4( value.rgb * ${e[0]}, value.a ) ); -}`),(eu.getLuminanceCoefficients(ul),t=ul.x.toFixed(4),i=ul.y.toFixed(4),s=ul.z.toFixed(4),`float luminance( const in vec3 rgb ) { - const vec3 weights = vec3( ${t}, ${i}, ${s} ); - return dot( weights, rgb ); -}`),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(uu).join("\n")}d=uh(d=uc(d=up(d),n),n),p=uh(p=uc(p=up(p),n),n),d=uv(d),p=uv(p),!0!==n.isRawShaderMaterial&&(S="#version 300 es\n",r=[y,"#define attribute in\n#define varying out\n#define texture2D texture"].join("\n")+"\n"+r,a=["#define varying in",n.glslVersion===D?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===D?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+a);let M=S+r+d,T=S+a+p,w=ur(c,c.VERTEX_SHADER,M),E=ur(c,c.FRAGMENT_SHADER,T);function A(t){if(e.debug.checkShaderErrors){let n=c.getProgramInfoLog(b).trim(),i=c.getShaderInfoLog(w).trim(),s=c.getShaderInfoLog(E).trim(),o=!0,l=!0;if(!1===c.getProgramParameter(b,c.LINK_STATUS))if(o=!1,"function"==typeof e.debug.onShaderError)e.debug.onShaderError(c,b,w,E);else{let e=uo(c,w,"vertex"),i=uo(c,E,"fragment");console.error("THREE.WebGLProgram: Shader Error "+c.getError()+" - VALIDATE_STATUS "+c.getProgramParameter(b,c.VALIDATE_STATUS)+"\n\nMaterial Name: "+t.name+"\nMaterial Type: "+t.type+"\n\nProgram Info Log: "+n+"\n"+e+"\n"+i)}else""!==n?console.warn("THREE.WebGLProgram: Program Info Log:",n):(""===i||""===s)&&(l=!1);l&&(t.diagnostics={runnable:o,programLog:n,vertexShader:{log:i,prefix:r},fragmentShader:{log:s,prefix:a}})}c.deleteShader(w),c.deleteShader(E),s=new ui(c,b),o=function(e,t){let n={},i=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let r=0;r0,Z=a.clearcoat>0,J=a.dispersion>0,K=a.iridescence>0,$=a.sheen>0,Q=a.transmission>0,ee=Y&&!!a.anisotropyMap,et=Z&&!!a.clearcoatMap,en=Z&&!!a.clearcoatNormalMap,ei=Z&&!!a.clearcoatRoughnessMap,er=K&&!!a.iridescenceMap,ea=K&&!!a.iridescenceThicknessMap,es=$&&!!a.sheenColorMap,eo=$&&!!a.sheenRoughnessMap,el=!!a.specularMap,ec=!!a.specularColorMap,eh=!!a.specularIntensityMap,ed=Q&&!!a.transmissionMap,ep=Q&&!!a.thicknessMap,ef=!!a.gradientMap,em=!!a.alphaMap,eg=a.alphaTest>0,ev=!!a.alphaHash,e_=!!a.extensions,ey=0;a.toneMapped&&(null===I||!0===I.isXRRenderTarget)&&(ey=e.toneMapping);let ex={shaderID:A,shaderType:a.type,shaderName:a.name,vertexShader:_,fragmentShader:y,defines:a.defines,customVertexShaderID:x,customFragmentShaderID:b,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:p,batching:O,batchingColor:O&&null!==v._colorsTexture,instancing:D,instancingColor:D&&null!==v.instanceColor,instancingMorph:D&&null!==v.morphTexture,supportsVertexTextures:d,outputColorSpace:null===I?e.outputColorSpace:!0===I.isXRRenderTarget?I.texture.colorSpace:L,alphaToCoverage:!!a.alphaToCoverage,map:F,matcap:z,envMap:B,envMapMode:B&&w.mapping,envMapCubeUVHeight:E,aoMap:k,lightMap:H,bumpMap:V,normalMap:G,displacementMap:d&&W,emissiveMap:j,normalMapObjectSpace:G&&1===a.normalMapType,normalMapTangentSpace:G&&0===a.normalMapType,metalnessMap:X,roughnessMap:q,anisotropy:Y,anisotropyMap:ee,clearcoat:Z,clearcoatMap:et,clearcoatNormalMap:en,clearcoatRoughnessMap:ei,dispersion:J,iridescence:K,iridescenceMap:er,iridescenceThicknessMap:ea,sheen:$,sheenColorMap:es,sheenRoughnessMap:eo,specularMap:el,specularColorMap:ec,specularIntensityMap:eh,transmission:Q,transmissionMap:ed,thicknessMap:ep,gradientMap:ef,opaque:!1===a.transparent&&1===a.blending&&!1===a.alphaToCoverage,alphaMap:em,alphaTest:eg,alphaHash:ev,combine:a.combine,mapUv:F&&m(a.map.channel),aoMapUv:k&&m(a.aoMap.channel),lightMapUv:H&&m(a.lightMap.channel),bumpMapUv:V&&m(a.bumpMap.channel),normalMapUv:G&&m(a.normalMap.channel),displacementMapUv:W&&m(a.displacementMap.channel),emissiveMapUv:j&&m(a.emissiveMap.channel),metalnessMapUv:X&&m(a.metalnessMap.channel),roughnessMapUv:q&&m(a.roughnessMap.channel),anisotropyMapUv:ee&&m(a.anisotropyMap.channel),clearcoatMapUv:et&&m(a.clearcoatMap.channel),clearcoatNormalMapUv:en&&m(a.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ei&&m(a.clearcoatRoughnessMap.channel),iridescenceMapUv:er&&m(a.iridescenceMap.channel),iridescenceThicknessMapUv:ea&&m(a.iridescenceThicknessMap.channel),sheenColorMapUv:es&&m(a.sheenColorMap.channel),sheenRoughnessMapUv:eo&&m(a.sheenRoughnessMap.channel),specularMapUv:el&&m(a.specularMap.channel),specularColorMapUv:ec&&m(a.specularColorMap.channel),specularIntensityMapUv:eh&&m(a.specularIntensityMap.channel),transmissionMapUv:ed&&m(a.transmissionMap.channel),thicknessMapUv:ep&&m(a.thicknessMap.channel),alphaMapUv:em&&m(a.alphaMap.channel),vertexTangents:!!M.attributes.tangent&&(G||Y),vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!M.attributes.color&&4===M.attributes.color.itemSize,pointsUvs:!0===v.isPoints&&!!M.attributes.uv&&(F||em),fog:!!S,useFog:!0===a.fog,fogExp2:!!S&&S.isFogExp2,flatShading:!0===a.flatShading,sizeAttenuation:!0===a.sizeAttenuation,logarithmicDepthBuffer:h,reverseDepthBuffer:N,skinning:!0===v.isSkinnedMesh,morphTargets:void 0!==M.morphAttributes.position,morphNormals:void 0!==M.morphAttributes.normal,morphColors:void 0!==M.morphAttributes.color,morphTargetsCount:R,morphTextureStride:P,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:a.dithering,shadowMapEnabled:e.shadowMap.enabled&&c.length>0,shadowMapType:e.shadowMap.type,toneMapping:ey,decodeVideoTexture:F&&!0===a.map.isVideoTexture&&eu.getTransfer(a.map.colorSpace)===U,decodeVideoTextureEmissive:j&&!0===a.emissiveMap.isVideoTexture&&eu.getTransfer(a.emissiveMap.colorSpace)===U,premultipliedAlpha:a.premultipliedAlpha,doubleSided:2===a.side,flipSided:1===a.side,useDepthPacking:a.depthPacking>=0,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionClipCullDistance:e_&&!0===a.extensions.clipCullDistance&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(e_&&!0===a.extensions.multiDraw||O)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:a.customProgramCacheKey()};return ex.vertexUv1s=u.has(1),ex.vertexUv2s=u.has(2),ex.vertexUv3s=u.has(3),u.clear(),ex},getProgramCacheKey:function(t){var n,i,r,a;let s=[];if(t.shaderID?s.push(t.shaderID):(s.push(t.customVertexShaderID),s.push(t.customFragmentShaderID)),void 0!==t.defines)for(let e in t.defines)s.push(e),s.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(n=s,i=t,n.push(i.precision),n.push(i.outputColorSpace),n.push(i.envMapMode),n.push(i.envMapCubeUVHeight),n.push(i.mapUv),n.push(i.alphaMapUv),n.push(i.lightMapUv),n.push(i.aoMapUv),n.push(i.bumpMapUv),n.push(i.normalMapUv),n.push(i.displacementMapUv),n.push(i.emissiveMapUv),n.push(i.metalnessMapUv),n.push(i.roughnessMapUv),n.push(i.anisotropyMapUv),n.push(i.clearcoatMapUv),n.push(i.clearcoatNormalMapUv),n.push(i.clearcoatRoughnessMapUv),n.push(i.iridescenceMapUv),n.push(i.iridescenceThicknessMapUv),n.push(i.sheenColorMapUv),n.push(i.sheenRoughnessMapUv),n.push(i.specularMapUv),n.push(i.specularColorMapUv),n.push(i.specularIntensityMapUv),n.push(i.transmissionMapUv),n.push(i.thicknessMapUv),n.push(i.combine),n.push(i.fogExp2),n.push(i.sizeAttenuation),n.push(i.morphTargetsCount),n.push(i.morphAttributeCount),n.push(i.numDirLights),n.push(i.numPointLights),n.push(i.numSpotLights),n.push(i.numSpotLightMaps),n.push(i.numHemiLights),n.push(i.numRectAreaLights),n.push(i.numDirLightShadows),n.push(i.numPointLightShadows),n.push(i.numSpotLightShadows),n.push(i.numSpotLightShadowsWithMaps),n.push(i.numLightProbes),n.push(i.shadowMapType),n.push(i.toneMapping),n.push(i.numClippingPlanes),n.push(i.numClipIntersection),n.push(i.depthPacking),r=s,a=t,o.disableAll(),a.supportsVertexTextures&&o.enable(0),a.instancing&&o.enable(1),a.instancingColor&&o.enable(2),a.instancingMorph&&o.enable(3),a.matcap&&o.enable(4),a.envMap&&o.enable(5),a.normalMapObjectSpace&&o.enable(6),a.normalMapTangentSpace&&o.enable(7),a.clearcoat&&o.enable(8),a.iridescence&&o.enable(9),a.alphaTest&&o.enable(10),a.vertexColors&&o.enable(11),a.vertexAlphas&&o.enable(12),a.vertexUv1s&&o.enable(13),a.vertexUv2s&&o.enable(14),a.vertexUv3s&&o.enable(15),a.vertexTangents&&o.enable(16),a.anisotropy&&o.enable(17),a.alphaHash&&o.enable(18),a.batching&&o.enable(19),a.dispersion&&o.enable(20),a.batchingColor&&o.enable(21),r.push(o.mask),o.disableAll(),a.fog&&o.enable(0),a.useFog&&o.enable(1),a.flatShading&&o.enable(2),a.logarithmicDepthBuffer&&o.enable(3),a.reverseDepthBuffer&&o.enable(4),a.skinning&&o.enable(5),a.morphTargets&&o.enable(6),a.morphNormals&&o.enable(7),a.morphColors&&o.enable(8),a.premultipliedAlpha&&o.enable(9),a.shadowMapEnabled&&o.enable(10),a.doubleSided&&o.enable(11),a.flipSided&&o.enable(12),a.useDepthPacking&&o.enable(13),a.dithering&&o.enable(14),a.transmission&&o.enable(15),a.sheen&&o.enable(16),a.opaque&&o.enable(17),a.pointsUvs&&o.enable(18),a.decodeVideoTexture&&o.enable(19),a.decodeVideoTextureEmissive&&o.enable(20),a.alphaToCoverage&&o.enable(21),r.push(o.mask),s.push(e.outputColorSpace)),s.push(t.customProgramCacheKey),s.join()},getUniforms:function(e){let t,n=f[e.type];if(n){let e=oH[n];t=nx.clone(e.uniforms)}else t=e.uniforms;return t},acquireProgram:function(t,n){let i;for(let e=0,t=c.length;e0?i.push(c):!0===s.transparent?r.push(c):n.push(c)},unshift:function(e,t,s,o,l,u){let c=a(e,t,s,o,l,u);s.transmission>0?i.unshift(c):!0===s.transparent?r.unshift(c):n.unshift(c)},finish:function(){for(let n=t,i=e.length;n1&&n.sort(e||uE),i.length>1&&i.sort(t||uA),r.length>1&&r.sort(t||uA)}}}function uR(){let e=new WeakMap;return{get:function(t,n){let i,r=e.get(t);return void 0===r?(i=new uC,e.set(t,[i])):n>=r.length?(i=new uC,r.push(i)):i=r[n],i},dispose:function(){e=new WeakMap}}}function uP(){let e={};return{get:function(t){let n;if(void 0!==e[t.id])return e[t.id];switch(t.type){case"DirectionalLight":n={direction:new eE,color:new tz};break;case"SpotLight":n={position:new eE,direction:new eE,color:new tz,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new eE,color:new tz,distance:0,decay:0};break;case"HemisphereLight":n={direction:new eE,skyColor:new tz,groundColor:new tz};break;case"RectAreaLight":n={color:new tz,position:new eE,halfWidth:new eE,halfHeight:new eE}}return e[t.id]=n,n}}}let uI=0;function uL(e,t){return 2*!!t.castShadow-2*!!e.castShadow+ +!!t.map-!!e.map}function uN(e){let t,n=new uP,i=(t={},{get:function(e){let n;if(void 0!==t[e.id])return t[e.id];switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y};break;case"PointLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new eE);let a=new eE,s=new e2,o=new e2;return{setup:function(t){let a=0,s=0,o=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let l=0,u=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,v=0,_=0;t.sort(uL);for(let e=0,y=t.length;e0&&(!0===e.has("OES_texture_float_linear")?(r.rectAreaLTC1=ok.LTC_FLOAT_1,r.rectAreaLTC2=ok.LTC_FLOAT_2):(r.rectAreaLTC1=ok.LTC_HALF_1,r.rectAreaLTC2=ok.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=s,r.ambient[2]=o;let y=r.hash;(y.directionalLength!==l||y.pointLength!==u||y.spotLength!==c||y.rectAreaLength!==h||y.hemiLength!==d||y.numDirectionalShadows!==p||y.numPointShadows!==f||y.numSpotShadows!==m||y.numSpotMaps!==g||y.numLightProbes!==_)&&(r.directional.length=l,r.spot.length=c,r.rectArea.length=h,r.point.length=u,r.hemi.length=d,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=f,r.pointShadowMap.length=f,r.spotShadow.length=m,r.spotShadowMap.length=m,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=f,r.spotLightMatrix.length=m+g-v,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=v,r.numLightProbes=_,y.directionalLength=l,y.pointLength=u,y.spotLength=c,y.rectAreaLength=h,y.hemiLength=d,y.numDirectionalShadows=p,y.numPointShadows=f,y.numSpotShadows=m,y.numSpotMaps=g,y.numLightProbes=_,r.version=uI++)},setupView:function(e,t){let n=0,i=0,l=0,u=0,c=0,h=t.matrixWorldInverse;for(let t=0,d=e.length;t=a.length?(r=new uU(e),a.push(r)):r=a[i],r},dispose:function(){t=new WeakMap}}}function uO(e,t,n){let i=new iS,r=new Y,a=new Y,s=new e_,o=new av({depthPacking:3201}),l=new a_,u={},c=n.maxTextureSize,h={0:1,1:0,2:2},d=new nb({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Y},radius:{value:4}},vertexShader:"void main() {\n gl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include \nvoid main() {\n const float samples = float( VSM_SAMPLES );\n float mean = 0.0;\n float squared_mean = 0.0;\n float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n float uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n for ( float i = 0.0; i < samples; i ++ ) {\n float uvOffset = uvStart + i * uvStride;\n #ifdef HORIZONTAL_PASS\n vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean / samples;\n squared_mean = squared_mean / samples;\n float std_dev = sqrt( squared_mean - mean * mean );\n gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),p=d.clone();p.defines.HORIZONTAL_PASS=1;let f=new nn;f.setAttribute("position",new tZ(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let m=new nf(f,d),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let v=this.type;function _(t,n,i,r){let a=null,s=!0===i.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==s)a=s;else if(a=!0===i.isPointLight?l:o,e.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){let e=a.uuid,t=n.uuid,i=u[e];void 0===i&&(i={},u[e]=i);let r=i[t];void 0===r&&(r=a.clone(),i[t]=r,n.addEventListener("dispose",y)),a=r}return a.visible=n.visible,a.wireframe=n.wireframe,3===r?a.side=null!==n.shadowSide?n.shadowSide:n.side:a.side=null!==n.shadowSide?n.shadowSide:h[n.side],a.alphaMap=n.alphaMap,a.alphaTest=n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,!0===i.isPointLight&&!0===a.isMeshDistanceMaterial&&(e.properties.get(a).light=i),a}function y(e){for(let t in e.target.removeEventListener("dispose",y),u){let n=u[t],i=e.target.uuid;i in n&&(n[i].dispose(),delete n[i])}}this.render=function(n,o,l){if(!1===g.enabled||!1===g.autoUpdate&&!1===g.needsUpdate||0===n.length)return;let u=e.getRenderTarget(),h=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),y=e.state;y.setBlending(0),y.buffers.color.setClear(1,1,1,1),y.buffers.depth.setTest(!0),y.setScissorTest(!1);let x=3!==v&&3===this.type,b=3===v&&3!==this.type;for(let u=0,h=n.length;uc||r.y>c)&&(r.x>c&&(a.x=Math.floor(c/g.x),r.x=a.x*g.x,f.mapSize.x=a.x),r.y>c&&(a.y=Math.floor(c/g.y),r.y=a.y*g.y,f.mapSize.y=a.y)),null===f.map||!0===x||!0===b){let e=3!==this.type?{minFilter:1003,magFilter:1003}:{};null!==f.map&&f.map.dispose(),f.map=new ex(r.x,r.y,e),f.map.texture.name=h.name+".shadowMap",f.camera.updateProjectionMatrix()}e.setRenderTarget(f.map),e.clear();let v=f.getViewportCount();for(let n=0;n=1:-1!==P.indexOf("OpenGL ES")&&(R=parseFloat(/^OpenGL ES (\d)/.exec(P)[1])>=2);let I=null,L={},N=e.getParameter(e.SCISSOR_BOX),U=e.getParameter(e.VIEWPORT),D=new e_().fromArray(N),O=new e_().fromArray(U);function F(t,n,i,r){let a=new Uint8Array(4),s=e.createTexture();e.bindTexture(t,s),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let s=0;stypeof navigator&&/OculusBrowser/g.test(navigator.userAgent),c=new Y,h=new WeakMap,d=new WeakMap,p=!1;try{p="u">typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function f(e,t){return p?new OffscreenCanvas(e,t):ee("canvas")}function m(e,t,n){let i=1,r=G(e);if((r.width>n||r.height>n)&&(i=n/Math.max(r.width,r.height)),i<1)if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap||"u">typeof VideoFrame&&e instanceof VideoFrame){let n=Math.floor(i*r.width),a=Math.floor(i*r.height);void 0===o&&(o=f(n,a));let s=t?f(n,a):o;return s.width=n,s.height=a,s.getContext("2d").drawImage(e,0,0,n,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+r.width+"x"+r.height+") to ("+n+"x"+a+")."),s}else"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+r.width+"x"+r.height+").");return e}function g(e){return e.generateMipmaps}function v(t){e.generateMipmap(t)}function _(n,i,r,a,s=!1){if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let o=i;if(i===e.RED&&(r===e.FLOAT&&(o=e.R32F),r===e.HALF_FLOAT&&(o=e.R16F),r===e.UNSIGNED_BYTE&&(o=e.R8)),i===e.RED_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.R8UI),r===e.UNSIGNED_SHORT&&(o=e.R16UI),r===e.UNSIGNED_INT&&(o=e.R32UI),r===e.BYTE&&(o=e.R8I),r===e.SHORT&&(o=e.R16I),r===e.INT&&(o=e.R32I)),i===e.RG&&(r===e.FLOAT&&(o=e.RG32F),r===e.HALF_FLOAT&&(o=e.RG16F),r===e.UNSIGNED_BYTE&&(o=e.RG8)),i===e.RG_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RG8UI),r===e.UNSIGNED_SHORT&&(o=e.RG16UI),r===e.UNSIGNED_INT&&(o=e.RG32UI),r===e.BYTE&&(o=e.RG8I),r===e.SHORT&&(o=e.RG16I),r===e.INT&&(o=e.RG32I)),i===e.RGB_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGB8UI),r===e.UNSIGNED_SHORT&&(o=e.RGB16UI),r===e.UNSIGNED_INT&&(o=e.RGB32UI),r===e.BYTE&&(o=e.RGB8I),r===e.SHORT&&(o=e.RGB16I),r===e.INT&&(o=e.RGB32I)),i===e.RGBA_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGBA8UI),r===e.UNSIGNED_SHORT&&(o=e.RGBA16UI),r===e.UNSIGNED_INT&&(o=e.RGBA32UI),r===e.BYTE&&(o=e.RGBA8I),r===e.SHORT&&(o=e.RGBA16I),r===e.INT&&(o=e.RGBA32I)),i===e.RGB&&r===e.UNSIGNED_INT_5_9_9_9_REV&&(o=e.RGB9_E5),i===e.RGBA){let t=s?N:eu.getTransfer(a);r===e.FLOAT&&(o=e.RGBA32F),r===e.HALF_FLOAT&&(o=e.RGBA16F),r===e.UNSIGNED_BYTE&&(o=t===U?e.SRGB8_ALPHA8:e.RGBA8),r===e.UNSIGNED_SHORT_4_4_4_4&&(o=e.RGBA4),r===e.UNSIGNED_SHORT_5_5_5_1&&(o=e.RGB5_A1)}return(o===e.R16F||o===e.R32F||o===e.RG16F||o===e.RG32F||o===e.RGBA16F||o===e.RGBA32F)&&t.get("EXT_color_buffer_float"),o}function y(t,n){let i;return t?null===n||1014===n||1020===n?i=e.DEPTH24_STENCIL8:1015===n?i=e.DEPTH32F_STENCIL8:1012===n&&(i=e.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):null===n||1014===n||1020===n?i=e.DEPTH_COMPONENT24:1015===n?i=e.DEPTH_COMPONENT32F:1012===n&&(i=e.DEPTH_COMPONENT16),i}function x(e,t){return!0===g(e)||e.isFramebufferTexture&&1003!==e.minFilter&&1006!==e.minFilter?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function b(e){let t=e.target;t.removeEventListener("dispose",b),function(e){let t=i.get(e);if(void 0===t.__webglInit)return;let n=e.source,r=d.get(n);if(r){let i=r[t.__cacheKey];i.usedTimes--,0===i.usedTimes&&M(e),0===Object.keys(r).length&&d.delete(n)}i.remove(e)}(t),t.isVideoTexture&&h.delete(t)}function S(t){let n=t.target;n.removeEventListener("dispose",S),function(t){let n=i.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),i.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let i=0;i0&&l.__version!==t.version){let e=t.image;if(null===e)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==e.complete)return void I(l,t,r);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(e.TEXTURE_2D,l.__webglTexture,e.TEXTURE0+r)}let E={1e3:e.REPEAT,1001:e.CLAMP_TO_EDGE,1002:e.MIRRORED_REPEAT},A={1003:e.NEAREST,1004:e.NEAREST_MIPMAP_NEAREST,1005:e.NEAREST_MIPMAP_LINEAR,1006:e.LINEAR,1007:e.LINEAR_MIPMAP_NEAREST,1008:e.LINEAR_MIPMAP_LINEAR},C={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function R(n,a){if((1015===a.type&&!1===t.has("OES_texture_float_linear")&&(1006===a.magFilter||1007===a.magFilter||1005===a.magFilter||1008===a.magFilter||1006===a.minFilter||1007===a.minFilter||1005===a.minFilter||1008===a.minFilter)&&console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(n,e.TEXTURE_WRAP_S,E[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,E[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,E[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,A[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,A[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,C[a.compareFunction])),!0===t.has("EXT_texture_filter_anisotropic"))&&1003!==a.magFilter&&(1005===a.minFilter||1008===a.minFilter)&&(1015!==a.type||!1!==t.has("OES_texture_float_linear"))&&(a.anisotropy>1||i.get(a).__currentAnisotropy)){let s=t.get("EXT_texture_filter_anisotropic");e.texParameterf(n,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,r.getMaxAnisotropy())),i.get(a).__currentAnisotropy=a.anisotropy}}function P(t,n){let i,r=!1;void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",b));let a=n.source,o=d.get(a);void 0===o&&(o={},d.set(a,o));let l=((i=[]).push(n.wrapS),i.push(n.wrapT),i.push(n.wrapR||0),i.push(n.magFilter),i.push(n.minFilter),i.push(n.anisotropy),i.push(n.internalFormat),i.push(n.format),i.push(n.type),i.push(n.generateMipmaps),i.push(n.premultiplyAlpha),i.push(n.flipY),i.push(n.unpackAlignment),i.push(n.colorSpace),i.join());if(l!==t.__cacheKey){void 0===o[l]&&(o[l]={texture:e.createTexture(),usedTimes:0},s.memory.textures++,r=!0),o[l].usedTimes++;let i=o[t.__cacheKey];void 0!==i&&(o[t.__cacheKey].usedTimes--,0===i.usedTimes&&M(n)),t.__cacheKey=l,t.__webglTexture=o[l].texture}return r}function I(t,s,o){let l=e.TEXTURE_2D;(s.isDataArrayTexture||s.isCompressedArrayTexture)&&(l=e.TEXTURE_2D_ARRAY),s.isData3DTexture&&(l=e.TEXTURE_3D);let u=P(t,s),c=s.source;n.bindTexture(l,t.__webglTexture,e.TEXTURE0+o);let h=i.get(c);if(c.version!==h.__version||!0===u){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),d=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),p=""===s.colorSpace||i===d?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,p);let f=m(s.image,!1,r.maxTextureSize);f=V(s,f);let b=a.convert(s.format,s.colorSpace),S=a.convert(s.type),M=_(s.internalFormat,b,S,s.colorSpace,s.isVideoTexture);R(l,s);let T=s.mipmaps,w=!0!==s.isVideoTexture,E=void 0===h.__version||!0===u,A=c.dataReady,C=x(s,f);if(s.isDepthTexture)M=y(1027===s.format,s.type),E&&(w?n.texStorage2D(e.TEXTURE_2D,1,M,f.width,f.height):n.texImage2D(e.TEXTURE_2D,0,M,f.width,f.height,0,b,S,null));else if(s.isDataTexture)if(T.length>0){w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let r=oU(t.width,t.height,s.format,s.type);for(let a of s.layerUpdates){let s=t.data.subarray(a*r/t.data.BYTES_PER_ELEMENT,(a+1)*r/t.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,t.width,t.height,1,b,s)}s.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,t.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,t.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else w?A&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,S,t.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,b,S,t.data)}else{w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let t=oU(f.width,f.height,s.format,s.type);for(let i of s.layerUpdates){let r=f.data.subarray(i*t/f.data.BYTES_PER_ELEMENT,(i+1)*t/f.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,i,f.width,f.height,1,b,S,r)}s.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isData3DTexture)w?(E&&n.texStorage3D(e.TEXTURE_3D,C,M,f.width,f.height,f.depth),A&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)):n.texImage3D(e.TEXTURE_3D,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isFramebufferTexture){if(E)if(w)n.texStorage2D(e.TEXTURE_2D,C,M,f.width,f.height);else{let t=f.width,i=f.height;for(let r=0;r>=1,i>>=1}}else if(T.length>0){if(w&&E){let t=G(T[0]);n.texStorage2D(e.TEXTURE_2D,C,M,t.width,t.height)}for(let i=0,r=T.length;i>c),i=Math.max(1,r.height>>c);u===e.TEXTURE_3D||u===e.TEXTURE_2D_ARRAY?n.texImage3D(u,c,p,t,i,r.depth,0,h,d,null):n.texImage2D(u,c,p,t,i,0,h,d,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,o,u,m.__webglTexture,0,k(r)):(u===e.TEXTURE_2D||u>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&u<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,o,u,m.__webglTexture,c),n.bindFramebuffer(e.FRAMEBUFFER,null)}function O(t,n,i){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let r=n.depthTexture,a=r&&r.isDepthTexture?r.type:null,s=y(n.stencilBuffer,a),o=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=k(n);H(n)?l.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,u,s,n.width,n.height):i?e.renderbufferStorageMultisample(e.RENDERBUFFER,u,s,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,s,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,o,e.RENDERBUFFER,t)}else{let t=n.textures;for(let r=0;r{delete r.__boundDepthTexture,delete r.__depthDisposeCallback,e.removeEventListener("dispose",t)};e.addEventListener("dispose",t),r.__depthDisposeCallback=t}r.__boundDepthTexture=e}if(t.depthTexture&&!r.__autoAllocateDepthBuffer){if(a)throw Error("target.depthTexture not supported in Cube render targets");!function(t,r){if(r&&r.isWebGLCubeRenderTarget)throw Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(e.FRAMEBUFFER,t),!(r.depthTexture&&r.depthTexture.isDepthTexture))throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");let a=i.get(r.depthTexture);a.__renderTarget=r,a.__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),w(r.depthTexture,0);let s=a.__webglTexture,o=k(r);if(1026===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0);else if(1027===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0);else throw Error("Unknown depthTexture format")}(r.__webglFramebuffer,t)}else if(a){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer[i]),void 0===r.__webglDepthbuffer[i])r.__webglDepthbuffer[i]=e.createRenderbuffer(),O(r.__webglDepthbuffer[i],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=r.__webglDepthbuffer[i];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer),void 0===r.__webglDepthbuffer)r.__webglDepthbuffer=e.createRenderbuffer(),O(r.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,i=r.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,i),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,i)}n.bindFramebuffer(e.FRAMEBUFFER,null)}let z=[],B=[];function k(e){return Math.min(r.maxSamples,e.samples)}function H(e){let n=i.get(e);return e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function V(e,t){let n=e.colorSpace,i=e.format,r=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||n!==L&&""!==n&&(eu.getTransfer(n)===U?(1023!==i||1009!==r)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",n)),t}function G(e){return"u">typeof HTMLImageElement&&e instanceof HTMLImageElement?(c.width=e.naturalWidth||e.width,c.height=e.naturalHeight||e.height):"u">typeof VideoFrame&&e instanceof VideoFrame?(c.width=e.displayWidth,c.height=e.displayHeight):(c.width=e.width,c.height=e.height),c}this.allocateTextureUnit=function(){let e=T;return e>=r.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+r.maxTextures),T+=1,e},this.resetTextureUnits=function(){T=0},this.setTexture2D=w,this.setTexture2DArray=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+r)},this.setTexture3D=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+r)},this.setTextureCube=function(t,s){let o=i.get(t);t.version>0&&o.__version!==t.version?function(t,s,o){if(6!==s.image.length)return;let l=P(t,s),u=s.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+o);let c=i.get(u);if(u.version!==c.__version||!0===l){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),h=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),d=""===s.colorSpace||i===h?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let p=s.isCompressedTexture||s.image[0].isCompressedTexture,f=s.image[0]&&s.image[0].isDataTexture,y=[];for(let e=0;e<6;e++)p||f?y[e]=f?s.image[e].image:s.image[e]:y[e]=m(s.image[e],!0,r.maxCubemapSize),y[e]=V(s,y[e]);let b=y[0],S=a.convert(s.format,s.colorSpace),M=a.convert(s.type),T=_(s.internalFormat,S,M,s.colorSpace),w=!0!==s.isVideoTexture,E=void 0===c.__version||!0===l,A=u.dataReady,C=x(s,b);if(R(e.TEXTURE_CUBE_MAP,s),p){w&&E&&n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,b.width,b.height);for(let i=0;i<6;i++){t=y[i].mipmaps;for(let r=0;r0&&C++;let i=G(y[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,i.width,i.height)}for(let i=0;i<6;i++)if(f){w?A&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,0,0,y[i].width,y[i].height,S,M,y[i].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,T,y[i].width,y[i].height,0,S,M,y[i].data);for(let r=0;r1;if(!h&&(void 0===l.__webglTexture&&(l.__webglTexture=e.createTexture()),l.__version=r.version,s.memory.textures++),c){o.__webglFramebuffer=[];for(let t=0;t<6;t++)if(r.mipmaps&&r.mipmaps.length>0){o.__webglFramebuffer[t]=[];for(let n=0;n0){o.__webglFramebuffer=[];for(let t=0;t0&&!1===H(t)){o.__webglMultisampledFramebuffer=e.createFramebuffer(),o.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,o.__webglMultisampledFramebuffer);for(let n=0;n0)for(let i=0;i0)for(let n=0;n0){if(!1===H(t)){let r=t.textures,a=t.width,s=t.height,o=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,c=i.get(t),h=r.length>1;if(h)for(let t=0;t.025?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!l.inputState.pinching&&s<=.015&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==o&&e.gripSpace&&null!==(r=t.getPose(e.gripSpace,n))&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1);null!==s&&(null===(i=t.getPose(e.targetRaySpace,n))&&null!==r&&(i=r),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(uH)))}return null!==s&&(s.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==a),this}_getHandJoint(e,t){if(void 0===e.joints[t.jointName]){let n=new i6;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}}let uG=` -void main() { - - gl_Position = vec4( position, 1.0 ); - -}`,uW=` -uniform sampler2DArray depthColor; -uniform float depthWidth; -uniform float depthHeight; - -void main() { - - vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight ); - - if ( coord.x >= 1.0 ) { - - gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r; - - } else { - - gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r; - - } - -}`;class uj{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t,n){if(null===this.texture){let i=new ev;e.properties.get(i).__webglTexture=t.texture,(t.depthNear!=n.depthNear||t.depthFar!=n.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=i}}getMesh(e){if(null!==this.texture&&null===this.mesh){let t=e.cameras[0].viewport,n=new nb({vertexShader:uG,fragmentShader:uW,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new nf(new r9(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class uX extends O{constructor(e,t){super();const n=this;let i=null,r=1,a=null,s="local-floor",o=1,l=null,u=null,c=null,h=null,d=null,p=null;const f=new uj,m=t.getContextAttributes();let g=null,v=null;const _=[],y=[],x=new Y;let b=null;const S=new nE;S.viewport=new e_;const M=new nE;M.viewport=new e_;const T=[S,M],w=new sT;let E=null,A=null;function C(e){let t=y.indexOf(e.inputSource);if(-1===t)return;let n=_[t];void 0!==n&&(n.update(e.inputSource,e.frame,l||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function R(){i.removeEventListener("select",C),i.removeEventListener("selectstart",C),i.removeEventListener("selectend",C),i.removeEventListener("squeeze",C),i.removeEventListener("squeezestart",C),i.removeEventListener("squeezeend",C),i.removeEventListener("end",R),i.removeEventListener("inputsourceschange",P);for(let e=0;e<_.length;e++){let t=y[e];null!==t&&(y[e]=null,_[e].disconnect(t))}E=null,A=null,f.reset(),e.setRenderTarget(g),d=null,h=null,c=null,i=null,v=null,D.stop(),n.isPresenting=!1,e.setPixelRatio(b),e.setSize(x.width,x.height,!1),n.dispatchEvent({type:"sessionend"})}function P(e){for(let t=0;t=0&&(y[i]=null,_[i].disconnect(n))}for(let t=0;t=y.length){y.push(n),i=e;break}else if(null===y[e]){y[e]=n,i=e;break}if(-1===i)break}let r=_[i];r&&r.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getGripSpace()},this.getHand=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){r=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){s=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||a},this.setReferenceSpace=function(e){l=e},this.getBaseLayer=function(){return null!==h?h:d},this.getBinding=function(){return c},this.getFrame=function(){return p},this.getSession=function(){return i},this.setSession=async function(u){if(null!==(i=u)){if(g=e.getRenderTarget(),i.addEventListener("select",C),i.addEventListener("selectstart",C),i.addEventListener("selectend",C),i.addEventListener("squeeze",C),i.addEventListener("squeezestart",C),i.addEventListener("squeezeend",C),i.addEventListener("end",R),i.addEventListener("inputsourceschange",P),!0!==m.xrCompatible&&await t.makeXRCompatible(),b=e.getPixelRatio(),e.getSize(x),void 0===i.renderState.layers){let n={antialias:m.antialias,alpha:!0,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,t,n),i.updateRenderState({baseLayer:d}),e.setPixelRatio(1),e.setSize(d.framebufferWidth,d.framebufferHeight,!1),v=new ex(d.framebufferWidth,d.framebufferHeight,{format:1023,type:1009,colorSpace:e.outputColorSpace,stencilBuffer:m.stencil})}else{let n=null,a=null,s=null;m.depth&&(s=m.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=m.stencil?1027:1026,a=m.stencil?1020:1014);let o={colorFormat:t.RGBA8,depthFormat:s,scaleFactor:r};h=(c=new XRWebGLBinding(i,t)).createProjectionLayer(o),i.updateRenderState({layers:[h]}),e.setPixelRatio(1),e.setSize(h.textureWidth,h.textureHeight,!1),v=new ex(h.textureWidth,h.textureHeight,{format:1023,type:1009,depthTexture:new ri(h.textureWidth,h.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,colorSpace:e.outputColorSpace,samples:4*!!m.antialias,resolveDepthBuffer:!1===h.ignoreDepthValues})}v.isXRRenderTarget=!0,this.setFoveation(o),l=null,a=await i.requestReferenceSpace(s),D.setContext(i),D.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(null!==i)return i.environmentBlendMode},this.getDepthTexture=function(){return f.getDepthTexture()};const I=new eE,L=new eE;function N(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){var t,n,r;if(null===i)return;let a=e.near,s=e.far;null!==f.texture&&(f.depthNear>0&&(a=f.depthNear),f.depthFar>0&&(s=f.depthFar)),w.near=M.near=S.near=a,w.far=M.far=S.far=s,(E!==w.near||A!==w.far)&&(i.updateRenderState({depthNear:w.near,depthFar:w.far}),E=w.near,A=w.far),S.layers.mask=2|e.layers.mask,M.layers.mask=4|e.layers.mask,w.layers.mask=S.layers.mask|M.layers.mask;let o=e.parent,l=w.cameras;N(w,o);for(let e=0;e0&&(e.alphaTest.value=i.alphaTest);let r=t.get(i),a=r.envMap,s=r.envMapRotation;a&&(e.envMap.value=a,uq.copy(s),uq.x*=-1,uq.y*=-1,uq.z*=-1,a.isCubeTexture&&!1===a.isRenderTargetTexture&&(uq.y*=-1,uq.z*=-1),e.envMapRotation.value.setFromMatrix4(uY.makeRotationFromEuler(uq)),e.flipEnvMap.value=a.isCubeTexture&&!1===a.isRenderTargetTexture?-1:1,e.reflectivity.value=i.reflectivity,e.ior.value=i.ior,e.refractionRatio.value=i.refractionRatio),i.lightMap&&(e.lightMap.value=i.lightMap,e.lightMapIntensity.value=i.lightMapIntensity,n(i.lightMap,e.lightMapTransform)),i.aoMap&&(e.aoMap.value=i.aoMap,e.aoMapIntensity.value=i.aoMapIntensity,n(i.aoMap,e.aoMapTransform))}return{refreshFogUniforms:function(t,n){n.color.getRGB(t.fogColor.value,ny(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)},refreshMaterialUniforms:function(e,r,a,s,o){var l,u,c,h,d,p,f,m,g,v,_,y,x,b,S,M,T,w,E,A,C,R,P;let I;r.isMeshBasicMaterial||r.isMeshLambertMaterial?i(e,r):r.isMeshToonMaterial?(i(e,r),l=e,(u=r).gradientMap&&(l.gradientMap.value=u.gradientMap)):r.isMeshPhongMaterial?(i(e,r),c=e,h=r,c.specular.value.copy(h.specular),c.shininess.value=Math.max(h.shininess,1e-4)):r.isMeshStandardMaterial?(i(e,r),d=e,p=r,d.metalness.value=p.metalness,p.metalnessMap&&(d.metalnessMap.value=p.metalnessMap,n(p.metalnessMap,d.metalnessMapTransform)),d.roughness.value=p.roughness,p.roughnessMap&&(d.roughnessMap.value=p.roughnessMap,n(p.roughnessMap,d.roughnessMapTransform)),p.envMap&&(d.envMapIntensity.value=p.envMapIntensity),r.isMeshPhysicalMaterial&&(f=e,m=r,g=o,f.ior.value=m.ior,m.sheen>0&&(f.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),f.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(f.sheenColorMap.value=m.sheenColorMap,n(m.sheenColorMap,f.sheenColorMapTransform)),m.sheenRoughnessMap&&(f.sheenRoughnessMap.value=m.sheenRoughnessMap,n(m.sheenRoughnessMap,f.sheenRoughnessMapTransform))),m.clearcoat>0&&(f.clearcoat.value=m.clearcoat,f.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(f.clearcoatMap.value=m.clearcoatMap,n(m.clearcoatMap,f.clearcoatMapTransform)),m.clearcoatRoughnessMap&&(f.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap,n(m.clearcoatRoughnessMap,f.clearcoatRoughnessMapTransform)),m.clearcoatNormalMap&&(f.clearcoatNormalMap.value=m.clearcoatNormalMap,n(m.clearcoatNormalMap,f.clearcoatNormalMapTransform),f.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),1===m.side&&f.clearcoatNormalScale.value.negate())),m.dispersion>0&&(f.dispersion.value=m.dispersion),m.iridescence>0&&(f.iridescence.value=m.iridescence,f.iridescenceIOR.value=m.iridescenceIOR,f.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],f.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(f.iridescenceMap.value=m.iridescenceMap,n(m.iridescenceMap,f.iridescenceMapTransform)),m.iridescenceThicknessMap&&(f.iridescenceThicknessMap.value=m.iridescenceThicknessMap,n(m.iridescenceThicknessMap,f.iridescenceThicknessMapTransform))),m.transmission>0&&(f.transmission.value=m.transmission,f.transmissionSamplerMap.value=g.texture,f.transmissionSamplerSize.value.set(g.width,g.height),m.transmissionMap&&(f.transmissionMap.value=m.transmissionMap,n(m.transmissionMap,f.transmissionMapTransform)),f.thickness.value=m.thickness,m.thicknessMap&&(f.thicknessMap.value=m.thicknessMap,n(m.thicknessMap,f.thicknessMapTransform)),f.attenuationDistance.value=m.attenuationDistance,f.attenuationColor.value.copy(m.attenuationColor)),m.anisotropy>0&&(f.anisotropyVector.value.set(m.anisotropy*Math.cos(m.anisotropyRotation),m.anisotropy*Math.sin(m.anisotropyRotation)),m.anisotropyMap&&(f.anisotropyMap.value=m.anisotropyMap,n(m.anisotropyMap,f.anisotropyMapTransform))),f.specularIntensity.value=m.specularIntensity,f.specularColor.value.copy(m.specularColor),m.specularColorMap&&(f.specularColorMap.value=m.specularColorMap,n(m.specularColorMap,f.specularColorMapTransform)),m.specularIntensityMap&&(f.specularIntensityMap.value=m.specularIntensityMap,n(m.specularIntensityMap,f.specularIntensityMapTransform)))):r.isMeshMatcapMaterial?(i(e,r),v=e,(_=r).matcap&&(v.matcap.value=_.matcap)):r.isMeshDepthMaterial?i(e,r):r.isMeshDistanceMaterial?(i(e,r),y=e,x=r,I=t.get(x).light,y.referencePosition.value.setFromMatrixPosition(I.matrixWorld),y.nearDistance.value=I.shadow.camera.near,y.farDistance.value=I.shadow.camera.far):r.isMeshNormalMaterial?i(e,r):r.isLineBasicMaterial?(b=e,S=r,b.diffuse.value.copy(S.color),b.opacity.value=S.opacity,S.map&&(b.map.value=S.map,n(S.map,b.mapTransform)),r.isLineDashedMaterial&&(M=e,T=r,M.dashSize.value=T.dashSize,M.totalSize.value=T.dashSize+T.gapSize,M.scale.value=T.scale)):r.isPointsMaterial?(w=e,E=r,A=a,C=s,w.diffuse.value.copy(E.color),w.opacity.value=E.opacity,w.size.value=E.size*A,w.scale.value=.5*C,E.map&&(w.map.value=E.map,n(E.map,w.uvTransform)),E.alphaMap&&(w.alphaMap.value=E.alphaMap,n(E.alphaMap,w.alphaMapTransform)),E.alphaTest>0&&(w.alphaTest.value=E.alphaTest)):r.isSpriteMaterial?(R=e,P=r,R.diffuse.value.copy(P.color),R.opacity.value=P.opacity,R.rotation.value=P.rotation,P.map&&(R.map.value=P.map,n(P.map,R.mapTransform)),P.alphaMap&&(R.alphaMap.value=P.alphaMap,n(P.alphaMap,R.alphaMapTransform)),P.alphaTest>0&&(R.alphaTest.value=P.alphaTest)):r.isShadowMaterial?(e.color.value.copy(r.color),e.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function uJ(e,t,n,i){let r={},a={},s=[],o=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function l(e){let t={boundary:0,storage:0};return"number"==typeof e||"boolean"==typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function u(t){let n=t.target;n.removeEventListener("dispose",u);let i=s.indexOf(n.__bindingPointIndex);s.splice(i,1),e.deleteBuffer(r[n.id]),delete r[n.id],delete a[n.id]}return{bind:function(e,t){let n=t.program;i.uniformBlockBinding(e,n)},update:function(n,c){var h;let d,p,f,m,g=r[n.id];void 0===g&&(function(e){let t=e.uniforms,n=0;for(let e=0,i=t.length;e0&&(n+=16-i),e.__size=n,e.__cache={}}(n),(h=n).__bindingPointIndex=d=function(){for(let e=0;etypeof WebGLRenderingContext&&A instanceof WebGLRenderingContext)throw Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");t=A.getContextAttributes().alpha}else t=P;const B=new Uint32Array(4),k=new Int32Array(4);let H=null,V=null;const G=[],W=[];this.domElement=E,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=I,this.toneMapping=0,this.toneMappingExposure=1;const j=this;let X=!1,q=0,Y=0,Z=null,J=-1,K=null;const $=new e_,Q=new e_;let ee=null;const en=new tz(0);let eo=0,el=E.width,ec=E.height,eh=1,ed=null,ep=null;const ef=new e_(0,0,el,ec),em=new e_(0,0,el,ec);let eg=!1;const ev=new iS;let ey=!1,eb=!1;const eS=new e2,eM=new e2,eT=new eE,ew=new e_,eA={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let eC=!1;function eR(){return null===Z?eh:1}let eP=A;function eI(e,t){return E.getContext(e,t)}try{if("setAttribute"in E&&E.setAttribute("data-engine","three.js r171"),E.addEventListener("webglcontextlost",eU,!1),E.addEventListener("webglcontextrestored",eD,!1),E.addEventListener("webglcontextcreationerror",eO,!1),null===eP){const e="webgl2";if(eP=eI(e,{alpha:!0,depth:C,stencil:R,antialias:N,premultipliedAlpha:U,preserveDrawingBuffer:D,powerPreference:O,failIfMajorPerformanceCaveat:F}),null===eP)if(eI(e))throw Error("Error creating WebGL context with your selected attributes.");else throw Error("Error creating WebGL context.")}}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function eL(){(n=new lr(eP)).init(),M=new uk(eP,n),i=new oY(eP,n,e,M),r=new uz(eP,n),i.reverseDepthBuffer&&z&&r.buffers.depth.setReversed(!0),a=new lo(eP),s=new uw,o=new uB(eP,n,r,s,i,M,a),l=new oJ(j),u=new li(j),c=new oz(eP),T=new oX(eP,c),h=new la(eP,c,a,T),d=new lu(eP,h,c,a),x=new ll(eP,i,o),v=new oZ(s),p=new uT(j,l,u,n,i,T,v),f=new uZ(j,s),m=new uR,g=new uD(n),y=new oj(j,l,u,r,d,t,U),_=new uO(j,d,i),w=new uJ(eP,a,i,r),b=new oq(eP,n,a),S=new ls(eP,n,a),a.programs=p.programs,j.capabilities=i,j.extensions=n,j.properties=s,j.renderLists=m,j.shadowMap=_,j.state=r,j.info=a}eL();const eN=new uX(j,eP);function eU(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),X=!0}function eD(){console.log("THREE.WebGLRenderer: Context Restored."),X=!1;let e=a.autoReset,t=_.enabled,n=_.autoUpdate,i=_.needsUpdate,r=_.type;eL(),a.autoReset=e,_.enabled=t,_.autoUpdate=n,_.needsUpdate=i,_.type=r}function eO(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function eF(e){var t,n;let i,r=e.target;r.removeEventListener("dispose",eF),n=t=r,void 0!==(i=s.get(n).programs)&&(i.forEach(function(e){p.releaseProgram(e)}),n.isShaderMaterial&&p.releaseShaderCache(n)),s.remove(t)}function ez(e,t,n){!0===e.transparent&&2===e.side&&!1===e.forceSinglePass?(e.side=1,e.needsUpdate=!0,eY(e,t,n),e.side=0,e.needsUpdate=!0,eY(e,t,n),e.side=2):eY(e,t,n)}this.xr=eN,this.getContext=function(){return eP},this.getContextAttributes=function(){return eP.getContextAttributes()},this.forceContextLoss=function(){let e=n.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){let e=n.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return eh},this.setPixelRatio=function(e){void 0!==e&&(eh=e,this.setSize(el,ec,!1))},this.getSize=function(e){return e.set(el,ec)},this.setSize=function(e,t,n=!0){eN.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(el=e,ec=t,E.width=Math.floor(e*eh),E.height=Math.floor(t*eh),!0===n&&(E.style.width=e+"px",E.style.height=t+"px"),this.setViewport(0,0,e,t))},this.getDrawingBufferSize=function(e){return e.set(el*eh,ec*eh).floor()},this.setDrawingBufferSize=function(e,t,n){el=e,ec=t,eh=n,E.width=Math.floor(e*n),E.height=Math.floor(t*n),this.setViewport(0,0,e,t)},this.getCurrentViewport=function(e){return e.copy($)},this.getViewport=function(e){return e.copy(ef)},this.setViewport=function(e,t,n,i){e.isVector4?ef.set(e.x,e.y,e.z,e.w):ef.set(e,t,n,i),r.viewport($.copy(ef).multiplyScalar(eh).round())},this.getScissor=function(e){return e.copy(em)},this.setScissor=function(e,t,n,i){e.isVector4?em.set(e.x,e.y,e.z,e.w):em.set(e,t,n,i),r.scissor(Q.copy(em).multiplyScalar(eh).round())},this.getScissorTest=function(){return eg},this.setScissorTest=function(e){r.setScissorTest(eg=e)},this.setOpaqueSort=function(e){ed=e},this.setTransparentSort=function(e){ep=e},this.getClearColor=function(e){return e.copy(y.getClearColor())},this.setClearColor=function(){y.setClearColor.apply(y,arguments)},this.getClearAlpha=function(){return y.getClearAlpha()},this.setClearAlpha=function(){y.setClearAlpha.apply(y,arguments)},this.clear=function(e=!0,t=!0,n=!0){let i=0;if(e){let e=!1;if(null!==Z){let t=Z.texture.format;e=1033===t||1031===t||1029===t}if(e){let e=Z.texture.type,t=1009===e||1014===e||1012===e||1020===e||1017===e||1018===e,n=y.getClearColor(),i=y.getClearAlpha(),r=n.r,a=n.g,s=n.b;t?(B[0]=r,B[1]=a,B[2]=s,B[3]=i,eP.clearBufferuiv(eP.COLOR,0,B)):(k[0]=r,k[1]=a,k[2]=s,k[3]=i,eP.clearBufferiv(eP.COLOR,0,k))}else i|=eP.COLOR_BUFFER_BIT}t&&(i|=eP.DEPTH_BUFFER_BIT),n&&(i|=eP.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(0xffffffff)),eP.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){E.removeEventListener("webglcontextlost",eU,!1),E.removeEventListener("webglcontextrestored",eD,!1),E.removeEventListener("webglcontextcreationerror",eO,!1),y.dispose(),m.dispose(),g.dispose(),s.dispose(),l.dispose(),u.dispose(),d.dispose(),T.dispose(),w.dispose(),p.dispose(),eN.dispose(),eN.removeEventListener("sessionstart",ek),eN.removeEventListener("sessionend",eH),eV.stop()},this.renderBufferDirect=function(e,t,a,d,p,m){let g;null===t&&(t=eA);let _=p.isMesh&&0>p.matrixWorld.determinant(),y=function(e,t,n,a,c){var h,d;!0!==t.isScene&&(t=eA),o.resetTextureUnits();let p=t.fog,m=a.isMeshStandardMaterial?t.environment:null,g=null===Z?j.outputColorSpace:!0===Z.isXRRenderTarget?Z.texture.colorSpace:L,_=(a.isMeshStandardMaterial?u:l).get(a.envMap||m),y=!0===a.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,b=!!n.attributes.tangent&&(!!a.normalMap||a.anisotropy>0),S=!!n.morphAttributes.position,M=!!n.morphAttributes.normal,T=!!n.morphAttributes.color,E=0;a.toneMapped&&(null===Z||!0===Z.isXRRenderTarget)&&(E=j.toneMapping);let A=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,C=void 0!==A?A.length:0,R=s.get(a),P=V.state.lights;if(!0===ey&&(!0===eb||e!==K)){let t=e===K&&a.id===J;v.setState(a,e,t)}let I=!1;a.version===R.__version?R.needsLights&&R.lightsStateVersion!==P.state.version||R.outputColorSpace!==g||c.isBatchedMesh&&!1===R.batching?I=!0:c.isBatchedMesh||!0!==R.batching?c.isBatchedMesh&&!0===R.batchingColor&&null===c.colorTexture||c.isBatchedMesh&&!1===R.batchingColor&&null!==c.colorTexture||c.isInstancedMesh&&!1===R.instancing?I=!0:c.isInstancedMesh||!0!==R.instancing?c.isSkinnedMesh&&!1===R.skinning?I=!0:c.isSkinnedMesh||!0!==R.skinning?c.isInstancedMesh&&!0===R.instancingColor&&null===c.instanceColor||c.isInstancedMesh&&!1===R.instancingColor&&null!==c.instanceColor||c.isInstancedMesh&&!0===R.instancingMorph&&null===c.morphTexture||c.isInstancedMesh&&!1===R.instancingMorph&&null!==c.morphTexture||R.envMap!==_||!0===a.fog&&R.fog!==p||void 0!==R.numClippingPlanes&&(R.numClippingPlanes!==v.numPlanes||R.numIntersection!==v.numIntersection)||R.vertexAlphas!==y||R.vertexTangents!==b||R.morphTargets!==S||R.morphNormals!==M||R.morphColors!==T||R.toneMapping!==E?I=!0:R.morphTargetsCount!==C&&(I=!0):I=!0:I=!0:I=!0:(I=!0,R.__version=a.version);let N=R.currentProgram;!0===I&&(N=eY(a,t,c));let U=!1,D=!1,O=!1,F=N.getUniforms(),z=R.uniforms;if(r.useProgram(N.program)&&(U=!0,D=!0,O=!0),a.id!==J&&(J=a.id,D=!0),U||K!==e){r.buffers.depth.getReversed()?(eS.copy(e.projectionMatrix),ea(eS),es(eS),F.setValue(eP,"projectionMatrix",eS)):F.setValue(eP,"projectionMatrix",e.projectionMatrix),F.setValue(eP,"viewMatrix",e.matrixWorldInverse);let t=F.map.cameraPosition;void 0!==t&&t.setValue(eP,eT.setFromMatrixPosition(e.matrixWorld)),i.logarithmicDepthBuffer&&F.setValue(eP,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),(a.isMeshPhongMaterial||a.isMeshToonMaterial||a.isMeshLambertMaterial||a.isMeshBasicMaterial||a.isMeshStandardMaterial||a.isShaderMaterial)&&F.setValue(eP,"isOrthographic",!0===e.isOrthographicCamera),K!==e&&(K=e,D=!0,O=!0)}if(c.isSkinnedMesh){F.setOptional(eP,c,"bindMatrix"),F.setOptional(eP,c,"bindMatrixInverse");let e=c.skeleton;e&&(null===e.boneTexture&&e.computeBoneTexture(),F.setValue(eP,"boneTexture",e.boneTexture,o))}c.isBatchedMesh&&(F.setOptional(eP,c,"batchingTexture"),F.setValue(eP,"batchingTexture",c._matricesTexture,o),F.setOptional(eP,c,"batchingIdTexture"),F.setValue(eP,"batchingIdTexture",c._indirectTexture,o),F.setOptional(eP,c,"batchingColorTexture"),null!==c._colorsTexture&&F.setValue(eP,"batchingColorTexture",c._colorsTexture,o));let B=n.morphAttributes;if((void 0!==B.position||void 0!==B.normal||void 0!==B.color)&&x.update(c,n,N),(D||R.receiveShadow!==c.receiveShadow)&&(R.receiveShadow=c.receiveShadow,F.setValue(eP,"receiveShadow",c.receiveShadow)),a.isMeshGouraudMaterial&&null!==a.envMap&&(z.envMap.value=_,z.flipEnvMap.value=_.isCubeTexture&&!1===_.isRenderTargetTexture?-1:1),a.isMeshStandardMaterial&&null===a.envMap&&null!==t.environment&&(z.envMapIntensity.value=t.environmentIntensity),D&&(F.setValue(eP,"toneMappingExposure",j.toneMappingExposure),R.needsLights&&(h=z,d=O,h.ambientLightColor.needsUpdate=d,h.lightProbe.needsUpdate=d,h.directionalLights.needsUpdate=d,h.directionalLightShadows.needsUpdate=d,h.pointLights.needsUpdate=d,h.pointLightShadows.needsUpdate=d,h.spotLights.needsUpdate=d,h.spotLightShadows.needsUpdate=d,h.rectAreaLights.needsUpdate=d,h.hemisphereLights.needsUpdate=d),p&&!0===a.fog&&f.refreshFogUniforms(z,p),f.refreshMaterialUniforms(z,a,eh,ec,V.state.transmissionRenderTarget[e.id]),ui.upload(eP,eZ(R),z,o)),a.isShaderMaterial&&!0===a.uniformsNeedUpdate&&(ui.upload(eP,eZ(R),z,o),a.uniformsNeedUpdate=!1),a.isSpriteMaterial&&F.setValue(eP,"center",c.center),F.setValue(eP,"modelViewMatrix",c.modelViewMatrix),F.setValue(eP,"normalMatrix",c.normalMatrix),F.setValue(eP,"modelMatrix",c.matrixWorld),a.isShaderMaterial||a.isRawShaderMaterial){let e=a.uniformsGroups;for(let t=0,n=e.length;t{function i(){(r.forEach(function(e){s.get(e).currentProgram.isReady()&&r.delete(e)}),0===r.size)?t(e):setTimeout(i,10)}null!==n.get("KHR_parallel_shader_compile")?i():setTimeout(i,10)})};let eB=null;function ek(){eV.stop()}function eH(){eV.start()}const eV=new oF;function eG(e,t,n,i){if(!1===e.visible)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)V.pushLight(e),e.castShadow&&V.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ev.intersectsSprite(e)){i&&ew.setFromMatrixPosition(e.matrixWorld).applyMatrix4(eM);let t=d.update(e),r=e.material;r.visible&&H.push(e,t,r,n,ew.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ev.intersectsObject(e))){let t=d.update(e),r=e.material;if(i&&(void 0!==e.boundingSphere?(null===e.boundingSphere&&e.computeBoundingSphere(),ew.copy(e.boundingSphere.center)):(null===t.boundingSphere&&t.computeBoundingSphere(),ew.copy(t.boundingSphere.center)),ew.applyMatrix4(e.matrixWorld).applyMatrix4(eM)),Array.isArray(r)){let i=t.groups;for(let a=0,s=i.length;a0&&eX(a,t,n),s.length>0&&eX(s,t,n),o.length>0&&eX(o,t,n),r.buffers.depth.setTest(!0),r.buffers.depth.setMask(!0),r.buffers.color.setMask(!0),r.setPolygonOffset(!1)}function ej(e,t,i,r){if(null!==(!0===i.isScene?i.overrideMaterial:null))return;void 0===V.state.transmissionRenderTarget[r.id]&&(V.state.transmissionRenderTarget[r.id]=new ex(1,1,{generateMipmaps:!0,type:n.has("EXT_color_buffer_half_float")||n.has("EXT_color_buffer_float")?1016:1009,minFilter:1008,samples:4,stencilBuffer:R,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:eu.workingColorSpace}));let a=V.state.transmissionRenderTarget[r.id],s=r.viewport||$;a.setSize(s.z,s.w);let l=j.getRenderTarget();j.setRenderTarget(a),j.getClearColor(en),(eo=j.getClearAlpha())<1&&j.setClearColor(0xffffff,.5),j.clear(),eC&&y.render(i);let u=j.toneMapping;j.toneMapping=0;let c=r.viewport;if(void 0!==r.viewport&&(r.viewport=void 0),V.setupLightsView(r),!0===ey&&v.setGlobalState(j.clippingPlanes,r),eX(e,i,r),o.updateMultisampleRenderTarget(a),o.updateRenderTargetMipmap(a),!1===n.has("WEBGL_multisampled_render_to_texture")){let e=!1;for(let n=0,a=t.length;ntypeof self&&eV.setContext(self),this.setAnimationLoop=function(e){eB=e,eN.setAnimationLoop(e),null===e?eV.stop():eV.start()},eN.addEventListener("sessionstart",ek),eN.addEventListener("sessionend",eH),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===X)return;if(!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===eN.enabled&&!0===eN.isPresenting&&(!0===eN.cameraAutoUpdate&&eN.updateCamera(t),t=eN.getCamera()),!0===e.isScene&&e.onBeforeRender(j,e,t,Z),(V=g.get(e,W.length)).init(t),W.push(V),eM.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ev.setFromProjectionMatrix(eM),eb=this.localClippingEnabled,ey=v.init(this.clippingPlanes,eb),(H=m.get(e,G.length)).init(),G.push(H),!0===eN.enabled&&!0===eN.isPresenting){let e=j.xr.getDepthSensingMesh();null!==e&&eG(e,t,-1/0,j.sortObjects)}eG(e,t,0,j.sortObjects),H.finish(),!0===j.sortObjects&&H.sort(ed,ep),(eC=!1===eN.enabled||!1===eN.isPresenting||!1===eN.hasDepthSensing())&&y.addToRenderList(H,e),this.info.render.frame++,!0===ey&&v.beginShadows();let n=V.state.shadowsArray;_.render(n,e,t),!0===ey&&v.endShadows(),!0===this.info.autoReset&&this.info.reset();let i=H.opaque,r=H.transmissive;if(V.setupLights(),t.isArrayCamera){let n=t.cameras;if(r.length>0)for(let t=0,a=n.length;t0&&ej(i,r,e,t),eC&&y.render(e),eW(H,e,t);null!==Z&&(o.updateMultisampleRenderTarget(Z),o.updateRenderTargetMipmap(Z)),!0===e.isScene&&e.onAfterRender(j,e,t),T.resetDefaultState(),J=-1,K=null,W.pop(),W.length>0?(V=W[W.length-1],!0===ey&&v.setGlobalState(j.clippingPlanes,V.state.camera)):V=null,G.pop(),H=G.length>0?G[G.length-1]:null},this.getActiveCubeFace=function(){return q},this.getActiveMipmapLevel=function(){return Y},this.getRenderTarget=function(){return Z},this.setRenderTargetTextures=function(e,t,i){s.get(e.texture).__webglTexture=t,s.get(e.depthTexture).__webglTexture=i;let r=s.get(e);r.__hasExternalTextures=!0,r.__autoAllocateDepthBuffer=void 0===i,r.__autoAllocateDepthBuffer||!0!==n.has("WEBGL_multisampled_render_to_texture")||(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),r.__useRenderToTexture=!1)},this.setRenderTargetFramebuffer=function(e,t){let n=s.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e,t=0,n=0){Z=e,q=t,Y=n;let i=!0,a=null,l=!1,u=!1;if(e){let c=s.get(e);if(void 0!==c.__useDefaultFramebuffer)r.bindFramebuffer(eP.FRAMEBUFFER,null),i=!1;else if(void 0===c.__webglFramebuffer)o.setupRenderTarget(e);else if(c.__hasExternalTextures)o.rebindTextures(e,s.get(e.texture).__webglTexture,s.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){let t=e.depthTexture;if(c.__boundDepthTexture!==t){if(null!==t&&s.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");o.setupDepthRenderbuffer(e)}}let h=e.texture;(h.isData3DTexture||h.isDataArrayTexture||h.isCompressedArrayTexture)&&(u=!0);let d=s.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(a=Array.isArray(d[t])?d[t][n]:d[t],l=!0):a=e.samples>0&&!1===o.useMultisampledRTT(e)?s.get(e).__webglMultisampledFramebuffer:Array.isArray(d)?d[n]:d,$.copy(e.viewport),Q.copy(e.scissor),ee=e.scissorTest}else $.copy(ef).multiplyScalar(eh).floor(),Q.copy(em).multiplyScalar(eh).floor(),ee=eg;if(r.bindFramebuffer(eP.FRAMEBUFFER,a)&&i&&r.drawBuffers(e,a),r.viewport($),r.scissor(Q),r.setScissorTest(ee),l){let i=s.get(e.texture);eP.framebufferTexture2D(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,eP.TEXTURE_CUBE_MAP_POSITIVE_X+t,i.__webglTexture,n)}else if(u){let i=s.get(e.texture);eP.framebufferTextureLayer(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,i.__webglTexture,n||0,t||0)}J=-1},this.readRenderTargetPixels=function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){r.bindFramebuffer(eP.FRAMEBUFFER,c);try{let r=e.texture,s=r.format,u=r.type;if(!i.textureFormatReadable(s))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(u))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o&&eP.readPixels(t,n,a,o,M.convert(s),M.convert(u),l)}finally{let e=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))throw Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){let u=e.texture,h=u.format,d=u.type;if(!i.textureFormatReadable(h))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(d))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o){r.bindFramebuffer(eP.FRAMEBUFFER,c);let e=eP.createBuffer();eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.bufferData(eP.PIXEL_PACK_BUFFER,l.byteLength,eP.STREAM_READ),eP.readPixels(t,n,a,o,M.convert(h),M.convert(d),0);let i=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,i);let u=eP.fenceSync(eP.SYNC_GPU_COMMANDS_COMPLETE,0);return eP.flush(),await er(eP,u,4),eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.getBufferSubData(eP.PIXEL_PACK_BUFFER,0,l),eP.deleteBuffer(e),eP.deleteSync(u),l}throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(e,t=null,n=0){!0!==e.isTexture&&(ei("WebGLRenderer: copyFramebufferToTexture function signature has changed."),t=arguments[0]||null,e=arguments[1]);let i=Math.pow(2,-n),a=Math.floor(e.image.width*i),s=Math.floor(e.image.height*i),l=null!==t?t.x:0,u=null!==t?t.y:0;o.setTexture2D(e,0),eP.copyTexSubImage2D(eP.TEXTURE_2D,n,0,0,l,u,a,s),r.unbindTexture()};const eK=eP.createFramebuffer(),e$=eP.createFramebuffer();this.copyTextureToTexture=function(e,t,n=null,i=null,a=0,l=null){let u,c,h,d,p,f,m,g,v,_;!0!==e.isTexture&&(ei("WebGLRenderer: copyTextureToTexture function signature has changed."),i=arguments[0]||null,e=arguments[1],t=arguments[2],l=arguments[3]||0,n=null),null===l&&(0!==a?(ei("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),l=a,a=0):l=0);let y=e.isCompressedTexture?e.mipmaps[l]:e.image;if(null!==n)u=n.max.x-n.min.x,c=n.max.y-n.min.y,h=n.isBox3?n.max.z-n.min.z:1,d=n.min.x,p=n.min.y,f=n.isBox3?n.min.z:0;else{let t=Math.pow(2,-a);u=Math.floor(y.width*t),c=Math.floor(y.height*t),h=e.isDataArrayTexture?y.depth:e.isData3DTexture?Math.floor(y.depth*t):1,d=0,p=0,f=0}null!==i?(m=i.x,g=i.y,v=i.z):(m=0,g=0,v=0);let x=M.convert(t.format),b=M.convert(t.type);t.isData3DTexture?(o.setTexture3D(t,0),_=eP.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(o.setTexture2DArray(t,0),_=eP.TEXTURE_2D_ARRAY):(o.setTexture2D(t,0),_=eP.TEXTURE_2D),eP.pixelStorei(eP.UNPACK_FLIP_Y_WEBGL,t.flipY),eP.pixelStorei(eP.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),eP.pixelStorei(eP.UNPACK_ALIGNMENT,t.unpackAlignment);let S=eP.getParameter(eP.UNPACK_ROW_LENGTH),T=eP.getParameter(eP.UNPACK_IMAGE_HEIGHT),w=eP.getParameter(eP.UNPACK_SKIP_PIXELS),E=eP.getParameter(eP.UNPACK_SKIP_ROWS),A=eP.getParameter(eP.UNPACK_SKIP_IMAGES);eP.pixelStorei(eP.UNPACK_ROW_LENGTH,y.width),eP.pixelStorei(eP.UNPACK_IMAGE_HEIGHT,y.height),eP.pixelStorei(eP.UNPACK_SKIP_PIXELS,d),eP.pixelStorei(eP.UNPACK_SKIP_ROWS,p),eP.pixelStorei(eP.UNPACK_SKIP_IMAGES,f);let C=e.isDataArrayTexture||e.isData3DTexture,R=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=s.get(e),i=s.get(t),o=s.get(n.__renderTarget),_=s.get(i.__renderTarget);r.bindFramebuffer(eP.READ_FRAMEBUFFER,o.__webglFramebuffer),r.bindFramebuffer(eP.DRAW_FRAMEBUFFER,_.__webglFramebuffer);for(let n=0;ntypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return 2e3}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;let t=this.getContext();t.drawingBufferColorspace=eu._getDrawingBufferColorSpace(e),t.unpackColorSpace=eu._getUnpackColorSpace()}}e.s(["PMREMGenerator",0,o8,"ShaderChunk",0,oB,"ShaderLib",0,oH,"UniformsLib",0,ok,"WebGLRenderer",0,uK,"WebGLUtils",0,uk],8560);var u$=e.i(30224);let uQ=e=>{let t,n=new Set,i=(e,i)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=i?i:"object"!=typeof r||null===r)?r:Object.assign({},t,r),n.forEach(n=>n(t,e))}},r=()=>t,a={setState:i,getState:r,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(i,r,a);return a},u0=e=>e?uQ(e):uQ;e.s(["createStore",0,u0],8155);let{useSyncExternalStoreWithSelector:u1}=u$.default,u2=(e,t)=>{let n=u0(e),i=(e,i=t)=>(function(e,t=e=>e,n){let i=u1(e.subscribe,e.getState,e.getInitialState,t,n);return E.default.useDebugValue(i),i})(n,e,i);return Object.assign(i,n),i},u3=(e,t)=>e?u2(e,t):u2,u4=[];function u5(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;let i=e.length;if(t.length!==i)return!1;for(let r=0;r0&&(r.timeout&&clearTimeout(r.timeout),r.timeout=setTimeout(r.remove,i.lifespan)),r.response;if(!n)throw r.promise}let r={keys:t,equal:i.equal,remove:()=>{let e=u4.indexOf(r);-1!==e&&u4.splice(e,1)},promise:("object"==typeof e&&"function"==typeof e.then?e:e(...t)).then(e=>{r.response=e,i.lifespan&&i.lifespan>0&&(r.timeout=setTimeout(r.remove,i.lifespan))}).catch(e=>r.error=e)};if(u4.push(r),!n)throw r.promise}var u8=e.i(89499),u9=e.i(43476),u7=E;function ce(e,t,n){if(!e)return;if(!0===n(e))return e;let i=t?e.return:e.child;for(;i;){let e=ce(i,t,n);if(e)return e;i=t?null:i.sibling}}function ct(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}"u">typeof window&&((null==(y=window.document)?void 0:y.createElement)||(null==(x=window.navigator)?void 0:x.product)==="ReactNative")?u7.useLayoutEffect:u7.useEffect;let cn=ct(u7.createContext(null));class ci extends u7.Component{render(){return u7.createElement(cn.Provider,{value:this._reactInternals},this.props.children)}}function cr(){let e=u7.useContext(cn);if(null===e)throw Error("its-fine: useFiber must be called within a !");let t=u7.useId();return u7.useMemo(()=>{for(let n of[e,null==e?void 0:e.alternate]){if(!n)continue;let e=ce(n,!1,e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}});if(e)return e}},[e,t])}let ca=Symbol.for("react.context"),cs=e=>null!==e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ca;function co(e){let t=e.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}E.act;let cl=e=>e&&e.hasOwnProperty("current"),cu=e=>null!=e&&("string"==typeof e||"number"==typeof e||e.isColor),cc="u">typeof window&&((null==(m=window.document)?void 0:m.createElement)||(null==(g=window.navigator)?void 0:g.product)==="ReactNative")?E.useLayoutEffect:E.useEffect;function ch(e){let t=E.useRef(e);return cc(()=>void(t.current=e),[e]),t}function cd(){let e,t=cr(),n=(e=function(){let e=cr(),[t]=u7.useState(()=>new Map);t.clear();let n=e;for(;n;){let e=n.type;cs(e)&&e!==cn&&!t.has(e)&&t.set(e,u7.use(ct(e))),n=n.return}return t}(),u7.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>i=>u7.createElement(t,null,u7.createElement(n.Provider,{...i,value:e.get(n)})),e=>u7.createElement(ci,{...e})),[e]));return E.useMemo(()=>({children:e})=>{let i=ce(t,!0,e=>e.type===E.StrictMode)?E.StrictMode:E.Fragment;return(0,u9.jsx)(i,{children:(0,u9.jsx)(n,{children:e})})},[t,n])}function cp({set:e}){return cc(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}let cf=((v=class extends E.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}).getDerivedStateFromError=()=>({error:!0}),v);function cm(e){var t;let n="u">typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}function cg(e){var t;return null==(t=e.__r3f)?void 0:t.root.getState()}let cv={obj:e=>e===Object(e)&&!cv.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,nul:e=>null===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:i="reference",strict:r=!0}={}){let a;if(typeof e!=typeof t||!!e!=!!t)return!1;if(cv.str(e)||cv.num(e)||cv.boo(e))return e===t;let s=cv.obj(e);if(s&&"reference"===i)return e===t;let o=cv.arr(e);if(o&&"reference"===n)return e===t;if((o||s)&&e===t)return!0;for(a in e)if(!(a in t))return!1;if(s&&"shallow"===n&&"shallow"===i){for(a in r?t:e)if(!cv.equ(e[a],t[a],{strict:r,objects:"reference"}))return!1}else for(a in r?t:e)if(e[a]!==t[a])return!1;if(cv.und(a)){if(o&&0===e.length&&0===t.length||s&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}},c_=["children","key","ref"];function cy(e,t,n,i){let r=null==e?void 0:e.__r3f;return!r&&(r={root:t,type:n,parent:null,children:[],props:function(e){let t={};for(let n in e)c_.includes(n)||(t[n]=e[n]);return t}(i),object:e,eventCount:0,handlers:{},isHidden:!1},e&&(e.__r3f=r)),r}function cx(e,t){if(!t.includes("-")||t in e)return{root:e,key:t,target:e[t]};let n=e,i=t.split("-");for(let r of i){if("object"!=typeof n||null===n){if(void 0!==n)return{root:n,key:i.slice(i.indexOf(r)).join("-"),target:void 0};return{root:e,key:t,target:void 0}}t=r,e=n,n=n[t]}return{root:e,key:t,target:n}}let cb=/-\d+$/;function cS(e,t){if(cv.str(t.props.attach)){if(cb.test(t.props.attach)){let n=t.props.attach.replace(cb,""),{root:i,key:r}=cx(e.object,n);Array.isArray(i[r])||(i[r]=[])}let{root:n,key:i}=cx(e.object,t.props.attach);t.previousAttach=n[i],n[i]=t.object}else cv.fun(t.props.attach)&&(t.previousAttach=t.props.attach(e.object,t.object))}function cM(e,t){if(cv.str(t.props.attach)){let{root:n,key:i}=cx(e.object,t.props.attach),r=t.previousAttach;void 0===r?delete n[i]:n[i]=r}else null==t.previousAttach||t.previousAttach(e.object,t.object);delete t.previousAttach}let cT=[...c_,"args","dispose","attach","object","onUpdate","dispose"],cw=new Map,cE=["map","emissiveMap","sheenColorMap","specularColorMap","envMap"],cA=/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/;function cC(e,t){var n,i;let r=e.__r3f,a=r&&co(r).getState(),s=null==r?void 0:r.eventCount;for(let n in t){let s=t[n];if(cT.includes(n))continue;if(r&&cA.test(n)){"function"==typeof s?r.handlers[n]=s:delete r.handlers[n],r.eventCount=Object.keys(r.handlers).length;continue}if(void 0===s)continue;let{root:o,key:l,target:u}=cx(e,n);if(void 0===u&&("object"!=typeof o||null===o))throw Error(`R3F: Cannot set "${n}". Ensure it is an object before setting "${l}".`);if(u instanceof ti&&s instanceof ti)u.mask=s.mask;else if(u instanceof tz&&cu(s))u.set(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"function"==typeof u.copy&&null!=s&&s.constructor&&u.constructor===s.constructor)u.copy(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&Array.isArray(s))"function"==typeof u.fromArray?u.fromArray(s):u.set(...s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"number"==typeof s)"function"==typeof u.setScalar?u.setScalar(s):u.set(s);else if(o instanceof nb&&"uniforms"===l&&cv.obj(s)){cv.obj(o.uniforms)||(o.uniforms={});let e=o.uniforms;for(let t in s){let n=s[t],i=e[t];i?Object.assign(i,n):e[t]={...n}}}else o[l]=s,a&&!a.linear&&cE.includes(l)&&null!=(i=o[l])&&i.isTexture&&1023===o[l].format&&1009===o[l].type&&(o[l].colorSpace=I)}if(null!=r&&r.parent&&null!=a&&a.internal&&null!=(n=r.object)&&n.isObject3D&&s!==r.eventCount){let e=r.object,t=a.internal.interaction.indexOf(e);t>-1&&a.internal.interaction.splice(t,1),r.eventCount&&null!==e.raycast&&a.internal.interaction.push(e)}return r&&void 0===r.props.attach&&(r.object.isBufferGeometry?r.props.attach="geometry":r.object.isMaterial&&(r.props.attach="material")),r&&cR(r),e}function cR(e){var t;if(!e.parent)return;null==e.props.onUpdate||e.props.onUpdate(e.object);let n=null==(t=e.root)||null==t.getState?void 0:t.getState();n&&0===n.internal.frames&&n.invalidate()}function cP(e,t){!e.manual&&(e&&e.isOrthographicCamera?(e.left=-(t.width/2),e.right=t.width/2,e.top=t.height/2,e.bottom=-(t.height/2)):e.aspect=t.width/t.height,e.updateProjectionMatrix())}let cI=e=>null==e?void 0:e.isObject3D;function cL(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function cN(e,t,n,i){let r=n.get(t);r&&(n.delete(t),0===n.size&&(e.delete(i),r.target.releasePointerCapture(i)))}let cU=e=>!!(null!=e&&e.render),cD=E.createContext(null);function cO(){let e=E.useContext(cD);if(!e)throw Error("R3F: Hooks can only be used within the Canvas component!");return e}function cF(e=e=>e,t){return cO()(e,t)}function cz(e,t=0){let n=cO(),i=n.getState().internal.subscribe,r=ch(e);return cc(()=>i(r,t,n),[t,i,n]),null}let cB=new WeakMap;function ck(e,t){return function(n,...i){var r;let a;return"function"==typeof n&&(null==n||null==(r=n.prototype)?void 0:r.constructor)===n?(a=cB.get(n))||(a=new n,cB.set(n,a)):a=n,e&&e(a),Promise.all(i.map(e=>new Promise((n,i)=>a.load(e,e=>{var t;let i;cI(null==e?void 0:e.scene)&&Object.assign(e,(t=e.scene,i={nodes:{},materials:{},meshes:{}},t&&t.traverse(e=>{e.name&&(i.nodes[e.name]=e),e.material&&!i.materials[e.material.name]&&(i.materials[e.material.name]=e.material),e.isMesh&&!i.meshes[e.name]&&(i.meshes[e.name]=e)}),i)),n(e)},t,t=>i(Error(`Could not load ${e}: ${null==t?void 0:t.message}`))))))}}function cH(e,t,n,i){let r=Array.isArray(t)?t:[t],a=u6(ck(n,i),[e,...r],!1,{equal:cv.equ});return Array.isArray(t)?a:a[0]}cH.preload=function(e,t,n){let i,r=Array.isArray(t)?t:[t];u6(ck(n),[e,...r],!0,i)},cH.clear=function(e,t){var n=[e,...Array.isArray(t)?t:[t]];if(void 0===n||0===n.length)u4.splice(0,u4.length);else{let e=u4.find(e=>u5(n,e.keys,e.equal));e&&e.remove()}};var cV={exports:{}},cG={exports:{}};cG.exports;let cW=(T||(T=1,M||(M=1,cG.exports=function(e){function t(e,t,n,i){return new iJ(e,t,n,i)}function n(){}function i(e){var t="https://react.dev/errors/"+e;if(1sT||(e.current=sM[sT],sM[sT]=null,sT--)}function h(e,t){sM[++sT]=e.current,e.current=t}function d(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function p(e,t,n){var i=e.pendingLanes;if(0===i)return 0;var r=0,a=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var o=0x7ffffff&i;return 0!==o?0!=(i=o&~a)?r=d(i):0!=(s&=o)?r=d(s):n||0!=(n=o&~e)&&(r=d(n)):0!=(o=i&~a)?r=d(o):0!==s?r=d(s):n||0!=(n=i&~e)&&(r=d(n)),0===r?0:0!==t&&t!==r&&(t&a)==0&&((a=r&-r)>=(n=t&-t)||32===a&&(4194048&n)!=0)?t:r}function f(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)==0}function m(){var e=sI;return(0x3c00000&(sI<<=1))==0&&(sI=4194304),e}function g(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function v(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function _(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-sE(t);e.entangledLanes|=t,e.entanglements[i]=0x40000000|e.entanglements[i]|261930&n}function y(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-sE(n),r=1<)":-1r||l[i]!==u[r]){var c=` -`+l[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=r)break}}}finally{sY=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?T(n):""}function C(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return T(e.type);case 16:return T("Lazy");case 13:return e.child!==t&&null!==t?T("Suspense Fallback"):T("Suspense");case 19:return T("SuspenseList");case 0:case 15:return A(e.type,!1);case 11:return A(e.type.render,!1);case 1:return A(e.type,!0);case 31:return T("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}function R(e,t){if("object"==typeof e&&null!==e){var n=sZ.get(e);return void 0!==n?n:(t={value:e,source:t,stack:C(t)},sZ.set(e,t),t)}return{value:e,source:t,stack:C(t)}}function P(e,t){sJ[sK++]=sQ,sJ[sK++]=s$,s$=e,sQ=t}function I(e,t,n){s0[s1++]=s3,s0[s1++]=s4,s0[s1++]=s2,s2=e;var i=s3;e=s4;var r=32-sE(i)-1;i&=~(1<>=s,r-=s,s3=1<<32-sE(t)+r|n<d?(p=h,h=null):p=h.sibling;var v=m(t,h,s[d],o);if(null===v){null===h&&(h=p);break}e&&h&&null===v.alternate&&n(t,h),i=l(v,i,d),null===c?u=v:c.sibling=v,c=v,h=p}if(d===s.length)return r(t,h),ot&&P(t,d),u;if(null===h){for(;dp?(v=d,d=null):v=d.sibling;var y=m(t,d,_.value,u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&n(t,d),s=l(y,s,p),null===h?c=y:h.sibling=y,h=y,d=v}if(_.done)return r(t,d),ot&&P(t,p),c;if(null===d){for(;!_.done;p++,_=o.next())null!==(_=f(t,_.value,u))&&(s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return ot&&P(t,p),c}for(d=a(d);!_.done;p++,_=o.next())null!==(_=g(d,t,p,_.value,u))&&(e&&null!==_.alternate&&d.delete(null===_.key?p:_.key),s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return e&&d.forEach(function(e){return n(t,e)}),ot&&P(t,p),c}(c,h,d=v.call(d),p)}if("function"==typeof d.then)return t(c,h,eM(d),p);if(d.$$typeof===rd)return t(c,h,ee(c,d),p);ew(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==h&&6===h.tag?(r(c,h.sibling),(p=s(h,d)).return=c):(r(c,h),(p=i2(d,c.mode,p)).return=c),u(c=p)):r(c,h)}(c,h,d,p);return oR=null,v}catch(e){if(e===oT||e===oE)throw e;var _=t(29,e,null,c.mode);return _.lanes=p,_.return=c,_}finally{}}}function eA(){for(var e=oU,t=oD=oU=0;ta?a:8);var s=rM.T,o={};rM.T=o,t$(e,!1,t,n);try{var l=r(),u=rM.S;if(null!==u&&u(o,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,h,d=(c=[],h={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){h.status="fulfilled",h.value=i;for(var e=0;e";case lu:return":has("+(id(e)||"")+")";case lc:return'[role="'+e.value+'"]';case ld:return'"'+e.value+'"';case lh:return'[data-testname="'+e.value+'"]';default:throw Error(i(365))}}function ip(e,t){var n=[];e=[e,0];for(var i=0;ilO&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=eK(s))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,nD(t,e),nO(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ot)return nF(t),null}else 2*sO()-r.renderingStartTime>lO&&0x20000000!==n&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(e=r.last)?e.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=sO(),e.sibling=null,n=oV.current,h(oV,a?1&n|2:1&n),ot&&P(t,r.treeForkCount),e):(nF(t),null);case 22:case 23:return eJ(t),ej(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(0x20000000&n)!=0&&(128&t.flags)==0&&(nF(t),6&t.subtreeFlags&&(t.flags|=8192)):nF(t),null!==(n=t.updateQueue)&&nD(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&c(oM),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),q(oh),nF(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}(t.alternate,t,lT);if(null!==n){lv=n;return}if(null!==(t=t.sibling)){lv=t;return}lv=t=e}while(null!==t)0===lw&&(lw=5)}function iD(e,t){do{var n=function(e,t){switch(N(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return q(oh),O(),(65536&(e=t.flags))!=0&&(128&e)==0?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return z(t),null;case 31:if(null!==t.memoizedState){if(eJ(t),null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(eJ(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return c(oV),null;case 4:return O(),null;case 10:return q(t.type),null;case 22:case 23:return eJ(t),ej(),null!==e&&c(oM),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return q(oh),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lv=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){lv=e;return}lv=e=n}while(null!==e)lw=6,lv=null}function iO(e,t,n,r,a,s,o,l,u){e.cancelPendingCommit=null;do iH();while(0!==lB)if((6&lm)!=0)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(function(e,t,n,i,r,a){var s=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var o=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=s&~n;0n?32:n;n=rM.T;var a=rq();try{rX(r),rM.T=null,r=lW,lW=null;var s=lk,o=lV;if(lB=0,lH=lk=null,lV=0,(6&lm)!=0)throw Error(i(331));var l=lm;if(lm|=4,il(s.current),it(s,s.current,o,r),lm=l,es(0,!1),sW&&"function"==typeof sW.onPostCommitFiberRoot)try{sW.onPostCommitFiberRoot(sG,s)}catch{}return!0}finally{rX(a),rM.T=n,ik(e,t)}}function iG(e,t,n){t=R(n,t),t=t9(e.stateNode,t,2),null!==(e=eO(e,t,2))&&(v(e,2),ea(e))}function iW(e,t,n){if(3===e.tag)iG(e,e,n);else for(;null!==t;){if(3===t.tag){iG(t,e,n);break}if(1===t.tag){var i=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===lz||!lz.has(i))){e=R(n,e),null!==(i=eO(t,n=t7(2),2))&&(ne(n,i,t,e),v(i,2),ea(i));break}}t=t.return}}function ij(e,t,n){var i=e.pingCache;if(null===i){i=e.pingCache=new lf;var r=new Set;i.set(t,r)}else void 0===(r=i.get(t))&&(r=new Set,i.set(t,r));r.has(n)||(lM=!0,r.add(n),e=iX.bind(null,e,t,n),t.then(e,e))}function iX(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lg===e&&(l_&n)===n&&(4===lw||3===lw&&(0x3c00000&l_)===l_&&300>sO()-lU?(2&lm)==0&&iT(e,0):lC|=n,lP===l_&&(lP=0)),ea(e)}function iq(e,t){0===t&&(t=m()),null!==(e=eP(e,t))&&(v(e,t),ea(e))}function iY(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),iq(e,n)}function iZ(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),iq(e,n)}function iJ(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function iK(e){return!(!(e=e.prototype)||!e.isReactComponent)}function i$(e,n){var i=e.alternate;return null===i?((i=t(e.tag,n,e.key,e.mode)).elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=0x3e00000&e.flags,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function iQ(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function i0(e,n,r,a,s,o){var l=0;if(a=e,"function"==typeof e)iK(e)&&(l=1);else if("string"==typeof e)l=si&&sv?sr(e,r,s5.current)?26:sb(e)?27:5:si?sr(e,r,s5.current)?26:5:sv&&sb(e)?27:5;else o:switch(e){case r_:return(e=t(31,r,n,s)).elementType=r_,e.lanes=o,e;case rl:return i1(r.children,s,o,n);case ru:l=8,s|=24;break;case rc:return(e=t(12,r,n,2|s)).elementType=rc,e.lanes=o,e;case rf:return(e=t(13,r,n,s)).elementType=rf,e.lanes=o,e;case rm:return(e=t(19,r,n,s)).elementType=rm,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case rd:l=10;break o;case rh:l=9;break o;case rp:l=11;break o;case rg:l=14;break o;case rv:l=16,a=null;break o}l=29,r=Error(i(130,null===e?"null":typeof e,"")),a=null}return(n=t(l,r,n,s)).elementType=e,n.type=a,n.lanes=o,n}function i1(e,n,i,r){return(e=t(7,e,r,n)).lanes=i,e}function i2(e,n,i){return(e=t(6,e,null,n)).lanes=i,e}function i3(e){var n=t(18,null,null,0);return n.stateNode=e,n}function i4(e,n,i){return(n=t(4,null!==e.children?e.children:[],e.key,n)).lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function i5(e,t,n,i,r,a,s,o,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=rB,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=g(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=g(0),this.hiddenUpdates=g(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=a,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function i6(e,n,i,r,a,s,o,l,u,c,h,d){return e=new i5(e,n,i,o,u,c,h,d,l),n=1,!0===s&&(n|=24),s=t(3,null,null,n),e.current=s,s.stateNode=e,n=en(),n.refCount++,e.pooledCache=n,n.refCount++,s.memoizedState={element:r,isDehydrated:i,cache:n},eN(s),e}function i8(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(i(188)):Error(i(268,e=Object.keys(e).join(",")));return null===(e=null!==(e=s(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:rA(e.stateNode)}function i9(e,t,n,i,r,a){r=sw,null===i.context?i.context=r:i.pendingContext=r,(i=eD(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(i.callback=a),null!==(n=eO(e,i,t))&&(i_(n,e,t),eF(n,e,t))}function i7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n>>=0)?32:31-(sA(e)/sC|0)|0},sA=Math.log,sC=Math.LN2,sR=256,sP=262144,sI=4194304,sL=ri.unstable_scheduleCallback,sN=ri.unstable_cancelCallback,sU=ri.unstable_shouldYield,sD=ri.unstable_requestPaint,sO=ri.unstable_now,sF=ri.unstable_ImmediatePriority,sz=ri.unstable_UserBlockingPriority,sB=ri.unstable_NormalPriority,sk=ri.unstable_IdlePriority,sH=ri.log,sV=ri.unstable_setDisableYieldValue,sG=null,sW=null,sj="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sX="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof w.default&&"function"==typeof w.default.emit)return void w.default.emit("uncaughtException",e);console.error(e)},sq=Object.prototype.hasOwnProperty,sY=!1,sZ=new WeakMap,sJ=[],sK=0,s$=null,sQ=0,s0=[],s1=0,s2=null,s3=1,s4="",s5=u(null),s6=u(null),s8=u(null),s9=u(null),s7=null,oe=null,ot=!1,on=null,oi=!1,or=Error(i(519)),oa=u(null),os=null,oo=null,ol="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ou=ri.unstable_scheduleCallback,oc=ri.unstable_NormalPriority,oh={$$typeof:rd,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},od=null,op=null,of=!1,om=!1,og=!1,ov=0,o_=null,oy=0,ox=0,ob=null,oS=rM.S;rM.S=function(e,t){lD=sO(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===o_){var t=o_=[];oy=0,ox=ed(),ob={status:"pending",value:void 0,then:function(e){t.push(e)}}}oy++,e.then(ep,ep)}(t),null!==oS&&oS(e,t)};var oM=u(null),oT=Error(i(460)),ow=Error(i(474)),oE=Error(i(542)),oA={then:function(){}},oC=null,oR=null,oP=0,oI=eE(!0),oL=eE(!1),oN=[],oU=0,oD=0,oO=!1,oF=!1,oz=u(null),oB=u(0),ok=u(null),oH=null,oV=u(0),oG=0,oW=null,oj=null,oX=null,oq=!1,oY=!1,oZ=!1,oJ=0,oK=0,o$=null,oQ=0,o0={readContext:Q,use:tt,useCallback:e$,useContext:e$,useEffect:e$,useImperativeHandle:e$,useLayoutEffect:e$,useInsertionEffect:e$,useMemo:e$,useReducer:e$,useRef:e$,useState:e$,useDebugValue:e$,useDeferredValue:e$,useTransition:e$,useSyncExternalStore:e$,useId:e$,useHostTransitionStatus:e$,useFormState:e$,useActionState:e$,useOptimistic:e$,useMemoCache:e$,useCacheRefresh:e$};o0.useEffectEvent=e$;var o1={readContext:Q,use:tt,useCallback:function(e,t){return e8().memoizedState=[e,void 0===t?null:t],e},useContext:Q,useEffect:tI,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,tR(4194308,4,tO.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tR(4194308,4,e,t)},useInsertionEffect:function(e,t){tR(4,2,e,t)},useMemo:function(e,t){var n=e8();t=void 0===t?null:t;var i=e();return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=e8();if(void 0!==n)var r=n(t);else r=t;return i.memoizedState=i.baseState=r,i.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},e=e.dispatch=tZ.bind(null,oW,e),[i.memoizedState,e]},useRef:function(e){return e8().memoizedState={current:e}},useState:function(e){var t=(e=tp(e)).queue,n=tJ.bind(null,oW,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:tz,useDeferredValue:function(e,t){return tH(e8(),e,t)},useTransition:function(){var e=tp(!1);return e=tG.bind(null,oW,e.queue,!0,!1),e8().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=oW,a=e8();if(ot){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===lg)throw Error(i(349));(127&l_)!=0||tl(r,t,n)}a.memoizedState=n;var s={value:n,getSnapshot:t};return a.queue=s,tI(tc.bind(null,r,s,e),[e]),r.flags|=2048,tA(9,{destroy:void 0},tu.bind(null,r,s,n,t),null),n},useId:function(){var e=e8(),t=lg.identifierPrefix;if(ot){var n=s4,i=s3;t="_"+t+"R_"+(n=(i&~(1<<32-sE(i)-1)).toString(32)+n),0<(n=oJ++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=oQ++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tj,useFormState:tS,useActionState:tS,useOptimistic:function(e){var t=e8();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=t$.bind(null,oW,!0,n),n.dispatch=t,[e,t]},useMemoCache:tn,useCacheRefresh:function(){return e8().memoizedState=tY.bind(null,oW)},useEffectEvent:function(e){var t=e8(),n={impl:e};return t.memoizedState=n,function(){if((2&lm)!=0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},o2={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:tr,useRef:tC,useState:function(){return tr(ti)},useDebugValue:tz,useDeferredValue:function(e,t){return tV(e9(),oj.memoizedState,e,t)},useTransition:function(){var e=tr(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tM,useActionState:tM,useOptimistic:function(e,t){return tf(e9(),oj,e,t)},useMemoCache:tn,useCacheRefresh:tq};o2.useEffectEvent=tN;var o3={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:ts,useRef:tC,useState:function(){return ts(ti)},useDebugValue:tz,useDeferredValue:function(e,t){var n=e9();return null===oj?tH(n,e,t):tV(n,oj.memoizedState,e,t)},useTransition:function(){var e=ts(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tE,useActionState:tE,useOptimistic:function(e,t){var n=e9();return null!==oj?tf(n,oj,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:tn,useCacheRefresh:tq};o3.useEffectEvent=tN;var o4={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.tag=1,r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ig(),i=eD(n);i.tag=2,null!=t&&(i.callback=t),null!==(t=eO(e,i,n))&&(i_(t,e,n),eF(t,e,n))}},o5=Error(i(461)),o6=!1,o8={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},o9=!1,o7=!1,le=!1,lt="function"==typeof WeakSet?WeakSet:Set,ln=null,li=null,lr=!1,la=null,ls=8192,lo={getCacheForType:function(e){var t=Q(oh),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Q(oh).controller.signal}},ll=0,lu=1,lc=2,lh=3,ld=4;if("function"==typeof Symbol&&Symbol.for){var lp=Symbol.for;ll=lp("selector.component"),lu=lp("selector.has_pseudo_class"),lc=lp("selector.role"),lh=lp("selector.test_id"),ld=lp("selector.text")}var lf="function"==typeof WeakMap?WeakMap:Map,lm=0,lg=null,lv=null,l_=0,ly=0,lx=null,lb=!1,lS=!1,lM=!1,lT=0,lw=0,lE=0,lA=0,lC=0,lR=0,lP=0,lI=null,lL=null,lN=!1,lU=0,lD=0,lO=1/0,lF=null,lz=null,lB=0,lk=null,lH=null,lV=0,lG=0,lW=null,lj=null,lX=0,lq=null;return rt.attemptContinuousHydration=function(e){if(13===e.tag||31===e.tag){var t=eP(e,0x4000000);null!==t&&i_(t,e,0x4000000),re(e,0x4000000)}},rt.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag||31===e.tag){var t=ig(),n=eP(e,t=b(t));null!==n&&i_(n,e,t),re(e,t)}},rt.attemptSynchronousHydration=function(e){switch(e.tag){case 3:if((e=e.stateNode).current.memoizedState.isDehydrated){var t=d(e.pendingLanes);if(0!==t){for(e.pendingLanes|=2,e.entangledLanes|=2;t;){var n=1<<31-sE(t);e.entanglements[1]|=n,t&=~n}ea(e),(6&lm)==0&&(lO=sO()+500,es(0,!1))}}break;case 31:case 13:null!==(t=eP(e,2))&&i_(t,e,2),iS(),re(e,2)}},rt.batchedUpdates=function(e,t){return e(t)},rt.createComponentSelector=function(e){return{$$typeof:ll,value:e}},rt.createContainer=function(e,t,n,i,r,a,s,o,l,u){return i6(e,t,!1,null,n,i,a,null,s,o,l,u)},rt.createHasPseudoClassSelector=function(e){return{$$typeof:lu,value:e}},rt.createHydrationContainer=function(e,t,n,i,r,a,s,o,l,u,c,h,d,p){var f;return(e=i6(n,i,!0,e,r,a,o,p,l,u,c,h)).context=sw,n=e.current,(r=eD(i=b(i=ig()))).callback=null!=(f=t)?f:null,eO(n,r,i),t=i,e.current.lanes=t,v(e,t),ea(e),e},rt.createPortal=function(e,t,n){var i=3=c&&s>=d&&a<=h&&o<=p){e.splice(t,1);break}if(r!==c||n.width!==u.width||po){if(!(s!==d||n.height!==u.height||ha)){c>r&&(u.width+=c-r,u.x=r),hs&&(u.height+=d-s,u.y=s),pn&&(n=l)),l ")+` - -No matching component was found for: - `+e.join(" > ")}return null},rt.getPublicRootInstance=function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 27:case 5:return rA(e.child.stateNode);default:return e.child.stateNode}},rt.injectIntoDevTools=function(){var e={bundleType:0,version:rT,rendererPackageName:rw,currentDispatcherRef:rM,reconcilerVersion:"19.2.0"};if(null!==rE&&(e.rendererConfig=rE),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{sG=t.inject(e),sW=t}catch{}e=!!t.checkDCE}}return e},rt.isAlreadyRendering=function(){return(6&lm)!=0},rt.observeVisibleRects=function(e,t,n,r){if(!r7)throw Error(i(363));var a=as(e=im(e,t),n,r).disconnect;return{disconnect:function(){a()}}},rt.shouldError=function(){return null},rt.shouldSuspend=function(){return!1},rt.startHostTransition=function(e,t,r,a){if(5!==e.tag)throw Error(i(476));var s=tW(e).queue;tG(e,s,t,r4,null===r?n:function(){var t=tW(e);return null===t.next&&(t=e.alternate.memoizedState),tK(e,t.next.queue,{},ig()),r(a)})},rt.updateContainer=function(e,t,n,i){var r=t.current,a=ig();return i9(r,a,e,t,n,i),a},rt.updateContainerSync=function(e,t,n,i){return i9(t.current,2,e,t,n,i),2},rt},cG.exports.default=cG.exports,Object.defineProperty(cG.exports,"__esModule",{value:!0})),cV.exports=cG.exports),(b=cV.exports)&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default"))?b.default:b,cj={},cX=/^three(?=[A-Z])/,cq=e=>`${e[0].toUpperCase()}${e.slice(1)}`,cY=0;function cZ(e){if("function"==typeof e){let t=`${cY++}`;return cj[t]=e,t}Object.assign(cj,e)}function cJ(e,t){let n=cq(e),i=cj[n];if("primitive"!==e&&!i)throw Error(`R3F: ${n} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if("primitive"===e&&!t.object)throw Error("R3F: Primitives without 'object' are invalid!");if(void 0!==t.args&&!Array.isArray(t.args))throw Error("R3F: The args prop must be an array!")}function cK(e){if(e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cS(e.parent,e):cI(e.object)&&!1!==e.props.visible&&(e.object.visible=!0),e.isHidden=!1,cR(e)}}function c$(e,t,n){let i=t.root.getState();if(e.parent||e.object===i.scene){if(!t.object){var r,a;let e=cj[cq(t.type)];t.object=null!=(r=t.props.object)?r:new e(...null!=(a=t.props.args)?a:[]),t.object.__r3f=t}if(cC(t.object,t.props),t.props.attach)cS(e,t);else if(cI(t.object)&&cI(e.object)){let i=e.object.children.indexOf(null==n?void 0:n.object);if(n&&-1!==i){let n=e.object.children.indexOf(t.object);-1!==n?(e.object.children.splice(n,1),e.object.children.splice(n{try{e.dispose()}catch{}};"u">typeof IS_REACT_ACT_ENVIRONMENT?t():(0,u8.unstable_scheduleCallback)(u8.unstable_IdlePriority,t)}}function c2(e,t,n){if(!t)return;t.parent=null;let i=e.children.indexOf(t);-1!==i&&e.children.splice(i,1),t.props.attach?cM(e,t):cI(t.object)&&cI(e.object)&&(e.object.remove(t.object),function(e,t){let{internal:n}=e.getState();n.interaction=n.interaction.filter(e=>e!==t),n.initialHits=n.initialHits.filter(e=>e!==t),n.hovered.forEach((e,i)=>{(e.eventObject===t||e.object===t)&&n.hovered.delete(i)}),n.capturedMap.forEach((e,i)=>{cN(n.capturedMap,t,e,i)})}(co(t),t.object));let r=null!==t.props.dispose&&!1!==n;for(let e=t.children.length-1;e>=0;e--){let n=t.children[e];c2(t,n,r)}t.children.length=0,delete t.object.__r3f,r&&"primitive"!==t.type&&"Scene"!==t.object.type&&c1(t.object),void 0===n&&cR(t)}let c3=[],c4=()=>{},c5={},c6=0,c8=(S={isPrimaryRenderer:!1,warnsIfNotActing:!1,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,createInstance:function(e,t,n){var i;return cJ(e=cq(e)in cj?e:e.replace(cX,""),t),"primitive"===e&&null!=(i=t.object)&&i.__r3f&&delete t.object.__r3f,cy(t.object,n,e,t)},removeChild:c2,appendChild:cQ,appendInitialChild:cQ,insertBefore:c0,appendChildToContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&cQ(n,t)},removeChildFromContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&c2(n,t)},insertInContainerBefore(e,t,n){let i=e.getState().scene.__r3f;t&&n&&i&&c0(i,t,n)},getRootHostContext:()=>c5,getChildHostContext:()=>c5,commitUpdate(e,t,n,i,r){var a,s,o;cJ(t,i);let l=!1;if("primitive"===e.type&&n.object!==i.object||(null==(a=i.args)?void 0:a.length)!==(null==(s=n.args)?void 0:s.length)?l=!0:null!=(o=i.args)&&o.some((e,t)=>{var i;return e!==(null==(i=n.args)?void 0:i[t])})&&(l=!0),l)c3.push([e,{...i},r]);else{let t=function(e,t){let n={};for(let i in t)if(!cT.includes(i)&&!cv.equ(t[i],e.props[i]))for(let e in n[i]=t[i],t)e.startsWith(`${i}-`)&&(n[e]=t[e]);for(let i in e.props){if(cT.includes(i)||t.hasOwnProperty(i))continue;let{root:r,key:a}=cx(e.object,i);if(r.constructor&&0===r.constructor.length){let e=function(e){let t=cw.get(e.constructor);try{t||(t=new e.constructor,cw.set(e.constructor,t))}catch(e){}return t}(r);cv.und(e)||(n[a]=e[a])}else n[a]=0}return n}(e,i);Object.keys(t).length&&(Object.assign(e.props,t),cC(e.object,t))}(null===r.sibling||(4&r.flags)==0)&&function(){for(let[e]of c3){let t=e.parent;if(t)for(let n of(e.props.attach?cM(t,e):cI(e.object)&&cI(t.object)&&t.object.remove(e.object),e.children))n.props.attach?cM(e,n):cI(n.object)&&cI(e.object)&&e.object.remove(n.object);e.isHidden&&cK(e),e.object.__r3f&&delete e.object.__r3f,"primitive"!==e.type&&c1(e.object)}for(let[i,r,a]of c3){i.props=r;let s=i.parent;if(s){let r=cj[cq(i.type)],o=i.object;i.object=null!=(e=i.props.object)?e:new r(...null!=(t=i.props.args)?t:[]),i.object.__r3f=i;var e,t,n=i.object;for(let e of[a,a.alternate])if(null!==e)if("function"==typeof e.ref){null==e.refCleanup||e.refCleanup();let t=e.ref(n);"function"==typeof t&&(e.refCleanup=t)}else e.ref&&(e.ref.current=n);for(let e of(!function(e,t,n){let{internal:i}=e.getState();for(let e=0;e{if(e.eventObject===t||e.object===t){i.hovered.delete(r);let a={...e,eventObject:e.eventObject===t?n:e.eventObject,object:e.object===t?n:e.object};i.hovered.set(cL(a),a)}}),i.capturedMap.forEach(e=>{let i=e.get(t);i&&(e.delete(t),e.set(n,i))})}(co(i),o,i.object),cC(i.object,i.props),i.props.attach?cS(s,i):cI(i.object)&&cI(s.object)&&s.object.add(i.object),i.children))e.props.attach?cS(i,e):cI(e.object)&&cI(i.object)&&i.object.add(e.object);cR(i)}}c3.length=0}()},finalizeInitialChildren:()=>!1,commitMount(){},getPublicInstance:e=>null==e?void 0:e.object,prepareForCommit:()=>null,preparePortalMount:e=>cy(e.getState().scene,e,"",{}),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance:function(e){if(!e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cM(e.parent,e):cI(e.object)&&(e.object.visible=!1),e.isHidden=!0,cR(e)}},unhideInstance:cK,createTextInstance:c4,hideTextInstance:c4,unhideTextInstance:c4,scheduleTimeout:"function"==typeof setTimeout?setTimeout:void 0,cancelTimeout:"function"==typeof clearTimeout?clearTimeout:void 0,noTimeout:-1,getInstanceFromNode:()=>null,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},prepareScopeUpdate(){},getInstanceFromScope:()=>null,shouldAttemptEagerTransition:()=>!1,trackSchedulerEvent:()=>{},resolveEventType:()=>null,resolveEventTimeStamp:()=>-1.1,requestPostPaintCallback(){},maySuspendCommit:()=>!1,preloadInstance:()=>!0,suspendInstance(){},waitForCommitToBeReady:()=>null,NotPendingTransition:null,HostTransitionContext:E.createContext(null),setCurrentUpdatePriority(e){c6=e},getCurrentUpdatePriority:()=>c6,resolveUpdatePriority(){var e;if(0!==c6)return c6;switch("u">typeof window&&(null==(e=window.event)?void 0:e.type)){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return 2;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return 8;default:return 32}},resetFormInstance(){},rendererPackageName:"@react-three/fiber",rendererVersion:"9.6.1",applyViewTransitionName(e,t,n){},restoreViewTransitionName(e,t){},cancelViewTransitionName(e,t,n){},cancelRootViewTransitionName(e){},restoreRootViewTransitionName(e){},InstanceMeasurement:null,measureInstance:e=>null,wasInstanceInViewport:e=>!0,hasInstanceChanged:(e,t)=>!1,hasInstanceAffectedParent:(e,t)=>!1,suspendOnActiveViewTransition(e,t){},startGestureTransition:()=>null,startViewTransition:()=>null,stopViewTransition(e){},createViewTransitionInstance:e=>null,getCurrentGestureOffset(e){throw Error("startGestureTransition is not yet supported in react-three-fiber.")},cloneMutableInstance:(e,t)=>e,cloneMutableTextInstance:e=>e,cloneRootViewTransitionContainer(e){throw Error("Not implemented.")},removeRootViewTransitionClone(e,t){throw Error("Not implemented.")},createFragmentInstance:e=>null,updateFragmentInstanceFiber(e,t){},commitNewChildToFragmentInstance(e,t){},deleteChildFromFragmentInstance(e,t){},measureClonedInstance:e=>null,maySuspendCommitOnUpdate:(e,t,n)=>!1,maySuspendCommitInSyncRender:(e,t)=>!1,startSuspendingCommit:()=>null,getSuspendedCommitReason:(e,t)=>null},(_=cW(S)).injectIntoDevTools(),_),c9=new Map,c7={objects:"shallow",strict:!1};function he(e){var t,n;let i,r,a,s,o,l,u,c=c9.get(e),h=null==c?void 0:c.fiber,d=null==c?void 0:c.store;c&&console.warn("R3F.createRoot should only be called once!");let p="function"==typeof reportError?reportError:console.error,f=d||(t=hp,n=hf,o=(s=(a=u3((e,i)=>{let r,a=new eE,s=new eE,o=new eE;function l(e=i().camera,t=s,n=i().size){let{width:r,height:u,top:c,left:h}=n,d=r/u;t.isVector3?o.copy(t):o.set(...t);let p=e.getWorldPosition(a).distanceTo(o);if(e&&e.isOrthographicCamera)return{width:r/e.zoom,height:u/e.zoom,top:c,left:h,factor:1,distance:p,aspect:d};{let t=2*Math.tan(e.fov*Math.PI/180/2)*p,n=r/u*t;return{width:n,height:t,top:c,left:h,factor:r/n,distance:p,aspect:d}}}let u=t=>e(e=>({performance:{...e.performance,current:t}})),c=new Y;return{set:e,get:i,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},scene:null,xr:null,invalidate:(e=1)=>t(i(),e),advance:(e,t)=>n(e,t,i()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new sw,pointer:c,mouse:c,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let e=i();r&&clearTimeout(r),e.performance.current!==e.performance.min&&u(e.performance.min),r=setTimeout(()=>u(i().performance.max),e.performance.debounce)}},size:{width:0,height:0,top:0,left:0},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:l},setEvents:t=>e(e=>({...e,events:{...e.events,...t}})),setSize:(t,n,r=0,a=0)=>{let o=i().camera,u={width:t,height:n,top:r,left:a};e(e=>({size:u,viewport:{...e.viewport,...l(o,s,u)}}))},setDpr:t=>e(e=>{let n=cm(t);return{viewport:{...e.viewport,dpr:n,initialDpr:e.viewport.initialDpr||n}}}),setFrameloop:(t="always")=>{let n=i().clock;n.stop(),n.elapsedTime=0,"never"!==t&&(n.start(),n.elapsedTime=0),e(()=>({frameloop:t}))},previousRoot:void 0,internal:{interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,lastEvent:E.createRef(),active:!1,frames:0,priority:0,subscribe:(e,t,n)=>{let r=i().internal;return r.priority=r.priority+ +(t>0),r.subscribers.push({ref:e,priority:t,store:n}),r.subscribers=r.subscribers.sort((e,t)=>e.priority-t.priority),()=>{let n=i().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0),n.subscribers=n.subscribers.filter(t=>t.ref!==e))}}}}})).getState()).size,l=s.viewport.dpr,u=s.camera,a.subscribe(()=>{let{camera:e,size:t,viewport:n,gl:i,set:r}=a.getState();if(t.width!==o.width||t.height!==o.height||n.dpr!==l){o=t,l=n.dpr,cP(e,t),n.dpr>0&&i.setPixelRatio(n.dpr);let r="u">typeof HTMLCanvasElement&&i.domElement instanceof HTMLCanvasElement;i.setSize(t.width,t.height,r)}e!==u&&(u=e,r(t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}})))}),a.subscribe(e=>t(e)),a),m=h||c8.createContainer(f,1,null,!1,null,"",p,p,p,null);c||c9.set(e,{fiber:m,store:f});let g=!1,v=null;return{async configure(t={}){var n,a;let s;v=new Promise(e=>s=e);let{gl:o,size:l,scene:u,events:c,onCreated:h,shadows:d=!1,linear:p=!1,flat:m=!1,legacy:_=!1,orthographic:y=!1,frameloop:x="always",dpr:b=[1,2],performance:S,raycaster:M,camera:T,onPointerMissed:w}=t,E=f.getState(),A=E.gl;if(!E.gl){let t={canvas:e,powerPreference:"high-performance",antialias:!0,alpha:!0},n="function"==typeof o?await o(t):o;A=cU(n)?n:new uK({...t,...o}),E.set({gl:A})}let C=E.raycaster;C||E.set({raycaster:C=new s3});let{params:R,...P}=M||{};if(cv.equ(P,C,c7)||cC(C,{...P}),cv.equ(R,C.params,c7)||cC(C,{params:{...C.params,...R}}),!E.camera||E.camera===r&&!cv.equ(r,T,c7)){r=T;let e=null==T?void 0:T.isCamera,t=e?T:y?new sn(0,0,0,0,.1,1e3):new nE(75,0,.1,1e3);!e&&(t.position.z=5,T&&(cC(t,T),!t.manual&&("aspect"in T||"left"in T||"right"in T||"bottom"in T||"top"in T)&&(t.manual=!0,t.updateProjectionMatrix())),E.camera||null!=T&&T.rotation||t.lookAt(0,0,0)),E.set({camera:t}),C.camera=t}if(!E.scene){let e;null!=u&&u.isScene?cy(e=u,f,"",{}):(cy(e=new nL,f,"",{}),u&&cC(e,u)),E.set({scene:e})}c&&!E.events.handlers&&E.set({events:c(f)});let N=function(e,t){if(!t&&"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){let{width:t,height:n,top:i,left:r}=e.parentElement.getBoundingClientRect();return{width:t,height:n,top:i,left:r}}return!t&&"u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0}:{width:0,height:0,top:0,left:0,...t}}(e,l);if(cv.equ(N,E.size,c7)||E.setSize(N.width,N.height,N.top,N.left),b&&E.viewport.dpr!==cm(b)&&E.setDpr(b),E.frameloop!==x&&E.setFrameloop(x),E.onPointerMissed||E.set({onPointerMissed:w}),S&&!cv.equ(S,E.performance,c7)&&E.set(e=>({performance:{...e.performance,...S}})),!E.xr){let e=(e,t)=>{let n=f.getState();"never"!==n.frameloop&&hf(e,!0,n,t)},t=()=>{let t=f.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||hp(t)},i={connect(){let e=f.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){let e=f.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(n=A.xr)?void 0:n.addEventListener)&&i.connect(),E.set({xr:i})}if(A.shadowMap){let e=A.shadowMap.enabled,t=A.shadowMap.type;A.shadowMap.enabled=!!d,cv.boo(d)?A.shadowMap.type=2:cv.str(d)?A.shadowMap.type=null!=(a=({basic:0,percentage:1,soft:2,variance:3})[d])?a:2:cv.obj(d)&&Object.assign(A.shadowMap,d),(e!==A.shadowMap.enabled||t!==A.shadowMap.type)&&(A.shadowMap.needsUpdate=!0)}return eu.enabled=!_,g||(A.outputColorSpace=p?L:I,A.toneMapping=4*!m),E.legacy!==_&&E.set(()=>({legacy:_})),E.linear!==p&&E.set(()=>({linear:p})),E.flat!==m&&E.set(()=>({flat:m})),!o||cv.fun(o)||cU(o)||cv.equ(o,A,c7)||cC(A,o),i=h,g=!0,s(),this},render(t){return g||v||this.configure(),v.then(()=>{c8.updateContainer((0,u9.jsx)(ht,{store:f,children:t,onCreated:i,rootElement:e}),m,null,()=>void 0)}),f},unmount(){hn(e)}}}function ht({store:e,children:t,onCreated:n,rootElement:i}){return cc(()=>{let t=e.getState();t.set(e=>({internal:{...e.internal,active:!0}})),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(i)},[]),(0,u9.jsx)(cD.Provider,{value:e,children:t})}function hn(e,t){let n=c9.get(e),i=null==n?void 0:n.fiber;if(i){let r=null==n?void 0:n.store.getState();r&&(r.internal.active=!1),c8.updateContainer(null,i,null,()=>{r&&setTimeout(()=>{try{null==r.events.disconnect||r.events.disconnect(),null==(n=r.gl)||null==(i=n.renderLists)||null==i.dispose||i.dispose(),null==(a=r.gl)||null==a.forceContextLoss||a.forceContextLoss(),null!=(s=r.gl)&&s.xr&&r.xr.disconnect();var n,i,a,s,o=r.scene;for(let e in"Scene"!==o.type&&(null==o.dispose||o.dispose()),o){let t=o[e];(null==t?void 0:t.type)!=="Scene"&&(null==t||null==t.dispose||t.dispose())}c9.delete(e),t&&t(e)}catch(e){}},500)})}}function hi({state:e={},children:t,container:n}){let{events:i,size:r,...a}=e,s=cO(),[o]=E.useState(()=>new s3),[l]=E.useState(()=>new Y),u=ch((e,t)=>{let a;if(t.camera&&r){let n=t.camera;a=e.viewport.getCurrentViewport(n,new eE,r),n!==e.camera&&cP(n,r)}return{...e,...t,scene:n,raycaster:o,pointer:l,mouse:l,previousRoot:s,events:{...e.events,...t.events,...i},size:{...e.size,...r},viewport:{...e.viewport,...a},setEvents:e=>t.set(t=>({...t,events:{...t.events,...e}}))}}),c=E.useMemo(()=>{let e=u3((e,t)=>({...a,set:e,get:t})),t=t=>e.setState(e=>u.current(t,e));return t(s.getState()),s.subscribe(t),e},[s,n]);return(0,u9.jsx)(u9.Fragment,{children:c8.createPortal((0,u9.jsx)(cD.Provider,{value:c,children:t}),c,null)})}let hr=new Set,ha=new Set,hs=new Set;function ho(e,t){if(e.size)for(let{callback:n}of e.values())n(t)}function hl(e,t){switch(e){case"before":return ho(hr,t);case"after":return ho(ha,t);case"tail":return ho(hs,t)}}function hu(e,t,n){let i=t.clock.getDelta();"never"===t.frameloop&&"number"==typeof e&&(i=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),s=t.internal.subscribers;for(let e=0;e0)&&!(null!=(t=c.gl.xr)&&t.isPresenting)&&(l+=hu(e,c))}if(hh=!1,hl("after",e),0===l)return hl("tail",e),hc=!1,cancelAnimationFrame(u)}function hp(e,t=1){var n;if(!e)return c9.forEach(e=>hp(e.store.getState(),t));(null==(n=e.gl.xr)||!n.isPresenting)&&e.internal.active&&"never"!==e.frameloop&&(t>1?e.internal.frames=Math.min(60,e.internal.frames+t):hh?e.internal.frames=2:e.internal.frames=1,hc||(hc=!0,requestAnimationFrame(hd)))}function hf(e,t=!0,n,i){if(t&&hl("before",e),n)hu(e,n,i);else for(let t of c9.values())hu(e,t.store.getState());t&&hl("after",e)}let hm={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function hg(e){let{handlePointer:t}=function(e){function t(e){return e.filter(e=>["Move","Over","Enter","Out","Leave"].some(t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))}function n(t){let{internal:n}=e.getState();for(let e of n.hovered.values())if(!t.length||!t.find(t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId)){let i=e.eventObject.__r3f;if(n.hovered.delete(cL(e)),null!=i&&i.eventCount){let n=i.handlers,r={...e,intersections:t};null==n.onPointerOut||n.onPointerOut(r),null==n.onPointerLeave||n.onPointerLeave(r)}}}function i(e,t){for(let n=0;nn([]);case"onLostPointerCapture":return t=>{let{internal:i}=e.getState();"pointerId"in t&&i.capturedMap.has(t.pointerId)&&requestAnimationFrame(()=>{i.capturedMap.has(t.pointerId)&&(i.capturedMap.delete(t.pointerId),n([]))})}}return function(a){let{onPointerMissed:s,internal:o}=e.getState();o.lastEvent.current=a;let l="onPointerMove"===r,u="onClick"===r||"onContextMenu"===r||"onDoubleClick"===r,c=function(t,n){let i=e.getState(),r=new Set,a=[],s=n?n(i.internal.interaction):i.internal.interaction;for(let e=0;e{let n=cg(e.object),i=cg(t.object);return n&&i&&i.events.priority-n.events.priority||e.distance-t.distance}).filter(e=>{let t=cL(e);return!r.has(t)&&(r.add(t),!0)});for(let e of(i.events.filter&&(o=i.events.filter(o,i)),o)){let t=e.object;for(;t;){var l;null!=(l=t.__r3f)&&l.eventCount&&a.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&i.internal.capturedMap.has(t.pointerId))for(let e of i.internal.capturedMap.get(t.pointerId).values())r.has(cL(e.intersection))||a.push(e.intersection);return a}(a,l?t:void 0),h=u?function(t){let{internal:n}=e.getState(),i=t.offsetX-n.initialClick[0],r=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(i*i+r*r))}(a):0;"onPointerDown"===r&&(o.initialClick=[a.offsetX,a.offsetY],o.initialHits=c.map(e=>e.eventObject)),u&&!c.length&&h<=2&&(i(a,o.interaction),s&&s(a)),l&&n(c),!function(e,t,i,r){if(e.length){let a={stopped:!1};for(let s of e){let o=cg(s.object);if(o||s.object.traverseAncestors(e=>{let t=cg(e);if(t)return o=t,!1}),o){let{raycaster:l,pointer:u,camera:c,internal:h}=o,d=new eE(u.x,u.y,0).unproject(c),p=e=>{var t,n;return null!=(t=null==(n=h.capturedMap.get(e))?void 0:n.has(s.eventObject))&&t},f=e=>{let n={intersection:s,target:t.target};h.capturedMap.has(e)?h.capturedMap.get(e).set(s.eventObject,n):h.capturedMap.set(e,new Map([[s.eventObject,n]])),t.target.setPointerCapture(e)},m=e=>{let t=h.capturedMap.get(e);t&&cN(h.capturedMap,s.eventObject,t,e)},g={};for(let e in t){let n=t[e];"function"!=typeof n&&(g[e]=n)}let v={...s,...g,pointer:u,intersections:e,stopped:a.stopped,delta:i,unprojectedPoint:d,ray:l.ray,camera:c,stopPropagation(){let i="pointerId"in t&&h.capturedMap.get(t.pointerId);(!i||i.has(s.eventObject))&&(v.stopped=a.stopped=!0,h.hovered.size&&Array.from(h.hovered.values()).find(e=>e.eventObject===s.eventObject)&&n([...e.slice(0,e.indexOf(s)),s]))},target:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},currentTarget:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},nativeEvent:t};if(r(v),!0===a.stopped)break}}}}(c,a,h,function(e){let t=e.eventObject,n=t.__r3f;if(!(null!=n&&n.eventCount))return;let s=n.handlers;if(l){if(s.onPointerOver||s.onPointerEnter||s.onPointerOut||s.onPointerLeave){let t=cL(e),n=o.hovered.get(t);n?n.stopped&&e.stopPropagation():(o.hovered.set(t,e),null==s.onPointerOver||s.onPointerOver(e),null==s.onPointerEnter||s.onPointerEnter(e))}null==s.onPointerMove||s.onPointerMove(e)}else{let n=s[r];n?(!u||o.initialHits.includes(t))&&(i(a,o.interaction.filter(e=>!o.initialHits.includes(e))),n(e)):u&&o.initialHits.includes(t)&&i(a,o.interaction.filter(e=>!o.initialHits.includes(e)))}})}}}}(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-(2*(e.offsetY/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(hm).reduce((e,n)=>({...e,[n]:t(n)}),{}),update:()=>{var t;let{events:n,internal:i}=e.getState();null!=(t=i.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(i.lastEvent.current)},connect:t=>{let{set:n,events:i}=e.getState();if(null==i.disconnect||i.disconnect(),n(e=>({events:{...e.events,connected:t}})),i.handlers)for(let e in i.handlers){let n=i.handlers[e],[r,a]=hm[e];t.addEventListener(r,n,{passive:a})}},disconnect:()=>{let{set:t,events:n}=e.getState();if(n.connected){if(n.handlers)for(let e in n.handlers){let t=n.handlers[e],[i]=hm[e];n.connected.removeEventListener(i,t)}t(e=>({events:{...e.events,connected:void 0}}))}}}}e.s(["B",0,cp,"C",0,cF,"D",0,cz,"E",0,cf,"G",0,cH,"a",0,ch,"b",0,cc,"c",0,he,"d",0,hn,"e",0,cZ,"f",0,hg,"i",0,cl,"o",0,function(e,t,n){return(0,u9.jsx)(hi,{children:e,container:t,state:n})},"s",0,cC,"u",0,cd],1950),e.i(8560),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"PMREMGenerator",0,o8,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderChunk",0,oB,"ShaderLib",0,oH,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsLib",0,ok,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGLRenderer",0,uK,"WebGLUtils",0,uk,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"createCanvasElement",0,et],32009);var hv=e.i(32009);function h_(e,t){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}}let hy=["x","y","top","bottom","left","right","width","height"];function hx({ref:e,children:t,fallback:n,resize:i,style:r,gl:a,events:s=hg,eventSource:o,eventPrefix:l,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,scene:y,onPointerMissed:x,onCreated:b,...S}){E.useMemo(()=>cZ(hv),[]);let M=cd(),[T,w]=function({debounce:e,scroll:t,polyfill:n,offsetSize:i}={debounce:0,scroll:!1,offsetSize:!1}){var r,a,s;let o=n||("u"(p.current=!0,()=>void(p.current=!1)));let[f,m,g]=(0,E.useMemo)(()=>{let e=()=>{let e,t;if(!c.current.element)return;let{left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d}=c.current.element.getBoundingClientRect(),f={left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d};c.current.element instanceof HTMLElement&&i&&(f.height=c.current.element.offsetHeight,f.width=c.current.element.offsetWidth),Object.freeze(f),p.current&&(e=c.current.lastBounds,t=f,!hy.every(n=>e[n]===t[n]))&&u(c.current.lastBounds=f)};return[e,d?h_(e,d):e,h?h_(e,h):e]},[u,i,h,d]);function v(){c.current.scrollContainers&&(c.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",g,!0)),c.current.scrollContainers=null),c.current.resizeObserver&&(c.current.resizeObserver.disconnect(),c.current.resizeObserver=null),c.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",c.current.orientationHandler))}function _(){c.current.element&&(c.current.resizeObserver=new o(g),c.current.resizeObserver.observe(c.current.element),t&&c.current.scrollContainers&&c.current.scrollContainers.forEach(e=>e.addEventListener("scroll",g,{capture:!0,passive:!0})),c.current.orientationHandler=()=>{g()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",c.current.orientationHandler))}return r=g,a=!!t,(0,E.useEffect)(()=>{if(a)return window.addEventListener("scroll",r,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",r,!0)},[r,a]),s=m,(0,E.useEffect)(()=>(window.addEventListener("resize",s),()=>void window.removeEventListener("resize",s)),[s]),(0,E.useEffect)(()=>{v(),_()},[t,g,m]),(0,E.useEffect)(()=>v,[]),[e=>{e&&e!==c.current.element&&(v(),c.current.element=e,c.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:i,overflowX:r,overflowY:a}=window.getComputedStyle(t);return[i,r,a].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),_())},l,f]}({scroll:!0,debounce:{scroll:50,resize:0},...i}),A=E.useRef(null),C=E.useRef(null);E.useImperativeHandle(e,()=>A.current);let R=ch(x),[P,I]=E.useState(!1),[L,N]=E.useState(!1);if(P)throw P;if(L)throw L;let U=E.useRef(null);cc(()=>{let e=A.current;w.width>0&&w.height>0&&e&&(U.current||(U.current=he(e)),async function(){await U.current.configure({gl:a,scene:y,events:s,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,size:w,onPointerMissed:(...e)=>null==R.current?void 0:R.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(o?cl(o)?o.current:o:C.current),l&&e.setEvents({compute:(e,t)=>{let n=e[l+"X"],i=e[l+"Y"];t.pointer.set(n/t.size.width*2-1,-(2*(i/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==b||b(e)}}),U.current.render((0,u9.jsx)(M,{children:(0,u9.jsx)(cf,{set:N,children:(0,u9.jsx)(E.Suspense,{fallback:(0,u9.jsx)(cp,{set:I}),children:null!=t?t:null})})}))}())}),E.useEffect(()=>{let e=A.current;if(e)return()=>hn(e)},[]);let D=o?"none":"auto";return(0,u9.jsx)("div",{ref:C,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:D,...r},...S,children:(0,u9.jsx)("div",{ref:T,style:{width:"100%",height:"100%"},children:(0,u9.jsx)("canvas",{ref:A,style:{display:"block"},children:n})})})}e.s(["Canvas",0,function(e){return(0,u9.jsx)(ci,{children:(0,u9.jsx)(hx,{...e})})}],75056),e.s(["useFrame",0,cz],25234),e.s(["useThree",0,cF],28600)},67335,e=>{"use strict";var t=e.i(1950);e.s(["extend",()=>t.e])},60602,e=>{"use strict";var t=e.i(1950);e.s(["useLoader",()=>t.G])},44208,e=>{"use strict";var t=e.i(1950);e.s(["createPortal",()=>t.o])},24205,e=>{"use strict";var t=e.i(1950);e.s(["applyProps",()=>t.s])}]); \ No newline at end of file diff --git a/.next/static/chunks/0d3shmwh5_nmn.js b/.next/static/chunks/0d3shmwh5_nmn.js deleted file mode 100644 index 9c50c87..0000000 --- a/.next/static/chunks/0d3shmwh5_nmn.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91915,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),e.r(33525)},68017,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return u}});let n=e.r(90809),a=e.r(43476),o=n._(e.r(71645)),i=e.r(90373),s=e.r(54394);e.r(33525);let l=e.r(8372);class c extends o.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,s.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,s.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:o}=this.state,i={[s.HTTPAccessErrorStatus.NOT_FOUND]:e,[s.HTTPAccessErrorStatus.FORBIDDEN]:t,[s.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(o){let l=o===s.HTTPAccessErrorStatus.NOT_FOUND&&e,c=o===s.HTTPAccessErrorStatus.FORBIDDEN&&t,u=o===s.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return l||c||u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),!1,i[o]]}):n}return n}}function u({notFound:e,forbidden:t,unauthorized:r,children:n}){let s=(0,i.useUntrackedPathname)(),d=(0,o.useContext)(l.MissingSlotContext);return e||t||r?(0,a.jsx)(c,{pathname:s,notFound:e,forbidden:t,unauthorized:r,missingSlots:d,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28298,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useRouterBFCache",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t,r){let[a,o]=(0,n.useState)(()=>({tree:e,cacheNode:t,stateKey:r,next:null}));if(a.tree===e)return a;let i={tree:e,cacheNode:t,stateKey:r,next:null},s=1,l=a,c=i;for(;null!==l&&s<1;){if(l.stateKey===r){c.next=l.next;break}{s++;let e={tree:l.tree,cacheNode:l.cacheNode,stateKey:l.stateKey,next:null};c.next=e,c=e}l=l.next}return o(i),i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39756,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={LoadingBoundaryProvider:function(){return j},default:function(){return A}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),i=e.r(90809),s=e.r(43476),l=i._(e.r(71645)),c=o._(e.r(74080)),u=e.r(8372),d=e.r(1244),f=e.r(72383),p=e.r(91915),m=e.r(58442),h=e.r(68017),g=e.r(70725),y=e.r(28298);e.r(74180);let b=e.r(61994),P=e.r(33906),_=e.r(95871),v=c.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=["bottom","height","left","right","top","width","x","y"];function R(e,t){let r=e.getClientRects();if(0===r.length)return!1;let n=1/0;for(let e=0;e=0&&n<=t}class O extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,cacheNode:t}=this.props,r=e.forceScroll?e.scrollRef:t.scrollRef;if(null===r||!r.current)return;let n=null,a=e.hashFragment;if(a&&(n="top"===a?document.body:document.getElementById(a)??document.getElementsByName(a)[0]),n||(n="u"0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}r.current=!1,(0,p.disableSmoothScrollDuringRouteTransition)(()=>{if(a)return void n.scrollIntoView();let e=document.documentElement,t=e.clientHeight;!R(n,t)&&(e.scrollTop=0,R(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,e.hashFragment=null,n.focus()}}}}function w({children:e,cacheNode:t}){let r=(0,l.useContext)(u.GlobalLayoutRouterContext);if(!r)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,s.jsx)(O,{focusAndScrollRef:r.focusAndScrollRef,cacheNode:t,children:e})}function S({tree:e,segmentPath:t,debugNameContext:r,cacheNode:n,params:a,url:o,isActive:i}){let c,f=(0,l.useContext)(u.GlobalLayoutRouterContext);if((0,l.useContext)(b.NavigationPromisesContext),!f)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let p=null!==n?n:(0,l.use)(d.unresolvedThenable),m=null!==p.prefetchRsc?p.prefetchRsc:p.rsc,h=(0,l.useDeferredValue)(p.rsc,m);if((0,_.isDeferredRsc)(h)){let e=(0,l.use)(h);null===e&&(0,l.use)(d.unresolvedThenable),c=e}else null===h&&(0,l.use)(d.unresolvedThenable),c=h;let g=c;return(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:e,parentCacheNode:p,parentSegmentPath:t,parentParams:a,parentLoadingData:null,debugNameContext:r,url:o,isActive:i},children:g})}function j({loading:e,children:t}){let r=(0,l.use)(u.LayoutRouterContext);return null===r?t:(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:r.parentTree,parentCacheNode:r.parentCacheNode,parentSegmentPath:r.parentSegmentPath,parentParams:r.parentParams,parentLoadingData:e,debugNameContext:r.debugNameContext,url:r.url,isActive:r.isActive},children:t})}function C({name:e,loading:t,children:r}){if(null!==t){let n=t[0],a=t[1],o=t[2];return(0,s.jsx)(l.Suspense,{name:e,fallback:(0,s.jsxs)(s.Fragment,{children:[a,o,n]}),children:r})}return(0,s.jsx)(s.Fragment,{children:r})}function A({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:a,templateScripts:o,template:i,notFound:c,forbidden:p,unauthorized:b,segmentViewBoundaries:_}){let v=(0,l.useContext)(u.LayoutRouterContext);if(!v)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:E,parentCacheNode:R,parentSegmentPath:O,parentParams:j,parentLoadingData:x,url:k,isActive:T,debugNameContext:N}=v,D=E[0],M=null===O?[e]:O.concat([D,e]),I=E[1][e],F=R.slots;(void 0===I||null===F)&&(0,l.use)(d.unresolvedThenable);let $=I[0],L=F[e]??null,U=(0,g.createRouterCacheKey)($,!0),X=(0,y.useRouterBFCache)(I,L,U),H=[];do{let e=X.tree,l=X.cacheNode,d=X.stateKey,g=e[0],y=j;if(Array.isArray(g)){let e=g[0],t=g[1],r=g[2],n=(0,P.getParamValueFromCacheKey)(t,r);null!==n&&(y={...j,[e]:n})}let _=function(e){if("/"===e)return"/";if("string"==typeof e)if("(__SLOT__)"===e)return;else return e+"/";return e[1]+"/"}(g),v=_??N,E=void 0===_?void 0:N,R=(0,s.jsxs)(w,{cacheNode:l,children:[(0,s.jsx)(f.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,s.jsx)(C,{name:E,loading:x,children:(0,s.jsx)(h.HTTPAccessFallbackBoundary,{notFound:c,forbidden:p,unauthorized:b,children:(0,s.jsxs)(m.RedirectBoundary,{children:[(0,s.jsx)(S,{url:k,tree:e,params:y,cacheNode:l,segmentPath:M,debugNameContext:v,isActive:T&&d===U}),null]})})})}),null]}),O=(0,s.jsxs)(u.TemplateContext.Provider,{value:R,children:[a,o,i]},d);H.push(O),X=X.next}while(null!==X)return H}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},37457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(90809),a=e.r(43476),o=n._(e.r(71645)),i=e.r(8372);function s(){let e=(0,o.useContext)(i.TemplateContext);return(0,a.jsx)(a.Fragment,{children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},93504,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},66996,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(93504).createRenderSearchParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6831,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97689,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(6831).createRenderParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},66373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={accumulateRootVaryParam:function(){return y},accumulateVaryParam:function(){return g},createResponseVaryParamsAccumulator:function(){return c},createVaryParamsAccumulator:function(){return u},createVaryingParams:function(){return b},createVaryingSearchParams:function(){return P},emptyVaryParamsAccumulator:function(){return l},finishAccumulatingVaryParams:function(){return _},getMetadataVaryParamsAccumulator:function(){return d},getMetadataVaryParamsThenable:function(){return p},getRootParamsVaryParamsAccumulator:function(){return h},getVaryParamsThenable:function(){return f},getViewportVaryParamsAccumulator:function(){return m}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(62141);function i(){let e={varyParams:new Set,status:"pending",value:new Set,then(t){t&&("pending"===e.status?e.resolvers.push(t):t(e.value))},resolvers:[]};return e}let s=new Set,l={varyParams:s,status:"fulfilled",value:s,then(e){e&&e(s)},resolvers:[]};function c(){let e=i();return{head:e,rootParams:i(),segments:new Set}}function u(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t){let e=i();return t.segments.add(e),e}}}return null}function d(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.head}}return null}function f(e){return e}function p(){let e=d();return null!==e?e:null}let m=d;function h(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.rootParams}}return null}function g(e,t){e.varyParams.add(t)}function y(e){let t=h();null!==t&&g(t,e)}function b(e,t,r){if(null!==r)return new Proxy(t,{get:(t,n,a)=>("string"==typeof n&&(n===r||Object.prototype.hasOwnProperty.call(t,n))&&g(e,n),Reflect.get(t,n,a)),has:(t,n)=>(n===r&&g(e,r),Reflect.has(t,n)),ownKeys:t=>(g(e,r),Reflect.ownKeys(t))});let n={};for(let r in t)Object.defineProperty(n,r,{get:()=>(g(e,r),t[r]),enumerable:!0});return n}function P(e,t){let r={};for(let n in t)Object.defineProperty(r,n,{get:()=>(g(e,"?"),t[n]),enumerable:!0});return r}async function _(e){let t=e.rootParams.varyParams;for(let r of(v(e.head,t),e.segments))v(r,t);await Promise.resolve(),await Promise.resolve(),await Promise.resolve()}function v(e,t){if("pending"!==e.status)return;let r=new Set(e.varyParams);for(let e of t)r.add(e);for(let t of(e.value=r,e.status="fulfilled",e.resolvers))t(r);e.resolvers=[]}},42715,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},76361,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return l}});let n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(e.r(71645));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}let o={current:null},i="function"==typeof n.cache?n.cache:e=>e,s=console.warn;function l(e){return function(...t){s(e(...t))}}i(e=>{try{s(o.current)}finally{o.current=null}})},65932,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return i},wellKnownProperties:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function i(e,t){return o.test(t)?`\`${e}.${t}\``:`\`${e}[${JSON.stringify(t)}]\``}function s(e,t){let r=JSON.stringify(t);return`\`Reflect.has(${e}, ${r})\`, \`${r} in ${e}\`, or similar`}let l=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"])},83066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},41643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=e.r(83066)},50999,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return c},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(43248),i=e.r(41643);function s(e,t){throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function c(){let e=i.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},28649,(e,t,r)=>{"use strict";var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={RequestCookies:()=>h,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>f,stringifyCookie:()=>u};for(var c in l)n(s,c,{get:l[c],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function d(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,a]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=a?a:"true"))}catch{}}return t}function f(e){if(!e)return;let[[t,r],...n]=d(e),{domain:a,expires:o,httponly:i,maxage:s,path:l,samesite:c,secure:u,partitioned:f,priority:h}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,b={name:t,value:decodeURIComponent(r),domain:a,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:p.includes(g=(g=c).toLowerCase())?g:void 0},...u&&{secure:!0},...h&&{priority:m.includes(y=(y=h).toLowerCase())?y:void 0},...f&&{partitioned:!0}};let e={};for(let t in b)b[t]&&(e[t]=b[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var p=["strict","lax","none"],m=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const a=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(a)?a:function(e){if(!e)return[];var t,r,n,a,o,i=[],s=0;function l(){for(;s=e.length)&&i.push(e.substring(t,e.length))}return i}(a)){const t=f(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,a=this._parsed;return a.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(a,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},96883,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RequestCookies:function(){return o.RequestCookies},ResponseCookies:function(){return o.ResponseCookies},stringifyCookie:function(){return o.stringifyCookie}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(28649)},97270,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MutableRequestCookiesAdapter:function(){return m},ReadonlyRequestCookiesError:function(){return c},RequestCookiesAdapter:function(){return u},appendMutableCookies:function(){return p},areCookiesMutableInCurrentPhase:function(){return g},createCookiesWithMutableAccessCheck:function(){return h},getModifiedCookieValues:function(){return f},responseCookiesToRequestCookies:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(96883),i=e.r(42715),s=e.r(63599),l=e.r(39146);class c extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new c}}class u{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return c.callable;default:return i.ReflectAdapter.get(e,t,r)}}})}}let d=Symbol.for("next.mutated.cookies");function f(e){let t=e[d];return t&&Array.isArray(t)&&0!==t.length?t:[]}function p(e,t){let r=f(t);if(0===r.length)return!1;let n=new o.ResponseCookies(e),a=n.getAll();for(let e of r)n.set(e);for(let e of a)n.set(e);return!0}class m{static wrap(e,t){let r=new o.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],a=new Set,c=()=>{let e=s.workAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=l.ActionDidRevalidateStaticAndDynamic),n=r.getAll().filter(e=>a.has(e.name)),t){let e=[];for(let t of n){let r=new o.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},u=new Proxy(r,{get(e,t,r){switch(t){case d:return n;case"delete":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),u}finally{c()}};case"set":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),u}finally{c()}};default:return i.ReflectAdapter.get(e,t,r)}}});return u}}function h(e){let t=new Proxy(e.mutableCookies,{get(r,n,a){switch(n){case"delete":return function(...n){return y(e,"cookies().delete"),r.delete(...n),t};case"set":return function(...n){return y(e,"cookies().set"),r.set(...n),t};default:return i.ReflectAdapter.get(r,n,a)}}});return t}function g(e){return"action"===e.phase}function y(e,t){if(!g(e))throw new c}function b(e){let t=new o.RequestCookies(new Headers);for(let r of e.getAll())t.set(r);return t}},87720,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HeadersAdapter:function(){return s},ReadonlyHeadersError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(42715);class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class s extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return o.ReflectAdapter.get(t,r,n);let a=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===a);if(void 0!==i)return o.ReflectAdapter.get(t,i,n)},set(t,r,n,a){if("symbol"==typeof r)return o.ReflectAdapter.set(t,r,n,a);let i=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);return o.ReflectAdapter.set(t,s??r,n,a)},has(t,r){if("symbol"==typeof r)return o.ReflectAdapter.has(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==a&&o.ReflectAdapter.has(t,a)},deleteProperty(t,r){if("symbol"==typeof r)return o.ReflectAdapter.deleteProperty(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===a||o.ReflectAdapter.deleteProperty(t,a)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return i.callable;default:return o.ReflectAdapter.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new s(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},1643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return l},getSegmentParam:function(){return i},isCatchAll:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(91463);function i(e){let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},90929,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(98183);function o(e,t,r=!0){let i=new URL("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={InstantValidationError:function(){return s},isInstantValidationError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="INSTANT_VALIDATION_ERROR";function i(e){return!!(e&&"object"==typeof e&&e instanceof Error&&e.digest===o)}class s extends Error{constructor(...e){super(...e),this.digest=o}}},18450,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assertRootParamInSamples:function(){return S},createCookiesFromSample:function(){return y},createDraftModeForValidation:function(){return _},createExhaustiveParamsProxy:function(){return v},createExhaustiveSearchParamsProxy:function(){return E},createExhaustiveURLSearchParamsProxy:function(){return R},createHeadersFromSample:function(){return P},createRelativeURLFromSamples:function(){return w},createValidationSampleTracking:function(){return m},trackMissingSampleError:function(){return h},trackMissingSampleErrorAndThrow:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(96883),i=e.r(97270),s=e.r(87720),l=e.r(1643),c=e.r(90929),u=e.r(12718),d=e.r(13770),f=e.r(62141),p=e.r(65932);function m(){return{missingSampleErrors:[]}}function h(e){(function(){let e=null,t=f.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"request":case"validation-client":e=t.validationSampleTracking??null}if(!e)throw Object.defineProperty(new u.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking"),"__NEXT_ERROR_CODE",{value:"E1110",enumerable:!1,configurable:!0});return e})().missingSampleErrors.push(e)}function g(e){throw h(e),e}function y(e,t){let r=new Set,n=new o.RequestCookies(new Headers);if(e)for(let t of e)r.add(t.name),null!==t.value&&n.set(t.name,t.value);return new Proxy(i.RequestCookiesAdapter.seal(n),{get(e,n,a){if("has"===n){let o=Reflect.get(e,n,a);return function(n){return r.has(n)||g(b(t,n)),o.call(e,n)}}if("get"===n){let o=Reflect.get(e,n,a);return function(n){let a;if("string"==typeof n)a=n;else{if(!n||"object"!=typeof n||"string"!=typeof n.name)return o.call(e,n);a=n.name}return r.has(a)||g(b(t,a)),o.call(e,a)}}return Reflect.get(e,n,a)}})}function b(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed cookie "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${t}", value: null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1115",enumerable:!1,configurable:!0})}function P(e,t,r){let n=e?[...e]:[];if(n.find(([e])=>"cookie"===e.toLowerCase()))throw Object.defineProperty(new d.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'),"__NEXT_ERROR_CODE",{value:"E1111",enumerable:!1,configurable:!0});if(t){let e=t.toString();n.push(["cookie",""!==e?e:null])}let a=new Set,o={};for(let[e,t]of n)a.add(e.toLowerCase()),null!==t&&(o[e.toLowerCase()]=t);return new Proxy(s.HeadersAdapter.seal(s.HeadersAdapter.from(o)),{get(e,t,n){if("get"===t||"has"===t){let o=Reflect.get(e,t,n);return function(t){let n=t.toLowerCase();return a.has(n)||g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed header "${n}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`headers\` array, or \`["${n}", null]\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1116",enumerable:!1,configurable:!0})),o.call(e,n)}}return Reflect.get(e,t,n)}})}function _(){return{get isEnabled(){return!1},enable(){throw Object.defineProperty(Error("Draft mode cannot be enabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1092",enumerable:!1,configurable:!0})},disable(){throw Object.defineProperty(Error("Draft mode cannot be disabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1094",enumerable:!1,configurable:!0})}}}function v(e,t,r){return new Proxy(e,{get:(n,a,o)=>("string"==typeof a&&!p.wellKnownProperties.has(a)&&a in e&&!t.has(a)&&g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed param "${a}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1095",enumerable:!1,configurable:!0})),Reflect.get(n,a,o))})}function E(e,t,r){return new Proxy(e,{get:(e,n,a)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(O(r,n)),Reflect.get(e,n,a)),has:(e,n)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(O(r,n)),Reflect.has(e,n))})}function R(e,t,r){return new Proxy(e,{get(e,n,a){if("get"===n||"getAll"===n||"has"===n){let o=Reflect.get(e,n,a);return n=>("string"!=typeof n||t.has(n)||g(O(r,n)),o.call(e,n))}let o=Reflect.get(e,n,a);return"function"!=typeof o||Object.hasOwn(e,n)?o:o.bind(e)}})}function O(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed searchParam "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${t}": null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1098",enumerable:!1,configurable:!0})}function w(e,t,r){let n=function(e,t){let r=[];for(let n of e.split("/")){let e=(0,l.getSegmentParam)(n);if(e)switch(e.paramType){case"catchall":case"optional-catchall":{let a=t[e.paramName];if(void 0===a)a=[n];else if(!Array.isArray(a))throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be an array of strings, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1104",enumerable:!1,configurable:!0});r.push(...a.map(e=>encodeURIComponent(e)));break}case"dynamic":{let a=t[e.paramName];if(void 0===a)a=n;else if("string"!=typeof a)throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be a string, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1108",enumerable:!1,configurable:!0});r.push(encodeURIComponent(a));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw Object.defineProperty(new u.InvariantError("Not implemented: Validation of interception routes"),"__NEXT_ERROR_CODE",{value:"E1106",enumerable:!1,configurable:!0});default:e.paramType}else r.push(n)}return r.join("/")}(e,t??{}),a="";if(r){let e=(function(e){let t=new URLSearchParams;if(e){for(let[r,n]of Object.entries(e))if(null!=n)if(Array.isArray(n))for(let e of n)t.append(r,e);else t.set(r,n)}return t})(r).toString();e&&(a="?"+e)}return(0,c.parseRelativeUrl)(n+a,void 0,!0)}function S(e,t,r){if(t&&r in t);else{let t=e.route;g(Object.defineProperty(new d.InstantValidationError(`Route "${t}" accessed root param "${r}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1114",enumerable:!1,configurable:!0}))}}},69882,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrerenderSearchParamsForClientPage:function(){return P},createSearchParamsFromClient:function(){return g},createServerSearchParamsForMetadata:function(){return y},createServerSearchParamsForServerPage:function(){return b},makeErroringSearchParamsForUseCache:function(){return O}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(63599),i=e.r(66373),s=e.r(42715),l=e.r(67673),c=e.r(62141),u=e.r(12718),d=e.r(63138),f=e.r(76361),p=e.r(65932),m=e.r(50999),h=e.r(42852);function g(t){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(r,n);case"validation-client":return function(t,r,n){var a;let{createExhaustiveSearchParamsProxy:o}=e.r(18450);return Promise.resolve(t=o(t,new Set(Object.keys((null==(a=n.validationSamples)?void 0:a.searchParams)??{})),r.route))}(t,r,n);case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1133",enumerable:!1,configurable:!0});case"request":return v(t,r,n,!1)}(0,c.throwInvariantForMissingStore)()}function y(e,t){return b(e,(0,i.getMetadataVaryParamsAccumulator)(),t)}function b(e,t,r){let n=o.workAsyncStorage.getStore();if(!n)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let a=c.workUnitAsyncStorage.getStore();if(a)switch(a.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(n,a);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1066",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1128",enumerable:!1,configurable:!0});case"prerender-runtime":return function(e,t,r,n){let a=w(null!==r?(0,i.createVaryingSearchParams)(r,e):e),{stagedRendering:o}=t;if(!o)return a;let s=n?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return o.waitForStage(s).then(()=>a)}(e,a,t,r);case"request":return v(e,n,a,r)}(0,c.throwInvariantForMissingStore)()}function P(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve({});let t=c.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"prerender":case"prerender-client":return(0,d.makeHangingPromise)(t.renderSignal,e.route,"`searchParams`");case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1061",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1124",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,c.throwInvariantForMissingStore)()}function _(e,t){if(e.forceStatic)return Promise.resolve({});switch(t.type){case"prerender":case"prerender-client":var r=e,n=t;let a=E.get(n);if(a)return a;let o=(0,d.makeHangingPromise)(n.renderSignal,r.route,"`searchParams`"),i=new Proxy(o,{get(e,t,r){if(Object.hasOwn(o,t))return s.ReflectAdapter.get(e,t,r);switch(t){case"then":return(0,l.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",n),s.ReflectAdapter.get(e,t,r);case"status":return(0,l.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",n),s.ReflectAdapter.get(e,t,r);default:return s.ReflectAdapter.get(e,t,r)}}});return E.set(n,i),i;case"prerender-ppr":case"prerender-legacy":var c=e,u=t;let f=E.get(c);if(f)return f;let p=Promise.resolve({}),h=new Proxy(p,{get(e,t,r){if(Object.hasOwn(p,t))return s.ReflectAdapter.get(e,t,r);if("string"==typeof t&&"then"===t){let e="`await searchParams`, `searchParams.then`, or similar";c.dynamicShouldError?(0,m.throwWithStaticGenerationBailoutErrorWithDynamicError)(c.route,e):"prerender-ppr"===u.type?(0,l.postponeWithTracking)(c.route,e,u.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(e,c,u)}return s.ReflectAdapter.get(e,t,r)}});return E.set(c,h),h;default:return t}}function v(t,r,n,a){if(r.forceStatic)return Promise.resolve({});if(!n.asyncApiPromises)return w(t);if(n.validationSamples){let{createExhaustiveSearchParamsProxy:a}=e.r(18450),o=new Set(Object.keys(n.validationSamples.searchParams??{}));t=a(t,o,r.route)}return(a?n.asyncApiPromises.earlySharedSearchParamsParent:n.asyncApiPromises.sharedSearchParamsParent).then(()=>t)}let E=new WeakMap,R=new WeakMap;function O(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let t=R.get(e);if(t)return t;let r=Promise.resolve({}),n=new Proxy(r,{get:function t(n,a,o){return Object.hasOwn(r,a)||"string"!=typeof a||"then"!==a&&p.wellKnownProperties.has(a)||(0,m.throwForSearchParamsAccessInUseCache)(e,t),s.ReflectAdapter.get(n,a,o)}});return R.set(e,n),n}function w(e){let t=E.get(e);if(t)return t;let r=Promise.resolve(e);return E.set(e,r),r}(0,f.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})})},74804,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},88276,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorage",{enumerable:!0,get:function(){return n.dynamicAccessAsyncStorageInstance}});let n=e.r(74804)},41489,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createParamsFromClient:function(){return g},createPrerenderParamsForClientSegment:function(){return _},createServerParamsForMetadata:function(){return y},createServerParamsForRoute:function(){return b},createServerParamsForServerSegment:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(63599),i=e.r(66373),s=e.r(42715),l=e.r(67673),c=e.r(62141),u=e.r(12718),d=e.r(65932),f=e.r(63138),p=e.r(76361),m=e.r(88276),h=e.r(42852);function g(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(e,null,t,r,null);case"validation-client":return R(e,t,r.validationSamples);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1122",enumerable:!1,configurable:!0});case"request":if(r.validationSamples)return R(e,t,r.validationSamples);return S(e)}(0,c.throwInvariantForMissingStore)()}function y(e,t,r){return P(e,t,(0,i.getMetadataVaryParamsAccumulator)(),r)}function b(e,t=null){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return v(e,null,r,n,t);case"prerender-client":case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1064",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1131",enumerable:!1,configurable:!0});case"prerender-runtime":return E(e,null,n,t,!1);case"request":return S(e)}(0,c.throwInvariantForMissingStore)()}function P(t,r,n,a){let i=o.workAsyncStorage.getStore();if(!i)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let s=c.workUnitAsyncStorage.getStore();if(s)switch(s.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(t,r,i,s,n);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1101",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1120",enumerable:!1,configurable:!0});case"prerender-runtime":return E(t,r,s,n,a);case"request":if(s.asyncApiPromises&&s.validationSamples)return function(t,r,n,a,o){let{createExhaustiveParamsProxy:i}=e.r(18450),s=i(t,new Set(Object.keys(n.params??{})),r.route);return(o?a.earlySharedParamsParent:a.sharedParamsParent).then(()=>s)}(t,i,s.validationSamples,s.asyncApiPromises,a);if(s.asyncApiPromises&&function(e,t){if(t){for(let r in e)if(t.has(r))return!0}return!1}(t,s.fallbackParams))return(a?s.asyncApiPromises.earlySharedParamsParent:s.asyncApiPromises.sharedParamsParent).then(()=>t);return S(t)}(0,c.throwInvariantForMissingStore)()}function _(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return(0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`")}break;case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in validation contexts."),"__NEXT_ERROR_CODE",{value:"E1099",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1126",enumerable:!1,configurable:!0})}return Promise.resolve(e)}function v(e,t,r,n,a){let o=null!==a?(0,i.createVaryingParams)(a,e,t):e;switch(n.type){case"prerender":case"prerender-client":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r){let n=O.get(e);if(n)return n;let a=new Proxy((0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`"),w);return O.set(e,a),a}(o,r,n)}break}case"prerender-ppr":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r,n){let a=O.get(e);if(a)return a;let o={...e},i=Promise.resolve(o);return O.set(e,i),Object.keys(e).forEach(e=>{d.wellKnownProperties.has(e)||t.has(e)&&Object.defineProperty(o,e,{get(){let t=(0,d.describeStringPropertyAccess)("params",e);"prerender-ppr"===n.type?(0,l.postponeWithTracking)(r.route,t,n.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(t,r,n)},enumerable:!0})}),i}(o,t,r,n)}}}return S(o)}function E(e,t,r,n,a){let o=S(null!==n?(0,i.createVaryingParams)(n,e,t):e),{stagedRendering:s}=r;if(!s)return o;let l=a?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return s.waitForStage(l).then(()=>o)}function R(t,r,n){let{createExhaustiveParamsProxy:a}=e.r(18450);return Promise.resolve(a(t,new Set(Object.keys((null==n?void 0:n.params)??{})),r.route))}let O=new WeakMap,w={get:function(e,t,r){if("then"===t||"catch"===t||"finally"===t){let n=s.ReflectAdapter.get(e,t,r);return({[t]:(...t)=>{let r=m.dynamicAccessAsyncStorage.getStore();return r&&r.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(n.apply(e,t),w)}})[t]}return s.ReflectAdapter.get(e,t,r)}};function S(e){let t=O.get(e);if(t)return t;let r=Promise.resolve(e);return O.set(e,r),r}(0,p.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})})},47257,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return l}});let n=e.r(43476),a=e.r(8372),o=e.r(71645),i=e.r(33906),s=e.r(61994);function l({Component:t,serverProvidedParams:r}){let c,u;if(null!==r)c=r.searchParams,u=r.params;else{let e=(0,o.use)(a.LayoutRouterContext);u=null!==e?e.parentParams:{},c=(0,i.urlSearchParamsToParsedUrlQuery)((0,o.use)(s.SearchParamsContext))}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientSegmentRoot",{enumerable:!0,get:function(){return i}});let n=e.r(43476),a=e.r(8372),o=e.r(71645);function i({Component:t,slots:r,serverProvidedParams:s}){let l;if(null!==s)l=s.params;else{let e=(0,o.use)(a.LayoutRouterContext);l=null!==e?e.parentParams:{}}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"IconMark",{enumerable:!0,get:function(){return a}});let n=e.r(43476),a=()=>"u">typeof window?null:(0,n.jsx)("meta",{name:"«nxt-icon»"})}]); \ No newline at end of file diff --git a/.next/static/chunks/0e.~6vil2~4uy.js b/.next/static/chunks/0e.~6vil2~4uy.js deleted file mode 100644 index f0b5100..0000000 --- a/.next/static/chunks/0e.~6vil2~4uy.js +++ /dev/null @@ -1,758 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79877,33623,e=>{"use strict";let t,r,i,s,a,n;var o,l,u,c,h,d,f,g,p,v,m,A,x,D,w,E,C,B,T,S,y,M,P,I,U,R=e.i(43476),b=e.i(71645),F=e.i(90072),L=e.i(28600),O=e.i(25234),G=e.i(67335),N=e.i(44208),H=(e.i(60602),e.i(24205),F),z=(t=new Float32Array([-1,-1,0,3,-1,0,-1,3,0]),r=new Float32Array([0,0,2,0,0,2]),(i=new H.BufferGeometry).setAttribute("position",new H.BufferAttribute(t,3)),i.setAttribute("uv",new H.BufferAttribute(r,2)),i),k=class e{static get fullscreenGeometry(){return z}constructor(e="Pass",t=new H.Scene,r=new H.OrthographicCamera){this.name=e,this.renderer=null,this.scene=t,this.camera=r,this.screen=null,this.rtt=!0,this.needsSwap=!0,this.needsDepthBlit=!1,this.needsDepthTexture=!1,this.enabled=!0}get renderToScreen(){return!this.rtt}set renderToScreen(e){if(this.rtt===e){let t=this.fullscreenMaterial;null!==t&&(t.needsUpdate=!0),this.rtt=!e}}set mainScene(e){}set mainCamera(e){}setRenderer(e){this.renderer=e}isEnabled(){return this.enabled}setEnabled(e){this.enabled=e}get fullscreenMaterial(){return null!==this.screen?this.screen.material:null}set fullscreenMaterial(t){let r=this.screen;null!==r?r.material=t:((r=new H.Mesh(e.fullscreenGeometry,t)).frustumCulled=!1,null===this.scene&&(this.scene=new H.Scene),this.scene.add(r),this.screen=r)}getFullscreenMaterial(){return this.fullscreenMaterial}setFullscreenMaterial(e){this.fullscreenMaterial=e}getDepthTexture(){return null}setDepthTexture(e,t=H.BasicDepthPacking){}render(e,t,r,i,s){throw Error("Render method not implemented!")}setSize(e,t){}initialize(e,t,r){}dispose(){for(let t of Object.keys(this)){let r=this[t];(r instanceof H.WebGLRenderTarget||r instanceof H.Material||r instanceof H.Texture||r instanceof e)&&this[t].dispose()}null!==this.fullscreenMaterial&&this.fullscreenMaterial.dispose()}},V=class extends k{constructor(){super("ClearMaskPass",null,null),this.needsSwap=!1}render(e,t,r,i,s){let a=e.state.buffers.stencil;a.setLocked(!1),a.setTest(!1)}},Q=`#ifdef COLOR_WRITE -#include -#include -#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#endif -#ifdef DEPTH_WRITE -#include -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -return unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -return texture2D(depthBuffer,uv).r; -#endif -} -#endif -#ifdef USE_WEIGHTS -uniform vec4 channelWeights; -#endif -uniform float opacity;varying vec2 vUv;void main(){ -#ifdef COLOR_WRITE -vec4 texel=texture2D(inputBuffer,vUv); -#ifdef USE_WEIGHTS -texel*=channelWeights; -#endif -gl_FragColor=opacity*texel; -#ifdef COLOR_SPACE_CONVERSION -#include -#endif -#include -#else -gl_FragColor=vec4(0.0); -#endif -#ifdef DEPTH_WRITE -gl_FragDepth=readDepth(vUv); -#endif -}`,Y="varying vec2 vUv;void main(){vUv=position.xy*0.5+0.5;gl_Position=vec4(position.xy,1.0,1.0);}",W=class extends H.ShaderMaterial{constructor(){super({name:"CopyMaterial",defines:{COLOR_SPACE_CONVERSION:"1",DEPTH_PACKING:"0",COLOR_WRITE:"1"},uniforms:{inputBuffer:new H.Uniform(null),depthBuffer:new H.Uniform(null),channelWeights:new H.Uniform(null),opacity:new H.Uniform(1)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:Q,vertexShader:Y}),this.depthFunc=H.AlwaysDepth}get inputBuffer(){return this.uniforms.inputBuffer.value}set inputBuffer(e){let t=null!==e;this.colorWrite!==t&&(t?this.defines.COLOR_WRITE=!0:delete this.defines.COLOR_WRITE,this.colorWrite=t,this.needsUpdate=!0),this.uniforms.inputBuffer.value=e}get depthBuffer(){return this.uniforms.depthBuffer.value}set depthBuffer(e){let t=null!==e;this.depthWrite!==t&&(t?this.defines.DEPTH_WRITE=!0:delete this.defines.DEPTH_WRITE,this.depthTest=t,this.depthWrite=t,this.needsUpdate=!0),this.uniforms.depthBuffer.value=e}set depthPacking(e){this.defines.DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}get colorSpaceConversion(){return void 0!==this.defines.COLOR_SPACE_CONVERSION}set colorSpaceConversion(e){this.colorSpaceConversion!==e&&(e?this.defines.COLOR_SPACE_CONVERSION=!0:delete this.defines.COLOR_SPACE_CONVERSION,this.needsUpdate=!0)}get channelWeights(){return this.uniforms.channelWeights.value}set channelWeights(e){null!==e?(this.defines.USE_WEIGHTS="1",this.uniforms.channelWeights.value=e):delete this.defines.USE_WEIGHTS,this.needsUpdate=!0}setInputBuffer(e){this.uniforms.inputBuffer.value=e}getOpacity(e){return this.uniforms.opacity.value}setOpacity(e){this.uniforms.opacity.value=e}},K=class extends k{constructor(e,t=!0){super("CopyPass"),this.fullscreenMaterial=new W,this.needsSwap=!1,this.renderTarget=e,void 0===e&&(this.renderTarget=new H.WebGLRenderTarget(1,1,{minFilter:H.LinearFilter,magFilter:H.LinearFilter,stencilBuffer:!1,depthBuffer:!1}),this.renderTarget.texture.name="CopyPass.Target"),this.autoResize=t}get resize(){return this.autoResize}set resize(e){this.autoResize=e}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}setAutoResizeEnabled(e){this.autoResize=e}render(e,t,r,i,s){this.fullscreenMaterial.inputBuffer=t.texture,e.setRenderTarget(this.renderToScreen?null:this.renderTarget),e.render(this.scene,this.camera)}setSize(e,t){this.autoResize&&this.renderTarget.setSize(e,t)}initialize(e,t,r){void 0!==r&&(this.renderTarget.texture.type=r,r!==H.UnsignedByteType?this.fullscreenMaterial.defines.FRAMEBUFFER_PRECISION_HIGH="1":null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTarget.texture.colorSpace=H.SRGBColorSpace))}},X=new H.Color,J=class extends k{constructor(e=!0,t=!0,r=!1){super("ClearPass",null,null),this.needsSwap=!1,this.color=e,this.depth=t,this.stencil=r,this.overrideClearColor=null,this.overrideClearAlpha=-1}setClearFlags(e,t,r){this.color=e,this.depth=t,this.stencil=r}getOverrideClearColor(){return this.overrideClearColor}setOverrideClearColor(e){this.overrideClearColor=e}getOverrideClearAlpha(){return this.overrideClearAlpha}setOverrideClearAlpha(e){this.overrideClearAlpha=e}render(e,t,r,i,s){let a=this.overrideClearColor,n=this.overrideClearAlpha,o=e.getClearAlpha(),l=null!==a,u=n>=0;l?(e.getClearColor(X),e.setClearColor(a,u?n:o)):u&&e.setClearAlpha(n),e.setRenderTarget(this.renderToScreen?null:t),e.clear(this.color,this.depth,this.stencil),l?e.setClearColor(X,o):u&&e.setClearAlpha(o)}},j=class extends k{constructor(e,t){super("MaskPass",e,t),this.needsSwap=!1,this.clearPass=new J(!1,!1,!0),this.inverse=!1}set mainScene(e){this.scene=e}set mainCamera(e){this.camera=e}get inverted(){return this.inverse}set inverted(e){this.inverse=e}get clear(){return this.clearPass.enabled}set clear(e){this.clearPass.enabled=e}getClearPass(){return this.clearPass}isInverted(){return this.inverted}setInverted(e){this.inverted=e}render(e,t,r,i,s){let a=e.getContext(),n=e.state.buffers,o=this.scene,l=this.camera,u=this.clearPass,c=+!this.inverted;n.color.setMask(!1),n.depth.setMask(!1),n.color.setLocked(!0),n.depth.setLocked(!0),n.stencil.setTest(!0),n.stencil.setOp(a.REPLACE,a.REPLACE,a.REPLACE),n.stencil.setFunc(a.ALWAYS,c,0xffffffff),n.stencil.setClear(1-c),n.stencil.setLocked(!0),this.clearPass.enabled&&(this.renderToScreen?u.render(e,null):(u.render(e,t),u.render(e,r))),this.renderToScreen?e.setRenderTarget(null):(e.setRenderTarget(t),e.render(o,l),e.setRenderTarget(r)),e.render(o,l),n.color.setLocked(!1),n.depth.setLocked(!1),n.stencil.setLocked(!1),n.stencil.setFunc(a.EQUAL,1,0xffffffff),n.stencil.setOp(a.KEEP,a.KEEP,a.KEEP),n.stencil.setLocked(!0)}},Z=class{constructor(){this.startTime=performance.now(),this.previousTime=0,this.currentTime=0,this._delta=0,this._elapsed=0,this._fixedDelta=1e3/60,this.timescale=1,this.useFixedDelta=!1,this._autoReset=!1}get autoReset(){return this._autoReset}set autoReset(e){"u">typeof document&&void 0!==document.hidden&&(e?document.addEventListener("visibilitychange",this):document.removeEventListener("visibilitychange",this),this._autoReset=e)}get delta(){return .001*this._delta}get fixedDelta(){return .001*this._fixedDelta}set fixedDelta(e){this._fixedDelta=1e3*e}get elapsed(){return .001*this._elapsed}update(e){this.useFixedDelta?this._delta=this.fixedDelta:(this.previousTime=this.currentTime,this.currentTime=(void 0!==e?e:performance.now())-this.startTime,this._delta=this.currentTime-this.previousTime),this._delta*=this.timescale,this._elapsed+=this._delta}reset(){this._delta=0,this._elapsed=0,this.currentTime=performance.now()-this.startTime}getDelta(){return this.delta}getElapsed(){return this.elapsed}handleEvent(e){document.hidden||(this.currentTime=performance.now()-this.startTime)}dispose(){this.autoReset=!1}},q=class{constructor(e=null,{depthBuffer:t=!0,stencilBuffer:r=!1,multisampling:i=0,frameBufferType:s}={}){this.renderer=null,this.inputBuffer=this.createBuffer(t,r,s,i),this.outputBuffer=this.inputBuffer.clone(),this.copyPass=new K,this.depthTexture=null,this.depthRenderTarget=null,this.passes=[],this.timer=new Z,this.autoRenderToScreen=!0,this.setRenderer(e)}get multisampling(){return this.inputBuffer.samples}set multisampling(e){let t=this.inputBuffer,r=this.multisampling;r>0&&e>0?(this.inputBuffer.samples=e,this.outputBuffer.samples=e,this.inputBuffer.dispose(),this.outputBuffer.dispose()):r!==e&&(this.inputBuffer.dispose(),this.outputBuffer.dispose(),this.inputBuffer=this.createBuffer(t.depthBuffer,t.stencilBuffer,t.texture.type,e),this.outputBuffer=this.inputBuffer.clone())}getTimer(){return this.timer}getRenderer(){return this.renderer}setRenderer(e){if(this.renderer=e,null!==e){let t=e.getSize(new H.Vector2),r=e.getContext().getContextAttributes().alpha,i=this.inputBuffer.texture.type;for(let s of(i===H.UnsignedByteType&&e.outputColorSpace===H.SRGBColorSpace&&(this.inputBuffer.texture.colorSpace=H.SRGBColorSpace,this.outputBuffer.texture.colorSpace=H.SRGBColorSpace,this.inputBuffer.dispose(),this.outputBuffer.dispose()),e.autoClear=!1,this.setSize(t.width,t.height),this.passes))s.initialize(e,r,i)}}replaceRenderer(e,t=!0){let r=this.renderer,i=r.domElement.parentNode;return this.setRenderer(e),t&&null!==i&&(i.removeChild(r.domElement),i.appendChild(e.domElement)),r}createDepthTexture(){let e=this.inputBuffer,t=new H.DepthTexture;this.depthTexture=t,e.stencilBuffer?(t.format=H.DepthStencilFormat,t.type=H.UnsignedInt248Type):t.type=H.FloatType;let r=t.clone();return r.name="EffectComposer.StableDepth",this.depthRenderTarget=new H.WebGLRenderTarget(e.width,e.height,{depthBuffer:!0,stencilBuffer:e.stencilBuffer,depthTexture:r}),r}blitDepthBuffer(e){let t=this.renderer,r=this.depthRenderTarget,i=t.properties,s=t.getContext();t.setRenderTarget(r);let a=i.get(e).__webglFramebuffer,n=i.get(r).__webglFramebuffer,o=e.stencilBuffer?s.DEPTH_BUFFER_BIT|s.STENCIL_BUFFER_BIT:s.DEPTH_BUFFER_BIT;s.bindFramebuffer(s.READ_FRAMEBUFFER,a),s.bindFramebuffer(s.DRAW_FRAMEBUFFER,n),s.blitFramebuffer(0,0,e.width,e.height,0,0,r.width,r.height,o,s.NEAREST),s.bindFramebuffer(s.READ_FRAMEBUFFER,null),s.bindFramebuffer(s.DRAW_FRAMEBUFFER,null),t.setRenderTarget(null)}deleteDepthTexture(){if(null!==this.depthTexture)for(let e of(this.depthTexture.dispose(),this.depthTexture=null,this.depthRenderTarget.dispose(),this.depthRenderTarget=null,this.inputBuffer.depthTexture=null,this.outputBuffer.depthTexture=null,this.passes))e.setDepthTexture(null)}createBuffer(e,t,r,i){let s=this.renderer,a=null===s?new H.Vector2:s.getDrawingBufferSize(new H.Vector2),n={minFilter:H.LinearFilter,magFilter:H.LinearFilter,stencilBuffer:t,depthBuffer:e,type:r},o=new H.WebGLRenderTarget(a.width,a.height,n);return i>0&&(o.samples=i),r===H.UnsignedByteType&&null!==s&&s.outputColorSpace===H.SRGBColorSpace&&(o.texture.colorSpace=H.SRGBColorSpace),o.texture.name="EffectComposer.Buffer",o.texture.generateMipmaps=!1,o}setMainScene(e){for(let t of this.passes)t.mainScene=e}setMainCamera(e){for(let t of this.passes)t.mainCamera=e}addPass(e,t){let r=this.passes,i=this.renderer,s=i.getDrawingBufferSize(new H.Vector2),a=i.getContext().getContextAttributes().alpha,n=this.inputBuffer.texture.type;if(e.renderer=i,e.setSize(s.width,s.height),e.initialize(i,a,n),this.autoRenderToScreen&&(r.length>0&&(r[r.length-1].renderToScreen=!1),e.renderToScreen&&(this.autoRenderToScreen=!1)),void 0!==t?r.splice(t,0,e):r.push(e),this.autoRenderToScreen&&(r[r.length-1].renderToScreen=!0),e.needsDepthTexture||null!==this.depthTexture)if(null===this.depthTexture){let t=this.createDepthTexture();for(e of r)e.setDepthTexture(t)}else{let t=this.depthRenderTarget.depthTexture;e.setDepthTexture(t)}}removePass(e){let t=this.passes,r=t.indexOf(e);if(-1!==r&&t.splice(r,1).length>0){if(null!==this.depthTexture&&!t.reduce((e,t)=>e||t.needsDepthTexture,!1)){let t=this.depthRenderTarget.depthTexture;e.getDepthTexture()===t&&e.setDepthTexture(null),this.deleteDepthTexture()}this.autoRenderToScreen&&r===t.length&&(e.renderToScreen=!1,t.length>0&&(t[t.length-1].renderToScreen=!0))}}removeAllPasses(){let e=this.passes;this.deleteDepthTexture(),e.length>0&&(this.autoRenderToScreen&&(e[e.length-1].renderToScreen=!1),this.passes=[])}render(e){let t,r=this.renderer,i=this.copyPass,s=this.inputBuffer,a=this.outputBuffer,n=!1;for(let o of(void 0===e&&(this.timer.update(),e=this.timer.getDelta()),this.passes))if(o.enabled){if(s.depthTexture=this.depthTexture,a.depthTexture=null,o.render(r,s,a,e,n),o.needsDepthBlit&&null!==this.depthRenderTarget&&this.blitDepthBuffer(s),o.needsSwap){if(n){i.renderToScreen=o.renderToScreen;let t=r.getContext(),l=r.state.buffers.stencil;l.setFunc(t.NOTEQUAL,1,0xffffffff),i.render(r,s,a,e,n),l.setFunc(t.EQUAL,1,0xffffffff)}t=s,s=a,a=t}o instanceof j?n=!0:o instanceof V&&(n=!1)}}setSize(e,t,r){let i=this.renderer,s=i.getSize(new H.Vector2);(void 0===e||void 0===t)&&(e=s.width,t=s.height),(s.width!==e||s.height!==t)&&i.setSize(e,t,r);let a=i.getDrawingBufferSize(new H.Vector2);for(let e of(this.inputBuffer.setSize(a.width,a.height),this.outputBuffer.setSize(a.width,a.height),null!==this.depthRenderTarget&&this.depthRenderTarget.setSize(a.width,a.height),this.passes))e.setSize(a.width,a.height)}reset(){this.dispose(),this.autoRenderToScreen=!0}dispose(){for(let e of this.passes)e.dispose();this.passes=[],null!==this.inputBuffer&&this.inputBuffer.dispose(),null!==this.outputBuffer&&this.outputBuffer.dispose(),this.deleteDepthTexture(),this.copyPass.dispose(),this.timer.dispose(),k.fullscreenGeometry.dispose()}},_={FRAGMENT_HEAD:"FRAGMENT_HEAD",FRAGMENT_MAIN_UV:"FRAGMENT_MAIN_UV",FRAGMENT_MAIN_IMAGE:"FRAGMENT_MAIN_IMAGE",VERTEX_HEAD:"VERTEX_HEAD",VERTEX_MAIN_SUPPORT:"VERTEX_MAIN_SUPPORT"},$=class{constructor(){this.shaderParts=new Map([[_.FRAGMENT_HEAD,null],[_.FRAGMENT_MAIN_UV,null],[_.FRAGMENT_MAIN_IMAGE,null],[_.VERTEX_HEAD,null],[_.VERTEX_MAIN_SUPPORT,null]]),this.defines=new Map,this.uniforms=new Map,this.blendModes=new Map,this.extensions=new Set,this.attributes=0,this.varyings=new Set,this.uvTransformation=!1,this.readDepth=!1,this.colorSpace=H.LinearSRGBColorSpace}},ee=!1,et=class{constructor(e=null){this.originalMaterials=new Map,this.material=null,this.materials=null,this.materialsBackSide=null,this.materialsDoubleSide=null,this.materialsFlatShaded=null,this.materialsFlatShadedBackSide=null,this.materialsFlatShadedDoubleSide=null,this.setMaterial(e),this.meshCount=0,this.replaceMaterial=e=>{if(e.isMesh){let t;if(e.material.flatShading)switch(e.material.side){case H.DoubleSide:t=this.materialsFlatShadedDoubleSide;break;case H.BackSide:t=this.materialsFlatShadedBackSide;break;default:t=this.materialsFlatShaded}else switch(e.material.side){case H.DoubleSide:t=this.materialsDoubleSide;break;case H.BackSide:t=this.materialsBackSide;break;default:t=this.materials}this.originalMaterials.set(e,e.material),e.isSkinnedMesh?e.material=t[2]:e.isInstancedMesh?e.material=t[1]:e.material=t[0],++this.meshCount}}}cloneMaterial(e){if(!(e instanceof H.ShaderMaterial))return e.clone();let t=e.uniforms,r=new Map;for(let e in t){let i=t[e].value;i.isRenderTargetTexture&&(t[e].value=null,r.set(e,i))}let i=e.clone();for(let e of r)t[e[0]].value=e[1],i.uniforms[e[0]].value=e[1];return i}setMaterial(e){if(this.disposeMaterials(),this.material=e,null!==e){let t=this.materials=[this.cloneMaterial(e),this.cloneMaterial(e),this.cloneMaterial(e)];for(let r of t)r.uniforms=Object.assign({},e.uniforms),r.side=H.FrontSide;t[2].skinning=!0,this.materialsBackSide=t.map(t=>{let r=this.cloneMaterial(t);return r.uniforms=Object.assign({},e.uniforms),r.side=H.BackSide,r}),this.materialsDoubleSide=t.map(t=>{let r=this.cloneMaterial(t);return r.uniforms=Object.assign({},e.uniforms),r.side=H.DoubleSide,r}),this.materialsFlatShaded=t.map(t=>{let r=this.cloneMaterial(t);return r.uniforms=Object.assign({},e.uniforms),r.flatShading=!0,r}),this.materialsFlatShadedBackSide=t.map(t=>{let r=this.cloneMaterial(t);return r.uniforms=Object.assign({},e.uniforms),r.flatShading=!0,r.side=H.BackSide,r}),this.materialsFlatShadedDoubleSide=t.map(t=>{let r=this.cloneMaterial(t);return r.uniforms=Object.assign({},e.uniforms),r.flatShading=!0,r.side=H.DoubleSide,r})}}render(e,t,r){let i=e.shadowMap.enabled;if(e.shadowMap.enabled=!1,ee){let i=this.originalMaterials;for(let s of(this.meshCount=0,t.traverse(this.replaceMaterial),e.render(t,r),i))s[0].material=s[1];this.meshCount!==i.size&&i.clear()}else{let i=t.overrideMaterial;t.overrideMaterial=this.material,e.render(t,r),t.overrideMaterial=i}e.shadowMap.enabled=i}disposeMaterials(){if(null!==this.material)for(let e of this.materials.concat(this.materialsBackSide).concat(this.materialsDoubleSide).concat(this.materialsFlatShaded).concat(this.materialsFlatShadedBackSide).concat(this.materialsFlatShadedDoubleSide))e.dispose()}dispose(){this.originalMaterials.clear(),this.disposeMaterials()}static get workaroundEnabled(){return ee}static set workaroundEnabled(e){ee=e}},er=class extends H.EventDispatcher{constructor(e=null,t=-1,r=-1,i=1){super(),null!==e&&this.addEventListener("change",()=>e.setSize(this.baseSize.width,this.baseSize.height)),this.baseSize=new H.Vector2(1,1),this.preferredSize=new H.Vector2(t,r),this.target=this.preferredSize,this.s=i,this.effectiveSize=new H.Vector2,this.addEventListener("change",()=>this.updateEffectiveSize()),this.updateEffectiveSize()}updateEffectiveSize(){let e=this.baseSize,t=this.preferredSize,r=this.effectiveSize,i=this.scale;-1!==t.width?r.width=t.width:-1!==t.height?r.width=Math.round(t.height*(e.width/Math.max(e.height,1))):r.width=Math.round(e.width*i),-1!==t.height?r.height=t.height:-1!==t.width?r.height=Math.round(t.width/Math.max(e.width/Math.max(e.height,1),1)):r.height=Math.round(e.height*i)}get width(){return this.effectiveSize.width}set width(e){this.preferredWidth=e}get height(){return this.effectiveSize.height}set height(e){this.preferredHeight=e}getWidth(){return this.width}getHeight(){return this.height}get scale(){return this.s}set scale(e){this.s!==e&&(this.s=e,this.preferredSize.setScalar(-1),this.dispatchEvent({type:"change"}))}getScale(){return this.scale}setScale(e){this.scale=e}get baseWidth(){return this.baseSize.width}set baseWidth(e){this.baseSize.width!==e&&(this.baseSize.width=e,this.dispatchEvent({type:"change"}))}getBaseWidth(){return this.baseWidth}setBaseWidth(e){this.baseWidth=e}get baseHeight(){return this.baseSize.height}set baseHeight(e){this.baseSize.height!==e&&(this.baseSize.height=e,this.dispatchEvent({type:"change"}))}getBaseHeight(){return this.baseHeight}setBaseHeight(e){this.baseHeight=e}setBaseSize(e,t){(this.baseSize.width!==e||this.baseSize.height!==t)&&(this.baseSize.set(e,t),this.dispatchEvent({type:"change"}))}get preferredWidth(){return this.preferredSize.width}set preferredWidth(e){this.preferredSize.width!==e&&(this.preferredSize.width=e,this.dispatchEvent({type:"change"}))}getPreferredWidth(){return this.preferredWidth}setPreferredWidth(e){this.preferredWidth=e}get preferredHeight(){return this.preferredSize.height}set preferredHeight(e){this.preferredSize.height!==e&&(this.preferredSize.height=e,this.dispatchEvent({type:"change"}))}getPreferredHeight(){return this.preferredHeight}setPreferredHeight(e){this.preferredHeight=e}setPreferredSize(e,t){(this.preferredSize.width!==e||this.preferredSize.height!==t)&&(this.preferredSize.set(e,t),this.dispatchEvent({type:"change"}))}copy(e){this.s=e.scale,this.baseSize.set(e.baseWidth,e.baseHeight),this.preferredSize.set(e.preferredWidth,e.preferredHeight),this.dispatchEvent({type:"change"})}static get AUTO_SIZE(){return -1}},ei=new class{constructor(e=0){this.nextId=e}getNextId(){return this.nextId++}reset(e=0){return this.nextId=e,this}}(2),es=class extends Set{constructor(e,t=ei.getNextId()){super(),this.exclusive=!1,this._layer=t,(this._layer<1||this._layer>31)&&(console.warn("Layer out of range, resetting to 2"),ei.reset(2),this._layer=ei.getNextId()),void 0!==e&&this.set(e)}get layer(){return this._layer}set layer(e){let t=this._layer;for(let r of this)r.layers.disable(t),r.layers.enable(e);this._layer=e}getLayer(){return this.layer}setLayer(e){this.layer=e}isExclusive(){return this.exclusive}setExclusive(e){this.exclusive=e}clear(){let e=this.layer;for(let t of this)t.layers.disable(e);return super.clear()}set(e){for(let t of(this.clear(),e))this.add(t);return this}indexOf(e){return this.has(e)?0:-1}add(e){return this.exclusive?e.layers.set(this.layer):e.layers.enable(this.layer),super.add(e)}delete(e){return this.has(e)&&e.layers.disable(this.layer),super.delete(e)}toggle(e){let t;return this.has(e)?(this.delete(e),t=!1):(this.add(e),t=!0),t}setVisible(e){for(let t of this)e?t.layers.enable(0):t.layers.disable(0);return this}},ea=new Map([[0,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=dst.rgb+src.rgb;return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[1,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){return mix(dst,src,src.a*opacity);}"],[2,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=(dst.rgb+src.rgb)*0.5;return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[3,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=RGBToHSL(dst.rgb);vec3 b=RGBToHSL(src.rgb);vec3 c=HSLToRGB(vec3(b.xy,a.z));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[4,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=dst.rgb,b=src.rgb;vec3 c=mix(step(0.0,b)*(1.0-min(vec3(1.0),(1.0-a)/max(b,1e-9))),vec3(1.0),step(1.0,a));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[5,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=dst.rgb,b=src.rgb;vec3 c=step(0.0,a)*mix(min(vec3(1.0),a/max(1.0-b,1e-9)),vec3(1.0),step(1.0,b));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[6,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=min(dst.rgb,src.rgb);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[7,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=abs(dst.rgb-src.rgb);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[8,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=dst.rgb/max(src.rgb,1e-9);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[9,null],[10,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=dst.rgb+src.rgb-2.0*dst.rgb*src.rgb;return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[11,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=min(dst.rgb,1.0);vec3 b=min(src.rgb,1.0);vec3 c=mix(2.0*a*b,1.0-2.0*(1.0-a)*(1.0-b),step(0.5,b));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[12,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=step(1.0,dst.rgb+src.rgb);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[13,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=RGBToHSL(dst.rgb);vec3 b=RGBToHSL(src.rgb);vec3 c=HSLToRGB(vec3(b.x,a.yz));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[14,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=max(1.0-src.rgb,0.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[15,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=src.rgb*max(1.0-dst.rgb,0.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[16,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=max(dst.rgb,src.rgb);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[17,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=clamp(src.rgb+dst.rgb-1.0,0.0,1.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[18,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=min(dst.rgb+src.rgb,1.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[19,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=clamp(2.0*src.rgb+dst.rgb-1.0,0.0,1.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[20,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=RGBToHSL(dst.rgb);vec3 b=RGBToHSL(src.rgb);vec3 c=HSLToRGB(vec3(a.xy,b.z));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[21,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=dst.rgb*src.rgb;return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[22,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=max(1.0-abs(1.0-dst.rgb-src.rgb),0.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[23,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){return mix(dst,src,opacity);}"],[24,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=2.0*src.rgb*dst.rgb;vec3 b=1.0-2.0*(1.0-src.rgb)*(1.0-dst.rgb);vec3 c=mix(a,b,step(0.5,dst.rgb));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[25,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 src2=2.0*src.rgb;vec3 c=mix(mix(src2,dst.rgb,step(0.5*dst.rgb,src.rgb)),max(src2-1.0,vec3(0.0)),step(dst.rgb,src2-1.0));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[26,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=min(dst.rgb*dst.rgb/max(1.0-src.rgb,1e-9),1.0);vec3 c=mix(a,src.rgb,step(1.0,src.rgb));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[27,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 a=RGBToHSL(dst.rgb);vec3 b=RGBToHSL(src.rgb);vec3 c=HSLToRGB(vec3(a.x,b.y,a.z));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[28,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=dst.rgb+src.rgb-min(dst.rgb*src.rgb,1.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[29,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 src2=2.0*src.rgb;vec3 d=dst.rgb+(src2-1.0);vec3 w=step(0.5,src.rgb);vec3 a=dst.rgb-(1.0-src2)*dst.rgb*(1.0-dst.rgb);vec3 b=mix(d*(sqrt(dst.rgb)-dst.rgb),d*dst.rgb*((16.0*dst.rgb-12.0)*dst.rgb+3.0),w*(1.0-step(0.25,dst.rgb)));vec3 c=mix(a,b,w);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[30,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){return src;}"],[31,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=max(dst.rgb-src.rgb,0.0);return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"],[32,"vec4 blend(const in vec4 dst,const in vec4 src,const in float opacity){vec3 c=mix(max(1.0-min((1.0-dst.rgb)/(2.0*src.rgb),1.0),0.0),min(dst.rgb/(2.0*(1.0-src.rgb)),1.0),step(0.5,src.rgb));return mix(dst,vec4(c,max(dst.a,src.a)),opacity);}"]]),en=class extends H.EventDispatcher{constructor(e,t=1){super(),this._blendFunction=e,this.opacity=new H.Uniform(t)}getOpacity(){return this.opacity.value}setOpacity(e){this.opacity.value=e}get blendFunction(){return this._blendFunction}set blendFunction(e){this._blendFunction=e,this.dispatchEvent({type:"change"})}getBlendFunction(){return this.blendFunction}setBlendFunction(e){this.blendFunction=e}getShaderCode(){return ea.get(this.blendFunction)}};H.CanvasTexture;var eo=class extends H.EventDispatcher{constructor(e,t,{attributes:r=0,blendFunction:i=23,defines:s=new Map,uniforms:a=new Map,extensions:n=null,vertexShader:o=null}={}){super(),this.name=e,this.renderer=null,this.attributes=r,this.fragmentShader=t,this.vertexShader=o,this.defines=s,this.uniforms=a,this.extensions=n,this.blendMode=new en(i),this.blendMode.addEventListener("change",e=>this.setChanged()),this._inputColorSpace=H.LinearSRGBColorSpace,this._outputColorSpace=H.NoColorSpace}get inputColorSpace(){return this._inputColorSpace}set inputColorSpace(e){this._inputColorSpace=e,this.setChanged()}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e,this.setChanged()}set mainScene(e){}set mainCamera(e){}getName(){return this.name}setRenderer(e){this.renderer=e}getDefines(){return this.defines}getUniforms(){return this.uniforms}getExtensions(){return this.extensions}getBlendMode(){return this.blendMode}getAttributes(){return this.attributes}setAttributes(e){this.attributes=e,this.setChanged()}getFragmentShader(){return this.fragmentShader}setFragmentShader(e){this.fragmentShader=e,this.setChanged()}getVertexShader(){return this.vertexShader}setVertexShader(e){this.vertexShader=e,this.setChanged()}setChanged(){this.dispatchEvent({type:"change"})}setDepthTexture(e,t=H.BasicDepthPacking){}update(e,t,r){}setSize(e,t){}initialize(e,t,r){}dispose(){for(let e of Object.keys(this)){let t=this[e];(t instanceof H.WebGLRenderTarget||t instanceof H.Material||t instanceof H.Texture||t instanceof k)&&this[e].dispose()}}},el={VERY_SMALL:0,SMALL:1,MEDIUM:2,LARGE:3,VERY_LARGE:4,HUGE:5},eu=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;void main(){vec4 sum=texture2D(inputBuffer,vUv0);sum+=texture2D(inputBuffer,vUv1);sum+=texture2D(inputBuffer,vUv2);sum+=texture2D(inputBuffer,vUv3);gl_FragColor=sum*0.25; -#include -}`,ec=[new Float32Array([0,0]),new Float32Array([0,1,1]),new Float32Array([0,1,1,2]),new Float32Array([0,1,2,2,3]),new Float32Array([0,1,2,3,4,4,5]),new Float32Array([0,1,2,3,4,5,7,8,9,10])],eh=class extends H.ShaderMaterial{constructor(e=new H.Vector4){super({name:"KawaseBlurMaterial",uniforms:{inputBuffer:new H.Uniform(null),texelSize:new H.Uniform(new H.Vector4),scale:new H.Uniform(1),kernel:new H.Uniform(0)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:eu,vertexShader:"uniform vec4 texelSize;uniform float kernel;uniform float scale;varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;void main(){vec2 uv=position.xy*0.5+0.5;vec2 dUv=(texelSize.xy*vec2(kernel)+texelSize.zw)*scale;vUv0=vec2(uv.x-dUv.x,uv.y+dUv.y);vUv1=vec2(uv.x+dUv.x,uv.y+dUv.y);vUv2=vec2(uv.x+dUv.x,uv.y-dUv.y);vUv3=vec2(uv.x-dUv.x,uv.y-dUv.y);gl_Position=vec4(position.xy,1.0,1.0);}"}),this.setTexelSize(e.x,e.y),this.kernelSize=el.MEDIUM}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.inputBuffer=e}get kernelSequence(){return ec[this.kernelSize]}get scale(){return this.uniforms.scale.value}set scale(e){this.uniforms.scale.value=e}getScale(){return this.uniforms.scale.value}setScale(e){this.uniforms.scale.value=e}getKernel(){return null}get kernel(){return this.uniforms.kernel.value}set kernel(e){this.uniforms.kernel.value=e}setKernel(e){this.kernel=e}setTexelSize(e,t){this.uniforms.texelSize.value.set(e,t,.5*e,.5*t)}setSize(e,t){let r=1/e,i=1/t;this.uniforms.texelSize.value.set(r,i,.5*r,.5*i)}},ed=class extends k{constructor({kernelSize:e=el.MEDIUM,resolutionScale:t=.5,width:r=er.AUTO_SIZE,height:i=er.AUTO_SIZE,resolutionX:s=r,resolutionY:a=i}={}){super("KawaseBlurPass"),this.renderTargetA=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTargetA.texture.name="Blur.Target.A",this.renderTargetB=this.renderTargetA.clone(),this.renderTargetB.texture.name="Blur.Target.B";const n=this.resolution=new er(this,s,a,t);n.addEventListener("change",e=>this.setSize(n.baseWidth,n.baseHeight)),this._blurMaterial=new eh,this._blurMaterial.kernelSize=e,this.copyMaterial=new W}getResolution(){return this.resolution}get blurMaterial(){return this._blurMaterial}set blurMaterial(e){this._blurMaterial=e}get dithering(){return this.copyMaterial.dithering}set dithering(e){this.copyMaterial.dithering=e}get kernelSize(){return this.blurMaterial.kernelSize}set kernelSize(e){this.blurMaterial.kernelSize=e}get width(){return this.resolution.width}set width(e){this.resolution.preferredWidth=e}get height(){return this.resolution.height}set height(e){this.resolution.preferredHeight=e}get scale(){return this.blurMaterial.scale}set scale(e){this.blurMaterial.scale=e}getScale(){return this.blurMaterial.scale}setScale(e){this.blurMaterial.scale=e}getKernelSize(){return this.kernelSize}setKernelSize(e){this.kernelSize=e}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}render(e,t,r,i,s){let a=this.scene,n=this.camera,o=this.renderTargetA,l=this.renderTargetB,u=this.blurMaterial,c=u.kernelSequence,h=t;this.fullscreenMaterial=u;for(let t=0,r=c.length;t -#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#ifdef RANGE -uniform vec2 range; -#elif defined(THRESHOLD) -uniform float threshold;uniform float smoothing; -#endif -varying vec2 vUv;void main(){vec4 texel=texture2D(inputBuffer,vUv);float l=luminance(texel.rgb);float mask=1.0; -#ifdef RANGE -float low=step(range.x,l);float high=step(l,range.y);mask=low*high; -#elif defined(THRESHOLD) -mask=smoothstep(threshold,threshold+smoothing,l); -#endif -#ifdef COLOR -gl_FragColor=texel*mask; -#else -gl_FragColor=vec4(l*mask); -#endif -}`,eg=class extends H.ShaderMaterial{constructor(e=!1,t=null){super({name:"LuminanceMaterial",defines:{THREE_REVISION:H.REVISION.replace(/\D+/g,"")},uniforms:{inputBuffer:new H.Uniform(null),threshold:new H.Uniform(0),smoothing:new H.Uniform(1),range:new H.Uniform(null)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:ef,vertexShader:Y}),this.colorOutput=e,this.luminanceRange=t}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}get threshold(){return this.uniforms.threshold.value}set threshold(e){this.smoothing>0||e>0?this.defines.THRESHOLD="1":delete this.defines.THRESHOLD,this.uniforms.threshold.value=e}getThreshold(){return this.threshold}setThreshold(e){this.threshold=e}get smoothing(){return this.uniforms.smoothing.value}set smoothing(e){this.threshold>0||e>0?this.defines.THRESHOLD="1":delete this.defines.THRESHOLD,this.uniforms.smoothing.value=e}getSmoothingFactor(){return this.smoothing}setSmoothingFactor(e){this.smoothing=e}get useThreshold(){return this.threshold>0||this.smoothing>0}set useThreshold(e){}get colorOutput(){return void 0!==this.defines.COLOR}set colorOutput(e){e?this.defines.COLOR="1":delete this.defines.COLOR,this.needsUpdate=!0}isColorOutputEnabled(e){return this.colorOutput}setColorOutputEnabled(e){this.colorOutput=e}get useRange(){return null!==this.luminanceRange}set useRange(e){this.luminanceRange=null}get luminanceRange(){return this.uniforms.range.value}set luminanceRange(e){null!==e?this.defines.RANGE="1":delete this.defines.RANGE,this.uniforms.range.value=e,this.needsUpdate=!0}getLuminanceRange(){return this.luminanceRange}setLuminanceRange(e){this.luminanceRange=e}},ep=class extends k{constructor({renderTarget:e,luminanceRange:t,colorOutput:r,resolutionScale:i=1,width:s=er.AUTO_SIZE,height:a=er.AUTO_SIZE,resolutionX:n=s,resolutionY:o=a}={}){super("LuminancePass"),this.fullscreenMaterial=new eg(r,t),this.needsSwap=!1,this.renderTarget=e,void 0===this.renderTarget&&(this.renderTarget=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTarget.texture.name="LuminancePass.Target");const l=this.resolution=new er(this,n,o,i);l.addEventListener("change",e=>this.setSize(l.baseWidth,l.baseHeight))}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}getResolution(){return this.resolution}render(e,t,r,i,s){this.fullscreenMaterial.inputBuffer=t.texture,e.setRenderTarget(this.renderToScreen?null:this.renderTarget),e.render(this.scene,this.camera)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height)}initialize(e,t,r){void 0!==r&&r!==H.UnsignedByteType&&(this.renderTarget.texture.type=r,this.fullscreenMaterial.defines.FRAMEBUFFER_PRECISION_HIGH="1")}},ev=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#define WEIGHT_INNER 0.125 -#define WEIGHT_OUTER 0.05556 -varying vec2 vUv;varying vec2 vUv00;varying vec2 vUv01;varying vec2 vUv02;varying vec2 vUv03;varying vec2 vUv04;varying vec2 vUv05;varying vec2 vUv06;varying vec2 vUv07;varying vec2 vUv08;varying vec2 vUv09;varying vec2 vUv10;varying vec2 vUv11;float clampToBorder(const in vec2 uv){return float(uv.s>=0.0&&uv.s<=1.0&&uv.t>=0.0&&uv.t<=1.0);}void main(){vec4 c=vec4(0.0);vec4 w=WEIGHT_INNER*vec4(clampToBorder(vUv00),clampToBorder(vUv01),clampToBorder(vUv02),clampToBorder(vUv03));c+=w.x*texture2D(inputBuffer,vUv00);c+=w.y*texture2D(inputBuffer,vUv01);c+=w.z*texture2D(inputBuffer,vUv02);c+=w.w*texture2D(inputBuffer,vUv03);w=WEIGHT_OUTER*vec4(clampToBorder(vUv04),clampToBorder(vUv05),clampToBorder(vUv06),clampToBorder(vUv07));c+=w.x*texture2D(inputBuffer,vUv04);c+=w.y*texture2D(inputBuffer,vUv05);c+=w.z*texture2D(inputBuffer,vUv06);c+=w.w*texture2D(inputBuffer,vUv07);w=WEIGHT_OUTER*vec4(clampToBorder(vUv08),clampToBorder(vUv09),clampToBorder(vUv10),clampToBorder(vUv11));c+=w.x*texture2D(inputBuffer,vUv08);c+=w.y*texture2D(inputBuffer,vUv09);c+=w.z*texture2D(inputBuffer,vUv10);c+=w.w*texture2D(inputBuffer,vUv11);c+=WEIGHT_OUTER*texture2D(inputBuffer,vUv);gl_FragColor=c; -#include -}`,em=class extends H.ShaderMaterial{constructor(){super({name:"DownsamplingMaterial",uniforms:{inputBuffer:new H.Uniform(null),texelSize:new H.Uniform(new H.Vector2)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:ev,vertexShader:"uniform vec2 texelSize;varying vec2 vUv;varying vec2 vUv00;varying vec2 vUv01;varying vec2 vUv02;varying vec2 vUv03;varying vec2 vUv04;varying vec2 vUv05;varying vec2 vUv06;varying vec2 vUv07;varying vec2 vUv08;varying vec2 vUv09;varying vec2 vUv10;varying vec2 vUv11;void main(){vUv=position.xy*0.5+0.5;vUv00=vUv+texelSize*vec2(-1.0,1.0);vUv01=vUv+texelSize*vec2(1.0,1.0);vUv02=vUv+texelSize*vec2(-1.0,-1.0);vUv03=vUv+texelSize*vec2(1.0,-1.0);vUv04=vUv+texelSize*vec2(-2.0,2.0);vUv05=vUv+texelSize*vec2(0.0,2.0);vUv06=vUv+texelSize*vec2(2.0,2.0);vUv07=vUv+texelSize*vec2(-2.0,0.0);vUv08=vUv+texelSize*vec2(2.0,0.0);vUv09=vUv+texelSize*vec2(-2.0,-2.0);vUv10=vUv+texelSize*vec2(0.0,-2.0);vUv11=vUv+texelSize*vec2(2.0,-2.0);gl_Position=vec4(position.xy,1.0,1.0);}"})}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setSize(e,t){this.uniforms.texelSize.value.set(1/e,1/t)}},eA=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer;uniform mediump sampler2D supportBuffer; -#else -uniform lowp sampler2D inputBuffer;uniform lowp sampler2D supportBuffer; -#endif -uniform float radius;varying vec2 vUv;varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;varying vec2 vUv4;varying vec2 vUv5;varying vec2 vUv6;varying vec2 vUv7;void main(){vec4 c=vec4(0.0);c+=texture2D(inputBuffer,vUv0)*0.0625;c+=texture2D(inputBuffer,vUv1)*0.125;c+=texture2D(inputBuffer,vUv2)*0.0625;c+=texture2D(inputBuffer,vUv3)*0.125;c+=texture2D(inputBuffer,vUv)*0.25;c+=texture2D(inputBuffer,vUv4)*0.125;c+=texture2D(inputBuffer,vUv5)*0.0625;c+=texture2D(inputBuffer,vUv6)*0.125;c+=texture2D(inputBuffer,vUv7)*0.0625;vec4 baseColor=texture2D(supportBuffer,vUv);gl_FragColor=mix(baseColor,c,radius); -#include -}`,ex=class extends H.ShaderMaterial{constructor(){super({name:"UpsamplingMaterial",uniforms:{inputBuffer:new H.Uniform(null),supportBuffer:new H.Uniform(null),texelSize:new H.Uniform(new H.Vector2),radius:new H.Uniform(.85)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:eA,vertexShader:"uniform vec2 texelSize;varying vec2 vUv;varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;varying vec2 vUv4;varying vec2 vUv5;varying vec2 vUv6;varying vec2 vUv7;void main(){vUv=position.xy*0.5+0.5;vUv0=vUv+texelSize*vec2(-1.0,1.0);vUv1=vUv+texelSize*vec2(0.0,1.0);vUv2=vUv+texelSize*vec2(1.0,1.0);vUv3=vUv+texelSize*vec2(-1.0,0.0);vUv4=vUv+texelSize*vec2(1.0,0.0);vUv5=vUv+texelSize*vec2(-1.0,-1.0);vUv6=vUv+texelSize*vec2(0.0,-1.0);vUv7=vUv+texelSize*vec2(1.0,-1.0);gl_Position=vec4(position.xy,1.0,1.0);}"})}set inputBuffer(e){this.uniforms.inputBuffer.value=e}set supportBuffer(e){this.uniforms.supportBuffer.value=e}get radius(){return this.uniforms.radius.value}set radius(e){this.uniforms.radius.value=e}setSize(e,t){this.uniforms.texelSize.value.set(1/e,1/t)}},eD=class extends k{constructor(){super("MipmapBlurPass"),this.needsSwap=!1,this.renderTarget=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTarget.texture.name="Upsampling.Mipmap0",this.downsamplingMipmaps=[],this.upsamplingMipmaps=[],this.downsamplingMaterial=new em,this.upsamplingMaterial=new ex,this.resolution=new H.Vector2}get texture(){return this.renderTarget.texture}get levels(){return this.downsamplingMipmaps.length}set levels(e){if(this.levels!==e){let t=this.renderTarget;this.dispose(),this.downsamplingMipmaps=[],this.upsamplingMipmaps=[];for(let r=0;r=0;--t){let r=c[t];l.setSize(h.width,h.height),l.inputBuffer=h.texture,l.supportBuffer=u[t].texture,e.setRenderTarget(r),e.render(a,n),h=r}}setSize(e,t){let r=this.resolution;r.set(e,t);let i=r.width,s=r.height;for(let e=0,t=this.downsamplingMipmaps.length;ethis.setSize(f.baseWidth,f.baseHeight))}get texture(){return this.mipmapBlurPass.enabled?this.mipmapBlurPass.texture:this.renderTarget.texture}getTexture(){return this.texture}getResolution(){return this.resolution}getBlurPass(){return this.blurPass}getLuminancePass(){return this.luminancePass}get luminanceMaterial(){return this.luminancePass.fullscreenMaterial}getLuminanceMaterial(){return this.luminancePass.fullscreenMaterial}get width(){return this.resolution.width}set width(e){this.resolution.preferredWidth=e}get height(){return this.resolution.height}set height(e){this.resolution.preferredHeight=e}get dithering(){return this.blurPass.dithering}set dithering(e){this.blurPass.dithering=e}get kernelSize(){return this.blurPass.kernelSize}set kernelSize(e){this.blurPass.kernelSize=e}get distinction(){return console.warn(this.name,"distinction was removed"),1}set distinction(e){console.warn(this.name,"distinction was removed")}get intensity(){return this.uniforms.get("intensity").value}set intensity(e){this.uniforms.get("intensity").value=e}getIntensity(){return this.intensity}setIntensity(e){this.intensity=e}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}update(e,t,r){let i=this.renderTarget,s=this.luminancePass;s.enabled?(s.render(e,t),this.mipmapBlurPass.enabled?this.mipmapBlurPass.render(e,s.renderTarget):this.blurPass.render(e,s.renderTarget,i)):this.mipmapBlurPass.enabled?this.mipmapBlurPass.render(e,t):this.blurPass.render(e,t,i)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height),this.blurPass.resolution.copy(r),this.luminancePass.setSize(e,t),this.mipmapBlurPass.setSize(e,t)}initialize(e,t,r){this.blurPass.initialize(e,t,r),this.luminancePass.initialize(e,t,r),this.mipmapBlurPass.initialize(e,t,r),void 0!==r&&(this.renderTarget.texture.type=r,null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTarget.texture.colorSpace=H.SRGBColorSpace))}},eC=class extends eo{constructor({blendFunction:e=30,brightness:t=0,contrast:r=0}={}){super("BrightnessContrastEffect","uniform float brightness;uniform float contrast;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 color=inputColor.rgb+vec3(brightness-0.5);if(contrast>0.0){color/=vec3(1.0-contrast);}else{color*=vec3(1.0+contrast);}outputColor=vec4(color+vec3(0.5),inputColor.a);}",{blendFunction:e,uniforms:new Map([["brightness",new H.Uniform(t)],["contrast",new H.Uniform(r)]])}),this.inputColorSpace=H.SRGBColorSpace}get brightness(){return this.uniforms.get("brightness").value}set brightness(e){this.uniforms.get("brightness").value=e}getBrightness(){return this.brightness}setBrightness(e){this.brightness=e}get contrast(){return this.uniforms.get("contrast").value}set contrast(e){this.uniforms.get("contrast").value=e}getContrast(){return this.contrast}setContrast(e){this.contrast=e}},eB=class extends eo{constructor(e){super("ColorAverageEffect","void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){outputColor=vec4(vec3(average(inputColor.rgb)),inputColor.a);}",{blendFunction:e})}},eT=class extends eo{constructor({blendFunction:e,bits:t=16}={}){super("ColorDepthEffect","uniform float factor;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){outputColor=vec4(floor(inputColor.rgb*factor+0.5)/factor,inputColor.a);}",{blendFunction:e,uniforms:new Map([["factor",new H.Uniform(1)]])}),this.bits=0,this.bitDepth=t}get bitDepth(){return this.bits}set bitDepth(e){this.bits=e,this.uniforms.get("factor").value=Math.pow(2,e/3)}getBitDepth(){return this.bitDepth}setBitDepth(e){this.bitDepth=e}},eS=`#ifdef RADIAL_MODULATION -uniform float modulationOffset; -#endif -varying float vActive;varying vec2 vUvR;varying vec2 vUvB;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec2 ra=inputColor.ra;vec2 ba=inputColor.ba; -#ifdef RADIAL_MODULATION -const vec2 center=vec2(0.5);float d=distance(uv,center)*2.0;d=max(d-modulationOffset,0.0);if(vActive>0.0&&d>0.0){ra=texture2D(inputBuffer,mix(uv,vUvR,d)).ra;ba=texture2D(inputBuffer,mix(uv,vUvB,d)).ba;} -#else -if(vActive>0.0){ra=texture2D(inputBuffer,vUvR).ra;ba=texture2D(inputBuffer,vUvB).ba;} -#endif -outputColor=vec4(ra.x,inputColor.g,ba.x,max(max(ra.y,ba.y),inputColor.a));}`,ey=class extends eo{constructor({offset:e=new H.Vector2(.001,5e-4),radialModulation:t=!1,modulationOffset:r=.15}={}){super("ChromaticAberrationEffect",eS,{vertexShader:"uniform vec2 offset;varying float vActive;varying vec2 vUvR;varying vec2 vUvB;void mainSupport(const in vec2 uv){vec2 shift=offset*vec2(1.0,aspect);vActive=(shift.x!=0.0||shift.y!=0.0)?1.0:0.0;vUvR=uv+shift;vUvB=uv-shift;}",attributes:2,uniforms:new Map([["offset",new H.Uniform(e)],["modulationOffset",new H.Uniform(r)]])}),this.radialModulation=t}get offset(){return this.uniforms.get("offset").value}set offset(e){this.uniforms.get("offset").value=e}get radialModulation(){return this.defines.has("RADIAL_MODULATION")}set radialModulation(e){e?this.defines.set("RADIAL_MODULATION","1"):this.defines.delete("RADIAL_MODULATION"),this.setChanged()}get modulationOffset(){return this.uniforms.get("modulationOffset").value}set modulationOffset(e){this.uniforms.get("modulationOffset").value=e}getOffset(){return this.offset}setOffset(e){this.offset=e}},eM=`void mainImage(const in vec4 inputColor,const in vec2 uv,const in float depth,out vec4 outputColor){ -#ifdef INVERTED -vec3 color=vec3(1.0-depth); -#else -vec3 color=vec3(depth); -#endif -outputColor=vec4(color,inputColor.a);}`,eP=class extends eo{constructor({blendFunction:e=30,inverted:t=!1}={}){super("DepthEffect",eM,{blendFunction:e,attributes:1}),this.inverted=t}get inverted(){return this.defines.has("INVERTED")}set inverted(e){this.inverted!==e&&(e?this.defines.set("INVERTED","1"):this.defines.delete("INVERTED"),this.setChanged())}isInverted(){return this.inverted}setInverted(e){this.inverted=e}},eI={DISCARD:0,MULTIPLY:1,MULTIPLY_RGB_SET_ALPHA:2,MULTIPLY_RGB:3},eU=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#if PASS == 1 -uniform vec4 kernel64[32]; -#else -uniform vec4 kernel16[8]; -#endif -uniform lowp sampler2D cocBuffer;uniform vec2 texelSize;uniform float scale;varying vec2 vUv;void main(){ -#ifdef FOREGROUND -vec2 cocNearFar=texture2D(cocBuffer,vUv).rg*scale;float coc=cocNearFar.x; -#else -float coc=texture2D(cocBuffer,vUv).g*scale; -#endif -if(coc==0.0){gl_FragColor=texture2D(inputBuffer,vUv);}else{ -#ifdef FOREGROUND -vec2 step=texelSize*max(cocNearFar.x,cocNearFar.y); -#else -vec2 step=texelSize*coc; -#endif -#if PASS == 1 -vec4 acc=vec4(0.0);for(int i=0;i<32;++i){vec4 kernel=kernel64[i];vec2 uv=step*kernel.xy+vUv;acc+=texture2D(inputBuffer,uv);uv=step*kernel.zw+vUv;acc+=texture2D(inputBuffer,uv);}gl_FragColor=acc/64.0; -#else -vec4 maxValue=texture2D(inputBuffer,vUv);for(int i=0;i<8;++i){vec4 kernel=kernel16[i];vec2 uv=step*kernel.xy+vUv;maxValue=max(texture2D(inputBuffer,uv),maxValue);uv=step*kernel.zw+vUv;maxValue=max(texture2D(inputBuffer,uv),maxValue);}gl_FragColor=maxValue; -#endif -}}`,eR=class extends H.ShaderMaterial{constructor(e=!1,t=!1){super({name:"BokehMaterial",defines:{PASS:e?"2":"1"},uniforms:{inputBuffer:new H.Uniform(null),cocBuffer:new H.Uniform(null),texelSize:new H.Uniform(new H.Vector2),kernel64:new H.Uniform(null),kernel16:new H.Uniform(null),scale:new H.Uniform(1)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:eU,vertexShader:Y}),t&&(this.defines.FOREGROUND="1"),this.generateKernel()}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}set cocBuffer(e){this.uniforms.cocBuffer.value=e}setCoCBuffer(e){this.uniforms.cocBuffer.value=e}get scale(){return this.uniforms.scale.value}set scale(e){this.uniforms.scale.value=e}getScale(e){return this.scale}setScale(e){this.scale=e}generateKernel(){let e=new Float64Array(128),t=new Float64Array(32),r=0,i=0;for(let s=0,a=Math.sqrt(80);s<80;++s){let n=2.39996323*s,o=Math.sqrt(s)/a,l=o*Math.cos(n),u=o*Math.sin(n);s%5==0?(t[i++]=l,t[i++]=u):(e[r++]=l,e[r++]=u)}this.uniforms.kernel64.value=e,this.uniforms.kernel16.value=t}setTexelSize(e,t){this.uniforms.texelSize.value.set(e,t)}setSize(e,t){this.uniforms.texelSize.value.set(1/e,1/t)}},eb=`#include -#include -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -uniform mat4 projectionMatrix;uniform mat4 projectionMatrixInverse;uniform float cameraNear;uniform float cameraFar;uniform float focusDistance;uniform float focusRange;varying vec2 vUv;float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -float depth=unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -float depth=texture2D(depthBuffer,uv).r; -#endif -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float d=pow(2.0,depth*log2(cameraFar+1.0))-1.0;float a=cameraFar/(cameraFar-cameraNear);float b=cameraFar*cameraNear/(cameraNear-cameraFar);depth=a+b/d; -#elif defined(USE_REVERSED_DEPTH_BUFFER) -depth=1.0-depth; -#endif -return depth;} -#ifdef PERSPECTIVE_CAMERA -#define getViewZ(depth) perspectiveDepthToViewZ(depth, cameraNear, cameraFar) -#else -#define getViewZ(depth) orthographicDepthToViewZ(depth, cameraNear, cameraFar) -#endif -vec3 getViewPosition(const in vec2 screenPosition,const in float depth,const in float viewZ){vec4 clipPosition=vec4(vec3(screenPosition,depth)*2.0-1.0,1.0);float clipW=projectionMatrix[2][3]*viewZ+projectionMatrix[3][3];clipPosition*=clipW;return(projectionMatrixInverse*clipPosition).xyz;}vec3 getViewPosition(const in vec2 screenPosition,const in float depth){return getViewPosition(screenPosition,depth,getViewZ(depth));} -#define getDistance(viewPosition) length(viewPosition) -void main(){float depth=readDepth(vUv);vec3 viewPosition=getViewPosition(vUv,depth);float distance=getDistance(viewPosition);float signedDistance=distance-focusDistance;float magnitude=smoothstep(0.0,focusRange,abs(signedDistance));gl_FragColor.rg=magnitude*vec2(step(signedDistance,0.0),step(0.0,signedDistance));}`,eF=class extends H.ShaderMaterial{constructor(e=null){super({name:"CircleOfConfusionMaterial",defines:{DEPTH_PACKING:"0"},uniforms:{depthBuffer:new H.Uniform(null),projectionMatrix:new H.Uniform(null),projectionMatrixInverse:new H.Uniform(null),cameraNear:new H.Uniform(.3),cameraFar:new H.Uniform(1e3),focusDistance:new H.Uniform(0),focusRange:new H.Uniform(0)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:eb,vertexShader:Y}),this.uniforms.focalLength=this.uniforms.focusRange,null!==e&&this.copyCameraSettings(e)}set depthBuffer(e){this.uniforms.depthBuffer.value=e}set depthPacking(e){this.defines.DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer(e,t=H.BasicDepthPacking){this.depthBuffer=e,this.depthPacking=t}get focusDistance(){return this.uniforms.focusDistance.value}set focusDistance(e){this.uniforms.focusDistance.value=e}get worldFocusDistance(){return this.focusDistance}set worldFocusDistance(e){this.focusDistance=e}getFocusDistance(e){this.uniforms.focusDistance.value=e}setFocusDistance(e){this.uniforms.focusDistance.value=e}get focalLength(){return this.focusRange}set focalLength(e){this.focusRange=e}get focusRange(){return this.uniforms.focusRange.value}set focusRange(e){this.uniforms.focusRange.value=e}get worldFocusRange(){return this.focusRange}set worldFocusRange(e){this.focusRange=e}getFocalLength(e){return this.focusRange}setFocalLength(e){this.focusRange=e}adoptCameraSettings(e){this.copyCameraSettings(e)}copyCameraSettings(e){this.uniforms.projectionMatrix.value=e.projectionMatrix,this.uniforms.projectionMatrixInverse.value=e.projectionMatrixInverse,this.uniforms.cameraNear.value=e.near,this.uniforms.cameraFar.value=e.far;let t=void 0!==this.defines.PERSPECTIVE_CAMERA;e instanceof H.PerspectiveCamera?t||(this.defines.PERSPECTIVE_CAMERA=!0,this.needsUpdate=!0):t&&(delete this.defines.PERSPECTIVE_CAMERA,this.needsUpdate=!0)}},eL=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#ifdef MASK_PRECISION_HIGH -uniform mediump sampler2D maskTexture; -#else -uniform lowp sampler2D maskTexture; -#endif -#if MASK_FUNCTION != 0 -uniform float strength; -#endif -varying vec2 vUv;void main(){ -#if COLOR_CHANNEL == 0 -float mask=texture2D(maskTexture,vUv).r; -#elif COLOR_CHANNEL == 1 -float mask=texture2D(maskTexture,vUv).g; -#elif COLOR_CHANNEL == 2 -float mask=texture2D(maskTexture,vUv).b; -#else -float mask=texture2D(maskTexture,vUv).a; -#endif -#if MASK_FUNCTION == 0 -#ifdef INVERTED -mask=(mask>0.0)?0.0:1.0; -#else -mask=(mask>0.0)?1.0:0.0; -#endif -#else -mask=clamp(mask*strength,0.0,1.0); -#ifdef INVERTED -mask=1.0-mask; -#endif -#endif -#if MASK_FUNCTION == 3 -vec4 texel=texture2D(inputBuffer,vUv);gl_FragColor=vec4(mask*texel.rgb,texel.a); -#elif MASK_FUNCTION == 2 -gl_FragColor=vec4(mask*texture2D(inputBuffer,vUv).rgb,mask); -#else -gl_FragColor=mask*texture2D(inputBuffer,vUv); -#endif -}`,eO=class extends H.ShaderMaterial{constructor(e=null){super({name:"MaskMaterial",uniforms:{maskTexture:new H.Uniform(e),inputBuffer:new H.Uniform(null),strength:new H.Uniform(1)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:eL,vertexShader:Y}),this.colorChannel=0,this.maskFunction=eI.DISCARD}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}set maskTexture(e){this.uniforms.maskTexture.value=e,delete this.defines.MASK_PRECISION_HIGH,e.type!==H.UnsignedByteType&&(this.defines.MASK_PRECISION_HIGH="1"),this.needsUpdate=!0}setMaskTexture(e){this.maskTexture=e}set colorChannel(e){this.defines.COLOR_CHANNEL=e.toFixed(0),this.needsUpdate=!0}setColorChannel(e){this.colorChannel=e}set maskFunction(e){this.defines.MASK_FUNCTION=e.toFixed(0),this.needsUpdate=!0}setMaskFunction(e){this.maskFunction=e}get inverted(){return void 0!==this.defines.INVERTED}set inverted(e){this.inverted&&!e?delete this.defines.INVERTED:e&&(this.defines.INVERTED="1"),this.needsUpdate=!0}isInverted(){return this.inverted}setInverted(e){this.inverted=e}get strength(){return this.uniforms.strength.value}set strength(e){this.uniforms.strength.value=e}getStrength(){return this.strength}setStrength(e){this.strength=e}},eG=class extends k{constructor(e,t="inputBuffer"){super("ShaderPass"),this.fullscreenMaterial=e,this.input=t}setInput(e){this.input=e}render(e,t,r,i,s){let a=this.fullscreenMaterial.uniforms;null!==t&&void 0!==a&&void 0!==a[this.input]&&(a[this.input].value=t.texture),e.setRenderTarget(this.renderToScreen?null:r),e.render(this.scene,this.camera)}initialize(e,t,r){void 0!==r&&r!==H.UnsignedByteType&&(this.fullscreenMaterial.defines.FRAMEBUFFER_PRECISION_HIGH="1")}},eN=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D nearColorBuffer;uniform mediump sampler2D farColorBuffer; -#else -uniform lowp sampler2D nearColorBuffer;uniform lowp sampler2D farColorBuffer; -#endif -#if MASK_FUNCTION != 1 && MASK_FUNCTION != 2 -uniform lowp sampler2D farCoCBuffer; -#endif -uniform lowp sampler2D nearCoCBuffer;uniform float scale;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec4 colorNear=texture2D(nearColorBuffer,uv);vec4 colorFar=texture2D(farColorBuffer,uv); -#if MASK_FUNCTION == 1 || MASK_FUNCTION == 2 -vec2 cocNearFar=vec2(texture2D(nearCoCBuffer,uv).r,colorFar.a);cocNearFar.x=min(cocNearFar.x*scale,1.0); -#else -vec2 cocNearFar=vec2(texture2D(nearCoCBuffer,uv).r,texture2D(farCoCBuffer,uv).g);cocNearFar=min(cocNearFar*scale,1.0);colorFar.a*=cocNearFar.y; -#endif -vec4 result=inputColor*(1.0-cocNearFar.y)+colorFar;result=mix(result,colorNear,cocNearFar.x);outputColor=result;}`,eH=new H.Vector3,ez=class extends eo{constructor(e,{blendFunction:t,worldFocusDistance:r,worldFocusRange:i,focalLength:s,focusDistance:a=r||3,focusRange:n=i||s||2,bokehScale:o=1,resolutionScale:l=.5,width:u,height:c,resolutionX:h=u||er.AUTO_SIZE,resolutionY:d=c||er.AUTO_SIZE}={}){super("DepthOfFieldEffect",eN,{blendFunction:t,attributes:1,uniforms:new Map([["nearColorBuffer",new H.Uniform(null)],["farColorBuffer",new H.Uniform(null)],["nearCoCBuffer",new H.Uniform(null)],["farCoCBuffer",new H.Uniform(null)],["scale",new H.Uniform(1)]])}),this.camera=e,this.renderTarget=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTarget.texture.name="DoF.Intermediate",this.renderTargetMasked=this.renderTarget.clone(),this.renderTargetMasked.texture.name="DoF.Masked.Far",this.renderTargetNear=this.renderTarget.clone(),this.renderTargetNear.texture.name="DoF.Bokeh.Near",this.uniforms.get("nearColorBuffer").value=this.renderTargetNear.texture,this.renderTargetFar=this.renderTarget.clone(),this.renderTargetFar.texture.name="DoF.Bokeh.Far",this.uniforms.get("farColorBuffer").value=this.renderTargetFar.texture,this.renderTargetCoC=this.renderTarget.clone(),this.renderTargetCoC.texture.name="DoF.CoC",this.uniforms.get("farCoCBuffer").value=this.renderTargetCoC.texture,this.renderTargetCoCBlurred=this.renderTargetCoC.clone(),this.renderTargetCoCBlurred.texture.name="DoF.CoC.Blurred",this.uniforms.get("nearCoCBuffer").value=this.renderTargetCoCBlurred.texture,this.cocPass=new eG(new eF(e));const f=this.cocMaterial;f.focusDistance=a,f.focusRange=n,this.blurPass=new ed({resolutionScale:l,resolutionX:h,resolutionY:d,kernelSize:el.MEDIUM}),this.maskPass=new eG(new eO(this.renderTargetCoC.texture)),this.maskPass.fullscreenMaterial.colorChannel=1,this.maskFunction=eI.MULTIPLY_RGB,this.bokehNearBasePass=new eG(new eR(!1,!0)),this.bokehNearBasePass.fullscreenMaterial.cocBuffer=this.renderTargetCoCBlurred.texture,this.bokehNearFillPass=new eG(new eR(!0,!0)),this.bokehNearFillPass.fullscreenMaterial.cocBuffer=this.renderTargetCoCBlurred.texture,this.bokehFarBasePass=new eG(new eR(!1,!1)),this.bokehFarBasePass.fullscreenMaterial.cocBuffer=this.renderTargetCoC.texture,this.bokehFarFillPass=new eG(new eR(!0,!1)),this.bokehFarFillPass.fullscreenMaterial.cocBuffer=this.renderTargetCoC.texture,this.target=null;const g=this.resolution=new er(this,h,d,l);g.addEventListener("change",e=>this.setSize(g.baseWidth,g.baseHeight)),this.bokehScale=o}set mainCamera(e){this.camera=e,this.cocMaterial.copyCameraSettings(e)}get cocTexture(){return this.renderTargetCoC.texture}get maskFunction(){return this.maskPass.fullscreenMaterial.maskFunction}set maskFunction(e){this.maskFunction!==e&&(this.defines.set("MASK_FUNCTION",e.toFixed(0)),this.maskPass.fullscreenMaterial.maskFunction=e,this.setChanged())}get cocMaterial(){return this.cocPass.fullscreenMaterial}get circleOfConfusionMaterial(){return this.cocMaterial}getCircleOfConfusionMaterial(){return this.cocMaterial}getBlurPass(){return this.blurPass}getResolution(){return this.resolution}get bokehScale(){return this.uniforms.get("scale").value}set bokehScale(e){this.bokehNearBasePass.fullscreenMaterial.scale=e,this.bokehNearFillPass.fullscreenMaterial.scale=e,this.bokehFarBasePass.fullscreenMaterial.scale=e,this.bokehFarFillPass.fullscreenMaterial.scale=e,this.maskPass.fullscreenMaterial.strength=e,this.uniforms.get("scale").value=e}getBokehScale(){return this.bokehScale}setBokehScale(e){this.bokehScale=e}getTarget(){return this.target}setTarget(e){this.target=e}calculateFocusDistance(e){return this.camera.getWorldPosition(eH).distanceTo(e)}setDepthTexture(e,t=H.BasicDepthPacking){this.cocMaterial.depthBuffer=e,this.cocMaterial.depthPacking=t}update(e,t,r){let i=this.renderTarget,s=this.renderTargetCoC,a=this.renderTargetCoCBlurred,n=this.renderTargetMasked;if(null!==this.target){let e=this.calculateFocusDistance(this.target);this.cocMaterial.focusDistance=e}this.cocPass.render(e,null,s),this.blurPass.render(e,s,a),this.maskPass.render(e,t,n),this.bokehFarBasePass.render(e,n,i),this.bokehFarFillPass.render(e,i,this.renderTargetFar),this.bokehNearBasePass.render(e,t,i),this.bokehNearFillPass.render(e,i,this.renderTargetNear)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t);let i=r.width,s=r.height;this.cocPass.setSize(e,t),this.blurPass.setSize(e,t),this.maskPass.setSize(e,t),this.renderTargetFar.setSize(e,t),this.renderTargetCoC.setSize(e,t),this.renderTargetMasked.setSize(e,t),this.renderTarget.setSize(i,s),this.renderTargetNear.setSize(i,s),this.renderTargetCoCBlurred.setSize(i,s),this.bokehNearBasePass.fullscreenMaterial.setSize(e,t),this.bokehNearFillPass.fullscreenMaterial.setSize(e,t),this.bokehFarBasePass.fullscreenMaterial.setSize(e,t),this.bokehFarFillPass.fullscreenMaterial.setSize(e,t)}initialize(e,t,r){this.cocPass.initialize(e,t,r),this.maskPass.initialize(e,t,r),this.bokehNearBasePass.initialize(e,t,r),this.bokehNearFillPass.initialize(e,t,r),this.bokehFarBasePass.initialize(e,t,r),this.bokehFarFillPass.initialize(e,t,r),this.blurPass.initialize(e,t,H.UnsignedByteType),e.capabilities.logarithmicDepthBuffer&&(this.cocPass.fullscreenMaterial.defines.LOG_DEPTH="1"),void 0!==r&&(this.renderTarget.texture.type=r,this.renderTargetNear.texture.type=r,this.renderTargetFar.texture.type=r,this.renderTargetMasked.texture.type=r,null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTarget.texture.colorSpace=H.SRGBColorSpace,this.renderTargetNear.texture.colorSpace=H.SRGBColorSpace,this.renderTargetFar.texture.colorSpace=H.SRGBColorSpace,this.renderTargetMasked.texture.colorSpace=H.SRGBColorSpace))}},ek=class extends eo{constructor({blendFunction:e,angle:t=.5*Math.PI,scale:r=1}={}){super("DotScreenEffect","uniform vec2 angle;uniform float scale;float pattern(const in vec2 uv){vec2 point=scale*vec2(dot(angle.yx,vec2(uv.x,-uv.y)),dot(angle,uv));return(sin(point.x)*sin(point.y))*4.0;}void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 color=vec3(inputColor.rgb*10.0-5.0+pattern(uv*resolution));outputColor=vec4(color,inputColor.a);}",{blendFunction:e,uniforms:new Map([["angle",new H.Uniform(new H.Vector2)],["scale",new H.Uniform(r)]])}),this.angle=t}get angle(){return Math.acos(this.uniforms.get("angle").value.y)}set angle(e){this.uniforms.get("angle").value.set(Math.sin(e),Math.cos(e))}getAngle(){return this.angle}setAngle(e){this.angle=e}get scale(){return this.uniforms.get("scale").value}set scale(e){this.uniforms.get("scale").value=e}},eV=`#define QUALITY(q) ((q) < 5 ? 1.0 : ((q) > 5 ? ((q) < 10 ? 2.0 : ((q) < 11 ? 4.0 : 8.0)) : 1.5)) -#define ONE_OVER_TWELVE 0.08333333333333333 -varying vec2 vUvDown;varying vec2 vUvUp;varying vec2 vUvLeft;varying vec2 vUvRight;varying vec2 vUvDownLeft;varying vec2 vUvUpRight;varying vec2 vUvUpLeft;varying vec2 vUvDownRight;vec4 fxaa(const in vec4 inputColor,const in vec2 uv){float lumaCenter=luminance(inputColor.rgb);float lumaDown=luminance(texture2D(inputBuffer,vUvDown).rgb);float lumaUp=luminance(texture2D(inputBuffer,vUvUp).rgb);float lumaLeft=luminance(texture2D(inputBuffer,vUvLeft).rgb);float lumaRight=luminance(texture2D(inputBuffer,vUvRight).rgb);float lumaMin=min(lumaCenter,min(min(lumaDown,lumaUp),min(lumaLeft,lumaRight)));float lumaMax=max(lumaCenter,max(max(lumaDown,lumaUp),max(lumaLeft,lumaRight)));float lumaRange=lumaMax-lumaMin;if(lumaRange=edgeVertical);float stepLength=isHorizontal?texelSize.y:texelSize.x;float luma1=isHorizontal?lumaDown:lumaLeft;float luma2=isHorizontal?lumaUp:lumaRight;float gradient1=abs(luma1-lumaCenter);float gradient2=abs(luma2-lumaCenter);bool is1Steepest=gradient1>=gradient2;float gradientScaled=0.25*max(gradient1,gradient2);float lumaLocalAverage=0.0;if(is1Steepest){stepLength=-stepLength;lumaLocalAverage=0.5*(luma1+lumaCenter);}else{lumaLocalAverage=0.5*(luma2+lumaCenter);}vec2 currentUv=uv;if(isHorizontal){currentUv.y+=stepLength*0.5;}else{currentUv.x+=stepLength*0.5;}vec2 offset=isHorizontal?vec2(texelSize.x,0.0):vec2(0.0,texelSize.y);vec2 uv1=currentUv-offset*QUALITY(0);vec2 uv2=currentUv+offset*QUALITY(0);float lumaEnd1=luminance(texture2D(inputBuffer,uv1).rgb);float lumaEnd2=luminance(texture2D(inputBuffer,uv2).rgb);lumaEnd1-=lumaLocalAverage;lumaEnd2-=lumaLocalAverage;bool reached1=abs(lumaEnd1)>=gradientScaled;bool reached2=abs(lumaEnd2)>=gradientScaled;bool reachedBoth=reached1&&reached2;if(!reached1){uv1-=offset*QUALITY(1);}if(!reached2){uv2+=offset*QUALITY(1);}if(!reachedBoth){for(int i=2;i=gradientScaled;reached2=abs(lumaEnd2)>=gradientScaled;reachedBoth=reached1&&reached2;if(!reached1){uv1-=offset*QUALITY(i);}if(!reached2){uv2+=offset*QUALITY(i);}if(reachedBoth){break;}}}float distance1=isHorizontal?(uv.x-uv1.x):(uv.y-uv1.y);float distance2=isHorizontal?(uv2.x-uv.x):(uv2.y-uv.y);bool isDirection1=distance1distortion.x-columns*random){float sx=clamp(ceil(seeds.x),0.0,1.0);uv.y=sx*(1.0-(uv.y+distortion.y))+(1.0-sx)*distortion.y;}if(uv.xdistortion.y-columns*random){float sy=clamp(ceil(seeds.y),0.0,1.0);uv.x=sy*distortion.x+(1.0-sy)*(1.0-(uv.x+distortion.x));}vec2 normal=texture2D(perturbationMap,uv*random*random).rg;uv+=normal*seeds*(random*0.2);}}",{uniforms:new Map([["perturbationMap",new H.Uniform(null)],["columns",new H.Uniform(s)],["active",new H.Uniform(!1)],["random",new H.Uniform(1)],["seeds",new H.Uniform(new H.Vector2)],["distortion",new H.Uniform(new H.Vector2)]])}),null===n){const e=new eW(o,o,H.RGBAFormat);e.name=eK,this.perturbationMap=e}else this.perturbationMap=n;this.time=0,this.distortion=this.uniforms.get("distortion").value,this.delay=t,this.duration=r,this.breakPoint=new H.Vector2(eX(this.delay.x,this.delay.y),eX(this.duration.x,this.duration.y)),this.strength=i,this.mode=eY.SPORADIC,this.ratio=a,this.chromaticAberrationOffset=e}get seeds(){return this.uniforms.get("seeds").value}get active(){return this.uniforms.get("active").value}isActive(){return this.active}get minDelay(){return this.delay.x}set minDelay(e){this.delay.x=e}getMinDelay(){return this.delay.x}setMinDelay(e){this.delay.x=e}get maxDelay(){return this.delay.y}set maxDelay(e){this.delay.y=e}getMaxDelay(){return this.delay.y}setMaxDelay(e){this.delay.y=e}get minDuration(){return this.duration.x}set minDuration(e){this.duration.x=e}getMinDuration(){return this.duration.x}setMinDuration(e){this.duration.x=e}get maxDuration(){return this.duration.y}set maxDuration(e){this.duration.y=e}getMaxDuration(){return this.duration.y}setMaxDuration(e){this.duration.y=e}get minStrength(){return this.strength.x}set minStrength(e){this.strength.x=e}getMinStrength(){return this.strength.x}setMinStrength(e){this.strength.x=e}get maxStrength(){return this.strength.y}set maxStrength(e){this.strength.y=e}getMaxStrength(){return this.strength.y}setMaxStrength(e){this.strength.y=e}getMode(){return this.mode}setMode(e){this.mode=e}getGlitchRatio(){return 1-this.ratio}setGlitchRatio(e){this.ratio=Math.min(Math.max(1-e,0),1)}get columns(){return this.uniforms.get("columns").value}set columns(e){this.uniforms.get("columns").value=e}getGlitchColumns(){return this.columns}setGlitchColumns(e){this.columns=e}getChromaticAberrationOffset(){return this.chromaticAberrationOffset}setChromaticAberrationOffset(e){this.chromaticAberrationOffset=e}get perturbationMap(){return this.uniforms.get("perturbationMap").value}set perturbationMap(e){let t=this.perturbationMap;null!==t&&t.name===eK&&t.dispose(),e.minFilter=e.magFilter=H.NearestFilter,e.wrapS=e.wrapT=H.RepeatWrapping,e.generateMipmaps=!1,this.uniforms.get("perturbationMap").value=e}getPerturbationMap(){return this.perturbationMap}setPerturbationMap(e){this.perturbationMap=e}generatePerturbationMap(e=64){let t=new eW(e,e,H.RGBAFormat);return t.name=eK,t}update(e,t,r){let i,s=this.mode,a=this.breakPoint,n=this.chromaticAberrationOffset,o=this.strength,l=this.time,u=!1,c=0,h=0;s!==eY.DISABLED&&(s===eY.SPORADIC&&(l+=r,i=l>a.x,l>=a.x+a.y&&(a.set(eX(this.delay.x,this.delay.y),eX(this.duration.x,this.duration.y)),l=0)),c=Math.random(),this.uniforms.get("random").value=c,i&&c>this.ratio||s===eY.CONSTANT_WILD?(u=!0,c*=.03*o.y,h=eX(-Math.PI,Math.PI),this.seeds.set(eX(-o.y,o.y),eX(-o.y,o.y)),this.distortion.set(eX(0,1),eX(0,1))):(i||s===eY.CONSTANT_MILD)&&(u=!0,c*=.03*o.x,h=eX(-Math.PI,Math.PI),this.seeds.set(eX(-o.x,o.x),eX(-o.x,o.x)),this.distortion.set(eX(0,1),eX(0,1))),this.time=l),null!==n&&(u?n.set(Math.cos(h),Math.sin(h)).multiplyScalar(c):n.set(0,0)),this.uniforms.get("active").value=u}dispose(){let e=this.perturbationMap;null!==e&&e.name===eK&&e.dispose()}},ej=`#include -#include -#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -uniform vec2 lightPosition;uniform float exposure;uniform float decay;uniform float density;uniform float weight;uniform float clampMax;varying vec2 vUv;void main(){vec2 coord=vUv;vec2 delta=lightPosition-coord;delta*=1.0/SAMPLES_FLOAT*density;float illuminationDecay=1.0;vec4 color=vec4(0.0);for(int i=0;i -}`,eZ=class extends H.ShaderMaterial{constructor(e){super({name:"GodRaysMaterial",defines:{SAMPLES_INT:"60",SAMPLES_FLOAT:"60.0"},uniforms:{inputBuffer:new H.Uniform(null),lightPosition:new H.Uniform(e),density:new H.Uniform(1),decay:new H.Uniform(1),weight:new H.Uniform(1),exposure:new H.Uniform(1),clampMax:new H.Uniform(1)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:ej,vertexShader:Y})}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}get lightPosition(){return this.uniforms.lightPosition.value}getLightPosition(){return this.uniforms.lightPosition.value}setLightPosition(e){this.uniforms.lightPosition.value=e}get density(){return this.uniforms.density.value}set density(e){this.uniforms.density.value=e}getDensity(){return this.uniforms.density.value}setDensity(e){this.uniforms.density.value=e}get decay(){return this.uniforms.decay.value}set decay(e){this.uniforms.decay.value=e}getDecay(){return this.uniforms.decay.value}setDecay(e){this.uniforms.decay.value=e}get weight(){return this.uniforms.weight.value}set weight(e){this.uniforms.weight.value=e}getWeight(){return this.uniforms.weight.value}setWeight(e){this.uniforms.weight.value=e}get exposure(){return this.uniforms.exposure.value}set exposure(e){this.uniforms.exposure.value=e}getExposure(){return this.uniforms.exposure.value}setExposure(e){this.uniforms.exposure.value=e}get maxIntensity(){return this.uniforms.clampMax.value}set maxIntensity(e){this.uniforms.clampMax.value=e}getMaxIntensity(){return this.uniforms.clampMax.value}setMaxIntensity(e){this.uniforms.clampMax.value=e}get samples(){return Number(this.defines.SAMPLES_INT)}set samples(e){let t=Math.floor(e);this.defines.SAMPLES_INT=t.toFixed(0),this.defines.SAMPLES_FLOAT=t.toFixed(1),this.needsUpdate=!0}getSamples(){return this.samples}setSamples(e){this.samples=e}},eq=class extends k{constructor(e,t,r=null){super("RenderPass",e,t),this.needsSwap=!1,this.needsDepthBlit=!0,this.clearPass=new J,this.overrideMaterialManager=null===r?null:new et(r),this.ignoreBackground=!1,this.skipShadowMapUpdate=!1,this.selection=null}set mainScene(e){this.scene=e}set mainCamera(e){this.camera=e}get renderToScreen(){return super.renderToScreen}set renderToScreen(e){super.renderToScreen=e,this.clearPass.renderToScreen=e}get overrideMaterial(){let e=this.overrideMaterialManager;return null!==e?e.material:null}set overrideMaterial(e){let t=this.overrideMaterialManager;null!==e?null!==t?t.setMaterial(e):this.overrideMaterialManager=new et(e):null!==t&&(t.dispose(),this.overrideMaterialManager=null)}getOverrideMaterial(){return this.overrideMaterial}setOverrideMaterial(e){this.overrideMaterial=e}get clear(){return this.clearPass.enabled}set clear(e){this.clearPass.enabled=e}getSelection(){return this.selection}setSelection(e){this.selection=e}isBackgroundDisabled(){return this.ignoreBackground}setBackgroundDisabled(e){this.ignoreBackground=e}isShadowMapDisabled(){return this.skipShadowMapUpdate}setShadowMapDisabled(e){this.skipShadowMapUpdate=e}getClearPass(){return this.clearPass}render(e,t,r,i,s){let a=this.scene,n=this.camera,o=this.selection,l=n.layers.mask,u=a.background,c=e.shadowMap.autoUpdate,h=this.renderToScreen?null:t;null!==o&&n.layers.set(o.getLayer()),this.skipShadowMapUpdate&&(e.shadowMap.autoUpdate=!1),(this.ignoreBackground||null!==this.clearPass.overrideClearColor)&&(a.background=null),this.clearPass.enabled&&this.clearPass.render(e,t),e.setRenderTarget(h),null!==this.overrideMaterialManager?this.overrideMaterialManager.render(e,a,n):e.render(a,n),n.layers.mask=l,a.background=u,e.shadowMap.autoUpdate=c}},e_=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D map; -#else -uniform lowp sampler2D map; -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){outputColor=texture2D(map,uv);}`,e$=new H.Vector3,e0=new H.Matrix4,e1=class extends eo{constructor(e,t,{blendFunction:r=28,samples:i=60,density:s=.96,decay:a=.9,weight:n=.4,exposure:o=.6,clampMax:l=1,blur:u=!0,kernelSize:c=el.SMALL,resolutionScale:h=.5,width:d=er.AUTO_SIZE,height:f=er.AUTO_SIZE,resolutionX:g=d,resolutionY:p=f}={}){super("GodRaysEffect",e_,{blendFunction:r,attributes:1,uniforms:new Map([["map",new H.Uniform(null)]])}),this.camera=e,this._lightSource=t,this.lightSource=t,this.lightScene=new H.Scene,this.screenPosition=new H.Vector2,this.renderTargetA=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTargetA.texture.name="GodRays.Target.A",this.renderTargetB=this.renderTargetA.clone(),this.renderTargetB.texture.name="GodRays.Target.B",this.uniforms.get("map").value=this.renderTargetB.texture,this.renderTargetLight=new H.WebGLRenderTarget(1,1),this.renderTargetLight.texture.name="GodRays.Light",this.renderTargetLight.depthTexture=new H.DepthTexture,this.renderPassLight=new eq(this.lightScene,e),this.renderPassLight.clearPass.enabled=!1,this.blurPass=new ed({kernelSize:c}),this.blurPass.enabled=u,this.copyPass=new K(this.renderTargetLight),this.copyPass.fullscreenMaterial.channelWeights=new H.Vector4(0,0,0,1),this.godRaysPass=new eG(new eZ(this.screenPosition));const v=this.godRaysMaterial;v.density=s,v.decay=a,v.weight=n,v.exposure=o,v.maxIntensity=l,v.samples=i;const m=this.resolution=new er(this,g,p,h);m.addEventListener("change",e=>this.setSize(m.baseWidth,m.baseHeight))}set mainCamera(e){this.camera=e,this.renderPassLight.mainCamera=e}get lightSource(){return this._lightSource}set lightSource(e){this._lightSource=e,null!==e&&(e.material.depthWrite=!1,e.material.transparent=!0)}getBlurPass(){return this.blurPass}get texture(){return this.renderTargetB.texture}getTexture(){return this.texture}get godRaysMaterial(){return this.godRaysPass.fullscreenMaterial}getGodRaysMaterial(){return this.godRaysMaterial}getResolution(){return this.resolution}get width(){return this.resolution.width}set width(e){this.resolution.preferredWidth=e}get height(){return this.resolution.height}set height(e){this.resolution.preferredHeight=e}get dithering(){return this.godRaysMaterial.dithering}set dithering(e){let t=this.godRaysMaterial;t.dithering=e,t.needsUpdate=!0}get blur(){return this.blurPass.enabled}set blur(e){this.blurPass.enabled=e}get kernelSize(){return this.blurPass.kernelSize}set kernelSize(e){this.blurPass.kernelSize=e}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}get samples(){return this.godRaysMaterial.samples}set samples(e){this.godRaysMaterial.samples=e}setDepthTexture(e,t=H.BasicDepthPacking){this.copyPass.fullscreenMaterial.depthBuffer=e,this.copyPass.fullscreenMaterial.depthPacking=t}update(e,t,r){let i=this.lightSource,s=i.parent,a=i.matrixAutoUpdate,n=this.renderTargetA,o=this.renderTargetLight;i.material.depthWrite=!0,i.matrixAutoUpdate=!1,i.updateWorldMatrix(!0,!1),null!==s&&(a||e0.copy(i.matrix),i.matrix.copy(i.matrixWorld)),this.lightScene.add(i),this.copyPass.render(e,t),this.renderPassLight.render(e,o),i.material.depthWrite=!1,i.matrixAutoUpdate=a,null!==s&&(a||i.matrix.copy(e0),s.add(i)),e$.setFromMatrixPosition(i.matrixWorld).project(this.camera),this.screenPosition.set(Math.min(Math.max((e$.x+1)*.5,-1),2),Math.min(Math.max((e$.y+1)*.5,-1),2));let l=o;this.blurPass.enabled&&(this.blurPass.render(e,l,n),l=n),this.godRaysPass.render(e,l,this.renderTargetB)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t);let i=r.width,s=r.height;this.renderTargetLight.setSize(e,t),this.renderTargetA.setSize(i,s),this.renderTargetB.setSize(i,s),this.blurPass.resolution.copy(r)}initialize(e,t,r){this.blurPass.initialize(e,t,r),this.renderPassLight.initialize(e,t,r),this.copyPass.initialize(e,t,r),this.godRaysPass.initialize(e,t,r),void 0!==r&&(this.renderTargetA.texture.type=r,this.renderTargetB.texture.type=r,this.renderTargetLight.texture.type=r,null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTargetA.texture.colorSpace=H.SRGBColorSpace,this.renderTargetB.texture.colorSpace=H.SRGBColorSpace,this.renderTargetLight.texture.colorSpace=H.SRGBColorSpace))}},e2=class extends eo{constructor({blendFunction:e=24,scale:t=1,lineWidth:r=0}={}){super("GridEffect","uniform vec2 scale;uniform float lineWidth;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){float grid=0.5-max(abs(mod(uv.x*scale.x,1.0)-0.5),abs(mod(uv.y*scale.y,1.0)-0.5));outputColor=vec4(vec3(smoothstep(0.0,lineWidth,grid)),inputColor.a);}",{blendFunction:e,uniforms:new Map([["scale",new H.Uniform(new H.Vector2)],["lineWidth",new H.Uniform(r)]])}),this.resolution=new H.Vector2,this.s=0,this.scale=t,this.l=0,this.lineWidth=r}get scale(){return this.s}set scale(e){this.s=Math.max(e,1e-6),this.setSize(this.resolution.width,this.resolution.height)}getScale(){return this.scale}setScale(e){this.scale=e}get lineWidth(){return this.l}set lineWidth(e){this.l=e,this.setSize(this.resolution.width,this.resolution.height)}getLineWidth(){return this.lineWidth}setLineWidth(e){this.lineWidth=e}setSize(e,t){this.resolution.set(e,t);let r=e/t,i=this.scale*(.125*t);this.uniforms.get("scale").value.set(r*i,i),this.uniforms.get("lineWidth").value=i/t+this.lineWidth}},e4=class extends eo{constructor({blendFunction:e=30,hue:t=0,saturation:r=0}={}){super("HueSaturationEffect","uniform vec3 hue;uniform float saturation;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 color=vec3(dot(inputColor.rgb,hue.xyz),dot(inputColor.rgb,hue.zxy),dot(inputColor.rgb,hue.yzx));float average=(color.r+color.g+color.b)/3.0;vec3 diff=average-color;if(saturation>0.0){color+=diff*(1.0-1.0/(1.001-saturation));}else{color+=diff*-saturation;}outputColor=vec4(min(color,1.0),inputColor.a);}",{blendFunction:e,uniforms:new Map([["hue",new H.Uniform(new H.Vector3)],["saturation",new H.Uniform(r)]])}),this.hue=t}get saturation(){return this.uniforms.get("saturation").value}set saturation(e){this.uniforms.get("saturation").value=e}getSaturation(){return this.saturation}setSaturation(e){this.saturation=e}get hue(){return Math.acos((3*this.uniforms.get("hue").value.x-1)/2)}set hue(e){let t=Math.sin(e),r=Math.cos(e);this.uniforms.get("hue").value.set((2*r+1)/3,(-Math.sqrt(3)*t-r+1)/3,(Math.sqrt(3)*t-r+1)/3)}getHue(){return this.hue}setHue(e){this.hue=e}};function e3(e,t,r){let i=document.createElement("canvas"),s=i.getContext("2d");if(i.width=e,i.height=t,r instanceof Image)s.drawImage(r,0,0);else{let i=s.createImageData(e,t);i.data.set(r),s.putImageData(i,0,0)}return i}var e5=class e{constructor(e=0,t=0,r=null){this.width=e,this.height=t,this.data=r}toCanvas(){return"u"{let n=URL.createObjectURL(new Blob(['(()=>{var O={SCALE_UP:"lut.scaleup"};var _=[new Float32Array(3),new Float32Array(3)],n=[new Float32Array(3),new Float32Array(3),new Float32Array(3),new Float32Array(3)],Z=[[new Float32Array([0,0,0]),new Float32Array([1,0,0]),new Float32Array([1,1,0]),new Float32Array([1,1,1])],[new Float32Array([0,0,0]),new Float32Array([1,0,0]),new Float32Array([1,0,1]),new Float32Array([1,1,1])],[new Float32Array([0,0,0]),new Float32Array([0,0,1]),new Float32Array([1,0,1]),new Float32Array([1,1,1])],[new Float32Array([0,0,0]),new Float32Array([0,1,0]),new Float32Array([1,1,0]),new Float32Array([1,1,1])],[new Float32Array([0,0,0]),new Float32Array([0,1,0]),new Float32Array([0,1,1]),new Float32Array([1,1,1])],[new Float32Array([0,0,0]),new Float32Array([0,0,1]),new Float32Array([0,1,1]),new Float32Array([1,1,1])]];function d(a,t,r,m){let i=r[0]-t[0],e=r[1]-t[1],y=r[2]-t[2],h=a[0]-t[0],A=a[1]-t[1],w=a[2]-t[2],c=e*w-y*A,l=y*h-i*w,x=i*A-e*h,u=Math.sqrt(c*c+l*l+x*x),b=u*.5,s=c/u,F=l/u,f=x/u,p=-(a[0]*s+a[1]*F+a[2]*f),M=m[0]*s+m[1]*F+m[2]*f;return Math.abs(M+p)*b/3}function V(a,t,r,m,i,e){let y=(r+m*t+i*t*t)*4;e[0]=a[y+0],e[1]=a[y+1],e[2]=a[y+2]}function k(a,t,r,m,i,e){let y=r*(t-1),h=m*(t-1),A=i*(t-1),w=Math.floor(y),c=Math.floor(h),l=Math.floor(A),x=Math.ceil(y),u=Math.ceil(h),b=Math.ceil(A),s=y-w,F=h-c,f=A-l;if(w===y&&c===h&&l===A)V(a,t,y,h,A,e);else{let p;s>=F&&F>=f?p=Z[0]:s>=f&&f>=F?p=Z[1]:f>=s&&s>=F?p=Z[2]:F>=s&&s>=f?p=Z[3]:F>=f&&f>=s?p=Z[4]:f>=F&&F>=s&&(p=Z[5]);let[M,g,X,Y]=p,P=_[0];P[0]=s,P[1]=F,P[2]=f;let o=_[1],L=x-w,S=u-c,U=b-l;o[0]=L*M[0]+w,o[1]=S*M[1]+c,o[2]=U*M[2]+l,V(a,t,o[0],o[1],o[2],n[0]),o[0]=L*g[0]+w,o[1]=S*g[1]+c,o[2]=U*g[2]+l,V(a,t,o[0],o[1],o[2],n[1]),o[0]=L*X[0]+w,o[1]=S*X[1]+c,o[2]=U*X[2]+l,V(a,t,o[0],o[1],o[2],n[2]),o[0]=L*Y[0]+w,o[1]=S*Y[1]+c,o[2]=U*Y[2]+l,V(a,t,o[0],o[1],o[2],n[3]);let T=d(g,X,Y,P)*6,q=d(M,X,Y,P)*6,C=d(M,g,Y,P)*6,E=d(M,g,X,P)*6;n[0][0]*=T,n[0][1]*=T,n[0][2]*=T,n[1][0]*=q,n[1][1]*=q,n[1][2]*=q,n[2][0]*=C,n[2][1]*=C,n[2][2]*=C,n[3][0]*=E,n[3][1]*=E,n[3][2]*=E,e[0]=n[0][0]+n[1][0]+n[2][0]+n[3][0],e[1]=n[0][1]+n[1][1]+n[2][1]+n[3][1],e[2]=n[0][2]+n[1][2]+n[2][2]+n[3][2]}}var v=class{static expand(t,r){let m=Math.cbrt(t.length/4),i=new Float32Array(3),e=new t.constructor(r**3*4),y=t instanceof Uint8Array?255:1,h=r**2,A=1/(r-1);for(let w=0;w{let t=a.data,r=t.data;t.operation===O.SCALE_UP&&(r=v.expand(r,t.size)),postMessage(r,[r.buffer]),close()});})();\n'],{type:"text/javascript"})),o=new Worker(n);o.addEventListener("error",e=>a(e.error)),o.addEventListener("message",r=>{let i=new e(r.data,t);this.colorSpace=i.colorSpace,i.type=this.type,i.name=this.name,URL.revokeObjectURL(n),s(i)});let l=r?[i.data.buffer]:[];o.postMessage({operation:"lut.scaleup",data:i.data,size:t},l)})}applyLUT(e){let t=this.image,r=e.image,i=Math.min(t.width,t.height,t.depth);if(i!==Math.min(r.width,r.height,r.depth))console.error("Size mismatch");else if(e.type!==H.FloatType||this.type!==H.FloatType)console.error("Both LUTs must be FloatType textures");else if(e.format!==H.RGBAFormat||this.format!==H.RGBAFormat)console.error("Both LUTs must be RGBA textures");else{let e=t.data,s=r.data,a=i**2,n=i-1;for(let t=0,r=i**3;ta){r=new Uint8Array(e.length);for(let t=0;t=f.g){if(f.g>f.b){frac=f.rgb;v2=vec3(v4.x,v1.y,v1.z);v3=vec3(v4.x,v4.y,v1.z);}else if(f.r>=f.b){frac=f.rbg;v2=vec3(v4.x,v1.y,v1.z);v3=vec3(v4.x,v1.y,v4.z);}else{frac=f.brg;v2=vec3(v1.x,v1.y,v4.z);v3=vec3(v4.x,v1.y,v4.z);}}else{if(f.b>f.g){frac=f.bgr;v2=vec3(v1.x,v1.y,v4.z);v3=vec3(v1.x,v4.y,v4.z);}else if(f.r>=f.b){frac=f.grb;v2=vec3(v1.x,v4.y,v1.z);v3=vec3(v4.x,v4.y,v1.z);}else{frac=f.gbr;v2=vec3(v1.x,v4.y,v1.z);v3=vec3(v1.x,v4.y,v4.z);}}vec4 n1=texture(lut,v1);vec4 n2=texture(lut,v2);vec4 n3=texture(lut,v3);vec4 n4=texture(lut,v4);vec4 weights=vec4(1.0-frac.x,frac.x-frac.y,frac.y-frac.z,frac.z);vec4 result=weights*mat4(vec4(n1.r,n2.r,n3.r,n4.r),vec4(n1.g,n2.g,n3.g,n4.g),vec4(n1.b,n2.b,n3.b,n4.b),vec4(1.0));return vec4(result.rgb,1.0); -#else -return texture(lut,rgb); -#endif -} -#else -#ifdef LUT_PRECISION_HIGH -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D lut; -#else -uniform mediump sampler2D lut; -#endif -#else -uniform lowp sampler2D lut; -#endif -vec4 applyLUT(const in vec3 rgb){float slice=rgb.b*LUT_SIZE;float slice0=floor(slice);float interp=slice-slice0;float centeredInterp=interp-0.5;float slice1=slice0+sign(centeredInterp); -#ifdef LUT_STRIP_HORIZONTAL -float xOffset=clamp(rgb.r*LUT_TEXEL_HEIGHT,LUT_TEXEL_WIDTH*0.5,LUT_TEXEL_HEIGHT-LUT_TEXEL_WIDTH*0.5);vec2 uv0=vec2(slice0*LUT_TEXEL_HEIGHT+xOffset,rgb.g);vec2 uv1=vec2(slice1*LUT_TEXEL_HEIGHT+xOffset,rgb.g); -#else -float yOffset=clamp(rgb.g*LUT_TEXEL_WIDTH,LUT_TEXEL_HEIGHT*0.5,LUT_TEXEL_WIDTH-LUT_TEXEL_HEIGHT*0.5);vec2 uv0=vec2(rgb.r,slice0*LUT_TEXEL_WIDTH+yOffset);vec2 uv1=vec2(rgb.r,slice1*LUT_TEXEL_WIDTH+yOffset); -#endif -vec4 sample0=texture2D(lut,uv0);vec4 sample1=texture2D(lut,uv1);return mix(sample0,sample1,abs(centeredInterp));} -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 c=inputColor.rgb; -#ifdef CUSTOM_INPUT_DOMAIN -if(c.r>=domainMin.r&&c.g>=domainMin.g&&c.b>=domainMin.b&&c.r<=domainMax.r&&c.g<=domainMax.g&&c.b<=domainMax.b){c=applyLUT(scale*c+offset).rgb;}else{c=inputColor.rgb;} -#else -#if !defined(LUT_3D) || defined(TETRAHEDRAL_INTERPOLATION) -c=clamp(c,0.0,1.0); -#endif -c=applyLUT(scale*c+offset).rgb; -#endif -outputColor=vec4(c,inputColor.a);}`,e7=class extends eo{constructor(e,{blendFunction:t=30,tetrahedralInterpolation:r=!1,inputColorSpace:i=H.SRGBColorSpace}={}){super("LUT3DEffect",e9,{blendFunction:t,uniforms:new Map([["lut",new H.Uniform(null)],["scale",new H.Uniform(new H.Vector3)],["offset",new H.Uniform(new H.Vector3)],["domainMin",new H.Uniform(null)],["domainMax",new H.Uniform(null)]])}),this.tetrahedralInterpolation=r,this.inputColorSpace=i,this.lut=e}get lut(){return this.uniforms.get("lut").value}set lut(e){let t=this.defines,r=this.uniforms;if(this.lut!==e&&(r.get("lut").value=e,null!==e)){let i=e.image,s=this.tetrahedralInterpolation;if(t.clear(),t.set("LUT_SIZE",Math.min(i.width,i.height).toFixed(16)),t.set("LUT_TEXEL_WIDTH",(1/i.width).toFixed(16)),t.set("LUT_TEXEL_HEIGHT",(1/i.height).toFixed(16)),r.get("domainMin").value=null,r.get("domainMax").value=null,(e.type===H.FloatType||e.type===H.HalfFloatType)&&t.set("LUT_PRECISION_HIGH","1"),i.width>i.height?t.set("LUT_STRIP_HORIZONTAL","1"):e instanceof H.Data3DTexture&&t.set("LUT_3D","1"),e instanceof e6){let i=e.domainMin,s=e.domainMax;(0!==i.x||0!==i.y||0!==i.z||1!==s.x||1!==s.y||1!==s.z)&&(t.set("CUSTOM_INPUT_DOMAIN","1"),r.get("domainMin").value=i.clone(),r.get("domainMax").value=s.clone())}this.tetrahedralInterpolation=s}}getLUT(){return this.lut}setLUT(e){this.lut=e}updateScaleOffset(){let e=this.lut;if(null!==e){let t=Math.min(e.image.width,e.image.height),r=this.uniforms.get("scale").value,i=this.uniforms.get("offset").value;if(this.tetrahedralInterpolation&&e instanceof H.Data3DTexture)if(this.defines.has("CUSTOM_INPUT_DOMAIN")){let s=e.domainMax.clone().sub(e.domainMin);r.setScalar(t-1).divide(s),i.copy(e.domainMin).negate().multiply(r)}else r.setScalar(t-1),i.setScalar(0);else if(this.defines.has("CUSTOM_INPUT_DOMAIN")){let s=e.domainMax.clone().sub(e.domainMin).multiplyScalar(t);r.setScalar(t-1).divide(s),i.copy(e.domainMin).negate().multiply(r).addScalar(1/(2*t))}else r.setScalar((t-1)/t),i.setScalar(1/(2*t))}}configureTetrahedralInterpolation(){let e=this.lut;null!==e&&(e.minFilter=H.LinearFilter,e.magFilter=H.LinearFilter,this.tetrahedralInterpolation&&(e instanceof H.Data3DTexture?(e.minFilter=H.NearestFilter,e.magFilter=H.NearestFilter):console.warn("Tetrahedral interpolation requires a 3D texture")),e.needsUpdate=!0)}get tetrahedralInterpolation(){return this.defines.has("TETRAHEDRAL_INTERPOLATION")}set tetrahedralInterpolation(e){e?this.defines.set("TETRAHEDRAL_INTERPOLATION","1"):this.defines.delete("TETRAHEDRAL_INTERPOLATION"),this.configureTetrahedralInterpolation(),this.updateScaleOffset(),this.setChanged()}setTetrahedralInterpolationEnabled(e){this.tetrahedralInterpolation=e}},te=`void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 noise=vec3(rand(uv*(1.0+time))); -#ifdef PREMULTIPLY -outputColor=vec4(min(inputColor.rgb*noise,vec3(1.0)),inputColor.a); -#else -outputColor=vec4(noise,inputColor.a); -#endif -}`,tt=class extends eo{constructor({blendFunction:e=28,premultiply:t=!1}={}){super("NoiseEffect",te,{blendFunction:e}),this.premultiply=t}get premultiply(){return this.defines.has("PREMULTIPLY")}set premultiply(e){this.premultiply!==e&&(e?this.defines.set("PREMULTIPLY","1"):this.defines.delete("PREMULTIPLY"),this.setChanged())}isPremultiplied(){return this.premultiply}setPremultiplied(e){this.premultiply=e}},tr=`#include -#include -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -uniform float cameraNear;uniform float cameraFar;centroid varying float vViewZ;centroid varying vec4 vProjTexCoord;void main(){ -#include -vec2 projTexCoord=(vProjTexCoord.xy/vProjTexCoord.w)*0.5+0.5; -#if DEPTH_PACKING == 3201 -float depth=unpackRGBAToDepth(texture2D(depthBuffer,projTexCoord)); -#else -float depth=texture2D(depthBuffer,projTexCoord).r; -#endif -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float d=pow(2.0,depth*log2(cameraFar+1.0))-1.0;float a=cameraFar/(cameraFar-cameraNear);float b=cameraFar*cameraNear/(cameraNear-cameraFar);depth=a+b/d; -#elif defined(USE_REVERSED_DEPTH_BUFFER) -depth=1.0-depth; -#endif -#ifdef PERSPECTIVE_CAMERA -float viewZ=perspectiveDepthToViewZ(depth,cameraNear,cameraFar); -#else -float viewZ=orthographicDepthToViewZ(depth,cameraNear,cameraFar); -#endif -float depthTest=(-vViewZ>-viewZ)?1.0:0.0;gl_FragColor.rg=vec2(0.0,depthTest);}`,ti=`#include -#include -#include -#include -varying float vViewZ;varying vec4 vProjTexCoord;void main(){ -#include -#include -#include -#include -#include -vViewZ=mvPosition.z;vProjTexCoord=gl_Position; -#include -}`,ts=class extends H.ShaderMaterial{constructor(e=null,t){super({name:"DepthComparisonMaterial",defines:{DEPTH_PACKING:"0"},uniforms:{depthBuffer:new H.Uniform(null),cameraNear:new H.Uniform(.3),cameraFar:new H.Uniform(1e3)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tr,vertexShader:ti}),this.depthBuffer=e,this.depthPacking=H.RGBADepthPacking,this.copyCameraSettings(t)}set depthBuffer(e){this.uniforms.depthBuffer.value=e}set depthPacking(e){this.defines.DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer(e,t=H.RGBADepthPacking){this.depthBuffer=e,this.depthPacking=t}adoptCameraSettings(e){this.copyCameraSettings(e)}copyCameraSettings(e){e&&(this.uniforms.cameraNear.value=e.near,this.uniforms.cameraFar.value=e.far,e instanceof H.PerspectiveCamera?this.defines.PERSPECTIVE_CAMERA="1":delete this.defines.PERSPECTIVE_CAMERA,this.needsUpdate=!0)}},ta=class extends H.ShaderMaterial{constructor(e=new H.Vector2){super({name:"OutlineMaterial",uniforms:{inputBuffer:new H.Uniform(null),texelSize:new H.Uniform(new H.Vector2)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:"uniform lowp sampler2D inputBuffer;varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;void main(){vec2 c0=texture2D(inputBuffer,vUv0).rg;vec2 c1=texture2D(inputBuffer,vUv1).rg;vec2 c2=texture2D(inputBuffer,vUv2).rg;vec2 c3=texture2D(inputBuffer,vUv3).rg;float d0=(c0.x-c1.x)*0.5;float d1=(c2.x-c3.x)*0.5;float d=length(vec2(d0,d1));float a0=min(c0.y,c1.y);float a1=min(c2.y,c3.y);float visibilityFactor=min(a0,a1);gl_FragColor.rg=(1.0-visibilityFactor>0.001)?vec2(d,0.0):vec2(0.0,d);}",vertexShader:"uniform vec2 texelSize;varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;void main(){vec2 uv=position.xy*0.5+0.5;vUv0=vec2(uv.x+texelSize.x,uv.y);vUv1=vec2(uv.x-texelSize.x,uv.y);vUv2=vec2(uv.x,uv.y+texelSize.y);vUv3=vec2(uv.x,uv.y-texelSize.y);gl_Position=vec4(position.xy,1.0,1.0);}"}),this.uniforms.texelSize.value.set(e.x,e.y),this.uniforms.maskTexture=this.uniforms.inputBuffer}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}setTexelSize(e,t){this.uniforms.texelSize.value.set(e,t)}setSize(e,t){this.uniforms.texelSize.value.set(1/e,1/t)}},tn=class extends k{constructor(e,t,{renderTarget:r,resolutionScale:i=1,width:s=er.AUTO_SIZE,height:a=er.AUTO_SIZE,resolutionX:n=s,resolutionY:o=a}={}){super("DepthPass"),this.needsSwap=!1,this.renderPass=new eq(e,t,new H.MeshDepthMaterial({depthPacking:H.RGBADepthPacking}));const l=this.renderPass;l.skipShadowMapUpdate=!0,l.ignoreBackground=!0,this.renderTarget=r,void 0===this.renderTarget&&(this.renderTarget=new H.WebGLRenderTarget(1,1,{minFilter:H.NearestFilter,magFilter:H.NearestFilter}),this.renderTarget.texture.name="DepthPass.Target");const u=this.resolution=new er(this,n,o,i);u.addEventListener("change",e=>this.setSize(u.baseWidth,u.baseHeight))}set mainScene(e){this.renderPass.mainScene=e}set mainCamera(e){this.renderPass.mainCamera=e}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}getResolution(){return this.resolution}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}render(e,t,r,i,s){let a=this.renderToScreen?null:this.renderTarget;this.renderPass.render(e,a)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height)}initialize(e,t,r){let i=0xffffff*!e.capabilities.reversedDepthBuffer,s=this.renderPass.clearPass;s.overrideClearColor=new H.Color(i),s.overrideClearAlpha=1}},to=`uniform lowp sampler2D edgeTexture;uniform lowp sampler2D maskTexture;uniform vec3 visibleEdgeColor;uniform vec3 hiddenEdgeColor;uniform float pulse;uniform float edgeStrength; -#ifdef USE_PATTERN -uniform lowp sampler2D patternTexture;varying vec2 vUvPattern; -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec2 edge=texture2D(edgeTexture,uv).rg;vec2 mask=texture2D(maskTexture,uv).rg; -#ifndef X_RAY -edge.y=0.0; -#endif -edge*=(edgeStrength*mask.x*pulse);vec3 color=edge.x*visibleEdgeColor+edge.y*hiddenEdgeColor;float visibilityFactor=0.0; -#ifdef USE_PATTERN -vec4 patternColor=texture2D(patternTexture,vUvPattern); -#ifdef X_RAY -float hiddenFactor=0.5; -#else -float hiddenFactor=0.0; -#endif -visibilityFactor=(1.0-mask.y>0.0)?1.0:hiddenFactor;visibilityFactor*=(1.0-mask.x)*patternColor.a;color+=visibilityFactor*patternColor.rgb; -#endif -float alpha=max(max(edge.x,edge.y),visibilityFactor); -#ifdef ALPHA -outputColor=vec4(color,alpha); -#else -outputColor=vec4(color,max(alpha,inputColor.a)); -#endif -}`,tl=class extends eo{constructor(e,t,{blendFunction:r=28,patternTexture:i=null,patternScale:s=1,edgeStrength:a=1,pulseSpeed:n=0,visibleEdgeColor:o=0xffffff,hiddenEdgeColor:l=2230538,kernelSize:u=el.VERY_SMALL,blur:c=!1,xRay:h=!0,multisampling:d=0,resolutionScale:f=.5,width:g=er.AUTO_SIZE,height:p=er.AUTO_SIZE,resolutionX:v=g,resolutionY:m=p}={}){super("OutlineEffect",to,{uniforms:new Map([["maskTexture",new H.Uniform(null)],["edgeTexture",new H.Uniform(null)],["edgeStrength",new H.Uniform(a)],["visibleEdgeColor",new H.Uniform(new H.Color(o))],["hiddenEdgeColor",new H.Uniform(new H.Color(l))],["pulse",new H.Uniform(1)],["patternScale",new H.Uniform(s)],["patternTexture",new H.Uniform(null)]])}),this.blendMode.addEventListener("change",e=>{1===this.blendMode.blendFunction?this.defines.set("ALPHA","1"):this.defines.delete("ALPHA"),this.setChanged()}),this.blendMode.blendFunction=r,this.patternTexture=i,this.xRay=h,this.scene=e,this.camera=t,this.renderTargetMask=new H.WebGLRenderTarget(1,1),this.renderTargetMask.samples=d,this.renderTargetMask.texture.name="Outline.Mask",this.uniforms.get("maskTexture").value=this.renderTargetMask.texture,this.renderTargetOutline=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTargetOutline.texture.name="Outline.Edges",this.uniforms.get("edgeTexture").value=this.renderTargetOutline.texture,this.clearPass=new J,this.clearPass.overrideClearColor=new H.Color(0),this.clearPass.overrideClearAlpha=1,this.depthPass=new tn(e,t),this.maskPass=new eq(e,t,new ts(this.depthPass.texture,t));const A=this.maskPass.clearPass;A.overrideClearColor=new H.Color(0xffffff),A.overrideClearAlpha=1,this.blurPass=new ed({resolutionScale:f,resolutionX:v,resolutionY:m,kernelSize:u}),this.blurPass.enabled=c;const x=this.blurPass.resolution;x.addEventListener("change",e=>this.setSize(x.baseWidth,x.baseHeight)),this.outlinePass=new eG(new ta),this.outlinePass.fullscreenMaterial.inputBuffer=this.renderTargetMask.texture,this.time=0,this.forceUpdate=!0,this.selection=new es,this.pulseSpeed=n}set mainScene(e){this.scene=e,this.depthPass.mainScene=e,this.maskPass.mainScene=e}set mainCamera(e){this.camera=e,this.depthPass.mainCamera=e,this.maskPass.mainCamera=e,this.maskPass.overrideMaterial.copyCameraSettings(e)}get resolution(){return this.blurPass.resolution}getResolution(){return this.blurPass.getResolution()}get multisampling(){return this.renderTargetMask.samples}set multisampling(e){this.renderTargetMask.samples=e,this.renderTargetMask.dispose()}get patternScale(){return this.uniforms.get("patternScale").value}set patternScale(e){this.uniforms.get("patternScale").value=e}get edgeStrength(){return this.uniforms.get("edgeStrength").value}set edgeStrength(e){this.uniforms.get("edgeStrength").value=e}get visibleEdgeColor(){return this.uniforms.get("visibleEdgeColor").value}set visibleEdgeColor(e){this.uniforms.get("visibleEdgeColor").value=e}get hiddenEdgeColor(){return this.uniforms.get("hiddenEdgeColor").value}set hiddenEdgeColor(e){this.uniforms.get("hiddenEdgeColor").value=e}getBlurPass(){return this.blurPass}getSelection(){return this.selection}getPulseSpeed(){return this.pulseSpeed}setPulseSpeed(e){this.pulseSpeed=e}get width(){return this.resolution.width}set width(e){this.resolution.preferredWidth=e}get height(){return this.resolution.height}set height(e){this.resolution.preferredHeight=e}get selectionLayer(){return this.selection.layer}set selectionLayer(e){this.selection.layer=e}get dithering(){return this.blurPass.dithering}set dithering(e){this.blurPass.dithering=e}get kernelSize(){return this.blurPass.kernelSize}set kernelSize(e){this.blurPass.kernelSize=e}get blur(){return this.blurPass.enabled}set blur(e){this.blurPass.enabled=e}get xRay(){return this.defines.has("X_RAY")}set xRay(e){this.xRay!==e&&(e?this.defines.set("X_RAY","1"):this.defines.delete("X_RAY"),this.setChanged())}isXRayEnabled(){return this.xRay}setXRayEnabled(e){this.xRay=e}get patternTexture(){return this.uniforms.get("patternTexture").value}set patternTexture(e){null!==e?(e.wrapS=e.wrapT=H.RepeatWrapping,this.defines.set("USE_PATTERN","1"),this.setVertexShader("uniform float patternScale;varying vec2 vUvPattern;void mainSupport(const in vec2 uv){vUvPattern=uv*vec2(aspect,1.0)*patternScale;}")):(this.defines.delete("USE_PATTERN"),this.setVertexShader(null)),this.uniforms.get("patternTexture").value=e,this.setChanged()}setPatternTexture(e){this.patternTexture=e}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}setSelection(e){return this.selection.set(e),this}clearSelection(){return this.selection.clear(),this}selectObject(e){return this.selection.add(e),this}deselectObject(e){return this.selection.delete(e),this}update(e,t,r){let i=this.scene,s=this.camera,a=this.selection,n=this.uniforms.get("pulse"),o=i.background,l=s.layers.mask;(this.forceUpdate||a.size>0)&&(i.background=null,n.value=1,this.pulseSpeed>0&&(n.value=.375*Math.cos(this.time*this.pulseSpeed*10)+.625),this.time+=r,a.setVisible(!1),this.depthPass.render(e),a.setVisible(!0),s.layers.set(a.layer),this.maskPass.render(e,this.renderTargetMask),s.layers.mask=l,i.background=o,this.outlinePass.render(e,null,this.renderTargetOutline),this.blurPass.enabled&&this.blurPass.render(e,this.renderTargetOutline,this.renderTargetOutline)),this.forceUpdate=a.size>0}setSize(e,t){this.blurPass.setSize(e,t),this.renderTargetMask.setSize(e,t);let r=this.resolution;r.setBaseSize(e,t);let i=r.width,s=r.height;this.depthPass.setSize(i,s),this.renderTargetOutline.setSize(i,s),this.outlinePass.fullscreenMaterial.setSize(i,s)}initialize(e,t,r){this.blurPass.initialize(e,t,H.UnsignedByteType),void 0!==r&&(this.depthPass.initialize(e,t,r),this.maskPass.initialize(e,t,r),this.outlinePass.initialize(e,t,r))}},tu=class extends eo{constructor(e=30){super("PixelationEffect","uniform bool active;uniform vec4 d;void mainUv(inout vec2 uv){if(active){uv=d.xy*(floor(uv*d.zw)+0.5);}}",{uniforms:new Map([["active",new H.Uniform(!1)],["d",new H.Uniform(new H.Vector4)]])}),this.resolution=new H.Vector2,this._granularity=0,this.granularity=e}get granularity(){return this._granularity}set granularity(e){let t=Math.floor(e);t%2>0&&(t+=1),this._granularity=t,this.uniforms.get("active").value=t>0,this.setSize(this.resolution.width,this.resolution.height)}getGranularity(){return this.granularity}setGranularity(e){this.granularity=e}setSize(e,t){let r=this.resolution;r.set(e,t);let i=this.granularity,s=i/r.x,a=i/r.y;this.uniforms.get("d").value.set(s,a,1/s,1/a)}},tc=`uniform float count; -#ifdef SCROLL -uniform float scrollSpeed; -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){float y=uv.y; -#ifdef SCROLL -y+=time*scrollSpeed; -#endif -vec2 sl=vec2(sin(y*count),cos(y*count));outputColor=vec4(sl.xyx,inputColor.a);}`,th=class extends eo{constructor({blendFunction:e=24,density:t=1.25,scrollSpeed:r=0}={}){super("ScanlineEffect",tc,{blendFunction:e,uniforms:new Map([["count",new H.Uniform(0)],["scrollSpeed",new H.Uniform(0)]])}),this.resolution=new H.Vector2,this.d=t,this.scrollSpeed=r}get density(){return this.d}set density(e){this.d=e,this.setSize(this.resolution.width,this.resolution.height)}getDensity(){return this.density}setDensity(e){this.density=e}get scrollSpeed(){return this.uniforms.get("scrollSpeed").value}set scrollSpeed(e){this.uniforms.get("scrollSpeed").value=e,0===e?this.defines.delete("SCROLL")&&this.setChanged():this.defines.has("SCROLL")||(this.defines.set("SCROLL","1"),this.setChanged())}setSize(e,t){this.resolution.set(e,t),this.uniforms.get("count").value=Math.round(t*this.density)}},td=.5*Math.PI,tf=new H.Vector3,tg=new H.Vector3,tp=class extends eo{constructor(e,t=new H.Vector3,{speed:r=2,maxRadius:i=1,waveSize:s=.2,amplitude:a=.05}={}){super("ShockWaveEffect","uniform bool active;uniform vec2 center;uniform float waveSize;uniform float radius;uniform float maxRadius;uniform float amplitude;varying float vSize;void mainUv(inout vec2 uv){if(active){vec2 aspectCorrection=vec2(aspect,1.0);vec2 difference=uv*aspectCorrection-center*aspectCorrection;float distance=sqrt(dot(difference,difference))*vSize;if(distance>radius){if(distancetd,n.value&&(a.get("cameraDistance").value=s.position.distanceTo(i),tf.copy(i).project(s),this.screenPosition.set((tf.x+1)*.5,(tf.y+1)*.5)),this.time+=r*this.speed;let t=this.time-e;a.get("radius").value=t,t>=(a.get("maxRadius").value+e)*2&&(this.active=!1,n.value=!1)}}},tv=`#include -#include -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer0;uniform highp sampler2D depthBuffer1; -#else -uniform mediump sampler2D depthBuffer0;uniform mediump sampler2D depthBuffer1; -#endif -uniform sampler2D inputBuffer;uniform vec2 cameraNearFar;float getViewZ(const in float depth){ -#ifdef PERSPECTIVE_CAMERA -return perspectiveDepthToViewZ(depth,cameraNearFar.x,cameraNearFar.y); -#else -return orthographicDepthToViewZ(depth,cameraNearFar.x,cameraNearFar.y); -#endif -}varying vec2 vUv;void main(){vec2 depth; -#if DEPTH_PACKING_0 == 3201 -depth.x=unpackRGBAToDepth(texture2D(depthBuffer0,vUv)); -#else -depth.x=texture2D(depthBuffer0,vUv).r; -#endif -#if DEPTH_PACKING_1 == 3201 -depth.y=unpackRGBAToDepth(texture2D(depthBuffer1,vUv)); -#else -depth.y=texture2D(depthBuffer1,vUv).r; -#endif -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float a=cameraNearFar.y/(cameraNearFar.y-cameraNearFar.x);float b=cameraNearFar.y*cameraNearFar.x/(cameraNearFar.x-cameraNearFar.y);float c=log2(cameraNearFar.y+1.0);float d=pow(2.0,depth.x*c)-1.0;depth.x=a+b/d;d=pow(2.0,depth.y*c)-1.0;depth.y=a+b/d; -#elif defined(USE_REVERSED_DEPTH_BUFFER) -depth.x=1.0-depth.x;depth.y=1.0-depth.y; -#endif -bool isMaxDepth=(depth.x==1.0); -#ifdef PERSPECTIVE_CAMERA -depth.x=viewZToOrthographicDepth(getViewZ(depth.x),cameraNearFar.x,cameraNearFar.y);depth.y=viewZToOrthographicDepth(getViewZ(depth.y),cameraNearFar.x,cameraNearFar.y); -#endif -#if DEPTH_TEST_STRATEGY == 0 -bool keep=depthTest(depth.x,depth.y); -#elif DEPTH_TEST_STRATEGY == 1 -bool keep=isMaxDepth||depthTest(depth.x,depth.y); -#else -bool keep=!isMaxDepth&&depthTest(depth.x,depth.y); -#endif -if(keep){gl_FragColor=texture2D(inputBuffer,vUv);}else{discard;}}`,tm=class extends H.ShaderMaterial{constructor(){super({name:"DepthMaskMaterial",defines:{DEPTH_EPSILON:"0.0001",DEPTH_PACKING_0:"0",DEPTH_PACKING_1:"0",DEPTH_TEST_STRATEGY:1},uniforms:{inputBuffer:new H.Uniform(null),depthBuffer0:new H.Uniform(null),depthBuffer1:new H.Uniform(null),cameraNearFar:new H.Uniform(new H.Vector2(1,1))},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tv,vertexShader:Y}),this.depthMode=H.LessDepth}set depthBuffer0(e){this.uniforms.depthBuffer0.value=e}set depthPacking0(e){this.defines.DEPTH_PACKING_0=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer0(e,t=H.BasicDepthPacking){this.depthBuffer0=e,this.depthPacking0=t}set depthBuffer1(e){this.uniforms.depthBuffer1.value=e}set depthPacking1(e){this.defines.DEPTH_PACKING_1=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer1(e,t=H.BasicDepthPacking){this.depthBuffer1=e,this.depthPacking1=t}get maxDepthStrategy(){return Number(this.defines.DEPTH_TEST_STRATEGY)}set maxDepthStrategy(e){this.defines.DEPTH_TEST_STRATEGY=e.toFixed(0),this.needsUpdate=!0}get keepFar(){return this.maxDepthStrategy}set keepFar(e){this.maxDepthStrategy=e?1:2}getMaxDepthStrategy(){return this.maxDepthStrategy}setMaxDepthStrategy(e){this.maxDepthStrategy=e}get epsilon(){return Number(this.defines.DEPTH_EPSILON)}set epsilon(e){this.defines.DEPTH_EPSILON=e.toFixed(16),this.needsUpdate=!0}getEpsilon(){return this.epsilon}setEpsilon(e){this.epsilon=e}get depthMode(){return Number(this.defines.DEPTH_MODE)}set depthMode(e){let t;switch(e){case H.NeverDepth:t="false";break;case H.AlwaysDepth:t="true";break;case H.EqualDepth:t="abs(d1 - d0) <= DEPTH_EPSILON";break;case H.NotEqualDepth:t="abs(d1 - d0) > DEPTH_EPSILON";break;case H.LessDepth:t="d0 > d1";break;case H.LessEqualDepth:t="d0 >= d1";break;case H.GreaterEqualDepth:t="d0 <= d1";break;case H.GreaterDepth:default:t="d0 < d1"}this.defines.DEPTH_MODE=e.toFixed(0),this.defines["depthTest(d0, d1)"]=t,this.needsUpdate=!0}getDepthMode(){return this.depthMode}setDepthMode(e){this.depthMode=e}adoptCameraSettings(e){this.copyCameraSettings(e)}copyCameraSettings(e){e&&(this.uniforms.cameraNearFar.value.set(e.near,e.far),e instanceof H.PerspectiveCamera?this.defines.PERSPECTIVE_CAMERA="1":delete this.defines.PERSPECTIVE_CAMERA,this.needsUpdate=!0)}},tA=class extends eE{constructor(e,t,r){super(r),this.setAttributes(1|this.getAttributes()),this.camera=t,this.depthPass=new tn(e,t),this.clearPass=new J(!0,!1,!1),this.clearPass.overrideClearColor=new H.Color(0),this.depthMaskPass=new eG(new tm);const i=this.depthMaskMaterial;i.copyCameraSettings(t),i.depthBuffer1=this.depthPass.texture,i.depthPacking1=H.RGBADepthPacking,i.depthMode=H.EqualDepth,this.renderTargetMasked=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTargetMasked.texture.name="Bloom.Masked",this.selection=new es,this._inverted=!1,this._ignoreBackground=!1}set mainScene(e){this.depthPass.mainScene=e}set mainCamera(e){this.camera=e,this.depthPass.mainCamera=e,this.depthMaskMaterial.copyCameraSettings(e)}getSelection(){return this.selection}get depthMaskMaterial(){return this.depthMaskPass.fullscreenMaterial}get inverted(){return this._inverted}set inverted(e){this._inverted=e,this.depthMaskMaterial.depthMode=e?H.NotEqualDepth:H.EqualDepth}isInverted(){return this.inverted}setInverted(e){this.inverted=e}get ignoreBackground(){return this._ignoreBackground}set ignoreBackground(e){this._ignoreBackground=e,this.depthMaskMaterial.maxDepthStrategy=e?2:1}isBackgroundDisabled(){return this.ignoreBackground}setBackgroundDisabled(e){this.ignoreBackground=e}setDepthTexture(e,t=H.BasicDepthPacking){this.depthMaskMaterial.depthBuffer0=e,this.depthMaskMaterial.depthPacking0=t}update(e,t,r){let i=this.camera,s=this.selection,a=this.inverted,n=t;if(this.ignoreBackground||!a||s.size>0){let r=i.layers.mask;i.layers.set(s.layer),this.depthPass.render(e),i.layers.mask=r,n=this.renderTargetMasked,this.clearPass.render(e,n),this.depthMaskPass.render(e,t,n)}super.update(e,n,r)}setSize(e,t){super.setSize(e,t),this.renderTargetMasked.setSize(e,t),this.depthPass.setSize(e,t)}initialize(e,t,r){super.initialize(e,t,r),this.clearPass.initialize(e,t,r),this.depthPass.initialize(e,t,r),this.depthMaskPass.initialize(e,t,r),null!==e&&e.capabilities.logarithmicDepthBuffer&&(this.depthMaskPass.fullscreenMaterial.defines.LOG_DEPTH="1"),void 0!==r&&(this.renderTargetMasked.texture.type=r,null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTargetMasked.texture.colorSpace=H.SRGBColorSpace))}},tx=class extends eo{constructor({blendFunction:e,intensity:t=1}={}){super("SepiaEffect","uniform vec3 weightsR;uniform vec3 weightsG;uniform vec3 weightsB;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec3 color=vec3(dot(inputColor.rgb,weightsR),dot(inputColor.rgb,weightsG),dot(inputColor.rgb,weightsB));outputColor=vec4(color,inputColor.a);}",{blendFunction:e,uniforms:new Map([["weightsR",new H.Uniform(new H.Vector3(.393,.769,.189))],["weightsG",new H.Uniform(new H.Vector3(.349,.686,.168))],["weightsB",new H.Uniform(new H.Vector3(.272,.534,.131))]])})}get intensity(){return this.blendMode.opacity.value}set intensity(e){this.blendMode.opacity.value=e}getIntensity(){return this.intensity}setIntensity(e){this.intensity=e}get weightsR(){return this.uniforms.get("weightsR").value}get weightsG(){return this.uniforms.get("weightsG").value}get weightsB(){return this.uniforms.get("weightsB").value}},tD=`varying vec2 vUv;varying vec2 vUv0;varying vec2 vUv1; -#if EDGE_DETECTION_MODE != 0 -varying vec2 vUv2;varying vec2 vUv3;varying vec2 vUv4;varying vec2 vUv5; -#endif -#if EDGE_DETECTION_MODE == 1 -#include -#endif -#if EDGE_DETECTION_MODE == 0 || PREDICATION_MODE == 1 -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -return unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -return texture2D(depthBuffer,uv).r; -#endif -}vec3 gatherNeighbors(){float p=readDepth(vUv);float pLeft=readDepth(vUv0);float pTop=readDepth(vUv1);return vec3(p,pLeft,pTop);} -#elif PREDICATION_MODE == 2 -uniform sampler2D predicationBuffer;vec3 gatherNeighbors(){float p=texture2D(predicationBuffer,vUv).r;float pLeft=texture2D(predicationBuffer,vUv0).r;float pTop=texture2D(predicationBuffer,vUv1).r;return vec3(p,pLeft,pTop);} -#endif -#if PREDICATION_MODE != 0 -vec2 calculatePredicatedThreshold(){vec3 neighbours=gatherNeighbors();vec2 delta=abs(neighbours.xx-neighbours.yz);vec2 edges=step(PREDICATION_THRESHOLD,delta);return PREDICATION_SCALE*EDGE_THRESHOLD*(1.0-PREDICATION_STRENGTH*edges);} -#endif -#if EDGE_DETECTION_MODE != 0 -uniform sampler2D inputBuffer; -#endif -void main(){ -#if EDGE_DETECTION_MODE == 0 -const vec2 threshold=vec2(DEPTH_THRESHOLD); -#elif PREDICATION_MODE != 0 -vec2 threshold=calculatePredicatedThreshold(); -#else -const vec2 threshold=vec2(EDGE_THRESHOLD); -#endif -#if EDGE_DETECTION_MODE == 0 -vec3 neighbors=gatherNeighbors();vec2 delta=abs(neighbors.xx-vec2(neighbors.y,neighbors.z));vec2 edges=step(threshold,delta);if(dot(edges,vec2(1.0))==0.0){discard;}gl_FragColor=vec4(edges,0.0,1.0); -#elif EDGE_DETECTION_MODE == 1 -float l=luminance(texture2D(inputBuffer,vUv).rgb);float lLeft=luminance(texture2D(inputBuffer,vUv0).rgb);float lTop=luminance(texture2D(inputBuffer,vUv1).rgb);vec4 delta;delta.xy=abs(l-vec2(lLeft,lTop));vec2 edges=step(threshold,delta.xy);if(dot(edges,vec2(1.0))==0.0){discard;}float lRight=luminance(texture2D(inputBuffer,vUv2).rgb);float lBottom=luminance(texture2D(inputBuffer,vUv3).rgb);delta.zw=abs(l-vec2(lRight,lBottom));vec2 maxDelta=max(delta.xy,delta.zw);float lLeftLeft=luminance(texture2D(inputBuffer,vUv4).rgb);float lTopTop=luminance(texture2D(inputBuffer,vUv5).rgb);delta.zw=abs(vec2(lLeft,lTop)-vec2(lLeftLeft,lTopTop));maxDelta=max(maxDelta.xy,delta.zw);float finalDelta=max(maxDelta.x,maxDelta.y);edges.xy*=step(finalDelta,LOCAL_CONTRAST_ADAPTATION_FACTOR*delta.xy);gl_FragColor=vec4(edges,0.0,1.0); -#elif EDGE_DETECTION_MODE == 2 -vec4 delta;vec3 c=texture2D(inputBuffer,vUv).rgb;vec3 cLeft=texture2D(inputBuffer,vUv0).rgb;vec3 t=abs(c-cLeft);delta.x=max(max(t.r,t.g),t.b);vec3 cTop=texture2D(inputBuffer,vUv1).rgb;t=abs(c-cTop);delta.y=max(max(t.r,t.g),t.b);vec2 edges=step(threshold,delta.xy);if(dot(edges,vec2(1.0))==0.0){discard;}vec3 cRight=texture2D(inputBuffer,vUv2).rgb;t=abs(c-cRight);delta.z=max(max(t.r,t.g),t.b);vec3 cBottom=texture2D(inputBuffer,vUv3).rgb;t=abs(c-cBottom);delta.w=max(max(t.r,t.g),t.b);vec2 maxDelta=max(delta.xy,delta.zw);vec3 cLeftLeft=texture2D(inputBuffer,vUv4).rgb;t=abs(c-cLeftLeft);delta.z=max(max(t.r,t.g),t.b);vec3 cTopTop=texture2D(inputBuffer,vUv5).rgb;t=abs(c-cTopTop);delta.w=max(max(t.r,t.g),t.b);maxDelta=max(maxDelta.xy,delta.zw);float finalDelta=max(maxDelta.x,maxDelta.y);edges*=step(finalDelta,LOCAL_CONTRAST_ADAPTATION_FACTOR*delta.xy);gl_FragColor=vec4(edges,0.0,1.0); -#endif -}`,tw=`uniform vec2 texelSize;varying vec2 vUv;varying vec2 vUv0;varying vec2 vUv1; -#if EDGE_DETECTION_MODE != 0 -varying vec2 vUv2;varying vec2 vUv3;varying vec2 vUv4;varying vec2 vUv5; -#endif -void main(){vUv=position.xy*0.5+0.5;vUv0=vUv+texelSize*vec2(-1.0,0.0);vUv1=vUv+texelSize*vec2(0.0,-1.0); -#if EDGE_DETECTION_MODE != 0 -vUv2=vUv+texelSize*vec2(1.0,0.0);vUv3=vUv+texelSize*vec2(0.0,1.0);vUv4=vUv+texelSize*vec2(-2.0,0.0);vUv5=vUv+texelSize*vec2(0.0,-2.0); -#endif -gl_Position=vec4(position.xy,1.0,1.0);}`,tE=class extends H.ShaderMaterial{constructor(e=new H.Vector2,t=2){super({name:"EdgeDetectionMaterial",defines:{THREE_REVISION:H.REVISION.replace(/\D+/g,""),LOCAL_CONTRAST_ADAPTATION_FACTOR:"2.0",EDGE_THRESHOLD:"0.1",DEPTH_THRESHOLD:"0.01",PREDICATION_MODE:"0",PREDICATION_THRESHOLD:"0.01",PREDICATION_SCALE:"2.0",PREDICATION_STRENGTH:"1.0",DEPTH_PACKING:"0"},uniforms:{inputBuffer:new H.Uniform(null),depthBuffer:new H.Uniform(null),predicationBuffer:new H.Uniform(null),texelSize:new H.Uniform(e)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tD,vertexShader:tw}),this.edgeDetectionMode=t}set depthBuffer(e){this.uniforms.depthBuffer.value=e}set depthPacking(e){this.defines.DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer(e,t=H.BasicDepthPacking){this.depthBuffer=e,this.depthPacking=t}get edgeDetectionMode(){return Number(this.defines.EDGE_DETECTION_MODE)}set edgeDetectionMode(e){this.defines.EDGE_DETECTION_MODE=e.toFixed(0),this.needsUpdate=!0}getEdgeDetectionMode(){return this.edgeDetectionMode}setEdgeDetectionMode(e){this.edgeDetectionMode=e}get localContrastAdaptationFactor(){return Number(this.defines.LOCAL_CONTRAST_ADAPTATION_FACTOR)}set localContrastAdaptationFactor(e){this.defines.LOCAL_CONTRAST_ADAPTATION_FACTOR=e.toFixed("6"),this.needsUpdate=!0}getLocalContrastAdaptationFactor(){return this.localContrastAdaptationFactor}setLocalContrastAdaptationFactor(e){this.localContrastAdaptationFactor=e}get edgeDetectionThreshold(){return Number(this.defines.EDGE_THRESHOLD)}set edgeDetectionThreshold(e){this.defines.EDGE_THRESHOLD=e.toFixed("6"),this.defines.DEPTH_THRESHOLD=(.1*e).toFixed("6"),this.needsUpdate=!0}getEdgeDetectionThreshold(){return this.edgeDetectionThreshold}setEdgeDetectionThreshold(e){this.edgeDetectionThreshold=e}get predicationMode(){return Number(this.defines.PREDICATION_MODE)}set predicationMode(e){this.defines.PREDICATION_MODE=e.toFixed(0),this.needsUpdate=!0}getPredicationMode(){return this.predicationMode}setPredicationMode(e){this.predicationMode=e}set predicationBuffer(e){this.uniforms.predicationBuffer.value=e}setPredicationBuffer(e){this.uniforms.predicationBuffer.value=e}get predicationThreshold(){return Number(this.defines.PREDICATION_THRESHOLD)}set predicationThreshold(e){this.defines.PREDICATION_THRESHOLD=e.toFixed("6"),this.needsUpdate=!0}getPredicationThreshold(){return this.predicationThreshold}setPredicationThreshold(e){this.predicationThreshold=e}get predicationScale(){return Number(this.defines.PREDICATION_SCALE)}set predicationScale(e){this.defines.PREDICATION_SCALE=e.toFixed("6"),this.needsUpdate=!0}getPredicationScale(){return this.predicationScale}setPredicationScale(e){this.predicationScale=e}get predicationStrength(){return Number(this.defines.PREDICATION_STRENGTH)}set predicationStrength(e){this.defines.PREDICATION_STRENGTH=e.toFixed("6"),this.needsUpdate=!0}getPredicationStrength(){return this.predicationStrength}setPredicationStrength(e){this.predicationStrength=e}setSize(e,t){this.uniforms.texelSize.value.set(1/e,1/t)}},tC=`#define sampleLevelZeroOffset(t, coord, offset) texture2D(t, coord + offset * texelSize) -#if __VERSION__ < 300 -#define round(v) floor(v + 0.5) -#endif -#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -uniform lowp sampler2D areaTexture;uniform lowp sampler2D searchTexture;uniform vec2 texelSize;uniform vec2 resolution;varying vec2 vUv;varying vec4 vOffset[3];varying vec2 vPixCoord;void movec(const in bvec2 c,inout vec2 variable,const in vec2 value){if(c.x){variable.x=value.x;}if(c.y){variable.y=value.y;}}void movec(const in bvec4 c,inout vec4 variable,const in vec4 value){movec(c.xy,variable.xy,value.xy);movec(c.zw,variable.zw,value.zw);}vec2 decodeDiagBilinearAccess(in vec2 e){e.r=e.r*abs(5.0*e.r-5.0*0.75);return round(e);}vec4 decodeDiagBilinearAccess(in vec4 e){e.rb=e.rb*abs(5.0*e.rb-5.0*0.75);return round(e);}vec2 searchDiag1(const in vec2 texCoord,const in vec2 dir,out vec2 e){vec4 coord=vec4(texCoord,-1.0,1.0);vec3 t=vec3(texelSize,1.0);for(int i=0;i0.9)){break;}coord.xyz=t*vec3(dir,1.0)+coord.xyz;e=texture2D(inputBuffer,coord.xy).rg;coord.w=dot(e,vec2(0.5));}return coord.zw;}vec2 searchDiag2(const in vec2 texCoord,const in vec2 dir,out vec2 e){vec4 coord=vec4(texCoord,-1.0,1.0);coord.x+=0.25*texelSize.x;vec3 t=vec3(texelSize,1.0);for(int i=0;i0.9)){break;}coord.xyz=t*vec3(dir,1.0)+coord.xyz;e=texture2D(inputBuffer,coord.xy).rg;e=decodeDiagBilinearAccess(e);coord.w=dot(e,vec2(0.5));}return coord.zw;}vec2 areaDiag(const in vec2 dist,const in vec2 e,const in float offset){vec2 texCoord=vec2(AREATEX_MAX_DISTANCE_DIAG,AREATEX_MAX_DISTANCE_DIAG)*e+dist;texCoord=AREATEX_PIXEL_SIZE*texCoord+0.5*AREATEX_PIXEL_SIZE;texCoord.x+=0.5;texCoord.y+=AREATEX_SUBTEX_SIZE*offset;return texture2D(areaTexture,texCoord).rg;}vec2 calculateDiagWeights(const in vec2 texCoord,const in vec2 e,const in vec4 subsampleIndices){vec2 weights=vec2(0.0);vec4 d;vec2 end;if(e.r>0.0){d.xz=searchDiag1(texCoord,vec2(-1.0,1.0),end);d.x+=float(end.y>0.9);}else{d.xz=vec2(0.0);}d.yw=searchDiag1(texCoord,vec2(1.0,-1.0),end);if(d.x+d.y>2.0){vec4 coords=vec4(-d.x+0.25,d.x,d.y,-d.y-0.25)*texelSize.xyxy+texCoord.xyxy;vec4 c;c.xy=sampleLevelZeroOffset(inputBuffer,coords.xy,vec2(-1,0)).rg;c.zw=sampleLevelZeroOffset(inputBuffer,coords.zw,vec2(1,0)).rg;c.yxwz=decodeDiagBilinearAccess(c.xyzw);vec2 cc=vec2(2.0)*c.xz+c.yw;movec(bvec2(step(0.9,d.zw)),cc,vec2(0.0));weights+=areaDiag(d.xy,cc,subsampleIndices.z);}d.xz=searchDiag2(texCoord,vec2(-1.0,-1.0),end);if(sampleLevelZeroOffset(inputBuffer,texCoord,vec2(1,0)).r>0.0){d.yw=searchDiag2(texCoord,vec2(1.0),end);d.y+=float(end.y>0.9);}else{d.yw=vec2(0.0);}if(d.x+d.y>2.0){vec4 coords=vec4(-d.x,-d.x,d.y,d.y)*texelSize.xyxy+texCoord.xyxy;vec4 c;c.x=sampleLevelZeroOffset(inputBuffer,coords.xy,vec2(-1,0)).g;c.y=sampleLevelZeroOffset(inputBuffer,coords.xy,vec2(0,-1)).r;c.zw=sampleLevelZeroOffset(inputBuffer,coords.zw,vec2(1,0)).gr;vec2 cc=vec2(2.0)*c.xz+c.yw;movec(bvec2(step(0.9,d.zw)),cc,vec2(0.0));weights+=areaDiag(d.xy,cc,subsampleIndices.w).gr;}return weights;}float searchLength(const in vec2 e,const in float offset){vec2 scale=SEARCHTEX_SIZE*vec2(0.5,-1.0);vec2 bias=SEARCHTEX_SIZE*vec2(offset,1.0);scale+=vec2(-1.0,1.0);bias+=vec2(0.5,-0.5);scale*=1.0/SEARCHTEX_PACKED_SIZE;bias*=1.0/SEARCHTEX_PACKED_SIZE;return texture2D(searchTexture,scale*e+bias).r;}float searchXLeft(in vec2 texCoord,const in float end){vec2 e=vec2(0.0,1.0);for(int i=0;iend&&e.g>0.8281&&e.r==0.0)){break;}e=texture2D(inputBuffer,texCoord).rg;texCoord=vec2(-2.0,0.0)*texelSize+texCoord;}float offset=-(255.0/127.0)*searchLength(e,0.0)+3.25;return texelSize.x*offset+texCoord.x;}float searchXRight(vec2 texCoord,const in float end){vec2 e=vec2(0.0,1.0);for(int i=0;i0.8281&&e.r==0.0)){break;}e=texture2D(inputBuffer,texCoord).rg;texCoord=vec2(2.0,0.0)*texelSize.xy+texCoord;}float offset=-(255.0/127.0)*searchLength(e,0.5)+3.25;return-texelSize.x*offset+texCoord.x;}float searchYUp(vec2 texCoord,const in float end){vec2 e=vec2(1.0,0.0);for(int i=0;iend&&e.r>0.8281&&e.g==0.0)){break;}e=texture2D(inputBuffer,texCoord).rg;texCoord=-vec2(0.0,2.0)*texelSize.xy+texCoord;}float offset=-(255.0/127.0)*searchLength(e.gr,0.0)+3.25;return texelSize.y*offset+texCoord.y;}float searchYDown(vec2 texCoord,const in float end){vec2 e=vec2(1.0,0.0);for(int i=0;i0.8281&&e.g==0.0)){break;}e=texture2D(inputBuffer,texCoord).rg;texCoord=vec2(0.0,2.0)*texelSize.xy+texCoord;}float offset=-(255.0/127.0)*searchLength(e.gr,0.5)+3.25;return-texelSize.y*offset+texCoord.y;}vec2 area(const in vec2 dist,const in float e1,const in float e2,const in float offset){vec2 texCoord=vec2(AREATEX_MAX_DISTANCE)*round(4.0*vec2(e1,e2))+dist;texCoord=AREATEX_PIXEL_SIZE*texCoord+0.5*AREATEX_PIXEL_SIZE;texCoord.y=AREATEX_SUBTEX_SIZE*offset+texCoord.y;return texture2D(areaTexture,texCoord).rg;}void detectHorizontalCornerPattern(inout vec2 weights,const in vec4 texCoord,const in vec2 d){ -#if !defined(DISABLE_CORNER_DETECTION) -vec2 leftRight=step(d.xy,d.yx);vec2 rounding=(1.0-CORNER_ROUNDING_NORM)*leftRight;rounding/=leftRight.x+leftRight.y;vec2 factor=vec2(1.0);factor.x-=rounding.x*sampleLevelZeroOffset(inputBuffer,texCoord.xy,vec2(0,1)).r;factor.x-=rounding.y*sampleLevelZeroOffset(inputBuffer,texCoord.zw,vec2(1,1)).r;factor.y-=rounding.x*sampleLevelZeroOffset(inputBuffer,texCoord.xy,vec2(0,-2)).r;factor.y-=rounding.y*sampleLevelZeroOffset(inputBuffer,texCoord.zw,vec2(1,-2)).r;weights*=clamp(factor,0.0,1.0); -#endif -}void detectVerticalCornerPattern(inout vec2 weights,const in vec4 texCoord,const in vec2 d){ -#if !defined(DISABLE_CORNER_DETECTION) -vec2 leftRight=step(d.xy,d.yx);vec2 rounding=(1.0-CORNER_ROUNDING_NORM)*leftRight;rounding/=leftRight.x+leftRight.y;vec2 factor=vec2(1.0);factor.x-=rounding.x*sampleLevelZeroOffset(inputBuffer,texCoord.xy,vec2(1,0)).g;factor.x-=rounding.y*sampleLevelZeroOffset(inputBuffer,texCoord.zw,vec2(1,1)).g;factor.y-=rounding.x*sampleLevelZeroOffset(inputBuffer,texCoord.xy,vec2(-2,0)).g;factor.y-=rounding.y*sampleLevelZeroOffset(inputBuffer,texCoord.zw,vec2(-2,1)).g;weights*=clamp(factor,0.0,1.0); -#endif -}void main(){vec4 weights=vec4(0.0);vec4 subsampleIndices=vec4(0.0);vec2 e=texture2D(inputBuffer,vUv).rg;if(e.g>0.0){ -#if !defined(DISABLE_DIAG_DETECTION) -weights.rg=calculateDiagWeights(vUv,e,subsampleIndices);if(weights.r==-weights.g){ -#endif -vec2 d;vec3 coords;coords.x=searchXLeft(vOffset[0].xy,vOffset[2].x);coords.y=vOffset[1].y;d.x=coords.x;float e1=texture2D(inputBuffer,coords.xy).r;coords.z=searchXRight(vOffset[0].zw,vOffset[2].y);d.y=coords.z;d=round(resolution.xx*d+-vPixCoord.xx);vec2 sqrtD=sqrt(abs(d));float e2=sampleLevelZeroOffset(inputBuffer,coords.zy,vec2(1,0)).r;weights.rg=area(sqrtD,e1,e2,subsampleIndices.y);coords.y=vUv.y;detectHorizontalCornerPattern(weights.rg,coords.xyzy,d); -#if !defined(DISABLE_DIAG_DETECTION) -}else{e.r=0.0;} -#endif -}if(e.r>0.0){vec2 d;vec3 coords;coords.y=searchYUp(vOffset[1].xy,vOffset[2].z);coords.x=vOffset[0].x;d.x=coords.y;float e1=texture2D(inputBuffer,coords.xy).g;coords.z=searchYDown(vOffset[1].zw,vOffset[2].w);d.y=coords.z;d=round(resolution.yy*d-vPixCoord.yy);vec2 sqrtD=sqrt(abs(d));float e2=sampleLevelZeroOffset(inputBuffer,coords.xz,vec2(0,1)).g;weights.ba=area(sqrtD,e1,e2,subsampleIndices.x);coords.x=vUv.x;detectVerticalCornerPattern(weights.ba,coords.xyxz,d);}gl_FragColor=weights;}`,tB=class extends H.ShaderMaterial{constructor(e=new H.Vector2,t=new H.Vector2){super({name:"SMAAWeightsMaterial",defines:{MAX_SEARCH_STEPS_INT:"16",MAX_SEARCH_STEPS_FLOAT:"16.0",MAX_SEARCH_STEPS_DIAG_INT:"8",MAX_SEARCH_STEPS_DIAG_FLOAT:"8.0",CORNER_ROUNDING:"25",CORNER_ROUNDING_NORM:"0.25",AREATEX_MAX_DISTANCE:"16.0",AREATEX_MAX_DISTANCE_DIAG:"20.0",AREATEX_PIXEL_SIZE:"(1.0 / vec2(160.0, 560.0))",AREATEX_SUBTEX_SIZE:"(1.0 / 7.0)",SEARCHTEX_SIZE:"vec2(66.0, 33.0)",SEARCHTEX_PACKED_SIZE:"vec2(64.0, 16.0)"},uniforms:{inputBuffer:new H.Uniform(null),searchTexture:new H.Uniform(null),areaTexture:new H.Uniform(null),resolution:new H.Uniform(t),texelSize:new H.Uniform(e)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tC,vertexShader:"uniform vec2 texelSize;uniform vec2 resolution;varying vec2 vUv;varying vec4 vOffset[3];varying vec2 vPixCoord;void main(){vUv=position.xy*0.5+0.5;vPixCoord=vUv*resolution;vOffset[0]=vUv.xyxy+texelSize.xyxy*vec4(-0.25,-0.125,1.25,-0.125);vOffset[1]=vUv.xyxy+texelSize.xyxy*vec4(-0.125,-0.25,-0.125,1.25);vOffset[2]=vec4(vOffset[0].xz,vOffset[1].yw)+vec4(-2.0,2.0,-2.0,2.0)*texelSize.xxyy*MAX_SEARCH_STEPS_FLOAT;gl_Position=vec4(position.xy,1.0,1.0);}"})}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}get searchTexture(){return this.uniforms.searchTexture.value}set searchTexture(e){this.uniforms.searchTexture.value=e}get areaTexture(){return this.uniforms.areaTexture.value}set areaTexture(e){this.uniforms.areaTexture.value=e}setLookupTextures(e,t){this.searchTexture=e,this.areaTexture=t}get orthogonalSearchSteps(){return Number(this.defines.MAX_SEARCH_STEPS_INT)}set orthogonalSearchSteps(e){let t=Math.min(Math.max(e,0),112);this.defines.MAX_SEARCH_STEPS_INT=t.toFixed("0"),this.defines.MAX_SEARCH_STEPS_FLOAT=t.toFixed("1"),this.needsUpdate=!0}setOrthogonalSearchSteps(e){this.orthogonalSearchSteps=e}get diagonalSearchSteps(){return Number(this.defines.MAX_SEARCH_STEPS_DIAG_INT)}set diagonalSearchSteps(e){let t=Math.min(Math.max(e,0),20);this.defines.MAX_SEARCH_STEPS_DIAG_INT=t.toFixed("0"),this.defines.MAX_SEARCH_STEPS_DIAG_FLOAT=t.toFixed("1"),this.needsUpdate=!0}setDiagonalSearchSteps(e){this.diagonalSearchSteps=e}get diagonalDetection(){return void 0===this.defines.DISABLE_DIAG_DETECTION}set diagonalDetection(e){e?delete this.defines.DISABLE_DIAG_DETECTION:this.defines.DISABLE_DIAG_DETECTION="1",this.needsUpdate=!0}isDiagonalDetectionEnabled(){return this.diagonalDetection}setDiagonalDetectionEnabled(e){this.diagonalDetection=e}get cornerRounding(){return Number(this.defines.CORNER_ROUNDING)}set cornerRounding(e){let t=Math.min(Math.max(e,0),100);this.defines.CORNER_ROUNDING=t.toFixed("4"),this.defines.CORNER_ROUNDING_NORM=(t/100).toFixed("4"),this.needsUpdate=!0}setCornerRounding(e){this.cornerRounding=e}get cornerDetection(){return void 0===this.defines.DISABLE_CORNER_DETECTION}set cornerDetection(e){e?delete this.defines.DISABLE_CORNER_DETECTION:this.defines.DISABLE_CORNER_DETECTION="1",this.needsUpdate=!0}isCornerRoundingEnabled(){return this.cornerDetection}setCornerRoundingEnabled(e){this.cornerDetection=e}setSize(e,t){let r=this.uniforms;r.texelSize.value.set(1/e,1/t),r.resolution.value.set(e,t)}},tT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAQCAYAAACm53kpAAAAeElEQVRYR+2XSwqAMAxEJ168ePEqwRSKhIIiuHjJqiU0gWE+1CQdApcVAMUAuARaMGCX1MIL/Ow13++9lW2s3mW9MWvsnWc/2fvGygwPAN4E8QzAA4CXAB6AHjG4JTHYI1ey3pcx6FHnEfhLDOIBKAmUBK6/ANUDTlROXAHd9EC1AAAAAElFTkSuQmCC",tS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAIwCAYAAAABNmBHAAAgAElEQVR4Xuy9CbhlV1ktOvbpq09DkiIkUBI6kxASIH0DlAQiIK1wRfSJTx+i4JX7vKIigs8HXpXvqVcvrcC9agQ7IDTSSWgqCQQliDRBJKkkhDSkqVPNqVOnP+8b//rH3P+eZ+199tlznVTlvVrft7+1T7OaueZY42/m37QALKNk2wHg1pITlB17mC+Pp11W3X/LHyT32vhg48/5SOv+PnwpsHA70JoGlueB1iKApeqzvOzn44GatTB76Xzhd7suBR7+WWADgDEAwwCG/L54b/poDLrHuvvm70Z2Avhsc+PVcxscBU8F8C8ADg5+ipIjD/PlGwfgju8B924E5seARUfLsiNmqQW0IjL8+7L2NYD/7COBzfcCm+aB8SVgdAkYIRCXKyDax4EdAanL5PuNPllNvXDlAHwFgP8AcC2AhRIoDXbsYb48dl5WkVFTE3LGDcC9m4CZCWBuFFgeAZaGAYJQQCRqDHT+McJrVb8zwATUXH02MHYfMHEIGFsAxgjApQqACYQORjtd/B7Axt/z79sC0+cMPgjjlwPwVwHcA+DfAHzTxcVgWBroqMN8+cYBeM71wH0TwKExYHYUWCIAHYRLTlkCYgcIBcAgU/n3qy8GRu4HRgnAOWBkERhddPAJhGJDBxkvw7cqimr+zFM/ZL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cCQi30aSGVa9AF62fLOB7MhrfnJoPwPER59Px+o3e76mL5Kwp2G57xPl0kxc3er+nLvyKtLmhfUC78RHn081ONnq/pzcAR5xPR9mRRu/31IVgvgUccT4dNaobvd/TGYAjzqejumqj93s6A3DE+XRUg2VSCjdaGr3fUw+I+VPwiPPpqJjO8J1Nw43e7ymHwHoAKMFd7QErAeEE5NNJMb3R+z3lsGcNzgfgiPPpomJ6o/d76oGwPgCOKJ8uKqY3er+nKwBHmE+noqRG7/fUA199U/AI8+kEwEbv93QHoEhZTnA+nYqSGr3fBoAtaiqBUImdm5hPJwA2er+nKwBHnE+X1gUzSbnR+z11wPj/AeCpPDD3t7rvAAAAAElFTkSuQmCC",ty=class extends eo{constructor({blendFunction:e=30,preset:t=1,edgeDetectionMode:r=2,predicationMode:i=0}={}){let s,a;super("SMAAEffect","uniform sampler2D weightMap;varying vec2 vOffset0;varying vec2 vOffset1;void movec(const in bvec2 c,inout vec2 variable,const in vec2 value){if(c.x){variable.x=value.x;}if(c.y){variable.y=value.y;}}void movec(const in bvec4 c,inout vec4 variable,const in vec4 value){movec(c.xy,variable.xy,value.xy);movec(c.zw,variable.zw,value.zw);}void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){vec4 a;a.x=texture2D(weightMap,vOffset0).a;a.y=texture2D(weightMap,vOffset1).g;a.wz=texture2D(weightMap,uv).rb;vec4 color=inputColor;if(dot(a,vec4(1.0))>=1e-5){bool h=max(a.x,a.z)>max(a.y,a.w);vec4 blendingOffset=vec4(0.0,a.y,0.0,a.w);vec2 blendingWeight=a.yw;movec(bvec4(h),blendingOffset,vec4(a.x,0.0,a.z,0.0));movec(bvec2(h),blendingWeight,a.xz);blendingWeight/=dot(blendingWeight,vec2(1.0));vec4 blendingCoord=blendingOffset*vec4(texelSize,-texelSize)+uv.xyxy;color=blendingWeight.x*texture2D(inputBuffer,blendingCoord.xy);color+=blendingWeight.y*texture2D(inputBuffer,blendingCoord.zw);}outputColor=color;}",{vertexShader:"varying vec2 vOffset0;varying vec2 vOffset1;void mainSupport(const in vec2 uv){vOffset0=uv+texelSize*vec2(1.0,0.0);vOffset1=uv+texelSize*vec2(0.0,1.0);}",blendFunction:e,attributes:3,uniforms:new Map([["weightMap",new H.Uniform(null)]])}),arguments.length>1&&(s=arguments[0],a=arguments[1],arguments.length>2&&(t=arguments[2]),arguments.length>3&&(r=arguments[3])),this.renderTargetEdges=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTargetEdges.texture.name="SMAA.Edges",this.renderTargetWeights=this.renderTargetEdges.clone(),this.renderTargetWeights.texture.name="SMAA.Weights",this.uniforms.get("weightMap").value=this.renderTargetWeights.texture,this.clearPass=new J(!0,!1,!1),this.clearPass.overrideClearColor=new H.Color(0),this.clearPass.overrideClearAlpha=1,this.edgeDetectionPass=new eG(new tE),this.edgeDetectionMaterial.edgeDetectionMode=r,this.edgeDetectionMaterial.predicationMode=i,this.weightsPass=new eG(new tB);const n=new H.LoadingManager;n.onLoad=()=>{let e=new H.Texture(s);e.name="SMAA.Search",e.magFilter=H.NearestFilter,e.minFilter=H.NearestFilter,e.generateMipmaps=!1,e.needsUpdate=!0,e.flipY=!0,this.weightsMaterial.searchTexture=e;let t=new H.Texture(a);t.name="SMAA.Area",t.magFilter=H.LinearFilter,t.minFilter=H.LinearFilter,t.generateMipmaps=!1,t.needsUpdate=!0,t.flipY=!1,this.weightsMaterial.areaTexture=t,this.dispatchEvent({type:"load"})},n.itemStart("search"),n.itemStart("area"),void 0!==s&&void 0!==a?(n.itemEnd("search"),n.itemEnd("area")):"u">typeof Image&&(s=new Image,a=new Image,s.addEventListener("load",()=>n.itemEnd("search")),a.addEventListener("load",()=>n.itemEnd("area")),s.src=tT,a.src=tS),this.applyPreset(t)}get edgesTexture(){return this.renderTargetEdges.texture}getEdgesTexture(){return this.edgesTexture}get weightsTexture(){return this.renderTargetWeights.texture}getWeightsTexture(){return this.weightsTexture}get edgeDetectionMaterial(){return this.edgeDetectionPass.fullscreenMaterial}get colorEdgesMaterial(){return this.edgeDetectionMaterial}getEdgeDetectionMaterial(){return this.edgeDetectionMaterial}get weightsMaterial(){return this.weightsPass.fullscreenMaterial}getWeightsMaterial(){return this.weightsMaterial}setEdgeDetectionThreshold(e){this.edgeDetectionMaterial.edgeDetectionThreshold=e}setOrthogonalSearchSteps(e){this.weightsMaterial.orthogonalSearchSteps=e}applyPreset(e){let t=this.edgeDetectionMaterial,r=this.weightsMaterial;switch(e){case 0:t.edgeDetectionThreshold=.15,r.orthogonalSearchSteps=4,r.diagonalDetection=!1,r.cornerDetection=!1;break;case 1:t.edgeDetectionThreshold=.1,r.orthogonalSearchSteps=8,r.diagonalDetection=!1,r.cornerDetection=!1;break;case 2:t.edgeDetectionThreshold=.1,r.orthogonalSearchSteps=16,r.diagonalSearchSteps=8,r.cornerRounding=25,r.diagonalDetection=!0,r.cornerDetection=!0;break;case 3:t.edgeDetectionThreshold=.05,r.orthogonalSearchSteps=32,r.diagonalSearchSteps=16,r.cornerRounding=25,r.diagonalDetection=!0,r.cornerDetection=!0}}setDepthTexture(e,t=H.BasicDepthPacking){this.edgeDetectionMaterial.depthBuffer=e,this.edgeDetectionMaterial.depthPacking=t}update(e,t,r){this.clearPass.render(e,this.renderTargetEdges),this.edgeDetectionPass.render(e,t,this.renderTargetEdges),this.weightsPass.render(e,this.renderTargetEdges,this.renderTargetWeights)}setSize(e,t){this.edgeDetectionMaterial.setSize(e,t),this.weightsMaterial.setSize(e,t),this.renderTargetEdges.setSize(e,t),this.renderTargetWeights.setSize(e,t)}dispose(){let{searchTexture:e,areaTexture:t}=this.weightsMaterial;null!==e&&null!==t&&(e.dispose(),t.dispose()),super.dispose()}static get searchImageDataURL(){return tT}static get areaImageDataURL(){return tS}};function tM(e,t,r){return Math.min(Math.max((e+t)/(t-r),0),1)}var tP=`#include -#include -uniform vec2 cameraNearFar; -#define cameraNear cameraNearFar.x -#define cameraFar cameraNearFar.y -#ifdef NORMAL_DEPTH -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D normalDepthBuffer; -#else -uniform mediump sampler2D normalDepthBuffer; -#endif -float readDepth(const in vec2 uv){float depth=texture2D(normalDepthBuffer,uv).a; -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float d=pow(2.0,depth*log2(cameraFar+1.0))-1.0;float a=cameraFar/(cameraFar-cameraNear);float b=cameraFar*cameraNear/(cameraNear-cameraFar);depth=a+b/d; -#endif -return depth;} -#else -uniform lowp sampler2D normalBuffer; -#if DEPTH_PACKING == 3201 -uniform lowp sampler2D depthBuffer; -#elif defined(GL_FRAGMENT_PRECISION_HIGH) -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -float depth=unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -float depth=texture2D(depthBuffer,uv).r; -#endif -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float d=pow(2.0,depth*log2(cameraFar+1.0))-1.0;float a=cameraFar/(cameraFar-cameraNear);float b=cameraFar*cameraNear/(cameraNear-cameraFar);depth=a+b/d; -#endif -return depth;} -#endif -uniform lowp sampler2D noiseTexture;uniform mat4 inverseProjectionMatrix;uniform mat4 projectionMatrix;uniform vec2 texelSize;uniform float intensity;uniform float minRadiusScale;uniform float fade;uniform float bias;uniform vec2 distanceCutoff;uniform vec2 proximityCutoff;varying vec2 vUv;varying vec2 vUv2;float getViewZ(const in float depth){ -#ifdef PERSPECTIVE_CAMERA -return perspectiveDepthToViewZ(depth,cameraNear,cameraFar); -#else -return orthographicDepthToViewZ(depth,cameraNear,cameraFar); -#endif -}vec3 getViewPosition(const in vec2 screenPosition,const in float depth,const in float viewZ){vec4 clipPosition=vec4(vec3(screenPosition,depth)*2.0-1.0,1.0);float clipW=projectionMatrix[2][3]*viewZ+projectionMatrix[3][3];clipPosition*=clipW;return(inverseProjectionMatrix*clipPosition).xyz;}float getAmbientOcclusion(const in vec3 p,const in vec3 n,const in float depth,const in vec2 uv){float radiusScale=1.0-smoothstep(0.0,distanceCutoff.y,depth);radiusScale=radiusScale*(1.0-minRadiusScale)+minRadiusScale;float radius=RADIUS*radiusScale;float noise=texture2D(noiseTexture,vUv2).r;float baseAngle=noise*PI2;float rings=SPIRAL_TURNS*PI2;float occlusion=0.0;int taps=0;for(int i=0;i1.0||coords.t<0.0||coords.t>1.0){continue;}float sampleDepth=readDepth(coords);float viewZ=getViewZ(sampleDepth); -#ifdef PERSPECTIVE_CAMERA -float linearSampleDepth=viewZToOrthographicDepth(viewZ,cameraNear,cameraFar); -#else -float linearSampleDepth=sampleDepth; -#endif -float proximity=abs(depth-linearSampleDepth);if(proximity -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -#ifdef DOWNSAMPLE_NORMALS -uniform lowp sampler2D normalBuffer; -#endif -varying vec2 vUv0;varying vec2 vUv1;varying vec2 vUv2;varying vec2 vUv3;float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -return unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -return texture2D(depthBuffer,uv).r; -#endif -}int findBestDepth(const in float samples[4]){float c=(samples[0]+samples[1]+samples[2]+samples[3])*0.25;float distances[4];distances[0]=abs(c-samples[0]);distances[1]=abs(c-samples[1]);distances[2]=abs(c-samples[2]);distances[3]=abs(c-samples[3]);float maxDistance=max(max(distances[0],distances[1]),max(distances[2],distances[3]));int remaining[3];int rejected[3];int i,j,k;for(i=0,j=0,k=0;i<4;++i){if(distances[i]this.setSize(o.baseWidth,o.baseHeight))}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}getResolution(){return this.resolution}setDepthTexture(e,t=H.BasicDepthPacking){this.fullscreenMaterial.depthBuffer=e,this.fullscreenMaterial.depthPacking=t}render(e,t,r,i,s){e.setRenderTarget(this.renderToScreen?null:this.renderTarget),e.render(this.scene,this.camera)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height),this.fullscreenMaterial.setSize(e,t)}initialize(e,t,r){let i=e.getContext();if(!(i.getExtension("EXT_color_buffer_float")||i.getExtension("EXT_color_buffer_half_float")))throw Error("Rendering to float texture is not supported.")}},tF=`uniform lowp sampler2D aoBuffer;uniform float luminanceInfluence;uniform float intensity; -#if defined(DEPTH_AWARE_UPSAMPLING) && defined(NORMAL_DEPTH) -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D normalDepthBuffer; -#else -uniform mediump sampler2D normalDepthBuffer; -#endif -#endif -#ifdef COLORIZE -uniform vec3 color; -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,const in float depth,out vec4 outputColor){float aoLinear=texture2D(aoBuffer,uv).r; -#if defined(DEPTH_AWARE_UPSAMPLING) && defined(NORMAL_DEPTH) && __VERSION__ == 300 -vec4 normalDepth[4];normalDepth[0]=textureOffset(normalDepthBuffer,uv,ivec2(0,0));normalDepth[1]=textureOffset(normalDepthBuffer,uv,ivec2(0,1));normalDepth[2]=textureOffset(normalDepthBuffer,uv,ivec2(1,0));normalDepth[3]=textureOffset(normalDepthBuffer,uv,ivec2(1,1));float dot01=dot(normalDepth[0].rgb,normalDepth[1].rgb);float dot02=dot(normalDepth[0].rgb,normalDepth[2].rgb);float dot03=dot(normalDepth[0].rgb,normalDepth[3].rgb);float minDot=min(dot01,min(dot02,dot03));float s=step(THRESHOLD,minDot);float smallestDistance=1.0;int index;for(int i=0;i<4;++i){float distance=abs(depth-normalDepth[i].a);if(distancethis.setSize(y.baseWidth,y.baseHeight)),this.camera=e,this.depthDownsamplingPass=new tb({normalBuffer:t,resolutionScale:E}),this.depthDownsamplingPass.enabled=null===a,this.ssaoPass=new eG(new tI(e));const M=new eW(64,64,H.RGBAFormat);M.wrapS=M.wrapT=H.RepeatWrapping;const P=this.ssaoMaterial;P.normalBuffer=t,P.noiseTexture=M,P.minRadiusScale=p,P.samples=i,P.radius=m,P.rings=s,P.fade=D,P.bias=x,P.distanceThreshold=h,P.distanceFalloff=d,P.proximityThreshold=f,P.proximityFalloff=g,void 0!==o&&(P.worldDistanceThreshold=o),void 0!==l&&(P.worldDistanceFalloff=l),void 0!==u&&(P.worldProximityThreshold=u),void 0!==c&&(P.worldProximityFalloff=c),null!==a&&(this.ssaoMaterial.normalDepthBuffer=a,this.defines.set("NORMAL_DEPTH","1")),this.depthAwareUpsampling=n,this.color=w}set mainCamera(e){this.camera=e,this.ssaoMaterial.copyCameraSettings(e)}get normalBuffer(){return this.ssaoMaterial.normalBuffer}set normalBuffer(e){this.ssaoMaterial.normalBuffer=e,this.depthDownsamplingPass.fullscreenMaterial.normalBuffer=e}getResolution(){return this.resolution}get ssaoMaterial(){return this.ssaoPass.fullscreenMaterial}getSSAOMaterial(){return this.ssaoMaterial}get samples(){return this.ssaoMaterial.samples}set samples(e){this.ssaoMaterial.samples=e}get rings(){return this.ssaoMaterial.rings}set rings(e){this.ssaoMaterial.rings=e}get radius(){return this.ssaoMaterial.radius}set radius(e){this.ssaoMaterial.radius=e}get depthAwareUpsampling(){return this.defines.has("DEPTH_AWARE_UPSAMPLING")}set depthAwareUpsampling(e){this.depthAwareUpsampling!==e&&(e?this.defines.set("DEPTH_AWARE_UPSAMPLING","1"):this.defines.delete("DEPTH_AWARE_UPSAMPLING"),this.setChanged())}isDepthAwareUpsamplingEnabled(){return this.depthAwareUpsampling}setDepthAwareUpsamplingEnabled(e){this.depthAwareUpsampling=e}get distanceScaling(){return!0}set distanceScaling(e){}get color(){return this.uniforms.get("color").value}set color(e){let t=this.uniforms,r=this.defines;null!==e?r.has("COLORIZE")?t.get("color").value.set(e):(r.set("COLORIZE","1"),t.get("color").value=new H.Color(e),this.setChanged()):r.has("COLORIZE")&&(r.delete("COLORIZE"),t.get("color").value=null,this.setChanged())}get luminanceInfluence(){return this.uniforms.get("luminanceInfluence").value}set luminanceInfluence(e){this.uniforms.get("luminanceInfluence").value=e}get intensity(){return this.uniforms.get("intensity").value}set intensity(e){this.uniforms.get("intensity").value=e}getColor(){return this.color}setColor(e){this.color=e}setDistanceCutoff(e,t){this.ssaoMaterial.distanceThreshold=e,this.ssaoMaterial.distanceFalloff=t}setProximityCutoff(e,t){this.ssaoMaterial.proximityThreshold=e,this.ssaoMaterial.proximityFalloff=t}setDepthTexture(e,t=H.BasicDepthPacking){this.depthDownsamplingPass.setDepthTexture(e,t),this.ssaoMaterial.depthBuffer=e,this.ssaoMaterial.depthPacking=t}update(e,t,r){let i=this.renderTarget;this.depthDownsamplingPass.enabled&&this.depthDownsamplingPass.render(e),this.ssaoPass.render(e,null,i)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t);let i=r.width,s=r.height;this.ssaoMaterial.copyCameraSettings(this.camera),this.ssaoMaterial.setSize(i,s),this.renderTarget.setSize(i,s),this.depthDownsamplingPass.resolution.scale=r.scale,this.depthDownsamplingPass.setSize(e,t)}initialize(e,t,r){try{let i=this.uniforms.get("normalDepthBuffer").value;null===i&&(this.depthDownsamplingPass.initialize(e,t,r),i=this.depthDownsamplingPass.texture,this.uniforms.get("normalDepthBuffer").value=i,this.ssaoMaterial.normalDepthBuffer=i,this.defines.set("NORMAL_DEPTH","1"))}catch(e){this.depthDownsamplingPass.enabled=!1}}},tO=`#ifdef TEXTURE_PRECISION_HIGH -uniform mediump sampler2D map; -#else -uniform lowp sampler2D map; -#endif -varying vec2 vUv2;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){ -#ifdef UV_TRANSFORM -vec4 texel=texture2D(map,vUv2); -#else -vec4 texel=texture2D(map,uv); -#endif -outputColor=TEXEL;outputColor.a=max(inputColor.a,outputColor.a);}`,tG=`#ifdef ASPECT_CORRECTION -uniform float scale; -#else -uniform mat3 uvTransform; -#endif -varying vec2 vUv2;void mainSupport(const in vec2 uv){ -#ifdef ASPECT_CORRECTION -vUv2=uv*vec2(aspect,1.0)*scale; -#else -vUv2=(uvTransform*vec3(uv,1.0)).xy; -#endif -}`,tN=class extends eo{constructor({blendFunction:e,texture:t=null,aspectCorrection:r=!1}={}){super("TextureEffect",tO,{blendFunction:e,defines:new Map([["TEXEL","texel"]]),uniforms:new Map([["map",new H.Uniform(null)],["scale",new H.Uniform(1)],["uvTransform",new H.Uniform(null)]])}),this.texture=t,this.aspectCorrection=r}get texture(){return this.uniforms.get("map").value}set texture(e){let t=this.texture,r=this.uniforms,i=this.defines;t!==e&&(r.get("map").value=e,r.get("uvTransform").value=e.matrix,i.delete("TEXTURE_PRECISION_HIGH"),null!==e&&(e.matrixAutoUpdate?(i.set("UV_TRANSFORM","1"),this.setVertexShader(tG)):(i.delete("UV_TRANSFORM"),this.setVertexShader(null)),e.type!==H.UnsignedByteType&&i.set("TEXTURE_PRECISION_HIGH","1"),(null===t||t.type!==e.type||t.encoding!==e.encoding)&&this.setChanged()))}getTexture(){return this.texture}setTexture(e){this.texture=e}get aspectCorrection(){return this.defines.has("ASPECT_CORRECTION")}set aspectCorrection(e){this.aspectCorrection!==e&&(e?this.defines.set("ASPECT_CORRECTION","1"):this.defines.delete("ASPECT_CORRECTION"),this.setChanged())}get uvTransform(){let e=this.texture;return null!==e&&e.matrixAutoUpdate}set uvTransform(e){let t=this.texture;null!==t&&(t.matrixAutoUpdate=e)}setTextureSwizzleRGBA(e,t=e,r=e,i=e){let s="rgba",a="";(0!==e||1!==t||2!==r||3!==i)&&(a="."+s[e]+s[t]+s[r]+s[i]),this.defines.set("TEXEL","texel"+a),this.setChanged()}update(e,t,r){this.texture.matrixAutoUpdate&&this.texture.updateMatrix()}},tH=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -uniform vec4 maskParams;varying vec2 vUv;varying vec2 vUv2;varying vec2 vOffset;float linearGradientMask(const in float x){return smoothstep(maskParams.x,maskParams.y,x)-smoothstep(maskParams.w,maskParams.z,x);}void main(){vec2 dUv=vOffset*(1.0-linearGradientMask(vUv2.y));vec4 sum=texture2D(inputBuffer,vec2(vUv.x-dUv.x,vUv.y+dUv.y));sum+=texture2D(inputBuffer,vec2(vUv.x+dUv.x,vUv.y+dUv.y));sum+=texture2D(inputBuffer,vec2(vUv.x+dUv.x,vUv.y-dUv.y));sum+=texture2D(inputBuffer,vec2(vUv.x-dUv.x,vUv.y-dUv.y));gl_FragColor=sum*0.25; -#include -}`,tz=class extends eh{constructor({kernelSize:e=el.MEDIUM,offset:t=0,rotation:r=0,focusArea:i=.4,feather:s=.3}={}){super(),this.fragmentShader=tH,this.vertexShader="uniform vec4 texelSize;uniform float kernel;uniform float scale;uniform float aspect;uniform vec2 rotation;varying vec2 vUv;varying vec2 vUv2;varying vec2 vOffset;void main(){vec2 uv=position.xy*0.5+0.5;vUv=uv;vUv2=(uv-0.5)*2.0*vec2(aspect,1.0);vUv2=vec2(dot(rotation,vUv2),dot(rotation,vec2(vUv2.y,-vUv2.x)));vOffset=(texelSize.xy*vec2(kernel)+texelSize.zw)*scale;gl_Position=vec4(position.xy,1.0,1.0);}",this.kernelSize=e,this.uniforms.aspect=new H.Uniform(1),this.uniforms.rotation=new H.Uniform(new H.Vector2),this.uniforms.maskParams=new H.Uniform(new H.Vector4),this._offset=t,this._focusArea=i,this._feather=s,this.rotation=r,this.updateParams()}updateParams(){let e=this.uniforms.maskParams.value,t=Math.max(this.focusArea,0),r=Math.max(t-this.feather,0);e.set(this.offset-t,this.offset-r,this.offset+t,this.offset+r)}get rotation(){return Math.acos(this.uniforms.rotation.value.x)}set rotation(e){this.uniforms.rotation.value.set(Math.cos(e),Math.sin(e))}get offset(){return this._offset}set offset(e){this._offset=e,this.updateParams()}get focusArea(){return this._focusArea}set focusArea(e){this._focusArea=e,this.updateParams()}get feather(){return this._feather}set feather(e){this._feather=e,this.updateParams()}setSize(e,t){super.setSize(e,t),this.uniforms.aspect.value=e/t}},tk=class extends ed{constructor({offset:e=0,rotation:t=0,focusArea:r=.4,feather:i=.3,kernelSize:s=el.MEDIUM,resolutionScale:a=.5,resolutionX:n=er.AUTO_SIZE,resolutionY:o=er.AUTO_SIZE}={}){super({kernelSize:s,resolutionScale:a,resolutionX:n,resolutionY:o}),this.blurMaterial=new tz({kernelSize:s,offset:e,rotation:t,focusArea:r,feather:i})}},tV=`#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D map; -#else -uniform lowp sampler2D map; -#endif -uniform vec2 maskParams;varying vec2 vUv2;float linearGradientMask(const in float x){return step(maskParams.x,x)-step(maskParams.y,x);}void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){float mask=linearGradientMask(vUv2.y);vec4 texel=texture2D(map,uv);outputColor=mix(texel,inputColor,mask);}`,tQ=class extends eo{constructor({blendFunction:e,offset:t=0,rotation:r=0,focusArea:i=.4,feather:s=.3,kernelSize:a=el.MEDIUM,resolutionScale:n=.5,resolutionX:o=er.AUTO_SIZE,resolutionY:l=er.AUTO_SIZE}={}){super("TiltShiftEffect",tV,{vertexShader:"uniform vec2 rotation;varying vec2 vUv2;void mainSupport(const in vec2 uv){vUv2=(uv-0.5)*2.0*vec2(aspect,1.0);vUv2=vec2(dot(rotation,vUv2),dot(rotation,vec2(vUv2.y,-vUv2.x)));}",blendFunction:e,uniforms:new Map([["rotation",new H.Uniform(new H.Vector2)],["maskParams",new H.Uniform(new H.Vector2)],["map",new H.Uniform(null)]])}),this._offset=t,this._focusArea=i,this._feather=s,this.renderTarget=new H.WebGLRenderTarget(1,1,{depthBuffer:!1}),this.renderTarget.texture.name="TiltShift.Target",this.uniforms.get("map").value=this.renderTarget.texture,this.blurPass=new tk({kernelSize:a,resolutionScale:n,resolutionX:o,resolutionY:l,offset:t,rotation:r,focusArea:i,feather:s});const u=this.resolution=new er(this,o,l,n);u.addEventListener("change",e=>this.setSize(u.baseWidth,u.baseHeight)),this.rotation=r,this.updateParams()}updateParams(){let e=this.uniforms.get("maskParams").value,t=Math.max(this.focusArea-this.feather,0);e.set(this.offset-t,this.offset+t)}get rotation(){return Math.acos(this.uniforms.get("rotation").value.x)}set rotation(e){this.uniforms.get("rotation").value.set(Math.cos(e),Math.sin(e)),this.blurPass.blurMaterial.rotation=e}get offset(){return this._offset}set offset(e){this._offset=e,this.blurPass.blurMaterial.offset=e,this.updateParams()}get focusArea(){return this._focusArea}set focusArea(e){this._focusArea=e,this.blurPass.blurMaterial.focusArea=e,this.updateParams()}get feather(){return this._feather}set feather(e){this._feather=e,this.blurPass.blurMaterial.feather=e,this.updateParams()}get bias(){return 0}set bias(e){}update(e,t,r){this.blurPass.render(e,t,this.renderTarget)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height),this.blurPass.resolution.copy(r)}initialize(e,t,r){this.blurPass.initialize(e,t,r),void 0!==r&&(this.renderTarget.texture.type=r,null!==e&&e.outputColorSpace===H.SRGBColorSpace&&(this.renderTarget.texture.colorSpace=H.SRGBColorSpace))}},tY=`#include -#define packFloatToRGBA(v) packDepthToRGBA(v) -#define unpackRGBAToFloat(v) unpackRGBAToDepth(v) -uniform lowp sampler2D luminanceBuffer0;uniform lowp sampler2D luminanceBuffer1;uniform float minLuminance;uniform float deltaTime;uniform float tau;varying vec2 vUv;void main(){float l0=unpackRGBAToFloat(texture2D(luminanceBuffer0,vUv)); -#if __VERSION__ < 300 -float l1=texture2DLodEXT(luminanceBuffer1,vUv,MIP_LEVEL_1X1).r; -#else -float l1=textureLod(luminanceBuffer1,vUv,MIP_LEVEL_1X1).r; -#endif -l0=max(minLuminance,l0);l1=max(minLuminance,l1);float adaptedLum=l0+(l1-l0)*(1.0-exp(-deltaTime*tau));gl_FragColor=(adaptedLum==1.0)?vec4(1.0):packFloatToRGBA(adaptedLum);}`,tW=class extends H.ShaderMaterial{constructor(){super({name:"AdaptiveLuminanceMaterial",defines:{MIP_LEVEL_1X1:"0.0"},uniforms:{luminanceBuffer0:new H.Uniform(null),luminanceBuffer1:new H.Uniform(null),minLuminance:new H.Uniform(.01),deltaTime:new H.Uniform(0),tau:new H.Uniform(1)},extensions:{shaderTextureLOD:!0},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tY,vertexShader:Y})}set luminanceBuffer0(e){this.uniforms.luminanceBuffer0.value=e}setLuminanceBuffer0(e){this.uniforms.luminanceBuffer0.value=e}set luminanceBuffer1(e){this.uniforms.luminanceBuffer1.value=e}setLuminanceBuffer1(e){this.uniforms.luminanceBuffer1.value=e}set mipLevel1x1(e){this.defines.MIP_LEVEL_1X1=e.toFixed(1),this.needsUpdate=!0}setMipLevel1x1(e){this.mipLevel1x1=e}set deltaTime(e){this.uniforms.deltaTime.value=e}setDeltaTime(e){this.uniforms.deltaTime.value=e}get minLuminance(){return this.uniforms.minLuminance.value}set minLuminance(e){this.uniforms.minLuminance.value=e}getMinLuminance(){return this.uniforms.minLuminance.value}setMinLuminance(e){this.uniforms.minLuminance.value=e}get adaptationRate(){return this.uniforms.tau.value}set adaptationRate(e){this.uniforms.tau.value=e}getAdaptationRate(){return this.uniforms.tau.value}setAdaptationRate(e){this.uniforms.tau.value=e}},tK=class extends k{constructor(e,{minLuminance:t=.01,adaptationRate:r=1}={}){super("AdaptiveLuminancePass"),this.fullscreenMaterial=new tW,this.needsSwap=!1,this.renderTargetPrevious=new H.WebGLRenderTarget(1,1,{minFilter:H.NearestFilter,magFilter:H.NearestFilter,depthBuffer:!1}),this.renderTargetPrevious.texture.name="Luminance.Previous";const i=this.fullscreenMaterial;i.luminanceBuffer0=this.renderTargetPrevious.texture,i.luminanceBuffer1=e,i.minLuminance=t,i.adaptationRate=r,this.renderTargetAdapted=this.renderTargetPrevious.clone(),this.renderTargetAdapted.texture.name="Luminance.Adapted",this.copyPass=new K(this.renderTargetPrevious,!1)}get texture(){return this.renderTargetAdapted.texture}getTexture(){return this.renderTargetAdapted.texture}set mipLevel1x1(e){this.fullscreenMaterial.mipLevel1x1=e}get adaptationRate(){return this.fullscreenMaterial.adaptationRate}set adaptationRate(e){this.fullscreenMaterial.adaptationRate=e}render(e,t,r,i,s){this.fullscreenMaterial.deltaTime=i,e.setRenderTarget(this.renderToScreen?null:this.renderTargetAdapted),e.render(this.scene,this.camera),this.copyPass.render(e,this.renderTargetAdapted)}},tX=`#include -uniform float whitePoint; -#if TONE_MAPPING_MODE == 2 || TONE_MAPPING_MODE == 3 -uniform float middleGrey; -#if TONE_MAPPING_MODE == 3 -uniform lowp sampler2D luminanceBuffer; -#else -uniform float averageLuminance; -#endif -vec3 Reinhard2ToneMapping(vec3 color){color*=toneMappingExposure;float l=luminance(color); -#if TONE_MAPPING_MODE == 3 -float lumAvg=unpackRGBAToFloat(texture2D(luminanceBuffer,vec2(0.5))); -#else -float lumAvg=averageLuminance; -#endif -float lumScaled=(l*middleGrey)/max(lumAvg,1e-6);float lumCompressed=lumScaled*(1.0+lumScaled/(whitePoint*whitePoint));lumCompressed/=(1.0+lumScaled);return clamp(lumCompressed*color,0.0,1.0);} -#elif TONE_MAPPING_MODE == 4 -#define A 0.15 -#define B 0.50 -#define C 0.10 -#define D 0.20 -#define E 0.02 -#define F 0.30 -vec3 Uncharted2Helper(const in vec3 x){return((x*(A*x+C*B)+D*E)/(x*(A*x+B)+D*F))-E/F;}vec3 Uncharted2ToneMapping(vec3 color){color*=toneMappingExposure;return clamp(Uncharted2Helper(color)/Uncharted2Helper(vec3(whitePoint)),0.0,1.0);} -#endif -void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){ -#if TONE_MAPPING_MODE == 2 || TONE_MAPPING_MODE == 3 -outputColor=vec4(Reinhard2ToneMapping(inputColor.rgb),inputColor.a); -#elif TONE_MAPPING_MODE == 4 -outputColor=vec4(Uncharted2ToneMapping(inputColor.rgb),inputColor.a); -#else -outputColor=vec4(toneMapping(inputColor.rgb),inputColor.a); -#endif -}`,tJ=class extends eo{constructor({blendFunction:e=30,adaptive:t=!1,mode:r=t?3:7,resolution:i=256,maxLuminance:s=4,whitePoint:a=s,middleGrey:n=.6,minLuminance:o=.01,averageLuminance:l=1,adaptationRate:u=1}={}){super("ToneMappingEffect",tX,{blendFunction:e,uniforms:new Map([["luminanceBuffer",new H.Uniform(null)],["maxLuminance",new H.Uniform(s)],["whitePoint",new H.Uniform(a)],["middleGrey",new H.Uniform(n)],["averageLuminance",new H.Uniform(l)]])}),this.renderTargetLuminance=new H.WebGLRenderTarget(1,1,{minFilter:H.LinearMipmapLinearFilter,depthBuffer:!1}),this.renderTargetLuminance.texture.generateMipmaps=!0,this.renderTargetLuminance.texture.name="Luminance",this.luminancePass=new ep({renderTarget:this.renderTargetLuminance}),this.adaptiveLuminancePass=new tK(this.luminancePass.texture,{minLuminance:o,adaptationRate:u}),this.uniforms.get("luminanceBuffer").value=this.adaptiveLuminancePass.texture,this.resolution=i,this.mode=r}get mode(){return Number(this.defines.get("TONE_MAPPING_MODE"))}set mode(e){if(this.mode===e)return;let t=H.REVISION.replace(/\D+/g,"");switch(this.defines.clear(),this.defines.set("TONE_MAPPING_MODE",e.toFixed(0)),e){case 0:this.defines.set("toneMapping(texel)","LinearToneMapping(texel)");break;case 1:this.defines.set("toneMapping(texel)","ReinhardToneMapping(texel)");break;case 5:case 5:this.defines.set("toneMapping(texel)",t>=168?"CineonToneMapping(texel)":"OptimizedCineonToneMapping(texel)");break;case 6:this.defines.set("toneMapping(texel)","ACESFilmicToneMapping(texel)");break;case 7:this.defines.set("toneMapping(texel)","AgXToneMapping(texel)");break;case 8:this.defines.set("toneMapping(texel)","NeutralToneMapping(texel)");break;default:this.defines.set("toneMapping(texel)","texel")}this.adaptiveLuminancePass.enabled=3===e,this.setChanged()}getMode(){return this.mode}setMode(e){this.mode=e}get whitePoint(){return this.uniforms.get("whitePoint").value}set whitePoint(e){this.uniforms.get("whitePoint").value=e}get middleGrey(){return this.uniforms.get("middleGrey").value}set middleGrey(e){this.uniforms.get("middleGrey").value=e}get averageLuminance(){return this.uniforms.get("averageLuminance").value}set averageLuminance(e){this.uniforms.get("averageLuminance").value=e}get adaptiveLuminanceMaterial(){return this.adaptiveLuminancePass.fullscreenMaterial}getAdaptiveLuminanceMaterial(){return this.adaptiveLuminanceMaterial}get resolution(){return this.luminancePass.resolution.width}set resolution(e){let t=Math.max(0,Math.ceil(Math.log2(e))),r=Math.pow(2,t);this.luminancePass.resolution.setPreferredSize(r,r),this.adaptiveLuminanceMaterial.mipLevel1x1=t}getResolution(){return this.resolution}setResolution(e){this.resolution=e}get adaptive(){return 3===this.mode}set adaptive(e){this.mode=e?3:2}get adaptationRate(){return this.adaptiveLuminanceMaterial.adaptationRate}set adaptationRate(e){this.adaptiveLuminanceMaterial.adaptationRate=e}get distinction(){return console.warn(this.name,"distinction was removed."),1}set distinction(e){console.warn(this.name,"distinction was removed.")}update(e,t,r){this.adaptiveLuminancePass.enabled&&(this.luminancePass.render(e,t),this.adaptiveLuminancePass.render(e,null,null,r))}initialize(e,t,r){this.adaptiveLuminancePass.initialize(e,t,r)}},tj=`uniform float offset;uniform float darkness;void mainImage(const in vec4 inputColor,const in vec2 uv,out vec4 outputColor){const vec2 center=vec2(0.5);vec3 color=inputColor.rgb; -#if VIGNETTE_TECHNIQUE == 0 -float d=distance(uv,center);color*=smoothstep(0.8,offset*0.799,d*(darkness+offset)); -#else -vec2 coord=(uv-center)*vec2(offset);color=mix(color,vec3(1.0-darkness),dot(coord,coord)); -#endif -outputColor=vec4(color,inputColor.a);}`,tZ=class extends eo{constructor({blendFunction:e,eskil:t=!1,technique:r=1*!!t,offset:i=.5,darkness:s=.5}={}){super("VignetteEffect",tj,{blendFunction:e,defines:new Map([["VIGNETTE_TECHNIQUE",r.toFixed(0)]]),uniforms:new Map([["offset",new H.Uniform(i)],["darkness",new H.Uniform(s)]])})}get technique(){return Number(this.defines.get("VIGNETTE_TECHNIQUE"))}set technique(e){this.technique!==e&&(this.defines.set("VIGNETTE_TECHNIQUE",e.toFixed(0)),this.setChanged())}get eskil(){return 1===this.technique}set eskil(e){this.technique=1*!!e}getTechnique(){return this.technique}setTechnique(e){this.technique=e}get offset(){return this.uniforms.get("offset").value}set offset(e){this.uniforms.get("offset").value=e}getOffset(){return this.offset}setOffset(e){this.offset=e}get darkness(){return this.uniforms.get("darkness").value}set darkness(e){this.uniforms.get("darkness").value=e}getDarkness(){return this.darkness}setDarkness(e){this.darkness=e}};H.Loader,H.Loader,H.Loader;H.ShaderMaterial;var tq=`#include -varying vec2 vUv; -#ifdef NORMAL_DEPTH -#ifdef GL_FRAGMENT_PRECISION_HIGH -uniform highp sampler2D normalDepthBuffer; -#else -uniform mediump sampler2D normalDepthBuffer; -#endif -float readDepth(const in vec2 uv){return texture2D(normalDepthBuffer,uv).a;} -#else -#if INPUT_DEPTH_PACKING == 3201 -uniform lowp sampler2D depthBuffer; -#elif defined(GL_FRAGMENT_PRECISION_HIGH) -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -float readDepth(const in vec2 uv){ -#if INPUT_DEPTH_PACKING == 3201 -return unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -return texture2D(depthBuffer,uv).r; -#endif -} -#endif -void main(){ -#if INPUT_DEPTH_PACKING == OUTPUT_DEPTH_PACKING -gl_FragColor=texture2D(depthBuffer,vUv); -#else -float depth=readDepth(vUv); -#if OUTPUT_DEPTH_PACKING == 3201 -gl_FragColor=(depth==1.0)?vec4(1.0):packDepthToRGBA(depth); -#else -gl_FragColor=vec4(vec3(depth),1.0); -#endif -#endif -}`,t_=`varying vec2 vUv; -#if DEPTH_COPY_MODE == 1 -uniform vec2 texelPosition; -#endif -void main(){ -#if DEPTH_COPY_MODE == 1 -vUv=texelPosition; -#else -vUv=position.xy*0.5+0.5; -#endif -gl_Position=vec4(position.xy,1.0,1.0);}`,t$=class extends H.ShaderMaterial{constructor(){super({name:"DepthCopyMaterial",defines:{INPUT_DEPTH_PACKING:"0",OUTPUT_DEPTH_PACKING:"0",DEPTH_COPY_MODE:"0"},uniforms:{depthBuffer:new H.Uniform(null),texelPosition:new H.Uniform(new H.Vector2)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,fragmentShader:tq,vertexShader:t_}),this.depthCopyMode=0}get depthBuffer(){return this.uniforms.depthBuffer.value}set depthBuffer(e){this.uniforms.depthBuffer.value=e}set inputDepthPacking(e){this.defines.INPUT_DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}get outputDepthPacking(){return Number(this.defines.OUTPUT_DEPTH_PACKING)}set outputDepthPacking(e){this.defines.OUTPUT_DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer(e,t=H.BasicDepthPacking){this.depthBuffer=e,this.inputDepthPacking=t}getInputDepthPacking(){return Number(this.defines.INPUT_DEPTH_PACKING)}setInputDepthPacking(e){this.defines.INPUT_DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}getOutputDepthPacking(){return Number(this.defines.OUTPUT_DEPTH_PACKING)}setOutputDepthPacking(e){this.defines.OUTPUT_DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}get texelPosition(){return this.uniforms.texelPosition.value}getTexelPosition(){return this.uniforms.texelPosition.value}setTexelPosition(e){this.uniforms.texelPosition.value=e}get mode(){return this.depthCopyMode}set mode(e){this.depthCopyMode=e,this.defines.DEPTH_COPY_MODE=e.toFixed(0),this.needsUpdate=!0}getMode(){return this.mode}setMode(e){this.mode=e}},t0=`#include -#include -#include -#define packFloatToRGBA(v) packDepthToRGBA(v) -#define unpackRGBAToFloat(v) unpackRGBAToDepth(v) -#ifdef FRAMEBUFFER_PRECISION_HIGH -uniform mediump sampler2D inputBuffer; -#else -uniform lowp sampler2D inputBuffer; -#endif -#if DEPTH_PACKING == 3201 -uniform lowp sampler2D depthBuffer; -#elif defined(GL_FRAGMENT_PRECISION_HIGH) -uniform highp sampler2D depthBuffer; -#else -uniform mediump sampler2D depthBuffer; -#endif -uniform vec2 resolution;uniform vec2 texelSize;uniform float cameraNear;uniform float cameraFar;uniform float aspect;uniform float time;varying vec2 vUv;vec4 sRGBToLinear(const in vec4 value){return vec4(mix(pow(value.rgb*0.9478672986+vec3(0.0521327014),vec3(2.4)),value.rgb*0.0773993808,vec3(lessThanEqual(value.rgb,vec3(0.04045)))),value.a);}float readDepth(const in vec2 uv){ -#if DEPTH_PACKING == 3201 -float depth=unpackRGBAToDepth(texture2D(depthBuffer,uv)); -#else -float depth=texture2D(depthBuffer,uv).r; -#endif -#if defined(USE_LOGARITHMIC_DEPTH_BUFFER) || defined(LOG_DEPTH) -float d=pow(2.0,depth*log2(cameraFar+1.0))-1.0;float a=cameraFar/(cameraFar-cameraNear);float b=cameraFar*cameraNear/(cameraNear-cameraFar);depth=a+b/d; -#elif defined(USE_REVERSED_DEPTH_BUFFER) -depth=1.0-depth; -#endif -return depth;}float getViewZ(const in float depth){ -#ifdef PERSPECTIVE_CAMERA -return perspectiveDepthToViewZ(depth,cameraNear,cameraFar); -#else -return orthographicDepthToViewZ(depth,cameraNear,cameraFar); -#endif -}vec3 RGBToHCV(const in vec3 RGB){vec4 P=mix(vec4(RGB.bg,-1.0,2.0/3.0),vec4(RGB.gb,0.0,-1.0/3.0),step(RGB.b,RGB.g));vec4 Q=mix(vec4(P.xyw,RGB.r),vec4(RGB.r,P.yzx),step(P.x,RGB.r));float C=Q.x-min(Q.w,Q.y);float H=abs((Q.w-Q.y)/(6.0*C+EPSILON)+Q.z);return vec3(H,C,Q.x);}vec3 RGBToHSL(const in vec3 RGB){vec3 HCV=RGBToHCV(RGB);float L=HCV.z-HCV.y*0.5;float S=HCV.y/(1.0-abs(L*2.0-1.0)+EPSILON);return vec3(HCV.x,S,L);}vec3 HueToRGB(const in float H){float R=abs(H*6.0-3.0)-1.0;float G=2.0-abs(H*6.0-2.0);float B=2.0-abs(H*6.0-4.0);return clamp(vec3(R,G,B),0.0,1.0);}vec3 HSLToRGB(const in vec3 HSL){vec3 RGB=HueToRGB(HSL.x);float C=(1.0-abs(2.0*HSL.z-1.0))*HSL.y;return(RGB-0.5)*C+HSL.z;}FRAGMENT_HEAD void main(){FRAGMENT_MAIN_UV vec4 color0=texture2D(inputBuffer,UV);vec4 color1=vec4(0.0);FRAGMENT_MAIN_IMAGE color0.a=clamp(color0.a,0.0,1.0);gl_FragColor=color0; -#ifdef ENCODE_OUTPUT -#include -#endif -#include -}`,t1=class extends H.ShaderMaterial{constructor(e,t,r,i,s=!1){super({name:"EffectMaterial",defines:{THREE_REVISION:H.REVISION.replace(/\D+/g,""),DEPTH_PACKING:"0",ENCODE_OUTPUT:"1"},uniforms:{inputBuffer:new H.Uniform(null),depthBuffer:new H.Uniform(null),resolution:new H.Uniform(new H.Vector2),texelSize:new H.Uniform(new H.Vector2),cameraNear:new H.Uniform(.3),cameraFar:new H.Uniform(1e3),aspect:new H.Uniform(1),time:new H.Uniform(0)},blending:H.NoBlending,toneMapped:!1,depthWrite:!1,depthTest:!1,dithering:s}),e&&this.setShaderParts(e),t&&this.setDefines(t),r&&this.setUniforms(r),this.copyCameraSettings(i)}set inputBuffer(e){this.uniforms.inputBuffer.value=e}setInputBuffer(e){this.uniforms.inputBuffer.value=e}get depthBuffer(){return this.uniforms.depthBuffer.value}set depthBuffer(e){this.uniforms.depthBuffer.value=e}get depthPacking(){return Number(this.defines.DEPTH_PACKING)}set depthPacking(e){this.defines.DEPTH_PACKING=e.toFixed(0),this.needsUpdate=!0}setDepthBuffer(e,t=H.BasicDepthPacking){this.depthBuffer=e,this.depthPacking=t}setShaderData(e){this.setShaderParts(e.shaderParts),this.setDefines(e.defines),this.setUniforms(e.uniforms),this.setExtensions(e.extensions)}setShaderParts(e){return this.fragmentShader=t0.replace(_.FRAGMENT_HEAD,e.get(_.FRAGMENT_HEAD)||"").replace(_.FRAGMENT_MAIN_UV,e.get(_.FRAGMENT_MAIN_UV)||"").replace(_.FRAGMENT_MAIN_IMAGE,e.get(_.FRAGMENT_MAIN_IMAGE)||""),this.vertexShader="uniform vec2 resolution;uniform vec2 texelSize;uniform float cameraNear;uniform float cameraFar;uniform float aspect;uniform float time;varying vec2 vUv;VERTEX_HEAD void main(){vUv=position.xy*0.5+0.5;VERTEX_MAIN_SUPPORT gl_Position=vec4(position.xy,1.0,1.0);}".replace(_.VERTEX_HEAD,e.get(_.VERTEX_HEAD)||"").replace(_.VERTEX_MAIN_SUPPORT,e.get(_.VERTEX_MAIN_SUPPORT)||""),this.needsUpdate=!0,this}setDefines(e){for(let t of e.entries())this.defines[t[0]]=t[1];return this.needsUpdate=!0,this}setUniforms(e){for(let t of e.entries())this.uniforms[t[0]]=t[1];return this}setExtensions(e){for(let t of(this.extensions={},e))this.extensions[t]=!0;return this}get encodeOutput(){return void 0!==this.defines.ENCODE_OUTPUT}set encodeOutput(e){this.encodeOutput!==e&&(e?this.defines.ENCODE_OUTPUT="1":delete this.defines.ENCODE_OUTPUT,this.needsUpdate=!0)}isOutputEncodingEnabled(e){return this.encodeOutput}setOutputEncodingEnabled(e){this.encodeOutput=e}get time(){return this.uniforms.time.value}set time(e){this.uniforms.time.value=e}setDeltaTime(e){this.uniforms.time.value+=e}adoptCameraSettings(e){this.copyCameraSettings(e)}copyCameraSettings(e){e&&(this.uniforms.cameraNear.value=e.near,this.uniforms.cameraFar.value=e.far,e instanceof H.PerspectiveCamera?this.defines.PERSPECTIVE_CAMERA="1":delete this.defines.PERSPECTIVE_CAMERA,this.needsUpdate=!0)}setSize(e,t){let r=this.uniforms;r.resolution.value.set(e,t),r.texelSize.value.set(1/e,1/t),r.aspect.value=e/t}static get Section(){return _}};H.ShaderMaterial;var t2=class extends k{constructor({depthPacking:e=H.RGBADepthPacking}={}){super("DepthCopyPass");const t=new t$;t.outputDepthPacking=e,this.fullscreenMaterial=t,this.needsDepthTexture=!0,this.needsSwap=!1,this.renderTarget=new H.WebGLRenderTarget(1,1,{type:e===H.RGBADepthPacking?H.UnsignedByteType:H.FloatType,minFilter:H.NearestFilter,magFilter:H.NearestFilter,depthBuffer:!1}),this.renderTarget.texture.name="DepthCopyPass.Target"}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}get depthPacking(){return this.fullscreenMaterial.outputDepthPacking}getDepthPacking(){return this.fullscreenMaterial.outputDepthPacking}setDepthTexture(e,t=H.BasicDepthPacking){this.fullscreenMaterial.depthBuffer=e,this.fullscreenMaterial.inputDepthPacking=t}render(e,t,r,i,s){e.setRenderTarget(this.renderToScreen?null:this.renderTarget),e.render(this.scene,this.camera)}setSize(e,t){this.renderTarget.setSize(e,t)}},t4=Number(H.REVISION.replace(/\D+/g,"")),t3=255/256,t5=new Float32Array([255/256/0x1000000,255/256/65536,255/256/256,255/256]),t8=new Float32Array([t3,t3/256,t3/65536,1/0x1000000]),t6=class extends t2{constructor({depthPacking:e=H.RGBADepthPacking,mode:t=1}={}){if(e!==H.RGBADepthPacking&&e!==H.BasicDepthPacking)throw Error(`Unsupported depth packing: ${e}`);super({depthPacking:e}),this.name="DepthPickingPass",this.fullscreenMaterial.mode=t,this.pixelBuffer=e===H.RGBADepthPacking?new Uint8Array(4):new Float32Array(4),this.callback=null}readDepth(e){return this.fullscreenMaterial.texelPosition.set(.5*e.x+.5,.5*e.y+.5),new Promise(e=>{this.callback=e})}render(e,t,r,i,s){let a=this.fullscreenMaterial,n=a.mode;if(0===n&&super.render(e),null!==this.callback){let t,r=this.renderTarget,i=this.pixelBuffer,s=r.texture.type!==H.FloatType,o=0,l=0;if(1===n)super.render(e);else{let e=a.texelPosition;o=Math.round(e.x*r.width),l=Math.round(e.y*r.height)}e.readRenderTargetPixels(r,o,l,1,1,i),this.callback(s?(t=t4>=167?t8:t5,(i[0]*t[0]+i[1]*t[1]+i[2]*t[2]+i[3]*t[3])/255):i[0]),this.callback=null}}setSize(e,t){0===this.fullscreenMaterial.mode&&super.setSize(e,t)}};function t9(e,t,r){for(let i of t){let t="$1"+e+i.charAt(0).toUpperCase()+i.slice(1),s=RegExp("([^\\.])(\\b"+i+"\\b)","g");for(let e of r.entries())null!==e[1]&&r.set(e[0],e[1].replace(s,t))}}var t7=class extends k{constructor(e,...t){super("EffectPass"),this.fullscreenMaterial=new t1(null,null,null,e),this.listener=e=>this.handleEvent(e),this.effects=[],this.setEffects(t),this.skipRendering=!1,this.minTime=1,this.maxTime=1/0,this.timeScale=1}set mainScene(e){for(let t of this.effects)t.mainScene=e}set mainCamera(e){for(let t of(this.fullscreenMaterial.copyCameraSettings(e),this.effects))t.mainCamera=e}get encodeOutput(){return this.fullscreenMaterial.encodeOutput}set encodeOutput(e){this.fullscreenMaterial.encodeOutput=e}get dithering(){return this.fullscreenMaterial.dithering}set dithering(e){let t=this.fullscreenMaterial;t.dithering=e,t.needsUpdate=!0}setEffects(e){for(let e of this.effects)e.removeEventListener("change",this.listener);for(let t of(this.effects=e.sort((e,t)=>t.attributes-e.attributes),this.effects))t.addEventListener("change",this.listener)}updateMaterial(){let e=new $,t=0;for(let r of this.effects)if(9===r.blendMode.blendFunction)e.attributes|=1&r.getAttributes();else if((e.attributes&r.getAttributes()&2)!=0)throw Error(`Convolution effects cannot be merged (${r.name})`);else!function(e,t,r){let i=t.getFragmentShader(),s=t.getVertexShader(),a=void 0!==i&&/mainImage/.test(i),n=void 0!==i&&/mainUv/.test(i);if(r.attributes|=t.getAttributes(),void 0===i)throw Error(`Missing fragment shader (${t.name})`);if(n&&(2&r.attributes)!=0)throw Error(`Effects that transform UVs are incompatible with convolution effects (${t.name})`);if(a||n){let o=/\w+\s+(\w+)\([\w\s,]*\)\s*{/g,l=r.shaderParts,u=l.get(_.FRAGMENT_HEAD)||"",c=l.get(_.FRAGMENT_MAIN_UV)||"",h=l.get(_.FRAGMENT_MAIN_IMAGE)||"",d=l.get(_.VERTEX_HEAD)||"",f=l.get(_.VERTEX_MAIN_SUPPORT)||"",g=new Set,p=new Set;if(n&&(c+=` ${e}MainUv(UV); -`,r.uvTransformation=!0),null!==s&&/mainSupport/.test(s)){let t=/mainSupport *\([\w\s]*?uv\s*?\)/.test(s);for(let i of(f+=` ${e}MainSupport(`,f+=t?"vUv);\n":");\n",s.matchAll(/(?:varying\s+\w+\s+([\S\s]*?);)/g)))for(let e of i[1].split(/\s*,\s*/))r.varyings.add(e),g.add(e),p.add(e);for(let e of s.matchAll(o))p.add(e[1])}for(let e of i.matchAll(o))p.add(e[1]);for(let e of t.defines.keys())p.add(e.replace(/\([\w\s,]*\)/g,""));for(let e of t.uniforms.keys())p.add(e);p.delete("while"),p.delete("for"),p.delete("if"),t.uniforms.forEach((t,i)=>r.uniforms.set(e+i.charAt(0).toUpperCase()+i.slice(1),t)),t.defines.forEach((t,i)=>r.defines.set(e+i.charAt(0).toUpperCase()+i.slice(1),t));let v=new Map([["fragment",i],["vertex",s]]);t9(e,p,r.defines),t9(e,p,v),i=v.get("fragment"),s=v.get("vertex");let m=t.blendMode;if(r.blendModes.set(m.blendFunction,m),a){null!==t.inputColorSpace&&t.inputColorSpace!==r.colorSpace&&(h+=t.inputColorSpace===H.SRGBColorSpace?"color0 = sRGBTransferOETF(color0);\n ":"color0 = sRGBToLinear(color0);\n "),t.outputColorSpace!==H.NoColorSpace?r.colorSpace=t.outputColorSpace:null!==t.inputColorSpace&&(r.colorSpace=t.inputColorSpace),h+=`${e}MainImage(color0, UV, `,(1&r.attributes)!=0&&/MainImage *\([\w\s,]*?depth[\w\s,]*?\)/.test(i)&&(h+="depth, ",r.readDepth=!0),h+="color1);\n ";let s=e+"BlendOpacity";r.uniforms.set(s,m.opacity),h+=`color0 = blend${m.blendFunction}(color0, color1, ${s}); - - `,u+=`uniform float ${s}; - -`}if(u+=i+"\n",null!==s&&(d+=s+"\n"),l.set(_.FRAGMENT_HEAD,u),l.set(_.FRAGMENT_MAIN_UV,c),l.set(_.FRAGMENT_MAIN_IMAGE,h),l.set(_.VERTEX_HEAD,d),l.set(_.VERTEX_MAIN_SUPPORT,f),null!==t.extensions)for(let e of t.extensions)r.extensions.add(e)}else throw Error(`Could not find mainImage or mainUv function (${t.name})`)}("e"+t++,r,e);let r=e.shaderParts.get(_.FRAGMENT_HEAD),i=e.shaderParts.get(_.FRAGMENT_MAIN_IMAGE),s=e.shaderParts.get(_.FRAGMENT_MAIN_UV),a=/\bblend\b/g;for(let t of e.blendModes.values())r+=t.getShaderCode().replace(a,`blend${t.blendFunction}`)+"\n";for(let[t,a]of((1&e.attributes)!=0?(e.readDepth&&(i="float depth = readDepth(UV);\n\n "+i),this.needsDepthTexture=null===this.getDepthTexture()):this.needsDepthTexture=!1,e.colorSpace===H.SRGBColorSpace&&(i+="color0 = sRGBToLinear(color0);\n "),e.uvTransformation?(s="vec2 transformedUv = vUv;\n"+s,e.defines.set("UV","transformedUv")):e.defines.set("UV","vUv"),e.shaderParts.set(_.FRAGMENT_HEAD,r),e.shaderParts.set(_.FRAGMENT_MAIN_IMAGE,i),e.shaderParts.set(_.FRAGMENT_MAIN_UV,s),e.shaderParts))null!==a&&e.shaderParts.set(t,a.trim().replace(/^#/,"\n#"));this.skipRendering=0===t,this.needsSwap=!this.skipRendering,this.fullscreenMaterial.setShaderData(e)}recompile(){this.updateMaterial()}getDepthTexture(){return this.fullscreenMaterial.depthBuffer}setDepthTexture(e,t=H.BasicDepthPacking){for(let r of(this.fullscreenMaterial.depthBuffer=e,this.fullscreenMaterial.depthPacking=t,this.effects))r.setDepthTexture(e,t)}render(e,t,r,i,s){for(let r of this.effects)r.update(e,t,i);if(!this.skipRendering||this.renderToScreen){let s=this.fullscreenMaterial;s.inputBuffer=t.texture,s.time+=i*this.timeScale,e.setRenderTarget(this.renderToScreen?null:r),e.render(this.scene,this.camera)}}setSize(e,t){for(let r of(this.fullscreenMaterial.setSize(e,t),this.effects))r.setSize(e,t)}initialize(e,t,r){for(let i of(this.renderer=e,this.effects))i.initialize(e,t,r);this.updateMaterial(),void 0!==r&&r!==H.UnsignedByteType&&(this.fullscreenMaterial.defines.FRAMEBUFFER_PRECISION_HIGH="1")}dispose(){for(let e of(super.dispose(),this.effects))e.removeEventListener("change",this.listener),e.dispose()}handleEvent(e){"change"===e.type&&this.recompile()}},re=class extends k{constructor(e,t,{renderTarget:r,resolutionScale:i=1,width:s=er.AUTO_SIZE,height:a=er.AUTO_SIZE,resolutionX:n=s,resolutionY:o=a}={}){super("NormalPass"),this.needsSwap=!1,this.renderPass=new eq(e,t,new H.MeshNormalMaterial);const l=this.renderPass;l.ignoreBackground=!0,l.skipShadowMapUpdate=!0;const u=l.getClearPass();u.overrideClearColor=new H.Color(7829503),u.overrideClearAlpha=1,this.renderTarget=r,void 0===this.renderTarget&&(this.renderTarget=new H.WebGLRenderTarget(1,1,{minFilter:H.NearestFilter,magFilter:H.NearestFilter}),this.renderTarget.texture.name="NormalPass.Target");const c=this.resolution=new er(this,n,o,i);c.addEventListener("change",e=>this.setSize(c.baseWidth,c.baseHeight))}set mainScene(e){this.renderPass.mainScene=e}set mainCamera(e){this.renderPass.mainCamera=e}get texture(){return this.renderTarget.texture}getTexture(){return this.renderTarget.texture}getResolution(){return this.resolution}getResolutionScale(){return this.resolution.scale}setResolutionScale(e){this.resolution.scale=e}render(e,t,r,i,s){let a=this.renderToScreen?null:this.renderTarget;this.renderPass.render(e,a,a)}setSize(e,t){let r=this.resolution;r.setBaseSize(e,t),this.renderTarget.setSize(r.width,r.height)}};function rt(e,t,r,i){var s;return(s=e+(t-e)*.75)+(r+(i-r)*.75-s)*.875}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}new Float32Array(3),new Float32Array(3),new Float32Array(3),new Float32Array(3),new Float32Array(3),new Float32Array(3),new Float32Array([0,0,0]),new Float32Array([1,0,0]),new Float32Array([1,1,0]),new Float32Array([1,1,1]),new Float32Array([0,0,0]),new Float32Array([1,0,0]),new Float32Array([1,0,1]),new Float32Array([1,1,1]),new Float32Array([0,0,0]),new Float32Array([0,0,1]),new Float32Array([1,0,1]),new Float32Array([1,1,1]),new Float32Array([0,0,0]),new Float32Array([0,1,0]),new Float32Array([1,1,0]),new Float32Array([1,1,1]),new Float32Array([0,0,0]),new Float32Array([0,1,0]),new Float32Array([0,1,1]),new Float32Array([1,1,1]),new Float32Array([0,0,0]),new Float32Array([0,0,1]),new Float32Array([0,1,1]),new Float32Array([1,1,1]),new Float32Array(2),new Float32Array(2),new Float32Array([0,-.25,.25,-.125,.125,-.375,.375]),new Float32Array([0,0]),new Float32Array([.25,-.25]),new Float32Array([-.25,.25]),new Float32Array([.125,-.125]),new Float32Array([-.125,.125]),new Uint8Array([0,0]),new Uint8Array([3,0]),new Uint8Array([0,3]),new Uint8Array([3,3]),new Uint8Array([1,0]),new Uint8Array([4,0]),new Uint8Array([1,3]),new Uint8Array([4,3]),new Uint8Array([0,1]),new Uint8Array([3,1]),new Uint8Array([0,4]),new Uint8Array([3,4]),new Uint8Array([1,1]),new Uint8Array([4,1]),new Uint8Array([1,4]),new Uint8Array([4,4]),new Uint8Array([0,0]),new Uint8Array([1,0]),new Uint8Array([0,2]),new Uint8Array([1,2]),new Uint8Array([2,0]),new Uint8Array([3,0]),new Uint8Array([2,2]),new Uint8Array([3,2]),new Uint8Array([0,1]),new Uint8Array([1,1]),new Uint8Array([0,3]),new Uint8Array([1,3]),new Uint8Array([2,1]),new Uint8Array([3,1]),new Uint8Array([2,3]),new Uint8Array([3,3]),rt(0,0,0,0),new Float32Array([0,0,0,0]),rt(0,0,0,1),new Float32Array([0,0,0,1]),rt(0,0,1,0),new Float32Array([0,0,1,0]),rt(0,0,1,1),new Float32Array([0,0,1,1]),rt(0,1,0,0),new Float32Array([0,1,0,0]),rt(0,1,0,1),new Float32Array([0,1,0,1]),rt(0,1,1,0),new Float32Array([0,1,1,0]),rt(0,1,1,1),new Float32Array([0,1,1,1]),rt(1,0,0,0),new Float32Array([1,0,0,0]),rt(1,0,0,1),new Float32Array([1,0,0,1]),rt(1,0,1,0),new Float32Array([1,0,1,0]),rt(1,0,1,1),new Float32Array([1,0,1,1]),rt(1,1,0,0),new Float32Array([1,1,0,0]),rt(1,1,0,1),new Float32Array([1,1,0,1]),rt(1,1,1,0),new Float32Array([1,1,1,0]),rt(1,1,1,1),new Float32Array([1,1,1,1]),e.s(["BloomEffect",0,eE,"BrightnessContrastEffect",0,eC,"ChromaticAberrationEffect",0,ey,"ColorAverageEffect",0,eB,"ColorDepthEffect",0,eT,"CopyPass",0,K,"DepthDownsamplingPass",0,tb,"DepthEffect",0,eP,"DepthOfFieldEffect",0,ez,"DepthPickingPass",0,t6,"DotScreenEffect",0,ek,"Effect",0,eo,"EffectComposer",0,q,"EffectPass",0,t7,"FXAAEffect",0,eQ,"GlitchEffect",0,eJ,"GlitchMode",0,eY,"GodRaysEffect",0,e1,"GridEffect",0,e2,"HueSaturationEffect",0,e4,"KernelSize",0,el,"LUT3DEffect",0,e7,"MaskFunction",0,eI,"NoiseEffect",0,tt,"NormalPass",0,re,"OutlineEffect",0,tl,"Pass",0,k,"PixelationEffect",0,tu,"RenderPass",0,eq,"SMAAEffect",0,ty,"SSAOEffect",0,tL,"ScanlineEffect",0,th,"SelectiveBloomEffect",0,tA,"SepiaEffect",0,tx,"ShockWaveEffect",0,tp,"TextureEffect",0,tN,"TiltShiftEffect",0,tQ,"ToneMappingEffect",0,tJ,"VignetteEffect",0,tZ],33623);function ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);rtypeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rs(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}new F.Vector2,new F.Vector2;function rn(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var ro=function e(t,r,i){var s=this;rn(this,e),rr(this,"dot2",function(e,t){return s.x*e+s.y*t}),rr(this,"dot3",function(e,t,r){return s.x*e+s.y*t+s.z*r}),this.x=t,this.y=r,this.z=i},rl=[new ro(1,1,0),new ro(-1,1,0),new ro(1,-1,0),new ro(-1,-1,0),new ro(1,0,1),new ro(-1,0,1),new ro(1,0,-1),new ro(-1,0,-1),new ro(0,1,1),new ro(0,-1,1),new ro(0,1,-1),new ro(0,-1,-1)],ru=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],rc=Array(512),rh=Array(512),rd=0;(rd=Math.floor(rd))<256&&(rd|=rd<<8);for(var rf,rg=0;rg<256;rg++)rf=1&rg?ru[rg]^255&rd:ru[rg]^rd>>8&255,rc[rg]=rc[rg+256]=rf,rh[rg]=rh[rg+256]=rl[rf%12];function rp(e){var t=function(e){if("number"==typeof e)e=Math.abs(e);else if("string"==typeof e){var t=e;e=0;for(var r=0;r3&&void 0!==arguments[3]?arguments[3]:.25,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.01,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,n=arguments.length>6&&void 0!==arguments[6]?arguments[6]:rv,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:.001,l="velocity_"+t;if(void 0===e.__damp&&(e.__damp={}),void 0===e.__damp[l]&&(e.__damp[l]=0),Math.abs(e[t]-r)<=o)return e[t]=r,!1;var u=2/(i=Math.max(1e-4,i)),c=n(u*s),h=e[t]-r,d=r,f=a*i;h=Math.min(Math.max(h,-f),f),r=e[t]-h;var g=(e.__damp[l]+u*h)*s;e.__damp[l]=(e.__damp[l]-u*g)*c;var p=r+(h+g)*c;return d-e[t]>0==p>d&&(p=d,e.__damp[l]=(p-d)/s),e[t]=p,!0}function rA(e,t,r,i,s,a,n,o){var l,u,c,h;return rm(e,t,e[t]+(c=(l=r-e[t])-Math.floor(l/(u=2*Math.PI))*u,(h=Math.max(0,Math.min(u,c)))>Math.PI&&(h-=2*Math.PI),h),i,s,a,n,o)}var rx=new F.Vector2,rD=new F.Vector3;function rw(e,t,r,i,s,a,n){return"number"==typeof t?rD.setScalar(t):Array.isArray(t)?rD.set(t[0],t[1],t[2]):rD.copy(t),u=rm(e,"x",rD.x,r,i,s,a,n),c=rm(e,"y",rD.y,r,i,s,a,n),h=rm(e,"z",rD.z,r,i,s,a,n),u||c||h}var rE=new F.Vector4,rC=new F.Euler,rB=new F.Color,rT=new F.Quaternion,rS=new F.Vector4,ry=new F.Vector4,rM=new F.Vector4;function rP(e,t,r,i,s,a,n){Array.isArray(t)?rT.set(t[0],t[1],t[2],t[3]):rT.copy(t);var o=e.dot(rT)>0?1:-1;return rT.x*=o,rT.y*=o,rT.z*=o,rT.w*=o,E=rm(e,"x",rT.x,r,i,s,a,n),C=rm(e,"y",rT.y,r,i,s,a,n),B=rm(e,"z",rT.z,r,i,s,a,n),T=rm(e,"w",rT.w,r,i,s,a,n),rS.set(e.x,e.y,e.z,e.w).normalize(),ry.set(e.__damp.velocity_x,e.__damp.velocity_y,e.__damp.velocity_z,e.__damp.velocity_w),rM.copy(rS).multiplyScalar(ry.dot(rS)/rS.dot(rS)),e.__damp.velocity_x-=rM.x,e.__damp.velocity_y-=rM.y,e.__damp.velocity_z-=rM.z,e.__damp.velocity_w-=rM.w,e.set(rS.x,rS.y,rS.z,rS.w),E||C||B||T}var rI=new F.Spherical,rU=new F.Matrix4,rR=new F.Vector3,rb=new F.Quaternion,rF=new F.Vector3,rL=Object.freeze({__proto__:null,rsqw:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/(2*Math.PI);return r/Math.atan(1/t)*Math.atan(Math.sin(2*Math.PI*e*i)/t)},exp:rv,damp:rm,dampAngle:rA,damp2:function(e,t,r,i,s,a,n){return"number"==typeof t?rx.setScalar(t):Array.isArray(t)?rx.set(t[0],t[1]):rx.copy(t),o=rm(e,"x",rx.x,r,i,s,a,n),l=rm(e,"y",rx.y,r,i,s,a,n),o||l},damp3:rw,damp4:function(e,t,r,i,s,a,n){return"number"==typeof t?rE.setScalar(t):Array.isArray(t)?rE.set(t[0],t[1],t[2],t[3]):rE.copy(t),d=rm(e,"x",rE.x,r,i,s,a,n),f=rm(e,"y",rE.y,r,i,s,a,n),g=rm(e,"z",rE.z,r,i,s,a,n),p=rm(e,"w",rE.w,r,i,s,a,n),d||f||g||p},dampE:function(e,t,r,i,s,a,n){return Array.isArray(t)?rC.set(t[0],t[1],t[2],t[3]):rC.copy(t),v=rA(e,"x",rC.x,r,i,s,a,n),m=rA(e,"y",rC.y,r,i,s,a,n),A=rA(e,"z",rC.z,r,i,s,a,n),v||m||A},dampC:function(e,t,r,i,s,a,n){return t instanceof F.Color?rB.copy(t):Array.isArray(t)?rB.setRGB(t[0],t[1],t[2]):rB.set(t),x=rm(e,"r",rB.r,r,i,s,a,n),D=rm(e,"g",rB.g,r,i,s,a,n),w=rm(e,"b",rB.b,r,i,s,a,n),x||D||w},dampQ:rP,dampS:function(e,t,r,i,s,a,n){return Array.isArray(t)?rI.set(t[0],t[1],t[2]):rI.copy(t),S=rm(e,"radius",rI.radius,r,i,s,a,n),y=rA(e,"phi",rI.phi,r,i,s,a,n),M=rA(e,"theta",rI.theta,r,i,s,a,n),S||y||M},dampM:function(e,t,r,i,s,a,n){return void 0===e.__damp&&(e.__damp={position:new F.Vector3,rotation:new F.Quaternion,scale:new F.Vector3},e.decompose(e.__damp.position,e.__damp.rotation,e.__damp.scale)),Array.isArray(t)?rU.set.apply(rU,ra(t)):rU.copy(t),rU.decompose(rR,rb,rF),P=rw(e.__damp.position,rR,r,i,s,a,n),I=rP(e.__damp.rotation,rb,r,i,s,a,n),U=rw(e.__damp.scale,rF,r,i,s,a,n),e.compose(e.__damp.position,e.__damp.rotation,e.__damp.scale),P||I||U}}),rO=F,rG=F;new rG.OrthographicCamera(-1,1,1,-1,0,1);class rN extends rG.BufferGeometry{constructor(){super(),this.setAttribute("position",new rG.Float32BufferAttribute([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute("uv",new rG.Float32BufferAttribute([0,2,0,0,2,0],2))}}new rN;class rH extends rO.BufferGeometry{boundingSphere=new rO.Sphere;constructor(){super(),this.setAttribute("position",new rO.BufferAttribute(new Float32Array([-1,-1,3,-1,-1,3]),2)),this.setAttribute("uv",new rO.BufferAttribute(new Float32Array([0,0,2,0,0,2]),2))}computeBoundingSphere(){}}Uint8Array.from(atob("5L7pP4UXrOIr/VZ1G3f6p89FIWU7lqc7J3DPxKjJUXODJoHQzf/aNVM+ABlvhXeBGN7iC0WkmTjEaAqOItBfBdaK5KSGV1ET5SOKl3x9JOX5w2sAl6+6KjDhVUHgbqq7DZ5EeYzbdSNxtrQLW/KkPJoOTG4u5CBUZkCKHniY9l7DUgjuz708zG1HIC8qfohi1vPjPH9Lq47ksjRrjwXD4MlVCjdAqYFGodQ8tRmHkOfq4wVRIAHvoavPHvN1lpk3X4Y1yzAPGe8S9KBs3crc4GwlU1dEOXiWol/mgQqxkNqB1xd04+0Bmpwj0GcCc4NUi+c731FUxjvaexCkCJ0qhrJJ++htWqetNC4NewClu8aFRSwrqiJEGe+qtTg4CYCHaF1wJI0sy/ZBQAI0qAMyBvVjWZlv2pdkCaro9eWDLK5I4mbb8E4d7hZr9dDJiTJm6Bmb5S+2F7yal/JPdeLUfwq7jmVLaQfhv4tWMJAt7V4sG9LuAv2oPJgSj1nnlBvPibfHM2TrlWHwGCLGxW/5Jm2T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WGbK963pw8VjY3RS8IH1cy2yZbIcKLO5CgAUcXJfF2+McnDLKtXxyZaf7SPA6KJq+zF2NHyfoeTOwHhGqNcnHVr1hT73pcoyXyfvCYBnG1Bp/aR9t8hoI7CXM3UZOisWGA1SHZ2jf7k9GlRnp3mF/c1AV+JjvUsnZrsybEOQJg/dn/9eJkyykQHjbF56zgcPX6DdMG03WKUMlYz+uOZ+5DZy9E9MZOZ9GMoLFdrIPPQQLjv+GlCMpoyHPXkzIODjHAID2PrnaRpqWVHh0rnieDILKq+Emrd5RnjgE9pDUXWTmHaKuqqYlcgEz4zbi46dbWrAAFBjsQq1rLHIiPJEcwFLCOY4JNlXRXQJqCUKXk2d1RSBGzDP6HDSpo863BhVRFFF6uIpjQV7j5ebFe3UkkO/+coIo2BTAcgBqOtQ134s9a4QJvofuqBYMGOBMsWZ+sn/2AOxDx6SfAnDFGw=="),e=>e.charCodeAt(0)),parseInt(rO.REVISION.replace(/\D+/g,""))>=162?class extends rO.WebGLRenderTarget{constructor(e=1,t=1,r=1,i={}){super(e,t,{...i,count:r}),this.isWebGLMultipleRenderTargets=!0}get texture(){return this.textures}}:class extends rO.WebGLRenderTarget{constructor(e=1,t=1,r=1,i={}){super(e,t,i),this.isWebGLMultipleRenderTargets=!0;const s=this.texture;this.texture=[];for(let e=0;e(2&e.getAttributes())==2,rV=(0,b.memo)((0,b.forwardRef)(({children:e,camera:t,scene:r,resolutionScale:i,enabled:s=!0,renderPriority:a=1,autoClear:n=!0,depthBuffer:o,enableNormalPass:l,stencilBuffer:u,multisampling:c=8,frameBufferType:h=F.HalfFloatType},d)=>{let{gl:f,scene:g,camera:p,size:v}=(0,L.useThree)(),m=r||g,A=t||p,[x,D,w]=(0,b.useMemo)(()=>{let e=new q(f,{depthBuffer:o,stencilBuffer:u,multisampling:c,frameBufferType:h});e.addPass(new eq(m,A));let t=null,r=null;return l&&((r=new re(m,A)).enabled=!1,e.addPass(r),void 0!==i&&((t=new tb({normalBuffer:r.texture,resolutionScale:i})).enabled=!1,e.addPass(t))),[e,r,t]},[A,f,o,u,c,h,m,l,i]);(0,b.useEffect)(()=>x?.setSize(v.width,v.height),[x,v]),(0,O.useFrame)((e,t)=>{if(s){let e=f.autoClear;f.autoClear=n,u&&!n&&f.clearStencil(),x.render(t),f.autoClear=e}},s?a:0);let E=(0,b.useRef)(null);(0,b.useLayoutEffect)(()=>{let e=[],t=E.current.__r3f;if(t&&x){let r=t.children;for(let t=0;t{for(let t of e)x?.removePass(t);D&&(D.enabled=!1),w&&(w.enabled=!1)}},[x,e,A,D,w]),(0,b.useEffect)(()=>{let e=f.toneMapping;return f.toneMapping=F.NoToneMapping,()=>{f.toneMapping=e}},[f]);let C=(0,b.useMemo)(()=>({composer:x,normalPass:D,downSamplingPass:w,resolutionScale:i,camera:A,scene:m}),[x,D,w,i,A,m]);return(0,b.useImperativeHandle)(d,()=>x,[x]),(0,R.jsx)(rz.Provider,{value:C,children:(0,R.jsx)("group",{ref:E,children:e})})})),rQ=0,rY=new WeakMap,rW=(0,b.forwardRef)(function({blendFunction:e,worldFocusDistance:t,worldFocusRange:r,focusDistance:i,focusRange:s,focalLength:a,bokehScale:n,resolutionScale:o,resolutionX:l,resolutionY:u,width:c,height:h,target:d,depthTexture:f,...g},p){let{camera:v}=(0,b.useContext)(rz),m=null!=d,A=(0,b.useMemo)(()=>{let d=new ez(v,{blendFunction:e,worldFocusDistance:t,worldFocusRange:r,focusDistance:i,focusRange:s,focalLength:a,bokehScale:n,resolutionScale:o,resolutionX:l,resolutionY:u,width:c,height:h});return m&&(d.target=new F.Vector3),f&&d.setDepthTexture(f.texture,f.packing),d.maskPass.maskFunction=eI.MULTIPLY_RGB_SET_ALPHA,d},[v,e,t,r,i,s,a,n,o,l,u,c,h,m,f]);return(0,b.useEffect)(()=>()=>{A.dispose()},[A]),(0,R.jsx)("primitive",{...g,ref:p,object:A,target:d})}),rK=(a=eE,n={blendFunction:0},function({blendFunction:e=n?.blendFunction,opacity:t=n?.opacity,...r}){let i=rY.get(a);if(!i){let e=`@react-three/postprocessing/${a.name}-${rQ++}`;(0,G.extend)({[e]:a}),rY.set(a,i=e)}let s=(0,L.useThree)(e=>e.camera),o=b.default.useMemo(()=>[...n?.args??[],...r.args??[{...n,...r}]],[JSON.stringify(r)]);return(0,R.jsx)(i,{camera:s,"blendMode-blendFunction":e,"blendMode-opacity-value":t,...r,args:o})});var rX=((s=rX||{})[s.Linear=0]="Linear",s[s.Radial=1]="Radial",s[s.MirroredLinear=2]="MirroredLinear",s);e.s(["Bloom",0,rK,"EffectComposer",0,rV],79877)}]); \ No newline at end of file diff --git a/.next/static/chunks/0ht_jt035hxfz.js b/.next/static/chunks/0ht_jt035hxfz.js deleted file mode 100644 index 8fffd5f..0000000 --- a/.next/static/chunks/0ht_jt035hxfz.js +++ /dev/null @@ -1,14 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32322,(t,e,i)=>{t.e,function(t){"use strict";function e(t){var e,i,n,o;for(i=1,n=arguments.length;itypeof L&&L&&L.Mixin){t=z(t)?t:[t];for(var e=0;e0?Math.floor(t):Math.ceil(t)};function F(t,e,i){return t instanceof D?t:z(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,i)}function W(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=U(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=U(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.xe.y&&n.y=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=q(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=q(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.late.lng&&n.lngtypeof orientation||tA("mobile"),tT=!window.PointerEvent&&window.MSPointerEvent,tM=!!(window.PointerEvent||tT),tz="ontouchstart"in window||!!window.TouchEvent,tC=!window.L_NO_TOUCH&&(tz||tM),tS=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,tZ=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",v,e),window.removeEventListener("testPassiveEventSupport",v,e)}catch(t){}return t}(),tE=!!document.createElement("canvas").getContext,tk=!!(document.createElementNS&&ti("svg").createSVGRect),tO=!!tk&&((u=document.createElement("div")).innerHTML="","http://www.w3.org/2000/svg"===(u.firstChild&&u.firstChild.namespaceURI)),tI=!tk&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function tA(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var tB={ie:ts,ielt9:tr,edge:ta,webkit:th,android:tl,android23:tu,androidStock:td,opera:t_,chrome:tp,gecko:tm,safari:tf,phantom:tg,opera12:tv,win:ty,ie3d:tx,webkit3d:tw,gecko3d:tb,any3d:tP,mobile:tL,mobileWebkit:tL&&th,mobileWebkit3d:tL&&tw,msPointer:tT,pointer:tM,touch:tC,touchNative:tz,mobileOpera:tL&&t_,mobileGecko:tL&&tm,retina:tS,passiveEvents:tZ,canvas:tE,svg:tk,vml:tI,inlineSvg:tO,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},tR=tB.msPointer?"MSPointerDown":"pointerdown",tN=tB.msPointer?"MSPointerMove":"pointermove",tj=tB.msPointer?"MSPointerUp":"pointerup",tD=tB.msPointer?"MSPointerCancel":"pointercancel",tH={touchstart:tR,touchmove:tN,touchend:tj,touchcancel:tD},tF={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&eb(e),tK(t,e)},touchmove:tK,touchend:tK,touchcancel:tK},tW={},tU=!1;function tV(t){tW[t.pointerId]=t}function tq(t){tW[t.pointerId]&&(tW[t.pointerId]=t)}function tG(t){delete tW[t.pointerId]}function tK(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],tW)e.touches.push(tW[i]);e.changedTouches=[e],t(e)}}var tY=ee(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tJ=ee(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tX="webkitTransition"===tJ||"OTransition"===tJ?tJ+"End":"transitionend";function t$(t){return"string"==typeof t?document.getElementById(t):t}function tQ(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function t0(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function t1(t){var e=t.parentNode;e&&e.removeChild(t)}function t2(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function t3(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function t5(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function t4(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=t7(t);return i.length>0&&RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function t8(t,e){if(void 0!==t.classList)for(var i=w(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function ez(t){return tB.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/eM:t.deltaY&&1===t.deltaMode?-(20*t.deltaY):t.deltaY&&2===t.deltaMode?-(60*t.deltaY):t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&32765>Math.abs(t.detail)?-(20*t.detail):t.detail?-(60*(t.detail/32765)):0}function eC(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var eS=j.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=eo(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=A(this._animate,this),this._step()},_step:function(t){var e=new Date-this._startTime,i=1e3*this._duration;ethis.options.maxZoom))?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,q(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=F((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=F(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=U([r.min.add(i),r.max.subtract(n)]),h=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var l=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(h);o.x+=l.x<0?-u.x:u.x,o.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var i=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),o=i.divideBy(2).round(),s=n.divideBy(2).round(),r=o.subtract(s);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(_(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:i,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var i=_(this._handleGeolocationResponse,this),n=_(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(i,n,t):navigator.geolocation.getCurrentPosition(i,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new G(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){var t;if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),t1(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(B(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)t1(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=t0("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return(this._checkIfLoaded(),this._lastCenter&&!this._moved())?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new V(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=q(t),i=F(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(i),l=U(this.project(a,n),this.project(r,n)).getSize(),u=tB.any3d?this.options.zoomSnap:1,c=h.x/l.x,d=h.y/l.y,_=e?Math.max(c,d):Math.min(c,d);return n=this.getScaleZoom(_,n),u&&(n=u/100*Math.round(n/(u/100)),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(s,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new W(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(K(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(F(t),e)},layerPointToLatLng:function(t){var e=F(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(K(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(K(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(q(t))},distance:function(t,e){return this.options.crs.distance(K(t),K(e))},containerPointToLayerPoint:function(t){return F(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return F(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(F(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(K(t)))},mouseEventToContainerPoint:function(t){return eT(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=t$(t);if(e){if(e._leaflet_id)throw Error("Map container is already initialized.")}else throw Error("Map container not found.");ed(e,"scroll",this._onScroll,this),this._containerId=m(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&tB.any3d,t8(t,"leaflet-container"+(tB.touch?" leaflet-touch":"")+(tB.retina?" leaflet-retina":"")+(tB.ielt9?" leaflet-oldie":"")+(tB.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=tQ(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),en(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(t8(t.markerPane,"leaflet-zoom-hide"),t8(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){en(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return B(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){en(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[m(this._container)]=this;var e=t?ep:ed;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),tB.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){B(this._resizeRequest),this._resizeRequest=A(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,r=!1;s;){if((i=this._targets[m(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)&&(o&&!eC(s,t)||(n.push(i),o)))break;if(s===this._container)break;s=s.parentNode}return!n.length&&!r&&!o&&this.listens(e,!0)&&(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&eh(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,n){if("click"===t.type){var o=e({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,i);if(n){for(var r=[],a=0;a=Math.abs(r.x)&&1>=Math.abs(r.y)?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new W(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=U(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new D(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=tB.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){t9(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return(!0===(e&&e.animate)||!!this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=t0("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=this._proxy.style[tY];ei(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[tY]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){t1(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();ei(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return(!0===i.animate||!!this.getSize().contains(o))&&(A(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,t8(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(_(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&t9(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),eE=R.extend({options:{position:"topright"},initialize:function(t){b(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return t8(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(t1(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ek=function(t){return new eE(t)};eZ.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=t0("div",e+"control-container",this._container);function n(n,o){t[n+o]=t0("div",e+n+" "+e+o,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)t1(this._controlCorners[t]);t1(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var eO=eE.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(m(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i=document.createElement("div");return i.innerHTML='",i.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+m(this),n),this._layerControlInputs.push(e),e.layerId=m(t.layer),ed(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ne.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,ed(t,"click",eb),this.expand();var e=this;setTimeout(function(){ep(t,"click",eb),e._preventClick=!1})}}),eI=eE.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=t0("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=t0("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),ew(s),ed(s,"click",eP),ed(s,"click",o,this),ed(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";t9(this._zoomInButton,e),t9(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(t8(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(t8(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});eZ.mergeOptions({zoomControl:!0}),eZ.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new eI,this.addControl(this.zoomControl))});var eA=eE.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=t0("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=t0("div",e,i)),t.imperial&&(this._iScale=t0("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),eB=eE.extend({options:{position:"bottomright",prefix:''+(tB.inlineSvg?' ':"")+"Leaflet"},initialize:function(t){b(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=t0("div","leaflet-control-attribution"),ew(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});eZ.mergeOptions({attributionControl:!0}),eZ.addInitHook(function(){this.options.attributionControl&&new eB().addTo(this)}),eE.Layers=eO,eE.Zoom=eI,eE.Scale=eA,eE.Attribution=eB,ek.layers=function(t,e,i){return new eO(t,e,i)},ek.zoom=function(t){return new eI(t)},ek.scale=function(t){return new eA(t)},ek.attribution=function(t){return new eB(t)};var eR=R.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});eR.addTo=function(t,e){return t.addHandler(e,this),this};var eN=tB.touch?"touchstart mousedown":"mousedown",ej=j.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){b(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(ed(this._dragStartTarget,eN,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ej._dragging===this&&this.finishDrag(!0),ep(this._dragStartTarget,eN,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!(!this._enabled||(this._moved=!1,t4(this._element,"leaflet-zoom-anim")))){if(t.touches&&1!==t.touches.length){ej._dragging===this&&this.finishDrag();return}if(!ej._dragging&&!t.shiftKey&&(1===t.which||1===t.button||t.touches)&&(ej._dragging=this,this._preventOutline&&eh(this._element),er(),i(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,n=eu(this._element);this._startPoint=new D(e.clientX,e.clientY),this._startPos=eo(this._element),this._parentScale=ec(n);var o="mousedown"===t.type;ed(document,o?"mousemove":"touchmove",this._onMove,this),ed(document,o?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new D(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)typeof Uint8Array?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,s){var r,a,h,l=0;for(a=o+1;a<=s-1;a++)(h=eK(e[a],e[o],e[s],!0))>l&&(r=a,l=h);l>n&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,s))}(t,n,e,0,i-1);var o,s=[];for(o=0;oe&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function eK(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,h=i.y-r,l=a*a+h*h;return l>0&&((o=((t.x-s)*a+(t.y-r)*h)/l)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new D(s,r)}function eY(t){return!z(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function eJ(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),eY(t)}function eX(t,e){if(!t||0===t.length)throw Error("latlngs not passed");eY(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var i,n,o,s,r,a,h,l,u=K([0,0]),c=q(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(u=eF(t));var d=t.length,_=[];for(i=0;in){h=(s-n)/o,l=[a.x-h*(a.x-r.x),a.y-h*(a.y-r.y)];break}var m=e.unproject(F(l));return K([m.lat+u.lat,m.lng+u.lng])}var e$={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new G(t.y,t.x)},bounds:new W([-180,-90],[180,90])},eQ={R:6378137,R_MINOR:6356752.314245179,bounds:new W([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n);return n=-i*Math.log(Math.max(Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2),1e-10)),new D(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,l=.1;h<15&&Math.abs(l)>1e-7;h++)l=Math.PI/2-2*Math.atan(r*(e=Math.pow((1-(e=s*Math.sin(a)))/(1+e),s/2)))-a,a+=l;return new G(a*i,t.x*i/n)}},e0=e({},J,{code:"EPSG:3395",projection:eQ,transformation:Q(c=.5/(Math.PI*eQ.R),.5,-c,.5)}),e1=e({},J,{code:"EPSG:4326",projection:e$,transformation:Q(1/180,1,-1/180,.5)}),e2=e({},Y,{projection:e$,transformation:Q(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});Y.Earth=J,Y.EPSG3395=e0,Y.EPSG3857=tt,Y.EPSG900913=te,Y.EPSG4326=e1,Y.Simple=e2;var e3=j.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[m(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[m(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});eZ.include({addLayer:function(t){if(!t._layerAdd)throw Error("The provided object is not a Layer.");var e=m(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=m(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return m(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?z(t)?t:[t]:[];for(var e=0,i=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof G&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){io.prototype._setLatLngs.call(this,t),eY(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return eY(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new D(e,e);if(t=new W(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip){this._parts=this._rings;return}for(var n,o=0,s=this._rings.length;ot.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(l=!l);return l||io.prototype._containsPoint.call(this,t,!0)}}),ir=e4.extend({initialize:function(t,e){b(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=z(t)?t:t.features;if(o){for(e=0,i=o.length;e0&&o.push(o[0].slice()),o}function i_(t,i){return t.feature?e({},t.feature,{geometry:i}):ip(i)}function ip(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var im={toGeoJSON:function(t){return i_(this,{type:"Point",coordinates:ic(this.getLatLng(),t)})}};function ig(t,e){return new ir(t,e)}e7.include(im),ii.include(im),ie.include(im),io.include({toGeoJSON:function(t){var e=!eY(this._latlngs),i=id(this._latlngs,+!!e,!1,t);return i_(this,{type:(e?"Multi":"")+"LineString",coordinates:i})}}),is.include({toGeoJSON:function(t){var e=!eY(this._latlngs),i=e&&!eY(this._latlngs[0]),n=id(this._latlngs,i?2:+!!e,!0,t);return e||(n=[n]),i_(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),e5.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),i_(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return(this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=ip(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),i)?i_(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var iv=e3.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=q(e),b(this,i)},onAdd:function(){!this._image&&(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(t8(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){t1(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&t3(this._image),this},bringToBack:function(){return this._map&&t5(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=q(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:t0("img");if(t8(e,"leaflet-image-layer"),this._zoomAnimated&&t8(e,"leaflet-zoom-animated"),this.options.className&&t8(e,this.options.className),e.onselectstart=v,e.onmousemove=v,e.onload=_(this.fire,this,"load"),e.onerror=_(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=e.src;return}e.src=this._url,e.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ei(this._image,i,e)},_reset:function(){var t=this._image,e=new W(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();en(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){et(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),iy=iv.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:t0("video");if(t8(e,"leaflet-image-layer"),this._zoomAnimated&&t8(e,"leaflet-zoom-animated"),this.options.className&&t8(e,this.options.className),e.onselectstart=v,e.onmousemove=v,e.onloadeddata=_(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o0?n:[e.src];return}z(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;so?(e.height=o+"px",t8(t,s)):t9(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();en(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,e=parseInt(tQ(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new D(this._containerLeft,-i-this._containerBottom);o._add(eo(this._container));var s=t.layerPointToContainerPoint(o),r=F(this.options.autoPanPadding),a=F(this.options.autoPanPaddingTopLeft||r),h=F(this.options.autoPanPaddingBottomRight||r),l=t.getSize(),u=0,c=0;s.x+n+h.x>l.x&&(u=s.x+n-l.x+h.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+i+h.y>l.y&&(c=s.y+i-l.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(u||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,c]))}},_getAnchor:function(){return F(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});eZ.mergeOptions({closePopupOnClick:!0}),eZ.include({openPopup:function(t,e,i){return this._initOverlay(ib,t,e,i).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),e3.include({bindPopup:function(t,e){return this._popup=this._initOverlay(ib,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof e4||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){eP(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof it))return void(this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng));this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var iP=iw.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){iw.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){iw.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=iw.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=t0("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+m(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,h=o.offsetWidth,l=o.offsetHeight,u=F(this.options.offset),c=this._getAnchor();"top"===a?(e=h/2,i=l):"bottom"===a?(e=h/2,i=0):("center"===a?e=h/2:"right"===a?e=0:"left"===a?e=h:r.xthis.options.maxZoom||in&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new D(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];if(h&&h.active){h.retain=!0;continue}h&&h.loaded&&(h.retain=!0),i+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)return void this._setView(t,i);for(var c=o.min.y;c<=o.max.y;c++)for(var d=o.min.x;d<=o.max.x;d++){var _=new D(d,c);if(_.z=this._tileZoom,this._isValidTile(_)){var p=this._tiles[this._tileCoordsToKey(_)];p?p.current=!0:r.push(_)}}if(r.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;di.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return q(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new V(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new D(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(t1(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){t8(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=v,t.onmousemove=v,tB.ielt9&&this.options.opacity<1&&et(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),_(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&A(_(this._tileReady,this,t,null,o)),en(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(et(i.el,0),B(this._fadeFrame),this._fadeFrame=A(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(t8(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tB.ielt9||!this._map._fadeAnimated?A(this._pruneTiles,this):setTimeout(_(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?g(t.x,this._wrapX):t.x,this._wrapY?g(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new W(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),iM=iT.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=b(this,e)).detectRetina&&tB.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return ed(i,"load",_(this._tileOnLoad,this,e,i)),ed(i,"error",_(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var i={r:tB.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(i.y=n),i["-y"]=n}return M(this._url,e(i,this.options))},_tileOnLoad:function(t,e){tB.ielt9?setTimeout(_(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=v,e.onerror=v,!e.complete)){e.src=S;var i=this._tiles[t].coords;t1(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",S),iT.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==S))return iT.prototype._tileReady.call(this,t,e,i)}});function iz(t,e){return new iM(t,e)}var iC=iM.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,i){this._url=t;var n=e({},this.defaultWmsParams);for(var o in i)o in this.options||(n[o]=i[o]);var s=(i=b(this,i)).detectRetina&&tB.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,iM.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=U(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===e1?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=iM.prototype.getTileUrl.call(this,t);return a+P(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,i){return e(this.wmsParams,t),i||this.redraw(),this}});iM.WMS=iC,iz.wms=function(t,e){return new iC(t,e)};var iS=e3.extend({options:{padding:.1},initialize:function(t){b(this,t),m(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),t8(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));tB.any3d?ei(this._container,s,i):en(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new W(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),iZ=iS.extend({options:{tolerance:0},getEvents:function(){var t=iS.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){iS.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ed(t,"mousemove",this._onMouseMove,this),ed(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ed(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){B(this._redrawRequest),delete this._ctx,t1(this._container),ep(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){iS.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=tB.retina?2:1;en(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",tB.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){iS.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[m(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[m(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),iO=tB.vml?ik:ti,iI=iS.extend({_initContainer:function(){this._container=iO("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iO("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){t1(this._container),ep(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){iS.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),en(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=iO("path");t.options.className&&t8(e,t.options.className),t.options.interactive&&t8(e,"leaflet-interactive"),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){t1(t._path),t.removeInteractiveTarget(t._path),delete this._layers[m(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,tn(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+2*i+",0 "+o+-(2*i)+",0 ";this._setPath(t,s)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){t3(t._path)},_bringToBack:function(t){t5(t._path)}});function iA(t){return tB.svg||tB.vml?new iI(t):null}tB.vml&&iI.include({_initContainer:function(){this._container=t0("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(iS.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=ik("shape");t8(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=ik("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[m(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;t1(e),t.removeInteractiveTarget(e),delete this._layers[m(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=ik("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=z(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=ik("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){t3(t._container)},_bringToBack:function(t){t5(t._container)}}),eZ.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&iE(t)||iA(t)}});var iB=is.extend({initialize:function(t,e){is.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=q(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});iI.create=iO,iI.pointsToPath=tn,ir.geometryToLayer=ia,ir.coordsToLatLng=il,ir.coordsToLatLngs=iu,ir.latLngToCoords=ic,ir.latLngsToCoords=id,ir.getFeature=i_,ir.asFeature=ip,eZ.mergeOptions({boxZoom:!0});var iR=eR.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ed(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ep(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){t1(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),i(),er(),this._startPoint=this._map.mouseEventToContainerPoint(t),ed(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=t0("div","leaflet-zoom-box",this._container),t8(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new W(this._point,this._startPoint),i=e.getSize();en(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(t1(this._box),t9(this._container,"leaflet-crosshair")),n(),ea(),ep(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(_(this._resetState,this),0);var e=new V(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});eZ.addInitHook("addHandler","boxZoom",iR),eZ.mergeOptions({doubleClickZoom:!0});var iN=eR.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});eZ.addInitHook("addHandler","doubleClickZoom",iN),eZ.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ij=eR.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new ej(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}t8(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){t9(this._map._container,"leaflet-grab"),t9(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=q(this._map.options.maxBounds);this._offsetLimit=U(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)0?o:-o))-e;this._delta=0,this._startTime=null,s&&("center"===t.options.scrollWheelZoom?t.setZoom(e+s):t.setZoomAround(this._lastMousePos,e+s))}});eZ.addInitHook("addHandler","scrollWheelZoom",iH),eZ.mergeOptions({tapHold:tB.touchNative&&tB.safari&&tB.mobile,tapTolerance:15});var iF=eR.extend({addHooks:function(){ed(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ep(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new D(e.clientX,e.clientY),this._holdTimeout=setTimeout(_(function(){this._cancel(),this._isTapValid()&&(ed(document,"touchend",eb),ed(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),ed(document,"touchend touchcancel contextmenu",this._cancel,this),ed(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){ep(document,"touchend",eb),ep(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),ep(document,"touchend touchcancel contextmenu",this._cancel,this),ep(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});eZ.addInitHook("addHandler","tapHold",iF),eZ.mergeOptions({touchZoom:tB.touch,bounceAtZoomLimits:!0});var iW=eR.extend({addHooks:function(){t8(this._map._container,"leaflet-touch-zoom"),ed(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){t9(this._map._container,"leaflet-touch-zoom"),ep(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ed(document,"touchmove",this._onTouchMove,this),ed(document,"touchend touchcancel",this._onTouchEnd,this),eb(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var s=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===s.x&&0===s.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),B(this._animRequest);var r=_(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=A(r,this,!0),eb(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,B(this._animRequest),ep(document,"touchmove",this._onTouchMove,this),ep(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});eZ.addInitHook("addHandler","touchZoom",iW),eZ.BoxZoom=iR,eZ.DoubleClickZoom=iN,eZ.Drag=ij,eZ.Keyboard=iD,eZ.ScrollWheelZoom=iH,eZ.TapHold=iF,eZ.TouchZoom=iW,t.Bounds=W,t.Browser=tB,t.CRS=Y,t.Canvas=iZ,t.Circle=ii,t.CircleMarker=ie,t.Class=R,t.Control=eE,t.DivIcon=iL,t.DivOverlay=iw,t.DomEvent={__proto__:null,on:ed,off:ep,stopPropagation:ey,disableScrollPropagation:ex,disableClickPropagation:ew,preventDefault:eb,stop:eP,getPropagationPath:eL,getMousePosition:eT,getWheelDelta:ez,isExternalTarget:eC,addListener:ed,removeListener:ep},t.DomUtil={__proto__:null,TRANSFORM:tY,TRANSITION:tJ,TRANSITION_END:tX,get:t$,getStyle:tQ,create:t0,remove:t1,empty:t2,toFront:t3,toBack:t5,hasClass:t4,addClass:t8,removeClass:t9,setClass:t6,getClass:t7,setOpacity:et,testProp:ee,setTransform:ei,setPosition:en,getPosition:eo,get disableTextSelection(){return i},get enableTextSelection(){return n},disableImageDrag:er,enableImageDrag:ea,preventOutline:eh,restoreOutline:el,getSizedParentNode:eu,getScale:ec},t.Draggable=ej,t.Evented=j,t.FeatureGroup=e4,t.GeoJSON=ir,t.GridLayer=iT,t.Handler=eR,t.Icon=e8,t.ImageOverlay=iv,t.LatLng=G,t.LatLngBounds=V,t.Layer=e3,t.LayerGroup=e5,t.LineUtil={__proto__:null,simplify:eW,pointToSegmentDistance:eU,closestPointOnSegment:function(t,e,i){return eK(t,e,i)},clipSegment:eV,_getEdgeIntersection:eq,_getBitCode:eG,_sqClosestPointOnSegment:eK,isFlat:eY,_flat:eJ,polylineCenter:eX},t.Map=eZ,t.Marker=e7,t.Mixin={Events:N},t.Path=it,t.Point=D,t.PolyUtil={__proto__:null,clipPolygon:eD,polygonCenter:eH,centroid:eF},t.Polygon=is,t.Polyline=io,t.Popup=ib,t.PosAnimation=eS,t.Projection={__proto__:null,LonLat:e$,Mercator:eQ,SphericalMercator:X},t.Rectangle=iB,t.Renderer=iS,t.SVG=iI,t.SVGOverlay=ix,t.TileLayer=iM,t.Tooltip=iP,t.Transformation=$,t.Util={__proto__:null,extend:e,create:d,bind:_,get lastId(){return p},stamp:m,throttle:f,wrapNum:g,falseFn:v,formatNum:y,trim:x,splitWords:w,setOptions:b,getParamString:P,template:M,isArray:z,indexOf:C,emptyImageUrl:S,requestFn:O,cancelFn:I,requestAnimFrame:A,cancelAnimFrame:B},t.VideoOverlay=iy,t.bind=_,t.bounds=U,t.canvas=iE,t.circle=function(t,e,i){return new ii(t,e,i)},t.circleMarker=function(t,e){return new ie(t,e)},t.control=ek,t.divIcon=function(t){return new iL(t)},t.extend=e,t.featureGroup=function(t,e){return new e4(t,e)},t.geoJSON=ig,t.geoJson=ig,t.gridLayer=function(t){return new iT(t)},t.icon=function(t){return new e8(t)},t.imageOverlay=function(t,e,i){return new iv(t,e,i)},t.latLng=K,t.latLngBounds=q,t.layerGroup=function(t,e){return new e5(t,e)},t.map=function(t,e){return new eZ(t,e)},t.marker=function(t,e){return new e7(t,e)},t.point=F,t.polygon=function(t,e){return new is(t,e)},t.polyline=function(t,e){return new io(t,e)},t.popup=function(t,e){return new ib(t,e)},t.rectangle=function(t,e){return new iB(t,e)},t.setOptions=b,t.stamp=m,t.svg=iA,t.svgOverlay=function(t,e,i){return new ix(t,e,i)},t.tileLayer=iz,t.tooltip=function(t,e){return new iP(t,e)},t.transformation=Q,t.version="1.9.4",t.videoOverlay=function(t,e,i){return new iy(t,e,i)};var iU=window.L;t.noConflict=function(){return window.L=iU,this},window.L=t}(i)},13958,t=>{"use strict";var e,i,n,o,s,r,a,h=t.i(43476),l=t.i(9409),u=t.i(71645),c=t.i(32322);let d=(0,u.createContext)(null);function _(){let t=(0,u.use)(d);if(null==t)throw Error("No context provided: useLeafletContext() can only be used in a descendant of ");return t}let p=(0,u.forwardRef)(function({bounds:t,boundsOptions:e,center:i,children:n,className:o,id:s,placeholder:r,style:a,whenReady:h,zoom:l,..._},p){let[m]=(0,u.useState)({className:o,id:s,style:a}),[f,g]=(0,u.useState)(null),v=(0,u.useRef)(void 0);(0,u.useImperativeHandle)(p,()=>f?.map??null,[f]);let y=(0,u.useCallback)(n=>{if(null!==n&&!v.current){let o=new c.Map(n,_);v.current=o,null!=i&&null!=l?o.setView(i,l):null!=t&&o.fitBounds(t,e),null!=h&&o.whenReady(h),g(Object.freeze({__version:1,map:o}))}},[]);(0,u.useEffect)(()=>()=>{f?.map.remove()},[f]);let x=f?u.default.createElement(d,{value:f},n):r??null;return u.default.createElement("div",{...m,ref:y},x)});function m(t,e,i){return Object.freeze({instance:t,context:e,container:i})}function f(t,e){return null==e?function(e,i){let n=(0,u.useRef)(void 0);return n.current||(n.current=t(e,i)),n}:function(i,n){let o=(0,u.useRef)(void 0);o.current||(o.current=t(i,n));let s=(0,u.useRef)(i),{instance:r}=o.current;return(0,u.useEffect)(function(){s.current!==i&&(e(r,i,s.current),s.current=i)},[r,i,e]),o}}var g=t.i(74080);function v(t){return(0,u.forwardRef)(function(e,i){let{instance:n}=t(e).current;return(0,u.useImperativeHandle)(i,()=>n),null})}function y(t,e){let i=(0,u.useRef)(e);(0,u.useEffect)(function(){e!==i.current&&null!=t.attributionControl&&(null!=i.current&&t.attributionControl.removeAttribution(i.current),null!=e&&t.attributionControl.addAttribution(e)),i.current=e},[t,e])}function x(t,e){let i=(0,u.useRef)(void 0);(0,u.useEffect)(function(){return null!=e&&t.instance.on(e),i.current=e,function(){null!=i.current&&t.instance.off(i.current),i.current=null}},[t,e])}function w(t,e){let i=t.pane??e.pane;return i?{...t,pane:i}:t}function b(t){return function(e){var i;let n=_(),o=t(w(e,n),n);return y(n.map,e.attribution),x(o.current,e.eventHandlers),i=o.current,(0,u.useEffect)(function(){return(n.layerContainer??n.map).addLayer(i.instance),function(){n.layerContainer?.removeLayer(i.instance),n.map.removeLayer(i.instance)}},[n,i]),o}}let P=(e=b(f(function({position:t,...e},i){var n;let o=new c.Marker(t,e);return m(o,(n={overlayContainer:o},Object.freeze({...i,...n})))},function(t,e,i){e.position!==i.position&&t.setLatLng(e.position),null!=e.icon&&e.icon!==i.icon&&t.setIcon(e.icon),null!=e.zIndexOffset&&e.zIndexOffset!==i.zIndexOffset&&t.setZIndexOffset(e.zIndexOffset),null!=e.opacity&&e.opacity!==i.opacity&&t.setOpacity(e.opacity),null!=t.dragging&&e.draggable!==i.draggable&&(!0===e.draggable?t.dragging.enable():t.dragging.disable())})),(0,u.forwardRef)(function(t,i){let{instance:n,context:o}=e(t).current;(0,u.useImperativeHandle)(i,()=>n);let{children:s}=t;return null==s?null:u.default.createElement(d,{value:o},s)})),T=(i=function(t,e){return m(new c.Popup(t,e.overlayContainer),e)},n=function(t,e,{position:i},n){(0,u.useEffect)(function(){let{instance:o}=t;function s(t){t.popup===o&&(o.update(),n(!0))}function r(t){t.popup===o&&n(!1)}return e.map.on({popupopen:s,popupclose:r}),null==e.overlayContainer?(null!=i&&o.setLatLng(i),o.openOn(e.map)):e.overlayContainer.bindPopup(o),function(){e.map.off({popupopen:s,popupclose:r}),e.overlayContainer?.unbindPopup(),e.map.removeLayer(o)}},[t,e,n,i])},o=f(i),s=function(t,e){let i=_(),s=o(w(t,i),i);return y(i.map,t.attribution),x(s.current,t.eventHandlers),n(s.current,i,t,e),s},(0,u.forwardRef)(function(t,e){let[i,n]=(0,u.useState)(!1),{instance:o}=s(t,n).current;(0,u.useImperativeHandle)(e,()=>o),(0,u.useEffect)(function(){i&&o.update()},[o,i,t.children]);let r=o._contentNode;return r?(0,g.createPortal)(t.children,r):null})),M=v(b(f(function({url:t,...e},i){return m(new c.TileLayer(t,w(e,i)),i)},function(t,e,i){!function(t,e,i){let{opacity:n,zIndex:o}=e;null!=n&&n!==i.opacity&&t.setOpacity(n),null!=o&&o!==i.zIndex&&t.setZIndex(o)}(t,e,i);let{url:n}=e;null!=n&&n!==i.url&&t.setUrl(n)}))),z=(r=function(t){return new c.Control.Zoom(t)},v((a=f(function(t,e){return m(r(t),e)}),function(t){let e=_(),i=a(t,e),{instance:n}=i.current,o=(0,u.useRef)(t.position),{position:s}=t;return(0,u.useEffect)(function(){return n.addTo(e.map),function(){n.remove()}},[e.map,n]),(0,u.useEffect)(function(){null!=s&&s!==o.current&&(n.setPosition(s),o.current=s)},[n,s]),i}))),C=[{id:"hyderabad",city:"Hyderabad",name:"Doormile Headquarters",shortLabel:"Hyderabad HQ",position:[17.4484,78.3573],isHeadquarters:!0,address:["5th Floor, Vision Ultima,","Street No.3, Jayabheri Enclave,","Gachibowli, Hyderabad,","Telangana 500032"]},{id:"bengaluru",city:"Bengaluru",name:"Bengaluru Hub",shortLabel:"Bengaluru Hub",position:[12.9929351,77.6988599],address:["C612, 6th Floor,","Trifecta Starlight, ITPL Road,","Garudacharapalya, Mahadevapura,","Bangalore 560048,","Karnataka, India"]},{id:"coimbatore",city:"Coimbatore",name:"Coimbatore Hub",shortLabel:"Coimbatore Hub",position:[11.0191,76.9883],address:["Mayflower Valencia,","Near Nava India Bus Stop,","Avinashi Road, Udayampalayam,","Tamil Nadu 641003"]}],S=C.find(t=>t.isHeadquarters)??C[0],Z=S.position;function E(t){return t?c.default.divIcon({className:l.default.markerIconHq,html:` - - - `,iconSize:[40,52],iconAnchor:[20,52],popupAnchor:[0,-52]}):c.default.divIcon({className:l.default.markerIcon,html:` - - `,iconSize:[30,40],iconAnchor:[15,40],popupAnchor:[0,-40]})}function k({focus:t,markerRefs:e}){let i=_().map,n=(0,u.useRef)(!1);return(0,u.useEffect)(()=>{let t=i.getContainer(),e=0,n=new ResizeObserver(()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>i.invalidateSize())});return n.observe(t),()=>{cancelAnimationFrame(e),n.disconnect()}},[i]),(0,u.useEffect)(()=>{if(!t)return;let o=C.find(e=>e.id===t.id);if(!o)return;let s=()=>e.current[o.id]?.openPopup(),r=[o.position[0]+.022,o.position[1]];if(!n.current){n.current=!0,i.invalidateSize(),i.setView(r,13,{animate:!1});let t=requestAnimationFrame(s);return()=>cancelAnimationFrame(t)}return i.flyTo(r,13,{duration:1.1}),i.once("moveend",s),()=>{i.off("moveend",s)}},[i,t,e]),null}t.s(["default",0,function(){let t=(0,u.useMemo)(()=>E(!1),[]),e=(0,u.useMemo)(()=>E(!0),[]),i=(0,u.useRef)({}),[n,o]=(0,u.useState)({id:S.id,nonce:0}),s=(0,u.useCallback)(t=>{o(e=>({id:t,nonce:(e?.nonce??0)+1}))},[]),[r,a]=(0,u.useState)(null);(0,u.useEffect)(()=>{null===r&&n?.id&&i.current[n.id]?.openPopup()},[r,n]);let[c,d]=(0,u.useState)("loading"),_=(0,u.useRef)(!1),m=(0,u.useRef)(0),f=(0,u.useCallback)(()=>{_.current=!0,d("ready")},[]),g=(0,u.useCallback)(()=>{m.current+=1,!_.current&&m.current>=6&&d("error")},[]);return(0,u.useEffect)(()=>{let t=window.setTimeout(()=>{_.current||d("error")},12e3);return()=>window.clearTimeout(t)},[]),(0,h.jsxs)("div",{className:l.default.root,role:"region","aria-label":"Map of Doormile office locations",children:[(0,h.jsx)("ul",{className:l.default.srOnly,children:C.map(t=>(0,h.jsxs)("li",{children:[t.name," — latitude ",t.position[0],", longitude ",t.position[1]]},t.id))}),(0,h.jsx)("div",{className:l.default.controls,role:"group","aria-label":"Jump to an office location",children:C.map(t=>{let e=n?.id===t.id;return(0,h.jsx)("button",{type:"button",className:`${l.default.controlBtn} ${e?l.default.controlBtnActive:""} ${t.isHeadquarters?l.default.controlBtnHq:""}`,"aria-pressed":e,"aria-label":`Show ${t.name} on the map`,onClick:()=>s(t.id),children:t.city},t.id)})}),(0,h.jsxs)(p,{className:l.default.map,center:Z,zoom:13,scrollWheelZoom:!1,zoomControl:!1,attributionControl:!1,worldCopyJump:!0,children:[(0,h.jsx)(z,{position:"bottomleft"}),(0,h.jsx)(M,{url:"https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",attribution:'Imagery © Esri, Maxar, Earthstar Geographics & the GIS User Community',maxZoom:19,updateWhenIdle:!0,keepBuffer:2,eventHandlers:{load:f,tileerror:g}}),C.map(o=>{let r=n?.id===o.id;return(0,h.jsx)(P,{position:o.position,icon:o.isHeadquarters?e:t,zIndexOffset:1e3*!!o.isHeadquarters,keyboard:!0,title:o.name,alt:o.name,eventHandlers:{click:()=>s(o.id),mouseover:t=>{a(o.id),t.target.openPopup()},mouseout:t=>{a(null),n?.id!==o.id&&t.target.closePopup()}},ref:t=>{t&&(i.current[o.id]=t)},children:(0,h.jsx)(T,{className:l.default.popup,autoPan:r,autoPanPadding:[25,25],closeButton:!1,minWidth:240,maxWidth:290,children:(0,h.jsxs)("div",{className:l.default.card,children:[(0,h.jsxs)("div",{className:l.default.cardHeader,children:[(0,h.jsx)("span",{className:l.default.cardIcon,"aria-hidden":"true",children:"📍"}),(0,h.jsxs)("h4",{className:l.default.cardTitle,children:[o.city," Office"]})]}),(0,h.jsx)("div",{className:l.default.cardBody,children:o.address.map((t,e)=>(0,h.jsx)("p",{className:l.default.addressLine,children:t},e))})]})})},o.id)}),(0,h.jsx)(k,{focus:n,markerRefs:i})]}),"error"===c&&(0,h.jsxs)("div",{className:l.default.errorOverlay,role:"alert",children:[(0,h.jsx)("p",{className:l.default.errorTitle,children:"Map could not be loaded"}),(0,h.jsx)("p",{className:l.default.errorText,children:"Please check your connection. Our offices are located in:"}),(0,h.jsx)("ul",{className:l.default.errorList,children:C.map(t=>(0,h.jsx)("li",{children:t.name},t.id))})]})]})}],13958)},42391,t=>{t.n(t.i(13958))}]); \ No newline at end of file diff --git a/.next/static/chunks/0iz6a6sot7a-u.js b/.next/static/chunks/0iz6a6sot7a-u.js deleted file mode 100644 index 93e4eb8..0000000 --- a/.next/static/chunks/0iz6a6sot7a-u.js +++ /dev/null @@ -1,9 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12305,e=>{e.v({divider:"TheDoormileWay-module__xq3n3a__divider",eyebrow:"TheDoormileWay-module__xq3n3a__eyebrow",header:"TheDoormileWay-module__xq3n3a__header",heading:"TheDoormileWay-module__xq3n3a__heading",headingWrap:"TheDoormileWay-module__xq3n3a__headingWrap",kicker:"TheDoormileWay-module__xq3n3a__kicker"})},24911,e=>{"use strict";var t=e.i(43476),n=e.i(2018),a=e.i(12305);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"elementor-61",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Fix oversized h2 font size */ - .elementor-element-9363070 .logico-title { - font-size: clamp(32px, 4.5vw, 64px) !important; - line-height: 1.1 !important; - word-wrap: break-word !important; - overflow-wrap: break-word !important; - } - `}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-88745f4 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"88745f4","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-343b363 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"343b363","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:a.default.header,children:[(0,t.jsxs)(n.ScrollReveal,{delay:.05,duration:.7,yOffset:20,className:a.default.kicker,children:[(0,t.jsx)("p",{className:a.default.eyebrow,children:"/ Doormile Approach /"}),(0,t.jsx)("hr",{className:a.default.divider})]}),(0,t.jsx)(n.ScrollReveal,{delay:.15,duration:.85,yOffset:30,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-1cc335a elementor-widget elementor-widget-logico_heading","data-id":"1cc335a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",style:{WebkitTextStroke:"4px #c01227",color:"#fff",fontWeight:800},children:"The Doormile Way"})})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-4c3e632 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"4c3e632","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)(n.ScrollReveal,{delay:.2,duration:.8,yOffset:25,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-5ba6bbf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5ba6bbf","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-9363070 elementor-widget elementor-widget-logico_heading","data-id":"9363070","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("h2",{className:"logico-title",children:" Smarter, Faster, Connected Logistics"})})})})}),(0,t.jsx)(n.ScrollReveal,{delay:.3,duration:.8,yOffset:25,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-e7609a5 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e7609a5","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-c134b96 elementor-widget elementor-widget-text-editor","data-id":"c134b96","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("p",{children:(0,t.jsxs)("strong",{children:["We connect first mile and last mile into one seamless system, reducing delays and improving efficiency. With real-time tracking and digital workflows,",(0,t.jsx)("br",{})," every delivery is faster, reliable, and fully transparent."]})}),(0,t.jsx)("p",{children:"Seamless logistics powered by real-time tracking, digital processes, and reliable delivery execution."})]})})})})]})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-5041fcc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"5041fcc","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)(n.StaggerChildren,{stagger:.12,duration:.7,yOffset:35,className:"elementor-element elementor-element-2d7c3ee e-con-full e-grid cut-corner-no sticky-container-off e-con e-child",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-d11b050 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d11b050","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-3a6f50f elementor-view-default elementor-widget elementor-widget-icon","data-id":"3a6f50f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-delivery"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-1025248 elementor-widget elementor-widget-logico_heading","data-id":"1025248","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"End-to-End Protection"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-c7c19bd elementor-widget elementor-widget-text-editor","data-id":"c7c19bd","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"End-to-end visibility ensures every shipment stays secure and on schedule."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-2c82e54 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"2c82e54","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-f51735e elementor-view-default elementor-widget elementor-widget-icon","data-id":"f51735e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-container"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-c682633 elementor-widget elementor-widget-logico_heading","data-id":"c682633","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Proactive delay prevention"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-74d14e3 elementor-widget elementor-widget-text-editor","data-id":"74d14e3","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Real-time monitoring helps prevent delays before they impact deliveries."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-08b9b20 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"08b9b20","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-612c459 elementor-view-default elementor-widget elementor-widget-icon","data-id":"612c459","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-directions"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-aa49275 elementor-widget elementor-widget-logico_heading","data-id":"aa49275","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Single owner, single promise"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-74cfdf7 elementor-widget elementor-widget-text-editor","data-id":"74cfdf7","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"One unified system manages the entire delivery process seamlessly."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-04989ee e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"04989ee","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-11a657e elementor-view-default elementor-widget elementor-widget-icon","data-id":"11a657e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-storage"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-b317d31 elementor-widget elementor-widget-logico_heading","data-id":"b317d31","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Dynamic AI-driven adjustments"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-8fe5662 elementor-widget elementor-widget-text-editor","data-id":"8fe5662","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"AI-powered routing adapts instantly to improve speed and efficiency."})})})]})]})})})]})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/0nunuemu9ietr.js b/.next/static/chunks/0nunuemu9ietr.js deleted file mode 100644 index 6e758c1..0000000 --- a/.next/static/chunks/0nunuemu9ietr.js +++ /dev/null @@ -1,265 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12305,e=>{e.v({divider:"TheDoormileWay-module__xq3n3a__divider",eyebrow:"TheDoormileWay-module__xq3n3a__eyebrow",header:"TheDoormileWay-module__xq3n3a__header",heading:"TheDoormileWay-module__xq3n3a__heading",headingWrap:"TheDoormileWay-module__xq3n3a__headingWrap",kicker:"TheDoormileWay-module__xq3n3a__kicker"})},24911,e=>{"use strict";var t=e.i(43476),i=e.i(2018),n=e.i(12305);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"elementor-61",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Fix oversized h2 font size */ - .elementor-element-9363070 .logico-title { - font-size: clamp(32px, 4.5vw, 64px) !important; - line-height: 1.1 !important; - word-wrap: break-word !important; - overflow-wrap: break-word !important; - } - `}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-88745f4 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"88745f4","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-343b363 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"343b363","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:n.default.header,children:[(0,t.jsxs)(i.ScrollReveal,{delay:.05,duration:.7,yOffset:20,className:n.default.kicker,children:[(0,t.jsx)("p",{className:n.default.eyebrow,children:"/ Doormile Approach /"}),(0,t.jsx)("hr",{className:n.default.divider})]}),(0,t.jsx)(i.ScrollReveal,{delay:.15,duration:.85,yOffset:30,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-1cc335a elementor-widget elementor-widget-logico_heading","data-id":"1cc335a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",style:{WebkitTextStroke:"4px #c01227",color:"#fff",fontWeight:800},children:"The Doormile Way"})})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-4c3e632 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"4c3e632","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)(i.ScrollReveal,{delay:.2,duration:.8,yOffset:25,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-5ba6bbf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5ba6bbf","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-9363070 elementor-widget elementor-widget-logico_heading","data-id":"9363070","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("h2",{className:"logico-title",children:" Smarter, Faster, Connected Logistics"})})})})}),(0,t.jsx)(i.ScrollReveal,{delay:.3,duration:.8,yOffset:25,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-e7609a5 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e7609a5","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-c134b96 elementor-widget elementor-widget-text-editor","data-id":"c134b96","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("p",{children:(0,t.jsxs)("strong",{children:["We connect first mile and last mile into one seamless system, reducing delays and improving efficiency. With real-time tracking and digital workflows,",(0,t.jsx)("br",{})," every delivery is faster, reliable, and fully transparent."]})}),(0,t.jsx)("p",{children:"Seamless logistics powered by real-time tracking, digital processes, and reliable delivery execution."})]})})})})]})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-5041fcc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent","data-id":"5041fcc","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)(i.StaggerChildren,{stagger:.12,duration:.7,yOffset:35,className:"elementor-element elementor-element-2d7c3ee e-con-full e-grid cut-corner-no sticky-container-off e-con e-child",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-d11b050 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d11b050","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-3a6f50f elementor-view-default elementor-widget elementor-widget-icon","data-id":"3a6f50f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-delivery"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-1025248 elementor-widget elementor-widget-logico_heading","data-id":"1025248","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"End-to-End Protection"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-c7c19bd elementor-widget elementor-widget-text-editor","data-id":"c7c19bd","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"End-to-end visibility ensures every shipment stays secure and on schedule."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-2c82e54 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"2c82e54","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-f51735e elementor-view-default elementor-widget elementor-widget-icon","data-id":"f51735e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-container"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-c682633 elementor-widget elementor-widget-logico_heading","data-id":"c682633","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Proactive delay prevention"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-74d14e3 elementor-widget elementor-widget-text-editor","data-id":"74d14e3","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Real-time monitoring helps prevent delays before they impact deliveries."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-08b9b20 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"08b9b20","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-612c459 elementor-view-default elementor-widget elementor-widget-icon","data-id":"612c459","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-directions"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-aa49275 elementor-widget elementor-widget-logico_heading","data-id":"aa49275","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Single owner, single promise"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-74cfdf7 elementor-widget elementor-widget-text-editor","data-id":"74cfdf7","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"One unified system manages the entire delivery process seamlessly."})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-04989ee e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"04989ee","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-11a657e elementor-view-default elementor-widget elementor-widget-icon","data-id":"11a657e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-icon-wrapper",children:(0,t.jsx)("div",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-light-storage"})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-b317d31 elementor-widget elementor-widget-logico_heading","data-id":"b317d31","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Dynamic AI-driven adjustments"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-8fe5662 elementor-widget elementor-widget-text-editor","data-id":"8fe5662","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"AI-powered routing adapts instantly to improve speed and efficiency."})})})]})]})})})]})}])},97677,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(89970),l=e.i(2018),a=e.i(74080);e.s(["default",0,function(){(0,a.preload)("/images/home-bg-1.webp",{as:"image"});let[e,o]=(0,i.useState)(0),d=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=setInterval(()=>{o(e=>+(0===e))},7e3);return()=>clearInterval(e)},[]);let r=e=>{o(e)};return(0,i.useEffect)(()=>{if(!d.current)return;let e=d.current.querySelector(".owl-item.active");if(!e)return;let t=e.querySelector(".heading-content"),i=e.querySelector(".text-content");t&&i&&(n.default.killTweensOf([t,i]),n.default.fromTo(t,{y:55,opacity:0,scale:.95},{y:0,opacity:1,scale:1,duration:1.1,ease:"power4.out"}),n.default.fromTo(i,{y:30,opacity:0},{y:0,opacity:1,duration:.95,ease:"power3.out",delay:.25}))},[e]),(0,t.jsxs)("div",{className:"elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Fluid responsive font size override for hero headings */ - .logico-content-slider-widget .content-slider-item-heading { - font-size: clamp(30px, 5.5vw, 80px) !important; - word-wrap: break-word !important; - overflow-wrap: break-word !important; - white-space: normal !important; - } - - /* Prevent horizontal overflow on slider and stage containers */ - .logico-content-slider-widget, - .content-slider-wrapper, - .content-slider-container, - .content-slider, - .owl-stage-outer, - .owl-stage, - .owl-item, - .slider-item, - .slide-content, - .slide-content-inner { - width: 100% !important; - max-width: 100% !important; - box-sizing: border-box !important; - } - - /* Force word wrapping and responsive spacing for heading and text */ - .logico-content-slider-widget .content-slider-item-heading, - .logico-content-slider-widget .content-slider-item-heading span, - .logico-content-slider-widget .content-slider-item-heading .heading-content { - white-space: normal !important; - word-wrap: break-word !important; - overflow-wrap: break-word !important; - max-width: 100% !important; - } - - .logico-content-slider-widget .content-slider-item-heading { - padding-left: 15px !important; - padding-right: 15px !important; - } - - .logico-content-slider-widget .text-content { - width: 100% !important; - max-width: min(780px, 100%) !important; - box-sizing: border-box !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - /* Larger, more readable hero subtitle on large/4K screens */ - .logico-content-slider-widget .content-slider-item-text p { - font-size: clamp(16px, 1.35vw, 23px) !important; - line-height: 1.65 !important; - } - - /* Responsive slider heights */ - .logico-content-slider-widget .owl-stage-outer { - height: 800px !important; - } - - @media (max-width: 840px) { - .logico-content-slider-widget .owl-stage-outer { - height: 600px !important; - } - } - - @media (max-width: 480px) { - .logico-content-slider-widget .owl-stage-outer { - height: 520px !important; - margin-top: 7px !important; - } - } - - @media (max-width: 660px) { - .logico-content-slider-widget .content-slider-item-heading { - font-size: clamp(20px, 7vw, 32px) !important; - } - } - - /* Slide counter ("01/02" + progress line): site.css pushes it ~80px in - from the right and only 9px off the bottom on mobile, so it sits in an - awkward spot. Pin it cleanly to the bottom-right with even padding. */ - @media (max-width: 767px) { - .elementor-61 .elementor-element.elementor-element-6c7cbcb .slider-footer { - text-align: right !important; - margin-bottom: 24px !important; - } - .elementor-61 .elementor-element.elementor-element-6c7cbcb .slider-footer .slider-pagination { - justify-content: flex-end !important; - margin-left: 22px !important; - margin-right: 22px !important; - } - .elementor-61 .elementor-element.elementor-element-6c7cbcb .slider-progress-wrapper { - margin-right: 0 !important; - } - /* The prev/next arrows sit in the bottom-right corner and overlap the - counter once it's pinned right. Hide them on mobile — slides - auto-rotate and the counter shows progress. */ - .elementor-61 .elementor-element.elementor-element-6c7cbcb .owl-nav { - display: none !important; - } - } - `}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",ref:d,children:[(0,t.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden"},children:(0,t.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsx)("div",{className:`owl-item ${0===e?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===e),visibility:0===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard",style:{backgroundImage:"url('/images/home-bg-1.webp')",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:(0,t.jsx)("div",{className:"slide-content",style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:(0,t.jsxs)("div",{className:"slide-content-inner",style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",margin:"0 auto",width:"100%",maxWidth:"1000px"},children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",style:{textAlign:"center",width:"100%"},children:(0,t.jsxs)("span",{className:"heading-content block",children:["ONE CONNECTED SYSTEM.",(0,t.jsx)("br",{}),(0,t.jsx)(l.ShimmerText,{className:"font-extrabold",children:"ONE PROMISE KEPT."})]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"23px"},children:(0,t.jsx)("div",{className:"text-content",style:{textAlign:"center",maxWidth:"680px",margin:"0 auto"},children:(0,t.jsx)("p",{children:"Stop managing three separate logistics services. Doormile unifies first, mid and last mile into a single intelligent delivery system powered by MileTruth™ AI."})})})]})})})}),(0,t.jsx)("div",{className:`owl-item ${1===e?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===e),visibility:1===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard",style:{backgroundImage:"url('/images/home-bg-1.webp')",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:(0,t.jsx)("div",{className:"slide-content",style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:(0,t.jsxs)("div",{className:"slide-content-inner",style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",margin:"0 auto",width:"100%",maxWidth:"1000px"},children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",style:{textAlign:"center",width:"100%"},children:(0,t.jsxs)("span",{className:"heading-content block",children:[(0,t.jsx)(l.ShimmerText,{className:"font-extrabold",children:"AI-POWERED"}),(0,t.jsx)("br",{}),"CONNECTED LOGISTICS"]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"23px"},children:(0,t.jsx)("div",{className:"text-content",style:{textAlign:"center",maxWidth:"680px",margin:"0 auto"},children:(0,t.jsx)("p",{children:"Behind every successful business is a strong supply chain. Logistics turns plans into reality."})})})]})})})})]})}),(0,t.jsxs)("div",{className:"owl-nav",children:[(0,t.jsx)("button",{type:"button",className:"owl-next",onClick:()=>o(e=>+(0===e)),"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,t.jsx)("button",{type:"button",className:"owl-prev",onClick:()=>o(e=>+(0===e)),"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,t.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,t.jsx)("div",{className:"slider-footer-content",children:(0,t.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center"},children:[(0,t.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,t.jsx)("span",{className:"slider-progress-current",children:0===e?"01":"02"})," / ",(0,t.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,t.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0===e?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,t.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,t.jsx)("button",{type:"button",className:`owl-dot ${0===e?"active":""}`,onClick:()=>r(0),children:(0,t.jsx)("span",{})}),(0,t.jsx)("button",{type:"button",className:`owl-dot ${1===e?"active":""}`,onClick:()=>r(1),children:(0,t.jsx)("span",{})})]})]})})})]})})})})})})]})}])},58140,e=>{"use strict";var t=e.i(43476),i=e.i(22016),n=e.i(2018);e.s(["default",0,function(){return(0,t.jsxs)(n.StaggerChildren,{stagger:.15,duration:.7,yOffset:30,className:"elementor-element elementor-element-9b26234 e-con-full e-grid cut-corner-no sticky-container-off e-con e-parent",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-ca6bc63 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"ca6bc63","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-cc55905 elementor-widget-divider--view-line elementor-widget elementor-widget-divider","data-id":"cc55905","data-element_type":"widget","data-e-type":"widget","data-widget_type":"divider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-divider",children:(0,t.jsx)("span",{className:"elementor-divider-separator"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-3fb5639 elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"3fb5639","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title",children:[(0,t.jsx)(n.CountUp,{end:99.2,decimals:1,suffix:"%",duration:2.2})," ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{fontSize:"20px"},children:"On-Time Delivery"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-94c3ff1 elementor-widget elementor-widget-logico_button","data-id":"94c3ff1","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"button-widget",children:(0,t.jsx)("div",{className:"button-container",children:(0,t.jsxs)(i.default,{href:"/solutions",className:"logico-small-button",children:["Connected Miles",(0,t.jsx)("svg",{viewBox:"0 0 13 20",children:(0,t.jsx)("polyline",{points:"0.5 19.5 3 19.5 12.5 10 3 0.5"})})]})})})})})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-4c0903b e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"4c0903b","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-c8adeeb elementor-widget-divider--view-line elementor-widget elementor-widget-divider","data-id":"c8adeeb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"divider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-divider",children:(0,t.jsx)("span",{className:"elementor-divider-separator"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-5e64d7b elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"5e64d7b","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title",children:[(0,t.jsx)(n.CountUp,{end:3,suffix:"x Faster",duration:1.8})," ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{fontSize:"20px"},children:"Faster Response"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-20db156 elementor-widget elementor-widget-logico_button","data-id":"20db156","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"button-widget",children:(0,t.jsx)("div",{className:"button-container",children:(0,t.jsxs)(i.default,{href:"/miletruth",className:"logico-small-button",children:["MileTruth™ AI",(0,t.jsx)("svg",{viewBox:"0 0 13 20",children:(0,t.jsx)("polyline",{points:"0.5 19.5 3 19.5 12.5 10 3 0.5"})})]})})})})})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-f003242 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"f003242","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-d58ef3c elementor-widget-divider--view-line elementor-widget elementor-widget-divider","data-id":"d58ef3c","data-element_type":"widget","data-e-type":"widget","data-widget_type":"divider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-divider",children:(0,t.jsx)("span",{className:"elementor-divider-separator"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-d00253e elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"d00253e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title",children:[(0,t.jsx)(n.CountUp,{end:40,suffix:"%",duration:2})," ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{fontSize:"20px"},children:"Cost Reduction"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-3481e66 elementor-widget elementor-widget-logico_button","data-id":"3481e66","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"button-widget",children:(0,t.jsx)("div",{className:"button-container",children:(0,t.jsxs)(i.default,{href:"/solutions",className:"logico-small-button",children:["SLA Protection",(0,t.jsx)("svg",{viewBox:"0 0 13 20",children:(0,t.jsx)("polyline",{points:"0.5 19.5 3 19.5 12.5 10 3 0.5"})})]})})})})})]})})]})}])},36854,e=>{"use strict";var t=e.i(43476),i=e.i(2018);e.s(["default",0,function(){return(0,t.jsx)("div",{className:"elementor-element elementor-element-30fd9d1 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent section-shrink-custom","data-id":"30fd9d1","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-03db5d7 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"03db5d7","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)(i.ScrollReveal,{delay:.05,duration:.8,yOffset:20,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-3fe4ca3 elementor-widget elementor-widget-logico_heading","data-id":"3fe4ca3","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"/ The Problem /"})})})}),(0,t.jsx)(i.ScrollReveal,{delay:.15,duration:.85,yOffset:30,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-ffd1f7d elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"ffd1f7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("h2",{className:"logico-title",children:"Fragmented Logistics is Broken"})})})}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-e09c20e e-grid e-con-full cut-corner-no sticky-container-off e-con e-child","data-id":"e09c20e","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)(i.ScrollReveal,{delay:.1,duration:.7,yOffset:35,className:"w-full",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-81a7690 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box","data-id":"81a7690","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon-box.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-icon-box-wrapper",children:[(0,t.jsx)("div",{className:"elementor-icon-box-icon",children:(0,t.jsx)("span",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-air-delivery"})})}),(0,t.jsx)("div",{className:"elementor-icon-box-content",children:(0,t.jsxs)("div",{className:"elementor-icon-box-title",children:[(0,t.jsx)("p",{className:"logico-title",style:{fontSize:"42px",fontWeight:800,color:"#111111",marginBottom:0,textAlign:"left",lineHeight:"1.1"},children:"73%"}),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:"16px",fontWeight:600,color:"#111111",marginTop:"8px",lineHeight:"1.4"},children:"of delays happen at handoffs"})]})})]})})})}),(0,t.jsx)(i.ScrollReveal,{delay:.2,duration:.7,yOffset:35,className:"w-full",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-0f4aa27 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box","data-id":"0f4aa27","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon-box.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-icon-box-wrapper",children:[(0,t.jsx)("div",{className:"elementor-icon-box-icon",children:(0,t.jsx)("span",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-container"})})}),(0,t.jsx)("div",{className:"elementor-icon-box-content",children:(0,t.jsxs)("div",{className:"elementor-icon-box-title",children:[(0,t.jsx)("p",{className:"logico-title",style:{fontSize:"42px",fontWeight:800,color:"#111111",marginBottom:0,textAlign:"left",lineHeight:"1.1"},children:"3x"}),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:"16px",fontWeight:600,color:"#111111",marginTop:"8px",lineHeight:"1.4"},children:"higher risk of missed SLAs"})]})})]})})})}),(0,t.jsx)(i.ScrollReveal,{delay:.3,duration:.7,yOffset:35,className:"w-full",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-6cfd203 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box","data-id":"6cfd203","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon-box.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-icon-box-wrapper",children:[(0,t.jsx)("div",{className:"elementor-icon-box-icon",children:(0,t.jsx)("span",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-trolley"})})}),(0,t.jsx)("div",{className:"elementor-icon-box-content",children:(0,t.jsxs)("div",{className:"elementor-icon-box-title",children:[(0,t.jsx)("p",{className:"logico-title",style:{fontSize:"42px",fontWeight:800,color:"#111111",marginBottom:0,textAlign:"left",lineHeight:"1.1"},children:"2.5x"}),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:"16px",fontWeight:600,color:"#111111",marginTop:"8px",lineHeight:"1.4"},children:"more time spent on coordination"})]})})]})})})}),(0,t.jsx)(i.ScrollReveal,{delay:.4,duration:.7,yOffset:35,className:"w-full",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-0d343e1 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box","data-id":"0d343e1","data-element_type":"widget","data-e-type":"widget","data-widget_type":"icon-box.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-icon-box-wrapper",children:[(0,t.jsx)("div",{className:"elementor-icon-box-icon",children:(0,t.jsx)("span",{className:"elementor-icon",children:(0,t.jsx)("i",{"aria-hidden":"true",className:"fontello icon-supply-chain"})})}),(0,t.jsx)("div",{className:"elementor-icon-box-content",children:(0,t.jsxs)("div",{className:"elementor-icon-box-title",children:[(0,t.jsx)("p",{className:"logico-title",style:{fontSize:"42px",fontWeight:800,color:"#111111",marginBottom:0,textAlign:"left",lineHeight:"1.1"},children:"28%"}),(0,t.jsx)("span",{style:{textAlign:"left",display:"block",fontSize:"16px",fontWeight:600,color:"#111111",marginTop:"8px",lineHeight:"1.4"},children:"increase in operational costs"})]})})]})})})})]})]})})})}])},32693,e=>{"use strict";var t=e.i(43476),i=e.i(22016),n=e.i(57688),l=e.i(2018);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"elementor-element elementor-element-89a0ca1 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"89a0ca1","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Ensure the inner content wrapper is responsive and never overflows */ - .elementor-element-fdb2e58 { - width: 100% !important; - max-width: 650px !important; - } - - /* Make heading font size fluid and responsive */ - .elementor-element-7500280 .logico-title { - font-size: clamp(26px, 3.5vw, 54px) !important; - line-height: 1.25em !important; - word-wrap: break-word !important; - overflow-wrap: break-word !important; - } - - /* Fix text colors for the dark background */ - .elementor-element-71c3e1d .logico-title { - color: #ffffff !important; - } - .elementor-element-71c3e1d p { - color: rgba(255, 255, 255, 0.85) !important; - } - - /* Make sure paragraphs are responsive on all screen widths */ - .elementor-element-165dfa5 { - width: 100% !important; - max-width: min(619px, 100%) !important; - } - .elementor-element-3888a1e { - width: 100% !important; - max-width: min(526px, 100%) !important; - } - - /* Sizing and identical padding on all 4 sides for Connected Logistics Image container */ - .elementor-element-99768ba .elementor-widget-container { - display: flex !important; - justify-content: center !important; - align-items: center !important; - padding: 40px !important; /* Identical gap on left, right, top, and bottom */ - box-sizing: border-box !important; - } - - .elementor-element-99768ba img.wp-image-4481 { - width: 100% !important; - max-width: 100% !important; /* Allow natural responsive scaling on desktop */ - height: auto !important; - object-fit: cover !important; - border-radius: 25px !important; /* Preserve 25px border radius */ - margin: 0 auto !important; - display: block !important; - } - - /* Desktop/Laptop (min-width: 1025px) column width and flex rules */ - @media (min-width: 1025px) { - .elementor-element-9ffed33 { - display: flex !important; - flex-direction: row !important; - flex-wrap: nowrap !important; - align-items: center !important; - } - - .elementor-element-96343ba, - .elementor-element-71c3e1d { - width: 50% !important; - max-width: 50% !important; - flex: 1 1 50% !important; - box-sizing: border-box !important; - } - } - - @media (max-width: 1024px) { - /* Force columns to stack vertically on mobile/tablet */ - .elementor-element-9ffed33 { - flex-direction: column !important; - align-items: stretch !important; - } - - /* Force both children to be full width */ - .elementor-element-96343ba, - .elementor-element-71c3e1d { - width: 100% !important; - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - /* Force ScrollReveal wrapper div to span full width */ - .elementor-element-96343ba > div { - width: 100% !important; - height: auto !important; - } - - /* Show image at the bottom or top depending on order */ - .elementor-element-96343ba { - margin-top: 0px !important; - } - - /* Reduce padding bottom of the content section on tablet */ - .elementor-element-71c3e1d { - padding-bottom: 24px !important; - } - - /* Override desktop fixed widths on mobile/tablet */ - .elementor-element-165dfa5, - .elementor-element-3888a1e { - width: 100% !important; - max-width: 100% !important; - } - - /* Allow widget container to take 100% width on mobile/tablet */ - .elementor-element-99768ba { - width: 100% !important; - max-width: 100% !important; - } - - /* Tablet overrides */ - .elementor-element-99768ba .elementor-widget-container { - padding: 10px !important; - display: block !important; /* Disable flex centering layout on mobile/tablet */ - width: 100% !important; - } - - .elementor-element.elementor-element-99768ba .elementor-widget-container img.wp-image-4481 { - width: 100% !important; - max-width: 600px !important; /* allow up to 600px on tablet */ - border-radius: 25px !important; /* Explicitly keep 25px */ - } - } - - @media (max-width: 767px) { - /* Mobile overrides: let container take 100% width and image fill it */ - .elementor-element-99768ba { - width: 100% !important; - max-width: 100% !important; - } - - /* Eliminate extra gap under the content column on mobile */ - .elementor-element-71c3e1d { - padding-bottom: 12px !important; - } - - .elementor-element-99768ba .elementor-widget-container { - padding: 0px !important; /* Eliminate padding to maximize image width/height */ - display: block !important; /* Disable flex centering layout on mobile/tablet */ - width: 100% !important; - } - - .elementor-element.elementor-element-99768ba .elementor-widget-container img.wp-image-4481 { - width: 100% !important; - max-width: 100% !important; - height: auto !important; - object-fit: cover !important; - border-radius: 25px !important; /* Explicitly keep 25px */ - } - } - `}}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-9ffed33 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"9ffed33","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-96343ba e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"96343ba","data-element_type":"container",children:(0,t.jsx)(l.ScrollReveal,{delay:.1,duration:.9,yOffset:30,className:"w-full h-full",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-99768ba elementor-widget elementor-widget-image","data-id":"99768ba","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(n.default,{fetchPriority:"high",priority:!0,width:578,height:790,src:"/images/home2-pic-3.webp",className:"attachment-full size-full wp-image-4481",alt:"Connected Logistics",style:{width:"100%",height:"auto",objectFit:"cover",borderRadius:"25px"}})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-71c3e1d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"71c3e1d","data-element_type":"container","data-e-type":"container",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-fdb2e58 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"fdb2e58","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)(l.ScrollReveal,{delay:.1,duration:.8,yOffset:20,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-0136e6e elementor-widget elementor-widget-logico_heading","data-id":"0136e6e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"/ Connected Logistics /"})})})}),(0,t.jsx)(l.ScrollReveal,{delay:.2,duration:.85,yOffset:25,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-7500280 elementor-widget elementor-widget-logico_heading","data-id":"7500280","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("h2",{className:"logico-title",children:"Smart logistics solutions we deliver for modern supply chains"})})})}),(0,t.jsxs)(l.ScrollReveal,{delay:.25,duration:.8,yOffset:25,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-4cc07a7 elementor-widget elementor-widget-logico_heading","data-id":"4cc07a7","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Real-Time Visibility"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor","data-id":"165dfa5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"See every shipment, every vehicle, every handoff—live. No blind spots."})})})]}),(0,t.jsxs)(l.ScrollReveal,{delay:.35,duration:.8,yOffset:25,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-da9d310 elementor-widget elementor-widget-logico_heading","data-id":"da9d310","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Dynamic Route Adjustment"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-3888a1e elementor-widget__width-initial elementor-widget elementor-widget-text-editor","data-id":"3888a1e","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"AI continuously optimizes routes based on traffic, weather, and real-world conditions."})})})]}),(0,t.jsxs)(l.ScrollReveal,{delay:.45,duration:.8,yOffset:25,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-4cc07a7 elementor-widget elementor-widget-logico_heading","data-id":"4cc07a7","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Proactive Delay Prevention"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor","data-id":"165dfa5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Detect SLA risks hours before they become problems. Act, don't react."})})})]}),(0,t.jsxs)(l.ScrollReveal,{delay:.55,duration:.8,yOffset:25,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-4cc07a7 elementor-widget elementor-widget-logico_heading","data-id":"4cc07a7","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Execution Intelligence"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor","data-id":"165dfa5","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Learn from every delivery. Get smarter with every mile traveled."})})})]}),(0,t.jsx)(l.ScrollReveal,{delay:.65,duration:.8,yOffset:20,children:(0,t.jsx)("div",{className:"elementor-element elementor-element-c0a45e4 elementor-widget elementor-widget-logico_button","data-id":"c0a45e4","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"button-widget",children:(0,t.jsx)("div",{className:"button-container",children:(0,t.jsx)(l.Magnetic,{children:(0,t.jsx)(i.default,{href:"/solutions",className:"logico-alter-button",children:"Explore more"})})})})})})})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-0efc59e elementor-absolute elementor-widget elementor-widget-logico_block_decoration","data-id":"0efc59e","data-element_type":"widget","data-settings":'{"_position":"absolute"}',"data-widget_type":"logico_block_decoration.default",style:{position:"absolute"},children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"block-decoration animation-enable block-decoration-style-1",children:(0,t.jsx)("div",{className:"block-decoration-item"})})})})]})]})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/0nzz4x75f.ixz.js b/.next/static/chunks/0nzz4x75f.ixz.js deleted file mode 100644 index a3dc7c4..0000000 --- a/.next/static/chunks/0nzz4x75f.ixz.js +++ /dev/null @@ -1,1199 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61867,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(57688),r=e.i(89970),o=e.i(83495);r.default.registerPlugin(o.ScrollTrigger);let n=[{index:1,title:"Operational Visibility",desc:"Real-time tracking and centralized control provide complete visibility across every shipment, vehicle, and delivery milestone.",icon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"2",y:"7",width:"16",height:"10",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"22",y1:"11",x2:"22",y2:"13"}),(0,t.jsx)("line",{x1:"6",y1:"11",x2:"10",y2:"11"}),(0,t.jsx)("line",{x1:"6",y1:"13",x2:"12",y2:"13"})]})},{index:2,title:"Intelligent Routing",desc:"AI-powered route optimization reduces travel time, improves delivery accuracy, and maximizes fleet utilization.",icon:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})})},{index:3,title:"EV-First Logistics",desc:"Purpose-built workflows for electric fleets improve battery efficiency, charging management, and sustainable operations.",icon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M12 2v10"}),(0,t.jsx)("path",{d:"M18 8V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v2a4 4 0 0 0 4 4h4a4 4 0 0 0 4-4Z"}),(0,t.jsx)("path",{d:"M10 22v-6"}),(0,t.jsx)("path",{d:"M14 22v-6"})]})},{index:4,title:"Scalable Network",desc:"Flexible logistics infrastructure supports growth across cities, regions, and high-volume delivery operations without disruption.",icon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 3.5 2 5.5a7 7 0 0 1-7 7h-3"}),(0,t.jsx)("path",{d:"M12 22V12"})]})}];e.s(["default",0,function(){let e=(0,i.useRef)(null),o=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=e.current,i=s.current,a=o.current;if(!t||!i||!a)return;let n=r.default.to(a,{y:"-=10",duration:4.5,ease:"sine.inOut",yoyo:!0,repeat:-1});return r.default.timeline({scrollTrigger:{trigger:t,start:"top 80%",toggleActions:"play none none none"}}).to(t.querySelector(".ev-logistic-kicker-widget"),{opacity:1,y:0,duration:.8,ease:"power3.out"}).to(t.querySelector(".ev-logistic-title-widget"),{y:0,opacity:1,duration:.85,ease:"power4.out"},"-=0.45").to(t.querySelectorAll(".ev-feature-card"),{opacity:1,y:0,duration:.6,stagger:.08,ease:"power3.out"},"-=0.6").fromTo(i,{opacity:0,scale:.95},{opacity:1,scale:1,duration:1,ease:"power4.out"},"-=0.8"),()=>{n.kill()}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Custom CSS Scoped to EV Logistics Section */ - .ev-logistic-section { - box-sizing: border-box !important; - background: #ffffff !important; - font-family: 'Manrope', sans-serif !important; - position: relative !important; - } - - .ev-logistic-header { - width: 100% !important; - max-width: 100% !important; - align-self: stretch !important; - margin-bottom: 48px !important; - display: block !important; - text-align: left !important; - } - - .ev-logistic-body-grid { - display: flex !important; - flex-direction: row !important; - align-items: center !important; - justify-content: space-between !important; - width: 100% !important; - gap: 3% !important; - } - - /* Left Column - Image column takes up 45% */ - .ev-logistic-image-col { - flex: 0 0 45% !important; - max-width: 45% !important; - display: flex !important; - align-items: center !important; - justify-content: flex-start !important; - position: relative !important; - min-height: auto !important; - margin: 0 !important; - } - - /* Branded glow spotlight halo behind the vehicle */ - .ev-logistic-image-glow { - position: absolute !important; - left: 50% !important; - top: 50% !important; - width: 80% !important; - height: 70% !important; - transform: translate(-50%, -50%) !important; - background: radial-gradient(circle, rgba(192, 18, 39, 0.05) 0%, rgba(192, 18, 39, 0.01) 55%, transparent 75%) !important; - filter: blur(54px) !important; - z-index: 0 !important; - pointer-events: none !important; - } - - /* Image wrapper scaling naturally inside its column container */ - .ev-logistic-image-wrapper { - width: 100% !important; - max-width: 100% !important; - display: flex !important; - align-items: center !important; - justify-content: flex-start !important; - overflow: visible !important; - position: relative !important; - transform: scale(1.15) !important; - transform-origin: left center !important; - margin-left: -80px !important; - } - - .ev-logistic-image-wrapper img { - width: 100% !important; - height: auto !important; - object-fit: contain !important; - filter: none !important; - will-change: transform !important; - } - - /* Right column - takes up 52% for grid cards */ - .ev-logistic-content-col { - flex: 0 0 52% !important; - max-width: 52% !important; - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - margin: 0 !important; - } - - .ev-logistic-kicker-widget { - opacity: 0; - transform: translateY(-12px); - will-change: transform, opacity; - } - - .ev-logistic-title-wrapper { - margin: 0 !important; - } - - .ev-logistic-title-widget { - opacity: 0; - transform: translateY(24px); - will-change: transform, opacity; - } - - .ev-logistic-title-widget > .elementor-widget-container { - margin: 0 !important; - padding: 0 !important; - } - - .ev-logistic-title-widget .logico-title { - margin: 0 !important; - text-align: left !important; - } - - /* Card Grid Layout */ - .ev-feature-grid { - display: grid !important; - grid-template-columns: repeat(2, 1fr) !important; - gap: 24px !important; - width: 100% !important; - } - - /* Premium Theme White Card */ - .ev-feature-card { - display: flex !important; - flex-direction: column !important; - background: #ffffff !important; - border: 1px solid rgba(17, 17, 17, 0.09) !important; - border-radius: 20px !important; - padding: 30px !important; - color: #555555 !important; - height: 100% !important; - box-sizing: border-box !important; - opacity: 0; - transform: translateY(20px); - will-change: transform, opacity; - transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), - box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), - transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; - box-shadow: 0 4px 24px rgba(17, 17, 17, 0.02) !important; - } - - .ev-feature-card:hover { - border-color: #c01227 !important; - box-shadow: 0 20px 40px rgba(192, 18, 39, 0.08), 0 4px 12px rgba(17, 17, 17, 0.03) !important; - transform: translateY(-8px) !important; - } - - /* Red Icon Wrapper */ - .ev-feature-icon-wrapper { - margin-bottom: 24px !important; - display: inline-flex !important; - align-items: center !important; - justify-content: center !important; - width: 54px !important; - height: 54px !important; - background: rgba(192, 18, 39, 0.06) !important; - border: 1px solid rgba(192, 18, 39, 0.18) !important; - border-radius: 50% !important; - color: #c01227 !important; - transition: all 0.3s ease !important; - } - - .ev-feature-card:hover .ev-feature-icon-wrapper { - background: rgba(192, 18, 39, 0.12) !important; - border-color: #c01227 !important; - transform: scale(1.1) !important; - box-shadow: 0 0 12px rgba(192, 18, 39, 0.15) !important; - } - - .ev-feature-icon-wrapper svg { - width: 24px !important; - height: 24px !important; - stroke: currentColor !important; - } - - /* Title & Description Inside Cards */ - .ev-feature-card-title { - font-family: 'Manrope', sans-serif !important; - font-size: 20px !important; - font-weight: 700 !important; - line-height: 1.3em !important; - color: #c01227 !important; - margin: 0 0 12px 0 !important; - text-transform: none !important; - } - - .ev-feature-card-desc { - font-family: 'Manrope', sans-serif !important; - font-size: 14px !important; - font-weight: 500 !important; - line-height: 1.6 !important; - color: #555555 !important; - margin: 0 !important; - } - - /* Responsiveness constraints */ - @media (max-width: 1024px) { - .ev-logistic-body-grid { - flex-direction: column !important; - gap: 50px !important; - } - - .ev-logistic-image-col { - flex: 1 1 100% !important; - max-width: 100% !important; - min-height: auto !important; - justify-content: center !important; - } - - .ev-logistic-image-wrapper { - max-width: 580px !important; - transform: none !important; - margin: 0 auto !important; - justify-content: center !important; - } - - .ev-logistic-content-col { - flex: 1 1 100% !important; - max-width: 100% !important; - } - - } - - @media (max-width: 768px) { - .ev-logistic-section { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0px !important; - padding-right: 0px !important; - box-sizing: border-box !important; - } - - .ev-logistic-section > .e-con-inner { - width: 100% !important; - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - margin-left: auto !important; - margin-right: auto !important; - box-sizing: border-box !important; - } - - .ev-logistic-section .elementor-element-343b363 { - --padding-left: 20px !important; - --padding-right: 20px !important; - padding-left: 20px !important; - padding-right: 20px !important; - width: 100% !important; - max-width: 100% !important; - box-sizing: border-box !important; - } - - .ev-logistic-body-grid { - width: 100% !important; - max-width: 100% !important; - align-items: stretch !important; - } - - .ev-logistic-content-col { - width: 100% !important; - max-width: 100% !important; - align-self: center !important; - } - - .ev-feature-grid { - grid-template-columns: 1fr !important; - gap: 20px !important; - width: 100% !important; - max-width: 100% !important; - } - - .ev-feature-card { - width: 100% !important; - max-width: 100% !important; - } - } - `}}),(0,t.jsx)("div",{className:"elementor-61",children:(0,t.jsx)("div",{ref:e,className:"elementor-element elementor-element-88745f4 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent ev-logistic-section","data-id":"88745f4","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"e-con-inner",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-343b363 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"343b363","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:"ev-logistic-header",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-7afb238 elementor-widget elementor-widget-logico_heading ev-logistic-kicker-widget","data-id":"7afb238","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title ev-logistic-kicker",children:"/ Built for Electric Vehicles /"})})}),(0,t.jsx)("div",{className:"ev-logistic-title-wrapper",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-1cc335a elementor-widget elementor-widget-logico_heading ev-logistic-title-widget","data-id":"1cc335a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",style:{WebkitTextStroke:"4px #c01227",color:"#fff",fontWeight:800},children:"Logistics Built for EV Vehicles"})})})})]}),(0,t.jsxs)("div",{className:"ev-logistic-body-grid",children:[(0,t.jsxs)("div",{className:"ev-logistic-image-col",children:[(0,t.jsx)("div",{className:"ev-logistic-image-glow"}),(0,t.jsx)("div",{ref:o,className:"ev-logistic-image-wrapper",children:(0,t.jsx)(a.default,{ref:s,src:"/images/ev.webp",alt:"EV Logistics",width:1050,height:854,priority:!0})})]}),(0,t.jsx)("div",{className:"ev-logistic-content-col",children:(0,t.jsx)("div",{className:"ev-feature-grid",children:n.map(e=>(0,t.jsxs)("div",{className:"ev-feature-card",children:[(0,t.jsx)("div",{className:"ev-feature-icon-wrapper",children:e.icon}),(0,t.jsx)("h4",{className:"ev-feature-card-title",children:e.title}),(0,t.jsx)("p",{className:"ev-feature-card-desc",children:e.desc})]},e.index))})})]})]})})})})]})}])},47580,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(89970),r=e.i(83495);a.default.registerPlugin(r.ScrollTrigger),e.s(["default",0,function(){let e=(0,i.useRef)(null),r=(0,i.useRef)(null),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=e.current,i=r.current,n=o.current;if(!t||!i||!n)return;let s=t.querySelectorAll(".table-row-hover"),l=t.querySelectorAll(".yes-badge, .advanced-badge");a.default.set([n,i],{opacity:0,y:45}),a.default.set(s,{opacity:0,y:20}),a.default.set(l,{opacity:0,scale:.8}),a.default.timeline({scrollTrigger:{trigger:t,start:"top 78%",toggleActions:"play none none none"}}).to([n,i],{opacity:1,y:0,duration:.95,stagger:.15,ease:"power4.out"}).to(s,{opacity:1,y:0,duration:.75,stagger:.05,ease:"power3.out"},"-=0.6").to(l,{opacity:1,scale:1,duration:.55,stagger:.03,ease:"back.out(1.6)"},"-=0.45")},[]),(0,t.jsxs)("section",{id:"comparison",className:"comparison-section",ref:e,children:[(0,t.jsx)("div",{className:"comparison-bg-glow"}),(0,t.jsx)("div",{className:"comparison-bg-dots"}),(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"comparison-header",ref:o,children:[(0,t.jsx)("div",{className:"advantage-eyebrow-container",children:(0,t.jsx)("span",{className:"advantage-eyebrow",children:"/ DoorMile wins/"})}),(0,t.jsx)("h2",{className:"moat-heading","data-text":"WHERE DOORMILE WINS",children:"WHERE DOORMILE WINS"}),(0,t.jsx)("p",{className:"moat-desc",children:"A side-by-side technical capabilities comparison showing how operational fleet ownership and dynamic AI planning disrupt basic aggregators."})]}),(0,t.jsx)("div",{className:"table-wrapper",ref:r,children:(0,t.jsxs)("table",{className:"comparison-table",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Capability"}),(0,t.jsx)("th",{className:"col-highlight",children:"Doormile"}),(0,t.jsx)("th",{children:"Aggregators"}),(0,t.jsx)("th",{children:"Local Couriers"}),(0,t.jsx)("th",{children:"Software Platforms"})]})}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"1",y:"3",width:"15",height:"13"}),(0,t.jsx)("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"}),(0,t.jsx)("circle",{cx:"5.5",cy:"18.5",r:"2.5"}),(0,t.jsx)("circle",{cx:"18.5",cy:"18.5",r:"2.5"})]}),"Owned fleet control"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"partial-text",children:"Yes"}),(0,t.jsx)("td",{className:"no-text",children:"No"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),"Dynamic routing & dispatch"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"advanced-badge",children:"✓ Advanced"})}),(0,t.jsx)("td",{className:"partial-text",children:"Basic"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"partial-text",children:"Advanced"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})}),"EV-aware planning"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"no-text",children:"No"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),(0,t.jsx)("polyline",{points:"14 2 14 8 20 8"}),(0,t.jsx)("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),(0,t.jsx)("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),(0,t.jsx)("polyline",{points:"10 9 9 9 8 9"})]}),"Documentation & proof trail"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"partial-text",children:"Partial"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"partial-text",children:"Yes"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),"Real-time tracking"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"partial-text",children:"Yes"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"partial-text",children:"Yes"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})}),"Verified handling"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"partial-text",children:"Partial"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"no-text",children:"No"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),(0,t.jsx)("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]}),"Hyperlocal learning"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"yes-badge",children:"✓ Yes"})}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"no-text",children:"No"}),(0,t.jsx)("td",{className:"no-text",children:"No"})]}),(0,t.jsxs)("tr",{className:"table-row-hover",children:[(0,t.jsxs)("td",{className:"capability-cell",children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"22",y1:"12",x2:"18",y2:"12"}),(0,t.jsx)("line",{x1:"6",y1:"12",x2:"2",y2:"12"}),(0,t.jsx)("line",{x1:"12",y1:"6",x2:"12",y2:"2"}),(0,t.jsx)("line",{x1:"12",y1:"22",x2:"12",y2:"18"})]}),"SLA accountability"]}),(0,t.jsx)("td",{className:"col-highlight",children:(0,t.jsx)("span",{className:"advanced-badge",children:"✓ High"})}),(0,t.jsx)("td",{className:"no-text",children:"Low"}),(0,t.jsx)("td",{className:"partial-text",children:"Medium"}),(0,t.jsx)("td",{className:"no-text",children:"Low"})]})]})]})})]}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* --- HIGH-IMPACT PREMIUM CAPABILITIES SECTION STYLE --- */ - .comparison-section { - position: relative; - padding: 120px 0; - background-color: #fafafa; - overflow: hidden; - font-family: "Manrope", sans-serif; - } - - /* Spotlight radial background glow */ - .comparison-bg-glow { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 1000px; - height: 1000px; - background: radial-gradient(circle, rgba(200, 16, 46, 0.035) 0%, transparent 70%); - z-index: 0; - pointer-events: none; - } - - /* Subtle logistics dot grid overlay */ - .comparison-bg-dots { - position: absolute; - inset: 0; - background-image: radial-gradient(#e2e4e8 1.5px, transparent 1.5px); - background-size: 32px 32px; - opacity: 0.45; - z-index: 0; - pointer-events: none; - } - - .comparison-section .container { - position: relative; - z-index: 2; - max-width: 1400px; /* Restored/Expanded for gorgeous wide balance on large screens */ - margin: 0 auto; - padding: 0 40px; - } - - /* Section Header Layout */ - .comparison-header { - text-align: left; - margin-bottom: 60px; - position: relative; - z-index: 2; - width: 100%; - } - - .advantage-eyebrow-container { - width: 100%; - border-bottom: 2px solid rgba(0, 0, 0, 0.16); - padding-bottom: 16px; - margin-bottom: 28px; - } - - /* DoorMile Advantage Eyebrow */ - .advantage-eyebrow { - font-family: 'Manrope', sans-serif; - font-weight: 700; - font-size: 0.85rem; - letter-spacing: 0.14em; - text-transform: uppercase; - color: #060606ff; - display: inline-block; - white-space: nowrap; - } - - /* Outlined heading style with clean duplicate layering hack */ - .moat-heading { - position: relative; - font-family: var(--font-syne), 'Syne', sans-serif !important; - font-size: clamp(2.4rem, 6.8vw, 6.6rem) !important; - font-weight: 800 !important; - line-height: 1.1 !important; - color: #fafafa !important; /* solid background color to cover inner overlapping outlines */ - margin: 0 0 24px 0; - letter-spacing: -0.02em; - text-transform: uppercase; - word-wrap: break-word; - overflow-wrap: break-word; - z-index: 1; - } - - .moat-heading::after { - content: attr(data-text) !important; - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: -1; - color: transparent !important; - -webkit-text-stroke: 2.2px #c8102e; - -webkit-text-fill-color: transparent !important; - pointer-events: none; - display: block !important; /* override any old display: none */ - } - - .moat-desc { - font-family: 'Manrope', sans-serif; - font-size: 1.05rem; - line-height: 1.65; - color: #585c67; - margin: 16px 0 0 0 !important; - max-width: 820px !important; - text-align: left !important; - } - - /* Spacious table styling wrapper (100% width on Desktop) */ - .table-wrapper { - width: 100%; - background: #ffffff; - border-radius: 24px; - border: 1px solid rgba(0, 0, 0, 0.05); - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.015), 0 1px 3px rgba(0, 0, 0, 0.01); - overflow: hidden; - transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); - } - - .table-wrapper:hover { - box-shadow: 0 35px 70px rgba(0, 0, 0, 0.035), 0 1px 3px rgba(0, 0, 0, 0.01); - } - - .comparison-table { - width: 100%; - border-collapse: collapse; - text-align: left; - } - - /* Enlarge row paddings and metrics size */ - .comparison-table th, - .comparison-table td { - padding: 24px 28px; - border-bottom: 1px solid #f0f0f4; - font-size: 1rem; - color: #2b2b2b; - transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); - } - - .comparison-table tr:last-child td { - border-bottom: none; - } - - .comparison-table th { - font-family: 'Manrope', sans-serif; - font-weight: 700; - text-transform: uppercase; - font-size: 0.85rem; - letter-spacing: 0.1em; - color: #8a8f9d; - background: rgba(15, 23, 42, 0.02); - } - - /* High weight column header highlights */ - th.col-highlight { - background: #c8102e !important; - color: #ffffff !important; - text-align: center; - font-weight: 800; - font-size: 0.9rem; - letter-spacing: 0.1em; - border-left: 2.5px solid #c8102e; - border-right: 2.5px solid #c8102e; - box-shadow: 0 4px 20px rgba(200, 16, 46, 0.1); - } - - /* High weight cells gradient & highlights */ - td.col-highlight { - text-align: center; - color: #c8102e !important; - font-weight: 700; - background: linear-gradient(180deg, rgba(200, 16, 46, 0.025) 0%, rgba(200, 16, 46, 0.005) 100%) !important; - border-left: 2.5px solid rgba(200, 16, 46, 0.12); - border-right: 2.5px solid rgba(200, 16, 46, 0.12); - position: relative; - will-change: transform, box-shadow, background; - animation: doormile-glow-pulse 4s infinite ease-in-out; - } - - /* Row Hover Enhancements: brighten row & trigger DoorMile glow expand */ - .table-row-hover { - transition: background-color 0.3s ease; - } - - .table-row-hover:hover td { - background-color: rgba(200, 16, 46, 0.01) !important; - } - - .table-row-hover:hover td.col-highlight { - background: linear-gradient(180deg, rgba(200, 16, 46, 0.06) 0%, rgba(200, 16, 46, 0.02) 100%) !important; - border-left-color: rgba(200, 16, 46, 0.35); - border-right-color: rgba(200, 16, 46, 0.35); - box-shadow: inset 0 0 16px rgba(200, 16, 46, 0.04); - } - - /* Soft Breathing Box Shadow Red Glow Pulse Loop */ - @keyframes doormile-glow-pulse { - 0% { - box-shadow: inset 0 0 0 0px rgba(200, 16, 46, 0); - } - 50% { - box-shadow: inset 0 0 18px 2px rgba(200, 16, 46, 0.05); - } - 100% { - box-shadow: inset 0 0 0 0px rgba(200, 16, 46, 0); - } - } - - .capability-cell { - display: flex; - align-items: center; - gap: 14px; - font-weight: 700; - color: #111111; - font-size: 1.1rem; - } - - .capability-cell svg { - color: #c8102e; - transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); - flex-shrink: 0; - } - - .table-row-hover:hover .capability-cell svg { - transform: scale(1.18) rotate(4deg); - } - - /* Premium Badge styles */ - .yes-badge { - display: inline-flex; - align-items: center; - gap: 6px; - color: #c8102e; - font-weight: 700; - font-size: 0.95rem; - background: rgba(200, 16, 46, 0.05); - padding: 4px 12px; - border-radius: 6px; - border: 1px solid rgba(200, 16, 46, 0.1); - will-change: transform, opacity; - } - - .advanced-badge { - display: inline-flex; - align-items: center; - gap: 6px; - background: rgba(200, 16, 46, 0.075); - border: 1.5px solid #c8102e; - padding: 4px 12px; - border-radius: 8px; - font-size: 0.78rem; - text-transform: uppercase; - letter-spacing: 0.06em; - font-weight: 800; - color: #c8102e; - will-change: transform, opacity; - box-shadow: 0 4px 12px rgba(200, 16, 46, 0.06); - } - - .no-text { - color: #8e94a5; - font-weight: 500; - } - - .partial-text { - color: #4b5262; - font-weight: 500; - } - - /* --- RESPONSIVE WORKFLOWS & BREAKPOINTS --- */ - @media (max-width: 1200px) { - .comparison-section .container { - padding: 0 24px; - } - } - - @media (max-width: 768px) { - .comparison-section { - padding: 56px 0; - } - - .comparison-section .container { - padding: 0 10px; - } - - .moat-heading { - font-size: 1.8rem; - } - } - - /* On phones the 5-column table can't fit, so transform each row into a - stacked card: capability as the card title, then one "label: value" - line per competitor. Column labels are injected via nth-of-type so no - markup changes are needed (every row has the same column order). */ - @media (max-width: 600px) { - .table-wrapper { - background: transparent; - border: none; - box-shadow: none; - border-radius: 0; - overflow: visible; - } - .comparison-table { min-width: 0; width: 100%; } - .comparison-table thead { display: none; } - .comparison-table tbody, - .comparison-table tr, - .comparison-table td { display: block; width: auto; } - - .comparison-table tr { - background: #ffffff; - border: 1px solid rgba(0,0,0,0.07); - border-radius: 16px; - padding: 6px 16px 8px; - margin-bottom: 14px; - box-shadow: 0 8px 24px rgba(0,0,0,0.04); - } - - /* Capability = card title (icon + name), no label */ - .comparison-table td.capability-cell { - display: flex; - justify-content: flex-start; - gap: 12px; - font-size: 1.02rem; - padding: 12px 0 12px; - border-bottom: 1.5px solid #eef0f4; - margin-bottom: 4px; - } - - /* Value cells = "Label .... value" rows */ - .comparison-table td:not(.capability-cell) { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - padding: 10px 0; - border-bottom: 1px solid #f4f5f7; - font-size: 0.95rem; - text-align: right; - } - .comparison-table tr td:last-child { border-bottom: none; } - - .comparison-table td.col-highlight::before { content: "Doormile"; } - .comparison-table td:nth-of-type(3)::before { content: "Aggregators"; } - .comparison-table td:nth-of-type(4)::before { content: "Local Couriers"; } - .comparison-table td:nth-of-type(5)::before { content: "Software Platforms"; } - .comparison-table td:not(.capability-cell)::before { - font-weight: 700; - font-size: 0.72rem; - letter-spacing: 0.05em; - text-transform: uppercase; - color: #8a8f9d; - flex: 0 0 auto; - } - - /* Neutralise the desktop highlight column styling inside the card */ - .comparison-table td.col-highlight { - background: transparent !important; - border-left: none; - border-right: none; - animation: none !important; - color: inherit !important; - } - } - `}})]})}])},2012,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(89970),r=e.i(83495);a.default.registerPlugin(r.ScrollTrigger);let o=[{year:2026,pct:25,trackLeft:"12.5%",phase:"Pilot Phase",phaseClass:"yellow",title:"Pilot",desc:"Launch operations in Hyderabad with dedicated EV hubs and MileTruth AI v1.0.",icon:(0,t.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M4.5 16.5c-1.5 1.5-2.5 3.5-2.5 5.5C4 22 6 21 7.5 19.5"}),(0,t.jsx)("path",{d:"M12 12l9-9-9 9z"}),(0,t.jsx)("path",{d:"M12 12c-2.3 2.3-3.4 5.3-3.5 8.5l12-12c-3.2-.1-6.2-1.2-8.5-3.5z"})]}),stats:[{text:"100+ orders/day",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})},{text:"1 city",icon:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("path",{d:"M3 21h18M19 21v-2a4 4 0 0 0-3-3.87M5 21v-2a4 4 0 0 1 3-3.87M9 21v-5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v5"})})},{text:"10+ women partners",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"9",cy:"7",r:"4"})]})}]},{year:2027,pct:50,trackLeft:"37.5%",phase:"Multi-City",phaseClass:"green",title:"Scale",desc:"Expand to Bengaluru and Chennai, securing key B2B enterprise traction.",icon:(0,t.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),(0,t.jsx)("line",{x1:"8",y1:"12",x2:"16",y2:"12"})]}),stats:[{text:"500+ orders/day",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})},{text:"3 cities",icon:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("path",{d:"M3 21h18M19 21v-2a4 4 0 0 0-3-3.87M5 21v-2a4 4 0 0 1 3-3.87M9 21v-5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v5"})})},{text:"50+ EVs",icon:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})})}]},{year:2028,pct:75,trackLeft:"62.5%",phase:"Platform",phaseClass:"blue",title:"Expansion",desc:"Scale to 5+ cities. Strengthen regional operations.",icon:(0,t.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,t.jsx)("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"})]}),stats:[{text:"5000+ orders/day",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})},{text:"5+ cities",icon:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,t.jsx)("path",{d:"M3 21h18M19 21v-2a4 4 0 0 0-3-3.87M5 21v-2a4 4 0 0 1 3-3.87M9 21v-5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v5"})})},{text:"100+ women partners",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("polyline",{points:"16 18 22 12 16 6"}),(0,t.jsx)("polyline",{points:"8 6 2 12 8 18"})]})}]},{year:2030,pct:100,trackLeft:"87.5%",phase:"Vision State",phaseClass:"white-pill",title:"AI Pulse Layer",desc:"Nationwide AI logistics grid reaching 15+ cities, empowering female micro-entrepreneurs.",icon:(0,t.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M2 4l3 12h14l3-12-6 7-4-7-4 7-6-7z"}),(0,t.jsx)("path",{d:"M3 20h18",strokeWidth:"3"})]}),stats:[{text:"50,000+ orders/day",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,t.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,t.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})},{text:"50+ cities",icon:(0,t.jsx)("span",{className:"currency-symbol",style:{marginRight:"4px",fontSize:"11px",fontWeight:800},children:"Rs"})},{text:"2,000+ women partners",icon:(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,t.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),(0,t.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})}]}];e.s(["default",0,function(){let[e,a]=(0,i.useState)(2030),r=(0,i.useRef)(null),n=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e;if(!r.current)return;let t=n.current;if(!t)return;let i=t.getContext("2d");if(!i)return;let a=t.width=t.offsetWidth,o=t.height=t.offsetHeight,s=()=>{t&&(a=t.width=t.offsetWidth,o=t.height=t.offsetHeight)};window.addEventListener("resize",s);let l=[{name:"Hyderabad",x:.18,y:.55},{name:"Chennai",x:.42,y:.72},{name:"Bengaluru",x:.64,y:.42},{name:"Mumbai",x:.82,y:.62}],d=[{from:0,to:1,t:0,speed:.005},{from:1,to:2,t:.3,speed:.004},{from:2,to:3,t:.6,speed:.006}],c=()=>{i.clearRect(0,0,a,o),i.lineWidth=1.5,i.setLineDash([6,6]),i.strokeStyle="rgba(220, 38, 38, 0.12)",i.beginPath();for(let e=0;e{e.t+=e.speed,e.t>=1&&(e.t=0);let t=l[e.from],r=l[e.to],n=t.x*a,s=t.y*o,d=r.x*a,c=r.y*o,p=n+(d-n)*e.t,x=s+(c-s)*e.t;i.beginPath(),i.arc(p,x,4,0,2*Math.PI),i.fillStyle="#c01227",i.shadowColor="#c01227",i.shadowBlur=10,i.fill(),i.shadowBlur=0}),l.forEach(e=>{let t=e.x*a,r=e.y*o;i.beginPath(),i.arc(t,r,8,0,2*Math.PI),i.fillStyle="rgba(220, 38, 38, 0.08)",i.fill(),i.beginPath(),i.arc(t,r,3,0,2*Math.PI),i.fillStyle="rgba(255, 255, 255, 0.25)",i.fill(),i.fillStyle="rgba(255, 255, 255, 0.12)",i.font="bold 11px 'Manrope', sans-serif",i.textAlign="center",i.fillText(e.name,t,r-14)}),e=requestAnimationFrame(c)};return c(),()=>{window.removeEventListener("resize",s),cancelAnimationFrame(e)}},[]);let s=2026===e?25:2027===e?50:2028===e?75:100,l=2*Math.PI*30;return(0,t.jsx)("div",{ref:r,className:"elementor-element elementor-element-bbc6760 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent intelligence-grid-section","data-id":"bbc6760","data-element_type":"container","data-e-type":"container",style:{position:"relative",zIndex:1},children:(0,t.jsxs)("section",{id:"hero",className:"roadmap-hero-section",children:[(0,t.jsx)("canvas",{ref:n,className:"ce-canvas-bg","aria-hidden":"true"}),(0,t.jsx)("div",{className:"roadmap-glow-spot top-left"}),(0,t.jsx)("div",{className:"roadmap-glow-spot bottom-right"}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - /* Buttery-Smooth Hardware-Accelerated 3D AI Logistics Timeline Styles */ - .roadmap-hero-section { - position: relative; - background: #09090b !important; - /* Match the site-wide wide-band gutter EXACTLY. Measured against the - footer band (#b29b8fc) and the sibling "Women" band - (#women-entrepreneurship), both of which sit at a 20px left/right - gutter. The parent (#bbc6760) contributes no padding here (the - vendor padding vars resolve to 0), so the band carries the 20px - gutter itself via calc(100% - 40px) + auto margins: - at a 1910px viewport this renders left:20 right:1890 width:1870, - identical to the footer band. */ - width: calc(100% - 40px); - margin-left: auto; - margin-right: auto; - border-radius: 24px; - padding: 100px 40px; - box-sizing: border-box; - font-family: 'Manrope', sans-serif; - overflow: hidden; - display: flex; - flex-direction: column; - align-items: stretch; - } - - /* Connection Grid Canvas Overlay */ - .ce-canvas-bg { - position: absolute; - inset: 0; - z-index: 0; - width: 100%; - height: 100%; - pointer-events: none; - opacity: 0.08; - } - - /* Spotlights */ - .roadmap-glow-spot { - position: absolute; - width: 500px; - height: 500px; - border-radius: 50%; - pointer-events: none; - filter: blur(140px); - z-index: 0; - opacity: 0.05; - } - - .roadmap-glow-spot.top-left { - left: -10%; - top: -10%; - background: radial-gradient(circle, #C8102E 0%, transparent 70%); - } - - .roadmap-glow-spot.bottom-right { - right: -10%; - bottom: -10%; - background: radial-gradient(circle, #ff0033 0%, transparent 70%); - } - - .roadmap-hero-section .container { - /* Fill the wide section so the timeline + cards span most of the - available width (no narrow content cap). */ - max-width: 100%; - width: 100%; - margin: 0 auto; - position: relative; - z-index: 1; - box-sizing: border-box; - } - - /* Header Styles */ - .vision-tag-top { - font-size: 13px; - font-weight: 800; - letter-spacing: 3px; - color: #C8102E; - text-transform: uppercase; - margin-bottom: 16px; - text-align: center; - } - - .roadmap-hero-section .intelligence-grid-title { - color: #ffffff !important; - font-size: clamp(34px, 3.8vw, 54px) !important; - font-weight: 900 !important; - line-height: 1.1 !important; - text-align: center; - letter-spacing: -1.8px !important; - margin: 0 0 20px 0 !important; - text-transform: none !important; - } - - .roadmap-hero-section .intelligence-grid-title-highlight { - color: #C8102E !important; - } - - .vision-main-subtitle { - font-size: clamp(16px, 1.4vw, 20px); - font-weight: 500; - line-height: 1.5; - color: #a1a1aa !important; - text-align: center; - max-width: 720px; - margin: 0 auto 60px auto !important; - } - - /* Glowing 3D Timeline Track - Overflow Visible Guarantees No Halo Cutoffs */ - .roadmap-track-container { - display: flex; - align-items: center; - justify-content: space-between; - gap: 30px; - width: 100%; - background: rgba(255, 255, 255, 0.02); - border: 1px solid rgba(255, 255, 255, 0.04); - border-radius: 20px; - padding: 24px 34px; - box-sizing: border-box; - backdrop-filter: blur(8px); - margin-bottom: 60px; - box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); - overflow: visible !important; /* Extremely important to prevent cropping timeline child elements */ - } - - .roadmap-track-label { - font-size: 13.5px; - font-weight: 800; - letter-spacing: 2px; - color: #71717a; - white-space: nowrap; - } - - .timeline-horizontal-wrapper { - flex: 1 1 auto; - height: 6px; - background: rgba(255, 255, 255, 0.05); - border-radius: 3px; - position: relative; - display: flex; - align-items: center; - overflow: visible !important; /* Critical to let pulsing halo overlay expand outside the 6px wrapper */ - } - - .timeline-horizontal-fill { - position: absolute; - left: 0; - top: 0; - height: 100%; - background: #C8102E; - box-shadow: 0 0 12px #C8102E; - border-radius: 3px; - transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); - will-change: width; - } - - .node-dots-row { - position: absolute; - inset: 0; - pointer-events: none; - overflow: visible !important; /* Dynamic expansion */ - } - - .node-dot-item { - position: absolute; - top: 50%; - transform: translate(-50%, -50%); - width: 14px; - height: 14px; - border-radius: 50%; - background: #18181b; - border: 2px solid rgba(255, 255, 255, 0.15); - transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), - background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), - box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); - will-change: border-color, background-color, box-shadow; - overflow: visible !important; - } - - .node-dot-item.active { - background: #C8102E; - border-color: #ffffff; - box-shadow: 0 0 10px #C8102E; - } - - /* Pulsing crown node halo - Smoothly decays opacity to 0 to prevent visual pops/blinks */ - .node-pulse-crown { - position: absolute; - inset: -4px; - border-radius: 50%; - border: 1.5px solid #C8102E; - animation: node-breather 2s infinite ease-out; - pointer-events: none; - box-sizing: border-box; - overflow: visible !important; - } - - @keyframes node-breather { - 0% { transform: scale(0.95); opacity: 0.9; } - 80% { opacity: 0.25; } - 100% { transform: scale(1.6); opacity: 0; } - } - - /* Progress Ring */ - .roadmap-complete-pct-container { - display: flex; - align-items: center; - gap: 12px; - white-space: nowrap; - } - - .roadmap-complete-pct { - font-size: 14px; - font-weight: 800; - letter-spacing: 1px; - color: #C8102E; - text-transform: uppercase; - } - - .progress-ring-circle { - transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1); - transform: rotate(-90deg); - transform-origin: 50% 50%; - stroke: #C8102E; - filter: drop-shadow(0 0 4px #C8102E); - } - - /* 4-Column Grid container */ - .roadmap-grid-container { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 20px; - width: 100%; - box-sizing: border-box; - } - - /* GPU Hardware-Accelerated Breathtakingly Smooth 3D Floating Cards */ - .roadmap-col-card { - position: relative; - background: rgba(255, 255, 255, 0.035); - border: 1px solid rgba(255, 255, 255, 0.06); - backdrop-filter: blur(16px); - border-radius: 20px; - padding: 30px 24px; - box-sizing: border-box; - display: flex; - flex-direction: column; - align-items: stretch; - justify-content: flex-start; - transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), - border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), - background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), - box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1); - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); - cursor: pointer; - will-change: transform, box-shadow; - } - - /* Ultra-Smooth CSS scale and translation lifts on hover */ - .roadmap-col-card:hover { - transform: translateY(-8px) scale(1.03); - border-color: rgba(255, 255, 255, 0.15); - background-color: rgba(255, 255, 255, 0.055); - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); - } - - /* Active card highlight state */ - .roadmap-col-card.active { - border-color: rgba(200, 16, 46, 0.65); - background: rgba(200, 16, 46, 0.04); - box-shadow: 0 20px 40px rgba(200, 16, 46, 0.1); - } - - .card-top-row { - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 20px; - } - - .year-num { - font-size: 26px; - font-weight: 900; - color: #ffffff; - letter-spacing: -0.5px; - } - - .card-icon-badge { - display: inline-flex; - align-items: center; - justify-content: center; - width: 32px; - height: 32px; - border-radius: 8px; - background: rgba(255, 255, 255, 0.05); - color: rgba(255, 255, 255, 0.7); - border: 1px solid rgba(255, 255, 255, 0.08); - } - - .phase-badge-pill { - align-self: flex-start; - font-size: 11px; - font-weight: 800; - text-transform: uppercase; - padding: 5px 10px; - border-radius: 6px; - margin-bottom: 18px; - letter-spacing: 0.5px; - } - - .phase-badge-pill.yellow { - background: rgba(234, 179, 8, 0.12); - color: #eab308; - border: 1px solid rgba(234, 179, 8, 0.2); - } - - .phase-badge-pill.green { - background: rgba(34, 197, 94, 0.12); - color: #22c55e; - border: 1px solid rgba(34, 197, 94, 0.2); - } - - .phase-badge-pill.blue { - background: rgba(59, 130, 246, 0.12); - color: #3b82f6; - border: 1px solid rgba(59, 130, 246, 0.2); - } - - .phase-badge-pill.white-pill { - background: rgba(255, 255, 255, 0.12); - color: #ffffff; - border: 1px solid rgba(255, 255, 255, 0.2); - } - - .card-heading { - font-size: 18px; - font-weight: 800; - margin: 0 0 10px 0 !important; - letter-spacing: -0.3px; - } - - .card-text { - font-size: 13.5px; - line-height: 1.5; - color: #a1a1aa !important; - margin: 0 0 20px 0 !important; - } - - .card-pills-stack { - display: flex; - flex-direction: column; - gap: 8px; - margin-top: auto; - } - - .card-stat-pill-mini { - display: flex; - align-items: center; - font-size: 12.5px; - font-weight: 700; - color: #e4e4e7; - padding: 8px 12px; - border-radius: 8px; - background: rgba(255, 255, 255, 0.03); - border: 1px solid rgba(255, 255, 255, 0.05); - transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease; - will-change: transform; - } - - .roadmap-col-card:hover .card-stat-pill-mini { - background: rgba(255, 255, 255, 0.06); - transform: translateY(-2px); - } - - /* Special destination: Glowing 2030 AI Pulse Layer card */ - .glowing-vision-card { - background: linear-gradient(135deg, rgba(200, 16, 46, 0.95) 0%, rgba(120, 10, 30, 0.98) 100%) !important; - border: 1px solid rgba(255, 255, 255, 0.15) !important; - animation: red-breath 4s infinite ease-in-out; - } - - /* Hover scale override for 2030 vision card */ - .glowing-vision-card:hover { - transform: translateY(-8px) scale(1.03) !important; - box-shadow: 0 20px 50px rgba(200, 16, 46, 0.7) !important; - } - - /* Laser sweeping neon borders on 2030 vision card */ - .glowing-vision-card::after { - content: ""; - position: absolute; - inset: -1.5px; - border-radius: 20px; - background: linear-gradient(90deg, #C8102E, #ff3366, #ff0033, #C8102E); - background-size: 300% 100%; - animation: border-sweep 5s linear infinite; - z-index: -1; - opacity: 0.65; - } - - @keyframes border-sweep { - 0% { background-position: 0% 50%; } - 50% { background-position: 100% 50%; } - 100% { background-position: 0% 50%; } - } - - @keyframes red-breath { - 0%, 100% { box-shadow: 0 10px 40px rgba(200, 16, 46, 0.25), inset 0 0 15px rgba(255,255,255,0.05); } - 50% { box-shadow: 0 10px 60px rgba(200, 16, 46, 0.6), inset 0 0 25px rgba(255,255,255,0.1); } - } - - .glowing-vision-card .card-stat-pill-mini { - background: rgba(255, 255, 255, 0.08) !important; - border: 1px solid rgba(255, 255, 255, 0.1) !important; - } - - .glowing-vision-card:hover .card-stat-pill-mini { - background: rgba(255, 255, 255, 0.14) !important; - } - - .glowing-vision-card .card-text { - color: rgba(255, 255, 255, 0.8) !important; - } - - /* Floating sparks/particles inside the 2030 vision card */ - .ce-sparkle { - position: absolute; - width: 4px; - height: 4px; - background: rgba(255, 255, 255, 0.85); - border-radius: 50%; - pointer-events: none; - filter: blur(0.5px); - } - .sparkle-1 { left: 15%; bottom: 8%; animation: float-spark 3s infinite ease-in; } - .sparkle-2 { left: 52%; bottom: 18%; animation: float-spark 4s infinite ease-in; animation-delay: 1.2s; } - .sparkle-3 { left: 82%; bottom: 12%; animation: float-spark 3.5s infinite ease-in; animation-delay: 2s; } - - @keyframes float-spark { - 0% { transform: translateY(0); opacity: 0; } - 50% { opacity: 0.9; } - 100% { transform: translateY(-70px); opacity: 0; } - } - - /* Responsive Constraints */ - @media (max-width: 1024px) { - .roadmap-hero-section { - width: calc(100% - 40px); /* keep the 20px site-standard band gutter */ - padding: 80px 24px; - } - - .roadmap-grid-container { - grid-template-columns: repeat(2, 1fr); - gap: 20px; - } - - .roadmap-track-container { - padding: 20px 24px; - } - } - - @media (max-width: 767px) { - .intelligence-grid-section { - --padding-left: 0px !important; - --padding-right: 0px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .roadmap-hero-section { - width: calc(100% - 32px) !important; - max-width: calc(100% - 32px) !important; - padding: 52px 16px 44px; - border-radius: 22px !important; - } - .vision-main-subtitle { margin-bottom: 40px !important; } - - /* Progress header → compact, centered summary card */ - .roadmap-track-container { - flex-direction: column; - align-items: center; - text-align: center; - gap: 16px; - padding: 20px 18px; - margin-bottom: 36px; - } - .roadmap-track-label { font-size: 12px; letter-spacing: 1.5px; } - .timeline-horizontal-wrapper { width: 100%; } - .roadmap-complete-pct-container { justify-content: center; } - - /* ── Vertical timeline: the four stacked cards become a connected - journey (2026 → 2030) with a coloured rail + phase node dots. ── */ - .roadmap-grid-container { - grid-template-columns: 1fr; - gap: 18px; - position: relative; - padding-left: 32px; - } - .roadmap-grid-container::before { - content: ''; - position: absolute; - left: 6px; - top: 16px; - bottom: 16px; - width: 2px; - border-radius: 2px; - background: linear-gradient(180deg, #eab308 0%, #22c55e 34%, #3b82f6 67%, #C8102E 100%); - opacity: 0.55; - } - .roadmap-col-card { padding: 24px 22px; } - /* node dot sits on the rail, aligned with the year number */ - .roadmap-col-card::before { - content: ''; - position: absolute; - left: -32px; - top: 28px; - width: 14px; - height: 14px; - border-radius: 50%; - background: #09090b; - border: 2px solid #C8102E; - box-shadow: 0 0 0 4px #09090b, 0 0 12px rgba(200, 16, 46, 0.7); - z-index: 3; - } - .roadmap-col-card[data-card="2026"]::before { - border-color: #eab308; - box-shadow: 0 0 0 4px #09090b, 0 0 12px rgba(234, 179, 8, 0.6); - } - .roadmap-col-card[data-card="2027"]::before { - border-color: #22c55e; - box-shadow: 0 0 0 4px #09090b, 0 0 12px rgba(34, 197, 94, 0.6); - } - .roadmap-col-card[data-card="2028"]::before { - border-color: #3b82f6; - box-shadow: 0 0 0 4px #09090b, 0 0 12px rgba(59, 130, 246, 0.6); - } - .roadmap-col-card[data-card="2030"]::before { - border-color: #ffffff; - background: #C8102E; - box-shadow: 0 0 0 4px #09090b, 0 0 16px rgba(200, 16, 46, 0.9); - } - /* the 2030 card's sweeping border (::after) would sit over the rail - gutter — keep it from bleeding past the card's rounded edge */ - .glowing-vision-card::after { inset: -1px; } - } - - @media (max-width: 480px) { - .roadmap-hero-section { padding: 44px 14px 38px; } - .roadmap-hero-section .intelligence-grid-title { font-size: clamp(28px, 8.4vw, 38px) !important; letter-spacing: -1px !important; } - .roadmap-grid-container { padding-left: 28px; } - .roadmap-grid-container::before { left: 5px; } - .roadmap-col-card { padding: 22px 18px; } - .roadmap-col-card::before { left: -28px; top: 26px; } - .year-num { font-size: 23px; } - .card-heading { font-size: 16px; } - .card-text { font-size: 13px; } - } - `}}),(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"vision-tag-top",children:"VISION / 2030"}),(0,t.jsx)("div",{className:"elementor-element elementor-element-54d05ac elementor-widget elementor-widget-logico_heading","data-id":"54d05ac","data-element_type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsxs)("h3",{className:"logico-title intelligence-grid-title",children:["The ",(0,t.jsx)("span",{className:"intelligence-grid-title-highlight",children:"Intelligence Grid"})," Behind Every Urban Mile"]}),(0,t.jsx)("p",{className:"vision-main-subtitle",children:"From Hyderabad EV pilot to nationwide AI logistics intelligence by 2030"})]})}),(0,t.jsxs)("div",{className:"roadmap-track-container",children:[(0,t.jsx)("span",{className:"roadmap-track-label",children:"ROADMAP TO 2030"}),(0,t.jsxs)("div",{className:"timeline-horizontal-wrapper",children:[(0,t.jsx)("div",{className:"timeline-horizontal-line"}),(0,t.jsx)("div",{className:"timeline-horizontal-fill",style:{width:2026===e?"12.5%":2027===e?"37.5%":2028===e?"62.5%":"87.5%"}}),(0,t.jsx)("div",{className:"node-dots-row",children:o.map(i=>(0,t.jsx)("div",{className:`node-dot-item ${e>=i.year?"active":""}`,style:{left:i.trackLeft},children:e===i.year&&(0,t.jsx)("div",{className:"node-pulse-crown"})},i.year))})]}),(0,t.jsxs)("div",{className:"roadmap-complete-pct-container",children:[(0,t.jsxs)("span",{className:"roadmap-complete-pct",children:[s,"% COMPLETE →"]}),(0,t.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 80 80",children:[(0,t.jsx)("circle",{cx:"40",cy:"40",r:"30",fill:"none",stroke:"rgba(255,255,255,0.06)",strokeWidth:"6"}),(0,t.jsx)("circle",{className:"progress-ring-circle",cx:"40",cy:"40",r:"30",fill:"none",strokeWidth:"6",strokeDasharray:l,strokeDashoffset:l*(1-s/100),strokeLinecap:"round"})]})]})]}),(0,t.jsx)("div",{className:"roadmap-grid-container",children:o.map(i=>{let r=2030===i.year,o=e===i.year;return(0,t.jsxs)("div",{onMouseEnter:()=>a(i.year),onClick:()=>a(i.year),className:`roadmap-col-card ${r?"glowing-vision-card":""} ${o?"active":""}`,"data-card":i.year,children:[r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"ce-sparkle sparkle-1"}),(0,t.jsx)("span",{className:"ce-sparkle sparkle-2"}),(0,t.jsx)("span",{className:"ce-sparkle sparkle-3"})]}),(0,t.jsxs)("div",{className:"card-top-row",children:[(0,t.jsx)("span",{className:"year-num",children:i.year}),(0,t.jsx)("div",{className:`card-icon-badge ${r?"translucent-white":""}`,children:i.icon})]}),(0,t.jsx)("span",{className:`phase-badge-pill ${i.phaseClass}`,children:i.phase}),(0,t.jsx)("h5",{className:"card-heading",style:{color:"white"},children:i.title}),(0,t.jsx)("p",{className:"card-text",children:i.desc}),(0,t.jsx)("div",{className:"card-pills-stack",children:i.stats.map((e,i)=>(0,t.jsxs)("div",{className:`card-stat-pill-mini ${r?"translucent-crimson":""}`,children:[e.icon,(0,t.jsx)("span",{children:e.text})]},i))})]},i.year)})})]})]})})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/0o27ue53hohz_.js b/.next/static/chunks/0o27ue53hohz_.js deleted file mode 100644 index 74a7d20..0000000 --- a/.next/static/chunks/0o27ue53hohz_.js +++ /dev/null @@ -1,243 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55838,(e,t,n)=>{"use strict";var i=e.r(71645),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useState,s=i.useEffect,o=i.useLayoutEffect,l=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="u"{"use strict";t.exports=e.r(55838)},52822,(e,t,n)=>{"use strict";var i=e.r(71645),r=e.r(2239),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useSyncExternalStore,o=i.useRef,l=i.useEffect,u=i.useMemo,c=i.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,i,r){var h=o(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var p=s(e,(h=u(function(){function e(e){if(!l){if(l=!0,s=e,e=i(e),void 0!==r&&d.hasValue){var t=d.value;if(r(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var n=i(e);return void 0!==r&&r(t,n)?(s=e,t):(s=e,o=n)}var s,o,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,i,r]))[0],h[1]);return l(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}},30224,(e,t,n)=>{"use strict";t.exports=e.r(52822)},66936,(e,t,n)=>{"use strict";function i(e,t){var n=e.length;for(e.push(t);0>>1,r=e[i];if(0>>1;is(l,n))us(c,l)?(e[i]=c,e[u]=n,i=u):(e[i]=l,e[o]=n,i=o);else if(us(c,n))e[i]=c,e[u]=n,i=u;else break}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var h=[],d=[],p=1,f=null,m=3,g=!1,v=!1,_=!1,y=!1,x="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,S="u">typeof setImmediate?setImmediate:null;function M(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,i(h,t);else break;t=r(d)}}function T(e){if(_=!1,M(e),!v)if(null!==r(h))v=!0,w||(w=!0,o());else{var t=r(d);null!==t&&N(T,t.startTime-e)}}var w=!1,E=-1,A=5,C=-1;function R(){return!!y||!(n.unstable_now()-Ce&&R());){var s=f.callback;if("function"==typeof s){f.callback=null,m=f.priorityLevel;var l=s(f.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){f.callback=l,M(e),t=!0;break t}f===r(h)&&a(h),M(e)}else a(h);f=r(h)}if(null!==f)t=!0;else{var u=r(d);null!==u&&N(T,u.startTime-e),t=!1}}break e}finally{f=null,m=i,g=!1}}}finally{t?o():w=!1}}}if("function"==typeof S)o=function(){S(P)};else if("u">typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=P,o=function(){L.postMessage(null)}}else o=function(){x(P,0)};function N(e,t){E=x(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125s?(e.sortIndex=a,i(d,e),null===r(h)&&e===r(d)&&(_?(b(E),E=-1):_=!0,N(T,a-s))):(e.sortIndex=l,i(h,e),v||g||(v=!0,w||(w=!0,o()))),e},n.unstable_shouldYield=R,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},89499,(e,t,n)=>{"use strict";t.exports=e.r(66936)},75056,90072,8560,8155,1950,25234,28600,e=>{"use strict";let t,n,i,r,a,s,o,l,u,c,h,d,p,f,m,g,v,_;var y,x,b,S,M,T,w=e.i(47167),E=e.i(71645);let A={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},C={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},R="attached",P="detached",I="srgb",L="srgb-linear",N="linear",U="srgb",D="300 es";class O{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});let n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;let n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;let n=this._listeners[e];if(void 0!==n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;let t=this._listeners[e.type];if(void 0!==t){e.target=this;let n=t.slice(0);for(let t=0,i=n.length;t>8&255]+F[e>>16&255]+F[e>>24&255]+"-"+F[255&t]+F[t>>8&255]+"-"+F[t>>16&15|64]+F[t>>24&255]+"-"+F[63&n|128]+F[n>>8&255]+"-"+F[n>>16&255]+F[n>>24&255]+F[255&i]+F[i>>8&255]+F[i>>16&255]+F[i>>24&255]).toLowerCase()}function V(e,t,n){return Math.max(t,Math.min(n,e))}function G(e,t){return(e%t+t)%t}function W(e,t,n){return(1-n)*e+n*t}function j(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/0xffffffff;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/0x7fffffff,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw Error("Invalid component type.")}}function X(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(0xffffffff*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(0x7fffffff*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw Error("Invalid component type.")}}let q={DEG2RAD:B,RAD2DEG:k,generateUUID:H,clamp:V,euclideanModulo:G,mapLinear:function(e,t,n,i,r){return i+(e-t)*(r-i)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:W,damp:function(e,t,n,i){return W(e,t,1-Math.exp(-n*i))},pingpong:function(e,t=1){return t-Math.abs(G(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(z=e);let t=z+=0x6d2b79f5;return t=Math.imul(t^t>>>15,1|t),(((t^=t+Math.imul(t^t>>>7,61|t))^t>>>14)>>>0)/0x100000000},degToRad:function(e){return e*B},radToDeg:function(e){return e*k},isPowerOfTwo:function(e){return(e&e-1)==0&&0!==e},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,n,i,r){let a=Math.cos,s=Math.sin,o=a(n/2),l=s(n/2),u=a((t+i)/2),c=s((t+i)/2),h=a((t-i)/2),d=s((t-i)/2),p=a((i-t)/2),f=s((i-t)/2);switch(r){case"XYX":e.set(o*c,l*h,l*d,o*u);break;case"YZY":e.set(l*d,o*c,l*h,o*u);break;case"ZXZ":e.set(l*h,l*d,o*c,o*u);break;case"XZX":e.set(o*c,l*f,l*p,o*u);break;case"YXY":e.set(l*p,o*c,l*f,o*u);break;case"ZYZ":e.set(l*f,l*p,o*c,o*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}},normalize:X,denormalize:j};class Y{constructor(e=0,t=0){Y.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){let t=this.x,n=this.y,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6],this.y=i[1]*t+i[4]*n+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){let n=Math.cos(t),i=Math.sin(t),r=this.x-e.x,a=this.y-e.y;return this.x=r*n-a*i+e.x,this.y=r*i+a*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Z{constructor(e,t,n,i,r,a,s,o,l){Z.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l)}set(e,t,n,i,r,a,s,o,l){let u=this.elements;return u[0]=e,u[1]=i,u[2]=s,u[3]=t,u[4]=r,u[5]=o,u[6]=n,u[7]=a,u[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){let t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[3],o=n[6],l=n[1],u=n[4],c=n[7],h=n[2],d=n[5],p=n[8],f=i[0],m=i[3],g=i[6],v=i[1],_=i[4],y=i[7],x=i[2],b=i[5],S=i[8];return r[0]=a*f+s*v+o*x,r[3]=a*m+s*_+o*b,r[6]=a*g+s*y+o*S,r[1]=l*f+u*v+c*x,r[4]=l*m+u*_+c*b,r[7]=l*g+u*y+c*S,r[2]=h*f+d*v+p*x,r[5]=h*m+d*_+p*b,r[8]=h*g+d*y+p*S,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8];return t*a*u-t*s*l-n*r*u+n*s*o+i*r*l-i*a*o}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=u*a-s*l,h=s*o-u*r,d=l*r-a*o,p=t*c+n*h+i*d;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);let f=1/p;return e[0]=c*f,e[1]=(i*l-u*n)*f,e[2]=(s*n-i*a)*f,e[3]=h*f,e[4]=(u*t-i*o)*f,e[5]=(i*r-s*t)*f,e[6]=d*f,e[7]=(n*o-l*t)*f,e[8]=(a*t-n*r)*f,this}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){let t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,i,r,a,s){let o=Math.cos(r),l=Math.sin(r);return this.set(n*o,n*l,-n*(o*a+l*s)+a+e,-i*l,i*o,-i*(-l*a+o*s)+s+t,0,0,1),this}scale(e,t){return this.premultiply(J.makeScale(e,t)),this}rotate(e){return this.premultiply(J.makeRotation(-e)),this}translate(e,t){return this.premultiply(J.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,n,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return new this.constructor().fromArray(this.elements)}}let J=new Z;function K(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}let $={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Q(e,t){return new $[e](t)}function ee(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function et(){let e=ee("canvas");return e.style.display="block",e}let en={};function ei(e){e in en||(en[e]=!0,console.warn(e))}function er(e,t,n){return new Promise(function(i,r){setTimeout(function a(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:r();break;case e.TIMEOUT_EXPIRED:setTimeout(a,n);break;default:i()}},n)})}function ea(e){let t=e.elements;t[2]=.5*t[2]+.5*t[3],t[6]=.5*t[6]+.5*t[7],t[10]=.5*t[10]+.5*t[11],t[14]=.5*t[14]+.5*t[15]}function es(e){let t=e.elements;-1===t[11]?(t[10]=-t[10]-1,t[14]=-t[14]):(t[10]=-t[10],t[14]=-t[14]+1)}let eo=new Z().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),el=new Z().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715),eu=(d=[.64,.33,.3,.6,.15,.06],p=[.2126,.7152,.0722],f=[.3127,.329],(h={enabled:!0,workingColorSpace:L,spaces:{},convert:function(e,t,n){return!1!==this.enabled&&t!==n&&t&&n&&(this.spaces[t].transfer===U&&(e.r=ec(e.r),e.g=ec(e.g),e.b=ec(e.b)),this.spaces[t].primaries!==this.spaces[n].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[n].fromXYZ)),this.spaces[n].transfer===U&&(e.r=eh(e.r),e.g=eh(e.g),e.b=eh(e.b))),e},fromWorkingColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},toWorkingColorSpace:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return""===e?N:this.spaces[e].transfer},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,n){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[n].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace}}).define({[L]:{primaries:d,whitePoint:f,transfer:N,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,workingColorSpaceConfig:{unpackColorSpace:I},outputColorSpaceConfig:{drawingBufferColorSpace:I}},[I]:{primaries:d,whitePoint:f,transfer:U,toXYZ:eo,fromXYZ:el,luminanceCoefficients:p,outputColorSpaceConfig:{drawingBufferColorSpace:I}}}),h);function ec(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function eh(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}class ed{static getDataURL(e){let n;if(/^data:/i.test(e.src)||"u"2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap){let t=ee("canvas");t.width=e.width,t.height=e.height;let n=t.getContext("2d");n.drawImage(e,0,0,e.width,e.height);let i=n.getImageData(0,0,e.width,e.height),r=i.data;for(let e=0;etypeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap?ed.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let eg=0;class ev extends O{constructor(e=ev.DEFAULT_IMAGE,t=ev.DEFAULT_MAPPING,n=1001,i=1001,r=1006,a=1008,s=1023,o=1009,l=ev.DEFAULT_ANISOTROPY,u=""){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:eg++}),this.uuid=H(),this.name="",this.source=new ef(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=n,this.wrapT=i,this.magFilter=r,this.minFilter=a,this.anisotropy=l,this.format=s,this.internalFormat=null,this.type=o,this.offset=new Y(0,0),this.repeat=new Y(1,1),this.center=new Y(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Z,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=u,this.userData={},this.version=0,this.onUpdate=null,this.isRenderTargetTexture=!1,this.pmremVersion=0}get image(){return this.source.data}set image(e=null){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return new this.constructor().copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}toJSON(e){let t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];let n={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(300!==this.mapping)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case 1e3:e.x=e.x-Math.floor(e.x);break;case 1001:e.x=e.x<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case 1e3:e.y=e.y-Math.floor(e.y);break;case 1001:e.y=e.y<0?0:1;break;case 1002:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){!0===e&&this.pmremVersion++}}ev.DEFAULT_IMAGE=null,ev.DEFAULT_MAPPING=300,ev.DEFAULT_ANISOTROPY=1;class e_{constructor(e=0,t=0,n=0,i=1){e_.prototype.isVector4=!0,this.x=e,this.y=t,this.z=n,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,i){return this.x=e,this.y=t,this.z=n,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=this.w,a=e.elements;return this.x=a[0]*t+a[4]*n+a[8]*i+a[12]*r,this.y=a[1]*t+a[5]*n+a[9]*i+a[13]*r,this.z=a[2]*t+a[6]*n+a[10]*i+a[14]*r,this.w=a[3]*t+a[7]*n+a[11]*i+a[15]*r,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);let t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,i,r,a=e.elements,s=a[0],o=a[4],l=a[8],u=a[1],c=a[5],h=a[9],d=a[2],p=a[6],f=a[10];if(.01>Math.abs(o-u)&&.01>Math.abs(l-d)&&.01>Math.abs(h-p)){if(.1>Math.abs(o+u)&&.1>Math.abs(l+d)&&.1>Math.abs(h+p)&&.1>Math.abs(s+c+f-3))return this.set(1,0,0,0),this;t=Math.PI;let e=(s+1)/2,a=(c+1)/2,m=(f+1)/2,g=(o+u)/4,v=(l+d)/4,_=(h+p)/4;return e>a&&e>m?e<.01?(n=0,i=.707106781,r=.707106781):(i=g/(n=Math.sqrt(e)),r=v/n):a>m?a<.01?(n=.707106781,i=0,r=.707106781):(n=g/(i=Math.sqrt(a)),r=_/i):m<.01?(n=.707106781,i=.707106781,r=0):(n=v/(r=Math.sqrt(m)),i=_/r),this.set(n,i,r,t),this}let m=Math.sqrt((p-h)*(p-h)+(l-d)*(l-d)+(u-o)*(u-o));return .001>Math.abs(m)&&(m=1),this.x=(p-h)/m,this.y=(l-d)/m,this.z=(u-o)/m,this.w=Math.acos((s+c+f-1)/2),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this.w=V(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this.w=V(this.w,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class ey extends O{constructor(e=1,t=1,n={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new e_(0,0,e,t),this.scissorTest=!1,this.viewport=new e_(0,0,e,t);const i=new ev({width:e,height:t,depth:1},(n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:1006,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},n)).mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.colorSpace);i.flipY=!1,i.generateMipmaps=n.generateMipmaps,i.internalFormat=n.internalFormat,this.textures=[];const r=n.count;for(let e=0;e=0?1:-1,i=1-t*t;if(i>Number.EPSILON){let r=Math.sqrt(i),a=Math.atan2(r,t*n);e=Math.sin(e*a)/r,s=Math.sin(s*a)/r}let r=s*n;if(o=o*e+h*r,l=l*e+d*r,u=u*e+p*r,c=c*e+f*r,e===1-s){let e=1/Math.sqrt(o*o+l*l+u*u+c*c);o*=e,l*=e,u*=e,c*=e}}e[t]=o,e[t+1]=l,e[t+2]=u,e[t+3]=c}static multiplyQuaternionsFlat(e,t,n,i,r,a){let s=n[i],o=n[i+1],l=n[i+2],u=n[i+3],c=r[a],h=r[a+1],d=r[a+2],p=r[a+3];return e[t]=s*p+u*c+o*d-l*h,e[t+1]=o*p+u*h+l*c-s*d,e[t+2]=l*p+u*d+s*h-o*c,e[t+3]=u*p-s*c-o*h-l*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,i){return this._x=e,this._y=t,this._z=n,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){let n=e._x,i=e._y,r=e._z,a=e._order,s=Math.cos,o=Math.sin,l=s(n/2),u=s(i/2),c=s(r/2),h=o(n/2),d=o(i/2),p=o(r/2);switch(a){case"XYZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"YXZ":this._x=h*u*c+l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"ZXY":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c-h*d*p;break;case"ZYX":this._x=h*u*c-l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c+h*d*p;break;case"YZX":this._x=h*u*c+l*d*p,this._y=l*d*c+h*u*p,this._z=l*u*p-h*d*c,this._w=l*u*c-h*d*p;break;case"XZY":this._x=h*u*c-l*d*p,this._y=l*d*c-h*u*p,this._z=l*u*p+h*d*c,this._w=l*u*c+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return!0===t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){let n=t/2,i=Math.sin(n);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){let t=e.elements,n=t[0],i=t[4],r=t[8],a=t[1],s=t[5],o=t[9],l=t[2],u=t[6],c=t[10],h=n+s+c;if(h>0){let e=.5/Math.sqrt(h+1);this._w=.25/e,this._x=(u-o)*e,this._y=(r-l)*e,this._z=(a-i)*e}else if(n>s&&n>c){let e=2*Math.sqrt(1+n-s-c);this._w=(u-o)/e,this._x=.25*e,this._y=(i+a)/e,this._z=(r+l)/e}else if(s>c){let e=2*Math.sqrt(1+s-n-c);this._w=(r-l)/e,this._x=(i+a)/e,this._y=.25*e,this._z=(o+u)/e}else{let e=2*Math.sqrt(1+c-n-s);this._w=(a-i)/e,this._x=(r+l)/e,this._y=(o+u)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return nMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0):(this._x=0,this._y=-e.z,this._z=e.y)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x),this._w=n,this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(V(this.dot(e),-1,1)))}rotateTowards(e,t){let n=this.angleTo(e);if(0===n)return this;let i=Math.min(1,t/n);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){let n=e._x,i=e._y,r=e._z,a=e._w,s=t._x,o=t._y,l=t._z,u=t._w;return this._x=n*u+a*s+i*l-r*o,this._y=i*u+a*o+r*s-n*l,this._z=r*u+a*l+n*o-i*s,this._w=a*u-n*s-i*o-r*l,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);let n=this._x,i=this._y,r=this._z,a=this._w,s=a*e._w+n*e._x+i*e._y+r*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=a,this._x=n,this._y=i,this._z=r,this;let o=1-s*s;if(o<=Number.EPSILON){let e=1-t;return this._w=e*a+t*this._w,this._x=e*n+t*this._x,this._y=e*i+t*this._y,this._z=e*r+t*this._z,this.normalize(),this}let l=Math.sqrt(o),u=Math.atan2(l,s),c=Math.sin((1-t)*u)/l,h=Math.sin(t*u)/l;return this._w=a*c+this._w*h,this._x=n*c+this._x*h,this._y=i*c+this._y*h,this._z=r*c+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,n){return this.copy(e).slerp(t,n)}random(){let e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),n=Math.random(),i=Math.sqrt(1-n),r=Math.sqrt(n);return this.set(i*Math.sin(e),i*Math.cos(e),r*Math.sin(t),r*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class eE{constructor(e=0,t=0,n=0){eE.prototype.isVector3=!0,this.x=e,this.y=t,this.z=n}set(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(eC.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(eC.setFromAxisAngle(e,t))}applyMatrix3(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6]*i,this.y=r[1]*t+r[4]*n+r[7]*i,this.z=r[2]*t+r[5]*n+r[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){let t=this.x,n=this.y,i=this.z,r=e.elements,a=1/(r[3]*t+r[7]*n+r[11]*i+r[15]);return this.x=(r[0]*t+r[4]*n+r[8]*i+r[12])*a,this.y=(r[1]*t+r[5]*n+r[9]*i+r[13])*a,this.z=(r[2]*t+r[6]*n+r[10]*i+r[14])*a,this}applyQuaternion(e){let t=this.x,n=this.y,i=this.z,r=e.x,a=e.y,s=e.z,o=e.w,l=2*(a*i-s*n),u=2*(s*t-r*i),c=2*(r*n-a*t);return this.x=t+o*l+a*c-s*u,this.y=n+o*u+s*l-r*c,this.z=i+o*c+r*u-a*l,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){let t=this.x,n=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[4]*n+r[8]*i,this.y=r[1]*t+r[5]*n+r[9]*i,this.z=r[2]*t+r[6]*n+r[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=V(this.x,e.x,t.x),this.y=V(this.y,e.y,t.y),this.z=V(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=V(this.x,e,t),this.y=V(this.y,e,t),this.z=V(this.z,e,t),this}clampLength(e,t){let n=this.length();return this.divideScalar(n||1).multiplyScalar(V(n,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){let n=e.x,i=e.y,r=e.z,a=t.x,s=t.y,o=t.z;return this.x=i*o-r*s,this.y=r*a-n*o,this.z=n*s-i*a,this}projectOnVector(e){let t=e.lengthSq();if(0===t)return this.set(0,0,0);let n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return eA.copy(this).projectOnVector(e),this.sub(eA)}reflect(e){return this.sub(eA.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){let t=Math.sqrt(this.lengthSq()*e.lengthSq());return 0===t?Math.PI/2:Math.acos(V(this.dot(e)/t,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){let t=this.x-e.x,n=this.y-e.y,i=this.z-e.z;return t*t+n*n+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){let i=Math.sin(t)*e;return this.x=i*Math.sin(n),this.y=Math.cos(t)*e,this.z=i*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){let t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){let t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let e=Math.random()*Math.PI*2,t=2*Math.random()-1,n=Math.sqrt(1-t*t);return this.x=n*Math.cos(e),this.y=t,this.z=n*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}let eA=new eE,eC=new ew;class eR{constructor(e=new eE(Infinity,Infinity,Infinity),t=new eE(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,n=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,eI),eI.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(eB),ek.subVectors(this.max,eB),eN.subVectors(e.a,eB),eU.subVectors(e.b,eB),eD.subVectors(e.c,eB),eO.subVectors(eU,eN),eF.subVectors(eD,eU),ez.subVectors(eN,eD);let t=[0,-eO.z,eO.y,0,-eF.z,eF.y,0,-ez.z,ez.y,eO.z,0,-eO.x,eF.z,0,-eF.x,ez.z,0,-ez.x,-eO.y,eO.x,0,-eF.y,eF.x,0,-ez.y,ez.x,0];return!!eG(t,eN,eU,eD,ek)&&!!eG(t=[1,0,0,0,1,0,0,0,1],eN,eU,eD,ek)&&(eH.crossVectors(eO,eF),eG(t=[eH.x,eH.y,eH.z],eN,eU,eD,ek))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,eI).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(eI).length()),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(eP[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),eP[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),eP[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),eP[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),eP[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),eP[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),eP[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),eP[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(eP)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let eP=[new eE,new eE,new eE,new eE,new eE,new eE,new eE,new eE],eI=new eE,eL=new eR,eN=new eE,eU=new eE,eD=new eE,eO=new eE,eF=new eE,ez=new eE,eB=new eE,ek=new eE,eH=new eE,eV=new eE;function eG(e,t,n,i,r){for(let a=0,s=e.length-3;a<=s;a+=3){eV.fromArray(e,a);let s=r.x*Math.abs(eV.x)+r.y*Math.abs(eV.y)+r.z*Math.abs(eV.z),o=t.dot(eV),l=n.dot(eV),u=i.dot(eV);if(Math.max(-Math.max(o,l,u),Math.min(o,l,u))>s)return!1}return!0}let eW=new eR,ej=new eE,eX=new eE;class eq{constructor(e=new eE,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){let n=this.center;void 0!==t?n.copy(t):eW.setFromPoints(e).getCenter(n);let i=0;for(let t=0,r=e.length;tthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?e.makeEmpty():(e.set(this.center,this.center),e.expandByScalar(this.radius)),e}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;ej.subVectors(e,this.center);let t=ej.lengthSq();if(t>this.radius*this.radius){let e=Math.sqrt(t),n=(e-this.radius)*.5;this.center.addScaledVector(ej,n/e),this.radius+=n}return this}union(e){return e.isEmpty()||(this.isEmpty()?this.copy(e):!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(eX.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ej.copy(e.center).add(eX)),this.expandByPoint(ej.copy(e.center).sub(eX)))),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}let eY=new eE,eZ=new eE,eJ=new eE,eK=new eE,e$=new eE,eQ=new eE,e0=new eE;class e1{constructor(e=new eE,t=new eE(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,eY)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);let n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){let t=eY.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(eY.copy(this.origin).addScaledVector(this.direction,t),eY.distanceToSquared(e))}distanceSqToSegment(e,t,n,i){let r,a,s,o;eZ.copy(e).add(t).multiplyScalar(.5),eJ.copy(t).sub(e).normalize(),eK.copy(this.origin).sub(eZ);let l=.5*e.distanceTo(t),u=-this.direction.dot(eJ),c=eK.dot(this.direction),h=-eK.dot(eJ),d=eK.lengthSq(),p=Math.abs(1-u*u);if(p>0)if(r=u*h-c,a=u*c-h,o=l*p,r>=0)if(a>=-o)if(a<=o){let e=1/p;r*=e,a*=e,s=r*(r+u*a+2*c)+a*(u*r+a+2*h)+d}else s=-(r=Math.max(0,-(u*(a=l)+c)))*r+a*(a+2*h)+d;else s=-(r=Math.max(0,-(u*(a=-l)+c)))*r+a*(a+2*h)+d;else a<=-o?(a=(r=Math.max(0,-(-u*l+c)))>0?-l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d):a<=o?(r=0,s=(a=Math.min(Math.max(-l,-h),l))*(a+2*h)+d):(a=(r=Math.max(0,-(u*l+c)))>0?l:Math.min(Math.max(-l,-h),l),s=-r*r+a*(a+2*h)+d);else a=u>0?-l:l,s=-(r=Math.max(0,-(u*a+c)))*r+a*(a+2*h)+d;return n&&n.copy(this.origin).addScaledVector(this.direction,r),i&&i.copy(eZ).addScaledVector(eJ,a),s}intersectSphere(e,t){eY.subVectors(e.center,this.origin);let n=eY.dot(this.direction),i=eY.dot(eY)-n*n,r=e.radius*e.radius;if(i>r)return null;let a=Math.sqrt(r-i),s=n-a,o=n+a;return o<0?null:s<0?this.at(o,t):this.at(s,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){let t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;let n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){let n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}intersectsPlane(e){let t=e.distanceToPoint(this.origin);return!!(0===t||e.normal.dot(this.direction)*t<0)}intersectBox(e,t){let n,i,r,a,s,o,l=1/this.direction.x,u=1/this.direction.y,c=1/this.direction.z,h=this.origin;return(l>=0?(n=(e.min.x-h.x)*l,i=(e.max.x-h.x)*l):(n=(e.max.x-h.x)*l,i=(e.min.x-h.x)*l),u>=0?(r=(e.min.y-h.y)*u,a=(e.max.y-h.y)*u):(r=(e.max.y-h.y)*u,a=(e.min.y-h.y)*u),n>a||r>i||((r>n||isNaN(n))&&(n=r),(a=0?(s=(e.min.z-h.z)*c,o=(e.max.z-h.z)*c):(s=(e.max.z-h.z)*c,o=(e.min.z-h.z)*c),n>o||s>i||((s>n||n!=n)&&(n=s),(o=0?n:i,t)}intersectsBox(e){return null!==this.intersectBox(e,eY)}intersectTriangle(e,t,n,i,r){let a;e$.subVectors(t,e),eQ.subVectors(n,e),e0.crossVectors(e$,eQ);let s=this.direction.dot(e0);if(s>0){if(i)return null;a=1}else{if(!(s<0))return null;a=-1,s=-s}eK.subVectors(this.origin,e);let o=a*this.direction.dot(eQ.crossVectors(eK,eQ));if(o<0)return null;let l=a*this.direction.dot(e$.cross(eK));if(l<0||o+l>s)return null;let u=-a*eK.dot(e0);return u<0?null:this.at(u/s,r)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class e2{constructor(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){e2.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==e&&this.set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m)}set(e,t,n,i,r,a,s,o,l,u,c,h,d,p,f,m){let g=this.elements;return g[0]=e,g[4]=t,g[8]=n,g[12]=i,g[1]=r,g[5]=a,g[9]=s,g[13]=o,g[2]=l,g[6]=u,g[10]=c,g[14]=h,g[3]=d,g[7]=p,g[11]=f,g[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new e2().fromArray(this.elements)}copy(e){let t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){let t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){let t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){let t=this.elements,n=e.elements,i=1/e3.setFromMatrixColumn(e,0).length(),r=1/e3.setFromMatrixColumn(e,1).length(),a=1/e3.setFromMatrixColumn(e,2).length();return t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i,t[3]=0,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=0,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){let t=this.elements,n=e.x,i=e.y,r=e.z,a=Math.cos(n),s=Math.sin(n),o=Math.cos(i),l=Math.sin(i),u=Math.cos(r),c=Math.sin(r);if("XYZ"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=-o*c,t[8]=l,t[1]=n+i*l,t[5]=e-r*l,t[9]=-s*o,t[2]=r-e*l,t[6]=i+n*l,t[10]=a*o}else if("YXZ"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e+r*s,t[4]=i*s-n,t[8]=a*l,t[1]=a*c,t[5]=a*u,t[9]=-s,t[2]=n*s-i,t[6]=r+e*s,t[10]=a*o}else if("ZXY"===e.order){let e=o*u,n=o*c,i=l*u,r=l*c;t[0]=e-r*s,t[4]=-a*c,t[8]=i+n*s,t[1]=n+i*s,t[5]=a*u,t[9]=r-e*s,t[2]=-a*l,t[6]=s,t[10]=a*o}else if("ZYX"===e.order){let e=a*u,n=a*c,i=s*u,r=s*c;t[0]=o*u,t[4]=i*l-n,t[8]=e*l+r,t[1]=o*c,t[5]=r*l+e,t[9]=n*l-i,t[2]=-l,t[6]=s*o,t[10]=a*o}else if("YZX"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=r-e*c,t[8]=i*c+n,t[1]=c,t[5]=a*u,t[9]=-s*u,t[2]=-l*u,t[6]=n*c+i,t[10]=e-r*c}else if("XZY"===e.order){let e=a*o,n=a*l,i=s*o,r=s*l;t[0]=o*u,t[4]=-c,t[8]=l*u,t[1]=e*c+r,t[5]=a*u,t[9]=n*c-i,t[2]=i*c-n,t[6]=s*u,t[10]=r*c+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(e5,e,e6)}lookAt(e,t,n){let i=this.elements;return e7.subVectors(e,t),0===e7.lengthSq()&&(e7.z=1),e7.normalize(),e8.crossVectors(n,e7),0===e8.lengthSq()&&(1===Math.abs(n.z)?e7.x+=1e-4:e7.z+=1e-4,e7.normalize(),e8.crossVectors(n,e7)),e8.normalize(),e9.crossVectors(e7,e8),i[0]=e8.x,i[4]=e9.x,i[8]=e7.x,i[1]=e8.y,i[5]=e9.y,i[9]=e7.y,i[2]=e8.z,i[6]=e9.z,i[10]=e7.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){let n=e.elements,i=t.elements,r=this.elements,a=n[0],s=n[4],o=n[8],l=n[12],u=n[1],c=n[5],h=n[9],d=n[13],p=n[2],f=n[6],m=n[10],g=n[14],v=n[3],_=n[7],y=n[11],x=n[15],b=i[0],S=i[4],M=i[8],T=i[12],w=i[1],E=i[5],A=i[9],C=i[13],R=i[2],P=i[6],I=i[10],L=i[14],N=i[3],U=i[7],D=i[11],O=i[15];return r[0]=a*b+s*w+o*R+l*N,r[4]=a*S+s*E+o*P+l*U,r[8]=a*M+s*A+o*I+l*D,r[12]=a*T+s*C+o*L+l*O,r[1]=u*b+c*w+h*R+d*N,r[5]=u*S+c*E+h*P+d*U,r[9]=u*M+c*A+h*I+d*D,r[13]=u*T+c*C+h*L+d*O,r[2]=p*b+f*w+m*R+g*N,r[6]=p*S+f*E+m*P+g*U,r[10]=p*M+f*A+m*I+g*D,r[14]=p*T+f*C+m*L+g*O,r[3]=v*b+_*w+y*R+x*N,r[7]=v*S+_*E+y*P+x*U,r[11]=v*M+_*A+y*I+x*D,r[15]=v*T+_*C+y*L+x*O,this}multiplyScalar(e){let t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){let e=this.elements,t=e[0],n=e[4],i=e[8],r=e[12],a=e[1],s=e[5],o=e[9],l=e[13],u=e[2],c=e[6],h=e[10],d=e[14];return e[3]*(r*o*c-i*l*c-r*s*h+n*l*h+i*s*d-n*o*d)+e[7]*(t*o*d-t*l*h+r*a*h-i*a*d+i*l*u-r*o*u)+e[11]*(t*l*c-t*s*d-r*a*c+n*a*d+r*s*u-n*l*u)+e[15]*(-i*s*u-t*o*c+t*s*h+i*a*c-n*a*h+n*o*u)}transpose(){let e,t=this.elements;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(e,t,n){let i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=n),this}invert(){let e=this.elements,t=e[0],n=e[1],i=e[2],r=e[3],a=e[4],s=e[5],o=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11],p=e[12],f=e[13],m=e[14],g=e[15],v=c*m*l-f*h*l+f*o*d-s*m*d-c*o*g+s*h*g,_=p*h*l-u*m*l-p*o*d+a*m*d+u*o*g-a*h*g,y=u*f*l-p*c*l+p*s*d-a*f*d-u*s*g+a*c*g,x=p*c*o-u*f*o-p*s*h+a*f*h+u*s*m-a*c*m,b=t*v+n*_+i*y+r*x;if(0===b)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let S=1/b;return e[0]=v*S,e[1]=(f*h*r-c*m*r-f*i*d+n*m*d+c*i*g-n*h*g)*S,e[2]=(s*m*r-f*o*r+f*i*l-n*m*l-s*i*g+n*o*g)*S,e[3]=(c*o*r-s*h*r-c*i*l+n*h*l+s*i*d-n*o*d)*S,e[4]=_*S,e[5]=(u*m*r-p*h*r+p*i*d-t*m*d-u*i*g+t*h*g)*S,e[6]=(p*o*r-a*m*r-p*i*l+t*m*l+a*i*g-t*o*g)*S,e[7]=(a*h*r-u*o*r+u*i*l-t*h*l-a*i*d+t*o*d)*S,e[8]=y*S,e[9]=(p*c*r-u*f*r-p*n*d+t*f*d+u*n*g-t*c*g)*S,e[10]=(a*f*r-p*s*r+p*n*l-t*f*l-a*n*g+t*s*g)*S,e[11]=(u*s*r-a*c*r-u*n*l+t*c*l+a*n*d-t*s*d)*S,e[12]=x*S,e[13]=(u*f*i-p*c*i+p*n*h-t*f*h-u*n*m+t*c*m)*S,e[14]=(p*s*i-a*f*i-p*n*o+t*f*o+a*n*m-t*s*m)*S,e[15]=(a*c*i-u*s*i+u*n*o-t*c*o-a*n*h+t*s*h)*S,this}scale(e){let t=this.elements,n=e.x,i=e.y,r=e.z;return t[0]*=n,t[4]*=i,t[8]*=r,t[1]*=n,t[5]*=i,t[9]*=r,t[2]*=n,t[6]*=i,t[10]*=r,t[3]*=n,t[7]*=i,t[11]*=r,this}getMaxScaleOnAxis(){let e=this.elements;return Math.sqrt(Math.max(e[0]*e[0]+e[1]*e[1]+e[2]*e[2],e[4]*e[4]+e[5]*e[5]+e[6]*e[6],e[8]*e[8]+e[9]*e[9]+e[10]*e[10]))}makeTranslation(e,t,n){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){let t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){let t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){let n=Math.cos(t),i=Math.sin(t),r=1-n,a=e.x,s=e.y,o=e.z,l=r*a,u=r*s;return this.set(l*a+n,l*s-i*o,l*o+i*s,0,l*s+i*o,u*s+n,u*o-i*a,0,l*o-i*s,u*o+i*a,r*o*o+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n,i,r,a){return this.set(1,n,r,0,e,1,a,0,t,i,1,0,0,0,0,1),this}compose(e,t,n){let i=this.elements,r=t._x,a=t._y,s=t._z,o=t._w,l=r+r,u=a+a,c=s+s,h=r*l,d=r*u,p=r*c,f=a*u,m=a*c,g=s*c,v=o*l,_=o*u,y=o*c,x=n.x,b=n.y,S=n.z;return i[0]=(1-(f+g))*x,i[1]=(d+y)*x,i[2]=(p-_)*x,i[3]=0,i[4]=(d-y)*b,i[5]=(1-(h+g))*b,i[6]=(m+v)*b,i[7]=0,i[8]=(p+_)*S,i[9]=(m-v)*S,i[10]=(1-(h+f))*S,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,n){let i=this.elements,r=e3.set(i[0],i[1],i[2]).length(),a=e3.set(i[4],i[5],i[6]).length(),s=e3.set(i[8],i[9],i[10]).length();0>this.determinant()&&(r=-r),e.x=i[12],e.y=i[13],e.z=i[14],e4.copy(this);let o=1/r,l=1/a,u=1/s;return e4.elements[0]*=o,e4.elements[1]*=o,e4.elements[2]*=o,e4.elements[4]*=l,e4.elements[5]*=l,e4.elements[6]*=l,e4.elements[8]*=u,e4.elements[9]*=u,e4.elements[10]*=u,t.setFromRotationMatrix(e4),n.x=r,n.y=a,n.z=s,this}makePerspective(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements;if(2e3===s)o=-(a+r)/(a-r),l=-2*a*r/(a-r);else if(2001===s)o=-a/(a-r),l=-a*r/(a-r);else throw Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);return u[0]=2*r/(t-e),u[4]=0,u[8]=(t+e)/(t-e),u[12]=0,u[1]=0,u[5]=2*r/(n-i),u[9]=(n+i)/(n-i),u[13]=0,u[2]=0,u[6]=0,u[10]=o,u[14]=l,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(e,t,n,i,r,a,s=2e3){let o,l,u=this.elements,c=1/(t-e),h=1/(n-i),d=1/(a-r);if(2e3===s)o=(a+r)*d,l=-2*d;else if(2001===s)o=r*d,l=-1*d;else throw Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);return u[0]=2*c,u[4]=0,u[8]=0,u[12]=-((t+e)*c),u[1]=0,u[5]=2*h,u[9]=0,u[13]=-((n+i)*h),u[2]=0,u[6]=0,u[10]=l,u[14]=-o,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(e){let t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){let n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}let e3=new eE,e4=new e2,e5=new eE(0,0,0),e6=new eE(1,1,1),e8=new eE,e9=new eE,e7=new eE,te=new e2,tt=new ew;class tn{constructor(e=0,t=0,n=0,i=tn.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=n,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,i=this._order){return this._x=e,this._y=t,this._z=n,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,n=!0){let i=e.elements,r=i[0],a=i[4],s=i[8],o=i[1],l=i[5],u=i[9],c=i[2],h=i[6],d=i[10];switch(t){case"XYZ":this._y=Math.asin(V(s,-1,1)),.9999999>Math.abs(s)?(this._x=Math.atan2(-u,d),this._z=Math.atan2(-a,r)):(this._x=Math.atan2(h,l),this._z=0);break;case"YXZ":this._x=Math.asin(-V(u,-1,1)),.9999999>Math.abs(u)?(this._y=Math.atan2(s,d),this._z=Math.atan2(o,l)):(this._y=Math.atan2(-c,r),this._z=0);break;case"ZXY":this._x=Math.asin(V(h,-1,1)),.9999999>Math.abs(h)?(this._y=Math.atan2(-c,d),this._z=Math.atan2(-a,l)):(this._y=0,this._z=Math.atan2(o,r));break;case"ZYX":this._y=Math.asin(-V(c,-1,1)),.9999999>Math.abs(c)?(this._x=Math.atan2(h,d),this._z=Math.atan2(o,r)):(this._x=0,this._z=Math.atan2(-a,l));break;case"YZX":this._z=Math.asin(V(o,-1,1)),.9999999>Math.abs(o)?(this._x=Math.atan2(-u,l),this._y=Math.atan2(-c,r)):(this._x=0,this._y=Math.atan2(s,d));break;case"XZY":this._z=Math.asin(-V(a,-1,1)),.9999999>Math.abs(a)?(this._x=Math.atan2(h,l),this._y=Math.atan2(s,r)):(this._x=Math.atan2(-u,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===n&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return te.makeRotationFromQuaternion(e),this.setFromRotationMatrix(te,t,n)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return tt.setFromEuler(this),this.setFromQuaternion(tt,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}tn.DEFAULT_ORDER="XYZ";class ti{constructor(){this.mask=1}set(e){this.mask=1<>>0}enable(e){this.mask|=1<1){for(let e=0;e1){for(let e=0;e0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(e=>({boxInitialized:e.boxInitialized,boxMin:e.box.min.toArray(),boxMax:e.box.max.toArray(),sphereInitialized:e.sphereInitialized,sphereRadius:e.sphere.radius,sphereCenter:e.sphere.center.toArray()})),i.maxInstanceCount=this._maxInstanceCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),null!==this._colorsTexture&&(i.colorsTexture=this._colorsTexture.toJSON(e)),null!==this.boundingSphere&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),null!==this.boundingBox&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()})),this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(e.geometries,this.geometry);let t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){let n=t.shapes;if(Array.isArray(n))for(let t=0,i=n.length;t0){i.children=[];for(let t=0;t0){i.animations=[];for(let t=0;t0&&(n.geometries=t),i.length>0&&(n.materials=i),r.length>0&&(n.textures=r),s.length>0&&(n.images=s),o.length>0&&(n.shapes=o),l.length>0&&(n.skeletons=l),u.length>0&&(n.animations=u),c.length>0&&(n.nodes=c)}return n.object=i,n;function a(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(e,t,n,i,r){tx.subVectors(i,t),tb.subVectors(n,t),tS.subVectors(e,t);let a=tx.dot(tx),s=tx.dot(tb),o=tx.dot(tS),l=tb.dot(tb),u=tb.dot(tS),c=a*l-s*s;if(0===c)return r.set(0,0,0),null;let h=1/c,d=(l*o-s*u)*h,p=(a*u-s*o)*h;return r.set(1-d-p,p,d)}static containsPoint(e,t,n,i){return null!==this.getBarycoord(e,t,n,i,tM)&&tM.x>=0&&tM.y>=0&&tM.x+tM.y<=1}static getInterpolation(e,t,n,i,r,a,s,o){return null===this.getBarycoord(e,t,n,i,tM)?(o.x=0,o.y=0,"z"in o&&(o.z=0),"w"in o&&(o.w=0),null):(o.setScalar(0),o.addScaledVector(r,tM.x),o.addScaledVector(a,tM.y),o.addScaledVector(s,tM.z),o)}static getInterpolatedAttribute(e,t,n,i,r,a){return tP.setScalar(0),tI.setScalar(0),tL.setScalar(0),tP.fromBufferAttribute(e,t),tI.fromBufferAttribute(e,n),tL.fromBufferAttribute(e,i),a.setScalar(0),a.addScaledVector(tP,r.x),a.addScaledVector(tI,r.y),a.addScaledVector(tL,r.z),a}static isFrontFacing(e,t,n,i){return tx.subVectors(n,t),tb.subVectors(e,t),0>tx.cross(tb).dot(i)}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,i){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,n,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,n),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return tx.subVectors(this.c,this.b),tb.subVectors(this.a,this.b),.5*tx.cross(tb).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return tN.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return tN.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,n,i,r){return tN.getInterpolation(e,this.a,this.b,this.c,t,n,i,r)}containsPoint(e){return tN.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return tN.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){let n,i,r=this.a,a=this.b,s=this.c;tT.subVectors(a,r),tw.subVectors(s,r),tA.subVectors(e,r);let o=tT.dot(tA),l=tw.dot(tA);if(o<=0&&l<=0)return t.copy(r);tC.subVectors(e,a);let u=tT.dot(tC),c=tw.dot(tC);if(u>=0&&c<=u)return t.copy(a);let h=o*c-u*l;if(h<=0&&o>=0&&u<=0)return n=o/(o-u),t.copy(r).addScaledVector(tT,n);tR.subVectors(e,s);let d=tT.dot(tR),p=tw.dot(tR);if(p>=0&&d<=p)return t.copy(s);let f=d*l-o*p;if(f<=0&&l>=0&&p<=0)return i=l/(l-p),t.copy(r).addScaledVector(tw,i);let m=u*p-d*c;if(m<=0&&c-u>=0&&d-p>=0)return tE.subVectors(s,a),i=(c-u)/(c-u+(d-p)),t.copy(a).addScaledVector(tE,i);let g=1/(m+f+h);return n=f*g,i=h*g,t.copy(r).addScaledVector(tT,n).addScaledVector(tw,i)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let tU={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32},tD={h:0,s:0,l:0},tO={h:0,s:0,l:0};function tF(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*6*(2/3-n):e}class tz{constructor(e,t,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,n)}set(e,t,n){return void 0===t&&void 0===n?e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e):this.setRGB(e,t,n),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=I){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,eu.toWorkingColorSpace(this,t),this}setRGB(e,t,n,i=eu.workingColorSpace){return this.r=e,this.g=t,this.b=n,eu.toWorkingColorSpace(this,i),this}setHSL(e,t,n,i=eu.workingColorSpace){if(e=G(e,1),t=V(t,0,1),n=V(n,0,1),0===t)this.r=this.g=this.b=n;else{let i=n<=.5?n*(1+t):n+t-n*t,r=2*n-i;this.r=tF(r,i,e+1/3),this.g=tF(r,i,e),this.b=tF(r,i,e-1/3)}return eu.toWorkingColorSpace(this,i),this}setStyle(e,t=I){let n;function i(t){void 0!==t&&1>parseFloat(t)&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let r,a=n[1],s=n[2];switch(a){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return i(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){let i=n[1],r=i.length;if(3===r)return this.setRGB(parseInt(i.charAt(0),16)/15,parseInt(i.charAt(1),16)/15,parseInt(i.charAt(2),16)/15,t);if(6===r)return this.setHex(parseInt(i,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=I){let n=tU[e.toLowerCase()];return void 0!==n?this.setHex(n,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ec(e.r),this.g=ec(e.g),this.b=ec(e.b),this}copyLinearToSRGB(e){return this.r=eh(e.r),this.g=eh(e.g),this.b=eh(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=I){return eu.fromWorkingColorSpace(tB.copy(this),e),65536*Math.round(V(255*tB.r,0,255))+256*Math.round(V(255*tB.g,0,255))+Math.round(V(255*tB.b,0,255))}getHexString(e=I){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=eu.workingColorSpace){let n,i;eu.fromWorkingColorSpace(tB.copy(this),t);let r=tB.r,a=tB.g,s=tB.b,o=Math.max(r,a,s),l=Math.min(r,a,s),u=(l+o)/2;if(l===o)n=0,i=0;else{let e=o-l;switch(i=u<=.5?e/(o+l):e/(2-o-l),o){case r:n=(a-s)/e+6*(a0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(let t in e){let n=e[t];if(void 0===n){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}let i=this[t];if(void 0===i){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(n):i&&i.isVector3&&n&&n.isVector3?i.copy(n):this[t]=n}}toJSON(e){let t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});let n={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};function i(e){let t=[];for(let n in e){let i=e[n];delete i.metadata,t.push(i)}return t}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),void 0!==this.sheen&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),void 0!==this.dispersion&&(n.dispersion=this.dispersion),void 0!==this.iridescence&&(n.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(n.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),void 0!==this.anisotropy&&(n.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapRotation&&(n.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(n.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(n.blending=this.blending),0!==this.side&&(n.side=this.side),!0===this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=!0),204!==this.blendSrc&&(n.blendSrc=this.blendSrc),205!==this.blendDst&&(n.blendDst=this.blendDst),100!==this.blendEquation&&(n.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(n.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&(n.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(n.blendAlpha=this.blendAlpha),3!==this.depthFunc&&(n.depthFunc=this.depthFunc),!1===this.depthTest&&(n.depthTest=this.depthTest),!1===this.depthWrite&&(n.depthWrite=this.depthWrite),!1===this.colorWrite&&(n.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(n.stencilWriteMask=this.stencilWriteMask),519!==this.stencilFunc&&(n.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(n.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(n.stencilFuncMask=this.stencilFuncMask),7680!==this.stencilFail&&(n.stencilFail=this.stencilFail),7680!==this.stencilZFail&&(n.stencilZFail=this.stencilZFail),7680!==this.stencilZPass&&(n.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(n.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaHash&&(n.alphaHash=!0),!0===this.alphaToCoverage&&(n.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=!0),!0===this.forceSinglePass&&(n.forceSinglePass=!0),!0===this.wireframe&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(n.flatShading=!0),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),!1===this.fog&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData),t){let t=i(e.textures),r=i(e.images);t.length>0&&(n.textures=t),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;let t=e.clippingPlanes,n=null;if(null!==t){let e=t.length;n=Array(e);for(let i=0;i!==e;++i)n[i]=t[i].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}}class tV extends tH{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}let tG=function(){let e=new ArrayBuffer(4),t=new Float32Array(e),n=new Uint32Array(e),i=new Uint32Array(512),r=new Uint32Array(512);for(let e=0;e<256;++e){let t=e-127;t<-27?(i[e]=0,i[256|e]=32768,r[e]=24,r[256|e]=24):t<-14?(i[e]=1024>>-t-14,i[256|e]=1024>>-t-14|32768,r[e]=-t-1,r[256|e]=-t-1):t<=15?(i[e]=t+15<<10,i[256|e]=t+15<<10|32768,r[e]=13,r[256|e]=13):t<128?(i[e]=31744,i[256|e]=64512,r[e]=24,r[256|e]=24):(i[e]=31744,i[256|e]=64512,r[e]=13,r[256|e]=13)}let a=new Uint32Array(2048),s=new Uint32Array(64),o=new Uint32Array(64);for(let e=1;e<1024;++e){let t=e<<13,n=0;for(;(8388608&t)==0;)t<<=1,n-=8388608;t&=-8388609,n+=0x38800000,a[e]=t|n}for(let e=1024;e<2048;++e)a[e]=0x38000000+(e-1024<<13);for(let e=1;e<31;++e)s[e]=e<<23;s[31]=0x47800000,s[32]=0x80000000;for(let e=33;e<63;++e)s[e]=0x80000000+(e-32<<23);s[63]=0xc7800000;for(let e=1;e<64;++e)32!==e&&(o[e]=1024);return{floatView:t,uint32View:n,baseTable:i,shiftTable:r,mantissaTable:a,exponentTable:s,offsetTable:o}}();function tW(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=V(e,-65504,65504),tG.floatView[0]=e;let t=tG.uint32View[0],n=t>>23&511;return tG.baseTable[n]+((8388607&t)>>tG.shiftTable[n])}function tj(e){let t=e>>10;return tG.uint32View[0]=tG.mantissaTable[tG.offsetTable[t]+(1023&e)]+tG.exponentTable[t],tG.floatView[0]}let tX={toHalfFloat:tW,fromHalfFloat:tj},tq=new eE,tY=new Y;class tZ{constructor(e,t,n=!1){if(Array.isArray(e))throw TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=n,this.usage=35044,this.updateRanges=[],this.gpuType=1015,this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let i=0,r=this.itemSize;it.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new eE(-1/0,-1/0,-1/0),new eE(Infinity,Infinity,Infinity));return}if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e0&&(e.userData=this.userData),void 0!==this.parameters){let t=this.parameters;for(let n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};let t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});let n=this.attributes;for(let t in n){let i=n[t];e.data.attributes[t]=i.toJSON(e.data)}let i={},r=!1;for(let t in this.morphAttributes){let n=this.morphAttributes[t],a=[];for(let t=0,i=n.length;t0&&(i[t]=a,r=!0)}r&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);let a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));let s=this.boundingSphere;return null!==s&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let t={};this.name=e.name;let n=e.index;null!==n&&this.setIndex(n.clone(t));let i=e.attributes;for(let e in i){let n=i[e];this.setAttribute(e,n.clone(t))}let r=e.morphAttributes;for(let e in r){let n=[],i=r[e];for(let e=0,r=i.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;e(e.far-e.near)**2)||(ni.copy(r).invert(),nr.copy(e.ray).applyMatrix4(ni),(null===n.boundingBox||!1!==nr.intersectsBox(n.boundingBox))&&this._computeIntersections(e,t,nr)))}_computeIntersections(e,t,n){let i,r=this.geometry,a=this.material,s=r.index,o=r.attributes.position,l=r.attributes.uv,u=r.attributes.uv1,c=r.attributes.normal,h=r.groups,d=r.drawRange;if(null!==s)if(Array.isArray(a))for(let r=0,o=h.length;rn.far?null:{distance:l,point:np.clone(),object:e}}(e,t,n,i,no,nl,nu,nd);if(c){let e=new eE;tN.getBarycoord(nd,no,nl,nu,e),r&&(c.uv=tN.getInterpolatedAttribute(r,o,l,u,e,new Y)),a&&(c.uv1=tN.getInterpolatedAttribute(a,o,l,u,e,new Y)),s&&(c.normal=tN.getInterpolatedAttribute(s,o,l,u,e,new eE),c.normal.dot(i.direction)>0&&c.normal.multiplyScalar(-1));let t={a:o,b:l,c:u,normal:new eE,materialIndex:0};tN.getNormal(no,nl,nu,t.normal),c.face=t,c.barycoord=e}return c}class ng extends nn{constructor(e=1,t=1,n=1,i=1,r=1,a=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:i,heightSegments:r,depthSegments:a};const s=this;i=Math.floor(i),r=Math.floor(r);const o=[],l=[],u=[],c=[];let h=0,d=0;function p(e,t,n,i,r,a,p,f,m,g,v){let _=a/m,y=p/g,x=a/2,b=p/2,S=f/2,M=m+1,T=g+1,w=0,E=0,A=new eE;for(let a=0;a0?1:-1,u.push(A.x,A.y,A.z),c.push(o/m),c.push(1-a/g),w+=1}}for(let e=0;e0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;let n={};for(let e in this.extensions)!0===this.extensions[e]&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}class nS extends ty{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new e2,this.projectionMatrix=new e2,this.projectionMatrixInverse=new e2,this.coordinateSystem=2e3}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}let nM=new eE,nT=new Y,nw=new Y;class nE extends nS{constructor(e=50,t=1,n=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){let t=.5*this.getFilmHeight()/e;this.fov=2*k*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){let e=Math.tan(.5*B*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*k*Math.atan(Math.tan(.5*B*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,n){nM.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(nM.x,nM.y).multiplyScalar(-e/nM.z),nM.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(nM.x,nM.y).multiplyScalar(-e/nM.z)}getViewSize(e,t){return this.getViewBounds(e,nT,nw),t.subVectors(nw,nT)}setViewOffset(e,t,n,i,r,a){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=i,this.view.width=r,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let e=this.near,t=e*Math.tan(.5*B*this.fov)/this.zoom,n=2*t,i=this.aspect*n,r=-.5*i,a=this.view;if(null!==this.view&&this.view.enabled){let e=a.fullWidth,s=a.fullHeight;r+=a.offsetX*i/e,t-=a.offsetY*n/s,i*=a.width/e,n*=a.height/s}let s=this.filmOffset;0!==s&&(r+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,t,t-n,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){let t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}class nA extends ty{constructor(e,t,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new nE(-90,1,e,t);i.layers=this.layers,this.add(i);const r=new nE(-90,1,e,t);r.layers=this.layers,this.add(r);const a=new nE(-90,1,e,t);a.layers=this.layers,this.add(a);const s=new nE(-90,1,e,t);s.layers=this.layers,this.add(s);const o=new nE(-90,1,e,t);o.layers=this.layers,this.add(o);const l=new nE(-90,1,e,t);l.layers=this.layers,this.add(l)}updateCoordinateSystem(){let e=this.coordinateSystem,t=this.children.concat(),[n,i,r,a,s,o]=t;for(let e of t)this.remove(e);if(2e3===e)n.up.set(0,1,0),n.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),r.up.set(0,0,-1),r.lookAt(0,1,0),a.up.set(0,0,1),a.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),o.up.set(0,1,0),o.lookAt(0,0,-1);else if(2001===e)n.up.set(0,-1,0),n.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),r.up.set(0,0,1),r.lookAt(0,1,0),a.up.set(0,0,-1),a.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),o.up.set(0,-1,0),o.lookAt(0,0,-1);else throw Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(let e of t)this.add(e),e.updateMatrixWorld()}update(e,t){null===this.parent&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());let[r,a,s,o,l,u]=this.children,c=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;let f=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0,i),e.render(t,r),e.setRenderTarget(n,1,i),e.render(t,a),e.setRenderTarget(n,2,i),e.render(t,s),e.setRenderTarget(n,3,i),e.render(t,o),e.setRenderTarget(n,4,i),e.render(t,l),n.texture.generateMipmaps=f,e.setRenderTarget(n,5,i),e.render(t,u),e.setRenderTarget(c,h,d),e.xr.enabled=p,n.texture.needsPMREMUpdate=!0}}class nC extends ev{constructor(e,t,n,i,r,a,s,o,l,u){super(e=void 0!==e?e:[],t=void 0!==t?t:301,n,i,r,a,s,o,l,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class nR extends ex{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const n={width:e,height:e,depth:1};this.texture=new nC([n,n,n,n,n,n],t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:1006}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;let n={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},i=new ng(5,5,5),r=new nb({name:"CubemapFromEquirect",uniforms:nv(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:1,blending:0});r.uniforms.tEquirect.value=t;let a=new nf(i,r),s=t.minFilter;return 1008===t.minFilter&&(t.minFilter=1006),new nA(1,10,this).update(e,a),t.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(e,t,n,i){let r=e.getRenderTarget();for(let r=0;r<6;r++)e.setRenderTarget(this,r),e.clear(t,n,i);e.setRenderTarget(r)}}class nP{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new tz(e),this.density=t}clone(){return new nP(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class nI{constructor(e,t=1,n=1e3){this.isFog=!0,this.name="",this.color=new tz(e),this.near=t,this.far=n}clone(){return new nI(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class nL extends ty{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new tn,this.environmentIntensity=1,this.environmentRotation=new tn,this.overrideMaterial=null,"u">typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){let t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),1!==this.environmentIntensity&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class nN{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=35044,this.updateRanges=[],this.version=0,this.uuid=H()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,n){e*=this.stride,n*=t.stride;for(let i=0,r=this.stride;ie.far||t.push({distance:o,point:nF.clone(),uv:tN.getInterpolation(nF,nG,nW,nj,nX,nq,nY,new Y),face:null,object:this})}copy(e,t){return super.copy(e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function nJ(e,t,n,i,r,a){nk.subVectors(e,n).addScalar(.5).multiply(i),void 0!==r?(nH.x=a*nk.x-r*nk.y,nH.y=r*nk.x+a*nk.y):nH.copy(nk),e.copy(t),e.x+=nH.x,e.y+=nH.y,e.applyMatrix4(nV)}let nK=new eE,n$=new eE;class nQ extends ty{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);let t=e.levels;for(let e=0,n=t.length;e0){let n,i;for(n=1,i=t.length;n0){nK.setFromMatrixPosition(this.matrixWorld);let n=e.ray.origin.distanceTo(nK);this.getObjectForDistance(n).raycast(e,t)}}update(e){let t=this.levels;if(t.length>1){let n,i;nK.setFromMatrixPosition(e.matrixWorld),n$.setFromMatrixPosition(this.matrixWorld);let r=nK.distanceTo(n$)/e.zoom;for(n=1,t[0].object.visible=!0,i=t.length;n=e)t[n-1].object.visible=!1,t[n].object.visible=!0;else break}for(this._currentLevel=n-1;n1?null:t.copy(e.start).addScaledVector(n,r)}intersectsLine(e){let t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){let n=t||i_.getNormalMatrix(e),i=this.coplanarPoint(ig).applyMatrix4(e),r=this.normal.applyMatrix3(n).normalize();return this.constant=-i.dot(r),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}let ix=new eq,ib=new eE;class iS{constructor(e=new iy,t=new iy,n=new iy,i=new iy,r=new iy,a=new iy){this.planes=[e,t,n,i,r,a]}set(e,t,n,i,r,a){let s=this.planes;return s[0].copy(e),s[1].copy(t),s[2].copy(n),s[3].copy(i),s[4].copy(r),s[5].copy(a),this}copy(e){let t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e,t=2e3){let n=this.planes,i=e.elements,r=i[0],a=i[1],s=i[2],o=i[3],l=i[4],u=i[5],c=i[6],h=i[7],d=i[8],p=i[9],f=i[10],m=i[11],g=i[12],v=i[13],_=i[14],y=i[15];if(n[0].setComponents(o-r,h-l,m-d,y-g).normalize(),n[1].setComponents(o+r,h+l,m+d,y+g).normalize(),n[2].setComponents(o+a,h+u,m+p,y+v).normalize(),n[3].setComponents(o-a,h-u,m-p,y-v).normalize(),n[4].setComponents(o-s,h-c,m-f,y-_).normalize(),2e3===t)n[5].setComponents(o+s,h+c,m+f,y+_).normalize();else if(2001===t)n[5].setComponents(s,c,f,_).normalize();else throw Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),ix.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{let t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),ix.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(ix)}intersectsSprite(e){return ix.center.set(0,0,0),ix.radius=.7071067811865476,ix.applyMatrix4(e.matrixWorld),this.intersectsSphere(ix)}intersectsSphere(e){let t=this.planes,n=e.center,i=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)0?e.max.x:e.min.x,ib.y=i.normal.y>0?e.max.y:e.min.y,ib.z=i.normal.z>0?e.max.z:e.min.z,0>i.distanceToPoint(ib))return!1}return!0}containsPoint(e){let t=this.planes;for(let n=0;n<6;n++)if(0>t[n].distanceToPoint(e))return!1;return!0}clone(){return new this.constructor().copy(this)}}function iM(e,t){return e-t}function iT(e,t){return e.z-t.z}function iw(e,t){return t.z-e.z}let iE=new e2,iA=new tz(1,1,1),iC=new iS,iR=new eR,iP=new eq,iI=new eE,iL=new eE,iN=new eE,iU=new class{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t,n,i){let r=this.pool,a=this.list;this.index>=r.length&&r.push({start:-1,count:-1,z:-1,index:-1});let s=r[this.index];a.push(s),this.index++,s.start=e,s.count=t,s.z=n,s.index=i}reset(){this.list.length=0,this.index=0}},iD=new nf,iO=[];function iF(e,t){if(e.constructor!==t.constructor){let n=Math.min(e.length,t.length);for(let i=0;i65535?new Uint32Array(i):new Uint16Array(i);t.setIndex(new tZ(e,1))}this._geometryInitialized=!0}}_validateGeometry(e){let t=this.geometry;if(!!e.getIndex()!=!!t.getIndex())throw Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(let n in t.attributes){if(!e.hasAttribute(n))throw Error(`THREE.BatchedMesh: Added geometry missing "${n}". All geometries must have consistent attributes.`);let i=e.getAttribute(n),r=t.getAttribute(n);if(i.itemSize!==r.itemSize||i.normalized!==r.normalized)throw Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(e){let t=this._instanceInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid instanceId ${e}. Instance is either out of range or has been deleted.`)}validateGeometryId(e){let t=this._geometryInfo;if(e<0||e>=t.length||!1===t[e].active)throw Error(`THREE.BatchedMesh: Invalid geometryId ${e}. Geometry is either out of range or has been deleted.`)}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new eR);let e=this.boundingBox,t=this._instanceInfo;e.makeEmpty();for(let n=0,i=t.length;n=this.maxInstanceCount&&0===this._availableInstanceIds.length)throw Error("THREE.BatchedMesh: Maximum item count reached.");let t={visible:!0,active:!0,geometryIndex:e},n=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(iM),n=this._availableInstanceIds.shift(),this._instanceInfo[n]=t):(n=this._instanceInfo.length,this._instanceInfo.push(t));let i=this._matricesTexture;iE.identity().toArray(i.image.data,16*n),i.needsUpdate=!0;let r=this._colorsTexture;return r&&(iA.toArray(r.image.data,4*n),r.needsUpdate=!0),this._visibilityChanged=!0,n}addGeometry(e,t=-1,n=-1){let i;this._initializeGeometry(e),this._validateGeometry(e);let r={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},a=this._geometryInfo;r.vertexStart=this._nextVertexStart,r.reservedVertexCount=-1===t?e.getAttribute("position").count:t;let s=e.getIndex();if(null!==s&&(r.indexStart=this._nextIndexStart,r.reservedIndexCount=-1===n?s.count:n),-1!==r.indexStart&&r.indexStart+r.reservedIndexCount>this._maxIndexCount||r.vertexStart+r.reservedVertexCount>this._maxVertexCount)throw Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(iM),a[i=this._availableGeometryIds.shift()]=r):(i=this._geometryCount,this._geometryCount++,a.push(r)),this.setGeometryAt(i,e),this._nextIndexStart=r.indexStart+r.reservedIndexCount,this._nextVertexStart=r.vertexStart+r.reservedVertexCount,i}setGeometryAt(e,t){if(e>=this._geometryCount)throw Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);let n=this.geometry,i=null!==n.getIndex(),r=n.getIndex(),a=t.getIndex(),s=this._geometryInfo[e];if(i&&a.count>s.reservedIndexCount||t.attributes.position.count>s.reservedVertexCount)throw Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");let o=s.vertexStart,l=s.reservedVertexCount;for(let e in s.vertexCount=t.getAttribute("position").count,n.attributes){let i=t.getAttribute(e),r=n.getAttribute(e);!function(e,t,n=0){let i=t.itemSize;if(e.isInterleavedBufferAttribute||e.array.constructor!==t.array.constructor){let r=e.count;for(let a=0;a=t.length||!1===t[e].active)return this;let n=this._instanceInfo;for(let t=0,i=n.length;tt).sort((e,t)=>n[e].vertexStart-n[t].vertexStart),r=this.geometry;for(let a=0,s=n.length;a=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingBox){let e=new eR,t=n.index,r=n.attributes.position;for(let n=i.start,a=i.start+i.count;n=this._geometryCount)return null;let n=this.geometry,i=this._geometryInfo[e];if(null===i.boundingSphere){let t=new eq;this.getBoundingBoxAt(e,iR),iR.getCenter(t.center);let r=n.index,a=n.attributes.position,s=0;for(let e=i.start,n=i.start+i.count;ee.active);if(Math.max(...n.map(e=>e.vertexStart+e.reservedVertexCount))>e)throw Error(`BatchedMesh: Geometry vertex values are being used outside the range ${t}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...n.map(e=>e.indexStart+e.reservedIndexCount))>t)throw Error(`BatchedMesh: Geometry index values are being used outside the range ${t}. Cannot shrink further.`);let i=this.geometry;i.dispose(),this._maxVertexCount=e,this._maxIndexCount=t,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new nn,this._initializeGeometry(i));let r=this.geometry;for(let e in i.index&&iF(i.index.array,r.index.array),i.attributes)iF(i.attributes[e].array,r.attributes[e].array)}raycast(e,t){let n=this._instanceInfo,i=this._geometryInfo,r=this.matrixWorld,a=this.geometry;iD.material=this.material,iD.geometry.index=a.index,iD.geometry.attributes=a.attributes,null===iD.geometry.boundingBox&&(iD.geometry.boundingBox=new eR),null===iD.geometry.boundingSphere&&(iD.geometry.boundingSphere=new eq);for(let a=0,s=n.length;a({...e,boundingBox:null!==e.boundingBox?e.boundingBox.clone():null,boundingSphere:null!==e.boundingSphere?e.boundingSphere.clone():null})),this._instanceInfo=e._instanceInfo.map(e=>({...e})),this._maxInstanceCount=e._maxInstanceCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),null!==this._colorsTexture&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){return this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,null!==this._colorsTexture&&(this._colorsTexture.dispose(),this._colorsTexture=null),this}onBeforeRender(e,t,n,i,r){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;let a=i.getIndex(),s=null===a?1:a.array.BYTES_PER_ELEMENT,o=this._instanceInfo,l=this._multiDrawStarts,u=this._multiDrawCounts,c=this._geometryInfo,h=this.perObjectFrustumCulled,d=this._indirectTexture,p=d.image.data;h&&(iE.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse).multiply(this.matrixWorld),iC.setFromProjectionMatrix(iE,e.coordinateSystem));let f=0;if(this.sortObjects){iE.copy(this.matrixWorld).invert(),iI.setFromMatrixPosition(n.matrixWorld).applyMatrix4(iE),iL.set(0,0,-1).transformDirection(n.matrixWorld).transformDirection(iE);for(let e=0,t=o.length;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;ei)return;ij.applyMatrix4(e.matrixWorld);let o=t.ray.origin.distanceTo(ij);if(!(ot.far))return{distance:o,point:iX.clone().applyMatrix4(e.matrixWorld),index:r,face:null,faceIndex:null,barycoord:null,object:e}}let iZ=new eE,iJ=new eE;class iK extends iq{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){let e=this.geometry;if(null===e.index){let t=e.attributes.position,n=[];for(let e=0,i=t.count;e0){let n=e[t[0]];if(void 0!==n){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=n.length;er.far)return;a.push({distance:l,distanceToRay:Math.sqrt(o),point:n,index:t,face:null,faceIndex:null,barycoord:null,object:s})}}class i6 extends ty{constructor(){super(),this.isGroup=!0,this.type="Group"}}class i8 extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isVideoTexture=!0,this.minFilter=void 0!==a?a:1006,this.magFilter=void 0!==r?r:1006,this.generateMipmaps=!1;const u=this;"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(function t(){u.needsUpdate=!0,e.requestVideoFrameCallback(t)})}clone(){return new this.constructor(this.image).copy(this)}update(){let e=this.image;!1=="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class i9 extends ev{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=1003,this.minFilter=1003,this.generateMipmaps=!1,this.needsUpdate=!0}}class i7 extends ev{constructor(e,t,n,i,r,a,s,o,l,u,c,h){super(null,a,s,o,l,u,i,r,c,h),this.isCompressedTexture=!0,this.image={width:t,height:n},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class re extends i7{constructor(e,t,n,i,r,a){super(e,t,n,r,a),this.isCompressedArrayTexture=!0,this.image.depth=i,this.wrapR=1001,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class rt extends i7{constructor(e,t,n){super(void 0,e[0].width,e[0].height,t,n,301),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class rn extends ev{constructor(e,t,n,i,r,a,s,o,l){super(e,t,n,i,r,a,s,o,l),this.isCanvasTexture=!0,this.needsUpdate=!0}}class ri extends ev{constructor(e,t,n,i,r,a,s,o,l,u=1026){if(1026!==u&&1027!==u)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&1026===u&&(n=1014),void 0===n&&1027===u&&(n=1020),super(null,i,r,a,s,o,u,n,l),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=void 0!==s?s:1003,this.minFilter=void 0!==o?o:1003,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.compareFunction=e.compareFunction,this}toJSON(e){let t=super.toJSON(e);return null!==this.compareFunction&&(t.compareFunction=this.compareFunction),t}}class rr{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){let n=this.getUtoTmapping(e);return this.getPoint(n,t)}getPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}getSpacedPoints(e=5){let t=[];for(let n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}getLength(){let e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let t=[],n,i=this.getPoint(0),r=0;t.push(0);for(let a=1;a<=e;a++)t.push(r+=(n=this.getPoint(a/e)).distanceTo(i)),i=n;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){let n,i=this.getLengths(),r=0,a=i.length;n=t||e*i[a-1];let s=0,o=a-1,l;for(;s<=o;)if((l=i[r=Math.floor(s+(o-s)/2)]-n)<0)s=r+1;else if(l>0)o=r-1;else{o=r;break}if(i[r=o]===n)return r/(a-1);let u=i[r],c=i[r+1];return(r+(n-u)/(c-u))/(a-1)}getTangent(e,t){let n=e-1e-4,i=e+1e-4;n<0&&(n=0),i>1&&(i=1);let r=this.getPoint(n),a=this.getPoint(i),s=t||(r.isVector2?new Y:new eE);return s.copy(a).sub(r).normalize(),s}getTangentAt(e,t){let n=this.getUtoTmapping(e);return this.getTangent(n,t)}computeFrenetFrames(e,t){let n=new eE,i=[],r=[],a=[],s=new eE,o=new e2;for(let t=0;t<=e;t++){let n=t/e;i[t]=this.getTangentAt(n,new eE)}r[0]=new eE,a[0]=new eE;let l=Number.MAX_VALUE,u=Math.abs(i[0].x),c=Math.abs(i[0].y),h=Math.abs(i[0].z);u<=l&&(l=u,n.set(1,0,0)),c<=l&&(l=c,n.set(0,1,0)),h<=l&&n.set(0,0,1),s.crossVectors(i[0],n).normalize(),r[0].crossVectors(i[0],s),a[0].crossVectors(i[0],r[0]);for(let t=1;t<=e;t++){if(r[t]=r[t-1].clone(),a[t]=a[t-1].clone(),s.crossVectors(i[t-1],i[t]),s.length()>Number.EPSILON){s.normalize();let e=Math.acos(V(i[t-1].dot(i[t]),-1,1));r[t].applyMatrix4(o.makeRotationAxis(s,e))}a[t].crossVectors(i[t],r[t])}if(!0===t){let t=Math.acos(V(r[0].dot(r[e]),-1,1));t/=e,i[0].dot(s.crossVectors(r[0],r[e]))>0&&(t=-t);for(let n=1;n<=e;n++)r[n].applyMatrix4(o.makeRotationAxis(i[n],t*n)),a[n].crossVectors(i[n],r[n])}return{tangents:i,normals:r,binormals:a}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){let e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class ra extends rr{constructor(e=0,t=0,n=1,i=1,r=0,a=2*Math.PI,s=!1,o=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=n,this.yRadius=i,this.aStartAngle=r,this.aEndAngle=a,this.aClockwise=s,this.aRotation=o}getPoint(e,t=new Y){let n=2*Math.PI,i=this.aEndAngle-this.aStartAngle,r=Math.abs(i)n;)i-=n;i0?0:(Math.floor(Math.abs(o)/a)+1)*a:0===l&&o===a-1&&(o=a-2,l=1),this.closed||o>0?n=r[(o-1)%a]:(rl.subVectors(r[0],r[1]).add(r[0]),n=rl);let u=r[o%a],c=r[(o+1)%a];if(this.closed||o+2n.length-2?n.length-1:r+1],u=n[r>n.length-3?n.length-1:r+2];return t.set(rp(a,s.x,o.x,l.x,u.x),rp(a,s.y,o.y,l.y,u.y)),t}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t=n){let e=i[r]-n,a=this.curves[r],s=a.getLength(),o=0===s?0:1-e/s;return a.getPointAt(o,t)}r++}return null}getLength(){let e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let e=[],t=0;for(let n=0,i=this.curves.length;n1&&!n[n.length-1].equals(n[0])&&n.push(n[0]),n}copy(e){super.copy(e),this.curves=[];for(let t=0,n=e.curves.length;t0){let e=l.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(l);let u=l.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){let e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class rE extends nn{constructor(e=[new Y(0,-.5),new Y(.5,0),new Y(0,.5)],t=12,n=0,i=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:n,phiLength:i},t=Math.floor(t),i=V(i,0,2*Math.PI);const r=[],a=[],s=[],o=[],l=[],u=1/t,c=new eE,h=new Y,d=new eE,p=new eE,f=new eE;let m=0,g=0;for(let t=0;t<=e.length-1;t++)switch(t){case 0:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,f.copy(d),d.normalize(),o.push(d.x,d.y,d.z);break;case e.length-1:o.push(f.x,f.y,f.z);break;default:m=e[t+1].x-e[t].x,d.x=+(g=e[t+1].y-e[t].y),d.y=-m,d.z=0*g,p.copy(d),d.x+=f.x,d.y+=f.y,d.z+=f.z,d.normalize(),o.push(d.x,d.y,d.z),f.copy(p)}for(let r=0;r<=t;r++){const d=n+r*u*i,p=Math.sin(d),f=Math.cos(d);for(let n=0;n<=e.length-1;n++){c.x=e[n].x*p,c.y=e[n].y,c.z=e[n].x*f,a.push(c.x,c.y,c.z),h.x=r/t,h.y=n/(e.length-1),s.push(h.x,h.y);const i=o[3*n+0]*p,u=o[3*n+1],d=o[3*n+0]*f;l.push(i,u,d)}}for(let n=0;n0||0!==i)&&(u.push(a,s,l),_+=3),(t>0||i!==r-1)&&(u.push(s,o,l),_+=3)}l.addGroup(g,_,0),g+=_})(),!1===a&&(e>0&&v(!0),t>0&&v(!1)),this.setIndex(u),this.setAttribute("position",new t4(c,3)),this.setAttribute("normal",new t4(h,3)),this.setAttribute("uv",new t4(d,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rR(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rP extends rR{constructor(e=1,t=1,n=32,i=1,r=!1,a=0,s=2*Math.PI){super(0,e,t,n,i,r,a,s),this.type="ConeGeometry",this.parameters={radius:e,height:t,radialSegments:n,heightSegments:i,openEnded:r,thetaStart:a,thetaLength:s}}static fromJSON(e){return new rP(e.radius,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class rI extends nn{constructor(e=[],t=[],n=1,i=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:n,detail:i};const r=[],a=[];function s(e){r.push(e.x,e.y,e.z)}function o(t,n){let i=3*t;n.x=e[i+0],n.y=e[i+1],n.z=e[i+2]}function l(e,t,n,i){i<0&&1===e.x&&(a[t]=e.x-1),0===n.x&&0===n.z&&(a[t]=i/2/Math.PI+.5)}function u(e){return Math.atan2(e.z,-e.x)}(function(e){let n=new eE,i=new eE,r=new eE;for(let a=0;a.9&&s<.1&&(t<.2&&(a[e+0]+=1),n<.2&&(a[e+2]+=1),i<.2&&(a[e+4]+=1))}}()}(),this.setAttribute("position",new t4(r,3)),this.setAttribute("normal",new t4(r.slice(),3)),this.setAttribute("uv",new t4(a,2)),0===i?this.computeVertexNormals():this.normalizeNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new rI(e.vertices,e.indices,e.radius,e.details)}}class rL extends rI{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2,i=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-i,-n,0,-i,n,0,i,-n,0,i,n,-i,-n,0,-i,n,0,i,-n,0,i,n,0,-n,0,-i,n,0,-i,-n,0,i,n,0,i],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],e,t),this.type="DodecahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new rL(e.radius,e.detail)}}let rN=new eE,rU=new eE,rD=new eE,rO=new tN;class rF extends nn{constructor(e=null,t=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:e,thresholdAngle:t},null!==e){const n=Math.cos(B*t),i=e.getIndex(),r=e.getAttribute("position"),a=i?i.count:r.count,s=[0,0,0],o=["a","b","c"],l=[,,,],u={},c=[];for(let e=0;e=n.next.y&&n.next.y!==n.y){let e=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(e<=a&&e>i&&(i=e,r=n.x=n.x&&n.x>=l&&a!==n.x&&rW(sr.x||n.x===r.x&&(d=r,p=n,0>rj(d.prev,d,p.prev)&&0>rj(p.next,d,d.next))))&&(r=n,c=h)),n=n.next}while(n!==o)return r}(e,t);if(!n)return t;let i=rK(n,e);return rH(i,i.next),rH(n,n.next)}(u[r],n);return n}(e,t,d,n)),e.length>80*n){i=a=e[0],r=s=e[1];for(let t=n;ta&&(a=o),l>s&&(s=l);u=0!==(u=Math.max(a-i,s-r))?32767/u:0}return function e(t,n,i,r,a,s,o){if(!t)return;!o&&s&&function(e,t,n,i){let r=e;do 0===r.z&&(r.z=rG(r.x,r.y,t,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==e)r.prevZ.nextZ=null,r.prevZ=null,function(e){let t,n,i,r,a,s,o,l,u=1;do{for(n=e,e=null,a=null,s=0;n;){for(s++,i=n,o=0,t=0;t0||l>0&&i;)0!==o&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,o--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:e=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(s>1)}(r)}(t,r,a,s);let l=t,u,c;for(;t.prev!==t.next;){if(u=t.prev,c=t.next,s?function(e,t,n,i){let r=e.prev,a=e.next;if(rj(r,e,a)>=0)return!1;let s=r.x,o=e.x,l=a.x,u=r.y,c=e.y,h=a.y,d=so?s>l?s:l:o>l?o:l,m=u>c?u>h?u:h:c>h?c:h,g=rG(d,p,t,n,i),v=rG(f,m,t,n,i),_=e.prevZ,y=e.nextZ;for(;_&&_.z>=g&&y&&y.z<=v;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0||(_=_.prevZ,y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0))return!1;y=y.nextZ}for(;_&&_.z>=g;){if(_.x>=d&&_.x<=f&&_.y>=p&&_.y<=m&&_!==r&&_!==a&&rW(s,u,o,c,l,h,_.x,_.y)&&rj(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;y&&y.z<=v;){if(y.x>=d&&y.x<=f&&y.y>=p&&y.y<=m&&y!==r&&y!==a&&rW(s,u,o,c,l,h,y.x,y.y)&&rj(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}(t,r,a,s):function(e){let t=e.prev,n=e.next;if(rj(t,e,n)>=0)return!1;let i=t.x,r=e.x,a=n.x,s=t.y,o=e.y,l=n.y,u=ir?i>a?i:a:r>a?r:a,d=s>o?s>l?s:l:o>l?o:l,p=n.next;for(;p!==t;){if(p.x>=u&&p.x<=h&&p.y>=c&&p.y<=d&&rW(i,s,r,o,a,l,p.x,p.y)&&rj(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}(t)){n.push(u.i/i|0),n.push(t.i/i|0),n.push(c.i/i|0),rQ(t),t=c.next,l=c.next;continue}if((t=c)===l){o?1===o?e(t=function(e,t,n){let i=e;do{let r=i.prev,a=i.next.next;!rX(r,a)&&rq(r,i,i.next,a)&&rJ(r,a)&&rJ(a,r)&&(t.push(r.i/n|0),t.push(i.i/n|0),t.push(a.i/n|0),rQ(i),rQ(i.next),i=e=a),i=i.next}while(i!==e)return rH(i)}(rH(t),n,i),n,i,r,a,s,2):2===o&&function(t,n,i,r,a,s){let o=t;do{let t=o.next.next;for(;t!==o.prev;){var l,u;if(o.i!==t.i&&(l=o,u=t,l.next.i!==u.i&&l.prev.i!==u.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&rq(n,n.next,e,t))return!0;n=n.next}while(n!==e)return!1}(l,u)&&(rJ(l,u)&&rJ(u,l)&&function(e,t){let n=e,i=!1,r=(e.x+t.x)/2,a=(e.y+t.y)/2;do n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next;while(n!==e)return i}(l,u)&&(rj(l.prev,l,u.prev)||rj(l,u.prev,u))||rX(l,u)&&rj(l.prev,l,l.next)>0&&rj(u.prev,u,u.next)>0))){let l=rK(o,t);o=rH(o,o.next),l=rH(l,l.next),e(o,n,i,r,a,s,0),e(l,n,i,r,a,s,0);return}t=t.next}o=o.next}while(o!==t)}(t,n,i,r,a,s):e(rH(t),n,i,r,a,s,1);break}}}(d,p,n,i,r,u,0),p};function rk(e,t,n,i,r){let a,s;if(r===function(e,t,n,i){let r=0;for(let a=t,s=n-i;a0)for(a=t;a=t;a-=i)s=r$(a,e[a],e[a+1],s);return s&&rX(s,s.next)&&(rQ(s),s=s.next),s}function rH(e,t){if(!e)return e;t||(t=e);let n=e,i;do if(i=!1,!n.steiner&&(rX(n,n.next)||0===rj(n.prev,n,n.next))){if(rQ(n),(n=t=n.prev)===n.next)break;i=!0}else n=n.next;while(i||n!==t)return t}function rV(e,t){return e.x-t.x}function rG(e,t,n,i,r){return(e=((e=((e=((e=((e=(e-n)*r|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)|(t=((t=((t=((t=((t=(t-i)*r|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)<<1}function rW(e,t,n,i,r,a,s,o){return(r-s)*(t-o)>=(e-s)*(a-o)&&(e-s)*(i-o)>=(n-s)*(t-o)&&(n-s)*(a-o)>=(r-s)*(i-o)}function rj(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function rX(e,t){return e.x===t.x&&e.y===t.y}function rq(e,t,n,i){let r=rZ(rj(e,t,n)),a=rZ(rj(e,t,i)),s=rZ(rj(n,i,e)),o=rZ(rj(n,i,t));return!!(r!==a&&s!==o||0===r&&rY(e,n,t)||0===a&&rY(e,i,t)||0===s&&rY(n,e,i)||0===o&&rY(n,t,i))}function rY(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function rZ(e){return e>0?1:e<0?-1:0}function rJ(e,t){return 0>rj(e.prev,e,e.next)?rj(e,t,e.next)>=0&&rj(e,e.prev,t)>=0:0>rj(e,t,e.prev)||0>rj(e,e.next,t)}function rK(e,t){let n=new r0(e.i,e.x,e.y),i=new r0(t.i,t.x,t.y),r=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function r$(e,t,n,i){let r=new r0(e,t,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function rQ(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function r0(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}class r1{static area(e){let t=e.length,n=0;for(let i=t-1,r=0;rr1.area(e)}static triangulateShape(e,t){let n=[],i=[],r=[];r2(e),r3(n,e);let a=e.length;t.forEach(r2);for(let e=0;e2&&e[t-1].equals(e[0])&&e.pop()}function r3(e,t){for(let n=0;nNumber.EPSILON){let h=Math.sqrt(c),d=Math.sqrt(l*l+u*u),p=t.x-o/h,f=t.y+s/h,m=((n.x-u/d-p)*u-(n.y+l/d-f)*l)/(s*u-o*l),g=(i=p+s*m-e.x)*i+(r=f+o*m-e.y)*r;if(g<=2)return new Y(i,r);a=Math.sqrt(g/2)}else{let e=!1;s>Number.EPSILON?l>Number.EPSILON&&(e=!0):s<-Number.EPSILON?l<-Number.EPSILON&&(e=!0):Math.sign(o)===Math.sign(u)&&(e=!0),e?(i=-o,r=s,a=Math.sqrt(c)):(i=s,r=o,a=Math.sqrt(c/2))}return new Y(i/a,r/a)}let I=[];for(let e=0,t=E.length,n=t-1,i=e+1;e=0;e--){let t=e/v,n=f*Math.cos(t*Math.PI/2),i=m*Math.sin(t*Math.PI/2)+g;for(let e=0,t=E.length;e=0;){let a=r,s=r-1;s<0&&(s=e.length-1);for(let e=0,r=h+2*v;e0)&&d.push(t,r,l),(e!==n-1||o0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class ap extends tH{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new tz(0xffffff),this.specular=new tz(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class af extends tH{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new tz(0xffffff),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class am extends tH{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class ag extends tH{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new tz(0xffffff),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new tz(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new tn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class av extends tH{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class a_ extends tH{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}class ay extends tH{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new tz(0xffffff),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new Y(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class ax extends iB{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function ab(e,t,n){return e&&(n||e.constructor!==t)?"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e):e}function aS(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function aM(e){let t=e.length,n=Array(t);for(let e=0;e!==t;++e)n[e]=e;return n.sort(function(t,n){return e[t]-e[n]}),n}function aT(e,t,n){let i=e.length,r=new e.constructor(i);for(let a=0,s=0;s!==i;++a){let i=n[a]*t;for(let n=0;n!==t;++n)r[s++]=e[i+n]}return r}function aw(e,t,n,i){let r=1,a=e[0];for(;void 0!==a&&void 0===a[i];)a=e[r++];if(void 0===a)return;let s=a[i];if(void 0!==s)if(Array.isArray(s))do void 0!==(s=a[i])&&(t.push(a.time),n.push.apply(n,s)),a=e[r++];while(void 0!==a)else if(void 0!==s.toArray)do void 0!==(s=a[i])&&(t.push(a.time),s.toArray(n,n.length)),a=e[r++];while(void 0!==a)else do void 0!==(s=a[i])&&(t.push(a.time),n.push(s)),a=e[r++];while(void 0!==a)}let aE={convertArray:ab,isTypedArray:aS,getKeyframeOrder:aM,sortedArray:aT,flattenJSON:aw,subclip:function(e,t,n,i,r=30){let a=e.clone();a.name=t;let s=[];for(let e=0;e=i)){l.push(t.times[e]);for(let n=0;na.tracks[e].times[0]&&(o=a.tracks[e].times[0]);for(let e=0;e=r.times[d]){let e=d*u+l,t=e+u-l;i=r.values.slice(e,t)}else{let e=r.createInterpolant(),t=l,n=u-l;e.evaluate(a),i=e.resultBuffer.slice(t,n)}"quaternion"===s&&new ew().fromArray(i).normalize().conjugate().toArray(i);let p=o.times.length;for(let e=0;e=r)){let s=t[1];e=(r=t[--n-1]))break i}a=n,n=0;break r}break n}for(;n>>1;et;)--a;if(++a,0!==r||a!==i){r>=a&&(r=(a=Math.max(a,1))-1);let e=this.getValueSize();this.times=n.slice(r,a),this.values=this.values.slice(r*e,a*e)}return this}validate(){let e=!0,t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);let n=this.times,i=this.values,r=n.length;0===r&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let a=null;for(let t=0;t!==r;t++){let i=n[t];if("number"==typeof i&&isNaN(i)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,i),e=!1;break}if(null!==a&&a>i){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,i,a),e=!1;break}a=i}if(void 0!==i&&aS(i))for(let t=0,n=i.length;t!==n;++t){let n=i[t];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,n),e=!1;break}}return e}optimize(){let e=this.times.slice(),t=this.values.slice(),n=this.getValueSize(),i=2302===this.getInterpolation(),r=e.length-1,a=1;for(let s=1;s0){e[a]=e[r];for(let e=r*n,i=a*n,s=0;s!==n;++s)t[i+s]=t[e+s];++a}return a!==e.length?(this.times=e.slice(0,a),this.values=t.slice(0,a*n)):(this.times=e,this.values=t),this}clone(){let e=this.times.slice(),t=this.values.slice(),n=new this.constructor(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}aI.prototype.TimeBufferType=Float32Array,aI.prototype.ValueBufferType=Float32Array,aI.prototype.DefaultInterpolation=2301;class aL extends aI{constructor(e,t,n){super(e,t,n)}}aL.prototype.ValueTypeName="bool",aL.prototype.ValueBufferType=Array,aL.prototype.DefaultInterpolation=2300,aL.prototype.InterpolantFactoryMethodLinear=void 0,aL.prototype.InterpolantFactoryMethodSmooth=void 0;class aN extends aI{}aN.prototype.ValueTypeName="color";class aU extends aI{}aU.prototype.ValueTypeName="number";class aD extends aA{constructor(e,t,n,i){super(e,t,n,i)}interpolate_(e,t,n,i){let r=this.resultBuffer,a=this.sampleValues,s=this.valueSize,o=(n-t)/(i-t),l=e*s;for(let e=l+s;l!==e;l+=4)ew.slerpFlat(r,0,a,l-s,a,l,o);return r}}class aO extends aI{InterpolantFactoryMethodLinear(e){return new aD(this.times,this.values,this.getValueSize(),e)}}aO.prototype.ValueTypeName="quaternion",aO.prototype.InterpolantFactoryMethodSmooth=void 0;class aF extends aI{constructor(e,t,n){super(e,t,n)}}aF.prototype.ValueTypeName="string",aF.prototype.ValueBufferType=Array,aF.prototype.DefaultInterpolation=2300,aF.prototype.InterpolantFactoryMethodLinear=void 0,aF.prototype.InterpolantFactoryMethodSmooth=void 0;class az extends aI{}az.prototype.ValueTypeName="vector";class aB{constructor(e="",t=-1,n=[],i=2500){this.name=e,this.tracks=n,this.duration=t,this.blendMode=i,this.uuid=H(),this.duration<0&&this.resetDuration()}static parse(e){let t=[],n=e.tracks,i=1/(e.fps||1);for(let e=0,r=n.length;e!==r;++e)t.push((function(e){if(void 0===e.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");let t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return aU;case"vector":case"vector2":case"vector3":case"vector4":return az;case"color":return aN;case"quaternion":return aO;case"bool":case"boolean":return aL;case"string":return aF}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){let t=[],n=[];aw(e.keys,t,n,"value"),e.times=t,e.values=n}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)})(n[e]).scale(i));let r=new this(e.name,e.duration,t,e.blendMode);return r.uuid=e.uuid,r}static toJSON(e){let t=[],n=e.tracks,i={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,i=n.length;e!==i;++e)t.push(aI.toJSON(n[e]));return i}static CreateFromMorphTargetSequence(e,t,n,i){let r=t.length,a=[];for(let e=0;e1){let e=a[1],t=i[e];t||(i[e]=t=[]),t.push(n)}}let a=[];for(let e in i)a.push(this.CreateFromMorphTargetSequence(e,i[e],t,n));return a}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;let n=function(e,t,n,i,r){if(0!==n.length){let a=[],s=[];aw(n,a,s,i),0!==a.length&&r.push(new e(t,a,s))}},i=[],r=e.name||"default",a=e.fps||30,s=e.blendMode,o=e.length||-1,l=e.hierarchy||[];for(let e=0;e{t&&t(r),this.manager.itemEnd(e)},0),r;if(void 0!==aW[e])return void aW[e].push({onLoad:t,onProgress:n,onError:i});aW[e]=[],aW[e].push({onLoad:t,onProgress:n,onError:i});let a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,o=this.responseType;fetch(a).then(t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"u"{if(i)e.close();else{let i=new ProgressEvent("progress",{lengthComputable:s,loaded:o+=r.byteLength,total:a});for(let e=0,t=n.length;e{e.error(t)})}()}}))}throw new aj(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)}).then(e=>{switch(o){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then(e=>new DOMParser().parseFromString(e,s));case"json":return e.json();default:if(void 0===s)return e.text();{let t=/charset="?([^;"\s]*)"?/i.exec(s),n=new TextDecoder(t&&t[1]?t[1].toLowerCase():void 0);return e.arrayBuffer().then(e=>n.decode(e))}}}).then(t=>{ak.add(e,t);let n=aW[e];delete aW[e];for(let e=0,i=n.length;e{let n=aW[e];if(void 0===n)throw this.manager.itemError(e),t;delete aW[e];for(let e=0,i=n.length;e{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class aq extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(n){try{t(r.parse(JSON.parse(n)))}catch(t){i?i(t):console.error(t),r.manager.itemError(e)}},n,i)}parse(e){let t=[];for(let n=0;n0:i.vertexColors=e.vertexColors),void 0!==e.uniforms)for(let t in e.uniforms){let r=e.uniforms[t];switch(i.uniforms[t]={},r.type){case"t":i.uniforms[t].value=n(r.value);break;case"c":i.uniforms[t].value=new tz().setHex(r.value);break;case"v2":i.uniforms[t].value=new Y().fromArray(r.value);break;case"v3":i.uniforms[t].value=new eE().fromArray(r.value);break;case"v4":i.uniforms[t].value=new e_().fromArray(r.value);break;case"m3":i.uniforms[t].value=new Z().fromArray(r.value);break;case"m4":i.uniforms[t].value=new e2().fromArray(r.value);break;default:i.uniforms[t].value=r.value}}if(void 0!==e.defines&&(i.defines=e.defines),void 0!==e.vertexShader&&(i.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(i.fragmentShader=e.fragmentShader),void 0!==e.glslVersion&&(i.glslVersion=e.glslVersion),void 0!==e.extensions)for(let t in e.extensions)i.extensions[t]=e.extensions[t];if(void 0!==e.lights&&(i.lights=e.lights),void 0!==e.clipping&&(i.clipping=e.clipping),void 0!==e.size&&(i.size=e.size),void 0!==e.sizeAttenuation&&(i.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(i.map=n(e.map)),void 0!==e.matcap&&(i.matcap=n(e.matcap)),void 0!==e.alphaMap&&(i.alphaMap=n(e.alphaMap)),void 0!==e.bumpMap&&(i.bumpMap=n(e.bumpMap)),void 0!==e.bumpScale&&(i.bumpScale=e.bumpScale),void 0!==e.normalMap&&(i.normalMap=n(e.normalMap)),void 0!==e.normalMapType&&(i.normalMapType=e.normalMapType),void 0!==e.normalScale){let t=e.normalScale;!1===Array.isArray(t)&&(t=[t,t]),i.normalScale=new Y().fromArray(t)}return void 0!==e.displacementMap&&(i.displacementMap=n(e.displacementMap)),void 0!==e.displacementScale&&(i.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(i.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(i.roughnessMap=n(e.roughnessMap)),void 0!==e.metalnessMap&&(i.metalnessMap=n(e.metalnessMap)),void 0!==e.emissiveMap&&(i.emissiveMap=n(e.emissiveMap)),void 0!==e.emissiveIntensity&&(i.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(i.specularMap=n(e.specularMap)),void 0!==e.specularIntensityMap&&(i.specularIntensityMap=n(e.specularIntensityMap)),void 0!==e.specularColorMap&&(i.specularColorMap=n(e.specularColorMap)),void 0!==e.envMap&&(i.envMap=n(e.envMap)),void 0!==e.envMapRotation&&i.envMapRotation.fromArray(e.envMapRotation),void 0!==e.envMapIntensity&&(i.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(i.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(i.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(i.lightMap=n(e.lightMap)),void 0!==e.lightMapIntensity&&(i.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(i.aoMap=n(e.aoMap)),void 0!==e.aoMapIntensity&&(i.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(i.gradientMap=n(e.gradientMap)),void 0!==e.clearcoatMap&&(i.clearcoatMap=n(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(i.clearcoatRoughnessMap=n(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(i.clearcoatNormalMap=n(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(i.clearcoatNormalScale=new Y().fromArray(e.clearcoatNormalScale)),void 0!==e.iridescenceMap&&(i.iridescenceMap=n(e.iridescenceMap)),void 0!==e.iridescenceThicknessMap&&(i.iridescenceThicknessMap=n(e.iridescenceThicknessMap)),void 0!==e.transmissionMap&&(i.transmissionMap=n(e.transmissionMap)),void 0!==e.thicknessMap&&(i.thicknessMap=n(e.thicknessMap)),void 0!==e.anisotropyMap&&(i.anisotropyMap=n(e.anisotropyMap)),void 0!==e.sheenColorMap&&(i.sheenColorMap=n(e.sheenColorMap)),void 0!==e.sheenRoughnessMap&&(i.sheenRoughnessMap=n(e.sheenRoughnessMap)),i}setTextures(e){return this.textures=e,this}createMaterialFromType(e){return su.createMaterialFromType(e)}static createMaterialFromType(e){return new({ShadowMaterial:au,SpriteMaterial:nO,RawShaderMaterial:ac,ShaderMaterial:nb,PointsMaterial:iQ,MeshPhysicalMaterial:ad,MeshStandardMaterial:ah,MeshPhongMaterial:ap,MeshToonMaterial:af,MeshNormalMaterial:am,MeshLambertMaterial:ag,MeshDepthMaterial:av,MeshDistanceMaterial:a_,MeshBasicMaterial:tV,MeshMatcapMaterial:ay,LineDashedMaterial:ax,LineBasicMaterial:iB,Material:tH})[e]}}class sc{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),"u">typeof TextDecoder)return new TextDecoder().decode(e);let t="";for(let n=0,i=e.length;n0){(n=new aZ(new aH(t))).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t0){(t=new aZ(this.manager)).setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t{let t=new eR;t.min.fromArray(e.boxMin),t.max.fromArray(e.boxMax);let n=new eq;return n.radius=e.sphereRadius,n.center.fromArray(e.sphereCenter),{boxInitialized:e.boxInitialized,box:t,sphereInitialized:e.sphereInitialized,sphere:n}}),a._maxInstanceCount=e.maxInstanceCount,a._maxVertexCount=e.maxVertexCount,a._maxIndexCount=e.maxIndexCount,a._geometryInitialized=e.geometryInitialized,a._geometryCount=e.geometryCount,a._matricesTexture=c(e.matricesTexture.uuid),void 0!==e.colorsTexture&&(a._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":a=new nQ;break;case"Line":a=new iq(l(e.geometry),u(e.material));break;case"LineLoop":a=new i$(l(e.geometry),u(e.material));break;case"LineSegments":a=new iK(l(e.geometry),u(e.material));break;case"PointCloud":case"Points":a=new i4(l(e.geometry),u(e.material));break;case"Sprite":a=new nZ(u(e.material));break;case"Group":a=new i6;break;case"Bone":a=new ie;break;default:a=new ty}if(a.uuid=e.uuid,void 0!==e.name&&(a.name=e.name),void 0!==e.matrix?(a.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(a.matrixAutoUpdate=e.matrixAutoUpdate),a.matrixAutoUpdate&&a.matrix.decompose(a.position,a.quaternion,a.scale)):(void 0!==e.position&&a.position.fromArray(e.position),void 0!==e.rotation&&a.rotation.fromArray(e.rotation),void 0!==e.quaternion&&a.quaternion.fromArray(e.quaternion),void 0!==e.scale&&a.scale.fromArray(e.scale)),void 0!==e.up&&a.up.fromArray(e.up),void 0!==e.castShadow&&(a.castShadow=e.castShadow),void 0!==e.receiveShadow&&(a.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.intensity&&(a.shadow.intensity=e.shadow.intensity),void 0!==e.shadow.bias&&(a.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(a.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(a.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&a.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(a.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(a.visible=e.visible),void 0!==e.frustumCulled&&(a.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(a.renderOrder=e.renderOrder),void 0!==e.userData&&(a.userData=e.userData),void 0!==e.layers&&(a.layers.mask=e.layers),void 0!==e.children){let s=e.children;for(let e=0;e{t&&t(n),r.manager.itemEnd(e)}).catch(e=>{i&&i(e)}):(setTimeout(function(){t&&t(a),r.manager.itemEnd(e)},0),a);let s={};s.credentials="anonymous"===this.crossOrigin?"same-origin":"include",s.headers=this.requestHeader;let o=fetch(e,s).then(function(e){return e.blob()}).then(function(e){return createImageBitmap(e,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(n){return ak.add(e,n),t&&t(n),r.manager.itemEnd(e),n}).catch(function(t){i&&i(t),ak.remove(e),r.manager.itemError(e),r.manager.itemEnd(e)});ak.add(e,o),r.manager.itemStart(e)}}class s_{static getContext(){return void 0===i&&(i=new(window.AudioContext||window.webkitAudioContext)),i}static setContext(e){i=e}}class sy extends aG{constructor(e){super(e)}load(e,t,n,i){let r=this,a=new aX(this.manager);function s(t){i?i(t):console.error(t),r.manager.itemError(e)}a.setResponseType("arraybuffer"),a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(e){try{let n=e.slice(0);s_.getContext().decodeAudioData(n,function(e){t(e)}).catch(s)}catch(e){s(e)}},n,i)}}let sx=new e2,sb=new e2,sS=new e2;class sM{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new nE,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new nE,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){let t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){let n,i;t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,sS.copy(e.projectionMatrix);let r=t.eyeSep/2,a=r*t.near/t.focus,s=t.near*Math.tan(B*t.fov*.5)/t.zoom;sb.elements[12]=-r,sx.elements[12]=r,n=-s*t.aspect+a,i=s*t.aspect+a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraL.projectionMatrix.copy(sS),n=-s*t.aspect-a,i=s*t.aspect-a,sS.elements[0]=2*t.near/(i-n),sS.elements[8]=(i+n)/(i-n),this.cameraR.projectionMatrix.copy(sS)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(sb),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(sx)}}class sT extends nE{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class sw{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=sE(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){let t=sE();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function sE(){return performance.now()}let sA=new eE,sC=new ew,sR=new eE,sP=new eE;class sI extends ty{constructor(){super(),this.type="AudioListener",this.context=s_.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new sw}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);let t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(sA,sC,sR),sP.set(0,0,-1).applyQuaternion(sC),t.positionX){let e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(sA.x,e),t.positionY.linearRampToValueAtTime(sA.y,e),t.positionZ.linearRampToValueAtTime(sA.z,e),t.forwardX.linearRampToValueAtTime(sP.x,e),t.forwardY.linearRampToValueAtTime(sP.y,e),t.forwardZ.linearRampToValueAtTime(sP.z,e),t.upX.linearRampToValueAtTime(n.x,e),t.upY.linearRampToValueAtTime(n.y,e),t.upZ.linearRampToValueAtTime(n.z,e)}else t.setPosition(sA.x,sA.y,sA.z),t.setOrientation(sP.x,sP.y,sP.z,n.x,n.y,n.z)}}class sL extends ty{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+e;let t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this)}stop(e=0){return!1===this.hasPlaybackControl?void console.warn("THREE.Audio: this Audio has no playback control."):(this._progress=0,null!==this.source&&(this.source.stop(this.context.currentTime+e),this.source.onended=null),this.isPlaying=!1,this)}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(n,i,this._addIndex*t,1,t);for(let e=t,r=t+t;e!==r;++e)if(n[e]!==n[e+t]){s.setValue(n,i);break}}saveOriginalState(){let e=this.binding,t=this.buffer,n=this.valueSize,i=n*this._origIndex;e.getValue(t,i);for(let e=n;e!==i;++e)t[e]=t[i+e%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){let e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let n=e;n=.5)for(let i=0;i!==r;++i)e[t+i]=e[n+i]}_slerp(e,t,n,i){ew.slerpFlat(e,t,e,t,e,n,i)}_slerpAdditive(e,t,n,i,r){let a=this._workIndex*r;ew.multiplyQuaternionsFlat(e,a,e,t,e,n),ew.slerpFlat(e,t,e,t,e,a,i)}_lerp(e,t,n,i,r){let a=1-i;for(let s=0;s!==r;++s){let r=t+s;e[r]=e[r]*a+e[n+s]*i}}_lerpAdditive(e,t,n,i,r){for(let a=0;a!==r;++a){let r=t+a;e[r]=e[r]+e[n+a]*i}}}let sk="\\[\\]\\.:\\/",sH=RegExp("["+sk+"]","g"),sV="[^"+sk+"]",sG="[^"+sk.replace("\\.","")+"]",sW=RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",sV)+/(WCOD+)?/.source.replace("WCOD",sG)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",sV)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",sV)+"$"),sj=["material","materials","bones","map"];class sX{constructor(e,t,n){this.path=t,this.parsedPath=n||sX.parseTrackName(t),this.node=sX.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new sX.Composite(e,t,n):new sX(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(sH,"")}static parseTrackName(e){let t=sW.exec(e);if(null===t)throw Error("PropertyBinding: Cannot parse trackName: "+e);let n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},i=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==i&&-1!==i){let e=n.nodeName.substring(i+1);-1!==sj.indexOf(e)&&(n.nodeName=n.nodeName.substring(0,i),n.objectName=e)}if(null===n.propertyName||0===n.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){let n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){let n=function(e){for(let i=0;i=r){let a=r++,u=e[a];t[u.uuid]=l,e[l]=u,t[o]=a,e[a]=s;for(let e=0;e!==i;++e){let t=n[e],i=t[a],r=t[l];t[l]=i,t[a]=r}}}this.nCachedObjects_=r}uncache(){let e=this._objects,t=this._indicesByUUID,n=this._bindings,i=n.length,r=this.nCachedObjects_,a=e.length;for(let s=0,o=arguments.length;s!==o;++s){let o=arguments[s],l=o.uuid,u=t[l];if(void 0!==u)if(delete t[l],u0&&(t[s.uuid]=u),e[u]=s,e.pop();for(let e=0;e!==i;++e){let t=n[e];t[u]=t[r],t.pop()}}}this.nCachedObjects_=r}subscribe_(e,t){let n=this._bindingsIndicesByPath,i=n[e],r=this._bindings;if(void 0!==i)return r[i];let a=this._paths,s=this._parsedPaths,o=this._objects,l=o.length,u=this.nCachedObjects_,c=Array(l);i=r.length,n[e]=i,a.push(e),s.push(t),r.push(c);for(let n=u,i=o.length;n!==i;++n){let i=o[n];c[n]=new sX(i,e,t)}return c}unsubscribe_(e){let t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){let i=this._paths,r=this._parsedPaths,a=this._bindings,s=a.length-1,o=a[s];t[e[s]]=n,a[n]=o,a.pop(),r[n]=r[s],r.pop(),i[n]=i[s],i.pop()}}}class sY{constructor(e,t,n=null,i=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=n,this.blendMode=i;const r=t.tracks,a=r.length,s=Array(a),o={endingStart:2400,endingEnd:2400};for(let e=0;e!==a;++e){const t=r[e].createInterpolant(null);s[e]=t,t.settings=o}this._interpolantSettings=o,this._interpolants=s,this._propertyBindings=Array(a),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=2201,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){let n=this._clip.duration,i=e._clip.duration;e.warp(1,i/n,t),this.warp(n/i,1,t)}return this}crossFadeTo(e,t,n){return e.crossFadeFrom(this,t,n)}stopFading(){let e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,n){let i=this._mixer,r=i.time,a=this.timeScale,s=this._timeScaleInterpolant;null===s&&(s=i._lendControlInterpolant(),this._timeScaleInterpolant=s);let o=s.parameterPositions,l=s.sampleValues;return o[0]=r,o[1]=r+n,l[0]=e/a,l[1]=t/a,this}stopWarping(){let e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,n,i){if(!this.enabled)return void this._updateWeight(e);let r=this._startTime;if(null!==r){let i=(e-r)*n;i<0||0===n?t=0:(this._startTime=null,t=n*i)}t*=this._updateTimeScale(e);let a=this._updateTime(t),s=this._updateWeight(e);if(s>0){let e=this._interpolants,t=this._propertyBindings;if(2501===this.blendMode)for(let n=0,i=e.length;n!==i;++n)e[n].evaluate(a),t[n].accumulateAdditive(s);else for(let n=0,r=e.length;n!==r;++n)e[n].evaluate(a),t[n].accumulate(i,s)}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;let n=this._weightInterpolant;if(null!==n){let i=n.evaluate(e)[0];t*=i,e>n.parameterPositions[1]&&(this.stopFading(),0===i&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;let n=this._timeScaleInterpolant;null!==n&&(t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t))}return this._effectiveTimeScale=t,t}_updateTime(e){let t=this._clip.duration,n=this.loop,i=this.time+e,r=this._loopCount,a=2202===n;if(0===e)return -1===r?i:a&&(1&r)==1?t-i:i;if(2200===n){-1===r&&(this._loopCount=0,this._setEndings(!0,!0,!1));s:{if(i>=t)i=t;else if(i<0)i=0;else{this.time=i;break s}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===r&&(e>=0?(r=0,this._setEndings(!0,0===this.repetitions,a)):this._setEndings(0===this.repetitions,!0,a)),i>=t||i<0){let n=Math.floor(i/t);i-=t*n,r+=Math.abs(n);let s=this.repetitions-r;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,i=e>0?t:0,this.time=i,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===s){let t=e<0;this._setEndings(t,!t,a)}else this._setEndings(!1,!1,a);this._loopCount=r,this.time=i,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=i;if(a&&(1&r)==1)return t-i}return i}_setEndings(e,t,n){let i=this._interpolantSettings;n?(i.endingStart=2401,i.endingEnd=2401):(e?i.endingStart=this.zeroSlopeAtStart?2401:2400:i.endingStart=2402,t?i.endingEnd=this.zeroSlopeAtEnd?2401:2400:i.endingEnd=2402)}_scheduleFading(e,t,n){let i=this._mixer,r=i.time,a=this._weightInterpolant;null===a&&(a=i._lendControlInterpolant(),this._weightInterpolant=a);let s=a.parameterPositions,o=a.sampleValues;return s[0]=r,o[0]=t,s[1]=r+e,o[1]=n,this}}let sZ=new Float32Array(1);class sJ extends O{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){let n=e._localRoot||this._root,i=e._clip.tracks,r=i.length,a=e._propertyBindings,s=e._interpolants,o=n.uuid,l=this._bindingsByRootAndName,u=l[o];void 0===u&&(u={},l[o]=u);for(let e=0;e!==r;++e){let r=i[e],l=r.name,c=u[l];if(void 0!==c)++c.referenceCount,a[e]=c;else{if(void 0!==(c=a[e])){null===c._cacheIndex&&(++c.referenceCount,this._addInactiveBinding(c,o,l));continue}let i=t&&t._propertyBindings[e].binding.parsedPath;c=new sB(sX.create(n,l,i),r.ValueTypeName,r.getValueSize()),++c.referenceCount,this._addInactiveBinding(c,o,l),a[e]=c}s[e].resultBuffer=c.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){let t=(e._localRoot||this._root).uuid,n=e._clip.uuid,i=this._actionsByClip[n];this._bindAction(e,i&&i.knownActions[0]),this._addInactiveAction(e,n,t)}let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){let t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){let n=t[e];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){let t=e._cacheIndex;return null!==t&&t=0;--n)e[n].stop();return this}update(e){e*=this.timeScale;let t=this._actions,n=this._nActiveActions,i=this.time+=e,r=Math.sign(e),a=this._accuIndex^=1;for(let s=0;s!==n;++s)t[s]._update(i,e,r,a);let s=this._bindings,o=this._nActiveBindings;for(let e=0;e!==o;++e)s[e].apply(a);return this}setTime(e){this.time=0;for(let e=0;e=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,s7).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}let ot=new eE,on=new eE;class oi{constructor(e=new eE,t=new eE){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){ot.subVectors(e,this.start),on.subVectors(this.end,this.start);let n=on.dot(on),i=on.dot(ot)/n;return t&&(i=V(i,0,1)),i}closestPointToPoint(e,t,n){let i=this.closestPointToPointParameter(e,t);return this.delta(n).multiplyScalar(i).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}let or=new eE;class oa extends ty{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const n=new nn,i=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1;e<32;e++,t++){const n=e/32*Math.PI*2,r=t/32*Math.PI*2;i.push(Math.cos(n),Math.sin(n),1,Math.cos(r),Math.sin(r),1)}n.setAttribute("position",new t4(i,3));const r=new iB({fog:!1,toneMapped:!1});this.cone=new iK(n,r),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);let e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),or.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(or),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}let os=new eE,oo=new e2,ol=new e2;class ou extends iK{constructor(e){const t=function e(t){let n=[];!0===t.isBone&&n.push(t);for(let i=0;i1)for(let n=0;n.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{oR.set(e.z,0,-e.x).normalize();let t=Math.acos(e.y);this.quaternion.setFromAxisAngle(oR,t)}}setLength(e,t=.2*e,n=.2*t){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class oI extends iK{constructor(e=1){const t=new nn;t.setAttribute("position",new t4([0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],3)),t.setAttribute("color",new t4([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3)),super(t,new iB({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(e,t,n){let i=new tz,r=this.geometry.attributes.color.array;return i.set(e),i.toArray(r,0),i.toArray(r,3),i.set(t),i.toArray(r,6),i.toArray(r,9),i.set(n),i.toArray(r,12),i.toArray(r,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class oL{constructor(){this.type="ShapePath",this.color=new tz,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new rw,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,n,i){return this.currentPath.quadraticCurveTo(e,t,n,i),this}bezierCurveTo(e,t,n,i,r,a){return this.currentPath.bezierCurveTo(e,t,n,i,r,a),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){let t,n,i,r,a,s=r1.isClockWise,o=this.subPaths;if(0===o.length)return[];let l=[];if(1===o.length)return n=o[0],(i=new rz).curves=n.curves,l.push(i),l;let u=!s(o[0].getPoints());u=e?!u:u;let c=[],h=[],d=[],p=0;h[0]=void 0,d[p]=[];for(let i=0,a=o.length;i1){let e=!1,t=0;for(let e=0,t=h.length;eNumber.EPSILON){if(l<0&&(n=t[a],o=-o,s=t[r],l=-l),e.ys.y)continue;if(e.y===n.y){if(e.x===n.x)return!0}else{let t=l*(e.x-n.x)-o*(e.y-n.y);if(0===t)return!0;if(t<0)continue;i=!i}}else{if(e.y!==n.y)continue;if(s.x<=e.x&&e.x<=n.x||n.x<=e.x&&e.x<=s.x)return!0}}return i})(a.p,h[i].p)&&(n!==i&&t++,s?(s=!1,c[i].push(a)):e=!0);s&&c[n].push(a)}}t>0&&!1===e&&(d=c)}for(let e=0,t=h.length;et?(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2):(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0),e},cover:function(e,t){let n=e.image&&e.image.width?e.image.width/e.image.height:1;return n>t?(e.repeat.x=t/n,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0):(e.repeat.x=1,e.repeat.y=n/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2),e},fill:function(e){return e.repeat.x=1,e.repeat.y=1,e.offset.x=0,e.offset.y=0,e},getByteLength:oU};class oO extends ex{constructor(e=1,t=1,n=1,i={}){console.warn('THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT.'),super(e,t,{...i,count:n}),this.isWebGLMultipleRenderTargets=!0}get texture(){return this.textures}}function oF(){let e=null,t=!1,n=null,i=null;function r(t,a){n(t,a),i=e.requestAnimationFrame(r)}return{start:function(){!0===t||null!==n&&(i=e.requestAnimationFrame(r),t=!0)},stop:function(){e.cancelAnimationFrame(i),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function oz(e){let t=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)},remove:function(n){n.isInterleavedBufferAttribute&&(n=n.data);let i=t.get(n);i&&(e.deleteBuffer(i.buffer),t.delete(n))},update:function(n,i){if(n.isInterleavedBufferAttribute&&(n=n.data),n.isGLBufferAttribute){let e=t.get(n);(!e||e.versione.start-t.start);let t=0;for(let e=1;etypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"171"}})),"u">typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="171"),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RAD2DEG",0,k,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"arrayNeedsUint32",0,K,"cloneUniforms",0,nv,"createCanvasElement",0,et,"createElementNS",0,ee,"getByteLength",0,oU,"getUnlitUniformColorSpace",0,ny,"mergeUniforms",0,n_,"probeAsync",0,er,"toNormalizedProjectionMatrix",0,ea,"toReversedProjectionMatrix",0,es,"warnOnce",0,ei],90072);let oB={alphahash_fragment:"#ifdef USE_ALPHAHASH\n if ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;\n#endif",alphahash_pars_fragment:"#ifdef USE_ALPHAHASH\n const float ALPHA_HASH_SCALE = 0.05;\n float hash2D( vec2 value ) {\n return fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n }\n float hash3D( vec3 value ) {\n return hash2D( vec2( hash2D( value.xy ), value.z ) );\n }\n float getAlphaHashThreshold( vec3 position ) {\n float maxDeriv = max(\n length( dFdx( position.xyz ) ),\n length( dFdy( position.xyz ) )\n );\n float pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n vec2 pixScales = vec2(\n exp2( floor( log2( pixScale ) ) ),\n exp2( ceil( log2( pixScale ) ) )\n );\n vec2 alpha = vec2(\n hash3D( floor( pixScales.x * position.xyz ) ),\n hash3D( floor( pixScales.y * position.xyz ) )\n );\n float lerpFactor = fract( log2( pixScale ) );\n float x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n float a = min( lerpFactor, 1.0 - lerpFactor );\n vec3 cases = vec3(\n x * x / ( 2.0 * a * ( 1.0 - a ) ),\n ( x - 0.5 * a ) / ( 1.0 - a ),\n 1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n );\n float threshold = ( x < ( 1.0 - a ) )\n ? ( ( x < a ) ? cases.x : cases.y )\n : cases.z;\n return clamp( threshold , 1.0e-6, 1.0 );\n }\n#endif",alphamap_fragment:"#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef USE_ALPHATEST\n #ifdef ALPHA_TO_COVERAGE\n diffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n if ( diffuseColor.a < alphaTest ) discard;\n #endif\n#endif",alphatest_pars_fragment:"#ifdef USE_ALPHATEST\n uniform float alphaTest;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n float ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n reflectedLight.indirectDiffuse *= ambientOcclusion;\n #if defined( USE_CLEARCOAT ) \n clearcoatSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_SHEEN ) \n sheenSpecularIndirect *= ambientOcclusion;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD )\n float dotNV = saturate( dot( geometryNormal, geometryViewDir ) );\n reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n #endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n uniform sampler2D aoMap;\n uniform float aoMapIntensity;\n#endif",batching_pars_vertex:"#ifdef USE_BATCHING\n #if ! defined( GL_ANGLE_multi_draw )\n #define gl_DrawID _gl_DrawID\n uniform int _gl_DrawID;\n #endif\n uniform highp sampler2D batchingTexture;\n uniform highp usampler2D batchingIdTexture;\n mat4 getBatchingMatrix( const in float i ) {\n int size = textureSize( batchingTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n float getIndirectIndex( const in int i ) {\n int size = textureSize( batchingIdTexture, 0 ).x;\n int x = i % size;\n int y = i / size;\n return float( texelFetch( batchingIdTexture, ivec2( x, y ), 0 ).r );\n }\n#endif\n#ifdef USE_BATCHING_COLOR\n uniform sampler2D batchingColorTexture;\n vec3 getBatchingColor( const in float i ) {\n int size = textureSize( batchingColorTexture, 0 ).x;\n int j = int( i );\n int x = j % size;\n int y = j / size;\n return texelFetch( batchingColorTexture, ivec2( x, y ), 0 ).rgb;\n }\n#endif",batching_vertex:"#ifdef USE_BATCHING\n mat4 batchingMatrix = getBatchingMatrix( getIndirectIndex( gl_DrawID ) );\n#endif",begin_vertex:"vec3 transformed = vec3( position );\n#ifdef USE_ALPHAHASH\n vPosition = vec3( position );\n#endif",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n vec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"float G_BlinnPhong_Implicit( ) {\n return 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( specularColor, 1.0, dotVH );\n float G = G_BlinnPhong_Implicit( );\n float D = D_BlinnPhong( shininess, dotNH );\n return F * ( G * D );\n} // validated",iridescence_fragment:"#ifdef USE_IRIDESCENCE\n const mat3 XYZ_TO_REC709 = mat3(\n 3.2404542, -0.9692660, 0.0556434,\n -1.5371385, 1.8760108, -0.2040259,\n -0.4985314, 0.0415560, 1.0572252\n );\n vec3 Fresnel0ToIor( vec3 fresnel0 ) {\n vec3 sqrtF0 = sqrt( fresnel0 );\n return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n }\n vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n }\n float IorToFresnel0( float transmittedIor, float incidentIor ) {\n return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n }\n vec3 evalSensitivity( float OPD, vec3 shift ) {\n float phase = 2.0 * PI * OPD * 1.0e-9;\n vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n xyz /= 1.0685e-7;\n vec3 rgb = XYZ_TO_REC709 * xyz;\n return rgb;\n }\n vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n vec3 I;\n float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n float cosTheta2Sq = 1.0 - sinTheta2Sq;\n if ( cosTheta2Sq < 0.0 ) {\n return vec3( 1.0 );\n }\n float cosTheta2 = sqrt( cosTheta2Sq );\n float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n float R12 = F_Schlick( R0, 1.0, cosTheta1 );\n float T121 = 1.0 - R12;\n float phi12 = 0.0;\n if ( iridescenceIOR < outsideIOR ) phi12 = PI;\n float phi21 = PI - phi12;\n vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n vec3 phi23 = vec3( 0.0 );\n if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n vec3 phi = vec3( phi21 ) + phi23;\n vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n vec3 r123 = sqrt( R123 );\n vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n vec3 C0 = R12 + Rs;\n I = C0;\n vec3 Cm = Rs - T121;\n for ( int m = 1; m <= 2; ++ m ) {\n Cm *= r123;\n vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n I += Cm * Sm;\n }\n return max( I, vec3( 0.0 ) );\n }\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n uniform sampler2D bumpMap;\n uniform float bumpScale;\n vec2 dHdxy_fwd() {\n vec2 dSTdx = dFdx( vBumpMapUv );\n vec2 dSTdy = dFdy( vBumpMapUv );\n float Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n float dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n float dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n return vec2( dBx, dBy );\n }\n vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n vec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n vec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\n vec3 vN = surf_norm;\n vec3 R1 = cross( vSigmaY, vN );\n vec3 R2 = cross( vN, vSigmaX );\n float fDet = dot( vSigmaX, R1 ) * faceDirection;\n vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n return normalize( abs( fDet ) * surf_norm - vGrad );\n }\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n vec4 plane;\n #ifdef ALPHA_TO_COVERAGE\n float distanceToPlane, distanceGradient;\n float clipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n if ( clipOpacity == 0.0 ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n float unionClipOpacity = 1.0;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n distanceGradient = fwidth( distanceToPlane ) / 2.0;\n unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n }\n #pragma unroll_loop_end\n clipOpacity *= 1.0 - unionClipOpacity;\n #endif\n diffuseColor.a *= clipOpacity;\n if ( diffuseColor.a == 0.0 ) discard;\n #else\n #pragma unroll_loop_start\n for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n }\n #pragma unroll_loop_end\n #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n bool clipped = true;\n #pragma unroll_loop_start\n for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n plane = clippingPlanes[ i ];\n clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n }\n #pragma unroll_loop_end\n if ( clipped ) discard;\n #endif\n #endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n varying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n vClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n diffuseColor *= vColor;\n#elif defined( USE_COLOR )\n diffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR )\n varying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n varying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n varying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n vColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n vColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n vColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n vColor.xyz *= instanceColor.xyz;\n#endif\n#ifdef USE_BATCHING_COLOR\n vec3 batchingColor = getBatchingColor( getIndirectIndex( gl_DrawID ) );\n vColor.xyz *= batchingColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\nhighp float rand( const in vec2 uv ) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n return fract( sin( sn ) * c );\n}\n#ifdef HIGH_PRECISION\n float precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n float precisionSafeLength( vec3 v ) {\n float maxComponent = max3( abs( v ) );\n return length( v / maxComponent ) * maxComponent;\n }\n#endif\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n bool visible;\n};\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n vec3 indirectSpecular;\n};\n#ifdef USE_ALPHAHASH\n varying vec3 vPosition;\n#endif\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nmat3 transposeMat3( const in mat3 m ) {\n mat3 tmp;\n tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n return tmp;\n}\nbool isPerspectiveMatrix( mat4 m ) {\n return m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n return vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n return RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n #define cubeUV_minMipLevel 4.0\n #define cubeUV_minTileSize 16.0\n float getFace( vec3 direction ) {\n vec3 absDirection = abs( direction );\n float face = - 1.0;\n if ( absDirection.x > absDirection.z ) {\n if ( absDirection.x > absDirection.y )\n face = direction.x > 0.0 ? 0.0 : 3.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n } else {\n if ( absDirection.z > absDirection.y )\n face = direction.z > 0.0 ? 2.0 : 5.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n }\n return face;\n }\n vec2 getUV( vec3 direction, float face ) {\n vec2 uv;\n if ( face == 0.0 ) {\n uv = vec2( direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 1.0 ) {\n uv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n } else if ( face == 2.0 ) {\n uv = vec2( - direction.x, direction.y ) / abs( direction.z );\n } else if ( face == 3.0 ) {\n uv = vec2( - direction.z, direction.y ) / abs( direction.x );\n } else if ( face == 4.0 ) {\n uv = vec2( - direction.x, direction.z ) / abs( direction.y );\n } else {\n uv = vec2( direction.x, direction.y ) / abs( direction.z );\n }\n return 0.5 * ( uv + 1.0 );\n }\n vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n float face = getFace( direction );\n float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n mipInt = max( mipInt, cubeUV_minMipLevel );\n float faceSize = exp2( mipInt );\n highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n if ( face > 2.0 ) {\n uv.y += faceSize;\n face -= 3.0;\n }\n uv.x += face * faceSize;\n uv.x += filterInt * 3.0 * cubeUV_minTileSize;\n uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n uv.x *= CUBEUV_TEXEL_WIDTH;\n uv.y *= CUBEUV_TEXEL_HEIGHT;\n #ifdef texture2DGradEXT\n return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n #else\n return texture2D( envMap, uv ).rgb;\n #endif\n }\n #define cubeUV_r0 1.0\n #define cubeUV_m0 - 2.0\n #define cubeUV_r1 0.8\n #define cubeUV_m1 - 1.0\n #define cubeUV_r4 0.4\n #define cubeUV_m4 2.0\n #define cubeUV_r5 0.305\n #define cubeUV_m5 3.0\n #define cubeUV_r6 0.21\n #define cubeUV_m6 4.0\n float roughnessToMip( float roughness ) {\n float mip = 0.0;\n if ( roughness >= cubeUV_r1 ) {\n mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n } else if ( roughness >= cubeUV_r4 ) {\n mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n } else if ( roughness >= cubeUV_r5 ) {\n mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n } else if ( roughness >= cubeUV_r6 ) {\n mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n } else {\n mip = - 2.0 * log2( 1.16 * roughness ); }\n return mip;\n }\n vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n float mipF = fract( mip );\n float mipInt = floor( mip );\n vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n if ( mipF == 0.0 ) {\n return vec4( color0, 1.0 );\n } else {\n vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n return vec4( mix( color0, color1, mipF ), 1.0 );\n }\n }\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n vec3 transformedTangent = objectTangent;\n#endif\n#ifdef USE_BATCHING\n mat3 bm = mat3( batchingMatrix );\n transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n transformedNormal = bm * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = bm * transformedTangent;\n #endif\n#endif\n#ifdef USE_INSTANCING\n mat3 im = mat3( instanceMatrix );\n transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n transformedNormal = im * transformedNormal;\n #ifdef USE_TANGENT\n transformedTangent = im * transformedTangent;\n #endif\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n transformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n #ifdef FLIP_SIDED\n transformedTangent = - transformedTangent;\n #endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n uniform sampler2D displacementMap;\n uniform float displacementScale;\n uniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n #ifdef DECODE_VIDEO_TEXTURE_EMISSIVE\n emissiveColor = sRGBTransferEOTF( emissiveColor );\n #endif\n totalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n uniform sampler2D emissiveMap;\n#endif",colorspace_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",colorspace_pars_fragment:"vec4 LinearTransferOETF( in vec4 value ) {\n return value;\n}\nvec4 sRGBTransferEOTF( in vec4 value ) {\n return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 sRGBTransferOETF( in vec4 value ) {\n return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vec3 cameraToFrag;\n if ( isOrthographic ) {\n cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToFrag = normalize( vWorldPosition - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vec3 reflectVec = reflect( cameraToFrag, worldNormal );\n #else\n vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n #endif\n #else\n vec3 reflectVec = vReflect;\n #endif\n #ifdef ENVMAP_TYPE_CUBE\n vec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n #else\n vec4 envColor = vec4( 0.0 );\n #endif\n #ifdef ENVMAP_BLENDING_MULTIPLY\n outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_MIX )\n outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n #elif defined( ENVMAP_BLENDING_ADD )\n outgoingLight += envColor.xyz * specularStrength * reflectivity;\n #endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n uniform float envMapIntensity;\n uniform float flipEnvMap;\n uniform mat3 envMapRotation;\n #ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n #else\n uniform sampler2D envMap;\n #endif\n \n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n uniform float reflectivity;\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n varying vec3 vWorldPosition;\n uniform float refractionRatio;\n #else\n varying vec3 vReflect;\n #endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n #define ENV_WORLDPOS\n #endif\n #ifdef ENV_WORLDPOS\n \n varying vec3 vWorldPosition;\n #else\n varying vec3 vReflect;\n uniform float refractionRatio;\n #endif\n#endif",envmap_physical_pars_fragment:"#ifdef USE_ENVMAP\n vec3 getIBLIrradiance( const in vec3 normal ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n return PI * envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 reflectVec = reflect( - viewDir, normal );\n reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n reflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n return envMapColor.rgb * envMapIntensity;\n #else\n return vec3( 0.0 );\n #endif\n }\n #ifdef USE_ANISOTROPY\n vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n #ifdef ENVMAP_TYPE_CUBE_UV\n vec3 bentNormal = cross( bitangent, viewDir );\n bentNormal = normalize( cross( bentNormal, bitangent ) );\n bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n return getIBLRadiance( viewDir, bentNormal, roughness );\n #else\n return vec3( 0.0 );\n #endif\n }\n #endif\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n #ifdef ENV_WORLDPOS\n vWorldPosition = worldPosition.xyz;\n #else\n vec3 cameraToVertex;\n if ( isOrthographic ) {\n cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n } else {\n cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n }\n vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n #ifdef ENVMAP_MODE_REFLECTION\n vReflect = reflect( cameraToVertex, worldNormal );\n #else\n vReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n #endif\n #endif\n#endif",fog_vertex:"#ifdef USE_FOG\n vFogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n varying float vFogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n #ifdef FOG_EXP2\n float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n #else\n float fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n #endif\n gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n uniform vec3 fogColor;\n varying float vFogDepth;\n #ifdef FOG_EXP2\n uniform float fogDensity;\n #else\n uniform float fogNear;\n uniform float fogFar;\n #endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n uniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n float dotNL = dot( normal, lightDirection );\n vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n #ifdef USE_GRADIENTMAP\n return vec3( texture2D( gradientMap, coord ).r );\n #else\n vec2 fw = fwidth( coord ) * 0.5;\n return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n #endif\n}",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n uniform sampler2D lightMap;\n uniform float lightMapIntensity;\n#endif",lights_lambert_fragment:"LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;",lights_lambert_pars_fragment:"varying vec3 vViewPosition;\nstruct LambertMaterial {\n vec3 diffuseColor;\n float specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Lambert\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n#if defined( USE_LIGHT_PROBES )\n uniform vec3 lightProbe[ 9 ];\n#endif\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n float x = normal.x, y = normal.y, z = normal.z;\n vec3 result = shCoefficients[ 0 ] * 0.886227;\n result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n return result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n return irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n vec3 irradiance = ambientLightColor;\n return irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n if ( cutoffDistance > 0.0 ) {\n distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n }\n return distanceFalloff;\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n return smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS > 0\n struct DirectionalLight {\n vec3 direction;\n vec3 color;\n };\n uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n light.color = directionalLight.color;\n light.direction = directionalLight.direction;\n light.visible = true;\n }\n#endif\n#if NUM_POINT_LIGHTS > 0\n struct PointLight {\n vec3 position;\n vec3 color;\n float distance;\n float decay;\n };\n uniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = pointLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float lightDistance = length( lVector );\n light.color = pointLight.color;\n light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n }\n#endif\n#if NUM_SPOT_LIGHTS > 0\n struct SpotLight {\n vec3 position;\n vec3 direction;\n vec3 color;\n float distance;\n float decay;\n float coneCos;\n float penumbraCos;\n };\n uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n vec3 lVector = spotLight.position - geometryPosition;\n light.direction = normalize( lVector );\n float angleCos = dot( light.direction, spotLight.direction );\n float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n if ( spotAttenuation > 0.0 ) {\n float lightDistance = length( lVector );\n light.color = spotLight.color * spotAttenuation;\n light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n light.visible = ( light.color != vec3( 0.0 ) );\n } else {\n light.color = vec3( 0.0 );\n light.visible = false;\n }\n }\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n struct RectAreaLight {\n vec3 color;\n vec3 position;\n vec3 halfWidth;\n vec3 halfHeight;\n };\n uniform sampler2D ltc_1; uniform sampler2D ltc_2;\n uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n struct HemisphereLight {\n vec3 direction;\n vec3 skyColor;\n vec3 groundColor;\n };\n uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n float dotNL = dot( normal, hemiLight.direction );\n float hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n return irradiance;\n }\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\nstruct ToonMaterial {\n vec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_Toon\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n vec3 diffuseColor;\n vec3 specularColor;\n float specularShininess;\n float specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct RE_Direct_BlinnPhong\n#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n material.ior = ior;\n #ifdef USE_SPECULAR\n float specularIntensityFactor = specularIntensity;\n vec3 specularColorFactor = specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n #endif\n material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n #else\n float specularIntensityFactor = 1.0;\n vec3 specularColorFactor = vec3( 1.0 );\n material.specularF90 = 1.0;\n #endif\n material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n material.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n material.clearcoat = clearcoat;\n material.clearcoatRoughness = clearcoatRoughness;\n material.clearcoatF0 = vec3( 0.04 );\n material.clearcoatF90 = 1.0;\n #ifdef USE_CLEARCOATMAP\n material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n #endif\n #ifdef USE_CLEARCOAT_ROUGHNESSMAP\n material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n #endif\n material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n material.clearcoatRoughness += geometryRoughness;\n material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_DISPERSION\n material.dispersion = dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n material.iridescence = iridescence;\n material.iridescenceIOR = iridescenceIOR;\n #ifdef USE_IRIDESCENCEMAP\n material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n #endif\n #ifdef USE_IRIDESCENCE_THICKNESSMAP\n material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n #else\n material.iridescenceThickness = iridescenceThicknessMaximum;\n #endif\n#endif\n#ifdef USE_SHEEN\n material.sheenColor = sheenColor;\n #ifdef USE_SHEEN_COLORMAP\n material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n #endif\n material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n #ifdef USE_SHEEN_ROUGHNESSMAP\n material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n #ifdef USE_ANISOTROPYMAP\n mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n #else\n vec2 anisotropyV = anisotropyVector;\n #endif\n material.anisotropy = length( anisotropyV );\n if( material.anisotropy == 0.0 ) {\n anisotropyV = vec2( 1.0, 0.0 );\n } else {\n anisotropyV /= material.anisotropy;\n material.anisotropy = saturate( material.anisotropy );\n }\n material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n vec3 diffuseColor;\n float roughness;\n vec3 specularColor;\n float specularF90;\n float dispersion;\n #ifdef USE_CLEARCOAT\n float clearcoat;\n float clearcoatRoughness;\n vec3 clearcoatF0;\n float clearcoatF90;\n #endif\n #ifdef USE_IRIDESCENCE\n float iridescence;\n float iridescenceIOR;\n float iridescenceThickness;\n vec3 iridescenceFresnel;\n vec3 iridescenceF0;\n #endif\n #ifdef USE_SHEEN\n vec3 sheenColor;\n float sheenRoughness;\n #endif\n #ifdef IOR\n float ior;\n #endif\n #ifdef USE_TRANSMISSION\n float transmission;\n float transmissionAlpha;\n float thickness;\n float attenuationDistance;\n vec3 attenuationColor;\n #endif\n #ifdef USE_ANISOTROPY\n float anisotropy;\n float alphaT;\n vec3 anisotropyT;\n vec3 anisotropyB;\n #endif\n};\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n float x2 = x * x;\n float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n float a2 = pow2( alpha );\n float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n return 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n float a2 = pow2( alpha );\n float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n return RECIPROCAL_PI * a2 / pow2( denom );\n}\n#ifdef USE_ANISOTROPY\n float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );\n float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n float v = 0.5 / ( gv + gl );\n return saturate(v);\n }\n float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n float a2 = alphaT * alphaB;\n highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n highp float v2 = dot( v, v );\n float w2 = a2 / v2;\n return RECIPROCAL_PI * a2 * pow2 ( w2 );\n }\n#endif\n#ifdef USE_CLEARCOAT\n vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n vec3 f0 = material.clearcoatF0;\n float f90 = material.clearcoatF90;\n float roughness = material.clearcoatRoughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n return F * ( V * D );\n }\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n vec3 f0 = material.specularColor;\n float f90 = material.specularF90;\n float roughness = material.roughness;\n float alpha = pow2( roughness );\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float dotVH = saturate( dot( viewDir, halfDir ) );\n vec3 F = F_Schlick( f0, f90, dotVH );\n #ifdef USE_IRIDESCENCE\n F = mix( F, material.iridescenceFresnel, material.iridescence );\n #endif\n #ifdef USE_ANISOTROPY\n float dotTL = dot( material.anisotropyT, lightDir );\n float dotTV = dot( material.anisotropyT, viewDir );\n float dotTH = dot( material.anisotropyT, halfDir );\n float dotBL = dot( material.anisotropyB, lightDir );\n float dotBV = dot( material.anisotropyB, viewDir );\n float dotBH = dot( material.anisotropyB, halfDir );\n float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n #else\n float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n float D = D_GGX( alpha, dotNH );\n #endif\n return F * ( V * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n const float LUT_SIZE = 64.0;\n const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n const float LUT_BIAS = 0.5 / LUT_SIZE;\n float dotNV = saturate( dot( N, V ) );\n vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n uv = uv * LUT_SCALE + LUT_BIAS;\n return uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n float l = length( f );\n return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n float x = dot( v1, v2 );\n float y = abs( x );\n float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n float b = 3.4175940 + ( 4.1616724 + y ) * y;\n float v = a / b;\n float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n return cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n vec3 lightNormal = cross( v1, v2 );\n if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n vec3 T1, T2;\n T1 = normalize( V - N * dot( V, N ) );\n T2 = - cross( N, T1 );\n mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n vec3 coords[ 4 ];\n coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n coords[ 0 ] = normalize( coords[ 0 ] );\n coords[ 1 ] = normalize( coords[ 1 ] );\n coords[ 2 ] = normalize( coords[ 2 ] );\n coords[ 3 ] = normalize( coords[ 3 ] );\n vec3 vectorFormFactor = vec3( 0.0 );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n float result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n return vec3( result );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n float alpha = pow2( roughness );\n float invAlpha = 1.0 / alpha;\n float cos2h = dotNH * dotNH;\n float sin2h = max( 1.0 - cos2h, 0.0078125 );\n return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n vec3 halfDir = normalize( lightDir + viewDir );\n float dotNL = saturate( dot( normal, lightDir ) );\n float dotNV = saturate( dot( normal, viewDir ) );\n float dotNH = saturate( dot( normal, halfDir ) );\n float D = D_Charlie( sheenRoughness, dotNH );\n float V = V_Neubelt( dotNV, dotNL );\n return sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n float r2 = roughness * roughness;\n float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n return saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n float dotNV = saturate( dot( normal, viewDir ) );\n const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n vec4 r = roughness * c0 + c1;\n float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n return fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n return specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n vec2 fab = DFGApprox( normal, viewDir, roughness );\n #ifdef USE_IRIDESCENCE\n vec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n #else\n vec3 Fr = specularColor;\n #endif\n vec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n float Ess = fab.x + fab.y;\n float Ems = 1.0 - Ess;\n vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n singleScatter += FssEss;\n multiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n vec3 normal = geometryNormal;\n vec3 viewDir = geometryViewDir;\n vec3 position = geometryPosition;\n vec3 lightPos = rectAreaLight.position;\n vec3 halfWidth = rectAreaLight.halfWidth;\n vec3 halfHeight = rectAreaLight.halfHeight;\n vec3 lightColor = rectAreaLight.color;\n float roughness = material.roughness;\n vec3 rectCoords[ 4 ];\n rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n vec2 uv = LTC_Uv( normal, viewDir, roughness );\n vec4 t1 = texture2D( ltc_1, uv );\n vec4 t2 = texture2D( ltc_2, uv );\n mat3 mInv = mat3(\n vec3( t1.x, 0, t1.y ),\n vec3( 0, 1, 0 ),\n vec3( t1.z, 0, t1.w )\n );\n vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n }\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n float dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n vec3 irradiance = dotNL * directLight.color;\n #ifdef USE_CLEARCOAT\n float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n vec3 ccIrradiance = dotNLcc * directLight.color;\n clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n #endif\n reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n #ifdef USE_CLEARCOAT\n clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n #endif\n #ifdef USE_SHEEN\n sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n #endif\n vec3 singleScattering = vec3( 0.0 );\n vec3 multiScattering = vec3( 0.0 );\n vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n #ifdef USE_IRIDESCENCE\n computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n #else\n computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n #endif\n vec3 totalScattering = singleScattering + multiScattering;\n vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n reflectedLight.indirectSpecular += radiance * singleScattering;\n reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct RE_Direct_Physical\n#define RE_Direct_RectArea RE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular RE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n#ifdef USE_CLEARCOAT\n geometryClearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n float dotNVi = saturate( dot( normal, geometryViewDir ) );\n if ( material.iridescenceThickness == 0.0 ) {\n material.iridescence = 0.0;\n } else {\n material.iridescence = saturate( material.iridescence );\n }\n if ( material.iridescence > 0.0 ) {\n material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n }\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n PointLight pointLight;\n #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n pointLight = pointLights[ i ];\n getPointLightInfo( pointLight, geometryPosition, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n pointLightShadow = pointLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n SpotLight spotLight;\n vec4 spotColor;\n vec3 spotLightCoord;\n bool inSpotLightMap;\n #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n spotLight = spotLights[ i ];\n getSpotLightInfo( spotLight, geometryPosition, directLight );\n #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n #else\n #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n #endif\n #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n #endif\n #undef SPOT_LIGHT_MAP_INDEX\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n spotLightShadow = spotLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n DirectionalLight directionalLight;\n #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLightShadow;\n #endif\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n directionalLight = directionalLights[ i ];\n getDirectionalLightInfo( directionalLight, directLight );\n #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n directionalLightShadow = directionalLightShadows[ i ];\n directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n #endif\n RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n RectAreaLight rectAreaLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n rectAreaLight = rectAreaLights[ i ];\n RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n }\n #pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n vec3 iblIrradiance = vec3( 0.0 );\n vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n #if defined( USE_LIGHT_PROBES )\n irradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n #endif\n #if ( NUM_HEMI_LIGHTS > 0 )\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if defined( RE_IndirectSpecular )\n vec3 radiance = vec3( 0.0 );\n vec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n irradiance += lightMapIrradiance;\n #endif\n #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n iblIrradiance += getIBLIrradiance( geometryNormal );\n #endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n #ifdef USE_ANISOTROPY\n radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n #else\n radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n #endif\n #ifdef USE_CLEARCOAT\n clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n #endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF )\n gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF )\n uniform float logDepthBufFC;\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n varying float vFragDepth;\n varying float vIsPerspective;\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n vFragDepth = 1.0 + gl_Position.w;\n vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n#endif",map_fragment:"#ifdef USE_MAP\n vec4 sampledDiffuseColor = texture2D( map, vMapUv );\n #ifdef DECODE_VIDEO_TEXTURE\n sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor );\n #endif\n diffuseColor *= sampledDiffuseColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n uniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n #if defined( USE_POINTS_UV )\n vec2 uv = vUv;\n #else\n vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n #endif\n#endif\n#ifdef USE_MAP\n diffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n diffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_POINTS_UV )\n varying vec2 vUv;\n#else\n #if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n uniform mat3 uvTransform;\n #endif\n#endif\n#ifdef USE_MAP\n uniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n uniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n metalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n uniform sampler2D metalnessMap;\n#endif",morphinstance_vertex:"#ifdef USE_INSTANCING_MORPH\n float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n }\n#endif",morphcolor_vertex:"#if defined( USE_MORPHCOLORS )\n vColor *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n #if defined( USE_COLOR_ALPHA )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n #elif defined( USE_COLOR )\n if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n #endif\n }\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n objectNormal *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n #ifndef USE_INSTANCING_MORPH\n uniform float morphTargetBaseInfluence;\n uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n #endif\n uniform sampler2DArray morphTargetsTexture;\n uniform ivec2 morphTargetsTextureSize;\n vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n int y = texelIndex / morphTargetsTextureSize.x;\n int x = texelIndex - y * morphTargetsTextureSize.x;\n ivec3 morphUV = ivec3( x, y, morphTargetIndex );\n return texelFetch( morphTargetsTexture, morphUV, 0 );\n }\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n transformed *= morphTargetBaseInfluence;\n for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n }\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n vec3 fdx = dFdx( vViewPosition );\n vec3 fdy = dFdy( vViewPosition );\n vec3 normal = normalize( cross( fdx, fdy ) );\n#else\n vec3 normal = normalize( vNormal );\n #ifdef DOUBLE_SIDED\n normal *= faceDirection;\n #endif\n#endif\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n #ifdef USE_TANGENT\n mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn = getTangentFrame( - vViewPosition, normal,\n #if defined( USE_NORMALMAP )\n vNormalMapUv\n #elif defined( USE_CLEARCOAT_NORMALMAP )\n vClearcoatNormalMapUv\n #else\n vUv\n #endif\n );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn[0] *= faceDirection;\n tbn[1] *= faceDirection;\n #endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n #ifdef USE_TANGENT\n mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n #else\n mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n #endif\n #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n tbn2[0] *= faceDirection;\n tbn2[1] *= faceDirection;\n #endif\n#endif\nvec3 nonPerturbedNormal = normal;",normal_fragment_maps:"#ifdef USE_NORMALMAP_OBJECTSPACE\n normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n #ifdef FLIP_SIDED\n normal = - normal;\n #endif\n #ifdef DOUBLE_SIDED\n normal = normal * faceDirection;\n #endif\n normal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n mapN.xy *= normalScale;\n normal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normal_pars_fragment:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_pars_vertex:"#ifndef FLAT_SHADED\n varying vec3 vNormal;\n #ifdef USE_TANGENT\n varying vec3 vTangent;\n varying vec3 vBitangent;\n #endif\n#endif",normal_vertex:"#ifndef FLAT_SHADED\n vNormal = normalize( transformedNormal );\n #ifdef USE_TANGENT\n vTangent = normalize( transformedTangent );\n vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n #endif\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n uniform sampler2D normalMap;\n uniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n uniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n vec3 q0 = dFdx( eye_pos.xyz );\n vec3 q1 = dFdy( eye_pos.xyz );\n vec2 st0 = dFdx( uv.st );\n vec2 st1 = dFdy( uv.st );\n vec3 N = surf_norm;\n vec3 q1perp = cross( q1, N );\n vec3 q0perp = cross( N, q0 );\n vec3 T = q1perp * st0.x + q0perp * st1.x;\n vec3 B = q1perp * st0.y + q0perp * st1.y;\n float det = max( dot( T, T ), dot( B, B ) );\n float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n return mat3( T * scale, B * scale, N );\n }\n#endif",clearcoat_normal_fragment_begin:"#ifdef USE_CLEARCOAT\n vec3 clearcoatNormal = nonPerturbedNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n clearcoatMapN.xy *= clearcoatNormalScale;\n clearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n uniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform sampler2D clearcoatNormalMap;\n uniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform sampler2D clearcoatRoughnessMap;\n#endif",iridescence_pars_fragment:"#ifdef USE_IRIDESCENCEMAP\n uniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform sampler2D iridescenceThicknessMap;\n#endif",opaque_fragment:"#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n return normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n return 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.;\nconst float Inv255 = 1. / 255.;\nconst vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 );\nconst vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g );\nconst vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b );\nconst vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a );\nvec4 packDepthToRGBA( const in float v ) {\n if( v <= 0.0 )\n return vec4( 0., 0., 0., 0. );\n if( v >= 1.0 )\n return vec4( 1., 1., 1., 1. );\n float vuf;\n float af = modf( v * PackFactors.a, vuf );\n float bf = modf( vuf * ShiftRight8, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af );\n}\nvec3 packDepthToRGB( const in float v ) {\n if( v <= 0.0 )\n return vec3( 0., 0., 0. );\n if( v >= 1.0 )\n return vec3( 1., 1., 1. );\n float vuf;\n float bf = modf( v * PackFactors.b, vuf );\n float gf = modf( vuf * ShiftRight8, vuf );\n return vec3( vuf * Inv255, gf * PackUpscale, bf );\n}\nvec2 packDepthToRG( const in float v ) {\n if( v <= 0.0 )\n return vec2( 0., 0. );\n if( v >= 1.0 )\n return vec2( 1., 1. );\n float vuf;\n float gf = modf( v * 256., vuf );\n return vec2( vuf * Inv255, gf );\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n return dot( v, UnpackFactors4 );\n}\nfloat unpackRGBToDepth( const in vec3 v ) {\n return dot( v, UnpackFactors3 );\n}\nfloat unpackRGToDepth( const in vec2 v ) {\n return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g;\n}\nvec4 pack2HalfToRGBA( const in vec2 v ) {\n vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\nvec2 unpackRGBATo2Half( const in vec4 v ) {\n return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n return ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return depth * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n return ( near * far ) / ( ( far - near ) * depth - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_BATCHING\n mvPosition = batchingMatrix * mvPosition;\n#endif\n#ifdef USE_INSTANCING\n mvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n gl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n vec3 dithering( vec3 color ) {\n float grid_position = rand( gl_FragCoord.xy );\n vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n return color + dither_shift_RGB;\n }\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n roughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n uniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#if NUM_SPOT_LIGHT_COORDS > 0\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS > 0\n uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n float texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n }\n vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n return unpackRGBATo2Half( texture2D( shadow, uv ) );\n }\n float VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n float occlusion = 1.0;\n vec2 distribution = texture2DDistribution( shadow, uv );\n float hard_shadow = step( compare , distribution.x );\n if (hard_shadow != 1.0 ) {\n float distance = compare - distribution.x ;\n float variance = max( 0.00000, distribution.y * distribution.y );\n float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n }\n return occlusion;\n }\n float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n float shadow = 1.0;\n shadowCoord.xyz /= shadowCoord.w;\n shadowCoord.z += shadowBias;\n bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n bool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n if ( frustumTest ) {\n #if defined( SHADOWMAP_TYPE_PCF )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx0 = - texelSize.x * shadowRadius;\n float dy0 = - texelSize.y * shadowRadius;\n float dx1 = + texelSize.x * shadowRadius;\n float dy1 = + texelSize.y * shadowRadius;\n float dx2 = dx0 / 2.0;\n float dy2 = dy0 / 2.0;\n float dx3 = dx1 / 2.0;\n float dy3 = dy1 / 2.0;\n shadow = (\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n ) * ( 1.0 / 17.0 );\n #elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n vec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n float dx = texelSize.x;\n float dy = texelSize.y;\n vec2 uv = shadowCoord.xy;\n vec2 f = fract( uv * shadowMapSize + 0.5 );\n uv -= f * texelSize;\n shadow = (\n texture2DCompare( shadowMap, uv, shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n f.x ) +\n mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n f.y ) +\n mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n f.x ),\n mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n f.x ),\n f.y )\n ) * ( 1.0 / 9.0 );\n #elif defined( SHADOWMAP_TYPE_VSM )\n shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n #else\n shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n vec2 cubeToUV( vec3 v, float texelSizeY ) {\n vec3 absV = abs( v );\n float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n absV *= scaleToCube;\n v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n vec2 planar = v.xy;\n float almostATexel = 1.5 * texelSizeY;\n float almostOne = 1.0 - almostATexel;\n if ( absV.z >= almostOne ) {\n if ( v.z > 0.0 )\n planar.x = 4.0 - v.x;\n } else if ( absV.x >= almostOne ) {\n float signX = sign( v.x );\n planar.x = v.z * signX + 2.0 * signX;\n } else if ( absV.y >= almostOne ) {\n float signY = sign( v.y );\n planar.x = v.x + 2.0 * signY + 2.0;\n planar.y = v.z * signY - 2.0;\n }\n return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n }\n float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n float shadow = 1.0;\n vec3 lightToPosition = shadowCoord.xyz;\n \n float lightToPositionLength = length( lightToPosition );\n if ( lightToPositionLength - shadowCameraFar <= 0.0 && lightToPositionLength - shadowCameraNear >= 0.0 ) {\n float dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias;\n vec3 bd3D = normalize( lightToPosition );\n vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n shadow = (\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n ) * ( 1.0 / 9.0 );\n #else\n shadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n #endif\n }\n return mix( 1.0, shadow, shadowIntensity );\n }\n#endif",shadowmap_pars_vertex:"#if NUM_SPOT_LIGHT_COORDS > 0\n uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n struct DirectionalLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n struct SpotLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n };\n uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n struct PointLightShadow {\n float shadowIntensity;\n float shadowBias;\n float shadowNormalBias;\n float shadowRadius;\n vec2 shadowMapSize;\n float shadowCameraNear;\n float shadowCameraFar;\n };\n uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n #endif\n#endif",shadowmap_vertex:"#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n vec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n #endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS > 0\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n shadowWorldPosition = worldPosition;\n #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n #endif\n vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n }\n #pragma unroll_loop_end\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n float shadow = 1.0;\n #ifdef USE_SHADOWMAP\n #if NUM_DIR_LIGHT_SHADOWS > 0\n DirectionalLightShadow directionalLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n directionalLight = directionalLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_SPOT_LIGHT_SHADOWS > 0\n SpotLightShadow spotLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n spotLight = spotLightShadows[ i ];\n shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #if NUM_POINT_LIGHT_SHADOWS > 0\n PointLightShadow pointLight;\n #pragma unroll_loop_start\n for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n pointLight = pointLightShadows[ i ];\n shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n }\n #pragma unroll_loop_end\n #endif\n #endif\n return shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n mat4 boneMatX = getBoneMatrix( skinIndex.x );\n mat4 boneMatY = getBoneMatrix( skinIndex.y );\n mat4 boneMatZ = getBoneMatrix( skinIndex.z );\n mat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n uniform mat4 bindMatrix;\n uniform mat4 bindMatrixInverse;\n uniform highp sampler2D boneTexture;\n mat4 getBoneMatrix( const in float i ) {\n int size = textureSize( boneTexture, 0 ).x;\n int j = int( i ) * 4;\n int x = j % size;\n int y = j / size;\n vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n return mat4( v1, v2, v3, v4 );\n }\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n vec4 skinned = vec4( 0.0 );\n skinned += boneMatX * skinVertex * skinWeight.x;\n skinned += boneMatY * skinVertex * skinWeight.y;\n skinned += boneMatZ * skinVertex * skinWeight.z;\n skinned += boneMatW * skinVertex * skinWeight.w;\n transformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n mat4 skinMatrix = mat4( 0.0 );\n skinMatrix += skinWeight.x * boneMatX;\n skinMatrix += skinWeight.y * boneMatY;\n skinMatrix += skinWeight.z * boneMatZ;\n skinMatrix += skinWeight.w * boneMatW;\n skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n #ifdef USE_TANGENT\n objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n #endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n specularStrength = texelSpecular.r;\n#else\n specularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n uniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n return saturate( toneMappingExposure * color );\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n return saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 CineonToneMapping( vec3 color ) {\n color *= toneMappingExposure;\n color = max( vec3( 0.0 ), color - 0.004 );\n return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n vec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n return a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n const mat3 ACESInputMat = mat3(\n vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),\n vec3( 0.04823, 0.01566, 0.83777 )\n );\n const mat3 ACESOutputMat = mat3(\n vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),\n vec3( -0.07367, -0.00605, 1.07602 )\n );\n color *= toneMappingExposure / 0.6;\n color = ACESInputMat * color;\n color = RRTAndODTFit( color );\n color = ACESOutputMat * color;\n return saturate( color );\n}\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n vec3( 1.6605, - 0.1246, - 0.0182 ),\n vec3( - 0.5876, 1.1329, - 0.1006 ),\n vec3( - 0.0728, - 0.0083, 1.1187 )\n);\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n vec3( 0.6274, 0.0691, 0.0164 ),\n vec3( 0.3293, 0.9195, 0.0880 ),\n vec3( 0.0433, 0.0113, 0.8956 )\n);\nvec3 agxDefaultContrastApprox( vec3 x ) {\n vec3 x2 = x * x;\n vec3 x4 = x2 * x2;\n return + 15.5 * x4 * x2\n - 40.14 * x4 * x\n + 31.96 * x4\n - 6.868 * x2 * x\n + 0.4298 * x2\n + 0.1191 * x\n - 0.00232;\n}\nvec3 AgXToneMapping( vec3 color ) {\n const mat3 AgXInsetMatrix = mat3(\n vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n );\n const mat3 AgXOutsetMatrix = mat3(\n vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n );\n const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069;\n color *= toneMappingExposure;\n color = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n color = AgXInsetMatrix * color;\n color = max( color, 1e-10 ); color = log2( color );\n color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n color = clamp( color, 0.0, 1.0 );\n color = agxDefaultContrastApprox( color );\n color = AgXOutsetMatrix * color;\n color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n color = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n color = clamp( color, 0.0, 1.0 );\n return color;\n}\nvec3 NeutralToneMapping( vec3 color ) {\n const float StartCompression = 0.8 - 0.04;\n const float Desaturation = 0.15;\n color *= toneMappingExposure;\n float x = min( color.r, min( color.g, color.b ) );\n float offset = x < 0.08 ? x - 6.25 * x * x : 0.04;\n color -= offset;\n float peak = max( color.r, max( color.g, color.b ) );\n if ( peak < StartCompression ) return color;\n float d = 1. - StartCompression;\n float newPeak = 1. - d * d / ( peak + d - StartCompression );\n color *= newPeak / peak;\n float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );\n return mix( color, vec3( newPeak ), g );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmission_fragment:"#ifdef USE_TRANSMISSION\n material.transmission = transmission;\n material.transmissionAlpha = 1.0;\n material.thickness = thickness;\n material.attenuationDistance = attenuationDistance;\n material.attenuationColor = attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n #endif\n #ifdef USE_THICKNESSMAP\n material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n #endif\n vec3 pos = vWorldPosition;\n vec3 v = normalize( cameraPosition - pos );\n vec3 n = inverseTransformDirection( normal, viewMatrix );\n vec4 transmitted = getIBLVolumeRefraction(\n n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,\n material.attenuationColor, material.attenuationDistance );\n material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n#endif",transmission_pars_fragment:"#ifdef USE_TRANSMISSION\n uniform float transmission;\n uniform float thickness;\n uniform float attenuationDistance;\n uniform vec3 attenuationColor;\n #ifdef USE_TRANSMISSIONMAP\n uniform sampler2D transmissionMap;\n #endif\n #ifdef USE_THICKNESSMAP\n uniform sampler2D thicknessMap;\n #endif\n uniform vec2 transmissionSamplerSize;\n uniform sampler2D transmissionSamplerMap;\n uniform mat4 modelMatrix;\n uniform mat4 projectionMatrix;\n varying vec3 vWorldPosition;\n float w0( float a ) {\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n }\n float w1( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 );\n }\n float w2( float a ){\n return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n }\n float w3( float a ) {\n return ( 1.0 / 6.0 ) * ( a * a * a );\n }\n float g0( float a ) {\n return w0( a ) + w1( a );\n }\n float g1( float a ) {\n return w2( a ) + w3( a );\n }\n float h0( float a ) {\n return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n }\n float h1( float a ) {\n return 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n }\n vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n uv = uv * texelSize.zw + 0.5;\n vec2 iuv = floor( uv );\n vec2 fuv = fract( uv );\n float g0x = g0( fuv.x );\n float g1x = g1( fuv.x );\n float h0x = h0( fuv.x );\n float h1x = h1( fuv.x );\n float h0y = h0( fuv.y );\n float h1y = h1( fuv.y );\n vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n }\n vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n vec2 fLodSizeInv = 1.0 / fLodSize;\n vec2 cLodSizeInv = 1.0 / cLodSize;\n vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n return mix( fSample, cSample, fract( lod ) );\n }\n vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n vec3 modelScale;\n modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n return normalize( refractionVector ) * thickness * modelScale;\n }\n float applyIorToRoughness( const in float roughness, const in float ior ) {\n return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n }\n vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n }\n vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n if ( isinf( attenuationDistance ) ) {\n return vec3( 1.0 );\n } else {\n vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance;\n }\n }\n vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,\n const in vec3 attenuationColor, const in float attenuationDistance ) {\n vec4 transmittedLight;\n vec3 transmittance;\n #ifdef USE_DISPERSION\n float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;\n vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );\n for ( int i = 0; i < 3; i ++ ) {\n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n \n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n \n vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );\n transmittedLight[ i ] = transmissionSample[ i ];\n transmittedLight.a += transmissionSample.a;\n transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];\n }\n transmittedLight.a /= 3.0;\n \n #else\n \n vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n vec3 refractedRayExit = position + transmissionRay;\n vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n vec2 refractionCoords = ndcPos.xy / ndcPos.w;\n refractionCoords += 1.0;\n refractionCoords /= 2.0;\n transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n \n #endif\n vec3 attenuatedColor = transmittance * transmittedLight.rgb;\n vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n }\n#endif",uv_pars_fragment:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_pars_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n varying vec2 vUv;\n#endif\n#ifdef USE_MAP\n uniform mat3 mapTransform;\n varying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n uniform mat3 alphaMapTransform;\n varying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n uniform mat3 lightMapTransform;\n varying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n uniform mat3 aoMapTransform;\n varying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n uniform mat3 bumpMapTransform;\n varying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n uniform mat3 normalMapTransform;\n varying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n uniform mat3 displacementMapTransform;\n varying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n uniform mat3 emissiveMapTransform;\n varying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n uniform mat3 metalnessMapTransform;\n varying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n uniform mat3 roughnessMapTransform;\n varying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n uniform mat3 anisotropyMapTransform;\n varying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n uniform mat3 clearcoatMapTransform;\n varying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n uniform mat3 clearcoatNormalMapTransform;\n varying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n uniform mat3 clearcoatRoughnessMapTransform;\n varying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n uniform mat3 sheenColorMapTransform;\n varying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n uniform mat3 sheenRoughnessMapTransform;\n varying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n uniform mat3 iridescenceMapTransform;\n varying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n uniform mat3 iridescenceThicknessMapTransform;\n varying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n uniform mat3 specularMapTransform;\n varying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n uniform mat3 specularColorMapTransform;\n varying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n uniform mat3 specularIntensityMapTransform;\n varying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n uniform mat3 transmissionMapTransform;\n varying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n uniform mat3 thicknessMapTransform;\n varying vec2 vThicknessMapUv;\n#endif",uv_vertex:"#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n vUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ANISOTROPYMAP\n vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n vec4 worldPosition = vec4( transformed, 1.0 );\n #ifdef USE_BATCHING\n worldPosition = batchingMatrix * worldPosition;\n #endif\n #ifdef USE_INSTANCING\n worldPosition = instanceMatrix * worldPosition;\n #endif\n worldPosition = modelMatrix * worldPosition;\n#endif",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n gl_Position = vec4( position.xy, 1.0, 1.0 );\n}",background_frag:"uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n vec4 texColor = texture2D( t2D, vUv );\n #ifdef DECODE_VIDEO_TEXTURE\n texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",backgroundCube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",backgroundCube_frag:"#ifdef ENVMAP_TYPE_CUBE\n uniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n uniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n #ifdef ENVMAP_TYPE_CUBE\n vec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n #elif defined( ENVMAP_TYPE_CUBE_UV )\n vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n #else\n vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n #endif\n texColor.rgb *= backgroundIntensity;\n gl_FragColor = texColor;\n #include \n #include \n}",cube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n gl_Position.z = gl_Position.w;\n}",cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n gl_FragColor = texColor;\n gl_FragColor.a *= opacity;\n #include \n #include \n}",depth_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vHighPrecisionZW = gl_Position.zw;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n uniform float opacity;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvarying vec2 vHighPrecisionZW;\nvoid main() {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #if DEPTH_PACKING == 3200\n diffuseColor.a = opacity;\n #endif\n #include \n #include \n #include \n #include \n #include \n float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n #if DEPTH_PACKING == 3200\n gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n #elif DEPTH_PACKING == 3201\n gl_FragColor = packDepthToRGBA( fragCoordZ );\n #elif DEPTH_PACKING == 3202\n gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 );\n #elif DEPTH_PACKING == 3203\n gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );\n #endif\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #ifdef USE_DISPLACEMENTMAP\n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vWorldPosition = worldPosition.xyz;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main () {\n vec4 diffuseColor = vec4( 1.0 );\n #include \n #include \n #include \n #include \n #include \n float dist = length( vWorldPosition - referencePosition );\n dist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n dist = saturate( dist );\n gl_FragColor = packDepthToRGBA( dist );\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n vWorldDirection = transformDirection( position, modelMatrix );\n #include \n #include \n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include \nvoid main() {\n vec3 direction = normalize( vWorldDirection );\n vec2 sampleUV = equirectUv( direction );\n gl_FragColor = texture2D( tEquirect, sampleUV );\n #include \n #include \n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vLineDistance = scale * lineDistance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n if ( mod( vLineDistance, totalSize ) > dashSize ) {\n discard;\n }\n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",meshbasic_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n #include \n #include \n #include \n #include \n #include \n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n varying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n #ifdef USE_LIGHTMAP\n vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n #else\n reflectedLight.indirectDiffuse += vec3( 1.0 );\n #endif\n #include \n reflectedLight.indirectDiffuse *= diffuseColor.rgb;\n vec3 outgoingLight = reflectedLight.indirectDiffuse;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshlambert_frag:"#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 viewDir = normalize( vViewPosition );\n vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n vec3 y = cross( viewDir, x );\n vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n #ifdef USE_MATCAP\n vec4 matcapColor = texture2D( matcap, uv );\n #else\n vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n #endif\n vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshnormal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n vViewPosition = - mvPosition.xyz;\n#endif\n}",meshnormal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n varying vec3 vViewPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n #include \n #include \n #include \n #include \n gl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n #ifdef OPAQUE\n gl_FragColor.a = 1.0;\n #endif\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n #include \n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n varying vec3 vWorldPosition;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n#ifdef USE_TRANSMISSION\n vWorldPosition = worldPosition.xyz;\n#endif\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n #define IOR\n #define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n uniform float ior;\n#endif\n#ifdef USE_SPECULAR\n uniform float specularIntensity;\n uniform vec3 specularColor;\n #ifdef USE_SPECULAR_COLORMAP\n uniform sampler2D specularColorMap;\n #endif\n #ifdef USE_SPECULAR_INTENSITYMAP\n uniform sampler2D specularIntensityMap;\n #endif\n#endif\n#ifdef USE_CLEARCOAT\n uniform float clearcoat;\n uniform float clearcoatRoughness;\n#endif\n#ifdef USE_DISPERSION\n uniform float dispersion;\n#endif\n#ifdef USE_IRIDESCENCE\n uniform float iridescence;\n uniform float iridescenceIOR;\n uniform float iridescenceThicknessMinimum;\n uniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n uniform vec3 sheenColor;\n uniform float sheenRoughness;\n #ifdef USE_SHEEN_COLORMAP\n uniform sampler2D sheenColorMap;\n #endif\n #ifdef USE_SHEEN_ROUGHNESSMAP\n uniform sampler2D sheenRoughnessMap;\n #endif\n#endif\n#ifdef USE_ANISOTROPY\n uniform vec2 anisotropyVector;\n #ifdef USE_ANISOTROPYMAP\n uniform sampler2D anisotropyMap;\n #endif\n#endif\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n #include \n vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n #ifdef USE_SHEEN\n float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n #endif\n #ifdef USE_CLEARCOAT\n float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vViewPosition = - mvPosition.xyz;\n #include \n #include \n #include \n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n vec3 totalEmissiveRadiance = emissive;\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n #include \n #include \n #include \n #include \n #include \n #include \n}",points_vert:"uniform float size;\nuniform float scale;\n#include \n#include \n#include \n#include \n#include \n#include \n#ifdef USE_POINTS_UV\n varying vec2 vUv;\n uniform mat3 uvTransform;\n#endif\nvoid main() {\n #ifdef USE_POINTS_UV\n vUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n #endif\n #include \n #include \n #include \n #include \n #include \n #include \n gl_PointSize = size;\n #ifdef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n #endif\n #include \n #include \n #include \n #include \n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n #include \n}",shadow_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n #include \n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n #include \n #include \n #include \n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n #include \n vec4 mvPosition = modelViewMatrix[ 3 ];\n vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) );\n #ifndef USE_SIZEATTENUATION\n bool isPerspective = isPerspectiveMatrix( projectionMatrix );\n if ( isPerspective ) scale *= - mvPosition.z;\n #endif\n vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n vec2 rotatedPosition;\n rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n mvPosition.xy += rotatedPosition;\n gl_Position = projectionMatrix * mvPosition;\n #include \n #include \n #include \n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n vec4 diffuseColor = vec4( diffuse, opacity );\n #include \n vec3 outgoingLight = vec3( 0.0 );\n #include \n #include \n #include \n #include \n #include \n outgoingLight = diffuseColor.rgb;\n #include \n #include \n #include \n #include \n}"},ok={common:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Z}},envmap:{envMap:{value:null},envMapRotation:{value:new Z},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Z}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Z}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Z},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Z},normalScale:{value:new Y(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Z},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Z}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Z}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Z}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new tz(0xffffff)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0},uvTransform:{value:new Z}},sprite:{diffuse:{value:new tz(0xffffff)},opacity:{value:1},center:{value:new Y(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Z},alphaMap:{value:null},alphaMapTransform:{value:new Z},alphaTest:{value:0}}},oH={basic:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.fog]),vertexShader:oB.meshbasic_vert,fragmentShader:oB.meshbasic_frag},lambert:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshlambert_vert,fragmentShader:oB.meshlambert_frag},phong:{uniforms:n_([ok.common,ok.specularmap,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},specular:{value:new tz(1118481)},shininess:{value:30}}]),vertexShader:oB.meshphong_vert,fragmentShader:oB.meshphong_frag},standard:{uniforms:n_([ok.common,ok.envmap,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.roughnessmap,ok.metalnessmap,ok.fog,ok.lights,{emissive:{value:new tz(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag},toon:{uniforms:n_([ok.common,ok.aomap,ok.lightmap,ok.emissivemap,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.gradientmap,ok.fog,ok.lights,{emissive:{value:new tz(0)}}]),vertexShader:oB.meshtoon_vert,fragmentShader:oB.meshtoon_frag},matcap:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,ok.fog,{matcap:{value:null}}]),vertexShader:oB.meshmatcap_vert,fragmentShader:oB.meshmatcap_frag},points:{uniforms:n_([ok.points,ok.fog]),vertexShader:oB.points_vert,fragmentShader:oB.points_frag},dashed:{uniforms:n_([ok.common,ok.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:oB.linedashed_vert,fragmentShader:oB.linedashed_frag},depth:{uniforms:n_([ok.common,ok.displacementmap]),vertexShader:oB.depth_vert,fragmentShader:oB.depth_frag},normal:{uniforms:n_([ok.common,ok.bumpmap,ok.normalmap,ok.displacementmap,{opacity:{value:1}}]),vertexShader:oB.meshnormal_vert,fragmentShader:oB.meshnormal_frag},sprite:{uniforms:n_([ok.sprite,ok.fog]),vertexShader:oB.sprite_vert,fragmentShader:oB.sprite_frag},background:{uniforms:{uvTransform:{value:new Z},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:oB.background_vert,fragmentShader:oB.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Z}},vertexShader:oB.backgroundCube_vert,fragmentShader:oB.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:oB.cube_vert,fragmentShader:oB.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:oB.equirect_vert,fragmentShader:oB.equirect_frag},distanceRGBA:{uniforms:n_([ok.common,ok.displacementmap,{referencePosition:{value:new eE},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:oB.distanceRGBA_vert,fragmentShader:oB.distanceRGBA_frag},shadow:{uniforms:n_([ok.lights,ok.fog,{color:{value:new tz(0)},opacity:{value:1}}]),vertexShader:oB.shadow_vert,fragmentShader:oB.shadow_frag}};oH.physical={uniforms:n_([oH.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Z},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Z},clearcoatNormalScale:{value:new Y(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Z},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Z},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Z},sheen:{value:0},sheenColor:{value:new tz(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Z},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Z},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Z},transmissionSamplerSize:{value:new Y},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Z},attenuationDistance:{value:0},attenuationColor:{value:new tz(0)},specularColor:{value:new tz(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Z},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Z},anisotropyVector:{value:new Y},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Z}}]),vertexShader:oB.meshphysical_vert,fragmentShader:oB.meshphysical_frag};let oV={r:0,b:0,g:0},oG=new tn,oW=new e2;function oj(e,t,n,i,r,a,s){let o,l,u=new tz(0),c=+(!0!==a),h=null,d=0,p=null;function f(e){let i=!0===e.isScene?e.background:null;return i&&i.isTexture&&(i=(e.backgroundBlurriness>0?n:t).get(i)),i}function m(t,n){t.getRGB(oV,ny(e)),i.buffers.color.setClear(oV.r,oV.g,oV.b,n,s)}return{getClearColor:function(){return u},setClearColor:function(e,t=1){u.set(e),m(u,c=t)},getClearAlpha:function(){return c},setClearAlpha:function(e){m(u,c=e)},render:function(t){let n=!1,r=f(t);null===r?m(u,c):r&&r.isColor&&(m(r,1),n=!0);let a=e.xr.getEnvironmentBlendMode();"additive"===a?i.buffers.color.setClear(0,0,0,1,s):"alpha-blend"===a&&i.buffers.color.setClear(0,0,0,0,s),(e.autoClear||n)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))},addToRenderList:function(t,n){let i=f(n);i&&(i.isCubeTexture||306===i.mapping)?(void 0===l&&((l=new nf(new ng(1,1,1),new nb({name:"BackgroundCubeMaterial",uniforms:nv(oH.backgroundCube.uniforms),vertexShader:oH.backgroundCube.vertexShader,fragmentShader:oH.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(l)),oG.copy(n.backgroundRotation),oG.x*=-1,oG.y*=-1,oG.z*=-1,i.isCubeTexture&&!1===i.isRenderTargetTexture&&(oG.y*=-1,oG.z*=-1),l.material.uniforms.envMap.value=i,l.material.uniforms.flipEnvMap.value=i.isCubeTexture&&!1===i.isRenderTargetTexture?-1:1,l.material.uniforms.backgroundBlurriness.value=n.backgroundBlurriness,l.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,l.material.uniforms.backgroundRotation.value.setFromMatrix4(oW.makeRotationFromEuler(oG)),l.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,(h!==i||d!==i.version||p!==e.toneMapping)&&(l.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null)):i&&i.isTexture&&(void 0===o&&((o=new nf(new r9(2,2),new nb({name:"BackgroundMaterial",uniforms:nv(oH.background.uniforms),vertexShader:oH.background.vertexShader,fragmentShader:oH.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1}))).geometry.deleteAttribute("normal"),Object.defineProperty(o.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(o)),o.material.uniforms.t2D.value=i,o.material.uniforms.backgroundIntensity.value=n.backgroundIntensity,o.material.toneMapped=eu.getTransfer(i.colorSpace)!==U,!0===i.matrixAutoUpdate&&i.updateMatrix(),o.material.uniforms.uvTransform.value.copy(i.matrix),(h!==i||d!==i.version||p!==e.toneMapping)&&(o.material.needsUpdate=!0,h=i,d=i.version,p=e.toneMapping),o.layers.enableAll(),t.unshift(o,o.geometry,o.material,0,0,null))},dispose:function(){void 0!==l&&(l.geometry.dispose(),l.material.dispose()),void 0!==o&&(o.geometry.dispose(),o.material.dispose())}}}function oX(e,t){let n=e.getParameter(e.MAX_VERTEX_ATTRIBS),i={},r=u(null),a=r,s=!1;function o(t){return e.bindVertexArray(t)}function l(t){return e.deleteVertexArray(t)}function u(e){let t=[],i=[],r=[];for(let e=0;e=0){let n=r[t],i=s[t];if(void 0===i&&("instanceMatrix"===t&&e.instanceMatrix&&(i=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(i=e.instanceColor)),void 0===n||n.attribute!==i||i&&n.data!==i.data)return!0;o++}return a.attributesNum!==o||a.index!==i}(n,m,l,g))&&function(e,t,n,i){let r={},s=t.attributes,o=0,l=n.getAttributes();for(let t in l)if(l[t].location>=0){let n=s[t];void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor));let i={};i.attribute=n,n&&n.data&&(i.data=n.data),r[t]=i,o++}a.attributes=r,a.attributesNum=o,a.index=i}(n,m,l,g),null!==g&&t.update(g,e.ELEMENT_ARRAY_BUFFER),(M||s)&&(s=!1,function(n,i,r,a){c();let s=a.attributes,o=r.getAttributes(),l=i.defaultAttributeValues;for(let i in o){let r=o[i];if(r.location>=0){let o=s[i];if(void 0===o&&("instanceMatrix"===i&&n.instanceMatrix&&(o=n.instanceMatrix),"instanceColor"===i&&n.instanceColor&&(o=n.instanceColor)),void 0!==o){let i=o.normalized,s=o.itemSize,l=t.get(o);if(void 0===l)continue;let u=l.buffer,c=l.type,p=l.bytesPerElement,m=c===e.INT||c===e.UNSIGNED_INT||1013===o.gpuType;if(o.isInterleavedBufferAttribute){let t=o.data,l=t.stride,g=o.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let s=void 0!==n.precision?n.precision:"highp",o=a(s);o!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",o,"instead."),s=o);let l=!0===n.logarithmicDepthBuffer,u=!0===n.reverseDepthBuffer&&t.has("EXT_clip_control"),c=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),h=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS);return{isWebGL2:!0,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===t.has("EXT_texture_filter_anisotropic")){let n=t.get("EXT_texture_filter_anisotropic");r=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:a,textureFormatReadable:function(t){return 1023===t||i.convert(t)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT)},textureTypeReadable:function(n){let r=1016===n&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return 1009===n||i.convert(n)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)||1015===n||!!r},precision:s,logarithmicDepthBuffer:l,reverseDepthBuffer:u,maxTextures:c,maxVertexTextures:h,maxTextureSize:e.getParameter(e.MAX_TEXTURE_SIZE),maxCubemapSize:e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),maxAttributes:e.getParameter(e.MAX_VERTEX_ATTRIBS),maxVertexUniforms:e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),maxVaryings:e.getParameter(e.MAX_VARYING_VECTORS),maxFragmentUniforms:e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),vertexTextures:h>0,maxSamples:e.getParameter(e.MAX_SAMPLES)}}function oZ(e){let t=this,n=null,i=0,r=!1,a=!1,s=new iy,o=new Z,l={value:null,needsUpdate:!1};function u(e,n,i,r){let a=null!==e?e.length:0,u=null;if(0!==a){if(u=l.value,!0!==r||null===u){let t=i+4*a,r=n.matrixWorldInverse;o.getNormalMatrix(r),(null===u||u.length0),t.numPlanes=i,t.numIntersection=0)}}function oJ(e){let t=new WeakMap;function n(e,t){return 303===t?e.mapping=301:304===t&&(e.mapping=302),e}function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping;if(303===a||304===a)if(t.has(r))return n(t.get(r).texture,r.mapping);else{let a=r.image;if(!a||!(a.height>0))return null;{let s=new nR(a.height);return s.fromEquirectangularTexture(e,r),t.set(r,s),r.addEventListener("dispose",i),n(s.texture,r.mapping)}}}return r},dispose:function(){t=new WeakMap}}}let oK=[.125,.215,.35,.446,.526,.582],o$=new sn,oQ=new tz,o0=null,o1=0,o2=0,o3=!1,o4=(1+Math.sqrt(5))/2,o5=1/o4,o6=[new eE(-o4,o5,0),new eE(o4,o5,0),new eE(-o5,0,o4),new eE(o5,0,o4),new eE(0,o4,-o5),new eE(0,o4,o5),new eE(-1,1,-1),new eE(1,1,-1),new eE(-1,1,1),new eE(1,1,1)];class o8{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,n=.1,i=100){o0=this._renderer.getRenderTarget(),o1=this._renderer.getActiveCubeFace(),o2=this._renderer.getActiveMipmapLevel(),o3=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(256);let r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(e,n,i,r),t>0&&this._blur(r,0,0,t),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=lt(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=le(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;ee-4?o=oK[s-e+4-1]:0===s&&(o=0),i.push(o);let l=1/(a-2),u=-l,c=1+l,h=[u,u,c,u,c,c,u,u,c,c,u,c],d=new Float32Array(108),p=new Float32Array(72),f=new Float32Array(36);for(let e=0;e<6;e++){let t=e%3*2/3-1,n=e>2?0:-1,i=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];d.set(i,18*e),p.set(h,12*e);let r=[e,e,e,e,e,e];f.set(r,6*e)}let m=new nn;m.setAttribute("position",new tZ(d,3)),m.setAttribute("uv",new tZ(p,2)),m.setAttribute("faceIndex",new tZ(f,1)),t.push(m),r>4&&r--}return{lodPlanes:t,sizeLods:n,sigmas:i}}(i)),this._blurMaterial=(r=i,new nb({name:"SphericalGaussianBlur",defines:{n:20,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${r}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:new Float32Array(20)},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:new eE(0,1,0)}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:0,depthTest:!1,depthWrite:!1}))}return i}_compileMaterial(e){let t=new nf(this._lodPlanes[0],e);this._renderer.compile(t,o$)}_sceneToCubeUV(e,t,n,i){let r=new nE(90,1,t,n),a=[1,-1,1,1,1,1],s=[1,1,1,-1,-1,-1],o=this._renderer,l=o.autoClear,u=o.toneMapping;o.getClearColor(oQ),o.toneMapping=0,o.autoClear=!1;let c=new tV({name:"PMREM.Background",side:1,depthWrite:!1,depthTest:!1}),h=new nf(new ng,c),d=!1,p=e.background;p?p.isColor&&(c.color.copy(p),e.background=null,d=!0):(c.color.copy(oQ),d=!0);for(let t=0;t<6;t++){let n=t%3;0===n?(r.up.set(0,a[t],0),r.lookAt(s[t],0,0)):1===n?(r.up.set(0,0,a[t]),r.lookAt(0,s[t],0)):(r.up.set(0,a[t],0),r.lookAt(0,0,s[t]));let l=this._cubeSize;o7(i,n*l,t>2?l:0,l,l),o.setRenderTarget(i),d&&o.render(h,r),o.render(e,r)}h.geometry.dispose(),h.material.dispose(),o.toneMapping=u,o.autoClear=l,e.background=p}_textureToCubeUV(e,t){let n=this._renderer,i=301===e.mapping||302===e.mapping;i?(null===this._cubemapMaterial&&(this._cubemapMaterial=lt()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=le());let r=i?this._cubemapMaterial:this._equirectMaterial,a=new nf(this._lodPlanes[0],r);r.uniforms.envMap.value=e;let s=this._cubeSize;o7(t,0,0,3*s,2*s),n.setRenderTarget(t),n.render(a,o$)}_applyPMREM(e){let t=this._renderer,n=t.autoClear;t.autoClear=!1;let i=this._lodPlanes.length;for(let t=1;t20&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${f} samples when the maximum is set to 20`);let m=[],g=0;for(let e=0;e<20;++e){let t=e/p,n=Math.exp(-t*t/2);m.push(n),0===e?g+=n:ev-4?i-v+4:0),y,3*_,2*_),o.setRenderTarget(t),o.render(u,o$)}}function o9(e,t,n){let i=new ex(e,t,n);return i.texture.mapping=306,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function o7(e,t,n,i,r){e.viewport.set(t,n,i,r),e.scissor.set(t,n,i,r)}function le(){return new nb({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function lt(){return new nb({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:ln(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:0,depthTest:!1,depthWrite:!1})}function ln(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function li(e){let t=new WeakMap,n=null;function i(e){let n=e.target;n.removeEventListener("dispose",i);let r=t.get(n);void 0!==r&&(t.delete(n),r.dispose())}return{get:function(r){if(r&&r.isTexture){let a=r.mapping,s=303===a||304===a,o=301===a||302===a;if(s||o){let a=t.get(r),l=void 0!==a?a.texture.pmremVersion:0;if(r.isRenderTargetTexture&&r.pmremVersion!==l)return null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r,a):n.fromCubemap(r,a)).texture.pmremVersion=r.pmremVersion,t.set(r,a),a.texture;{if(void 0!==a)return a.texture;let l=r.image;return s&&l&&l.height>0||o&&l&&function(e){let t=0;for(let n=0;n<6;n++)void 0!==e[n]&&t++;return 6===t}(l)?(null===n&&(n=new o8(e)),(a=s?n.fromEquirectangular(r):n.fromCubemap(r)).texture.pmremVersion=r.pmremVersion,t.set(r,a),r.addEventListener("dispose",i),a.texture):null}}}return r},dispose:function(){t=new WeakMap,null!==n&&(n.dispose(),n=null)}}}function lr(e){let t={};function n(n){let i;if(void 0!==t[n])return t[n];switch(n){case"WEBGL_depth_texture":i=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":i=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":i=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":i=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:i=e.getExtension(n)}return t[n]=i,i}return{has:function(e){return null!==n(e)},init:function(){n("EXT_color_buffer_float"),n("WEBGL_clip_cull_distance"),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float"),n("WEBGL_multisampled_render_to_texture"),n("WEBGL_render_shared_exponent")},get:function(e){let t=n(e);return null===t&&ei("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function la(e,t,n,i){let r={},a=new WeakMap;function s(e){let o=e.target;for(let e in null!==o.index&&t.remove(o.index),o.attributes)t.remove(o.attributes[e]);o.removeEventListener("dispose",s),delete r[o.id];let l=a.get(o);l&&(t.remove(l),a.delete(o)),i.releaseStatesOfGeometry(o),!0===o.isInstancedBufferGeometry&&delete o._maxInstanceCount,n.memory.geometries--}function o(e){let n=[],i=e.index,r=e.attributes.position,s=0;if(null!==i){let e=i.array;s=i.version;for(let t=0,i=e.length;tt.maxTextureSize&&(f=Math.ceil(p/t.maxTextureSize),p=t.maxTextureSize);let m=new Float32Array(p*f*4*c),g=new eb(m,p,f,c);g.type=1015,g.needsUpdate=!0;let v=4*d;for(let t=0;t0)return e;let r=t*n,a=lm[r];if(void 0===a&&(a=new Float32Array(r),lm[r]=a),0!==t){i.toArray(a,0);for(let i=1,r=0;i!==t;++i)r+=n,e[i].toArray(a,r)}return a}function lb(e,t){if(e.length!==t.length)return!1;for(let n=0,i=e.length;n":" "} ${r}: ${n[e]}`)}return i.join("\n")}(e.getShaderSource(t),i)}}let ul=new eE;function uu(e){return""!==e}function uc(e,t){let n=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,n).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function uh(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}let ud=/^[ \t]*#include +<([\w\d./]+)>/gm;function up(e){return e.replace(ud,um)}let uf=new Map;function um(e,t){let n=oB[t];if(void 0===n){let e=uf.get(t);if(void 0!==e)n=oB[e],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,e);else throw Error("Can not resolve #include <"+t+">")}return up(n)}let ug=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function uv(e){return e.replace(ug,u_)}function u_(e,t,n,i){let r="";for(let e=parseInt(t);e0&&(r+="\n"),(a=["#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x].filter(uu).join("\n")).length>0&&(a+="\n");else{let e,t,i,s;r=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",n.batching?"#define USE_BATCHING":"",n.batchingColor?"#define USE_BATCHING_COLOR":"",n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.instancingMorph?"#define USE_INSTANCING_MORPH":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+g:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.displacementMap?"#define USE_DISPLACEMENTMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.mapUv?"#define MAP_UV "+n.mapUv:"",n.alphaMapUv?"#define ALPHAMAP_UV "+n.alphaMapUv:"",n.lightMapUv?"#define LIGHTMAP_UV "+n.lightMapUv:"",n.aoMapUv?"#define AOMAP_UV "+n.aoMapUv:"",n.emissiveMapUv?"#define EMISSIVEMAP_UV "+n.emissiveMapUv:"",n.bumpMapUv?"#define BUMPMAP_UV "+n.bumpMapUv:"",n.normalMapUv?"#define NORMALMAP_UV "+n.normalMapUv:"",n.displacementMapUv?"#define DISPLACEMENTMAP_UV "+n.displacementMapUv:"",n.metalnessMapUv?"#define METALNESSMAP_UV "+n.metalnessMapUv:"",n.roughnessMapUv?"#define ROUGHNESSMAP_UV "+n.roughnessMapUv:"",n.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+n.anisotropyMapUv:"",n.clearcoatMapUv?"#define CLEARCOATMAP_UV "+n.clearcoatMapUv:"",n.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+n.clearcoatNormalMapUv:"",n.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+n.clearcoatRoughnessMapUv:"",n.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+n.iridescenceMapUv:"",n.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+n.iridescenceThicknessMapUv:"",n.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+n.sheenColorMapUv:"",n.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+n.sheenRoughnessMapUv:"",n.specularMapUv?"#define SPECULARMAP_UV "+n.specularMapUv:"",n.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+n.specularColorMapUv:"",n.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+n.specularIntensityMapUv:"",n.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+n.transmissionMapUv:"",n.thicknessMapUv?"#define THICKNESSMAP_UV "+n.thicknessMapUv:"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.morphColors?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH"," uniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif","\n"].filter(uu).join("\n"),a=[uy(n),"#define SHADER_TYPE "+n.shaderType,"#define SHADER_NAME "+n.shaderName,x,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+m:"",n.envMap?"#define "+g:"",n.envMap?"#define "+v:"",_?"#define CUBEUV_TEXEL_WIDTH "+_.texelWidth:"",_?"#define CUBEUV_TEXEL_HEIGHT "+_.texelHeight:"",_?"#define CUBEUV_MAX_MIP "+_.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",n.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.anisotropy?"#define USE_ANISOTROPY":"",n.anisotropyMap?"#define USE_ANISOTROPYMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.dispersion?"#define USE_DISPERSION":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",n.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.alphaHash?"#define USE_ALPHAHASH":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.vertexTangents&&!1===n.flatShading?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor||n.batchingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUv1s?"#define USE_UV1":"",n.vertexUv2s?"#define USE_UV2":"",n.vertexUv3s?"#define USE_UV3":"",n.pointsUvs?"#define USE_POINTS_UV":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+f:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.numLightProbes>0?"#define USE_LIGHT_PROBES":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.reverseDepthBuffer?"#define USE_REVERSEDEPTHBUF":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==n.toneMapping?"#define TONE_MAPPING":"",0!==n.toneMapping?oB.tonemapping_pars_fragment:"",0!==n.toneMapping?function(e,t){let n;switch(t){case 1:n="Linear";break;case 2:n="Reinhard";break;case 3:n="Cineon";break;case 4:n="ACESFilmic";break;case 6:n="AgX";break;case 7:n="Neutral";break;case 5:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",oB.colorspace_pars_fragment,(e=function(e){eu._getMatrix(us,eu.workingColorSpace,e);let t=`mat3( ${us.elements.map(e=>e.toFixed(4))} )`;switch(eu.getTransfer(e)){case N:return[t,"LinearTransferOETF"];case U:return[t,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",e),[t,"LinearTransferOETF"]}}(n.outputColorSpace),`vec4 linearToOutputTexel( vec4 value ) { - return ${e[1]}( vec4( value.rgb * ${e[0]}, value.a ) ); -}`),(eu.getLuminanceCoefficients(ul),t=ul.x.toFixed(4),i=ul.y.toFixed(4),s=ul.z.toFixed(4),`float luminance( const in vec3 rgb ) { - const vec3 weights = vec3( ${t}, ${i}, ${s} ); - return dot( weights, rgb ); -}`),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(uu).join("\n")}d=uh(d=uc(d=up(d),n),n),p=uh(p=uc(p=up(p),n),n),d=uv(d),p=uv(p),!0!==n.isRawShaderMaterial&&(S="#version 300 es\n",r=[y,"#define attribute in\n#define varying out\n#define texture2D texture"].join("\n")+"\n"+r,a=["#define varying in",n.glslVersion===D?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===D?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+a);let M=S+r+d,T=S+a+p,w=ur(c,c.VERTEX_SHADER,M),E=ur(c,c.FRAGMENT_SHADER,T);function A(t){if(e.debug.checkShaderErrors){let n=c.getProgramInfoLog(b).trim(),i=c.getShaderInfoLog(w).trim(),s=c.getShaderInfoLog(E).trim(),o=!0,l=!0;if(!1===c.getProgramParameter(b,c.LINK_STATUS))if(o=!1,"function"==typeof e.debug.onShaderError)e.debug.onShaderError(c,b,w,E);else{let e=uo(c,w,"vertex"),i=uo(c,E,"fragment");console.error("THREE.WebGLProgram: Shader Error "+c.getError()+" - VALIDATE_STATUS "+c.getProgramParameter(b,c.VALIDATE_STATUS)+"\n\nMaterial Name: "+t.name+"\nMaterial Type: "+t.type+"\n\nProgram Info Log: "+n+"\n"+e+"\n"+i)}else""!==n?console.warn("THREE.WebGLProgram: Program Info Log:",n):(""===i||""===s)&&(l=!1);l&&(t.diagnostics={runnable:o,programLog:n,vertexShader:{log:i,prefix:r},fragmentShader:{log:s,prefix:a}})}c.deleteShader(w),c.deleteShader(E),s=new ui(c,b),o=function(e,t){let n={},i=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let r=0;r0,Z=a.clearcoat>0,J=a.dispersion>0,K=a.iridescence>0,$=a.sheen>0,Q=a.transmission>0,ee=Y&&!!a.anisotropyMap,et=Z&&!!a.clearcoatMap,en=Z&&!!a.clearcoatNormalMap,ei=Z&&!!a.clearcoatRoughnessMap,er=K&&!!a.iridescenceMap,ea=K&&!!a.iridescenceThicknessMap,es=$&&!!a.sheenColorMap,eo=$&&!!a.sheenRoughnessMap,el=!!a.specularMap,ec=!!a.specularColorMap,eh=!!a.specularIntensityMap,ed=Q&&!!a.transmissionMap,ep=Q&&!!a.thicknessMap,ef=!!a.gradientMap,em=!!a.alphaMap,eg=a.alphaTest>0,ev=!!a.alphaHash,e_=!!a.extensions,ey=0;a.toneMapped&&(null===I||!0===I.isXRRenderTarget)&&(ey=e.toneMapping);let ex={shaderID:A,shaderType:a.type,shaderName:a.name,vertexShader:_,fragmentShader:y,defines:a.defines,customVertexShaderID:x,customFragmentShaderID:b,isRawShaderMaterial:!0===a.isRawShaderMaterial,glslVersion:a.glslVersion,precision:p,batching:O,batchingColor:O&&null!==v._colorsTexture,instancing:D,instancingColor:D&&null!==v.instanceColor,instancingMorph:D&&null!==v.morphTexture,supportsVertexTextures:d,outputColorSpace:null===I?e.outputColorSpace:!0===I.isXRRenderTarget?I.texture.colorSpace:L,alphaToCoverage:!!a.alphaToCoverage,map:F,matcap:z,envMap:B,envMapMode:B&&w.mapping,envMapCubeUVHeight:E,aoMap:k,lightMap:H,bumpMap:V,normalMap:G,displacementMap:d&&W,emissiveMap:j,normalMapObjectSpace:G&&1===a.normalMapType,normalMapTangentSpace:G&&0===a.normalMapType,metalnessMap:X,roughnessMap:q,anisotropy:Y,anisotropyMap:ee,clearcoat:Z,clearcoatMap:et,clearcoatNormalMap:en,clearcoatRoughnessMap:ei,dispersion:J,iridescence:K,iridescenceMap:er,iridescenceThicknessMap:ea,sheen:$,sheenColorMap:es,sheenRoughnessMap:eo,specularMap:el,specularColorMap:ec,specularIntensityMap:eh,transmission:Q,transmissionMap:ed,thicknessMap:ep,gradientMap:ef,opaque:!1===a.transparent&&1===a.blending&&!1===a.alphaToCoverage,alphaMap:em,alphaTest:eg,alphaHash:ev,combine:a.combine,mapUv:F&&m(a.map.channel),aoMapUv:k&&m(a.aoMap.channel),lightMapUv:H&&m(a.lightMap.channel),bumpMapUv:V&&m(a.bumpMap.channel),normalMapUv:G&&m(a.normalMap.channel),displacementMapUv:W&&m(a.displacementMap.channel),emissiveMapUv:j&&m(a.emissiveMap.channel),metalnessMapUv:X&&m(a.metalnessMap.channel),roughnessMapUv:q&&m(a.roughnessMap.channel),anisotropyMapUv:ee&&m(a.anisotropyMap.channel),clearcoatMapUv:et&&m(a.clearcoatMap.channel),clearcoatNormalMapUv:en&&m(a.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ei&&m(a.clearcoatRoughnessMap.channel),iridescenceMapUv:er&&m(a.iridescenceMap.channel),iridescenceThicknessMapUv:ea&&m(a.iridescenceThicknessMap.channel),sheenColorMapUv:es&&m(a.sheenColorMap.channel),sheenRoughnessMapUv:eo&&m(a.sheenRoughnessMap.channel),specularMapUv:el&&m(a.specularMap.channel),specularColorMapUv:ec&&m(a.specularColorMap.channel),specularIntensityMapUv:eh&&m(a.specularIntensityMap.channel),transmissionMapUv:ed&&m(a.transmissionMap.channel),thicknessMapUv:ep&&m(a.thicknessMap.channel),alphaMapUv:em&&m(a.alphaMap.channel),vertexTangents:!!M.attributes.tangent&&(G||Y),vertexColors:a.vertexColors,vertexAlphas:!0===a.vertexColors&&!!M.attributes.color&&4===M.attributes.color.itemSize,pointsUvs:!0===v.isPoints&&!!M.attributes.uv&&(F||em),fog:!!S,useFog:!0===a.fog,fogExp2:!!S&&S.isFogExp2,flatShading:!0===a.flatShading,sizeAttenuation:!0===a.sizeAttenuation,logarithmicDepthBuffer:h,reverseDepthBuffer:N,skinning:!0===v.isSkinnedMesh,morphTargets:void 0!==M.morphAttributes.position,morphNormals:void 0!==M.morphAttributes.normal,morphColors:void 0!==M.morphAttributes.color,morphTargetsCount:R,morphTextureStride:P,numDirLights:o.directional.length,numPointLights:o.point.length,numSpotLights:o.spot.length,numSpotLightMaps:o.spotLightMap.length,numRectAreaLights:o.rectArea.length,numHemiLights:o.hemi.length,numDirLightShadows:o.directionalShadowMap.length,numPointLightShadows:o.pointShadowMap.length,numSpotLightShadows:o.spotShadowMap.length,numSpotLightShadowsWithMaps:o.numSpotLightShadowsWithMaps,numLightProbes:o.numLightProbes,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:a.dithering,shadowMapEnabled:e.shadowMap.enabled&&c.length>0,shadowMapType:e.shadowMap.type,toneMapping:ey,decodeVideoTexture:F&&!0===a.map.isVideoTexture&&eu.getTransfer(a.map.colorSpace)===U,decodeVideoTextureEmissive:j&&!0===a.emissiveMap.isVideoTexture&&eu.getTransfer(a.emissiveMap.colorSpace)===U,premultipliedAlpha:a.premultipliedAlpha,doubleSided:2===a.side,flipSided:1===a.side,useDepthPacking:a.depthPacking>=0,depthPacking:a.depthPacking||0,index0AttributeName:a.index0AttributeName,extensionClipCullDistance:e_&&!0===a.extensions.clipCullDistance&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(e_&&!0===a.extensions.multiDraw||O)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:a.customProgramCacheKey()};return ex.vertexUv1s=u.has(1),ex.vertexUv2s=u.has(2),ex.vertexUv3s=u.has(3),u.clear(),ex},getProgramCacheKey:function(t){var n,i,r,a;let s=[];if(t.shaderID?s.push(t.shaderID):(s.push(t.customVertexShaderID),s.push(t.customFragmentShaderID)),void 0!==t.defines)for(let e in t.defines)s.push(e),s.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(n=s,i=t,n.push(i.precision),n.push(i.outputColorSpace),n.push(i.envMapMode),n.push(i.envMapCubeUVHeight),n.push(i.mapUv),n.push(i.alphaMapUv),n.push(i.lightMapUv),n.push(i.aoMapUv),n.push(i.bumpMapUv),n.push(i.normalMapUv),n.push(i.displacementMapUv),n.push(i.emissiveMapUv),n.push(i.metalnessMapUv),n.push(i.roughnessMapUv),n.push(i.anisotropyMapUv),n.push(i.clearcoatMapUv),n.push(i.clearcoatNormalMapUv),n.push(i.clearcoatRoughnessMapUv),n.push(i.iridescenceMapUv),n.push(i.iridescenceThicknessMapUv),n.push(i.sheenColorMapUv),n.push(i.sheenRoughnessMapUv),n.push(i.specularMapUv),n.push(i.specularColorMapUv),n.push(i.specularIntensityMapUv),n.push(i.transmissionMapUv),n.push(i.thicknessMapUv),n.push(i.combine),n.push(i.fogExp2),n.push(i.sizeAttenuation),n.push(i.morphTargetsCount),n.push(i.morphAttributeCount),n.push(i.numDirLights),n.push(i.numPointLights),n.push(i.numSpotLights),n.push(i.numSpotLightMaps),n.push(i.numHemiLights),n.push(i.numRectAreaLights),n.push(i.numDirLightShadows),n.push(i.numPointLightShadows),n.push(i.numSpotLightShadows),n.push(i.numSpotLightShadowsWithMaps),n.push(i.numLightProbes),n.push(i.shadowMapType),n.push(i.toneMapping),n.push(i.numClippingPlanes),n.push(i.numClipIntersection),n.push(i.depthPacking),r=s,a=t,o.disableAll(),a.supportsVertexTextures&&o.enable(0),a.instancing&&o.enable(1),a.instancingColor&&o.enable(2),a.instancingMorph&&o.enable(3),a.matcap&&o.enable(4),a.envMap&&o.enable(5),a.normalMapObjectSpace&&o.enable(6),a.normalMapTangentSpace&&o.enable(7),a.clearcoat&&o.enable(8),a.iridescence&&o.enable(9),a.alphaTest&&o.enable(10),a.vertexColors&&o.enable(11),a.vertexAlphas&&o.enable(12),a.vertexUv1s&&o.enable(13),a.vertexUv2s&&o.enable(14),a.vertexUv3s&&o.enable(15),a.vertexTangents&&o.enable(16),a.anisotropy&&o.enable(17),a.alphaHash&&o.enable(18),a.batching&&o.enable(19),a.dispersion&&o.enable(20),a.batchingColor&&o.enable(21),r.push(o.mask),o.disableAll(),a.fog&&o.enable(0),a.useFog&&o.enable(1),a.flatShading&&o.enable(2),a.logarithmicDepthBuffer&&o.enable(3),a.reverseDepthBuffer&&o.enable(4),a.skinning&&o.enable(5),a.morphTargets&&o.enable(6),a.morphNormals&&o.enable(7),a.morphColors&&o.enable(8),a.premultipliedAlpha&&o.enable(9),a.shadowMapEnabled&&o.enable(10),a.doubleSided&&o.enable(11),a.flipSided&&o.enable(12),a.useDepthPacking&&o.enable(13),a.dithering&&o.enable(14),a.transmission&&o.enable(15),a.sheen&&o.enable(16),a.opaque&&o.enable(17),a.pointsUvs&&o.enable(18),a.decodeVideoTexture&&o.enable(19),a.decodeVideoTextureEmissive&&o.enable(20),a.alphaToCoverage&&o.enable(21),r.push(o.mask),s.push(e.outputColorSpace)),s.push(t.customProgramCacheKey),s.join()},getUniforms:function(e){let t,n=f[e.type];if(n){let e=oH[n];t=nx.clone(e.uniforms)}else t=e.uniforms;return t},acquireProgram:function(t,n){let i;for(let e=0,t=c.length;e0?i.push(c):!0===s.transparent?r.push(c):n.push(c)},unshift:function(e,t,s,o,l,u){let c=a(e,t,s,o,l,u);s.transmission>0?i.unshift(c):!0===s.transparent?r.unshift(c):n.unshift(c)},finish:function(){for(let n=t,i=e.length;n1&&n.sort(e||uE),i.length>1&&i.sort(t||uA),r.length>1&&r.sort(t||uA)}}}function uR(){let e=new WeakMap;return{get:function(t,n){let i,r=e.get(t);return void 0===r?(i=new uC,e.set(t,[i])):n>=r.length?(i=new uC,r.push(i)):i=r[n],i},dispose:function(){e=new WeakMap}}}function uP(){let e={};return{get:function(t){let n;if(void 0!==e[t.id])return e[t.id];switch(t.type){case"DirectionalLight":n={direction:new eE,color:new tz};break;case"SpotLight":n={position:new eE,direction:new eE,color:new tz,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new eE,color:new tz,distance:0,decay:0};break;case"HemisphereLight":n={direction:new eE,skyColor:new tz,groundColor:new tz};break;case"RectAreaLight":n={color:new tz,position:new eE,halfWidth:new eE,halfHeight:new eE}}return e[t.id]=n,n}}}let uI=0;function uL(e,t){return 2*!!t.castShadow-2*!!e.castShadow+ +!!t.map-!!e.map}function uN(e){let t,n=new uP,i=(t={},{get:function(e){let n;if(void 0!==t[e.id])return t[e.id];switch(e.type){case"DirectionalLight":case"SpotLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y};break;case"PointLight":n={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Y,shadowCameraNear:1,shadowCameraFar:1e3}}return t[e.id]=n,n}}),r={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)r.probe.push(new eE);let a=new eE,s=new e2,o=new e2;return{setup:function(t){let a=0,s=0,o=0;for(let e=0;e<9;e++)r.probe[e].set(0,0,0);let l=0,u=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,v=0,_=0;t.sort(uL);for(let e=0,y=t.length;e0&&(!0===e.has("OES_texture_float_linear")?(r.rectAreaLTC1=ok.LTC_FLOAT_1,r.rectAreaLTC2=ok.LTC_FLOAT_2):(r.rectAreaLTC1=ok.LTC_HALF_1,r.rectAreaLTC2=ok.LTC_HALF_2)),r.ambient[0]=a,r.ambient[1]=s,r.ambient[2]=o;let y=r.hash;(y.directionalLength!==l||y.pointLength!==u||y.spotLength!==c||y.rectAreaLength!==h||y.hemiLength!==d||y.numDirectionalShadows!==p||y.numPointShadows!==f||y.numSpotShadows!==m||y.numSpotMaps!==g||y.numLightProbes!==_)&&(r.directional.length=l,r.spot.length=c,r.rectArea.length=h,r.point.length=u,r.hemi.length=d,r.directionalShadow.length=p,r.directionalShadowMap.length=p,r.pointShadow.length=f,r.pointShadowMap.length=f,r.spotShadow.length=m,r.spotShadowMap.length=m,r.directionalShadowMatrix.length=p,r.pointShadowMatrix.length=f,r.spotLightMatrix.length=m+g-v,r.spotLightMap.length=g,r.numSpotLightShadowsWithMaps=v,r.numLightProbes=_,y.directionalLength=l,y.pointLength=u,y.spotLength=c,y.rectAreaLength=h,y.hemiLength=d,y.numDirectionalShadows=p,y.numPointShadows=f,y.numSpotShadows=m,y.numSpotMaps=g,y.numLightProbes=_,r.version=uI++)},setupView:function(e,t){let n=0,i=0,l=0,u=0,c=0,h=t.matrixWorldInverse;for(let t=0,d=e.length;t=a.length?(r=new uU(e),a.push(r)):r=a[i],r},dispose:function(){t=new WeakMap}}}function uO(e,t,n){let i=new iS,r=new Y,a=new Y,s=new e_,o=new av({depthPacking:3201}),l=new a_,u={},c=n.maxTextureSize,h={0:1,1:0,2:2},d=new nb({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Y},radius:{value:4}},vertexShader:"void main() {\n gl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include \nvoid main() {\n const float samples = float( VSM_SAMPLES );\n float mean = 0.0;\n float squared_mean = 0.0;\n float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n float uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n for ( float i = 0.0; i < samples; i ++ ) {\n float uvOffset = uvStart + i * uvStride;\n #ifdef HORIZONTAL_PASS\n vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean / samples;\n squared_mean = squared_mean / samples;\n float std_dev = sqrt( squared_mean - mean * mean );\n gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),p=d.clone();p.defines.HORIZONTAL_PASS=1;let f=new nn;f.setAttribute("position",new tZ(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let m=new nf(f,d),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let v=this.type;function _(t,n,i,r){let a=null,s=!0===i.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==s)a=s;else if(a=!0===i.isPointLight?l:o,e.localClippingEnabled&&!0===n.clipShadows&&Array.isArray(n.clippingPlanes)&&0!==n.clippingPlanes.length||n.displacementMap&&0!==n.displacementScale||n.alphaMap&&n.alphaTest>0||n.map&&n.alphaTest>0){let e=a.uuid,t=n.uuid,i=u[e];void 0===i&&(i={},u[e]=i);let r=i[t];void 0===r&&(r=a.clone(),i[t]=r,n.addEventListener("dispose",y)),a=r}return a.visible=n.visible,a.wireframe=n.wireframe,3===r?a.side=null!==n.shadowSide?n.shadowSide:n.side:a.side=null!==n.shadowSide?n.shadowSide:h[n.side],a.alphaMap=n.alphaMap,a.alphaTest=n.alphaTest,a.map=n.map,a.clipShadows=n.clipShadows,a.clippingPlanes=n.clippingPlanes,a.clipIntersection=n.clipIntersection,a.displacementMap=n.displacementMap,a.displacementScale=n.displacementScale,a.displacementBias=n.displacementBias,a.wireframeLinewidth=n.wireframeLinewidth,a.linewidth=n.linewidth,!0===i.isPointLight&&!0===a.isMeshDistanceMaterial&&(e.properties.get(a).light=i),a}function y(e){for(let t in e.target.removeEventListener("dispose",y),u){let n=u[t],i=e.target.uuid;i in n&&(n[i].dispose(),delete n[i])}}this.render=function(n,o,l){if(!1===g.enabled||!1===g.autoUpdate&&!1===g.needsUpdate||0===n.length)return;let u=e.getRenderTarget(),h=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),y=e.state;y.setBlending(0),y.buffers.color.setClear(1,1,1,1),y.buffers.depth.setTest(!0),y.setScissorTest(!1);let x=3!==v&&3===this.type,b=3===v&&3!==this.type;for(let u=0,h=n.length;uc||r.y>c)&&(r.x>c&&(a.x=Math.floor(c/g.x),r.x=a.x*g.x,f.mapSize.x=a.x),r.y>c&&(a.y=Math.floor(c/g.y),r.y=a.y*g.y,f.mapSize.y=a.y)),null===f.map||!0===x||!0===b){let e=3!==this.type?{minFilter:1003,magFilter:1003}:{};null!==f.map&&f.map.dispose(),f.map=new ex(r.x,r.y,e),f.map.texture.name=h.name+".shadowMap",f.camera.updateProjectionMatrix()}e.setRenderTarget(f.map),e.clear();let v=f.getViewportCount();for(let n=0;n=1:-1!==P.indexOf("OpenGL ES")&&(R=parseFloat(/^OpenGL ES (\d)/.exec(P)[1])>=2);let I=null,L={},N=e.getParameter(e.SCISSOR_BOX),U=e.getParameter(e.VIEWPORT),D=new e_().fromArray(N),O=new e_().fromArray(U);function F(t,n,i,r){let a=new Uint8Array(4),s=e.createTexture();e.bindTexture(t,s),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let s=0;stypeof navigator&&/OculusBrowser/g.test(navigator.userAgent),c=new Y,h=new WeakMap,d=new WeakMap,p=!1;try{p="u">typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function f(e,t){return p?new OffscreenCanvas(e,t):ee("canvas")}function m(e,t,n){let i=1,r=G(e);if((r.width>n||r.height>n)&&(i=n/Math.max(r.width,r.height)),i<1)if("u">typeof HTMLImageElement&&e instanceof HTMLImageElement||"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"u">typeof ImageBitmap&&e instanceof ImageBitmap||"u">typeof VideoFrame&&e instanceof VideoFrame){let n=Math.floor(i*r.width),a=Math.floor(i*r.height);void 0===o&&(o=f(n,a));let s=t?f(n,a):o;return s.width=n,s.height=a,s.getContext("2d").drawImage(e,0,0,n,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+r.width+"x"+r.height+") to ("+n+"x"+a+")."),s}else"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+r.width+"x"+r.height+").");return e}function g(e){return e.generateMipmaps}function v(t){e.generateMipmap(t)}function _(n,i,r,a,s=!1){if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let o=i;if(i===e.RED&&(r===e.FLOAT&&(o=e.R32F),r===e.HALF_FLOAT&&(o=e.R16F),r===e.UNSIGNED_BYTE&&(o=e.R8)),i===e.RED_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.R8UI),r===e.UNSIGNED_SHORT&&(o=e.R16UI),r===e.UNSIGNED_INT&&(o=e.R32UI),r===e.BYTE&&(o=e.R8I),r===e.SHORT&&(o=e.R16I),r===e.INT&&(o=e.R32I)),i===e.RG&&(r===e.FLOAT&&(o=e.RG32F),r===e.HALF_FLOAT&&(o=e.RG16F),r===e.UNSIGNED_BYTE&&(o=e.RG8)),i===e.RG_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RG8UI),r===e.UNSIGNED_SHORT&&(o=e.RG16UI),r===e.UNSIGNED_INT&&(o=e.RG32UI),r===e.BYTE&&(o=e.RG8I),r===e.SHORT&&(o=e.RG16I),r===e.INT&&(o=e.RG32I)),i===e.RGB_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGB8UI),r===e.UNSIGNED_SHORT&&(o=e.RGB16UI),r===e.UNSIGNED_INT&&(o=e.RGB32UI),r===e.BYTE&&(o=e.RGB8I),r===e.SHORT&&(o=e.RGB16I),r===e.INT&&(o=e.RGB32I)),i===e.RGBA_INTEGER&&(r===e.UNSIGNED_BYTE&&(o=e.RGBA8UI),r===e.UNSIGNED_SHORT&&(o=e.RGBA16UI),r===e.UNSIGNED_INT&&(o=e.RGBA32UI),r===e.BYTE&&(o=e.RGBA8I),r===e.SHORT&&(o=e.RGBA16I),r===e.INT&&(o=e.RGBA32I)),i===e.RGB&&r===e.UNSIGNED_INT_5_9_9_9_REV&&(o=e.RGB9_E5),i===e.RGBA){let t=s?N:eu.getTransfer(a);r===e.FLOAT&&(o=e.RGBA32F),r===e.HALF_FLOAT&&(o=e.RGBA16F),r===e.UNSIGNED_BYTE&&(o=t===U?e.SRGB8_ALPHA8:e.RGBA8),r===e.UNSIGNED_SHORT_4_4_4_4&&(o=e.RGBA4),r===e.UNSIGNED_SHORT_5_5_5_1&&(o=e.RGB5_A1)}return(o===e.R16F||o===e.R32F||o===e.RG16F||o===e.RG32F||o===e.RGBA16F||o===e.RGBA32F)&&t.get("EXT_color_buffer_float"),o}function y(t,n){let i;return t?null===n||1014===n||1020===n?i=e.DEPTH24_STENCIL8:1015===n?i=e.DEPTH32F_STENCIL8:1012===n&&(i=e.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):null===n||1014===n||1020===n?i=e.DEPTH_COMPONENT24:1015===n?i=e.DEPTH_COMPONENT32F:1012===n&&(i=e.DEPTH_COMPONENT16),i}function x(e,t){return!0===g(e)||e.isFramebufferTexture&&1003!==e.minFilter&&1006!==e.minFilter?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function b(e){let t=e.target;t.removeEventListener("dispose",b),function(e){let t=i.get(e);if(void 0===t.__webglInit)return;let n=e.source,r=d.get(n);if(r){let i=r[t.__cacheKey];i.usedTimes--,0===i.usedTimes&&M(e),0===Object.keys(r).length&&d.delete(n)}i.remove(e)}(t),t.isVideoTexture&&h.delete(t)}function S(t){let n=t.target;n.removeEventListener("dispose",S),function(t){let n=i.get(t);if(t.depthTexture&&(t.depthTexture.dispose(),i.remove(t.depthTexture)),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(n.__webglFramebuffer[t]))for(let i=0;i0&&l.__version!==t.version){let e=t.image;if(null===e)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==e.complete)return void I(l,t,r);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.bindTexture(e.TEXTURE_2D,l.__webglTexture,e.TEXTURE0+r)}let E={1e3:e.REPEAT,1001:e.CLAMP_TO_EDGE,1002:e.MIRRORED_REPEAT},A={1003:e.NEAREST,1004:e.NEAREST_MIPMAP_NEAREST,1005:e.NEAREST_MIPMAP_LINEAR,1006:e.LINEAR,1007:e.LINEAR_MIPMAP_NEAREST,1008:e.LINEAR_MIPMAP_LINEAR},C={512:e.NEVER,519:e.ALWAYS,513:e.LESS,515:e.LEQUAL,514:e.EQUAL,518:e.GEQUAL,516:e.GREATER,517:e.NOTEQUAL};function R(n,a){if((1015===a.type&&!1===t.has("OES_texture_float_linear")&&(1006===a.magFilter||1007===a.magFilter||1005===a.magFilter||1008===a.magFilter||1006===a.minFilter||1007===a.minFilter||1005===a.minFilter||1008===a.minFilter)&&console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(n,e.TEXTURE_WRAP_S,E[a.wrapS]),e.texParameteri(n,e.TEXTURE_WRAP_T,E[a.wrapT]),(n===e.TEXTURE_3D||n===e.TEXTURE_2D_ARRAY)&&e.texParameteri(n,e.TEXTURE_WRAP_R,E[a.wrapR]),e.texParameteri(n,e.TEXTURE_MAG_FILTER,A[a.magFilter]),e.texParameteri(n,e.TEXTURE_MIN_FILTER,A[a.minFilter]),a.compareFunction&&(e.texParameteri(n,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(n,e.TEXTURE_COMPARE_FUNC,C[a.compareFunction])),!0===t.has("EXT_texture_filter_anisotropic"))&&1003!==a.magFilter&&(1005===a.minFilter||1008===a.minFilter)&&(1015!==a.type||!1!==t.has("OES_texture_float_linear"))&&(a.anisotropy>1||i.get(a).__currentAnisotropy)){let s=t.get("EXT_texture_filter_anisotropic");e.texParameterf(n,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(a.anisotropy,r.getMaxAnisotropy())),i.get(a).__currentAnisotropy=a.anisotropy}}function P(t,n){let i,r=!1;void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",b));let a=n.source,o=d.get(a);void 0===o&&(o={},d.set(a,o));let l=((i=[]).push(n.wrapS),i.push(n.wrapT),i.push(n.wrapR||0),i.push(n.magFilter),i.push(n.minFilter),i.push(n.anisotropy),i.push(n.internalFormat),i.push(n.format),i.push(n.type),i.push(n.generateMipmaps),i.push(n.premultiplyAlpha),i.push(n.flipY),i.push(n.unpackAlignment),i.push(n.colorSpace),i.join());if(l!==t.__cacheKey){void 0===o[l]&&(o[l]={texture:e.createTexture(),usedTimes:0},s.memory.textures++,r=!0),o[l].usedTimes++;let i=o[t.__cacheKey];void 0!==i&&(o[t.__cacheKey].usedTimes--,0===i.usedTimes&&M(n)),t.__cacheKey=l,t.__webglTexture=o[l].texture}return r}function I(t,s,o){let l=e.TEXTURE_2D;(s.isDataArrayTexture||s.isCompressedArrayTexture)&&(l=e.TEXTURE_2D_ARRAY),s.isData3DTexture&&(l=e.TEXTURE_3D);let u=P(t,s),c=s.source;n.bindTexture(l,t.__webglTexture,e.TEXTURE0+o);let h=i.get(c);if(c.version!==h.__version||!0===u){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),d=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),p=""===s.colorSpace||i===d?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,p);let f=m(s.image,!1,r.maxTextureSize);f=V(s,f);let b=a.convert(s.format,s.colorSpace),S=a.convert(s.type),M=_(s.internalFormat,b,S,s.colorSpace,s.isVideoTexture);R(l,s);let T=s.mipmaps,w=!0!==s.isVideoTexture,E=void 0===h.__version||!0===u,A=c.dataReady,C=x(s,f);if(s.isDepthTexture)M=y(1027===s.format,s.type),E&&(w?n.texStorage2D(e.TEXTURE_2D,1,M,f.width,f.height):n.texImage2D(e.TEXTURE_2D,0,M,f.width,f.height,0,b,S,null));else if(s.isDataTexture)if(T.length>0){w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let r=oU(t.width,t.height,s.format,s.type);for(let a of s.layerUpdates){let s=t.data.subarray(a*r/t.data.BYTES_PER_ELEMENT,(a+1)*r/t.data.BYTES_PER_ELEMENT);n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,a,t.width,t.height,1,b,s)}s.clearLayerUpdates()}else n.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,t.data)}else n.compressedTexImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,t.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else w?A&&n.texSubImage3D(e.TEXTURE_2D_ARRAY,i,0,0,0,t.width,t.height,f.depth,b,S,t.data):n.texImage3D(e.TEXTURE_2D_ARRAY,i,M,t.width,t.height,f.depth,0,b,S,t.data)}else{w&&E&&n.texStorage2D(e.TEXTURE_2D,C,M,T[0].width,T[0].height);for(let i=0,r=T.length;i0){let t=oU(f.width,f.height,s.format,s.type);for(let i of s.layerUpdates){let r=f.data.subarray(i*t/f.data.BYTES_PER_ELEMENT,(i+1)*t/f.data.BYTES_PER_ELEMENT);n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,i,f.width,f.height,1,b,S,r)}s.clearLayerUpdates()}else n.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)}else n.texImage3D(e.TEXTURE_2D_ARRAY,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isData3DTexture)w?(E&&n.texStorage3D(e.TEXTURE_3D,C,M,f.width,f.height,f.depth),A&&n.texSubImage3D(e.TEXTURE_3D,0,0,0,0,f.width,f.height,f.depth,b,S,f.data)):n.texImage3D(e.TEXTURE_3D,0,M,f.width,f.height,f.depth,0,b,S,f.data);else if(s.isFramebufferTexture){if(E)if(w)n.texStorage2D(e.TEXTURE_2D,C,M,f.width,f.height);else{let t=f.width,i=f.height;for(let r=0;r>=1,i>>=1}}else if(T.length>0){if(w&&E){let t=G(T[0]);n.texStorage2D(e.TEXTURE_2D,C,M,t.width,t.height)}for(let i=0,r=T.length;i>c),i=Math.max(1,r.height>>c);u===e.TEXTURE_3D||u===e.TEXTURE_2D_ARRAY?n.texImage3D(u,c,p,t,i,r.depth,0,h,d,null):n.texImage2D(u,c,p,t,i,0,h,d,null)}n.bindFramebuffer(e.FRAMEBUFFER,t),H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,o,u,m.__webglTexture,0,k(r)):(u===e.TEXTURE_2D||u>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&u<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,o,u,m.__webglTexture,c),n.bindFramebuffer(e.FRAMEBUFFER,null)}function O(t,n,i){if(e.bindRenderbuffer(e.RENDERBUFFER,t),n.depthBuffer){let r=n.depthTexture,a=r&&r.isDepthTexture?r.type:null,s=y(n.stencilBuffer,a),o=n.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=k(n);H(n)?l.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,u,s,n.width,n.height):i?e.renderbufferStorageMultisample(e.RENDERBUFFER,u,s,n.width,n.height):e.renderbufferStorage(e.RENDERBUFFER,s,n.width,n.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,o,e.RENDERBUFFER,t)}else{let t=n.textures;for(let r=0;r{delete r.__boundDepthTexture,delete r.__depthDisposeCallback,e.removeEventListener("dispose",t)};e.addEventListener("dispose",t),r.__depthDisposeCallback=t}r.__boundDepthTexture=e}if(t.depthTexture&&!r.__autoAllocateDepthBuffer){if(a)throw Error("target.depthTexture not supported in Cube render targets");!function(t,r){if(r&&r.isWebGLCubeRenderTarget)throw Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(e.FRAMEBUFFER,t),!(r.depthTexture&&r.depthTexture.isDepthTexture))throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");let a=i.get(r.depthTexture);a.__renderTarget=r,a.__webglTexture&&r.depthTexture.image.width===r.width&&r.depthTexture.image.height===r.height||(r.depthTexture.image.width=r.width,r.depthTexture.image.height=r.height,r.depthTexture.needsUpdate=!0),w(r.depthTexture,0);let s=a.__webglTexture,o=k(r);if(1026===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0);else if(1027===r.depthTexture.format)H(r)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0,o):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0);else throw Error("Unknown depthTexture format")}(r.__webglFramebuffer,t)}else if(a){r.__webglDepthbuffer=[];for(let i=0;i<6;i++)if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer[i]),void 0===r.__webglDepthbuffer[i])r.__webglDepthbuffer[i]=e.createRenderbuffer(),O(r.__webglDepthbuffer[i],t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,a=r.__webglDepthbuffer[i];e.bindRenderbuffer(e.RENDERBUFFER,a),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,a)}}else if(n.bindFramebuffer(e.FRAMEBUFFER,r.__webglFramebuffer),void 0===r.__webglDepthbuffer)r.__webglDepthbuffer=e.createRenderbuffer(),O(r.__webglDepthbuffer,t,!1);else{let n=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,i=r.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,i),e.framebufferRenderbuffer(e.FRAMEBUFFER,n,e.RENDERBUFFER,i)}n.bindFramebuffer(e.FRAMEBUFFER,null)}let z=[],B=[];function k(e){return Math.min(r.maxSamples,e.samples)}function H(e){let n=i.get(e);return e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==n.__useRenderToTexture}function V(e,t){let n=e.colorSpace,i=e.format,r=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||n!==L&&""!==n&&(eu.getTransfer(n)===U?(1023!==i||1009!==r)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",n)),t}function G(e){return"u">typeof HTMLImageElement&&e instanceof HTMLImageElement?(c.width=e.naturalWidth||e.width,c.height=e.naturalHeight||e.height):"u">typeof VideoFrame&&e instanceof VideoFrame?(c.width=e.displayWidth,c.height=e.displayHeight):(c.width=e.width,c.height=e.height),c}this.allocateTextureUnit=function(){let e=T;return e>=r.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+r.maxTextures),T+=1,e},this.resetTextureUnits=function(){T=0},this.setTexture2D=w,this.setTexture2DArray=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_2D_ARRAY,a.__webglTexture,e.TEXTURE0+r)},this.setTexture3D=function(t,r){let a=i.get(t);t.version>0&&a.__version!==t.version?I(a,t,r):n.bindTexture(e.TEXTURE_3D,a.__webglTexture,e.TEXTURE0+r)},this.setTextureCube=function(t,s){let o=i.get(t);t.version>0&&o.__version!==t.version?function(t,s,o){if(6!==s.image.length)return;let l=P(t,s),u=s.source;n.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+o);let c=i.get(u);if(u.version!==c.__version||!0===l){let t;n.activeTexture(e.TEXTURE0+o);let i=eu.getPrimaries(eu.workingColorSpace),h=""===s.colorSpace?null:eu.getPrimaries(s.colorSpace),d=""===s.colorSpace||i===h?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);let p=s.isCompressedTexture||s.image[0].isCompressedTexture,f=s.image[0]&&s.image[0].isDataTexture,y=[];for(let e=0;e<6;e++)p||f?y[e]=f?s.image[e].image:s.image[e]:y[e]=m(s.image[e],!0,r.maxCubemapSize),y[e]=V(s,y[e]);let b=y[0],S=a.convert(s.format,s.colorSpace),M=a.convert(s.type),T=_(s.internalFormat,S,M,s.colorSpace),w=!0!==s.isVideoTexture,E=void 0===c.__version||!0===l,A=u.dataReady,C=x(s,b);if(R(e.TEXTURE_CUBE_MAP,s),p){w&&E&&n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,b.width,b.height);for(let i=0;i<6;i++){t=y[i].mipmaps;for(let r=0;r0&&C++;let i=G(y[0]);n.texStorage2D(e.TEXTURE_CUBE_MAP,C,T,i.width,i.height)}for(let i=0;i<6;i++)if(f){w?A&&n.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,0,0,y[i].width,y[i].height,S,M,y[i].data):n.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,T,y[i].width,y[i].height,0,S,M,y[i].data);for(let r=0;r1;if(!h&&(void 0===l.__webglTexture&&(l.__webglTexture=e.createTexture()),l.__version=r.version,s.memory.textures++),c){o.__webglFramebuffer=[];for(let t=0;t<6;t++)if(r.mipmaps&&r.mipmaps.length>0){o.__webglFramebuffer[t]=[];for(let n=0;n0){o.__webglFramebuffer=[];for(let t=0;t0&&!1===H(t)){o.__webglMultisampledFramebuffer=e.createFramebuffer(),o.__webglColorRenderbuffer=[],n.bindFramebuffer(e.FRAMEBUFFER,o.__webglMultisampledFramebuffer);for(let n=0;n0)for(let i=0;i0)for(let n=0;n0){if(!1===H(t)){let r=t.textures,a=t.width,s=t.height,o=e.COLOR_BUFFER_BIT,l=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,c=i.get(t),h=r.length>1;if(h)for(let t=0;t.025?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!l.inputState.pinching&&s<=.015&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==o&&e.gripSpace&&null!==(r=t.getPose(e.gripSpace,n))&&(o.matrix.fromArray(r.transform.matrix),o.matrix.decompose(o.position,o.rotation,o.scale),o.matrixWorldNeedsUpdate=!0,r.linearVelocity?(o.hasLinearVelocity=!0,o.linearVelocity.copy(r.linearVelocity)):o.hasLinearVelocity=!1,r.angularVelocity?(o.hasAngularVelocity=!0,o.angularVelocity.copy(r.angularVelocity)):o.hasAngularVelocity=!1);null!==s&&(null===(i=t.getPose(e.targetRaySpace,n))&&null!==r&&(i=r),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(uH)))}return null!==s&&(s.visible=null!==i),null!==o&&(o.visible=null!==r),null!==l&&(l.visible=null!==a),this}_getHandJoint(e,t){if(void 0===e.joints[t.jointName]){let n=new i6;n.matrixAutoUpdate=!1,n.visible=!1,e.joints[t.jointName]=n,e.add(n)}return e.joints[t.jointName]}}let uG=` -void main() { - - gl_Position = vec4( position, 1.0 ); - -}`,uW=` -uniform sampler2DArray depthColor; -uniform float depthWidth; -uniform float depthHeight; - -void main() { - - vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight ); - - if ( coord.x >= 1.0 ) { - - gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r; - - } else { - - gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r; - - } - -}`;class uj{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t,n){if(null===this.texture){let i=new ev;e.properties.get(i).__webglTexture=t.texture,(t.depthNear!=n.depthNear||t.depthFar!=n.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=i}}getMesh(e){if(null!==this.texture&&null===this.mesh){let t=e.cameras[0].viewport,n=new nb({vertexShader:uG,fragmentShader:uW,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new nf(new r9(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class uX extends O{constructor(e,t){super();const n=this;let i=null,r=1,a=null,s="local-floor",o=1,l=null,u=null,c=null,h=null,d=null,p=null;const f=new uj,m=t.getContextAttributes();let g=null,v=null;const _=[],y=[],x=new Y;let b=null;const S=new nE;S.viewport=new e_;const M=new nE;M.viewport=new e_;const T=[S,M],w=new sT;let E=null,A=null;function C(e){let t=y.indexOf(e.inputSource);if(-1===t)return;let n=_[t];void 0!==n&&(n.update(e.inputSource,e.frame,l||a),n.dispatchEvent({type:e.type,data:e.inputSource}))}function R(){i.removeEventListener("select",C),i.removeEventListener("selectstart",C),i.removeEventListener("selectend",C),i.removeEventListener("squeeze",C),i.removeEventListener("squeezestart",C),i.removeEventListener("squeezeend",C),i.removeEventListener("end",R),i.removeEventListener("inputsourceschange",P);for(let e=0;e<_.length;e++){let t=y[e];null!==t&&(y[e]=null,_[e].disconnect(t))}E=null,A=null,f.reset(),e.setRenderTarget(g),d=null,h=null,c=null,i=null,v=null,D.stop(),n.isPresenting=!1,e.setPixelRatio(b),e.setSize(x.width,x.height,!1),n.dispatchEvent({type:"sessionend"})}function P(e){for(let t=0;t=0&&(y[i]=null,_[i].disconnect(n))}for(let t=0;t=y.length){y.push(n),i=e;break}else if(null===y[e]){y[e]=n,i=e;break}if(-1===i)break}let r=_[i];r&&r.connect(n)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getGripSpace()},this.getHand=function(e){let t=_[e];return void 0===t&&(t=new uV,_[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){r=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){s=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||a},this.setReferenceSpace=function(e){l=e},this.getBaseLayer=function(){return null!==h?h:d},this.getBinding=function(){return c},this.getFrame=function(){return p},this.getSession=function(){return i},this.setSession=async function(u){if(null!==(i=u)){if(g=e.getRenderTarget(),i.addEventListener("select",C),i.addEventListener("selectstart",C),i.addEventListener("selectend",C),i.addEventListener("squeeze",C),i.addEventListener("squeezestart",C),i.addEventListener("squeezeend",C),i.addEventListener("end",R),i.addEventListener("inputsourceschange",P),!0!==m.xrCompatible&&await t.makeXRCompatible(),b=e.getPixelRatio(),e.getSize(x),void 0===i.renderState.layers){let n={antialias:m.antialias,alpha:!0,depth:m.depth,stencil:m.stencil,framebufferScaleFactor:r};d=new XRWebGLLayer(i,t,n),i.updateRenderState({baseLayer:d}),e.setPixelRatio(1),e.setSize(d.framebufferWidth,d.framebufferHeight,!1),v=new ex(d.framebufferWidth,d.framebufferHeight,{format:1023,type:1009,colorSpace:e.outputColorSpace,stencilBuffer:m.stencil})}else{let n=null,a=null,s=null;m.depth&&(s=m.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,n=m.stencil?1027:1026,a=m.stencil?1020:1014);let o={colorFormat:t.RGBA8,depthFormat:s,scaleFactor:r};h=(c=new XRWebGLBinding(i,t)).createProjectionLayer(o),i.updateRenderState({layers:[h]}),e.setPixelRatio(1),e.setSize(h.textureWidth,h.textureHeight,!1),v=new ex(h.textureWidth,h.textureHeight,{format:1023,type:1009,depthTexture:new ri(h.textureWidth,h.textureHeight,a,void 0,void 0,void 0,void 0,void 0,void 0,n),stencilBuffer:m.stencil,colorSpace:e.outputColorSpace,samples:4*!!m.antialias,resolveDepthBuffer:!1===h.ignoreDepthValues})}v.isXRRenderTarget=!0,this.setFoveation(o),l=null,a=await i.requestReferenceSpace(s),D.setContext(i),D.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(null!==i)return i.environmentBlendMode},this.getDepthTexture=function(){return f.getDepthTexture()};const I=new eE,L=new eE;function N(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){var t,n,r;if(null===i)return;let a=e.near,s=e.far;null!==f.texture&&(f.depthNear>0&&(a=f.depthNear),f.depthFar>0&&(s=f.depthFar)),w.near=M.near=S.near=a,w.far=M.far=S.far=s,(E!==w.near||A!==w.far)&&(i.updateRenderState({depthNear:w.near,depthFar:w.far}),E=w.near,A=w.far),S.layers.mask=2|e.layers.mask,M.layers.mask=4|e.layers.mask,w.layers.mask=S.layers.mask|M.layers.mask;let o=e.parent,l=w.cameras;N(w,o);for(let e=0;e0&&(e.alphaTest.value=i.alphaTest);let r=t.get(i),a=r.envMap,s=r.envMapRotation;a&&(e.envMap.value=a,uq.copy(s),uq.x*=-1,uq.y*=-1,uq.z*=-1,a.isCubeTexture&&!1===a.isRenderTargetTexture&&(uq.y*=-1,uq.z*=-1),e.envMapRotation.value.setFromMatrix4(uY.makeRotationFromEuler(uq)),e.flipEnvMap.value=a.isCubeTexture&&!1===a.isRenderTargetTexture?-1:1,e.reflectivity.value=i.reflectivity,e.ior.value=i.ior,e.refractionRatio.value=i.refractionRatio),i.lightMap&&(e.lightMap.value=i.lightMap,e.lightMapIntensity.value=i.lightMapIntensity,n(i.lightMap,e.lightMapTransform)),i.aoMap&&(e.aoMap.value=i.aoMap,e.aoMapIntensity.value=i.aoMapIntensity,n(i.aoMap,e.aoMapTransform))}return{refreshFogUniforms:function(t,n){n.color.getRGB(t.fogColor.value,ny(e)),n.isFog?(t.fogNear.value=n.near,t.fogFar.value=n.far):n.isFogExp2&&(t.fogDensity.value=n.density)},refreshMaterialUniforms:function(e,r,a,s,o){var l,u,c,h,d,p,f,m,g,v,_,y,x,b,S,M,T,w,E,A,C,R,P;let I;r.isMeshBasicMaterial||r.isMeshLambertMaterial?i(e,r):r.isMeshToonMaterial?(i(e,r),l=e,(u=r).gradientMap&&(l.gradientMap.value=u.gradientMap)):r.isMeshPhongMaterial?(i(e,r),c=e,h=r,c.specular.value.copy(h.specular),c.shininess.value=Math.max(h.shininess,1e-4)):r.isMeshStandardMaterial?(i(e,r),d=e,p=r,d.metalness.value=p.metalness,p.metalnessMap&&(d.metalnessMap.value=p.metalnessMap,n(p.metalnessMap,d.metalnessMapTransform)),d.roughness.value=p.roughness,p.roughnessMap&&(d.roughnessMap.value=p.roughnessMap,n(p.roughnessMap,d.roughnessMapTransform)),p.envMap&&(d.envMapIntensity.value=p.envMapIntensity),r.isMeshPhysicalMaterial&&(f=e,m=r,g=o,f.ior.value=m.ior,m.sheen>0&&(f.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),f.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(f.sheenColorMap.value=m.sheenColorMap,n(m.sheenColorMap,f.sheenColorMapTransform)),m.sheenRoughnessMap&&(f.sheenRoughnessMap.value=m.sheenRoughnessMap,n(m.sheenRoughnessMap,f.sheenRoughnessMapTransform))),m.clearcoat>0&&(f.clearcoat.value=m.clearcoat,f.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(f.clearcoatMap.value=m.clearcoatMap,n(m.clearcoatMap,f.clearcoatMapTransform)),m.clearcoatRoughnessMap&&(f.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap,n(m.clearcoatRoughnessMap,f.clearcoatRoughnessMapTransform)),m.clearcoatNormalMap&&(f.clearcoatNormalMap.value=m.clearcoatNormalMap,n(m.clearcoatNormalMap,f.clearcoatNormalMapTransform),f.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),1===m.side&&f.clearcoatNormalScale.value.negate())),m.dispersion>0&&(f.dispersion.value=m.dispersion),m.iridescence>0&&(f.iridescence.value=m.iridescence,f.iridescenceIOR.value=m.iridescenceIOR,f.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],f.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(f.iridescenceMap.value=m.iridescenceMap,n(m.iridescenceMap,f.iridescenceMapTransform)),m.iridescenceThicknessMap&&(f.iridescenceThicknessMap.value=m.iridescenceThicknessMap,n(m.iridescenceThicknessMap,f.iridescenceThicknessMapTransform))),m.transmission>0&&(f.transmission.value=m.transmission,f.transmissionSamplerMap.value=g.texture,f.transmissionSamplerSize.value.set(g.width,g.height),m.transmissionMap&&(f.transmissionMap.value=m.transmissionMap,n(m.transmissionMap,f.transmissionMapTransform)),f.thickness.value=m.thickness,m.thicknessMap&&(f.thicknessMap.value=m.thicknessMap,n(m.thicknessMap,f.thicknessMapTransform)),f.attenuationDistance.value=m.attenuationDistance,f.attenuationColor.value.copy(m.attenuationColor)),m.anisotropy>0&&(f.anisotropyVector.value.set(m.anisotropy*Math.cos(m.anisotropyRotation),m.anisotropy*Math.sin(m.anisotropyRotation)),m.anisotropyMap&&(f.anisotropyMap.value=m.anisotropyMap,n(m.anisotropyMap,f.anisotropyMapTransform))),f.specularIntensity.value=m.specularIntensity,f.specularColor.value.copy(m.specularColor),m.specularColorMap&&(f.specularColorMap.value=m.specularColorMap,n(m.specularColorMap,f.specularColorMapTransform)),m.specularIntensityMap&&(f.specularIntensityMap.value=m.specularIntensityMap,n(m.specularIntensityMap,f.specularIntensityMapTransform)))):r.isMeshMatcapMaterial?(i(e,r),v=e,(_=r).matcap&&(v.matcap.value=_.matcap)):r.isMeshDepthMaterial?i(e,r):r.isMeshDistanceMaterial?(i(e,r),y=e,x=r,I=t.get(x).light,y.referencePosition.value.setFromMatrixPosition(I.matrixWorld),y.nearDistance.value=I.shadow.camera.near,y.farDistance.value=I.shadow.camera.far):r.isMeshNormalMaterial?i(e,r):r.isLineBasicMaterial?(b=e,S=r,b.diffuse.value.copy(S.color),b.opacity.value=S.opacity,S.map&&(b.map.value=S.map,n(S.map,b.mapTransform)),r.isLineDashedMaterial&&(M=e,T=r,M.dashSize.value=T.dashSize,M.totalSize.value=T.dashSize+T.gapSize,M.scale.value=T.scale)):r.isPointsMaterial?(w=e,E=r,A=a,C=s,w.diffuse.value.copy(E.color),w.opacity.value=E.opacity,w.size.value=E.size*A,w.scale.value=.5*C,E.map&&(w.map.value=E.map,n(E.map,w.uvTransform)),E.alphaMap&&(w.alphaMap.value=E.alphaMap,n(E.alphaMap,w.alphaMapTransform)),E.alphaTest>0&&(w.alphaTest.value=E.alphaTest)):r.isSpriteMaterial?(R=e,P=r,R.diffuse.value.copy(P.color),R.opacity.value=P.opacity,R.rotation.value=P.rotation,P.map&&(R.map.value=P.map,n(P.map,R.mapTransform)),P.alphaMap&&(R.alphaMap.value=P.alphaMap,n(P.alphaMap,R.alphaMapTransform)),P.alphaTest>0&&(R.alphaTest.value=P.alphaTest)):r.isShadowMaterial?(e.color.value.copy(r.color),e.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function uJ(e,t,n,i){let r={},a={},s=[],o=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function l(e){let t={boundary:0,storage:0};return"number"==typeof e||"boolean"==typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function u(t){let n=t.target;n.removeEventListener("dispose",u);let i=s.indexOf(n.__bindingPointIndex);s.splice(i,1),e.deleteBuffer(r[n.id]),delete r[n.id],delete a[n.id]}return{bind:function(e,t){let n=t.program;i.uniformBlockBinding(e,n)},update:function(n,c){var h;let d,p,f,m,g=r[n.id];void 0===g&&(function(e){let t=e.uniforms,n=0;for(let e=0,i=t.length;e0&&(n+=16-i),e.__size=n,e.__cache={}}(n),(h=n).__bindingPointIndex=d=function(){for(let e=0;etypeof WebGLRenderingContext&&A instanceof WebGLRenderingContext)throw Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");t=A.getContextAttributes().alpha}else t=P;const B=new Uint32Array(4),k=new Int32Array(4);let H=null,V=null;const G=[],W=[];this.domElement=E,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=I,this.toneMapping=0,this.toneMappingExposure=1;const j=this;let X=!1,q=0,Y=0,Z=null,J=-1,K=null;const $=new e_,Q=new e_;let ee=null;const en=new tz(0);let eo=0,el=E.width,ec=E.height,eh=1,ed=null,ep=null;const ef=new e_(0,0,el,ec),em=new e_(0,0,el,ec);let eg=!1;const ev=new iS;let ey=!1,eb=!1;const eS=new e2,eM=new e2,eT=new eE,ew=new e_,eA={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let eC=!1;function eR(){return null===Z?eh:1}let eP=A;function eI(e,t){return E.getContext(e,t)}try{if("setAttribute"in E&&E.setAttribute("data-engine","three.js r171"),E.addEventListener("webglcontextlost",eU,!1),E.addEventListener("webglcontextrestored",eD,!1),E.addEventListener("webglcontextcreationerror",eO,!1),null===eP){const e="webgl2";if(eP=eI(e,{alpha:!0,depth:C,stencil:R,antialias:N,premultipliedAlpha:U,preserveDrawingBuffer:D,powerPreference:O,failIfMajorPerformanceCaveat:F}),null===eP)if(eI(e))throw Error("Error creating WebGL context with your selected attributes.");else throw Error("Error creating WebGL context.")}}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function eL(){(n=new lr(eP)).init(),M=new uk(eP,n),i=new oY(eP,n,e,M),r=new uz(eP,n),i.reverseDepthBuffer&&z&&r.buffers.depth.setReversed(!0),a=new lo(eP),s=new uw,o=new uB(eP,n,r,s,i,M,a),l=new oJ(j),u=new li(j),c=new oz(eP),T=new oX(eP,c),h=new la(eP,c,a,T),d=new lu(eP,h,c,a),x=new ll(eP,i,o),v=new oZ(s),p=new uT(j,l,u,n,i,T,v),f=new uZ(j,s),m=new uR,g=new uD(n),y=new oj(j,l,u,r,d,t,U),_=new uO(j,d,i),w=new uJ(eP,a,i,r),b=new oq(eP,n,a),S=new ls(eP,n,a),a.programs=p.programs,j.capabilities=i,j.extensions=n,j.properties=s,j.renderLists=m,j.shadowMap=_,j.state=r,j.info=a}eL();const eN=new uX(j,eP);function eU(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),X=!0}function eD(){console.log("THREE.WebGLRenderer: Context Restored."),X=!1;let e=a.autoReset,t=_.enabled,n=_.autoUpdate,i=_.needsUpdate,r=_.type;eL(),a.autoReset=e,_.enabled=t,_.autoUpdate=n,_.needsUpdate=i,_.type=r}function eO(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function eF(e){var t,n;let i,r=e.target;r.removeEventListener("dispose",eF),n=t=r,void 0!==(i=s.get(n).programs)&&(i.forEach(function(e){p.releaseProgram(e)}),n.isShaderMaterial&&p.releaseShaderCache(n)),s.remove(t)}function ez(e,t,n){!0===e.transparent&&2===e.side&&!1===e.forceSinglePass?(e.side=1,e.needsUpdate=!0,eY(e,t,n),e.side=0,e.needsUpdate=!0,eY(e,t,n),e.side=2):eY(e,t,n)}this.xr=eN,this.getContext=function(){return eP},this.getContextAttributes=function(){return eP.getContextAttributes()},this.forceContextLoss=function(){let e=n.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){let e=n.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return eh},this.setPixelRatio=function(e){void 0!==e&&(eh=e,this.setSize(el,ec,!1))},this.getSize=function(e){return e.set(el,ec)},this.setSize=function(e,t,n=!0){eN.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(el=e,ec=t,E.width=Math.floor(e*eh),E.height=Math.floor(t*eh),!0===n&&(E.style.width=e+"px",E.style.height=t+"px"),this.setViewport(0,0,e,t))},this.getDrawingBufferSize=function(e){return e.set(el*eh,ec*eh).floor()},this.setDrawingBufferSize=function(e,t,n){el=e,ec=t,eh=n,E.width=Math.floor(e*n),E.height=Math.floor(t*n),this.setViewport(0,0,e,t)},this.getCurrentViewport=function(e){return e.copy($)},this.getViewport=function(e){return e.copy(ef)},this.setViewport=function(e,t,n,i){e.isVector4?ef.set(e.x,e.y,e.z,e.w):ef.set(e,t,n,i),r.viewport($.copy(ef).multiplyScalar(eh).round())},this.getScissor=function(e){return e.copy(em)},this.setScissor=function(e,t,n,i){e.isVector4?em.set(e.x,e.y,e.z,e.w):em.set(e,t,n,i),r.scissor(Q.copy(em).multiplyScalar(eh).round())},this.getScissorTest=function(){return eg},this.setScissorTest=function(e){r.setScissorTest(eg=e)},this.setOpaqueSort=function(e){ed=e},this.setTransparentSort=function(e){ep=e},this.getClearColor=function(e){return e.copy(y.getClearColor())},this.setClearColor=function(){y.setClearColor.apply(y,arguments)},this.getClearAlpha=function(){return y.getClearAlpha()},this.setClearAlpha=function(){y.setClearAlpha.apply(y,arguments)},this.clear=function(e=!0,t=!0,n=!0){let i=0;if(e){let e=!1;if(null!==Z){let t=Z.texture.format;e=1033===t||1031===t||1029===t}if(e){let e=Z.texture.type,t=1009===e||1014===e||1012===e||1020===e||1017===e||1018===e,n=y.getClearColor(),i=y.getClearAlpha(),r=n.r,a=n.g,s=n.b;t?(B[0]=r,B[1]=a,B[2]=s,B[3]=i,eP.clearBufferuiv(eP.COLOR,0,B)):(k[0]=r,k[1]=a,k[2]=s,k[3]=i,eP.clearBufferiv(eP.COLOR,0,k))}else i|=eP.COLOR_BUFFER_BIT}t&&(i|=eP.DEPTH_BUFFER_BIT),n&&(i|=eP.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(0xffffffff)),eP.clear(i)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){E.removeEventListener("webglcontextlost",eU,!1),E.removeEventListener("webglcontextrestored",eD,!1),E.removeEventListener("webglcontextcreationerror",eO,!1),y.dispose(),m.dispose(),g.dispose(),s.dispose(),l.dispose(),u.dispose(),d.dispose(),T.dispose(),w.dispose(),p.dispose(),eN.dispose(),eN.removeEventListener("sessionstart",ek),eN.removeEventListener("sessionend",eH),eV.stop()},this.renderBufferDirect=function(e,t,a,d,p,m){let g;null===t&&(t=eA);let _=p.isMesh&&0>p.matrixWorld.determinant(),y=function(e,t,n,a,c){var h,d;!0!==t.isScene&&(t=eA),o.resetTextureUnits();let p=t.fog,m=a.isMeshStandardMaterial?t.environment:null,g=null===Z?j.outputColorSpace:!0===Z.isXRRenderTarget?Z.texture.colorSpace:L,_=(a.isMeshStandardMaterial?u:l).get(a.envMap||m),y=!0===a.vertexColors&&!!n.attributes.color&&4===n.attributes.color.itemSize,b=!!n.attributes.tangent&&(!!a.normalMap||a.anisotropy>0),S=!!n.morphAttributes.position,M=!!n.morphAttributes.normal,T=!!n.morphAttributes.color,E=0;a.toneMapped&&(null===Z||!0===Z.isXRRenderTarget)&&(E=j.toneMapping);let A=n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color,C=void 0!==A?A.length:0,R=s.get(a),P=V.state.lights;if(!0===ey&&(!0===eb||e!==K)){let t=e===K&&a.id===J;v.setState(a,e,t)}let I=!1;a.version===R.__version?R.needsLights&&R.lightsStateVersion!==P.state.version||R.outputColorSpace!==g||c.isBatchedMesh&&!1===R.batching?I=!0:c.isBatchedMesh||!0!==R.batching?c.isBatchedMesh&&!0===R.batchingColor&&null===c.colorTexture||c.isBatchedMesh&&!1===R.batchingColor&&null!==c.colorTexture||c.isInstancedMesh&&!1===R.instancing?I=!0:c.isInstancedMesh||!0!==R.instancing?c.isSkinnedMesh&&!1===R.skinning?I=!0:c.isSkinnedMesh||!0!==R.skinning?c.isInstancedMesh&&!0===R.instancingColor&&null===c.instanceColor||c.isInstancedMesh&&!1===R.instancingColor&&null!==c.instanceColor||c.isInstancedMesh&&!0===R.instancingMorph&&null===c.morphTexture||c.isInstancedMesh&&!1===R.instancingMorph&&null!==c.morphTexture||R.envMap!==_||!0===a.fog&&R.fog!==p||void 0!==R.numClippingPlanes&&(R.numClippingPlanes!==v.numPlanes||R.numIntersection!==v.numIntersection)||R.vertexAlphas!==y||R.vertexTangents!==b||R.morphTargets!==S||R.morphNormals!==M||R.morphColors!==T||R.toneMapping!==E?I=!0:R.morphTargetsCount!==C&&(I=!0):I=!0:I=!0:I=!0:(I=!0,R.__version=a.version);let N=R.currentProgram;!0===I&&(N=eY(a,t,c));let U=!1,D=!1,O=!1,F=N.getUniforms(),z=R.uniforms;if(r.useProgram(N.program)&&(U=!0,D=!0,O=!0),a.id!==J&&(J=a.id,D=!0),U||K!==e){r.buffers.depth.getReversed()?(eS.copy(e.projectionMatrix),ea(eS),es(eS),F.setValue(eP,"projectionMatrix",eS)):F.setValue(eP,"projectionMatrix",e.projectionMatrix),F.setValue(eP,"viewMatrix",e.matrixWorldInverse);let t=F.map.cameraPosition;void 0!==t&&t.setValue(eP,eT.setFromMatrixPosition(e.matrixWorld)),i.logarithmicDepthBuffer&&F.setValue(eP,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),(a.isMeshPhongMaterial||a.isMeshToonMaterial||a.isMeshLambertMaterial||a.isMeshBasicMaterial||a.isMeshStandardMaterial||a.isShaderMaterial)&&F.setValue(eP,"isOrthographic",!0===e.isOrthographicCamera),K!==e&&(K=e,D=!0,O=!0)}if(c.isSkinnedMesh){F.setOptional(eP,c,"bindMatrix"),F.setOptional(eP,c,"bindMatrixInverse");let e=c.skeleton;e&&(null===e.boneTexture&&e.computeBoneTexture(),F.setValue(eP,"boneTexture",e.boneTexture,o))}c.isBatchedMesh&&(F.setOptional(eP,c,"batchingTexture"),F.setValue(eP,"batchingTexture",c._matricesTexture,o),F.setOptional(eP,c,"batchingIdTexture"),F.setValue(eP,"batchingIdTexture",c._indirectTexture,o),F.setOptional(eP,c,"batchingColorTexture"),null!==c._colorsTexture&&F.setValue(eP,"batchingColorTexture",c._colorsTexture,o));let B=n.morphAttributes;if((void 0!==B.position||void 0!==B.normal||void 0!==B.color)&&x.update(c,n,N),(D||R.receiveShadow!==c.receiveShadow)&&(R.receiveShadow=c.receiveShadow,F.setValue(eP,"receiveShadow",c.receiveShadow)),a.isMeshGouraudMaterial&&null!==a.envMap&&(z.envMap.value=_,z.flipEnvMap.value=_.isCubeTexture&&!1===_.isRenderTargetTexture?-1:1),a.isMeshStandardMaterial&&null===a.envMap&&null!==t.environment&&(z.envMapIntensity.value=t.environmentIntensity),D&&(F.setValue(eP,"toneMappingExposure",j.toneMappingExposure),R.needsLights&&(h=z,d=O,h.ambientLightColor.needsUpdate=d,h.lightProbe.needsUpdate=d,h.directionalLights.needsUpdate=d,h.directionalLightShadows.needsUpdate=d,h.pointLights.needsUpdate=d,h.pointLightShadows.needsUpdate=d,h.spotLights.needsUpdate=d,h.spotLightShadows.needsUpdate=d,h.rectAreaLights.needsUpdate=d,h.hemisphereLights.needsUpdate=d),p&&!0===a.fog&&f.refreshFogUniforms(z,p),f.refreshMaterialUniforms(z,a,eh,ec,V.state.transmissionRenderTarget[e.id]),ui.upload(eP,eZ(R),z,o)),a.isShaderMaterial&&!0===a.uniformsNeedUpdate&&(ui.upload(eP,eZ(R),z,o),a.uniformsNeedUpdate=!1),a.isSpriteMaterial&&F.setValue(eP,"center",c.center),F.setValue(eP,"modelViewMatrix",c.modelViewMatrix),F.setValue(eP,"normalMatrix",c.normalMatrix),F.setValue(eP,"modelMatrix",c.matrixWorld),a.isShaderMaterial||a.isRawShaderMaterial){let e=a.uniformsGroups;for(let t=0,n=e.length;t{function i(){(r.forEach(function(e){s.get(e).currentProgram.isReady()&&r.delete(e)}),0===r.size)?t(e):setTimeout(i,10)}null!==n.get("KHR_parallel_shader_compile")?i():setTimeout(i,10)})};let eB=null;function ek(){eV.stop()}function eH(){eV.start()}const eV=new oF;function eG(e,t,n,i){if(!1===e.visible)return;if(e.layers.test(t.layers)){if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)V.pushLight(e),e.castShadow&&V.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||ev.intersectsSprite(e)){i&&ew.setFromMatrixPosition(e.matrixWorld).applyMatrix4(eM);let t=d.update(e),r=e.material;r.visible&&H.push(e,t,r,n,ew.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||ev.intersectsObject(e))){let t=d.update(e),r=e.material;if(i&&(void 0!==e.boundingSphere?(null===e.boundingSphere&&e.computeBoundingSphere(),ew.copy(e.boundingSphere.center)):(null===t.boundingSphere&&t.computeBoundingSphere(),ew.copy(t.boundingSphere.center)),ew.applyMatrix4(e.matrixWorld).applyMatrix4(eM)),Array.isArray(r)){let i=t.groups;for(let a=0,s=i.length;a0&&eX(a,t,n),s.length>0&&eX(s,t,n),o.length>0&&eX(o,t,n),r.buffers.depth.setTest(!0),r.buffers.depth.setMask(!0),r.buffers.color.setMask(!0),r.setPolygonOffset(!1)}function ej(e,t,i,r){if(null!==(!0===i.isScene?i.overrideMaterial:null))return;void 0===V.state.transmissionRenderTarget[r.id]&&(V.state.transmissionRenderTarget[r.id]=new ex(1,1,{generateMipmaps:!0,type:n.has("EXT_color_buffer_half_float")||n.has("EXT_color_buffer_float")?1016:1009,minFilter:1008,samples:4,stencilBuffer:R,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:eu.workingColorSpace}));let a=V.state.transmissionRenderTarget[r.id],s=r.viewport||$;a.setSize(s.z,s.w);let l=j.getRenderTarget();j.setRenderTarget(a),j.getClearColor(en),(eo=j.getClearAlpha())<1&&j.setClearColor(0xffffff,.5),j.clear(),eC&&y.render(i);let u=j.toneMapping;j.toneMapping=0;let c=r.viewport;if(void 0!==r.viewport&&(r.viewport=void 0),V.setupLightsView(r),!0===ey&&v.setGlobalState(j.clippingPlanes,r),eX(e,i,r),o.updateMultisampleRenderTarget(a),o.updateRenderTargetMipmap(a),!1===n.has("WEBGL_multisampled_render_to_texture")){let e=!1;for(let n=0,a=t.length;ntypeof self&&eV.setContext(self),this.setAnimationLoop=function(e){eB=e,eN.setAnimationLoop(e),null===e?eV.stop():eV.start()},eN.addEventListener("sessionstart",ek),eN.addEventListener("sessionend",eH),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===X)return;if(!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===eN.enabled&&!0===eN.isPresenting&&(!0===eN.cameraAutoUpdate&&eN.updateCamera(t),t=eN.getCamera()),!0===e.isScene&&e.onBeforeRender(j,e,t,Z),(V=g.get(e,W.length)).init(t),W.push(V),eM.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),ev.setFromProjectionMatrix(eM),eb=this.localClippingEnabled,ey=v.init(this.clippingPlanes,eb),(H=m.get(e,G.length)).init(),G.push(H),!0===eN.enabled&&!0===eN.isPresenting){let e=j.xr.getDepthSensingMesh();null!==e&&eG(e,t,-1/0,j.sortObjects)}eG(e,t,0,j.sortObjects),H.finish(),!0===j.sortObjects&&H.sort(ed,ep),(eC=!1===eN.enabled||!1===eN.isPresenting||!1===eN.hasDepthSensing())&&y.addToRenderList(H,e),this.info.render.frame++,!0===ey&&v.beginShadows();let n=V.state.shadowsArray;_.render(n,e,t),!0===ey&&v.endShadows(),!0===this.info.autoReset&&this.info.reset();let i=H.opaque,r=H.transmissive;if(V.setupLights(),t.isArrayCamera){let n=t.cameras;if(r.length>0)for(let t=0,a=n.length;t0&&ej(i,r,e,t),eC&&y.render(e),eW(H,e,t);null!==Z&&(o.updateMultisampleRenderTarget(Z),o.updateRenderTargetMipmap(Z)),!0===e.isScene&&e.onAfterRender(j,e,t),T.resetDefaultState(),J=-1,K=null,W.pop(),W.length>0?(V=W[W.length-1],!0===ey&&v.setGlobalState(j.clippingPlanes,V.state.camera)):V=null,G.pop(),H=G.length>0?G[G.length-1]:null},this.getActiveCubeFace=function(){return q},this.getActiveMipmapLevel=function(){return Y},this.getRenderTarget=function(){return Z},this.setRenderTargetTextures=function(e,t,i){s.get(e.texture).__webglTexture=t,s.get(e.depthTexture).__webglTexture=i;let r=s.get(e);r.__hasExternalTextures=!0,r.__autoAllocateDepthBuffer=void 0===i,r.__autoAllocateDepthBuffer||!0!==n.has("WEBGL_multisampled_render_to_texture")||(console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided"),r.__useRenderToTexture=!1)},this.setRenderTargetFramebuffer=function(e,t){let n=s.get(e);n.__webglFramebuffer=t,n.__useDefaultFramebuffer=void 0===t},this.setRenderTarget=function(e,t=0,n=0){Z=e,q=t,Y=n;let i=!0,a=null,l=!1,u=!1;if(e){let c=s.get(e);if(void 0!==c.__useDefaultFramebuffer)r.bindFramebuffer(eP.FRAMEBUFFER,null),i=!1;else if(void 0===c.__webglFramebuffer)o.setupRenderTarget(e);else if(c.__hasExternalTextures)o.rebindTextures(e,s.get(e.texture).__webglTexture,s.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){let t=e.depthTexture;if(c.__boundDepthTexture!==t){if(null!==t&&s.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");o.setupDepthRenderbuffer(e)}}let h=e.texture;(h.isData3DTexture||h.isDataArrayTexture||h.isCompressedArrayTexture)&&(u=!0);let d=s.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(a=Array.isArray(d[t])?d[t][n]:d[t],l=!0):a=e.samples>0&&!1===o.useMultisampledRTT(e)?s.get(e).__webglMultisampledFramebuffer:Array.isArray(d)?d[n]:d,$.copy(e.viewport),Q.copy(e.scissor),ee=e.scissorTest}else $.copy(ef).multiplyScalar(eh).floor(),Q.copy(em).multiplyScalar(eh).floor(),ee=eg;if(r.bindFramebuffer(eP.FRAMEBUFFER,a)&&i&&r.drawBuffers(e,a),r.viewport($),r.scissor(Q),r.setScissorTest(ee),l){let i=s.get(e.texture);eP.framebufferTexture2D(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,eP.TEXTURE_CUBE_MAP_POSITIVE_X+t,i.__webglTexture,n)}else if(u){let i=s.get(e.texture);eP.framebufferTextureLayer(eP.FRAMEBUFFER,eP.COLOR_ATTACHMENT0,i.__webglTexture,n||0,t||0)}J=-1},this.readRenderTargetPixels=function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){r.bindFramebuffer(eP.FRAMEBUFFER,c);try{let r=e.texture,s=r.format,u=r.type;if(!i.textureFormatReadable(s))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(u))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o&&eP.readPixels(t,n,a,o,M.convert(s),M.convert(u),l)}finally{let e=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,n,a,o,l,u){if(!(e&&e.isWebGLRenderTarget))throw Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let c=s.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==u&&(c=c[u]),c){let u=e.texture,h=u.format,d=u.type;if(!i.textureFormatReadable(h))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!i.textureTypeReadable(d))throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(t>=0&&t<=e.width-a&&n>=0&&n<=e.height-o){r.bindFramebuffer(eP.FRAMEBUFFER,c);let e=eP.createBuffer();eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.bufferData(eP.PIXEL_PACK_BUFFER,l.byteLength,eP.STREAM_READ),eP.readPixels(t,n,a,o,M.convert(h),M.convert(d),0);let i=null!==Z?s.get(Z).__webglFramebuffer:null;r.bindFramebuffer(eP.FRAMEBUFFER,i);let u=eP.fenceSync(eP.SYNC_GPU_COMMANDS_COMPLETE,0);return eP.flush(),await er(eP,u,4),eP.bindBuffer(eP.PIXEL_PACK_BUFFER,e),eP.getBufferSubData(eP.PIXEL_PACK_BUFFER,0,l),eP.deleteBuffer(e),eP.deleteSync(u),l}throw Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(e,t=null,n=0){!0!==e.isTexture&&(ei("WebGLRenderer: copyFramebufferToTexture function signature has changed."),t=arguments[0]||null,e=arguments[1]);let i=Math.pow(2,-n),a=Math.floor(e.image.width*i),s=Math.floor(e.image.height*i),l=null!==t?t.x:0,u=null!==t?t.y:0;o.setTexture2D(e,0),eP.copyTexSubImage2D(eP.TEXTURE_2D,n,0,0,l,u,a,s),r.unbindTexture()};const eK=eP.createFramebuffer(),e$=eP.createFramebuffer();this.copyTextureToTexture=function(e,t,n=null,i=null,a=0,l=null){let u,c,h,d,p,f,m,g,v,_;!0!==e.isTexture&&(ei("WebGLRenderer: copyTextureToTexture function signature has changed."),i=arguments[0]||null,e=arguments[1],t=arguments[2],l=arguments[3]||0,n=null),null===l&&(0!==a?(ei("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),l=a,a=0):l=0);let y=e.isCompressedTexture?e.mipmaps[l]:e.image;if(null!==n)u=n.max.x-n.min.x,c=n.max.y-n.min.y,h=n.isBox3?n.max.z-n.min.z:1,d=n.min.x,p=n.min.y,f=n.isBox3?n.min.z:0;else{let t=Math.pow(2,-a);u=Math.floor(y.width*t),c=Math.floor(y.height*t),h=e.isDataArrayTexture?y.depth:e.isData3DTexture?Math.floor(y.depth*t):1,d=0,p=0,f=0}null!==i?(m=i.x,g=i.y,v=i.z):(m=0,g=0,v=0);let x=M.convert(t.format),b=M.convert(t.type);t.isData3DTexture?(o.setTexture3D(t,0),_=eP.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(o.setTexture2DArray(t,0),_=eP.TEXTURE_2D_ARRAY):(o.setTexture2D(t,0),_=eP.TEXTURE_2D),eP.pixelStorei(eP.UNPACK_FLIP_Y_WEBGL,t.flipY),eP.pixelStorei(eP.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),eP.pixelStorei(eP.UNPACK_ALIGNMENT,t.unpackAlignment);let S=eP.getParameter(eP.UNPACK_ROW_LENGTH),T=eP.getParameter(eP.UNPACK_IMAGE_HEIGHT),w=eP.getParameter(eP.UNPACK_SKIP_PIXELS),E=eP.getParameter(eP.UNPACK_SKIP_ROWS),A=eP.getParameter(eP.UNPACK_SKIP_IMAGES);eP.pixelStorei(eP.UNPACK_ROW_LENGTH,y.width),eP.pixelStorei(eP.UNPACK_IMAGE_HEIGHT,y.height),eP.pixelStorei(eP.UNPACK_SKIP_PIXELS,d),eP.pixelStorei(eP.UNPACK_SKIP_ROWS,p),eP.pixelStorei(eP.UNPACK_SKIP_IMAGES,f);let C=e.isDataArrayTexture||e.isData3DTexture,R=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){let n=s.get(e),i=s.get(t),o=s.get(n.__renderTarget),_=s.get(i.__renderTarget);r.bindFramebuffer(eP.READ_FRAMEBUFFER,o.__webglFramebuffer),r.bindFramebuffer(eP.DRAW_FRAMEBUFFER,_.__webglFramebuffer);for(let n=0;ntypeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return 2e3}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;let t=this.getContext();t.drawingBufferColorspace=eu._getDrawingBufferColorSpace(e),t.unpackColorSpace=eu._getUnpackColorSpace()}}e.s(["PMREMGenerator",0,o8,"ShaderChunk",0,oB,"ShaderLib",0,oH,"UniformsLib",0,ok,"WebGLRenderer",0,uK,"WebGLUtils",0,uk],8560);var u$=e.i(30224);let uQ=e=>{let t,n=new Set,i=(e,i)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=i?i:"object"!=typeof r||null===r)?r:Object.assign({},t,r),n.forEach(n=>n(t,e))}},r=()=>t,a={setState:i,getState:r,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(i,r,a);return a},u0=e=>e?uQ(e):uQ;e.s(["createStore",0,u0],8155);let{useSyncExternalStoreWithSelector:u1}=u$.default,u2=(e,t)=>{let n=u0(e),i=(e,i=t)=>(function(e,t=e=>e,n){let i=u1(e.subscribe,e.getState,e.getInitialState,t,n);return E.default.useDebugValue(i),i})(n,e,i);return Object.assign(i,n),i},u3=(e,t)=>e?u2(e,t):u2,u4=[];function u5(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;let i=e.length;if(t.length!==i)return!1;for(let r=0;r0&&(r.timeout&&clearTimeout(r.timeout),r.timeout=setTimeout(r.remove,i.lifespan)),r.response;if(!n)throw r.promise}let r={keys:t,equal:i.equal,remove:()=>{let e=u4.indexOf(r);-1!==e&&u4.splice(e,1)},promise:("object"==typeof e&&"function"==typeof e.then?e:e(...t)).then(e=>{r.response=e,i.lifespan&&i.lifespan>0&&(r.timeout=setTimeout(r.remove,i.lifespan))}).catch(e=>r.error=e)};if(u4.push(r),!n)throw r.promise}var u8=e.i(89499),u9=e.i(43476),u7=E;function ce(e,t,n){if(!e)return;if(!0===n(e))return e;let i=t?e.return:e.child;for(;i;){let e=ce(i,t,n);if(e)return e;i=t?null:i.sibling}}function ct(e){try{return Object.defineProperties(e,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(t){return e}}"u">typeof window&&((null==(y=window.document)?void 0:y.createElement)||(null==(x=window.navigator)?void 0:x.product)==="ReactNative")?u7.useLayoutEffect:u7.useEffect;let cn=ct(u7.createContext(null));class ci extends u7.Component{render(){return u7.createElement(cn.Provider,{value:this._reactInternals},this.props.children)}}function cr(){let e=u7.useContext(cn);if(null===e)throw Error("its-fine: useFiber must be called within a !");let t=u7.useId();return u7.useMemo(()=>{for(let n of[e,null==e?void 0:e.alternate]){if(!n)continue;let e=ce(n,!1,e=>{let n=e.memoizedState;for(;n;){if(n.memoizedState===t)return!0;n=n.next}});if(e)return e}},[e,t])}let ca=Symbol.for("react.context"),cs=e=>null!==e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ca;function co(e){let t=e.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}E.act;let cl=e=>e&&e.hasOwnProperty("current"),cu=e=>null!=e&&("string"==typeof e||"number"==typeof e||e.isColor),cc="u">typeof window&&((null==(m=window.document)?void 0:m.createElement)||(null==(g=window.navigator)?void 0:g.product)==="ReactNative")?E.useLayoutEffect:E.useEffect;function ch(e){let t=E.useRef(e);return cc(()=>void(t.current=e),[e]),t}function cd(){let e,t=cr(),n=(e=function(){let e=cr(),[t]=u7.useState(()=>new Map);t.clear();let n=e;for(;n;){let e=n.type;cs(e)&&e!==cn&&!t.has(e)&&t.set(e,u7.use(ct(e))),n=n.return}return t}(),u7.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>i=>u7.createElement(t,null,u7.createElement(n.Provider,{...i,value:e.get(n)})),e=>u7.createElement(ci,{...e})),[e]));return E.useMemo(()=>({children:e})=>{let i=ce(t,!0,e=>e.type===E.StrictMode)?E.StrictMode:E.Fragment;return(0,u9.jsx)(i,{children:(0,u9.jsx)(n,{children:e})})},[t,n])}function cp({set:e}){return cc(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}let cf=((v=class extends E.Component{constructor(...e){super(...e),this.state={error:!1}}componentDidCatch(e){this.props.set(e)}render(){return this.state.error?null:this.props.children}}).getDerivedStateFromError=()=>({error:!0}),v);function cm(e){var t;let n="u">typeof window?null!=(t=window.devicePixelRatio)?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}function cg(e){var t;return null==(t=e.__r3f)?void 0:t.root.getState()}let cv={obj:e=>e===Object(e)&&!cv.arr(e)&&"function"!=typeof e,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,boo:e=>"boolean"==typeof e,und:e=>void 0===e,nul:e=>null===e,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:i="reference",strict:r=!0}={}){let a;if(typeof e!=typeof t||!!e!=!!t)return!1;if(cv.str(e)||cv.num(e)||cv.boo(e))return e===t;let s=cv.obj(e);if(s&&"reference"===i)return e===t;let o=cv.arr(e);if(o&&"reference"===n)return e===t;if((o||s)&&e===t)return!0;for(a in e)if(!(a in t))return!1;if(s&&"shallow"===n&&"shallow"===i){for(a in r?t:e)if(!cv.equ(e[a],t[a],{strict:r,objects:"reference"}))return!1}else for(a in r?t:e)if(e[a]!==t[a])return!1;if(cv.und(a)){if(o&&0===e.length&&0===t.length||s&&0===Object.keys(e).length&&0===Object.keys(t).length)return!0;if(e!==t)return!1}return!0}},c_=["children","key","ref"];function cy(e,t,n,i){let r=null==e?void 0:e.__r3f;return!r&&(r={root:t,type:n,parent:null,children:[],props:function(e){let t={};for(let n in e)c_.includes(n)||(t[n]=e[n]);return t}(i),object:e,eventCount:0,handlers:{},isHidden:!1},e&&(e.__r3f=r)),r}function cx(e,t){if(!t.includes("-")||t in e)return{root:e,key:t,target:e[t]};let n=e,i=t.split("-");for(let r of i){if("object"!=typeof n||null===n){if(void 0!==n)return{root:n,key:i.slice(i.indexOf(r)).join("-"),target:void 0};return{root:e,key:t,target:void 0}}t=r,e=n,n=n[t]}return{root:e,key:t,target:n}}let cb=/-\d+$/;function cS(e,t){if(cv.str(t.props.attach)){if(cb.test(t.props.attach)){let n=t.props.attach.replace(cb,""),{root:i,key:r}=cx(e.object,n);Array.isArray(i[r])||(i[r]=[])}let{root:n,key:i}=cx(e.object,t.props.attach);t.previousAttach=n[i],n[i]=t.object}else cv.fun(t.props.attach)&&(t.previousAttach=t.props.attach(e.object,t.object))}function cM(e,t){if(cv.str(t.props.attach)){let{root:n,key:i}=cx(e.object,t.props.attach),r=t.previousAttach;void 0===r?delete n[i]:n[i]=r}else null==t.previousAttach||t.previousAttach(e.object,t.object);delete t.previousAttach}let cT=[...c_,"args","dispose","attach","object","onUpdate","dispose"],cw=new Map,cE=["map","emissiveMap","sheenColorMap","specularColorMap","envMap"],cA=/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/;function cC(e,t){var n,i;let r=e.__r3f,a=r&&co(r).getState(),s=null==r?void 0:r.eventCount;for(let n in t){let s=t[n];if(cT.includes(n))continue;if(r&&cA.test(n)){"function"==typeof s?r.handlers[n]=s:delete r.handlers[n],r.eventCount=Object.keys(r.handlers).length;continue}if(void 0===s)continue;let{root:o,key:l,target:u}=cx(e,n);if(void 0===u&&("object"!=typeof o||null===o))throw Error(`R3F: Cannot set "${n}". Ensure it is an object before setting "${l}".`);if(u instanceof ti&&s instanceof ti)u.mask=s.mask;else if(u instanceof tz&&cu(s))u.set(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"function"==typeof u.copy&&null!=s&&s.constructor&&u.constructor===s.constructor)u.copy(s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&Array.isArray(s))"function"==typeof u.fromArray?u.fromArray(s):u.set(...s);else if(null!==u&&"object"==typeof u&&"function"==typeof u.set&&"number"==typeof s)"function"==typeof u.setScalar?u.setScalar(s):u.set(s);else if(o instanceof nb&&"uniforms"===l&&cv.obj(s)){cv.obj(o.uniforms)||(o.uniforms={});let e=o.uniforms;for(let t in s){let n=s[t],i=e[t];i?Object.assign(i,n):e[t]={...n}}}else o[l]=s,a&&!a.linear&&cE.includes(l)&&null!=(i=o[l])&&i.isTexture&&1023===o[l].format&&1009===o[l].type&&(o[l].colorSpace=I)}if(null!=r&&r.parent&&null!=a&&a.internal&&null!=(n=r.object)&&n.isObject3D&&s!==r.eventCount){let e=r.object,t=a.internal.interaction.indexOf(e);t>-1&&a.internal.interaction.splice(t,1),r.eventCount&&null!==e.raycast&&a.internal.interaction.push(e)}return r&&void 0===r.props.attach&&(r.object.isBufferGeometry?r.props.attach="geometry":r.object.isMaterial&&(r.props.attach="material")),r&&cR(r),e}function cR(e){var t;if(!e.parent)return;null==e.props.onUpdate||e.props.onUpdate(e.object);let n=null==(t=e.root)||null==t.getState?void 0:t.getState();n&&0===n.internal.frames&&n.invalidate()}function cP(e,t){!e.manual&&(e&&e.isOrthographicCamera?(e.left=-(t.width/2),e.right=t.width/2,e.top=t.height/2,e.bottom=-(t.height/2)):e.aspect=t.width/t.height,e.updateProjectionMatrix())}let cI=e=>null==e?void 0:e.isObject3D;function cL(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function cN(e,t,n,i){let r=n.get(t);r&&(n.delete(t),0===n.size&&(e.delete(i),r.target.releasePointerCapture(i)))}let cU=e=>!!(null!=e&&e.render),cD=E.createContext(null);function cO(){let e=E.useContext(cD);if(!e)throw Error("R3F: Hooks can only be used within the Canvas component!");return e}function cF(e=e=>e,t){return cO()(e,t)}function cz(e,t=0){let n=cO(),i=n.getState().internal.subscribe,r=ch(e);return cc(()=>i(r,t,n),[t,i,n]),null}let cB=new WeakMap;function ck(e,t){return function(n,...i){var r;let a;return"function"==typeof n&&(null==n||null==(r=n.prototype)?void 0:r.constructor)===n?(a=cB.get(n))||(a=new n,cB.set(n,a)):a=n,e&&e(a),Promise.all(i.map(e=>new Promise((n,i)=>a.load(e,e=>{var t;let i;cI(null==e?void 0:e.scene)&&Object.assign(e,(t=e.scene,i={nodes:{},materials:{},meshes:{}},t&&t.traverse(e=>{e.name&&(i.nodes[e.name]=e),e.material&&!i.materials[e.material.name]&&(i.materials[e.material.name]=e.material),e.isMesh&&!i.meshes[e.name]&&(i.meshes[e.name]=e)}),i)),n(e)},t,t=>i(Error(`Could not load ${e}: ${null==t?void 0:t.message}`))))))}}function cH(e,t,n,i){let r=Array.isArray(t)?t:[t],a=u6(ck(n,i),[e,...r],!1,{equal:cv.equ});return Array.isArray(t)?a:a[0]}cH.preload=function(e,t,n){let i,r=Array.isArray(t)?t:[t];u6(ck(n),[e,...r],!0,i)},cH.clear=function(e,t){var n=[e,...Array.isArray(t)?t:[t]];if(void 0===n||0===n.length)u4.splice(0,u4.length);else{let e=u4.find(e=>u5(n,e.keys,e.equal));e&&e.remove()}};var cV={exports:{}},cG={exports:{}};cG.exports;let cW=(T||(T=1,M||(M=1,cG.exports=function(e){function t(e,t,n,i){return new iJ(e,t,n,i)}function n(){}function i(e){var t="https://react.dev/errors/"+e;if(1sT||(e.current=sM[sT],sM[sT]=null,sT--)}function h(e,t){sM[++sT]=e.current,e.current=t}function d(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function p(e,t,n){var i=e.pendingLanes;if(0===i)return 0;var r=0,a=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var o=0x7ffffff&i;return 0!==o?0!=(i=o&~a)?r=d(i):0!=(s&=o)?r=d(s):n||0!=(n=o&~e)&&(r=d(n)):0!=(o=i&~a)?r=d(o):0!==s?r=d(s):n||0!=(n=i&~e)&&(r=d(n)),0===r?0:0!==t&&t!==r&&(t&a)==0&&((a=r&-r)>=(n=t&-t)||32===a&&(4194048&n)!=0)?t:r}function f(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)==0}function m(){var e=sI;return(0x3c00000&(sI<<=1))==0&&(sI=4194304),e}function g(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function v(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function _(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-sE(t);e.entangledLanes|=t,e.entanglements[i]=0x40000000|e.entanglements[i]|261930&n}function y(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-sE(n),r=1<)":-1r||l[i]!==u[r]){var c=` -`+l[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=r)break}}}finally{sY=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?T(n):""}function C(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return T(e.type);case 16:return T("Lazy");case 13:return e.child!==t&&null!==t?T("Suspense Fallback"):T("Suspense");case 19:return T("SuspenseList");case 0:case 15:return A(e.type,!1);case 11:return A(e.type.render,!1);case 1:return A(e.type,!0);case 31:return T("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return` -Error generating stack: `+e.message+` -`+e.stack}}function R(e,t){if("object"==typeof e&&null!==e){var n=sZ.get(e);return void 0!==n?n:(t={value:e,source:t,stack:C(t)},sZ.set(e,t),t)}return{value:e,source:t,stack:C(t)}}function P(e,t){sJ[sK++]=sQ,sJ[sK++]=s$,s$=e,sQ=t}function I(e,t,n){s0[s1++]=s3,s0[s1++]=s4,s0[s1++]=s2,s2=e;var i=s3;e=s4;var r=32-sE(i)-1;i&=~(1<>=s,r-=s,s3=1<<32-sE(t)+r|n<d?(p=h,h=null):p=h.sibling;var v=m(t,h,s[d],o);if(null===v){null===h&&(h=p);break}e&&h&&null===v.alternate&&n(t,h),i=l(v,i,d),null===c?u=v:c.sibling=v,c=v,h=p}if(d===s.length)return r(t,h),ot&&P(t,d),u;if(null===h){for(;dp?(v=d,d=null):v=d.sibling;var y=m(t,d,_.value,u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&n(t,d),s=l(y,s,p),null===h?c=y:h.sibling=y,h=y,d=v}if(_.done)return r(t,d),ot&&P(t,p),c;if(null===d){for(;!_.done;p++,_=o.next())null!==(_=f(t,_.value,u))&&(s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return ot&&P(t,p),c}for(d=a(d);!_.done;p++,_=o.next())null!==(_=g(d,t,p,_.value,u))&&(e&&null!==_.alternate&&d.delete(null===_.key?p:_.key),s=l(_,s,p),null===h?c=_:h.sibling=_,h=_);return e&&d.forEach(function(e){return n(t,e)}),ot&&P(t,p),c}(c,h,d=v.call(d),p)}if("function"==typeof d.then)return t(c,h,eM(d),p);if(d.$$typeof===rd)return t(c,h,ee(c,d),p);ew(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==h&&6===h.tag?(r(c,h.sibling),(p=s(h,d)).return=c):(r(c,h),(p=i2(d,c.mode,p)).return=c),u(c=p)):r(c,h)}(c,h,d,p);return oR=null,v}catch(e){if(e===oT||e===oE)throw e;var _=t(29,e,null,c.mode);return _.lanes=p,_.return=c,_}finally{}}}function eA(){for(var e=oU,t=oD=oU=0;ta?a:8);var s=rM.T,o={};rM.T=o,t$(e,!1,t,n);try{var l=r(),u=rM.S;if(null!==u&&u(o,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,h,d=(c=[],h={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){h.status="fulfilled",h.value=i;for(var e=0;e";case lu:return":has("+(id(e)||"")+")";case lc:return'[role="'+e.value+'"]';case ld:return'"'+e.value+'"';case lh:return'[data-testname="'+e.value+'"]';default:throw Error(i(365))}}function ip(e,t){var n=[];e=[e,0];for(var i=0;ilO&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=eK(s))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,nD(t,e),nO(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ot)return nF(t),null}else 2*sO()-r.renderingStartTime>lO&&0x20000000!==n&&(t.flags|=128,a=!0,nO(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(e=r.last)?e.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=sO(),e.sibling=null,n=oV.current,h(oV,a?1&n|2:1&n),ot&&P(t,r.treeForkCount),e):(nF(t),null);case 22:case 23:return eJ(t),ej(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(0x20000000&n)!=0&&(128&t.flags)==0&&(nF(t),6&t.subtreeFlags&&(t.flags|=8192)):nF(t),null!==(n=t.updateQueue)&&nD(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&c(oM),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),q(oh),nF(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}(t.alternate,t,lT);if(null!==n){lv=n;return}if(null!==(t=t.sibling)){lv=t;return}lv=t=e}while(null!==t)0===lw&&(lw=5)}function iD(e,t){do{var n=function(e,t){switch(N(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return q(oh),O(),(65536&(e=t.flags))!=0&&(128&e)==0?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return z(t),null;case 31:if(null!==t.memoizedState){if(eJ(t),null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(eJ(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));G()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return c(oV),null;case 4:return O(),null;case 10:return q(t.type),null;case 22:case 23:return eJ(t),ej(),null!==e&&c(oM),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return q(oh),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lv=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){lv=e;return}lv=e=n}while(null!==e)lw=6,lv=null}function iO(e,t,n,r,a,s,o,l,u){e.cancelPendingCommit=null;do iH();while(0!==lB)if((6&lm)!=0)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(function(e,t,n,i,r,a){var s=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var o=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=s&~n;0n?32:n;n=rM.T;var a=rq();try{rX(r),rM.T=null,r=lW,lW=null;var s=lk,o=lV;if(lB=0,lH=lk=null,lV=0,(6&lm)!=0)throw Error(i(331));var l=lm;if(lm|=4,il(s.current),it(s,s.current,o,r),lm=l,es(0,!1),sW&&"function"==typeof sW.onPostCommitFiberRoot)try{sW.onPostCommitFiberRoot(sG,s)}catch{}return!0}finally{rX(a),rM.T=n,ik(e,t)}}function iG(e,t,n){t=R(n,t),t=t9(e.stateNode,t,2),null!==(e=eO(e,t,2))&&(v(e,2),ea(e))}function iW(e,t,n){if(3===e.tag)iG(e,e,n);else for(;null!==t;){if(3===t.tag){iG(t,e,n);break}if(1===t.tag){var i=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===lz||!lz.has(i))){e=R(n,e),null!==(i=eO(t,n=t7(2),2))&&(ne(n,i,t,e),v(i,2),ea(i));break}}t=t.return}}function ij(e,t,n){var i=e.pingCache;if(null===i){i=e.pingCache=new lf;var r=new Set;i.set(t,r)}else void 0===(r=i.get(t))&&(r=new Set,i.set(t,r));r.has(n)||(lM=!0,r.add(n),e=iX.bind(null,e,t,n),t.then(e,e))}function iX(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lg===e&&(l_&n)===n&&(4===lw||3===lw&&(0x3c00000&l_)===l_&&300>sO()-lU?(2&lm)==0&&iT(e,0):lC|=n,lP===l_&&(lP=0)),ea(e)}function iq(e,t){0===t&&(t=m()),null!==(e=eP(e,t))&&(v(e,t),ea(e))}function iY(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),iq(e,n)}function iZ(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),iq(e,n)}function iJ(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function iK(e){return!(!(e=e.prototype)||!e.isReactComponent)}function i$(e,n){var i=e.alternate;return null===i?((i=t(e.tag,n,e.key,e.mode)).elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=0x3e00000&e.flags,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function iQ(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function i0(e,n,r,a,s,o){var l=0;if(a=e,"function"==typeof e)iK(e)&&(l=1);else if("string"==typeof e)l=si&&sv?sr(e,r,s5.current)?26:sb(e)?27:5:si?sr(e,r,s5.current)?26:5:sv&&sb(e)?27:5;else o:switch(e){case r_:return(e=t(31,r,n,s)).elementType=r_,e.lanes=o,e;case rl:return i1(r.children,s,o,n);case ru:l=8,s|=24;break;case rc:return(e=t(12,r,n,2|s)).elementType=rc,e.lanes=o,e;case rf:return(e=t(13,r,n,s)).elementType=rf,e.lanes=o,e;case rm:return(e=t(19,r,n,s)).elementType=rm,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case rd:l=10;break o;case rh:l=9;break o;case rp:l=11;break o;case rg:l=14;break o;case rv:l=16,a=null;break o}l=29,r=Error(i(130,null===e?"null":typeof e,"")),a=null}return(n=t(l,r,n,s)).elementType=e,n.type=a,n.lanes=o,n}function i1(e,n,i,r){return(e=t(7,e,r,n)).lanes=i,e}function i2(e,n,i){return(e=t(6,e,null,n)).lanes=i,e}function i3(e){var n=t(18,null,null,0);return n.stateNode=e,n}function i4(e,n,i){return(n=t(4,null!==e.children?e.children:[],e.key,n)).lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function i5(e,t,n,i,r,a,s,o,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=rB,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=g(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=g(0),this.hiddenUpdates=g(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=a,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function i6(e,n,i,r,a,s,o,l,u,c,h,d){return e=new i5(e,n,i,o,u,c,h,d,l),n=1,!0===s&&(n|=24),s=t(3,null,null,n),e.current=s,s.stateNode=e,n=en(),n.refCount++,e.pooledCache=n,n.refCount++,s.memoizedState={element:r,isDehydrated:i,cache:n},eN(s),e}function i8(e){var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(i(188)):Error(i(268,e=Object.keys(e).join(",")));return null===(e=null!==(e=s(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:rA(e.stateNode)}function i9(e,t,n,i,r,a){r=sw,null===i.context?i.context=r:i.pendingContext=r,(i=eD(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(i.callback=a),null!==(n=eO(e,i,t))&&(i_(n,e,t),eF(n,e,t))}function i7(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n>>=0)?32:31-(sA(e)/sC|0)|0},sA=Math.log,sC=Math.LN2,sR=256,sP=262144,sI=4194304,sL=ri.unstable_scheduleCallback,sN=ri.unstable_cancelCallback,sU=ri.unstable_shouldYield,sD=ri.unstable_requestPaint,sO=ri.unstable_now,sF=ri.unstable_ImmediatePriority,sz=ri.unstable_UserBlockingPriority,sB=ri.unstable_NormalPriority,sk=ri.unstable_IdlePriority,sH=ri.log,sV=ri.unstable_setDisableYieldValue,sG=null,sW=null,sj="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sX="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof w.default&&"function"==typeof w.default.emit)return void w.default.emit("uncaughtException",e);console.error(e)},sq=Object.prototype.hasOwnProperty,sY=!1,sZ=new WeakMap,sJ=[],sK=0,s$=null,sQ=0,s0=[],s1=0,s2=null,s3=1,s4="",s5=u(null),s6=u(null),s8=u(null),s9=u(null),s7=null,oe=null,ot=!1,on=null,oi=!1,or=Error(i(519)),oa=u(null),os=null,oo=null,ol="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ou=ri.unstable_scheduleCallback,oc=ri.unstable_NormalPriority,oh={$$typeof:rd,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},od=null,op=null,of=!1,om=!1,og=!1,ov=0,o_=null,oy=0,ox=0,ob=null,oS=rM.S;rM.S=function(e,t){lD=sO(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===o_){var t=o_=[];oy=0,ox=ed(),ob={status:"pending",value:void 0,then:function(e){t.push(e)}}}oy++,e.then(ep,ep)}(t),null!==oS&&oS(e,t)};var oM=u(null),oT=Error(i(460)),ow=Error(i(474)),oE=Error(i(542)),oA={then:function(){}},oC=null,oR=null,oP=0,oI=eE(!0),oL=eE(!1),oN=[],oU=0,oD=0,oO=!1,oF=!1,oz=u(null),oB=u(0),ok=u(null),oH=null,oV=u(0),oG=0,oW=null,oj=null,oX=null,oq=!1,oY=!1,oZ=!1,oJ=0,oK=0,o$=null,oQ=0,o0={readContext:Q,use:tt,useCallback:e$,useContext:e$,useEffect:e$,useImperativeHandle:e$,useLayoutEffect:e$,useInsertionEffect:e$,useMemo:e$,useReducer:e$,useRef:e$,useState:e$,useDebugValue:e$,useDeferredValue:e$,useTransition:e$,useSyncExternalStore:e$,useId:e$,useHostTransitionStatus:e$,useFormState:e$,useActionState:e$,useOptimistic:e$,useMemoCache:e$,useCacheRefresh:e$};o0.useEffectEvent=e$;var o1={readContext:Q,use:tt,useCallback:function(e,t){return e8().memoizedState=[e,void 0===t?null:t],e},useContext:Q,useEffect:tI,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,tR(4194308,4,tO.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tR(4194308,4,e,t)},useInsertionEffect:function(e,t){tR(4,2,e,t)},useMemo:function(e,t){var n=e8();t=void 0===t?null:t;var i=e();return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=e8();if(void 0!==n)var r=n(t);else r=t;return i.memoizedState=i.baseState=r,i.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},e=e.dispatch=tZ.bind(null,oW,e),[i.memoizedState,e]},useRef:function(e){return e8().memoizedState={current:e}},useState:function(e){var t=(e=tp(e)).queue,n=tJ.bind(null,oW,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:tz,useDeferredValue:function(e,t){return tH(e8(),e,t)},useTransition:function(){var e=tp(!1);return e=tG.bind(null,oW,e.queue,!0,!1),e8().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=oW,a=e8();if(ot){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===lg)throw Error(i(349));(127&l_)!=0||tl(r,t,n)}a.memoizedState=n;var s={value:n,getSnapshot:t};return a.queue=s,tI(tc.bind(null,r,s,e),[e]),r.flags|=2048,tA(9,{destroy:void 0},tu.bind(null,r,s,n,t),null),n},useId:function(){var e=e8(),t=lg.identifierPrefix;if(ot){var n=s4,i=s3;t="_"+t+"R_"+(n=(i&~(1<<32-sE(i)-1)).toString(32)+n),0<(n=oJ++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=oQ++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tj,useFormState:tS,useActionState:tS,useOptimistic:function(e){var t=e8();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=t$.bind(null,oW,!0,n),n.dispatch=t,[e,t]},useMemoCache:tn,useCacheRefresh:function(){return e8().memoizedState=tY.bind(null,oW)},useEffectEvent:function(e){var t=e8(),n={impl:e};return t.memoizedState=n,function(){if((2&lm)!=0)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},o2={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:tr,useRef:tC,useState:function(){return tr(ti)},useDebugValue:tz,useDeferredValue:function(e,t){return tV(e9(),oj.memoizedState,e,t)},useTransition:function(){var e=tr(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tM,useActionState:tM,useOptimistic:function(e,t){return tf(e9(),oj,e,t)},useMemoCache:tn,useCacheRefresh:tq};o2.useEffectEvent=tN;var o3={readContext:Q,use:tt,useCallback:tB,useContext:Q,useEffect:tL,useImperativeHandle:tF,useInsertionEffect:tU,useLayoutEffect:tD,useMemo:tk,useReducer:ts,useRef:tC,useState:function(){return ts(ti)},useDebugValue:tz,useDeferredValue:function(e,t){var n=e9();return null===oj?tH(n,e,t):tV(n,oj.memoizedState,e,t)},useTransition:function(){var e=ts(ti)[0],t=e9().memoizedState;return["boolean"==typeof e?e:te(e),t]},useSyncExternalStore:to,useId:tX,useHostTransitionStatus:tj,useFormState:tE,useActionState:tE,useOptimistic:function(e,t){var n=e9();return null!==oj?tf(n,oj,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:tn,useCacheRefresh:tq};o3.useEffectEvent=tN;var o4={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=ig(),r=eD(i);r.tag=1,r.payload=t,null!=n&&(r.callback=n),null!==(t=eO(e,r,i))&&(i_(t,e,i),eF(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ig(),i=eD(n);i.tag=2,null!=t&&(i.callback=t),null!==(t=eO(e,i,n))&&(i_(t,e,n),eF(t,e,n))}},o5=Error(i(461)),o6=!1,o8={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},o9=!1,o7=!1,le=!1,lt="function"==typeof WeakSet?WeakSet:Set,ln=null,li=null,lr=!1,la=null,ls=8192,lo={getCacheForType:function(e){var t=Q(oh),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Q(oh).controller.signal}},ll=0,lu=1,lc=2,lh=3,ld=4;if("function"==typeof Symbol&&Symbol.for){var lp=Symbol.for;ll=lp("selector.component"),lu=lp("selector.has_pseudo_class"),lc=lp("selector.role"),lh=lp("selector.test_id"),ld=lp("selector.text")}var lf="function"==typeof WeakMap?WeakMap:Map,lm=0,lg=null,lv=null,l_=0,ly=0,lx=null,lb=!1,lS=!1,lM=!1,lT=0,lw=0,lE=0,lA=0,lC=0,lR=0,lP=0,lI=null,lL=null,lN=!1,lU=0,lD=0,lO=1/0,lF=null,lz=null,lB=0,lk=null,lH=null,lV=0,lG=0,lW=null,lj=null,lX=0,lq=null;return rt.attemptContinuousHydration=function(e){if(13===e.tag||31===e.tag){var t=eP(e,0x4000000);null!==t&&i_(t,e,0x4000000),re(e,0x4000000)}},rt.attemptHydrationAtCurrentPriority=function(e){if(13===e.tag||31===e.tag){var t=ig(),n=eP(e,t=b(t));null!==n&&i_(n,e,t),re(e,t)}},rt.attemptSynchronousHydration=function(e){switch(e.tag){case 3:if((e=e.stateNode).current.memoizedState.isDehydrated){var t=d(e.pendingLanes);if(0!==t){for(e.pendingLanes|=2,e.entangledLanes|=2;t;){var n=1<<31-sE(t);e.entanglements[1]|=n,t&=~n}ea(e),(6&lm)==0&&(lO=sO()+500,es(0,!1))}}break;case 31:case 13:null!==(t=eP(e,2))&&i_(t,e,2),iS(),re(e,2)}},rt.batchedUpdates=function(e,t){return e(t)},rt.createComponentSelector=function(e){return{$$typeof:ll,value:e}},rt.createContainer=function(e,t,n,i,r,a,s,o,l,u){return i6(e,t,!1,null,n,i,a,null,s,o,l,u)},rt.createHasPseudoClassSelector=function(e){return{$$typeof:lu,value:e}},rt.createHydrationContainer=function(e,t,n,i,r,a,s,o,l,u,c,h,d,p){var f;return(e=i6(n,i,!0,e,r,a,o,p,l,u,c,h)).context=sw,n=e.current,(r=eD(i=b(i=ig()))).callback=null!=(f=t)?f:null,eO(n,r,i),t=i,e.current.lanes=t,v(e,t),ea(e),e},rt.createPortal=function(e,t,n){var i=3=c&&s>=d&&a<=h&&o<=p){e.splice(t,1);break}if(r!==c||n.width!==u.width||po){if(!(s!==d||n.height!==u.height||ha)){c>r&&(u.width+=c-r,u.x=r),hs&&(u.height+=d-s,u.y=s),pn&&(n=l)),l ")+` - -No matching component was found for: - `+e.join(" > ")}return null},rt.getPublicRootInstance=function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 27:case 5:return rA(e.child.stateNode);default:return e.child.stateNode}},rt.injectIntoDevTools=function(){var e={bundleType:0,version:rT,rendererPackageName:rw,currentDispatcherRef:rM,reconcilerVersion:"19.2.0"};if(null!==rE&&(e.rendererConfig=rE),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")e=!1;else{var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)e=!0;else{try{sG=t.inject(e),sW=t}catch{}e=!!t.checkDCE}}return e},rt.isAlreadyRendering=function(){return(6&lm)!=0},rt.observeVisibleRects=function(e,t,n,r){if(!r7)throw Error(i(363));var a=as(e=im(e,t),n,r).disconnect;return{disconnect:function(){a()}}},rt.shouldError=function(){return null},rt.shouldSuspend=function(){return!1},rt.startHostTransition=function(e,t,r,a){if(5!==e.tag)throw Error(i(476));var s=tW(e).queue;tG(e,s,t,r4,null===r?n:function(){var t=tW(e);return null===t.next&&(t=e.alternate.memoizedState),tK(e,t.next.queue,{},ig()),r(a)})},rt.updateContainer=function(e,t,n,i){var r=t.current,a=ig();return i9(r,a,e,t,n,i),a},rt.updateContainerSync=function(e,t,n,i){return i9(t.current,2,e,t,n,i),2},rt},cG.exports.default=cG.exports,Object.defineProperty(cG.exports,"__esModule",{value:!0})),cV.exports=cG.exports),(b=cV.exports)&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default"))?b.default:b,cj={},cX=/^three(?=[A-Z])/,cq=e=>`${e[0].toUpperCase()}${e.slice(1)}`,cY=0;function cZ(e){if("function"==typeof e){let t=`${cY++}`;return cj[t]=e,t}Object.assign(cj,e)}function cJ(e,t){let n=cq(e),i=cj[n];if("primitive"!==e&&!i)throw Error(`R3F: ${n} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if("primitive"===e&&!t.object)throw Error("R3F: Primitives without 'object' are invalid!");if(void 0!==t.args&&!Array.isArray(t.args))throw Error("R3F: The args prop must be an array!")}function cK(e){if(e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cS(e.parent,e):cI(e.object)&&!1!==e.props.visible&&(e.object.visible=!0),e.isHidden=!1,cR(e)}}function c$(e,t,n){let i=t.root.getState();if(e.parent||e.object===i.scene){if(!t.object){var r,a;let e=cj[cq(t.type)];t.object=null!=(r=t.props.object)?r:new e(...null!=(a=t.props.args)?a:[]),t.object.__r3f=t}if(cC(t.object,t.props),t.props.attach)cS(e,t);else if(cI(t.object)&&cI(e.object)){let i=e.object.children.indexOf(null==n?void 0:n.object);if(n&&-1!==i){let n=e.object.children.indexOf(t.object);-1!==n?(e.object.children.splice(n,1),e.object.children.splice(n{try{e.dispose()}catch{}};"u">typeof IS_REACT_ACT_ENVIRONMENT?t():(0,u8.unstable_scheduleCallback)(u8.unstable_IdlePriority,t)}}function c2(e,t,n){if(!t)return;t.parent=null;let i=e.children.indexOf(t);-1!==i&&e.children.splice(i,1),t.props.attach?cM(e,t):cI(t.object)&&cI(e.object)&&(e.object.remove(t.object),function(e,t){let{internal:n}=e.getState();n.interaction=n.interaction.filter(e=>e!==t),n.initialHits=n.initialHits.filter(e=>e!==t),n.hovered.forEach((e,i)=>{(e.eventObject===t||e.object===t)&&n.hovered.delete(i)}),n.capturedMap.forEach((e,i)=>{cN(n.capturedMap,t,e,i)})}(co(t),t.object));let r=null!==t.props.dispose&&!1!==n;for(let e=t.children.length-1;e>=0;e--){let n=t.children[e];c2(t,n,r)}t.children.length=0,delete t.object.__r3f,r&&"primitive"!==t.type&&"Scene"!==t.object.type&&c1(t.object),void 0===n&&cR(t)}let c3=[],c4=()=>{},c5={},c6=0,c8=(S={isPrimaryRenderer:!1,warnsIfNotActing:!1,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,createInstance:function(e,t,n){var i;return cJ(e=cq(e)in cj?e:e.replace(cX,""),t),"primitive"===e&&null!=(i=t.object)&&i.__r3f&&delete t.object.__r3f,cy(t.object,n,e,t)},removeChild:c2,appendChild:cQ,appendInitialChild:cQ,insertBefore:c0,appendChildToContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&cQ(n,t)},removeChildFromContainer(e,t){let n=e.getState().scene.__r3f;t&&n&&c2(n,t)},insertInContainerBefore(e,t,n){let i=e.getState().scene.__r3f;t&&n&&i&&c0(i,t,n)},getRootHostContext:()=>c5,getChildHostContext:()=>c5,commitUpdate(e,t,n,i,r){var a,s,o;cJ(t,i);let l=!1;if("primitive"===e.type&&n.object!==i.object||(null==(a=i.args)?void 0:a.length)!==(null==(s=n.args)?void 0:s.length)?l=!0:null!=(o=i.args)&&o.some((e,t)=>{var i;return e!==(null==(i=n.args)?void 0:i[t])})&&(l=!0),l)c3.push([e,{...i},r]);else{let t=function(e,t){let n={};for(let i in t)if(!cT.includes(i)&&!cv.equ(t[i],e.props[i]))for(let e in n[i]=t[i],t)e.startsWith(`${i}-`)&&(n[e]=t[e]);for(let i in e.props){if(cT.includes(i)||t.hasOwnProperty(i))continue;let{root:r,key:a}=cx(e.object,i);if(r.constructor&&0===r.constructor.length){let e=function(e){let t=cw.get(e.constructor);try{t||(t=new e.constructor,cw.set(e.constructor,t))}catch(e){}return t}(r);cv.und(e)||(n[a]=e[a])}else n[a]=0}return n}(e,i);Object.keys(t).length&&(Object.assign(e.props,t),cC(e.object,t))}(null===r.sibling||(4&r.flags)==0)&&function(){for(let[e]of c3){let t=e.parent;if(t)for(let n of(e.props.attach?cM(t,e):cI(e.object)&&cI(t.object)&&t.object.remove(e.object),e.children))n.props.attach?cM(e,n):cI(n.object)&&cI(e.object)&&e.object.remove(n.object);e.isHidden&&cK(e),e.object.__r3f&&delete e.object.__r3f,"primitive"!==e.type&&c1(e.object)}for(let[i,r,a]of c3){i.props=r;let s=i.parent;if(s){let r=cj[cq(i.type)],o=i.object;i.object=null!=(e=i.props.object)?e:new r(...null!=(t=i.props.args)?t:[]),i.object.__r3f=i;var e,t,n=i.object;for(let e of[a,a.alternate])if(null!==e)if("function"==typeof e.ref){null==e.refCleanup||e.refCleanup();let t=e.ref(n);"function"==typeof t&&(e.refCleanup=t)}else e.ref&&(e.ref.current=n);for(let e of(!function(e,t,n){let{internal:i}=e.getState();for(let e=0;e{if(e.eventObject===t||e.object===t){i.hovered.delete(r);let a={...e,eventObject:e.eventObject===t?n:e.eventObject,object:e.object===t?n:e.object};i.hovered.set(cL(a),a)}}),i.capturedMap.forEach(e=>{let i=e.get(t);i&&(e.delete(t),e.set(n,i))})}(co(i),o,i.object),cC(i.object,i.props),i.props.attach?cS(s,i):cI(i.object)&&cI(s.object)&&s.object.add(i.object),i.children))e.props.attach?cS(i,e):cI(e.object)&&cI(i.object)&&i.object.add(e.object);cR(i)}}c3.length=0}()},finalizeInitialChildren:()=>!1,commitMount(){},getPublicInstance:e=>null==e?void 0:e.object,prepareForCommit:()=>null,preparePortalMount:e=>cy(e.getState().scene,e,"",{}),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance:function(e){if(!e.isHidden){var t;e.props.attach&&null!=(t=e.parent)&&t.object?cM(e.parent,e):cI(e.object)&&(e.object.visible=!1),e.isHidden=!0,cR(e)}},unhideInstance:cK,createTextInstance:c4,hideTextInstance:c4,unhideTextInstance:c4,scheduleTimeout:"function"==typeof setTimeout?setTimeout:void 0,cancelTimeout:"function"==typeof clearTimeout?clearTimeout:void 0,noTimeout:-1,getInstanceFromNode:()=>null,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},prepareScopeUpdate(){},getInstanceFromScope:()=>null,shouldAttemptEagerTransition:()=>!1,trackSchedulerEvent:()=>{},resolveEventType:()=>null,resolveEventTimeStamp:()=>-1.1,requestPostPaintCallback(){},maySuspendCommit:()=>!1,preloadInstance:()=>!0,suspendInstance(){},waitForCommitToBeReady:()=>null,NotPendingTransition:null,HostTransitionContext:E.createContext(null),setCurrentUpdatePriority(e){c6=e},getCurrentUpdatePriority:()=>c6,resolveUpdatePriority(){var e;if(0!==c6)return c6;switch("u">typeof window&&(null==(e=window.event)?void 0:e.type)){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return 2;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return 8;default:return 32}},resetFormInstance(){},rendererPackageName:"@react-three/fiber",rendererVersion:"9.6.1",applyViewTransitionName(e,t,n){},restoreViewTransitionName(e,t){},cancelViewTransitionName(e,t,n){},cancelRootViewTransitionName(e){},restoreRootViewTransitionName(e){},InstanceMeasurement:null,measureInstance:e=>null,wasInstanceInViewport:e=>!0,hasInstanceChanged:(e,t)=>!1,hasInstanceAffectedParent:(e,t)=>!1,suspendOnActiveViewTransition(e,t){},startGestureTransition:()=>null,startViewTransition:()=>null,stopViewTransition(e){},createViewTransitionInstance:e=>null,getCurrentGestureOffset(e){throw Error("startGestureTransition is not yet supported in react-three-fiber.")},cloneMutableInstance:(e,t)=>e,cloneMutableTextInstance:e=>e,cloneRootViewTransitionContainer(e){throw Error("Not implemented.")},removeRootViewTransitionClone(e,t){throw Error("Not implemented.")},createFragmentInstance:e=>null,updateFragmentInstanceFiber(e,t){},commitNewChildToFragmentInstance(e,t){},deleteChildFromFragmentInstance(e,t){},measureClonedInstance:e=>null,maySuspendCommitOnUpdate:(e,t,n)=>!1,maySuspendCommitInSyncRender:(e,t)=>!1,startSuspendingCommit:()=>null,getSuspendedCommitReason:(e,t)=>null},(_=cW(S)).injectIntoDevTools(),_),c9=new Map,c7={objects:"shallow",strict:!1};function he(e){var t,n;let i,r,a,s,o,l,u,c=c9.get(e),h=null==c?void 0:c.fiber,d=null==c?void 0:c.store;c&&console.warn("R3F.createRoot should only be called once!");let p="function"==typeof reportError?reportError:console.error,f=d||(t=hp,n=hf,o=(s=(a=u3((e,i)=>{let r,a=new eE,s=new eE,o=new eE;function l(e=i().camera,t=s,n=i().size){let{width:r,height:u,top:c,left:h}=n,d=r/u;t.isVector3?o.copy(t):o.set(...t);let p=e.getWorldPosition(a).distanceTo(o);if(e&&e.isOrthographicCamera)return{width:r/e.zoom,height:u/e.zoom,top:c,left:h,factor:1,distance:p,aspect:d};{let t=2*Math.tan(e.fov*Math.PI/180/2)*p,n=r/u*t;return{width:n,height:t,top:c,left:h,factor:r/n,distance:p,aspect:d}}}let u=t=>e(e=>({performance:{...e.performance,current:t}})),c=new Y;return{set:e,get:i,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},scene:null,xr:null,invalidate:(e=1)=>t(i(),e),advance:(e,t)=>n(e,t,i()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new sw,pointer:c,mouse:c,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let e=i();r&&clearTimeout(r),e.performance.current!==e.performance.min&&u(e.performance.min),r=setTimeout(()=>u(i().performance.max),e.performance.debounce)}},size:{width:0,height:0,top:0,left:0},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:l},setEvents:t=>e(e=>({...e,events:{...e.events,...t}})),setSize:(t,n,r=0,a=0)=>{let o=i().camera,u={width:t,height:n,top:r,left:a};e(e=>({size:u,viewport:{...e.viewport,...l(o,s,u)}}))},setDpr:t=>e(e=>{let n=cm(t);return{viewport:{...e.viewport,dpr:n,initialDpr:e.viewport.initialDpr||n}}}),setFrameloop:(t="always")=>{let n=i().clock;n.stop(),n.elapsedTime=0,"never"!==t&&(n.start(),n.elapsedTime=0),e(()=>({frameloop:t}))},previousRoot:void 0,internal:{interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,lastEvent:E.createRef(),active:!1,frames:0,priority:0,subscribe:(e,t,n)=>{let r=i().internal;return r.priority=r.priority+ +(t>0),r.subscribers.push({ref:e,priority:t,store:n}),r.subscribers=r.subscribers.sort((e,t)=>e.priority-t.priority),()=>{let n=i().internal;null!=n&&n.subscribers&&(n.priority=n.priority-(t>0),n.subscribers=n.subscribers.filter(t=>t.ref!==e))}}}}})).getState()).size,l=s.viewport.dpr,u=s.camera,a.subscribe(()=>{let{camera:e,size:t,viewport:n,gl:i,set:r}=a.getState();if(t.width!==o.width||t.height!==o.height||n.dpr!==l){o=t,l=n.dpr,cP(e,t),n.dpr>0&&i.setPixelRatio(n.dpr);let r="u">typeof HTMLCanvasElement&&i.domElement instanceof HTMLCanvasElement;i.setSize(t.width,t.height,r)}e!==u&&(u=e,r(t=>({viewport:{...t.viewport,...t.viewport.getCurrentViewport(e)}})))}),a.subscribe(e=>t(e)),a),m=h||c8.createContainer(f,1,null,!1,null,"",p,p,p,null);c||c9.set(e,{fiber:m,store:f});let g=!1,v=null;return{async configure(t={}){var n,a;let s;v=new Promise(e=>s=e);let{gl:o,size:l,scene:u,events:c,onCreated:h,shadows:d=!1,linear:p=!1,flat:m=!1,legacy:_=!1,orthographic:y=!1,frameloop:x="always",dpr:b=[1,2],performance:S,raycaster:M,camera:T,onPointerMissed:w}=t,E=f.getState(),A=E.gl;if(!E.gl){let t={canvas:e,powerPreference:"high-performance",antialias:!0,alpha:!0},n="function"==typeof o?await o(t):o;A=cU(n)?n:new uK({...t,...o}),E.set({gl:A})}let C=E.raycaster;C||E.set({raycaster:C=new s3});let{params:R,...P}=M||{};if(cv.equ(P,C,c7)||cC(C,{...P}),cv.equ(R,C.params,c7)||cC(C,{params:{...C.params,...R}}),!E.camera||E.camera===r&&!cv.equ(r,T,c7)){r=T;let e=null==T?void 0:T.isCamera,t=e?T:y?new sn(0,0,0,0,.1,1e3):new nE(75,0,.1,1e3);!e&&(t.position.z=5,T&&(cC(t,T),!t.manual&&("aspect"in T||"left"in T||"right"in T||"bottom"in T||"top"in T)&&(t.manual=!0,t.updateProjectionMatrix())),E.camera||null!=T&&T.rotation||t.lookAt(0,0,0)),E.set({camera:t}),C.camera=t}if(!E.scene){let e;null!=u&&u.isScene?cy(e=u,f,"",{}):(cy(e=new nL,f,"",{}),u&&cC(e,u)),E.set({scene:e})}c&&!E.events.handlers&&E.set({events:c(f)});let N=function(e,t){if(!t&&"u">typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&e.parentElement){let{width:t,height:n,top:i,left:r}=e.parentElement.getBoundingClientRect();return{width:t,height:n,top:i,left:r}}return!t&&"u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas?{width:e.width,height:e.height,top:0,left:0}:{width:0,height:0,top:0,left:0,...t}}(e,l);if(cv.equ(N,E.size,c7)||E.setSize(N.width,N.height,N.top,N.left),b&&E.viewport.dpr!==cm(b)&&E.setDpr(b),E.frameloop!==x&&E.setFrameloop(x),E.onPointerMissed||E.set({onPointerMissed:w}),S&&!cv.equ(S,E.performance,c7)&&E.set(e=>({performance:{...e.performance,...S}})),!E.xr){let e=(e,t)=>{let n=f.getState();"never"!==n.frameloop&&hf(e,!0,n,t)},t=()=>{let t=f.getState();t.gl.xr.enabled=t.gl.xr.isPresenting,t.gl.xr.setAnimationLoop(t.gl.xr.isPresenting?e:null),t.gl.xr.isPresenting||hp(t)},i={connect(){let e=f.getState().gl;e.xr.addEventListener("sessionstart",t),e.xr.addEventListener("sessionend",t)},disconnect(){let e=f.getState().gl;e.xr.removeEventListener("sessionstart",t),e.xr.removeEventListener("sessionend",t)}};"function"==typeof(null==(n=A.xr)?void 0:n.addEventListener)&&i.connect(),E.set({xr:i})}if(A.shadowMap){let e=A.shadowMap.enabled,t=A.shadowMap.type;A.shadowMap.enabled=!!d,cv.boo(d)?A.shadowMap.type=2:cv.str(d)?A.shadowMap.type=null!=(a=({basic:0,percentage:1,soft:2,variance:3})[d])?a:2:cv.obj(d)&&Object.assign(A.shadowMap,d),(e!==A.shadowMap.enabled||t!==A.shadowMap.type)&&(A.shadowMap.needsUpdate=!0)}return eu.enabled=!_,g||(A.outputColorSpace=p?L:I,A.toneMapping=4*!m),E.legacy!==_&&E.set(()=>({legacy:_})),E.linear!==p&&E.set(()=>({linear:p})),E.flat!==m&&E.set(()=>({flat:m})),!o||cv.fun(o)||cU(o)||cv.equ(o,A,c7)||cC(A,o),i=h,g=!0,s(),this},render(t){return g||v||this.configure(),v.then(()=>{c8.updateContainer((0,u9.jsx)(ht,{store:f,children:t,onCreated:i,rootElement:e}),m,null,()=>void 0)}),f},unmount(){hn(e)}}}function ht({store:e,children:t,onCreated:n,rootElement:i}){return cc(()=>{let t=e.getState();t.set(e=>({internal:{...e.internal,active:!0}})),n&&n(t),e.getState().events.connected||null==t.events.connect||t.events.connect(i)},[]),(0,u9.jsx)(cD.Provider,{value:e,children:t})}function hn(e,t){let n=c9.get(e),i=null==n?void 0:n.fiber;if(i){let r=null==n?void 0:n.store.getState();r&&(r.internal.active=!1),c8.updateContainer(null,i,null,()=>{r&&setTimeout(()=>{try{null==r.events.disconnect||r.events.disconnect(),null==(n=r.gl)||null==(i=n.renderLists)||null==i.dispose||i.dispose(),null==(a=r.gl)||null==a.forceContextLoss||a.forceContextLoss(),null!=(s=r.gl)&&s.xr&&r.xr.disconnect();var n,i,a,s,o=r.scene;for(let e in"Scene"!==o.type&&(null==o.dispose||o.dispose()),o){let t=o[e];(null==t?void 0:t.type)!=="Scene"&&(null==t||null==t.dispose||t.dispose())}c9.delete(e),t&&t(e)}catch(e){}},500)})}}function hi({state:e={},children:t,container:n}){let{events:i,size:r,...a}=e,s=cO(),[o]=E.useState(()=>new s3),[l]=E.useState(()=>new Y),u=ch((e,t)=>{let a;if(t.camera&&r){let n=t.camera;a=e.viewport.getCurrentViewport(n,new eE,r),n!==e.camera&&cP(n,r)}return{...e,...t,scene:n,raycaster:o,pointer:l,mouse:l,previousRoot:s,events:{...e.events,...t.events,...i},size:{...e.size,...r},viewport:{...e.viewport,...a},setEvents:e=>t.set(t=>({...t,events:{...t.events,...e}}))}}),c=E.useMemo(()=>{let e=u3((e,t)=>({...a,set:e,get:t})),t=t=>e.setState(e=>u.current(t,e));return t(s.getState()),s.subscribe(t),e},[s,n]);return(0,u9.jsx)(u9.Fragment,{children:c8.createPortal((0,u9.jsx)(cD.Provider,{value:c,children:t}),c,null)})}let hr=new Set,ha=new Set,hs=new Set;function ho(e,t){if(e.size)for(let{callback:n}of e.values())n(t)}function hl(e,t){switch(e){case"before":return ho(hr,t);case"after":return ho(ha,t);case"tail":return ho(hs,t)}}function hu(e,t,n){let i=t.clock.getDelta();"never"===t.frameloop&&"number"==typeof e&&(i=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),s=t.internal.subscribers;for(let e=0;e0)&&!(null!=(t=c.gl.xr)&&t.isPresenting)&&(l+=hu(e,c))}if(hh=!1,hl("after",e),0===l)return hl("tail",e),hc=!1,cancelAnimationFrame(u)}function hp(e,t=1){var n;if(!e)return c9.forEach(e=>hp(e.store.getState(),t));(null==(n=e.gl.xr)||!n.isPresenting)&&e.internal.active&&"never"!==e.frameloop&&(t>1?e.internal.frames=Math.min(60,e.internal.frames+t):hh?e.internal.frames=2:e.internal.frames=1,hc||(hc=!0,requestAnimationFrame(hd)))}function hf(e,t=!0,n,i){if(t&&hl("before",e),n)hu(e,n,i);else for(let t of c9.values())hu(e,t.store.getState());t&&hl("after",e)}let hm={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function hg(e){let{handlePointer:t}=function(e){function t(e){return e.filter(e=>["Move","Over","Enter","Out","Leave"].some(t=>{var n;return null==(n=e.__r3f)?void 0:n.handlers["onPointer"+t]}))}function n(t){let{internal:n}=e.getState();for(let e of n.hovered.values())if(!t.length||!t.find(t=>t.object===e.object&&t.index===e.index&&t.instanceId===e.instanceId)){let i=e.eventObject.__r3f;if(n.hovered.delete(cL(e)),null!=i&&i.eventCount){let n=i.handlers,r={...e,intersections:t};null==n.onPointerOut||n.onPointerOut(r),null==n.onPointerLeave||n.onPointerLeave(r)}}}function i(e,t){for(let n=0;nn([]);case"onLostPointerCapture":return t=>{let{internal:i}=e.getState();"pointerId"in t&&i.capturedMap.has(t.pointerId)&&requestAnimationFrame(()=>{i.capturedMap.has(t.pointerId)&&(i.capturedMap.delete(t.pointerId),n([]))})}}return function(a){let{onPointerMissed:s,internal:o}=e.getState();o.lastEvent.current=a;let l="onPointerMove"===r,u="onClick"===r||"onContextMenu"===r||"onDoubleClick"===r,c=function(t,n){let i=e.getState(),r=new Set,a=[],s=n?n(i.internal.interaction):i.internal.interaction;for(let e=0;e{let n=cg(e.object),i=cg(t.object);return n&&i&&i.events.priority-n.events.priority||e.distance-t.distance}).filter(e=>{let t=cL(e);return!r.has(t)&&(r.add(t),!0)});for(let e of(i.events.filter&&(o=i.events.filter(o,i)),o)){let t=e.object;for(;t;){var l;null!=(l=t.__r3f)&&l.eventCount&&a.push({...e,eventObject:t}),t=t.parent}}if("pointerId"in t&&i.internal.capturedMap.has(t.pointerId))for(let e of i.internal.capturedMap.get(t.pointerId).values())r.has(cL(e.intersection))||a.push(e.intersection);return a}(a,l?t:void 0),h=u?function(t){let{internal:n}=e.getState(),i=t.offsetX-n.initialClick[0],r=t.offsetY-n.initialClick[1];return Math.round(Math.sqrt(i*i+r*r))}(a):0;"onPointerDown"===r&&(o.initialClick=[a.offsetX,a.offsetY],o.initialHits=c.map(e=>e.eventObject)),u&&!c.length&&h<=2&&(i(a,o.interaction),s&&s(a)),l&&n(c),!function(e,t,i,r){if(e.length){let a={stopped:!1};for(let s of e){let o=cg(s.object);if(o||s.object.traverseAncestors(e=>{let t=cg(e);if(t)return o=t,!1}),o){let{raycaster:l,pointer:u,camera:c,internal:h}=o,d=new eE(u.x,u.y,0).unproject(c),p=e=>{var t,n;return null!=(t=null==(n=h.capturedMap.get(e))?void 0:n.has(s.eventObject))&&t},f=e=>{let n={intersection:s,target:t.target};h.capturedMap.has(e)?h.capturedMap.get(e).set(s.eventObject,n):h.capturedMap.set(e,new Map([[s.eventObject,n]])),t.target.setPointerCapture(e)},m=e=>{let t=h.capturedMap.get(e);t&&cN(h.capturedMap,s.eventObject,t,e)},g={};for(let e in t){let n=t[e];"function"!=typeof n&&(g[e]=n)}let v={...s,...g,pointer:u,intersections:e,stopped:a.stopped,delta:i,unprojectedPoint:d,ray:l.ray,camera:c,stopPropagation(){let i="pointerId"in t&&h.capturedMap.get(t.pointerId);(!i||i.has(s.eventObject))&&(v.stopped=a.stopped=!0,h.hovered.size&&Array.from(h.hovered.values()).find(e=>e.eventObject===s.eventObject)&&n([...e.slice(0,e.indexOf(s)),s]))},target:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},currentTarget:{hasPointerCapture:p,setPointerCapture:f,releasePointerCapture:m},nativeEvent:t};if(r(v),!0===a.stopped)break}}}}(c,a,h,function(e){let t=e.eventObject,n=t.__r3f;if(!(null!=n&&n.eventCount))return;let s=n.handlers;if(l){if(s.onPointerOver||s.onPointerEnter||s.onPointerOut||s.onPointerLeave){let t=cL(e),n=o.hovered.get(t);n?n.stopped&&e.stopPropagation():(o.hovered.set(t,e),null==s.onPointerOver||s.onPointerOver(e),null==s.onPointerEnter||s.onPointerEnter(e))}null==s.onPointerMove||s.onPointerMove(e)}else{let n=s[r];n?(!u||o.initialHits.includes(t))&&(i(a,o.interaction.filter(e=>!o.initialHits.includes(e))),n(e)):u&&o.initialHits.includes(t)&&i(a,o.interaction.filter(e=>!o.initialHits.includes(e)))}})}}}}(e);return{priority:1,enabled:!0,compute(e,t,n){t.pointer.set(e.offsetX/t.size.width*2-1,-(2*(e.offsetY/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)},connected:void 0,handlers:Object.keys(hm).reduce((e,n)=>({...e,[n]:t(n)}),{}),update:()=>{var t;let{events:n,internal:i}=e.getState();null!=(t=i.lastEvent)&&t.current&&n.handlers&&n.handlers.onPointerMove(i.lastEvent.current)},connect:t=>{let{set:n,events:i}=e.getState();if(null==i.disconnect||i.disconnect(),n(e=>({events:{...e.events,connected:t}})),i.handlers)for(let e in i.handlers){let n=i.handlers[e],[r,a]=hm[e];t.addEventListener(r,n,{passive:a})}},disconnect:()=>{let{set:t,events:n}=e.getState();if(n.connected){if(n.handlers)for(let e in n.handlers){let t=n.handlers[e],[i]=hm[e];n.connected.removeEventListener(i,t)}t(e=>({events:{...e.events,connected:void 0}}))}}}}e.s(["B",0,cp,"C",0,cF,"D",0,cz,"E",0,cf,"G",0,cH,"a",0,ch,"b",0,cc,"c",0,he,"d",0,hn,"e",0,cZ,"f",0,hg,"i",0,cl,"o",0,function(e,t,n){return(0,u9.jsx)(hi,{children:e,container:t,state:n})},"s",0,cC,"u",0,cd],1950),e.i(8560),e.s(["ACESFilmicToneMapping",0,4,"AddEquation",0,100,"AddOperation",0,2,"AdditiveAnimationBlendMode",0,2501,"AdditiveBlending",0,2,"AgXToneMapping",0,6,"AlphaFormat",0,1021,"AlwaysCompare",0,519,"AlwaysDepth",0,1,"AlwaysStencilFunc",0,519,"AmbientLight",0,sa,"AnimationAction",0,sY,"AnimationClip",0,aB,"AnimationLoader",0,aq,"AnimationMixer",0,sJ,"AnimationObjectGroup",0,sq,"AnimationUtils",0,aE,"ArcCurve",0,rs,"ArrayCamera",0,sT,"ArrowHelper",0,oP,"AttachedBindMode",0,R,"Audio",0,sL,"AudioAnalyser",0,sz,"AudioContext",0,s_,"AudioListener",0,sI,"AudioLoader",0,sy,"AxesHelper",0,oI,"BackSide",0,1,"BasicDepthPacking",0,3200,"BasicShadowMap",0,0,"BatchedMesh",0,iz,"Bone",0,ie,"BooleanKeyframeTrack",0,aL,"Box2",0,oe,"Box3",0,eR,"Box3Helper",0,oA,"BoxGeometry",0,ng,"BoxHelper",0,oE,"BufferAttribute",0,tZ,"BufferGeometry",0,nn,"BufferGeometryLoader",0,sd,"ByteType",0,1010,"Cache",0,ak,"Camera",0,nS,"CameraHelper",0,oM,"CanvasTexture",0,rn,"CapsuleGeometry",0,rA,"CatmullRomCurve3",0,rd,"CineonToneMapping",0,3,"CircleGeometry",0,rC,"ClampToEdgeWrapping",0,1001,"Clock",0,sw,"Color",0,tz,"ColorKeyframeTrack",0,aN,"ColorManagement",0,eu,"CompressedArrayTexture",0,re,"CompressedCubeTexture",0,rt,"CompressedTexture",0,i7,"CompressedTextureLoader",0,aY,"ConeGeometry",0,rP,"ConstantAlphaFactor",0,213,"ConstantColorFactor",0,211,"Controls",0,oN,"CubeCamera",0,nA,"CubeReflectionMapping",0,301,"CubeRefractionMapping",0,302,"CubeTexture",0,nC,"CubeTextureLoader",0,aJ,"CubeUVReflectionMapping",0,306,"CubicBezierCurve",0,rg,"CubicBezierCurve3",0,rv,"CubicInterpolant",0,aC,"CullFaceBack",0,1,"CullFaceFront",0,2,"CullFaceFrontBack",0,3,"CullFaceNone",0,0,"Curve",0,rr,"CurvePath",0,rT,"CustomBlending",0,5,"CustomToneMapping",0,5,"CylinderGeometry",0,rR,"Cylindrical",0,s8,"Data3DTexture",0,eM,"DataArrayTexture",0,eb,"DataTexture",0,it,"DataTextureLoader",0,aK,"DataUtils",0,tX,"DecrementStencilOp",0,7683,"DecrementWrapStencilOp",0,34056,"DefaultLoadingManager",0,aV,"DepthFormat",0,1026,"DepthStencilFormat",0,1027,"DepthTexture",0,ri,"DetachedBindMode",0,P,"DirectionalLight",0,sr,"DirectionalLightHelper",0,ox,"DiscreteInterpolant",0,aP,"DodecahedronGeometry",0,rL,"DoubleSide",0,2,"DstAlphaFactor",0,206,"DstColorFactor",0,208,"DynamicCopyUsage",0,35050,"DynamicDrawUsage",0,35048,"DynamicReadUsage",0,35049,"EdgesGeometry",0,rF,"EllipseCurve",0,ra,"EqualCompare",0,514,"EqualDepth",0,4,"EqualStencilFunc",0,514,"EquirectangularReflectionMapping",0,303,"EquirectangularRefractionMapping",0,304,"Euler",0,tn,"EventDispatcher",0,O,"ExtrudeGeometry",0,r4,"FileLoader",0,aX,"Float16BufferAttribute",0,t3,"Float32BufferAttribute",0,t4,"FloatType",0,1015,"Fog",0,nI,"FogExp2",0,nP,"FramebufferTexture",0,i9,"FrontSide",0,0,"Frustum",0,iS,"GLBufferAttribute",0,s1,"GLSL1",0,"100","GLSL3",0,D,"GreaterCompare",0,516,"GreaterDepth",0,6,"GreaterEqualCompare",0,518,"GreaterEqualDepth",0,5,"GreaterEqualStencilFunc",0,518,"GreaterStencilFunc",0,516,"GridHelper",0,om,"Group",0,i6,"HalfFloatType",0,1016,"HemisphereLight",0,a0,"HemisphereLightHelper",0,of,"IcosahedronGeometry",0,r6,"ImageBitmapLoader",0,sv,"ImageLoader",0,aZ,"ImageUtils",0,ed,"IncrementStencilOp",0,7682,"IncrementWrapStencilOp",0,34055,"InstancedBufferAttribute",0,is,"InstancedBufferGeometry",0,sh,"InstancedInterleavedBuffer",0,s0,"InstancedMesh",0,im,"Int16BufferAttribute",0,tQ,"Int32BufferAttribute",0,t1,"Int8BufferAttribute",0,tJ,"IntType",0,1013,"InterleavedBuffer",0,nN,"InterleavedBufferAttribute",0,nD,"Interpolant",0,aA,"InterpolateDiscrete",0,2300,"InterpolateLinear",0,2301,"InterpolateSmooth",0,2302,"InvertStencilOp",0,5386,"KeepStencilOp",0,7680,"KeyframeTrack",0,aI,"LOD",0,nQ,"LatheGeometry",0,rE,"Layers",0,ti,"LessCompare",0,513,"LessDepth",0,2,"LessEqualCompare",0,515,"LessEqualDepth",0,3,"LessEqualStencilFunc",0,515,"LessStencilFunc",0,513,"Light",0,aQ,"LightProbe",0,sl,"Line",0,iq,"Line3",0,oi,"LineBasicMaterial",0,iB,"LineCurve",0,r_,"LineCurve3",0,ry,"LineDashedMaterial",0,ax,"LineLoop",0,i$,"LineSegments",0,iK,"LinearFilter",0,1006,"LinearInterpolant",0,aR,"LinearMipMapLinearFilter",0,1008,"LinearMipMapNearestFilter",0,1007,"LinearMipmapLinearFilter",0,1008,"LinearMipmapNearestFilter",0,1007,"LinearSRGBColorSpace",0,L,"LinearToneMapping",0,1,"LinearTransfer",0,N,"Loader",0,aG,"LoaderUtils",0,sc,"LoadingManager",0,aH,"LoopOnce",0,2200,"LoopPingPong",0,2202,"LoopRepeat",0,2201,"LuminanceAlphaFormat",0,1025,"LuminanceFormat",0,1024,"MOUSE",0,A,"Material",0,tH,"MaterialLoader",0,su,"MathUtils",0,q,"Matrix2",0,s9,"Matrix3",0,Z,"Matrix4",0,e2,"MaxEquation",0,104,"Mesh",0,nf,"MeshBasicMaterial",0,tV,"MeshDepthMaterial",0,av,"MeshDistanceMaterial",0,a_,"MeshLambertMaterial",0,ag,"MeshMatcapMaterial",0,ay,"MeshNormalMaterial",0,am,"MeshPhongMaterial",0,ap,"MeshPhysicalMaterial",0,ad,"MeshStandardMaterial",0,ah,"MeshToonMaterial",0,af,"MinEquation",0,103,"MirroredRepeatWrapping",0,1002,"MixOperation",0,1,"MultiplyBlending",0,4,"MultiplyOperation",0,0,"NearestFilter",0,1003,"NearestMipMapLinearFilter",0,1005,"NearestMipMapNearestFilter",0,1004,"NearestMipmapLinearFilter",0,1005,"NearestMipmapNearestFilter",0,1004,"NeutralToneMapping",0,7,"NeverCompare",0,512,"NeverDepth",0,0,"NeverStencilFunc",0,512,"NoBlending",0,0,"NoColorSpace",0,"","NoToneMapping",0,0,"NormalAnimationBlendMode",0,2500,"NormalBlending",0,1,"NotEqualCompare",0,517,"NotEqualDepth",0,7,"NotEqualStencilFunc",0,517,"NumberKeyframeTrack",0,aU,"Object3D",0,ty,"ObjectLoader",0,sp,"ObjectSpaceNormalMap",0,1,"OctahedronGeometry",0,r8,"OneFactor",0,201,"OneMinusConstantAlphaFactor",0,214,"OneMinusConstantColorFactor",0,212,"OneMinusDstAlphaFactor",0,207,"OneMinusDstColorFactor",0,209,"OneMinusSrcAlphaFactor",0,205,"OneMinusSrcColorFactor",0,203,"OrthographicCamera",0,sn,"PCFShadowMap",0,1,"PCFSoftShadowMap",0,2,"PMREMGenerator",0,o8,"Path",0,rw,"PerspectiveCamera",0,nE,"Plane",0,iy,"PlaneGeometry",0,r9,"PlaneHelper",0,oC,"PointLight",0,st,"PointLightHelper",0,oc,"Points",0,i4,"PointsMaterial",0,iQ,"PolarGridHelper",0,og,"PolyhedronGeometry",0,rI,"PositionalAudio",0,sF,"PropertyBinding",0,sX,"PropertyMixer",0,sB,"QuadraticBezierCurve",0,rx,"QuadraticBezierCurve3",0,rb,"Quaternion",0,ew,"QuaternionKeyframeTrack",0,aO,"QuaternionLinearInterpolant",0,aD,"RED_GREEN_RGTC2_Format",0,36285,"RED_RGTC1_Format",0,36283,"REVISION",0,"171","RGBADepthPacking",0,3201,"RGBAFormat",0,1023,"RGBAIntegerFormat",0,1033,"RGBA_ASTC_10x10_Format",0,37819,"RGBA_ASTC_10x5_Format",0,37816,"RGBA_ASTC_10x6_Format",0,37817,"RGBA_ASTC_10x8_Format",0,37818,"RGBA_ASTC_12x10_Format",0,37820,"RGBA_ASTC_12x12_Format",0,37821,"RGBA_ASTC_4x4_Format",0,37808,"RGBA_ASTC_5x4_Format",0,37809,"RGBA_ASTC_5x5_Format",0,37810,"RGBA_ASTC_6x5_Format",0,37811,"RGBA_ASTC_6x6_Format",0,37812,"RGBA_ASTC_8x5_Format",0,37813,"RGBA_ASTC_8x6_Format",0,37814,"RGBA_ASTC_8x8_Format",0,37815,"RGBA_BPTC_Format",0,36492,"RGBA_ETC2_EAC_Format",0,37496,"RGBA_PVRTC_2BPPV1_Format",0,35843,"RGBA_PVRTC_4BPPV1_Format",0,35842,"RGBA_S3TC_DXT1_Format",0,33777,"RGBA_S3TC_DXT3_Format",0,33778,"RGBA_S3TC_DXT5_Format",0,33779,"RGBDepthPacking",0,3202,"RGBFormat",0,1022,"RGBIntegerFormat",0,1032,"RGB_BPTC_SIGNED_Format",0,36494,"RGB_BPTC_UNSIGNED_Format",0,36495,"RGB_ETC1_Format",0,36196,"RGB_ETC2_Format",0,37492,"RGB_PVRTC_2BPPV1_Format",0,35841,"RGB_PVRTC_4BPPV1_Format",0,35840,"RGB_S3TC_DXT1_Format",0,33776,"RGDepthPacking",0,3203,"RGFormat",0,1030,"RGIntegerFormat",0,1031,"RawShaderMaterial",0,ac,"Ray",0,e1,"Raycaster",0,s3,"RectAreaLight",0,ss,"RedFormat",0,1028,"RedIntegerFormat",0,1029,"ReinhardToneMapping",0,2,"RenderTarget",0,ey,"RepeatWrapping",0,1e3,"ReplaceStencilOp",0,7681,"ReverseSubtractEquation",0,102,"RingGeometry",0,r7,"SIGNED_RED_GREEN_RGTC2_Format",0,36286,"SIGNED_RED_RGTC1_Format",0,36284,"SRGBColorSpace",0,I,"SRGBTransfer",0,U,"Scene",0,nL,"ShaderChunk",0,oB,"ShaderLib",0,oH,"ShaderMaterial",0,nb,"ShadowMaterial",0,au,"Shape",0,rz,"ShapeGeometry",0,ae,"ShapePath",0,oL,"ShapeUtils",0,r1,"ShortType",0,1011,"Skeleton",0,ia,"SkeletonHelper",0,ou,"SkinnedMesh",0,n7,"Source",0,ef,"Sphere",0,eq,"SphereGeometry",0,at,"Spherical",0,s6,"SphericalHarmonics3",0,so,"SplineCurve",0,rS,"SpotLight",0,a6,"SpotLightHelper",0,oa,"Sprite",0,nZ,"SpriteMaterial",0,nO,"SrcAlphaFactor",0,204,"SrcAlphaSaturateFactor",0,210,"SrcColorFactor",0,202,"StaticCopyUsage",0,35046,"StaticDrawUsage",0,35044,"StaticReadUsage",0,35045,"StereoCamera",0,sM,"StreamCopyUsage",0,35042,"StreamDrawUsage",0,35040,"StreamReadUsage",0,35041,"StringKeyframeTrack",0,aF,"SubtractEquation",0,101,"SubtractiveBlending",0,3,"TOUCH",0,C,"TangentSpaceNormalMap",0,0,"TetrahedronGeometry",0,an,"Texture",0,ev,"TextureLoader",0,a$,"TextureUtils",0,oD,"TorusGeometry",0,ai,"TorusKnotGeometry",0,ar,"Triangle",0,tN,"TriangleFanDrawMode",0,2,"TriangleStripDrawMode",0,1,"TrianglesDrawMode",0,0,"TubeGeometry",0,aa,"UVMapping",0,300,"Uint16BufferAttribute",0,t0,"Uint32BufferAttribute",0,t2,"Uint8BufferAttribute",0,tK,"Uint8ClampedBufferAttribute",0,t$,"Uniform",0,sK,"UniformsGroup",0,sQ,"UniformsLib",0,ok,"UniformsUtils",0,nx,"UnsignedByteType",0,1009,"UnsignedInt248Type",0,1020,"UnsignedInt5999Type",0,35902,"UnsignedIntType",0,1014,"UnsignedShort4444Type",0,1017,"UnsignedShort5551Type",0,1018,"UnsignedShortType",0,1012,"VSMShadowMap",0,3,"Vector2",0,Y,"Vector3",0,eE,"Vector4",0,e_,"VectorKeyframeTrack",0,az,"VideoTexture",0,i8,"WebGL3DRenderTarget",0,eT,"WebGLArrayRenderTarget",0,eS,"WebGLCoordinateSystem",0,2e3,"WebGLCubeRenderTarget",0,nR,"WebGLMultipleRenderTargets",0,oO,"WebGLRenderTarget",0,ex,"WebGLRenderer",0,uK,"WebGLUtils",0,uk,"WebGPUCoordinateSystem",0,2001,"WireframeGeometry",0,as,"WrapAroundEnding",0,2402,"ZeroCurvatureEnding",0,2400,"ZeroFactor",0,200,"ZeroSlopeEnding",0,2401,"ZeroStencilOp",0,0,"createCanvasElement",0,et],32009);var hv=e.i(32009);function h_(e,t){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}}let hy=["x","y","top","bottom","left","right","width","height"];function hx({ref:e,children:t,fallback:n,resize:i,style:r,gl:a,events:s=hg,eventSource:o,eventPrefix:l,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,scene:y,onPointerMissed:x,onCreated:b,...S}){E.useMemo(()=>cZ(hv),[]);let M=cd(),[T,w]=function({debounce:e,scroll:t,polyfill:n,offsetSize:i}={debounce:0,scroll:!1,offsetSize:!1}){var r,a,s;let o=n||("u"(p.current=!0,()=>void(p.current=!1)));let[f,m,g]=(0,E.useMemo)(()=>{let e=()=>{let e,t;if(!c.current.element)return;let{left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d}=c.current.element.getBoundingClientRect(),f={left:n,top:r,width:a,height:s,bottom:o,right:l,x:h,y:d};c.current.element instanceof HTMLElement&&i&&(f.height=c.current.element.offsetHeight,f.width=c.current.element.offsetWidth),Object.freeze(f),p.current&&(e=c.current.lastBounds,t=f,!hy.every(n=>e[n]===t[n]))&&u(c.current.lastBounds=f)};return[e,d?h_(e,d):e,h?h_(e,h):e]},[u,i,h,d]);function v(){c.current.scrollContainers&&(c.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",g,!0)),c.current.scrollContainers=null),c.current.resizeObserver&&(c.current.resizeObserver.disconnect(),c.current.resizeObserver=null),c.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",c.current.orientationHandler))}function _(){c.current.element&&(c.current.resizeObserver=new o(g),c.current.resizeObserver.observe(c.current.element),t&&c.current.scrollContainers&&c.current.scrollContainers.forEach(e=>e.addEventListener("scroll",g,{capture:!0,passive:!0})),c.current.orientationHandler=()=>{g()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",c.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",c.current.orientationHandler))}return r=g,a=!!t,(0,E.useEffect)(()=>{if(a)return window.addEventListener("scroll",r,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",r,!0)},[r,a]),s=m,(0,E.useEffect)(()=>(window.addEventListener("resize",s),()=>void window.removeEventListener("resize",s)),[s]),(0,E.useEffect)(()=>{v(),_()},[t,g,m]),(0,E.useEffect)(()=>v,[]),[e=>{e&&e!==c.current.element&&(v(),c.current.element=e,c.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:i,overflowX:r,overflowY:a}=window.getComputedStyle(t);return[i,r,a].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),_())},l,f]}({scroll:!0,debounce:{scroll:50,resize:0},...i}),A=E.useRef(null),C=E.useRef(null);E.useImperativeHandle(e,()=>A.current);let R=ch(x),[P,I]=E.useState(!1),[L,N]=E.useState(!1);if(P)throw P;if(L)throw L;let U=E.useRef(null);cc(()=>{let e=A.current;w.width>0&&w.height>0&&e&&(U.current||(U.current=he(e)),async function(){await U.current.configure({gl:a,scene:y,events:s,shadows:u,linear:c,flat:h,legacy:d,orthographic:p,frameloop:f,dpr:m,performance:g,raycaster:v,camera:_,size:w,onPointerMissed:(...e)=>null==R.current?void 0:R.current(...e),onCreated:e=>{null==e.events.connect||e.events.connect(o?cl(o)?o.current:o:C.current),l&&e.setEvents({compute:(e,t)=>{let n=e[l+"X"],i=e[l+"Y"];t.pointer.set(n/t.size.width*2-1,-(2*(i/t.size.height))+1),t.raycaster.setFromCamera(t.pointer,t.camera)}}),null==b||b(e)}}),U.current.render((0,u9.jsx)(M,{children:(0,u9.jsx)(cf,{set:N,children:(0,u9.jsx)(E.Suspense,{fallback:(0,u9.jsx)(cp,{set:I}),children:null!=t?t:null})})}))}())}),E.useEffect(()=>{let e=A.current;if(e)return()=>hn(e)},[]);let D=o?"none":"auto";return(0,u9.jsx)("div",{ref:C,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:D,...r},...S,children:(0,u9.jsx)("div",{ref:T,style:{width:"100%",height:"100%"},children:(0,u9.jsx)("canvas",{ref:A,style:{display:"block"},children:n})})})}e.s(["Canvas",0,function(e){return(0,u9.jsx)(ci,{children:(0,u9.jsx)(hx,{...e})})}],75056),e.s(["useFrame",0,cz],25234),e.s(["useThree",0,cF],28600)},44208,e=>{"use strict";var t=e.i(1950);e.s(["createPortal",()=>t.o])},24205,e=>{"use strict";var t=e.i(1950);e.s(["applyProps",()=>t.s])},67335,e=>{"use strict";var t=e.i(1950);e.s(["extend",()=>t.e])},60602,e=>{"use strict";var t=e.i(1950);e.s(["useLoader",()=>t.G])}]); \ No newline at end of file diff --git a/.next/static/chunks/0t48hzs_6fshe.css b/.next/static/chunks/0t48hzs_6fshe.css deleted file mode 100644 index 9462fde..0000000 --- a/.next/static/chunks/0t48hzs_6fshe.css +++ /dev/null @@ -1 +0,0 @@ -.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(../media/layers.1220hx8ja1.sy.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../media/layers-2x.0olxl6i2vnf_c.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(../media/marker-icon.0i9~u_difxrfa.png)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} diff --git a/.next/static/chunks/0tldj~reb5~dn.js b/.next/static/chunks/0tldj~reb5~dn.js deleted file mode 100644 index 7b4c662..0000000 --- a/.next/static/chunks/0tldj~reb5~dn.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23755,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=(0,e.r(43369).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=n,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},74575,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getAssetPrefix",{enumerable:!0,get:function(){return o}});let n=e.r(12718);function o(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new n.InvariantError(`Expected document.currentScript to be a ",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?o.createElement(l,{is:r.is}):o.createElement(l)}}a[eW]=n,a[eq]=r;e:for(o=n.child;null!==o;){if(5===o.tag||6===o.tag)a.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===n)break;for(;null===o.sibling;){if(null===o.return||o.return===n)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(n.stateNode=a,ca(a,l,r),l){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&is(n)}}return ih(n),n.subtreeFlags&=-0x2000001,ic(n,n.type,null===e?null:e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==r&&is(n);else{if("string"!=typeof r&&null===n.stateNode)throw Error(u(166));if(e=et.current,rZ(n)){if(e=n.stateNode,t=n.memoizedProps,r=null,null!==(l=rj))switch(l.tag){case 27:case 5:r=l.memoizedProps}e[eW]=n,(e=!!(e.nodeValue===t||null!==r&&!0===r.suppressHydrationWarning||ct(e.nodeValue,t)))||rY(n,!0)}else(e=cs(e).createTextNode(r))[eW]=n,n.stateNode=e}return ih(n),null;case 31:if(t=n.memoizedState,null===e||null!==e.memoizedState){if(r=rZ(n),null!==t){if(null===e){if(!r)throw Error(u(318));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(u(557));e[eW]=n}else rJ(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;ih(n),e=!1}else t=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e){if(256&n.flags)return ae(n),n;return ae(n),null}if(0!=(128&n.flags))throw Error(u(558))}return ih(n),null;case 13:if(r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(l=rZ(n),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(u(318));if(!(l=null!==(l=n.memoizedState)?l.dehydrated:null))throw Error(u(317));l[eW]=n}else rJ(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;ih(n),l=!1}else l=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l){if(256&n.flags)return ae(n),n;return ae(n),null}}if(ae(n),0!=(128&n.flags))return n.lanes=t,n;return t=null!==r,e=null!==e&&null!==e.memoizedState,t&&(r=n.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),t!==e&&t&&(n.child.flags|=8192),ip(n,n.updateQueue),ih(n),null;case 4:return ea(),null===e&&s2(n.stateNode.containerInfo),n.flags|=0x4000000,ih(n),null;case 10:return r8(n.type),ih(n),null;case 19:if(ar(n),null===(r=n.memoizedState))return ih(n),null;if(l=0!=(128&n.flags),null===(a=r.rendering))if(l)im(r,!1);else{if(0!==uF||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(a=al(e))){for(n.flags|=128,im(r,!1),n.updateQueue=e=a.updateQueue,ip(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)rw(t,e),t=t.sibling;return at(n,1&an.current|2),rQ&&rR(n,r.treeForkCount),n.child}e=e.sibling}null!==r.tail&&ev()>uQ&&(n.flags|=128,l=!0,im(r,!1),n.lanes=4194304)}else{if(!l)if(null!==(e=al(a))){if(n.flags|=128,l=!0,n.updateQueue=e=e.updateQueue,ip(n,e),im(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!rQ)return ih(n),null}else 2*ev()-r.renderingStartTime>uQ&&0x20000000!==t&&(n.flags|=128,l=!0,im(r,!1),n.lanes=4194304);r.isBackwards?(a.sibling=n.child,n.child=a):(null!==(e=r.last)?e.sibling=a:n.child=a,r.last=a)}if(null!==r.tail){e=r.tail;e:{for(t=e;null!==t;){if(null!==t.alternate){t=!1;break e}t=t.sibling}t=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ev(),e.sibling=null,a=an.current,a=l?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!t||rQ?at(n,a):(t=a,J(l4,n),J(an,t),null===l6&&(l6=n)),rQ&&rR(n,r.treeForkCount),e}return ih(n),null;case 22:case 23:return ae(n),l3(),r=null!==n.memoizedState,null!==e?null!==e.memoizedState!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?0!=(0x20000000&t)&&0==(128&n.flags)&&(ih(n),6&n.subtreeFlags&&(n.flags|=8192)):ih(n),null!==(t=n.updateQueue)&&ip(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),r=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(r=n.memoizedState.cachePool.pool),r!==t&&(n.flags|=2048),null!==e&&Z(lb),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),r8(lu),ih(n),null;case 25:return null;case 30:return n.flags|=0x2000000,ih(n),null}throw Error(u(156,n.tag))}(n.alternate,n,uD);if(null!==t){uC=t;return}if(null!==(n=n.sibling)){uC=n;return}uC=n=e}while(null!==n)0===uF&&(uF=5)}function sg(e,n){do{var t=function(e,n){switch(rB(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return r8(lu),ea(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return ei(n),null;case 31:if(null!==n.memoizedState){if(ae(n),null===n.alternate)throw Error(u(340));rJ()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 13:if(ae(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(u(340));rJ()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return ar(n),65536&(e=n.flags)?(n.flags=-65537&e|128,null!==(e=n.memoizedState)&&(e.rendering=null,e.tail=null),n.flags|=4,n):null;case 4:return ea(),null;case 10:return r8(n.type),null;case 22:case 23:return ae(n),l3(),null!==e&&Z(lb),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return r8(lu),null;default:return null}}(e.alternate,e);if(null!==t){t.flags&=32767,uC=t;return}if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling)){uC=e;return}uC=e=t}while(null!==e)uF=6,uC=null}function sv(e,n,t,r,l,a,o,i,s,c,f,d){e.cancelPendingCommit=null;do sx();while(0!==uK)if(0!=(6&ux))throw Error(u(327));if(null!==n){if(n===e.current)throw Error(u(177));e===uN&&(uC=uN=null,uP=0),uG=n,uY=e,uX=t,uJ=l,u0=r,function(e,n,t,r,l,a,o){var i,u=n.lanes|n.childLanes;if(uZ=u,!function(e,n,t,r,l,a){var o=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var i=e.entanglements,u=e.expirationTimes,s=e.hiddenUpdates;for(t=o&~t;0fp){i.length=o;break}d=new Promise(cP.bind(d)),i.push(d)}}}return 0g&&(o=g,g=h,h=o);var v=t$(i,h),y=t$(i,g);if(v&&y&&(1!==p.rangeCount||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=f.createRange();b.setStart(v.node,v.offset),p.removeAllRanges(),h>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(f=[],p=i;p=p.parentNode;)1===p.nodeType&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;it?32:t,W.T=null,t=uJ,uJ=null;var a=uY,o=uX;if(uK=0,uG=uY=null,uX=0,0!=(6&ux))throw Error(u(331));var i=ux;if(ux|=4,uk(a.current),up(a,a.current,o,t),ux=i,sV(0,!1),eN&&"function"==typeof eN.onPostCommitFiberRoot)try{eN.onPostCommitFiberRoot(ex,a)}catch(e){}return!0}finally{q.p=l,W.T=r,sE(e,n)}}function sC(e,n,t){n=rz(t,n),n=oA(e.stateNode,n,2),null!==(e=lQ(e,n,2))&&(eA(e,2),sU(e))}function sP(e,n,t){if(3===e.tag)sC(e,e,t);else for(;null!==n;){if(3===n.tag){sC(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===uq||!uq.has(r))){e=rz(t,e),null!==(r=lQ(n,t=oR(2),2))&&(oU(t,r,n,e),eA(r,2),sU(r));break}}n=n.return}}function sz(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new uE;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(uO=!0,l.add(t),e=sT.bind(null,e,n,t),n.then(e,e))}function sT(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,uN===e&&(uP&t)===t&&(4===uF||3===uF&&(0x3c00000&uP)===uP&&300>ev()-uj?0==(2&ux)&&sa(e,0):uA|=t,uU===uP&&(uU=0)),sU(e)}function s_(e,n){0===n&&(n=eI()),null!==(e=rp(e,n))&&(eA(e,n),sU(e))}function sL(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),s_(e,t)}function sO(e,n){var t=0;switch(e.tag){case 31:case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(u(314))}null!==r&&r.delete(n),s_(e,t)}var sD=null,sF=null,sI=!1,sM=!1,sA=!1,sR=0;function sU(e){e!==sF&&null===e.next&&(null===sF?sD=sF=e:sF=sF.next=e),sM=!0,sI||(sI=!0,cv(function(){0!=(6&ux)?ep(eb,sB):s$()}))}function sV(e,n){if(!sA&&sM){sA=!0;do for(var t=!1,r=sD;null!==r;){if(!n)if(0!==e){var l=r.pendingLanes;if(0===l)var a=0;else{var o=r.suspendedLanes,i=r.pingedLanes;a=0xc000095&(a=(1<<31-eC(42|e)+1)-1&(l&~(o&~i)))?0xc000095&a|1:a?2|a:0}0!==a&&(t=!0,sQ(r,a))}else a=uP,0==(3&(a=eD(r,r===uN?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eF(r,a)||(t=!0,sQ(r,a));r=r.next}while(t)sA=!1}}function sB(){s$()}function s$(){sM=sI=!1;var e,n=0;0===sR||((e=window.event)&&"popstate"===e.type?e===cp||(cp=e,0):(cp=null,1))||(n=sR);for(var t=ev(),r=null,l=sD;null!==l;){var a=l.next,o=sj(l,t);0===o?(l.next=null,null===r?sD=a:r.next=a,null===a&&(sF=r)):(r=l,(0!==n||0!=(3&o))&&(sM=!0)),l=a}0!==uK&&5!==uK||sV(n,!1),0!==sR&&(sR=0)}function sj(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0 title"):null)}function fs(e,n){return"img"===e&&null!=n.src&&""!==n.src&&null==n.onLoad&&"lazy"!==n.loading}function fc(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function ff(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function fd(e,n){"function"==typeof n.decode&&(e.imgCount++,n.complete||(e.imgBytes+=ff(n),e.suspenseyImages.push(n)),e=fg.bind(e),n.decode().then(e,e))}var fp=0;function fm(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)fy(e,e.stylesheets);else if(e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}}}function fh(){this.count--,fm(this)}function fg(){this.imgCount--,fm(this)}var fv=null;function fy(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,fv=new Map,n.forEach(fb,e),fv=null,fh.call(e))}function fb(e,n){if(!(4&n.state.loading)){var t=fv.get(e);if(t)var r=t.get(null);else{t=new Map,fv.set(e,t);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;atypeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var f4=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!f4.isDisabled&&f4.supportsFiber)try{ex=f4.inject({bundleType:0,version:"19.3.0-canary-3f0b9e61-20260317",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.3.0-canary-3f0b9e61-20260317"}),eN=f4}catch(e){}}t.createRoot=function(e,n){if(!s(e))throw Error(u(299));var t=!1,r="",l=oO,a=oD,o=oF;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(a=n.onCaughtError),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),n=fS(e,1,!1,null,null,t,r,null,l,a,o,f0),e[eK]=n.current,s2(e),new f1(n)},t.hydrateRoot=function(e,n,t){if(!s(e))throw Error(u(299));var r,l=!1,a="",o=oO,i=oD,c=oF,f=null;return null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(i=t.onCaughtError),void 0!==t.onRecoverableError&&(c=t.onRecoverableError),void 0!==t.formState&&(f=t.formState)),(n=fS(e,1,!0,n,null!=t?t:null,l,a,f,o,i,c,f0)).context=(r=null,rg),t=n.current,(a=lH(l=eB(l=u8()))).callback=null,lQ(t,a,l),t=l,n.current.lanes=t,eA(n,t),sU(n),e[eK]=n.current,s2(e),new f2(n)},t.version="19.3.0-canary-3f0b9e61-20260317"},88014,(e,n,t)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),n.exports=e.r(46480)}]); \ No newline at end of file diff --git a/.next/static/chunks/133p65rq~827a.js b/.next/static/chunks/133p65rq~827a.js deleted file mode 100644 index 81b1115..0000000 --- a/.next/static/chunks/133p65rq~827a.js +++ /dev/null @@ -1,212 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let i=e.r(32061);function r({reason:e,children:t}){if("u"{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return i}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let i=e.r(43476),r=e.r(74080),o=e.r(63599),l=e.r(9885),a=e.r(43369);function s({moduleIds:e}){if("u">typeof window)return null;let t=o.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let i=t.reactLoadableManifest;for(let t of e){if(!i[t])continue;let e=i[t].files;n.push(...e)}}if(0===n.length)return null;let m=(0,a.getAssetTokenQuery)();return(0,i.jsx)(i.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${m}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,r.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return m}});let i=e.r(43476),r=e.r(71645),o=e.r(67585),l=e.r(52157);function a(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},m=function(e){let t={...s,...e},n=(0,r.lazy)(()=>t.loader().then(a)),m=t.loading;function c(e){let a=m?(0,i.jsx)(m,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,c=s?r.Suspense:r.Fragment,d=t.ssr?(0,i.jsxs)(i.Fragment,{children:["u"{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});let i=e.r(55682)._(e.r(69093));function r(e,t){let n={};"function"==typeof e&&(n.loader=e);let r={...n,...t};return(0,i.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},74528,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(74080);e.s(["default",0,function(){(0,i.preload)("/images/home2-banner-1.webp",{as:"image"});let[e,r]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=setInterval(()=>{r(e=>+(0===e))},7e3);return()=>clearInterval(e)},[]);let o=e=>{r(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .howits-hero-custom-bg.elementor-repeater-item-3264830, - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home2-banner-1.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-2.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - /* Center alignments for standard content slider elements */ - .elementor-element.elementor-element-6c7cbcb .slide-content { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - height: 100% !important; - padding: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content-inner { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - max-width: 1000px !important; - margin: 0 auto !important; - /* site.css gives the inner content-box sizing + 20px padding, - which makes it 40px wider than its parent and overflows. - Force border-box so width:100% actually fits. */ - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading, - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading .heading-content { - text-align: center !important; - display: block !important; - width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text { - display: flex !important; - justify-content: center !important; - width: 100% !important; - margin-top: 23px !important; - } - - .elementor-element.elementor-element-6c7cbcb .text-content { - text-align: center !important; - max-width: 820px !important; - margin: 0 auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - /* Larger, more readable hero subtitle on large/4K screens */ - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text p { - font-size: clamp(16px, 1.35vw, 23px) !important; - line-height: 1.65 !important; - } - - @media (min-width: 1025px) { - /* Match Home's hero frame so the floating navbar sits with the same - breathing space. Home (.elementor-61) frames the hero card at 20px; - this page falls through to the shared kit's 32px base. */ - .elementor-element.elementor-element-741f56c { - padding: 20px !important; - } - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - height: 800px !important; - min-height: 800px !important; - } - } - - @media (max-width: 1024px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - overflow: hidden !important; - border-radius: 25px !important; - } - - /* Collapse the stage-outer to the slide height so no empty - black space is left below the hero card on mobile/tablet. */ - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 620px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - width: 100% !important; - min-height: 620px !important; - height: 620px !important; - border-radius: 25px !important; - overflow: hidden !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content { - width: 100% !important; - min-height: 620px !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - } - - @media (max-width: 767px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - border-radius: 22px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 560px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - min-height: 560px !important; - height: 560px !important; - border-radius: 22px !important; - } - - /* Center BOTH slides' content. Use the .elementor prefix + - repeater-item classes so these beat the per-slide rules in - site.css (slide 1 has no centering there; slide 2 carries an - asymmetric top margin). */ - .elementor .elementor-element.elementor-element-6c7cbcb .slide-content { - min-height: 560px !important; - padding-left: 0 !important; - padding-right: 0 !important; - align-items: center !important; - justify-content: center !important; - text-align: center !important; - } - - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-3264830 .slide-content-inner, - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-6867061 .slide-content-inner { - margin: 0 auto !important; - width: 100% !important; - max-width: 100% !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - align-items: center !important; - text-align: center !important; - } - - .elementor .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading, - .elementor .elementor-element.elementor-element-6c7cbcb .content-slider-item-text, - .elementor .elementor-element.elementor-element-6c7cbcb .text-content { - text-align: center !important; - margin-left: auto !important; - margin-right: auto !important; - } - - /* Smaller, fitting heading so it never overflows the card edge. - site.css forced clamp(38px,11vw,48px) which clipped at 320px. */ - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-3264830 .content-slider-item-heading, - .elementor .elementor-element.elementor-element-6c7cbcb .elementor-repeater-item-6867061 .content-slider-item-heading { - max-width: 100% !important; - font-size: clamp(26px, 8vw, 34px) !important; - line-height: 1.12 !important; - overflow-wrap: break-word !important; - } - - /* Slide counter ("01/02"): keep it bottom-RIGHT, aligned with the - hero text padding (22px) and lifted cleanly off the edge. */ - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer { - text-align: right !important; - margin-bottom: 24px !important; - } - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer .slider-pagination { - justify-content: flex-end !important; - margin-left: 22px !important; - margin-right: 22px !important; - } - /* The wide dot navigation eats the right side and shoves "01/02" to - the centre. Hide it on mobile (matching the home hero) so the - counter sits cleanly on the right. */ - .elementor .elementor-element.elementor-element-6c7cbcb .owl-dots { - display: none !important; - } - /* Hide the prev/next arrows on mobile (they overlap the counter) — - slides still auto-rotate, matching the home hero. */ - .elementor .elementor-element.elementor-element-6c7cbcb .owl-nav { - display: none !important; - } - } - `}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",children:[(0,t.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden",height:"800px"},children:(0,t.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsx)("div",{className:`owl-item ${0===e?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===e),visibility:0===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsxs)("span",{className:"heading-content",children:["One Journey. Complete",(0,t.jsx)("br",{}),"Control."]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."})})})]})})})}),(0,t.jsx)("div",{className:`owl-item ${1===e?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===e),visibility:1===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsxs)("span",{className:"heading-content",children:["A New Logisitics",(0,t.jsx)("br",{}),"Experience"]})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"See how Doormile connects first, mid, and last mile into a seamless delivery experience powered by MileTruth™ AI."})})})]})})})})]})}),(0,t.jsxs)("div",{className:"owl-nav",children:[(0,t.jsx)("button",{type:"button",className:"owl-next",onClick:()=>r(e=>+(0===e)),"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,t.jsx)("button",{type:"button",className:"owl-prev",onClick:()=>r(e=>+(0===e)),"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,t.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,t.jsx)("div",{className:"slider-footer-content",children:(0,t.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px"},children:[(0,t.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,t.jsx)("span",{className:"slider-progress-current",children:0===e?"01":"02"})," / ",(0,t.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,t.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0===e?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,t.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${0===e?"active":""}`,onClick:()=>o(0),children:(0,t.jsx)("span",{})}),(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${1===e?"active":""}`,onClick:()=>o(1),children:(0,t.jsx)("span",{})})]})]})})})]})})})})})})})]})}])},16948,e=>{"use strict";var t=e.i(43476);let n=(0,e.i(70703).default)(()=>e.A(19386),{loadableGenerated:{modules:[88493]},ssr:!1,loading:()=>(0,t.jsx)("div",{style:{minHeight:"100vh"},"aria-hidden":!0})});e.s(["default",0,function(){return(0,t.jsx)(n,{})}])},19386,e=>{e.v(t=>Promise.all(["static/chunks/0b561qo91.1jg.js","static/chunks/04vqjcwjasc-3.js","static/chunks/0_54tjq7o59~u.js","static/chunks/0o27ue53hohz_.js","static/chunks/0zozt9p9-3srt.css"].map(t=>e.l(t))).then(()=>t(88493)))}]); \ No newline at end of file diff --git a/.next/static/chunks/13ci0umlwh11-.css b/.next/static/chunks/13ci0umlwh11-.css deleted file mode 100644 index cc54688..0000000 --- a/.next/static/chunks/13ci0umlwh11-.css +++ /dev/null @@ -1,6 +0,0 @@ -@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:200;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/a342834df7752944-s.10ev4cu2inrn-.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope Fallback;src:local(Arial);ascent-override:103.31%;descent-override:29.07%;line-gap-override:0.0%;size-adjust:103.19%}.manrope_67dc055e-module__BHrBnq__className{font-family:Manrope,Manrope Fallback;font-style:normal}.manrope_67dc055e-module__BHrBnq__variable{--font-manrope:"Manrope", "Manrope Fallback"} -@font-face{font-family:Space Grotesk;font-style:normal;font-weight:400;font-display:swap;src:url(../media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:400;font-display:swap;src:url(../media/28868e710e86be81-s.0rx81dn62y51_.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:400;font-display:swap;src:url(../media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:500;font-display:swap;src:url(../media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:500;font-display:swap;src:url(../media/28868e710e86be81-s.0rx81dn62y51_.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:500;font-display:swap;src:url(../media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:600;font-display:swap;src:url(../media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:600;font-display:swap;src:url(../media/28868e710e86be81-s.0rx81dn62y51_.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:600;font-display:swap;src:url(../media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:700;font-display:swap;src:url(../media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:700;font-display:swap;src:url(../media/28868e710e86be81-s.0rx81dn62y51_.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:700;font-display:swap;src:url(../media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk Fallback;src:local(Arial);ascent-override:89.71%;descent-override:26.62%;line-gap-override:0.0%;size-adjust:109.69%}.space_grotesk_2e42c3c6-module__3Wl9rq__className{font-family:Space Grotesk,Space Grotesk Fallback;font-style:normal}.space_grotesk_2e42c3c6-module__3Wl9rq__variable{--font-space-grotesk:"Space Grotesk", "Space Grotesk Fallback"} -@font-face{font-family:Syne;font-style:normal;font-weight:600;font-display:swap;src:url(../media/ab624315db63c58d-s.1487dfs7-.~d~.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Syne;font-style:normal;font-weight:600;font-display:swap;src:url(../media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Syne;font-style:normal;font-weight:600;font-display:swap;src:url(../media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Syne;font-style:normal;font-weight:700;font-display:swap;src:url(../media/ab624315db63c58d-s.1487dfs7-.~d~.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Syne;font-style:normal;font-weight:700;font-display:swap;src:url(../media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Syne;font-style:normal;font-weight:700;font-display:swap;src:url(../media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Syne;font-style:normal;font-weight:800;font-display:swap;src:url(../media/ab624315db63c58d-s.1487dfs7-.~d~.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Syne;font-style:normal;font-weight:800;font-display:swap;src:url(../media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Syne;font-style:normal;font-weight:800;font-display:swap;src:url(../media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Syne Fallback;src:local(Arial);ascent-override:93.93%;descent-override:27.93%;line-gap-override:0.0%;size-adjust:98.47%}.syne_ef5854ac-module__2TJB3a__className{font-family:Syne,Syne Fallback;font-style:normal}.syne_ef5854ac-module__2TJB3a__variable{--font-syne:"Syne", "Syne Fallback"} -@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../media/c3cb240f9c892514-s.163v2i5cux7-c.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../media/c3cb240f9c892514-s.163v2i5cux7-c.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans Fallback;src:local(Arial);ascent-override:94.9%;descent-override:29.66%;line-gap-override:0.0%;size-adjust:104.53%}.dm_sans_2770e922-module__TdA3fW__className{font-family:DM Sans,DM Sans Fallback;font-style:normal}.dm_sans_2770e922-module__TdA3fW__variable{--font-dm-sans:"DM Sans", "DM Sans Fallback"} -@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.0%;size-adjust:107.12%}.inter_5dbe1e89-module__i9oJOa__className{font-family:Inter,Inter Fallback;font-style:normal}.inter_5dbe1e89-module__i9oJOa__variable{--font-inter:"Inter", "Inter Fallback"} -@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-full{width:100%;height:100%}.h-full{height:100%}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\[shimmer-sweep_6s_infinite_linear\]{animation:6s linear infinite shimmer-sweep}.resize{resize:both}.columns-4{columns:4}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.overflow-hidden{overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.bg-\[linear-gradient\(110deg\,\#ffffff\,45\%\,\#c01227\,55\%\,\#ffffff\)\]{background-image:linear-gradient(110deg,#fff,45%,#c01227,55%,#fff)}.bg-\[length\:250\%_100\%\]{background-size:250% 100%}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.text-wrap{text-wrap:wrap}.text-transparent{color:#0000}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}html{scroll-behavior:smooth}.body-container{overflow:visible!important}:root{--space-section:clamp(40px, 5vw, 64px);--space-section-lg:clamp(52px, 6vw, 80px);--space-hero-gap:clamp(36px, 4.5vw, 64px);--dm-mobile-gutter:10px}.dm-section{padding-top:var(--space-section)!important;padding-bottom:var(--space-section)!important}.dm-section-lg{padding-top:var(--space-section-lg)!important;padding-bottom:var(--space-section-lg)!important}.elementor-86 .elementor-element.elementor-element-88745f4{margin-top:var(--space-hero-gap)!important}.elementor.elementor-61 .elementor-element.elementor-element-30fd9d1,.elementor.elementor-61 .elementor-element.elementor-element-b62c0b3,.elementor.elementor-61 .elementor-element.elementor-element-89a0ca1,.elementor.elementor-61 .elementor-element.elementor-element-88745f4,.elementor.elementor-61 .elementor-element.elementor-element-bbc6760,.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc{margin-top:var(--space-section)!important;margin-bottom:0!important}html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}*,:before,:after{font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif}:not(i):not(svg):not(path):not(canvas):not(.fa):not(.fas):not(.far):not(.fab):not([class*=fa-]):not([class*=eicon-]):not([class*=fontello]){font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility}@media (min-width:1025px){#masthead .elementor-element.elementor-element-466de1b{padding:0 28px!important;top:5px!important}#masthead .elementor-element.elementor-element-e052838{background:0 0!important;border-radius:28px!important;margin-left:1.4%!important}#masthead .elementor-element.elementor-element-d681ece{align-items:center!important;min-height:104px!important}#masthead .elementor-element.elementor-element-472172e{padding-top:18px!important;padding-bottom:18px!important}#masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img{width:190px!important;height:auto!important;margin-left:24px!important}#masthead .elementor-element.elementor-element-e44ee7e,#masthead .elementor-element.elementor-element-f961133{padding-top:14px!important;padding-bottom:14px!important}#masthead .elementor-element.elementor-element-0b7bf6f>.elementor-widget-container{border-radius:22px!important;align-items:center!important;height:58px!important;padding:0 42px!important;display:flex!important}#masthead .elementor-element.elementor-element-0b7bf6f .header-menu-container .main-menu>li>a{white-space:nowrap!important;height:auto!important;min-height:auto!important;padding:6px 14px!important;font-size:15px!important;line-height:1.2!important}#masthead .header-menu-container .main-menu{gap:8px!important}#masthead .elementor-element.elementor-element-cabdb09 a.header-button{border-radius:24px!important;min-width:185px!important;min-height:58px!important;padding:0 34px!important;font-size:18px!important;line-height:58px!important}#masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled{border-radius:24px!important;width:auto!important;top:15px!important;left:20px!important;right:20px!important}}.dm-contact-section{color:#fff;background:#1f1f1f;grid-template-columns:minmax(0,1fr) minmax(420px,48%);min-height:720px;margin:0;display:grid;position:relative;overflow:hidden}.dm-contact-left{min-width:0;padding:clamp(48px,5vw,76px) clamp(28px,5vw,72px);position:relative;overflow:hidden}.dm-contact-map{z-index:0;opacity:.34;pointer-events:none;-webkit-user-select:none;user-select:none;width:min(980px,112%);max-width:none;position:absolute;bottom:-1%;left:-5%}.dm-contact-kicker,.dm-contact-title,.dm-contact-copy,.dm-contact-info{z-index:1;position:relative}.dm-contact-kicker{color:#fff;margin:0 0 clamp(44px,5vw,64px);font-size:clamp(16px,1.2vw,20px);font-weight:600;line-height:1.2}.dm-contact-title{color:#fff;letter-spacing:0;text-transform:uppercase;max-width:850px;margin:0;font-size:clamp(44px,5.2vw,86px);font-weight:400;line-height:1.18}.dm-contact-copy{color:#ffffffeb;margin:clamp(36px,4.5vw,58px) 0 0;font-size:clamp(18px,1.55vw,26px);font-weight:400;line-height:1.45}.dm-contact-info{grid-template-columns:minmax(180px,.85fr) minmax(260px,1.45fr);gap:clamp(32px,5vw,74px);max-width:860px;margin-top:clamp(72px,7vw,114px);display:grid}.dm-contact-info-item h3{color:#fff;margin:0 0 32px;font-size:clamp(18px,1.5vw,25px);font-weight:800;line-height:1.2}.dm-contact-info-item p{color:#fff;margin:0;font-size:clamp(17px,1.35vw,24px);font-weight:500;line-height:1.6}.dm-contact-card{color:#1b1b1b;background:#fff;border-radius:34px 34px 0 0;align-self:stretch;min-width:0;margin:22px 34px 0 0;padding:clamp(72px,7vw,132px) clamp(42px,7.2vw,150px) clamp(50px,5.5vw,82px)}.dm-contact-card h3{color:#1b1b1b;letter-spacing:0;margin:0 0 clamp(44px,5vw,68px);font-size:clamp(34px,2.6vw,45px);font-weight:800;line-height:1.1}.dm-contact-form{flex-direction:column;gap:28px;display:flex}.dm-contact-form label{margin:0;display:block}.dm-contact-form label>span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dm-contact-form input,.dm-contact-form textarea{color:#1b1b1b;width:100%;box-shadow:none;background:#fff;border:1.5px solid #a9a9a9;border-radius:14px;outline:none;margin:0;font-family:inherit;font-size:clamp(17px,1.05vw,20px);font-weight:500;line-height:1.4;transition:border-color .2s,box-shadow .2s}.dm-contact-form input{height:72px;padding:0 28px}.dm-contact-form textarea{resize:vertical;min-height:250px;padding:24px 28px}.dm-contact-form input::placeholder,.dm-contact-form textarea::placeholder{color:#9c9c9c;opacity:1}.dm-contact-form input:focus,.dm-contact-form textarea:focus{border-color:#c01227;box-shadow:0 0 0 3px #c012271c}.dm-contact-status{margin:-6px 0 0;font-size:15px;font-weight:700;line-height:1.4}.dm-contact-status-success{color:#247a3d}.dm-contact-status-error{color:#c01227}.dm-contact-submit{color:#2d2d2d;cursor:pointer;background:#fff;border:1.5px solid #e31d32;border-radius:14px;align-self:flex-start;align-items:stretch;height:72px;margin-top:26px;padding:0;font-family:inherit;font-size:clamp(16px,1.02vw,19px);font-weight:800;line-height:1;transition:transform .2s,border-color .2s,color .2s;display:inline-flex;overflow:hidden}.dm-contact-submit span:first-child{justify-content:center;align-items:center;min-width:220px;padding:0 34px;display:inline-flex}.dm-contact-submit-icon{background:#c01227;width:70px;min-width:70px;display:inline-flex;position:relative}.dm-contact-submit-icon:before,.dm-contact-submit-icon:after{content:"";background:#fff;position:absolute}.dm-contact-submit-icon:before{transform-origin:100%;width:28px;height:3px;top:35px;left:23px;transform:rotate(-45deg)}.dm-contact-submit-icon:after{background:0 0;border-top:3px solid #fff;border-right:3px solid #fff;width:16px;height:16px;top:25px;right:25px}.dm-contact-submit:hover,.dm-contact-submit:focus-visible{color:#111;border-color:#c01227;transform:translateY(-1px)}.dm-contact-submit:disabled{cursor:wait;opacity:.72}@media (max-width:1200px){.dm-contact-section{grid-template-columns:1fr}.dm-contact-left{min-height:640px}.dm-contact-card{border-radius:28px;margin:0 28px 40px}}@media (max-width:720px){.dm-contact-left{min-height:auto;padding:42px 20px 58px}.dm-contact-title{font-size:clamp(38px,12vw,58px)}.dm-contact-info{grid-template-columns:1fr;gap:42px;margin-top:54px}.dm-contact-info-item h3{margin-bottom:18px}.dm-contact-card{border-radius:28px;margin:0 20px 28px;padding:28px 20px 24px}.dm-contact-card h3{margin-bottom:24px}.dm-contact-form{gap:18px}.dm-contact-form input{height:56px;padding:0 18px}.dm-contact-form textarea{min-height:170px;padding:18px}.dm-contact-submit{width:100%;height:60px}.dm-contact-submit span:first-child{flex:auto;min-width:0;padding:0 20px}.dm-contact-submit-icon{width:60px;min-width:60px}}.industry-solutions-grid{grid-template-columns:repeat(3,1fr);gap:30px;width:100%;margin:30px 0 0;display:grid}@media (max-width:1024px){.industry-solutions-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.industry-solutions-grid{grid-template-columns:1fr}.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc{--padding-left:0px!important;--padding-right:0px!important;box-sizing:border-box!important;padding-left:0!important;padding-right:0!important}.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc>.e-con-inner{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}}@media (max-width:767px){.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc>.e-con-inner{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}.elementor.elementor-61 .elementor-element.elementor-element-d602f7f{box-sizing:border-box;--padding-left:20px!important;--padding-right:20px!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:20px!important;padding-right:20px!important}.elementor.elementor-61 .elementor-element.elementor-element-f64bd88,.elementor.elementor-61 .elementor-element.elementor-element-5ed2dbb,.elementor.elementor-61 .elementor-element.elementor-element-6829276{box-sizing:border-box;--padding-left:0px!important;--padding-right:0px!important;--margin-left:0px!important;--margin-right:0px!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}.elementor.elementor-61 .elementor-element.elementor-element-6829276{--e-con-grid-template-columns:minmax(0, 1fr)!important;--grid-justify-content:stretch!important;--justify-items:stretch!important;grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:stretch!important;min-width:0!important}.elementor.elementor-61 .industry-solutions-grid,.elementor.elementor-61 .industry-card-link{width:100%;min-width:0;max-width:100%}.elementor.elementor-61 .industry-solutions-grid{margin-left:0!important;margin-right:0!important}.elementor.elementor-61 .elementor-element.elementor-element-89a0ca1,.elementor.elementor-86 .elementor-element.elementor-element-c2c601a,.elementor.elementor-104 .elementor-element.elementor-element-c70681e{--padding-left:var(--dm-mobile-gutter)!important;--padding-right:var(--dm-mobile-gutter)!important;padding-left:var(--dm-mobile-gutter)!important;padding-right:var(--dm-mobile-gutter)!important;box-sizing:border-box!important}.elementor.elementor-61 .elementor-element.elementor-element-89a0ca1>.e-con-inner,.elementor.elementor-86 .elementor-element.elementor-element-c2c601a>.e-con-inner,.elementor.elementor-104 .elementor-element.elementor-element-c70681e>.e-con-inner{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}.elementor.elementor-61 .elementor-element.elementor-element-89a0ca1>.e-con-inner>.e-con,.elementor.elementor-86 .elementor-element.elementor-element-c2c601a>.e-con-inner>.e-con,.elementor.elementor-104 .elementor-element.elementor-element-c70681e>.e-con-inner>.e-con{--padding-left:0px!important;--padding-right:0px!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}.comparison-section .container{width:calc(100% - (var(--dm-mobile-gutter) * 2))!important;max-width:calc(100% - (var(--dm-mobile-gutter) * 2))!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}.wcd-inner{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}}.industry-card-link{background:#121212;border-radius:30px;height:600px;text-decoration:none;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s;display:block;position:relative;overflow:hidden;box-shadow:0 10px 30px #0000001f}.industry-card-link:after{content:"";z-index:6;pointer-events:none;border:1px solid #ffffff14;border-radius:30px;transition:border-color .4s;position:absolute;inset:0}@keyframes shimmer-sweep{0%{background-position:200%}to{background-position:-200%}}.industry-card-link:before{content:"";z-index:7;pointer-events:none;background:linear-gradient(90deg,#fff0 0%,#ffffff2e 50%,#fff0 100%);width:60%;height:100%;position:absolute;top:0;left:0;transform:translate(-150%)skew(-25deg)}.industry-card-link:hover:before{animation:1.2s cubic-bezier(.2,.8,.2,1) forwards shimmer-sweep}.industry-card-link:hover{transform:translateY(-5px);box-shadow:0 20px 40px #c0122740}.industry-card-link:hover:after{border-color:#ffffff40}.industry-card-bg{z-index:1;transition:transform .6s cubic-bezier(.2,.8,.2,1);position:absolute;inset:0}.industry-card-link:hover .industry-card-bg{transform:scale(1.04)}.industry-card-overlay{z-index:2;background:linear-gradient(#0000 0%,#0000004d 50%,#000000d9 100%);transition:opacity .4s cubic-bezier(.2,.8,.2,1);position:absolute;inset:0}.industry-card-link:hover .industry-card-overlay{opacity:0}.industry-card-hover-bg{z-index:3;opacity:0;background:linear-gradient(#d71428cc 0%,#c01227e0 100%);transition:opacity .4s cubic-bezier(.2,.8,.2,1);position:absolute;inset:0}.industry-card-link:hover .industry-card-hover-bg{opacity:1}.industry-card-default-content{z-index:4;opacity:1;transition:opacity .3s,transform .3s;position:absolute;bottom:40px;left:24px;transform:translateY(0)}.industry-card-link:hover .industry-card-default-content{opacity:0;transform:translateY(10px)}.industry-card-default-title{color:#fff!important;letter-spacing:-.3px!important;text-transform:none!important;font-size:22px!important;font-weight:700!important;line-height:1.2!important;font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important;margin:0!important}.industry-card-hover-content{z-index:5;opacity:0;pointer-events:none;flex-direction:column;justify-content:space-between;padding:40px 24px;transition:opacity .4s cubic-bezier(.2,.8,.2,1),transform .4s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;inset:0;transform:translateY(6px)}.industry-card-link:hover .industry-card-hover-content{opacity:1;pointer-events:auto;transform:translateY(0)}.industry-card-hover-top{flex-direction:column;gap:20px;display:flex}.industry-card-hover-top:before{content:"";background:#ffffff40;width:100%;height:1px;margin-bottom:5px;display:block}.industry-card-description{color:#fff!important;letter-spacing:-.2px!important;font-size:18px!important;font-weight:600!important;line-height:1.4!important;font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important;margin:0!important}.industry-card-section-title{color:#fff!important;letter-spacing:1.5px!important;text-transform:uppercase!important;opacity:.9!important;font-size:12px!important;font-weight:800!important;font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important;margin-bottom:10px!important}.industry-card-list{flex-direction:column!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important;display:flex!important}.industry-card-list-item{opacity:0;transition:opacity .3s cubic-bezier(.2,.8,.2,1),transform .3s cubic-bezier(.2,.8,.2,1);transform:translateY(5px);color:#ffffffe6!important;font-size:15px!important;line-height:1.4!important;font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important;padding-left:18px!important;position:relative!important}.industry-card-link:hover .industry-card-list-item{opacity:1;transform:translateY(0)}.industry-card-list-item.bullet-1{transition-delay:40ms}.industry-card-list-item.bullet-2{transition-delay:80ms}.industry-card-list-item.bullet-3{transition-delay:.12s}.industry-card-list-item.bullet-4{transition-delay:.16s}.industry-card-list-item.bullet-5{transition-delay:.2s}.industry-card-list-item.bullet-6{transition-delay:.24s}.industry-card-list-item:before{content:""!important;background-color:#fff!important;border-radius:50%!important;width:6px!important;height:6px!important;position:absolute!important;top:7px!important;left:0!important}.industry-card-hover-bottom{align-items:center;gap:15px;display:flex}.industry-card-hover-icon{color:#c01227;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;transition:transform .4s cubic-bezier(.2,.8,.2,1),background-color .3s,color .3s;display:flex;box-shadow:0 4px 10px #0000001a}.industry-card-link:hover .industry-card-hover-icon{color:#c01227;background-color:#fff;transform:scale(1.08)translateY(-2px)}.industry-card-hover-title{color:#fff!important;font-size:24px!important;font-weight:700!important;font-family:var(--font-manrope), "Manrope", system-ui, -apple-system, sans-serif!important;text-transform:none!important;letter-spacing:-.5px!important;margin:0!important}.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc{display:flex}.elementor.elementor-61 .elementor-element.elementor-element-3b4a7cc>.e-con-inner{box-sizing:border-box;flex-direction:column;width:100%;max-width:1480px;margin-left:auto;margin-right:auto;display:flex;padding-left:clamp(20px,4vw,50px)!important;padding-right:clamp(20px,4vw,50px)!important}.dm-section-container{box-sizing:border-box;width:100%;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}@media (max-width:1024px){.dm-section-container{padding-left:var(--dm-mobile-gutter,10px);padding-right:var(--dm-mobile-gutter,10px)}}@media (min-width:1025px){.wings-hero-page.elementor-element-741f56c,.af-hero-page.elementor-element-741f56c{--padding-top:20px;--padding-right:20px;--padding-bottom:20px;--padding-left:20px;padding:20px!important}}.custom-standard-hero-container{box-sizing:border-box!important;flex-direction:column!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:20px!important;display:flex!important;position:relative!important}.custom-standard-hero-card{width:100%!important;height:800px!important;min-height:800px!important;box-shadow:none!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important;border-radius:25px!important;justify-content:center!important;align-items:center!important;margin:0!important;display:flex!important;position:relative!important;overflow:hidden!important}.custom-standard-hero-card:before{content:""!important;background:var(--hero-overlay,linear-gradient(to bottom, #00000073 0%, #000000c7 55%, #000000f2 100%))!important;z-index:1!important;position:absolute!important;inset:0!important}.custom-standard-hero-card>*{z-index:2!important;position:relative!important}@media (max-width:1024px){.custom-standard-hero-container{padding:0 10px 10px!important}}@media (max-width:840px){.custom-standard-hero-card{border-radius:22px!important;height:600px!important;min-height:600px!important}body .elementor .elementor-element.elementor-element-741f56c,body .custom-standard-hero-container,body .miletruth-hero .elementor-element.elementor-element-86f3204{width:100%!important;max-width:100%!important;padding:0 var(--dm-mobile-gutter) var(--dm-mobile-gutter) var(--dm-mobile-gutter)!important;--padding-top:0px!important;--padding-right:var(--dm-mobile-gutter)!important;--padding-bottom:var(--dm-mobile-gutter)!important;--padding-left:var(--dm-mobile-gutter)!important;--padding-block-start:0px!important;box-sizing:border-box!important;border-radius:0!important;margin-top:0!important;margin-bottom:0!important;overflow:visible!important}body .elementor .elementor-element.elementor-element-6c7cbcb .owl-stage-outer,body .custom-standard-hero-card,body .miletruth-hero .miletruth-hero-container{box-sizing:border-box!important;border-radius:25px!important;width:100%!important;height:600px!important;min-height:600px!important;margin-top:0!important;margin-bottom:0!important;overflow:hidden!important}body .elementor .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item,body .elementor .elementor-element.elementor-element-6c7cbcb .content-item,body .miletruth-hero .slide-content{height:600px!important;min-height:600px!important}body .elementor .elementor-element.elementor-element-741f56c+*,body .custom-standard-hero-container+*,body .elementor-63.miletruth-hero+*{margin-top:0!important}}@media (max-width:480px){body .elementor .elementor-element.elementor-element-6c7cbcb .owl-stage-outer,body .custom-standard-hero-card,body .miletruth-hero .miletruth-hero-container{border-radius:25px!important;height:520px!important;min-height:520px!important;margin-top:7px!important}body .elementor .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item,body .elementor .elementor-element.elementor-element-6c7cbcb .content-item,body .miletruth-hero .slide-content{height:520px!important;min-height:520px!important}body .miletruth-hero .miletruth-hero-container{padding-top:60px!important;padding-bottom:60px!important}}@media (max-width:1024px){.elementor-element.elementor-element-741f56c{--padding-top:0px!important;--padding-block-start:0px!important;padding-top:0!important}.miletruth-hero-container{margin-top:0!important}.elementor-86 #women-entrepreneurship.elementor-element-bbc6760,.elementor-86 .comparison-section,.elementor-86 .elementor-element.elementor-element-bbc6760:not(#women-entrepreneurship),.elementor-86 .elementor-element.elementor-element-c2c601a,.elementor-59 .elementor-element.elementor-element-bbc6760,.elementor-104 .elementor-element.elementor-element-c70681e{margin-top:var(--space-section)!important;margin-bottom:0!important}.elementor-59 .elementor-element.elementor-element-3b4a7cc{margin-top:var(--space-hero-gap)!important;margin-bottom:0!important}.elementor-86 .elementor-element.elementor-element-88745f4:first-of-type{margin-top:var(--space-hero-gap)!important}.elementor-86 .elementor-element.elementor-element-88745f4~.elementor-element.elementor-element-88745f4{margin-top:var(--space-section)!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false} diff --git a/.next/static/chunks/144so~-zgdm9_.css b/.next/static/chunks/144so~-zgdm9_.css deleted file mode 100644 index 0e24e67..0000000 --- a/.next/static/chunks/144so~-zgdm9_.css +++ /dev/null @@ -1,2 +0,0 @@ -.WingsHowItWorks-module__yyfdHG__section{background:linear-gradient(#fbfaf7 0%,#f5f2ec 100%);border-radius:30px;margin-bottom:40px;margin-left:24px;margin-right:24px;padding:clamp(56px,7vw,96px) 0 clamp(80px,8vw,120px);position:relative;overflow:hidden}.WingsHowItWorks-module__yyfdHG__sectionShell{box-sizing:border-box;width:100%;max-width:1420px;margin:0 auto;padding:0 5vw;position:relative}@media (max-width:1024px){.WingsHowItWorks-module__yyfdHG__sectionShell{padding:0 24px}}.WingsHowItWorks-module__yyfdHG__headerRow{justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:clamp(48px,6vw,88px);display:flex}.WingsHowItWorks-module__yyfdHG__header{text-align:left;max-width:780px;margin:0}.WingsHowItWorks-module__yyfdHG__eyebrow{letter-spacing:1.5px;text-transform:lowercase;color:#14120f80;margin-bottom:22px;font-size:12px;font-weight:700}.WingsHowItWorks-module__yyfdHG__title{margin:0;letter-spacing:-.01em!important;text-transform:uppercase!important;color:#17140f!important;font-size:clamp(32px,4.6vw,68px)!important;font-weight:800!important;line-height:1.02!important}.WingsHowItWorks-module__yyfdHG__progress{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:10px;margin-top:4px;display:flex}.WingsHowItWorks-module__yyfdHG__progressCount{letter-spacing:.5px;color:#17140f;white-space:nowrap;font-size:13px;font-weight:700}.WingsHowItWorks-module__yyfdHG__progressTrack{background:#17140f1f;border-radius:2px;width:110px;height:2px;position:relative;overflow:hidden}.WingsHowItWorks-module__yyfdHG__progressFill{background:#c8102e;height:100%;transition:width .5s cubic-bezier(.16,1,.3,1);position:absolute;top:0;left:0}.WingsHowItWorks-module__yyfdHG__flow{align-items:stretch;width:100%;display:flex}.WingsHowItWorks-module__yyfdHG__step{cursor:pointer;border-left:1px solid #17140f24;flex:1 1 0;grid-template-rows:auto 1fr auto;min-width:0;min-height:clamp(200px,18vw,260px);padding:0 32px;display:grid;position:relative}.WingsHowItWorks-module__yyfdHG__step:first-child{border-left:none;padding-left:0}.WingsHowItWorks-module__yyfdHG__step:last-child{padding-right:0}.WingsHowItWorks-module__yyfdHG__step:focus-visible{outline-offset:8px;border-radius:4px;outline:2px solid #c8102e8c}.WingsHowItWorks-module__yyfdHG__stepTop{align-items:flex-start;gap:8px;display:flex}.WingsHowItWorks-module__yyfdHG__stepNum{letter-spacing:-.02em;color:#0000;-webkit-text-stroke:1.5px #17140f38;font-size:clamp(44px,5.1vw,92px);font-weight:800;line-height:.85;transition:-webkit-text-stroke-color .4s,filter .4s}.WingsHowItWorks-module__yyfdHG__stepActive .WingsHowItWorks-module__yyfdHG__stepNum{-webkit-text-stroke-color:#c8102e;filter:drop-shadow(0 0 14px #c8102e2e)}.WingsHowItWorks-module__yyfdHG__stepTag{letter-spacing:2px;text-transform:uppercase;color:#17140f66;align-items:center;gap:6px;margin-top:6px;font-size:10.5px;font-weight:700;transition:color .4s;display:flex}.WingsHowItWorks-module__yyfdHG__stepIcon{color:inherit;justify-content:center;align-items:center;display:flex}.WingsHowItWorks-module__yyfdHG__stepActive .WingsHowItWorks-module__yyfdHG__stepTag{color:#c8102e}.WingsHowItWorks-module__yyfdHG__stepBottom{align-self:end;max-width:280px}.WingsHowItWorks-module__yyfdHG__stepTitle{text-transform:none!important;color:#17140f!important;margin:0 0 10px!important;font-size:19px!important;font-weight:700!important;line-height:1.3!important}.WingsHowItWorks-module__yyfdHG__stepDesc{color:#17140f8c;margin:0;font-size:13.5px;line-height:1.65}@media (min-width:1200px){.WingsHowItWorks-module__yyfdHG__step:nth-child(4) .WingsHowItWorks-module__yyfdHG__stepBottom,.WingsHowItWorks-module__yyfdHG__step:nth-child(5) .WingsHowItWorks-module__yyfdHG__stepBottom{min-height:102px}}@media (max-width:1024px){.WingsHowItWorks-module__yyfdHG__headerRow{flex-direction:column;align-items:flex-start;gap:24px}.WingsHowItWorks-module__yyfdHG__progress{align-items:flex-start}.WingsHowItWorks-module__yyfdHG__flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px;display:grid}.WingsHowItWorks-module__yyfdHG__step{border-left:none;flex:none;min-height:0;padding:0;display:block}.WingsHowItWorks-module__yyfdHG__stepBottom{max-width:none;margin-top:24px}.WingsHowItWorks-module__yyfdHG__step:nth-child(n+3){border-top:1px solid #17140f24;padding-top:28px}.WingsHowItWorks-module__yyfdHG__flow>.WingsHowItWorks-module__yyfdHG__step:last-child{grid-column:1/-1}}@media (max-width:600px){.WingsHowItWorks-module__yyfdHG__section{margin-left:var(--dm-mobile-gutter,10px);margin-right:var(--dm-mobile-gutter,10px);padding-top:44px;padding-bottom:44px}.WingsHowItWorks-module__yyfdHG__sectionShell{padding-left:10px;padding-right:10px}.WingsHowItWorks-module__yyfdHG__flow{flex-direction:column;display:flex}.WingsHowItWorks-module__yyfdHG__step{padding:28px 0}.WingsHowItWorks-module__yyfdHG__step:first-child{padding-top:0}.WingsHowItWorks-module__yyfdHG__step:not(:first-child){border-top:1px solid #17140f24}.WingsHowItWorks-module__yyfdHG__step:last-child{padding-bottom:0}} -.WingsInfrastructure-module__akH2-q__section{padding:var(--space-section-lg,100px) 0;background:#09090b;border-radius:30px;margin-bottom:30px;margin-left:24px;margin-right:24px;position:relative;overflow:hidden}.WingsInfrastructure-module__akH2-q__section:before{content:"";aspect-ratio:1;filter:blur(8px);pointer-events:none;z-index:0;background:radial-gradient(circle,#ffffff0d 0%,#c8102e0d 40%,#0000 68%);width:58%;animation:14s ease-in-out infinite alternate WingsInfrastructure-module__akH2-q__infraGlowDrift;position:absolute;top:-18%;left:50%;transform:translate(-50%)}.WingsInfrastructure-module__akH2-q__section:after{content:"";pointer-events:none;z-index:0;background:radial-gradient(120% 90% at 50% 0,#0000 50%,#00000080 100%);position:absolute;inset:0}@keyframes WingsInfrastructure-module__akH2-q__infraGlowDrift{0%{opacity:.7;transform:translate(-52%)translateY(0)}to{opacity:1;transform:translate(-48%)translateY(10px)}}@media (prefers-reduced-motion:reduce){.WingsInfrastructure-module__akH2-q__section:before{animation:none}}.WingsInfrastructure-module__akH2-q__sectionShell{box-sizing:border-box;z-index:1;width:100%;max-width:1420px;margin:0 auto;padding:0 5vw;position:relative}@media (max-width:1024px){.WingsInfrastructure-module__akH2-q__sectionShell{padding:0 24px}}.WingsInfrastructure-module__akH2-q__header{text-align:center;width:100%;max-width:700px;margin:0 auto 56px}.WingsInfrastructure-module__akH2-q__eyebrow{letter-spacing:2px;text-transform:uppercase;color:#ffffff73;margin-bottom:16px;font-size:13px;font-weight:700}.WingsInfrastructure-module__akH2-q__title{margin:0;letter-spacing:-.03em!important;text-transform:none!important;color:#fff!important;font-size:clamp(28px,3.2vw,46px)!important;font-weight:800!important;line-height:1.15!important}.WingsInfrastructure-module__akH2-q__grid{align-items:flex-start;width:100%;display:flex}.WingsInfrastructure-module__akH2-q__card{border-left:1px solid #ffffff17;flex:1 1 0;min-width:0;padding:0 30px;transition:border-color .4s}.WingsInfrastructure-module__akH2-q__card:first-child{border-left:none;padding-left:0}.WingsInfrastructure-module__akH2-q__icon{color:#ffffff8c;border:1px solid #ffffff24;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:26px;transition:border-color .4s,color .4s,background-color .4s,box-shadow .4s;display:flex}.WingsInfrastructure-module__akH2-q__card:hover .WingsInfrastructure-module__akH2-q__icon{color:#fff;background:#c8102e1f;border-color:#c8102e8c;box-shadow:0 0 18px #c8102e47}.WingsInfrastructure-module__akH2-q__cardTitle{margin:0 0 10px;transition:color .4s;text-transform:none!important;color:#ffffffd1!important;font-size:17px!important;font-weight:700!important;line-height:1.3!important}.WingsInfrastructure-module__akH2-q__card:hover .WingsInfrastructure-module__akH2-q__cardTitle{color:#fff!important}.WingsInfrastructure-module__akH2-q__cardDesc{color:#ffffff73;margin:0;font-size:16px;line-height:1.6;transition:color .4s}.WingsInfrastructure-module__akH2-q__card:hover .WingsInfrastructure-module__akH2-q__cardDesc{color:#ffffff9e}@media (max-width:1024px){.WingsInfrastructure-module__akH2-q__section{padding:var(--space-section,64px) 0}.WingsInfrastructure-module__akH2-q__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px;display:grid}.WingsInfrastructure-module__akH2-q__card{border-left:none;padding:0}.WingsInfrastructure-module__akH2-q__card:nth-child(n+3){border-top:1px solid #ffffff17;padding-top:28px}}@media (max-width:600px){.WingsInfrastructure-module__akH2-q__section{margin-left:var(--dm-mobile-gutter,10px);margin-right:var(--dm-mobile-gutter,10px);padding-top:44px;padding-bottom:44px}.WingsInfrastructure-module__akH2-q__sectionShell{padding-left:10px;padding-right:10px}.WingsInfrastructure-module__akH2-q__grid{flex-direction:column;display:flex}.WingsInfrastructure-module__akH2-q__card{padding:28px 0}.WingsInfrastructure-module__akH2-q__card:first-child{padding-top:0}.WingsInfrastructure-module__akH2-q__card:not(:first-child){border-top:1px solid #ffffff17}.WingsInfrastructure-module__akH2-q__card:last-child{padding-bottom:0}} diff --git a/.next/static/chunks/14_678uuyq.tf.js b/.next/static/chunks/14_678uuyq.tf.js deleted file mode 100644 index 40b2a9f..0000000 --- a/.next/static/chunks/14_678uuyq.tf.js +++ /dev/null @@ -1,2 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12718,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvariantError",{enumerable:!0,get:function(){return n}});class n extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},64893,(e,t,r)=>{"use strict";var n=e.r(74080),a={stream:!0},l=Object.prototype.hasOwnProperty;function u(t){var r=e.r(t);return"function"!=typeof r.then||"fulfilled"===r.status?null:(r.then(function(e){r.status="fulfilled",r.value=e},function(e){r.status="rejected",r.reason=e}),r)}var i=new WeakSet,o=new WeakSet;function c(){}function s(t){for(var r=t[1],n=[],a=0;af||35===f||114===f||120===f?(h=f,f=3,c++):(h=0,f=3);continue;case 2:44===(g=o[c++])?f=4:p=p<<4|(96o.length&&(g=-1)}var E=o.byteOffset+c;if(-1{"use strict";t.exports=e.r(64893)},35326,(e,t,r)=>{"use strict";t.exports=e.r(21413)},76963,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return a}});var n,a=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68391,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return u},isRedirectError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(76963),u="NEXT_REDIRECT";function i(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,a=t.slice(2,-2).join(";"),i=Number(t.at(-2));return r===u&&("replace"===n||"push"===n)&&"string"==typeof a&&!isNaN(i)&&i in l.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90809,(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=l?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(a,u,i):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a}},21768,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_HEADER:function(){return u},FLIGHT_HEADERS:function(){return _},NEXT_ACTION_NOT_FOUND_HEADER:function(){return S},NEXT_ACTION_REVALIDATED_HEADER:function(){return O},NEXT_DID_POSTPONE_HEADER:function(){return v},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return s},NEXT_HTML_REQUEST_ID_HEADER:function(){return T},NEXT_INSTANT_PREFETCH_HEADER:function(){return p},NEXT_INSTANT_TEST_COOKIE:function(){return y},NEXT_IS_PRERENDER_HEADER:function(){return P},NEXT_REQUEST_ID_HEADER:function(){return b},NEXT_REWRITTEN_PATH_HEADER:function(){return R},NEXT_REWRITTEN_QUERY_HEADER:function(){return m},NEXT_ROUTER_PREFETCH_HEADER:function(){return o},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return c},NEXT_ROUTER_STALE_TIME_HEADER:function(){return E},NEXT_ROUTER_STATE_TREE_HEADER:function(){return i},NEXT_RSC_UNION_QUERY:function(){return g},NEXT_URL:function(){return d},RSC_CONTENT_TYPE_HEADER:function(){return h},RSC_HEADER:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l="rsc",u="next-action",i="next-router-state-tree",o="next-router-prefetch",c="next-router-segment-prefetch",s="next-hmr-refresh",f="__next_hmr_refresh_hash__",d="next-url",h="text/x-component",p="next-instant-navigation-testing-prefetch",y="next-instant-navigation-testing",_=[l,i,o,s,c],g="_rsc",E="x-nextjs-stale-time",v="x-nextjs-postponed",R="x-nextjs-rewritten-path",m="x-nextjs-rewritten-query",P="x-nextjs-prerender",S="x-nextjs-action-not-found",b="x-nextjs-request-id",T="x-nextjs-html-request-id",O="x-action-revalidated";("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39470,(e,t,r)=>{"use strict";function n(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createPromiseWithResolvers",{enumerable:!0,get:function(){return n}})},51191,(e,t,r)=>{"use strict";function n(e,t=!0){return e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26935,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return n}});let n=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},82604,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return l.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return i},getBotType:function(){return s},isBot:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(26935),u=/Googlebot(?!-)|Googlebot$/i,i=l.HTML_LIMITED_BOT_UA_RE.source;function o(e){return l.HTML_LIMITED_BOT_UA_RE.test(e)}function c(e){return u.test(e)||o(e)}function s(e){return u.test(e)?"dom":o(e)?"html":void 0}},8372,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={AppRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return o},LayoutRouterContext:function(){return i},MissingSlotContext:function(){return s},TemplateContext:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(55682)._(e.r(71645)),u=l.default.createContext(null),i=l.default.createContext(null),o=l.default.createContext(null),c=l.default.createContext(null),s=l.default.createContext(new Set)},88540,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,l={ACTION_HMR_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return o},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return c},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return s},PrefetchKind:function(){return h},ScrollBehavior:function(){return p}};for(var u in l)Object.defineProperty(r,u,{enumerable:!0,get:l[u]});let i="refresh",o="navigate",c="restore",s="server-patch",f="hmr-refresh",d="server-action";var h=((n={}).AUTO="auto",n.FULL="full",n),p=((a={})[a.Default=0]="Default",a[a.NoScroll=1]="NoScroll",a);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},64245,(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isThenable",{enumerable:!0,get:function(){return n}})},41538,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={dispatchAppRouterAction:function(){return c},dispatchGestureState:function(){return f},refreshOnInstantNavigationUnlock:function(){return o},useActionQueue:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(90809)._(e.r(71645)),u=e.r(64245);e.r(88540);let i=null;function o(){}function c(e){if(null===i)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});i(e)}let s=null;function f(e){if(null===s)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});s(e)}function d(e){let[t,r]=l.default.useState(e.state),[n,a]=(0,l.useOptimistic)(t);"u">typeof window&&(s=a),"u">typeof window&&(i=t=>e.dispatch(t,r));let o=(0,l.useMemo)(()=>n,[n]);return(0,u.isThenable)(o)?(0,l.use)(o):o}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32120,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"callServer",{enumerable:!0,get:function(){return u}});let n=e.r(71645),a=e.r(88540),l=e.r(41538);async function u(e,t){return new Promise((r,u)=>{(0,n.startTransition)(()=>{(0,l.dispatchAppRouterAction)({type:a.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:r,reject:u})})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92245,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findSourceMapURL",{enumerable:!0,get:function(){return n}});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13258,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DEFAULT_SEGMENT_KEY:function(){return f},NOT_FOUND_SEGMENT_KEY:function(){return d},PAGE_SEGMENT_KEY:function(){return s},addSearchParamsIfPageSegment:function(){return o},computeSelectedLayoutSegment:function(){return c},getSegmentValue:function(){return l},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,a=[]){let u;if(n)u=t[1][r];else{let e=t[1];u=e.children??Object.values(e)[0]}if(!u)return a;let i=l(u[0]);return!i||i.startsWith(s)?a:(a.push(i),e(u,r,!1,a))}},isGroupSegment:function(){return u},isParallelRouteSegment:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(e){return Array.isArray(e)?e[1]:e}function u(e){return"("===e[0]&&e.endsWith(")")}function i(e){return e.startsWith("@")&&"@children"!==e}function o(e,t){if(e.includes(s)){let e=JSON.stringify(t);return"{}"!==e?s+"?"+e:s}return e}function c(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===f?null:r}let s="__PAGE__",f="__DEFAULT__",d="/_not-found"},67764,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HEAD_REQUEST_KEY:function(){return i},ROOT_SEGMENT_REQUEST_KEY:function(){return u},appendSegmentRequestKeyPart:function(){return c},convertSegmentPathToStaticExportFilename:function(){return d},createSegmentRequestKeyPart:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(13258),u="",i="/_head";function o(e){if("string"==typeof e)return e.startsWith(l.PAGE_SEGMENT_KEY)?l.PAGE_SEGMENT_KEY:"/_not-found"===e?"_not-found":f(e);let t=e[0];return"$"+e[2]+"$"+f(t)}function c(e,t,r){return e+"/"+("children"===t?r:`@${f(t)}/${r}`)}let s=/^[a-zA-Z0-9\-_@]+$/;function f(e){return s.test(e)?e:"!"+btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function d(e){return`__next${e.replace(/\//g,".")}.txt`}},33906,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={doesStaticSegmentAppearInURL:function(){return d},getCacheKeyForDynamicParam:function(){return h},getParamValueFromCacheKey:function(){return y},getRenderedPathname:function(){return c},getRenderedSearch:function(){return o},parseDynamicParamFromURLPart:function(){return f},urlSearchParamsToParsedUrlQuery:function(){return _},urlToUrlWithoutFlightMarker:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(13258),u=e.r(67764),i=e.r(21768);function o(e){let t=e.headers.get(i.NEXT_REWRITTEN_QUERY_HEADER);return null!==t?""===t?"":"?"+t:p(new URL(e.url)).search}function c(e){return e.headers.get(i.NEXT_REWRITTEN_PATH_HEADER)??p(new URL(e.url)).pathname}function s(e){try{return encodeURIComponent(decodeURIComponent(e))}catch{return e}}function f(e,t,r){switch(e){case"c":return rs(e)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let n=e.length-2;return r0===t?s(e.slice(n)):s(e)):[]}case"oc":return rs(e)):null;case"d":if(r>=t.length)return"";return s(t[r]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let n=e.length-2;if(r>=t.length)return"";return s(t[r].slice(n))}default:return""}}function d(e){return!(e===u.ROOT_SEGMENT_REQUEST_KEY||e.startsWith(l.PAGE_SEGMENT_KEY)||"("===e[0]&&e.endsWith(")"))&&e!==l.DEFAULT_SEGMENT_KEY&&"/_not-found"!==e}function h(e,t){return"string"==typeof e?(0,l.addSearchParamsIfPageSegment)(e,Object.fromEntries(new URLSearchParams(t))):null===e?"":e.join("/")}function p(e){let t=new URL(e);return t.searchParams.delete(i.NEXT_RSC_UNION_QUERY),t}function y(e,t){return"c"===t||"oc"===t?e.split("/"):e}function _(e){let t={};for(let[r,n]of e.entries())void 0===t[r]?t[r]=n:Array.isArray(t[r])?t[r].push(n):t[r]=[t[r],n];return t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},50590,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createInitialRSCPayloadFromFallbackPrerender:function(){return c},getFlightDataPartsFromPath:function(){return o},getNextFlightSegmentPath:function(){return s},normalizeFlightData:function(){return f},prepareFlightRouterStateForRequest:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(13258),u=e.r(33906),i=e.r(51191);function o(e){let[t,r,n,a]=e.slice(-4),l=e.slice(0,-4);return{pathToSegment:l.slice(0,-1),segmentPath:l,segment:l[l.length-1]??"",tree:t,seedData:r,head:n,isHeadPartial:a,isRootRender:4===e.length}}function c(e,t){let r=(0,u.getRenderedPathname)(e),n=(0,u.getRenderedSearch)(e),a=(0,i.createHrefFromUrl)(new URL(location.href)),l=t.f[0],o=l[0],c={c:a.split("/"),q:n,i:t.i,f:[[function e(t,r,n,a){let l,i,o=t[0];if("string"==typeof o)l=o,i=(0,u.doesStaticSegmentAppearInURL)(o);else{let e=o[0],t=o[2],c=o[3],s=(0,u.parseDynamicParamFromURLPart)(t,n,a);l=[e,(0,u.getCacheKeyForDynamicParam)(s,r),t,c],i=!0}let c=i?a+1:a,s=t[1],f={};for(let t in s){let a=s[t];f[t]=e(a,r,n,c)}return[l,f,null,t[3],t[4]]}(o,n,r.split("/").filter(e=>""!==e),0),l[1],l[2],l[2]]],m:t.m,G:t.G,S:t.S,h:t.h};return t.b&&(c.b=t.b),c}function s(e){return e.slice(2)}function f(e){return"string"==typeof e?e:e.map(e=>o(e))}function d(e,t){return t?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(JSON.stringify(function e(t){let[r,n,a,u,i]=t,o=function(e){if("string"==typeof e)return e.startsWith(l.PAGE_SEGMENT_KEY+"?")?l.PAGE_SEGMENT_KEY:e;let[t,r,n]=e;return[t,r,n,null]}(r),c={};for(let[t,r]of Object.entries(n))c[t]=e(r);let s=[o,c];return u&&(s[2]=null,s[3]=u),void 0!==i&&(s[4]=i),s}(e)))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19921,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={djb2Hash:function(){return l},hexHash:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(e){let t=5381;for(let r=0;r>>0}function u(e){return l(e).toString(36).slice(0,5)}},86051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={computeCacheBustingSearchParam:function(){return s},computeLegacyCacheBustingSearchParam:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(19921),u=new TextEncoder;function i(e){return void 0===e?"0":Array.isArray(e)?e.join(","):e}function o(e,t,r,n){return(void 0===e||"0"===e)&&void 0===t&&void 0===r&&void 0===n?null:[e??"0",i(t),i(r),i(n)].join(",")}async function c(e){var t=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",u.encode(e))).subarray(0,12);let r="";for(let e=0;e{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={setCacheBustingSearchParam:function(){return o},setCacheBustingSearchParamWithHash:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(86051),u=e.r(21768);async function i(e){return"function"==typeof globalThis.crypto?.subtle?.digest?(0,l.computeCacheBustingSearchParam)(e[u.NEXT_ROUTER_PREFETCH_HEADER],e[u.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[u.NEXT_ROUTER_STATE_TREE_HEADER],e[u.NEXT_URL]):(0,l.computeLegacyCacheBustingSearchParam)(e[u.NEXT_ROUTER_PREFETCH_HEADER],e[u.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[u.NEXT_ROUTER_STATE_TREE_HEADER],e[u.NEXT_URL])}let o=async(e,t)=>{c(e,await i(t))},c=(e,t)=>{let r=e.search,n=(r.startsWith("?")?r.slice(1):r).split("&").filter(e=>e&&!e.startsWith(`${u.NEXT_RSC_UNION_QUERY}=`));t.length>0?n.push(`${u.NEXT_RSC_UNION_QUERY}=${t}`):n.push(`${u.NEXT_RSC_UNION_QUERY}`),e.search=n.length?`?${n.join("&")}`:""};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32992,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getNavigationBuildId:function(){return i},setNavigationBuildId:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l="";function u(e){l=e}function i(){return l}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63416,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_SUFFIX:function(){return _},APP_DIR_ALIAS:function(){return V},CACHE_ONE_YEAR_SECONDS:function(){return j},DOT_NEXT_ALIAS:function(){return k},ESLINT_DEFAULT_DIRS:function(){return ei},GSP_NO_RETURNED_VALUE:function(){return et},GSSP_COMPONENT_MEMBER_ERROR:function(){return ea},GSSP_NO_RETURNED_VALUE:function(){return er},HTML_CONTENT_TYPE_HEADER:function(){return u},INFINITE_CACHE:function(){return M},INSTRUMENTATION_HOOK_FILENAME:function(){return x},JSON_CONTENT_TYPE_HEADER:function(){return i},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return D},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return v},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return N},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return P},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return S},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return C},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return w},NEXT_CACHE_TAGS_HEADER:function(){return m},NEXT_CACHE_TAG_MAX_ITEMS:function(){return O},NEXT_CACHE_TAG_MAX_LENGTH:function(){return A},NEXT_DATA_SUFFIX:function(){return g},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return c},NEXT_META_SUFFIX:function(){return E},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return R},NEXT_QUERY_PARAM_PREFIX:function(){return o},NEXT_RESUME_HEADER:function(){return b},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return T},NON_STANDARD_NODE_ENV:function(){return el},PAGES_DIR_ALIAS:function(){return L},PRERENDER_REVALIDATE_HEADER:function(){return f},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return d},PROXY_FILENAME:function(){return F},PROXY_LOCATION_REGEXP:function(){return U},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return W},ROOT_DIR_ALIAS:function(){return H},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Y},RSC_ACTION_ENCRYPTION_ALIAS:function(){return q},RSC_ACTION_PROXY_ALIAS:function(){return $},RSC_ACTION_VALIDATE_ALIAS:function(){return X},RSC_CACHE_WRAPPER_ALIAS:function(){return K},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return G},RSC_MOD_REF_PROXY_ALIAS:function(){return B},RSC_SEGMENTS_DIR_SUFFIX:function(){return h},RSC_SEGMENT_SUFFIX:function(){return p},RSC_SUFFIX:function(){return y},SERVER_PROPS_EXPORT_ERROR:function(){return ee},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Q},SERVER_PROPS_SSG_CONFLICT:function(){return J},SERVER_RUNTIME:function(){return eo},SSG_FALLBACK_EXPORT_ERROR:function(){return eu},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return z},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Z},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return l},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return en},WEBPACK_LAYERS:function(){return ef},WEBPACK_RESOURCE_QUERIES:function(){return ed},WEB_SOCKET_MAX_RECONNECTIONS:function(){return ec}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l="text/plain",u="text/html; charset=utf-8",i="application/json; charset=utf-8",o="nxtP",c="nxtI",s="x-matched-path",f="x-prerender-revalidate",d="x-prerender-revalidate-if-generated",h=".segments",p=".segment.rsc",y=".rsc",_=".action",g=".json",E=".meta",v=".body",R="x-nextjs-deployment-id",m="x-next-cache-tags",P="x-next-revalidated-tags",S="x-next-revalidate-tag-token",b="next-resume",T="x-next-resume-state-length",O=128,A=256,w=1024,N="_N_T_",C="_N_RP_",j=31536e3,M=0xfffffffe,D="middleware",I=`(?:src/)?${D}`,F="proxy",U=`(?:src/)?${F}`,x="instrumentation",L="private-next-pages",k="private-dot-next",H="private-next-root-dir",V="private-next-app-dir",B="private-next-rsc-mod-ref-proxy",X="private-next-rsc-action-validate",$="private-next-rsc-server-reference",K="private-next-rsc-cache-wrapper",G="private-next-rsc-track-dynamic-import",q="private-next-rsc-action-encryption",Y="private-next-rsc-action-client-wrapper",W="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",z="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Q="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",J="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Z="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",ee="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",et="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",er="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",en="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",ea="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",el='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',eu="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ei=["app","pages","components","lib","src"],eo={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},ec=12,es={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},ef={...es,GROUP:{builtinReact:[es.reactServerComponents,es.actionBrowser],serverOnly:[es.reactServerComponents,es.actionBrowser,es.instrument,es.middleware],neutralTarget:[es.apiNode,es.apiEdge],clientOnly:[es.serverSideRendering,es.appPagesBrowser],bundled:[es.reactServerComponents,es.actionBrowser,es.serverSideRendering,es.appPagesBrowser,es.shared,es.instrument,es.middleware],appPages:[es.reactServerComponents,es.serverSideRendering,es.appPagesBrowser,es.actionBrowser]}},ed={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},6372,(e,t,r)=>{"use strict";function n(e){return(e.then(a),"fulfilled"!==e.status)?null:e.value}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"readVaryParams",{enumerable:!0,get:function(){return n}});let a=()=>{}},22744,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PrefetchHint",{enumerable:!0,get:function(){return a}});var n,a=((n={})[n.HasRuntimePrefetch=1]="HasRuntimePrefetch",n[n.SubtreeHasInstant=2]="SubtreeHasInstant",n[n.SegmentHasLoadingBoundary=4]="SegmentHasLoadingBoundary",n[n.SubtreeHasLoadingBoundary=8]="SubtreeHasLoadingBoundary",n[n.IsRootLayout=16]="IsRootLayout",n[n.ParentInlinedIntoSelf=32]="ParentInlinedIntoSelf",n[n.InlinedIntoChild=64]="InlinedIntoChild",n[n.HeadInlinedIntoSelf=128]="HeadInlinedIntoSelf",n[n.HeadOutlined=256]="HeadOutlined",n)},56019,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"matchSegment",{enumerable:!0,get:function(){return n}});let n=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1];("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77048,(e,t,r)=>{"use strict";function n(e,t){let r=new URL(e);return{pathname:r.pathname,search:r.search,nextUrl:t}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createCacheKey",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},9396,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,l,u={FetchStrategy:function(){return s},NavigationResultTag:function(){return o},PrefetchPriority:function(){return c}};for(var i in u)Object.defineProperty(r,i,{enumerable:!0,get:u[i]});var o=((n={})[n.MPA=0]="MPA",n[n.Success=1]="Success",n[n.NoOp=2]="NoOp",n[n.Async=3]="Async",n),c=((a={})[a.Intent=2]="Intent",a[a.Default=1]="Default",a[a.Background=0]="Background",a),s=((l={})[l.LoadingBoundary=0]="LoadingBoundary",l[l.PPR=1]="PPR",l[l.PPRRuntime=2]="PPRRuntime",l[l.Full=3]="Full",l);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},511,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={Fallback:function(){return u},createCacheMap:function(){return o},deleteFromCacheMap:function(){return h},deleteMapEntry:function(){return p},getFromCacheMap:function(){return c},isValueExpired:function(){return s},setInCacheMap:function(){return f},setSizeInCacheMap:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(73861),u={},i={};function o(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}function c(e,t,r,n,a){let o=function e(t,r,n,a,l,o){let c,f;if(null!==a)c=a.value,f=a.parent;else if(l&&o!==i)c=i,f=null;else return null===n.value?n:s(t,r,n.value)?(p(n),null):n;let d=n.map;if(null!==d){let n=d.get(c);if(void 0!==n){let a=e(t,r,n,f,l,c);if(null!==a)return a}let a=d.get(u);if(void 0!==a)return e(t,r,a,f,l,c)}return null}(e,t,r,n,a,0);return null===o||null===o.value?null:((0,l.lruPut)(o),o.value)}function s(e,t,r){return r.staleAt<=e||r.version{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cleanup:function(){return h},deleteFromLru:function(){return f},lruPut:function(){return c},updateLruSize:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(511),u=e.r(77709),i=null,o=0;function c(e){if(i===e)return;let t=e.prev,r=e.next;if(null===r||null===t?(o+=e.size,d()):(t.next=r,r.prev=t),null===i)e.prev=e,e.next=e;else{let t=i.prev;e.prev=t,null!==t&&(t.next=e),e.next=i,i.prev=e}i=e}function s(e,t){let r=e.size;e.size=t,null!==e.next&&(o=o-r+t,d())}function f(e){let t=e.next,r=e.prev;null!==t&&null!==r&&(o-=e.size,e.next=null,e.prev=null,i===e?t===i?i=null:(i=t,r.next=t,t.prev=r):(r.next=t,t.prev=r))}function d(){o<=0x3200000||(0,u.pingPrefetchScheduler)()}function h(){if(!(o<=0x3200000))for(;o>0x2d00000&&null!==i;){let e=i.prev;null!==e&&(0,l.deleteMapEntry)(e)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77709,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelPrefetchTask:function(){return m},isPrefetchTaskDirty:function(){return S},pingPrefetchScheduler:function(){return T},pingPrefetchTask:function(){return N},reschedulePrefetchTask:function(){return P},schedulePrefetchTask:function(){return R},startRevalidationCooldown:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(22744),u=e.r(56019),i=e.r(20896),o=e.r(77048),c=e.r(9396),s=e.r(13258),f=e.r(73861),d="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),h=[],p=0,y=0,_=!1,g=null,E=null;function v(){null!==E&&clearTimeout(E),E=setTimeout(()=>{E=null,T()},300)}function R(e,t,r,n,a,l){let u={key:e,treeAtTimeOfPrefetch:t,routeCacheVersion:(0,i.getCurrentRouteCacheVersion)(),segmentCacheVersion:(0,i.getCurrentSegmentCacheVersion)(),priority:n,phase:1,hasBackgroundWork:!1,spawnedRuntimePrefetches:null,fetchStrategy:r,sortId:y++,isCanceled:!1,onInvalidate:a,_heapIndex:-1};return b(u),k(h,u),T(),u}function m(e){e.isCanceled=!0,function(e,t){let r=t._heapIndex;if(-1!==r&&(t._heapIndex=-1,0!==e.length)){let n=e.pop();n!==t&&(e[r]=n,n._heapIndex=r,$(e,n,r))}}(h,e)}function P(e,t,r,n){e.isCanceled=!1,e.phase=1,e.sortId=y++,e.priority=e===g?c.PrefetchPriority.Intent:n,e.treeAtTimeOfPrefetch=t,e.fetchStrategy=r,b(e),-1!==e._heapIndex?B(h,e):k(h,e),T()}function S(e,t,r){return e.routeCacheVersion!==(0,i.getCurrentRouteCacheVersion)()||e.segmentCacheVersion!==(0,i.getCurrentSegmentCacheVersion)()||e.treeAtTimeOfPrefetch!==r||e.key.nextUrl!==t}function b(e){e.priority===c.PrefetchPriority.Intent&&e!==g&&(null!==g&&g.priority!==c.PrefetchPriority.Background&&(g.priority=c.PrefetchPriority.Default,B(h,g)),g=e)}function T(){_||(_=!0,d(C))}function O(e){return null===E&&(e.priority===c.PrefetchPriority.Intent?p<12:p<4)}function A(e){return p++,e.then(e=>null===e?(w(),null):(e.closed.then(w),e.value))}function w(){p--,T()}function N(e){e.isCanceled||-1!==e._heapIndex||(k(h,e),T())}function C(){_=!1;let e=Date.now(),t=H(h);for(;null!==t&&O(t);){t.routeCacheVersion=(0,i.getCurrentRouteCacheVersion)(),t.segmentCacheVersion=(0,i.getCurrentSegmentCacheVersion)();let r=function(e,t){let r=t.key,n=(0,i.readOrCreateRouteCacheEntry)(e,t,r),a=function(e,t,r){switch(r.status){case i.EntryStatus.Empty:A((0,i.fetchRouteOnCacheMiss)(r,t.key)),r.staleAt=e+6e4,r.status=i.EntryStatus.Pending;case i.EntryStatus.Pending:{let e=r.blockedTasks;return null===e?r.blockedTasks=new Set([t]):e.add(t),1}case i.EntryStatus.Rejected:break;case i.EntryStatus.Fulfilled:{let o;if(0!==t.phase)return 2;if(!O(t))return 0;let s=r.tree;switch(o=s.prefetchHints&l.PrefetchHint.SubtreeHasInstant?c.FetchStrategy.PPR:t.fetchStrategy===c.FetchStrategy.PPR?r.supportsPerSegmentPrefetching?c.FetchStrategy.PPR:c.FetchStrategy.LoadingBoundary:t.fetchStrategy){case c.FetchStrategy.PPR:{var n,a,u;if(I(n=e,a=t,u=r,(0,i.readOrCreateSegmentCacheEntry)(n,c.FetchStrategy.PPR,u.metadata),a.key,u.metadata),0===function e(t,r,n,a,u){let o=(0,i.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,u);I(t,r,n,o,r.key,u);let c=a[1],s=u.slots;if(null!==s)for(let a in s){if(!O(r))return 0;let u=s[a],o=u.segment,f=c[a],d=f?.[0];if(0===(void 0!==d&&x(n,o,d)?e(t,r,n,f,u):function e(t,r,n,a){if(a.prefetchHints&l.PrefetchHint.HasRuntimePrefetch)return null===r.spawnedRuntimePrefetches?r.spawnedRuntimePrefetches=new Set([a.requestKey]):r.spawnedRuntimePrefetches.add(a.requestKey),2;let u=(0,i.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,a);if(I(t,r,n,u,r.key,a),null!==a.slots){if(!O(r))return 0;for(let l in a.slots)if(0===e(t,r,n,a.slots[l]))return 0}return 2}(t,r,n,u)))return 0}return 2}(e,t,r,t.treeAtTimeOfPrefetch,s))return 0;let o=t.spawnedRuntimePrefetches;if(null!==o){let n=new Map;M(e,t,r,n,c.FetchStrategy.PPRRuntime);let a=function e(t,r,n,a,l,u){if(l.has(a.requestKey))return D(t,r,n,a,!1,u,c.FetchStrategy.PPRRuntime);let i={},o=a.slots;if(null!==o)for(let a in o){let c=o[a];i[a]=e(t,r,n,c,l,u)}return[a.segment,i,null,null]}(e,t,r,s,o,n);n.size>0&&A((0,i.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,c.FetchStrategy.PPRRuntime,a,n))}return 2}case c.FetchStrategy.Full:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.LoadingBoundary:{let n=new Map;M(e,t,r,n,o);let a=function e(t,r,n,a,u,o,s){let f=a[1],d=u.slots,h={};if(null!==d)for(let a in d){let u=d[a],p=u.segment,y=f[a],_=y?.[0];if(void 0!==_&&x(n,p,_)){let l=e(t,r,n,y,u,o,s);h[a]=l}else switch(s){case c.FetchStrategy.LoadingBoundary:{let e=(u.prefetchHints&(l.PrefetchHint.SegmentHasLoadingBoundary|l.PrefetchHint.SubtreeHasLoadingBoundary))!=0?function e(t,r,n,a,u,o){let s=null===u?"inside-shared-layout":null,f=(0,i.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,a);switch(f.status){case i.EntryStatus.Empty:o.set(a.requestKey,(0,i.upgradeToPendingSegment)(f,c.FetchStrategy.LoadingBoundary)),"refetch"!==u&&(s=u="refetch");break;case i.EntryStatus.Fulfilled:if((a.prefetchHints&l.PrefetchHint.SegmentHasLoadingBoundary)!=0)return(0,i.convertRouteTreeToFlightRouterState)(a);case i.EntryStatus.Pending:case i.EntryStatus.Rejected:}let d={};if(null!==a.slots)for(let l in a.slots){let i=a.slots[l];d[l]=e(t,r,n,i,u,o)}return[a.segment,d,null,s]}(t,r,n,u,null,o):(0,i.convertRouteTreeToFlightRouterState)(u);h[a]=e;break}case c.FetchStrategy.PPRRuntime:{let e=D(t,r,n,u,!1,o,s);h[a]=e;break}case c.FetchStrategy.Full:{let e=D(t,r,n,u,!1,o,s);h[a]=e}}}return[u.segment,h,null,null]}(e,t,r,t.treeAtTimeOfPrefetch,s,n,o);return n.size>0&&A((0,i.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,o,a,n)),2}}}}return 2}(e,t,n);if(0!==a&&""!==r.search){let n=new URL(r.pathname,location.origin),a=(0,o.createCacheKey)(n.href,r.nextUrl),l=(0,i.readOrCreateRouteCacheEntry)(e,t,a);switch(l.status){case i.EntryStatus.Empty:j(t)&&(l.status=i.EntryStatus.Pending,A((0,i.fetchRouteOnCacheMiss)(l,a)));case i.EntryStatus.Pending:case i.EntryStatus.Fulfilled:case i.EntryStatus.Rejected:}}return a}(e,t),n=t.hasBackgroundWork;switch(t.hasBackgroundWork=!1,t.spawnedRuntimePrefetches=null,r){case 0:return;case 1:V(h),t=H(h);continue;case 2:1===t.phase?(t.phase=0,B(h,t)):n?(t.priority=c.PrefetchPriority.Background,B(h,t)):V(h),t=H(h);continue}}null===t&&0===p&&(0,f.cleanup)()}function j(e){return e.priority===c.PrefetchPriority.Background||(e.hasBackgroundWork=!0,!1)}function M(e,t,r,n,a){D(e,t,r,r.metadata,!1,n,a===c.FetchStrategy.LoadingBoundary?c.FetchStrategy.Full:a)}function D(e,t,r,n,a,l,u){let o=(0,i.readOrCreateSegmentCacheEntry)(e,u,n),s=null;switch(o.status){case i.EntryStatus.Empty:if(u===c.FetchStrategy.Full&&null!==(0,i.attemptToFulfillDynamicSegmentFromBFCache)(e,o,n))break;s=(0,i.upgradeToPendingSegment)(o,u);break;case i.EntryStatus.Fulfilled:if(o.isPartial&&(0,i.canNewFetchStrategyProvideMoreContent)(o.fetchStrategy,u)){if(u===c.FetchStrategy.Full&&null!==(0,i.attemptToUpgradeSegmentFromBFCache)(e,n))break;s=U(e,n,u)}break;case i.EntryStatus.Pending:case i.EntryStatus.Rejected:(0,i.canNewFetchStrategyProvideMoreContent)(o.fetchStrategy,u)&&(s=U(e,n,u))}let f={};if(null!==n.slots)for(let i in n.slots){let o=n.slots[i];f[i]=D(e,t,r,o,a||null!==s,l,u)}null!==s&&l.set(n.requestKey,s);let d=a||null===s?null:"refetch";return[n.segment,f,null,d]}function I(e,t,r,n,a,l){switch(n.status){case i.EntryStatus.Empty:A((0,i.fetchSegmentOnCacheMiss)(r,(0,i.upgradeToPendingSegment)(n,c.FetchStrategy.PPR),a,l));break;case i.EntryStatus.Pending:switch(n.fetchStrategy){case c.FetchStrategy.PPR:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.Full:break;case c.FetchStrategy.LoadingBoundary:j(t)&&F(e,r,a,l);break;default:n.fetchStrategy}break;case i.EntryStatus.Rejected:switch(n.fetchStrategy){case c.FetchStrategy.PPR:case c.FetchStrategy.PPRRuntime:case c.FetchStrategy.Full:break;case c.FetchStrategy.LoadingBoundary:F(e,r,a,l);break;default:n.fetchStrategy}case i.EntryStatus.Fulfilled:}}function F(e,t,r,n){let a=(0,i.readOrCreateRevalidatingSegmentEntry)(e,c.FetchStrategy.PPR,n);switch(a.status){case i.EntryStatus.Empty:A((0,i.fetchSegmentOnCacheMiss)(t,(0,i.upgradeToPendingSegment)(a,c.FetchStrategy.PPR),r,n));case i.EntryStatus.Pending:case i.EntryStatus.Fulfilled:case i.EntryStatus.Rejected:}}function U(e,t,r){let n=(0,i.readOrCreateRevalidatingSegmentEntry)(e,r,t);if(n.status===i.EntryStatus.Empty)return(0,i.upgradeToPendingSegment)(n,r);if((0,i.canNewFetchStrategyProvideMoreContent)(n.fetchStrategy,r)){let n=(0,i.overwriteRevalidatingSegmentCacheEntry)(e,r,t);return(0,i.upgradeToPendingSegment)(n,r)}switch(n.status){case i.EntryStatus.Pending:case i.EntryStatus.Fulfilled:case i.EntryStatus.Rejected:default:return null}}function x(e,t,r){return r===s.PAGE_SEGMENT_KEY?t===(0,s.addSearchParamsIfPageSegment)(s.PAGE_SEGMENT_KEY,Object.fromEntries(new URLSearchParams(e.renderedSearch))):(0,u.matchSegment)(r,t)}function L(e,t){let r=t.priority-e.priority;if(0!==r)return r;let n=t.phase-e.phase;return 0!==n?n:t.sortId-e.sortId}function k(e,t){let r=e.length;e.push(t),t._heapIndex=r,X(e,t,r)}function H(e){return 0===e.length?null:e[0]}function V(e){if(0===e.length)return null;let t=e[0];t._heapIndex=-1;let r=e.pop();return r!==t&&(e[0]=r,r._heapIndex=0,$(e,r,0)),t}function B(e,t){let r=t._heapIndex;-1!==r&&(0===r?$(e,t,0):L(e[r-1>>>1],t)>0?X(e,t,r):$(e,t,r))}function X(e,t,r){let n=r;for(;n>0;){let r=n-1>>>1,a=e[r];if(!(L(a,t)>0))return;e[r]=t,t._heapIndex=r,e[n]=a,a._heapIndex=n,n=r}}function $(e,t,r){let n=r,a=e.length,l=a>>>1;for(;nL(l,t))uL(i,l)?(e[n]=i,i._heapIndex=n,e[u]=t,t._heapIndex=u,n=u):(e[n]=l,l._heapIndex=n,e[r]=t,t._heapIndex=r,n=r);else{if(!(uL(i,t)))return;e[n]=i,i._heapIndex=n,e[u]=t,t._heapIndex=u,n=u}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56655,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={appendLayoutVaryPath:function(){return s},clonePageVaryPathWithNewSearchParams:function(){return g},finalizeLayoutVaryPath:function(){return f},finalizeMetadataVaryPath:function(){return y},finalizePageVaryPath:function(){return h},getFulfilledRouteVaryPath:function(){return c},getFulfilledSegmentVaryPath:function(){return function e(t,r){return{id:t.id,value:null===t.id||r.has(t.id)?t.value:u.Fallback,parent:null===t.parent?null:e(t.parent,r)}}},getPartialLayoutVaryPath:function(){return d},getPartialPageVaryPath:function(){return p},getRenderedSearchFromVaryPath:function(){return E},getRouteVaryPath:function(){return o},getSegmentVaryPathForRequest:function(){return _}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(9396),u=e.r(511),i=e.r(67764);function o(e,t,r){return{id:null,value:e,parent:{id:"?",value:t,parent:{id:null,value:r,parent:null}}}}function c(e,t,r,n){return{id:null,value:e,parent:{id:"?",value:t,parent:{id:null,value:n?r:u.Fallback,parent:null}}}}function s(e,t,r){return{id:r,value:t,parent:e}}function f(e,t){return{id:null,value:e,parent:t}}function d(e){return e.parent}function h(e,t,r){return{id:null,value:e,parent:{id:"?",value:t,parent:r}}}function p(e){return e.parent.parent}function y(e,t,r){return{id:null,value:e+i.HEAD_REQUEST_KEY,parent:{id:"?",value:t,parent:r}}}function _(e,t){let r=t.varyPath;if(t.isPage&&e!==l.FetchStrategy.Full&&e!==l.FetchStrategy.PPRRuntime){let e=r.parent.parent;return{id:null,value:r.value,parent:{id:"?",value:u.Fallback,parent:e}}}return r}function g(e,t){let r=e.parent;return{id:null,value:e.value,parent:{id:"?",value:t,parent:r.parent}}}function E(e){let t=e.parent.value;return"string"==typeof t?t:null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72463,(e,t,r)=>{"use strict";function n(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return n}})},41858,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(72463);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:l}=(0,n.parsePath)(e);return`${t}${r}${a}${l}`}},38281,(e,t,r)=>{"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},82823,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return l}});let n=e.r(38281),a=e.r(72463),l=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:l}=(0,a.parsePath)(e);return`${(0,n.removeTrailingSlash)(t)}${r}${l}`};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},5550,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addBasePath",{enumerable:!0,get:function(){return l}});let n=e.r(41858),a=e.r(82823);function l(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57630,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrefetchURL:function(){return o},isExternalURL:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(82604),u=e.r(5550);function i(e){return e.origin!==window.location.origin}function o(e){let t;if((0,l.isBot)(window.navigator.userAgent))return null;try{t=new URL((0,u.addBasePath)(e),window.location.href)}catch(t){throw Object.defineProperty(Error(`Cannot prefetch '${e}' because it cannot be converted to a URL.`),"__NEXT_ERROR_CODE",{value:"E234",enumerable:!1,configurable:!0})}return i(t)?null:t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91949,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={IDLE_LINK_STATUS:function(){return f},PENDING_LINK_STATUS:function(){return s},getLinkForCurrentNavigation:function(){return p},mountFormInstance:function(){return m},mountLinkInstance:function(){return R},onLinkVisibilityChanged:function(){return S},onNavigationIntent:function(){return b},pingVisibleLinks:function(){return O},setLinkForCurrentNavigation:function(){return d},unmountLinkForCurrentNavigation:function(){return h},unmountPrefetchableInstance:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(9396),u=e.r(77048),i=e.r(77709),o=e.r(71645),c=null,s={pending:!0},f={pending:!1};function d(e){(0,o.startTransition)(()=>{c?.setOptimisticLinkStatus(f),e?.setOptimisticLinkStatus(s),c=e})}function h(e){c===e&&(c=null)}function p(){return c}let y="function"==typeof WeakMap?new WeakMap:new Map,_=new Set,g="function"==typeof IntersectionObserver?new IntersectionObserver(function(e){for(let t of e){let e=t.intersectionRatio>0;S(t.target,e)}},{rootMargin:"200px"}):null;function E(e,t){void 0!==y.get(e)&&P(e),y.set(e,t),null!==g&&g.observe(e)}function v(t){if(!("u">typeof window))return null;{let{createPrefetchURL:r}=e.r(57630);try{return r(t)}catch{return("function"==typeof reportError?reportError:console.error)(`Cannot prefetch '${t}' because it cannot be converted to a URL.`),null}}}function R(e,t,r,n,a,l){if(a){let a=v(t);if(null!==a){let t={router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:l};return E(e,t),t}}return{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:null,setOptimisticLinkStatus:l}}function m(e,t,r,n){let a=v(t);null===a||E(e,{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:null})}function P(e){let t=y.get(e);if(void 0!==t){y.delete(e),_.delete(t);let r=t.prefetchTask;null!==r&&(0,i.cancelPrefetchTask)(r)}null!==g&&g.unobserve(e)}function S(e,t){let r=y.get(e);void 0!==r&&(r.isVisible=t,t?_.add(r):_.delete(r),T(r,l.PrefetchPriority.Default))}function b(e,t){let r=y.get(e);void 0!==r&&void 0!==r&&T(r,l.PrefetchPriority.Intent)}function T(t,r){if("u">typeof window){let n=t.prefetchTask;if(!t.isVisible){null!==n&&(0,i.cancelPrefetchTask)(n);return}let{getCurrentAppRouterState:a}=e.r(99781),l=a();if(null!==l){let e=l.tree;if(null===n){let n=l.nextUrl,a=(0,u.createCacheKey)(t.prefetchHref,n);t.prefetchTask=(0,i.schedulePrefetchTask)(a,e,t.fetchStrategy,r,null)}else(0,i.reschedulePrefetchTask)(n,e,t.fetchStrategy,r)}}}function O(e,t){for(let r of _){let n=r.prefetchTask;if(null!==n&&!(0,i.isPrefetchTaskDirty)(n,e,t))continue;null!==n&&(0,i.cancelPrefetchTask)(n);let a=(0,u.createCacheKey)(r.prefetchHref,e);r.prefetchTask=(0,i.schedulePrefetchTask)(a,t,r.fetchStrategy,l.PrefetchPriority.Default,null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={UnknownDynamicStaleTime:function(){return i},computeDynamicStaleAt:function(){return o},invalidateBfCache:function(){return f},readFromBFCache:function(){return y},readFromBFCacheDuringRegularNavigation:function(){return _},updateBFCacheEntryStaleAt:function(){return p},writeHeadToBFCache:function(){return h},writeToBFCache:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(54069),u=e.r(511),i=-1;function o(e,t){return t!==i?e+1e3*t:e+l.DYNAMIC_STALETIME_MS}let c=(0,u.createCacheMap)(),s=0;function f(){"u">typeof window&&s++}function d(e,t,r,n,a,l,i){if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={discoverKnownRoute:function(){return s},matchKnownRoute:function(){return d},resetKnownRoutes:function(){return h}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(20896),u=e.r(33906),i=e.r(56655);function o(){return{staticChildren:null,dynamicChild:null,dynamicChildParamName:null,dynamicChildParamType:null,pattern:null}}let c=o();function s(e,t,r,n,a,u,i,o,s,d){let h=t.split("/").filter(e=>""!==e),p=h.length>0?h[0]:null,y=h.length>0?h.slice(1):[];if(null!==n){let h=(0,l.fulfillRouteCacheEntry)(e,n,a,u,i,o,s);return d&&(h.hasDynamicRewrite=!0),f(c,a,p,y,h,e,t,r,a,u,i,o,s,d),h}return f(c,a,p,y,null,e,t,r,a,u,i,o,s,d)}function f(e,t,r,n,a,i,c,s,d,h,p,y,_,g){let E,v,R=t.segment,m=null,P=null,S=null;"string"==typeof R?E=(0,u.doesStaticSegmentAppearInURL)(R):(m=R[0],P=R[2],S=R[3],E=!0);let b=e,T=r,O=n;if(E){if(null===m&&r!==R)return null!==a?a:(0,l.writeRouteIntoCache)(i,c,s,d,h,p,y,_);if(null!==m&&null!==P){if(b=function(e,t,r){if(null!==e.dynamicChild)return e.dynamicChild;let n=o();return e.dynamicChild=n,e.dynamicChildParamName=t,e.dynamicChildParamType=r,n}(e,m,P),null!==S)for(let t of(null===e.staticChildren&&(e.staticChildren=new Map),S))e.staticChildren.has(t)||e.staticChildren.set(t,o())}else{null===e.staticChildren&&(e.staticChildren=new Map);let t=e.staticChildren.get(r);void 0===t&&(t=o(),e.staticChildren.set(r,t)),b=t}T=n.length>0?n[0]:null,O=n.length>0?n.slice(1):[]}let A=t.slots,w=null;if(null!==A){for(let e in A){let t=A[e];null===t.refreshState&&(w=f(b,t,T,O,a,i,c,s,d,h,p,y,_,g))}return null!==w?w:null!==a?a:(0,l.writeRouteIntoCache)(i,c,s,d,h,p,y,_)}return null!==b.pattern?(g&&(b.pattern.hasDynamicRewrite=!0),b.pattern):(v=null!==a?a:(0,l.writeRouteIntoCache)(i,c,s,d,h,p,y,_),g&&(v.hasDynamicRewrite=!0),b.pattern=v,v)}function d(e,t){let r=e.split("/").filter(e=>""!==e),n=new Map,a=function e(t,r,n,a){let l=n{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={EntryStatus:function(){return w},attemptToFulfillDynamicSegmentFromBFCache:function(){return ee},attemptToUpgradeSegmentFromBFCache:function(){return et},canNewFetchStrategyProvideMoreContent:function(){return eP},convertReusedFlightRouterStateToRouteTree:function(){return ef},convertRootFlightRouterStateToRouteTree:function(){return es},convertRouteTreeToFlightRouterState:function(){return function e(t){let r={};if(null!==t.slots)for(let n in t.slots)r[n]=e(t.slots[n]);return[t.segment,r,null,null]}},createDetachedSegmentCacheEntry:function(){return J},createMetadataRouteTree:function(){return en},deprecated_requestOptimisticRouteCacheEntry:function(){return G},fetchInlinedSegmentsOnCacheMiss:function(){return ey},fetchRouteOnCacheMiss:function(){return eh},fetchSegmentOnCacheMiss:function(){return ep},fetchSegmentPrefetchesUsingDynamicRequest:function(){return e_},fulfillRouteCacheEntry:function(){return ea},getCurrentRouteCacheVersion:function(){return F},getCurrentSegmentCacheVersion:function(){return U},getStaleAt:function(){return eT},getStaleTimeMs:function(){return A},invalidateEntirePrefetchCache:function(){return x},invalidateRouteCacheEntries:function(){return L},invalidateSegmentCacheEntries:function(){return k},markRouteEntryAsDynamicRewrite:function(){return eu},overwriteRevalidatingSegmentCacheEntry:function(){return z},pingInvalidationListeners:function(){return H},processRuntimePrefetchStream:function(){return eA},readOrCreateRevalidatingSegmentEntry:function(){return W},readOrCreateRouteCacheEntry:function(){return K},readOrCreateSegmentCacheEntry:function(){return Y},readRouteCacheEntry:function(){return V},readSegmentCacheEntry:function(){return B},stripIsPartialByte:function(){return ew},upgradeToPendingSegment:function(){return Z},upsertSegmentEntry:function(){return Q},waitForSegmentCacheEntry:function(){return X},writeDynamicRenderResponseIntoCache:function(){return eE},writeRouteIntoCache:function(){return el},writeStaticStageResponseIntoCache:function(){return eO}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(6372),i=e.r(21768),o=e.r(87288),c=e.r(77709),s=e.r(56655),f=e.r(51191),d=e.r(77048),h=e.r(33906),p=e.r(511),y=e.r(67764),_=e.r(50590),g=e.r(54069),E=e.r(91949),v=e.r(13258),R=e.r(9396),m=e.r(39470),P=e.r(79027),S=e.r(96167),b=e.r(60355),T=e.r(32992),O=e.r(63416);function A(e){return 1e3*Math.max(e,30)}var w=((n={})[n.Empty=0]="Empty",n[n.Pending=1]="Pending",n[n.Fulfilled=2]="Fulfilled",n[n.Rejected=3]="Rejected",n);let N=["",{},null,"metadata-only"],C=(0,p.createCacheMap)(),j=(0,p.createCacheMap)(),M=null,D=0,I=0;function F(){return D}function U(){return I}function x(e,t){D++,I++,(0,E.pingVisibleLinks)(e,t),H(e,t)}function L(e,t){D++,(0,E.pingVisibleLinks)(e,t),H(e,t)}function k(e,t){I++,(0,E.pingVisibleLinks)(e,t),H(e,t)}function H(e,t){if(null!==M){let r=M;for(let n of(M=null,r))(0,c.isPrefetchTaskDirty)(n,e,t)&&function(e){let t=e.onInvalidate;if(null!==t){e.onInvalidate=null;try{t()}catch(e){"function"==typeof reportError?reportError(e):console.error(e)}}}(n)}}function V(e,t){let r=(0,s.getRouteVaryPath)(t.pathname,t.search,t.nextUrl),n=(0,p.getFromCacheMap)(e,D,C,r,!1);return null!==n?n:null}function B(e,t){return(0,p.getFromCacheMap)(e,I,j,t,!1)}function X(e){let t=e.promise;return null===t&&(t=e.promise=(0,m.createPromiseWithResolvers)()),t.promise}function $(){return{canonicalUrl:null,status:0,blockedTasks:null,tree:null,metadata:null,couldBeIntercepted:!0,supportsPerSegmentPrefetching:!1,renderedSearch:null,ref:null,size:0,staleAt:1/0,version:D}}function K(e,t,r){null!==t.onInvalidate&&(null===M?M=new Set([t]):M.add(t));let n=V(e,r);if(null!==n)return n;let a=$(),l=(0,s.getRouteVaryPath)(r.pathname,r.search,r.nextUrl);return(0,p.setInCacheMap)(C,l,a,!1),a}function G(e,t,r){let n=t.search;if(""===n)return null;let a=new URL(t);a.search="";let l=V(e,(0,d.createCacheKey)(a.href,r));if(null===l||2!==l.status)return null;let u=new URL(l.canonicalUrl,t.origin),i=""!==u.search?u.search:n,o=""!==l.renderedSearch?l.renderedSearch:n,c=new URL(l.canonicalUrl,location.origin);return c.search=i,{canonicalUrl:(0,f.createHrefFromUrl)(c),status:2,blockedTasks:null,tree:q(l.tree,o),metadata:q(l.metadata,o),couldBeIntercepted:l.couldBeIntercepted,supportsPerSegmentPrefetching:l.supportsPerSegmentPrefetching,hasDynamicRewrite:l.hasDynamicRewrite,renderedSearch:o,ref:null,size:0,staleAt:l.staleAt,version:l.version}}function q(e,t){let r=null,n=e.slots;if(null!==n)for(let e in r={},n){let a=n[e];r[e]=q(a,t)}return e.isPage?{requestKey:e.requestKey,segment:e.segment,refreshState:e.refreshState,varyPath:(0,s.clonePageVaryPathWithNewSearchParams)(e.varyPath,t),isPage:!0,slots:r,prefetchHints:e.prefetchHints}:{requestKey:e.requestKey,segment:e.segment,refreshState:e.refreshState,varyPath:e.varyPath,isPage:!1,slots:r,prefetchHints:e.prefetchHints}}function Y(e,t,r){let n=B(e,r.varyPath);if(null!==n)return n;let a=(0,s.getSegmentVaryPathForRequest)(t,r),l=J(e);return(0,p.setInCacheMap)(j,a,l,!1),l}function W(e,t,r){var n;let a=(n=r.varyPath,(0,p.getFromCacheMap)(e,I,j,n,!0));if(null!==a)return a;let l=(0,s.getSegmentVaryPathForRequest)(t,r),u=J(e);return(0,p.setInCacheMap)(j,l,u,!0),u}function z(e,t,r){let n=(0,s.getSegmentVaryPathForRequest)(t,r),a=J(e);return(0,p.setInCacheMap)(j,n,a,!0),a}function Q(e,t,r){if((0,p.isValueExpired)(e,I,r))return null;let n=B(e,t);if(null!==n){var a;if(r.fetchStrategy!==n.fetchStrategy&&(a=n.fetchStrategy,!(ar?null:ei(Z(t,R.FetchStrategy.Full),a.rsc,r,!1)}return null}function et(e,t){let r=t.varyPath,n=(0,P.readFromBFCache)(r);if(null!==n){let r=n.navigatedAt+g.STATIC_STALETIME_MS;if(e>r)return null;let a=ei(Z(J(e),R.FetchStrategy.Full),n.rsc,r,!1),l=Q(e,(0,s.getSegmentVaryPathForRequest)(R.FetchStrategy.Full,t),a);if(null!==l&&2===l.status)return l}return null}function er(e){let t=e.blockedTasks;if(null!==t){for(let e of t)(0,c.pingPrefetchTask)(e);e.blockedTasks=null}}function en(e){return{requestKey:y.HEAD_REQUEST_KEY,segment:y.HEAD_REQUEST_KEY,refreshState:null,varyPath:e,isPage:!0,slots:null,prefetchHints:0}}function ea(e,t,r,n,a,l,u){let i=(0,s.getRenderedSearchFromVaryPath)(n)??"";return t.status=2,t.tree=r,t.metadata=en(n),t.staleAt=e+g.STATIC_STALETIME_MS,t.couldBeIntercepted=a,t.canonicalUrl=l,t.renderedSearch=i,t.supportsPerSegmentPrefetching=u,t.hasDynamicRewrite=!1,er(t),t}function el(e,t,r,n,a,l,u,i){let o=ea(e,$(),n,a,l,u,i),c=o.renderedSearch,f=(0,s.getFulfilledRouteVaryPath)(t,c,r,l);return(0,p.setInCacheMap)(C,f,o,!1),o}function eu(e){e.hasDynamicRewrite=!0}function ei(e,t,r,n){return e.status=2,e.rsc=t,e.staleAt=r,e.isPartial=n,null!==e.promise&&(e.promise.resolve(e),e.promise=null),e}function eo(e,t){e.status=3,e.staleAt=t,er(e)}function ec(e,t){e.status=3,e.staleAt=t,null!==e.promise&&(e.promise.resolve(null),e.promise=null)}function es(e,t,r){return ed(e,y.ROOT_SEGMENT_REQUEST_KEY,null,t,r)}function ef(e,t,r,n,a){let l=e.isPage?(0,s.getPartialPageVaryPath)(e.varyPath):(0,s.getPartialLayoutVaryPath)(e.varyPath),u=r[0],i=e.requestKey,o=(0,y.createSegmentRequestKeyPart)(u);return ed(r,(0,y.appendSegmentRequestKeyPart)(i,t,o),l,n,a)}function ed(e,t,r,n,a){let l,u,i,o,c=e[0],f=e[2]??null,d=null!==f?{canonicalUrl:f[0],renderedSearch:f[1]}:null,h=null!==d?d.renderedSearch:n;if(Array.isArray(c)){i=!1;let e=c[1],n=c[0];u=(0,s.appendLayoutVaryPath)(r,e,n),o=(0,s.finalizeLayoutVaryPath)(t,u),l=c}else u=r,t.endsWith(v.PAGE_SEGMENT_KEY)?(i=!0,l=v.PAGE_SEGMENT_KEY,o=(0,s.finalizePageVaryPath)(t,h,u),null===a.metadataVaryPath&&(a.metadataVaryPath=(0,s.finalizeMetadataVaryPath)(t,h,u))):(i=!1,l=c,o=(0,s.finalizeLayoutVaryPath)(t,u));let p=null,_=e[1];for(let e in _){let r=_[e],n=r[0],l=(0,y.createSegmentRequestKeyPart)(n),i=ed(r,(0,y.appendSegmentRequestKeyPart)(t,e,l),u,h,a);null===p?p={[e]:i}:p[e]=i}return{requestKey:t,segment:l,refreshState:d,varyPath:o,isPage:i,slots:p,prefetchHints:e[4]??0}}async function eh(e,t){let r=t.pathname,n=t.search,a=t.nextUrl,l={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_PREFETCH_HEADER]:"1",[i.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:"/_tree"};null!==a&&(l[i.NEXT_URL]=a),eS(l);try{let t,c,d=new URL(r+n,location.origin);if(t=await eR(d,l),c=null!==t&&t.redirected?new URL(t.url):d,!t||!t.ok||204===t.status||!t.body)return eo(e,Date.now()+1e4),null;let g=(0,f.createHrefFromUrl)(c),E=t.headers.get("vary"),A=null!==E&&E.includes(i.NEXT_URL),w=(0,m.createPromiseWithResolvers)(),N="2"===t.headers.get(i.NEXT_DID_POSTPONE_HEADER);if(N){let n,u,{stream:i,size:c}=await em(t.body);w.resolve(),(0,p.setSizeInCacheMap)(e,c);let f=await (0,o.createFromNextReadableStream)(i,l,{allowPartialStream:!0});if((t.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??f.buildId)!==(0,T.getNavigationBuildId)())return eo(e,Date.now()+1e4),null;let d=(0,h.getRenderedPathname)(t),_=(0,h.getRenderedSearch)(t),E={metadataVaryPath:null},R=(n=d.split("/").filter(e=>""!==e),u=y.ROOT_SEGMENT_REQUEST_KEY,function e(t,r,n,a,l,u,i,o){let c,f,d=null,p=t.slots;if(null!==p)for(let t in c=!1,f=(0,s.finalizeLayoutVaryPath)(a,n),d={},p){let r,c,f,_=p[t],g=_.name,E=_.param;if(null!==E){let e=(0,h.parseDynamicParamFromURLPart)(E.type,l,u),t=null!==E.key?E.key:(0,h.getCacheKeyForDynamicParam)(e,"");f=(0,s.appendLayoutVaryPath)(n,t,g),c=[g,t,E.type,E.siblings],r=!0}else f=n,c=g,r=(0,h.doesStaticSegmentAppearInURL)(g);let v=r?u+1:u,R=(0,y.createSegmentRequestKeyPart)(c),m=(0,y.appendSegmentRequestKeyPart)(a,t,R);d[t]=e(_,c,f,m,l,v,i,o)}else a.endsWith(v.PAGE_SEGMENT_KEY)?(c=!0,f=(0,s.finalizePageVaryPath)(a,i,n),null===o.metadataVaryPath&&(o.metadataVaryPath=(0,s.finalizeMetadataVaryPath)(a,i,n))):(c=!1,f=(0,s.finalizeLayoutVaryPath)(a,n));return{requestKey:a,segment:r,refreshState:null,varyPath:f,isPage:c,slots:d,prefetchHints:t.prefetchHints}}(f.tree,u,null,y.ROOT_SEGMENT_REQUEST_KEY,n,0,_,E)),m=E.metadataVaryPath;if(null===m)return eo(e,Date.now()+1e4),null;(0,S.discoverKnownRoute)(Date.now(),r,a,e,R,m,A,g,N,!1)}else{let{stream:n,size:c}=await em(t.body);w.resolve(),(0,p.setSizeInCacheMap)(e,c);let s=await (0,o.createFromNextReadableStream)(n,l,{allowPartialStream:!0});if((t.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??s.b)!==(0,T.getNavigationBuildId)())return eo(e,Date.now()+1e4),null;let f=s.h,d=null!==f?(0,u.readVaryParams)(f):null;!function(e,t,r,n,a,l,u,o,c,s,f){let d=(0,h.getRenderedSearch)(r),p=(0,_.normalizeFlightData)(n.f);if("string"==typeof p||1!==p.length)return eo(a,e+1e4);let y=p[0];if(!y.isRootRender)return eo(a,e+1e4);let g=y.tree,E="1"===r.headers.get(i.NEXT_DID_POSTPONE_HEADER),v={metadataVaryPath:null},R=es(g,d,v),m=v.metadataVaryPath;if(null===m)return eo(a,e+1e4);(0,S.discoverKnownRoute)(e,s,f,a,R,m,l,u,o,!1);let T=(0,b.convertServerPatchToFullTree)(e,g,p,d,P.UnknownDynamicStaleTime);eE(e,t,p,r.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??n.b,E,c,eb(e,r),T,null)}(Date.now(),R.FetchStrategy.LoadingBoundary,t,s,e,A,g,N,d,r,a)}if(!A){let t=(0,s.getFulfilledRouteVaryPath)(r,n,a,A);(0,p.setInCacheMap)(C,t,e,!1)}return{value:null,closed:w.promise}}catch(t){return eo(e,Date.now()+1e4),null}}async function ep(e,t,r,n){let a=new URL(e.canonicalUrl,location.origin),l=r.nextUrl,u=n.requestKey,c=u===y.ROOT_SEGMENT_REQUEST_KEY?"/_index":u,f={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_PREFETCH_HEADER]:"1",[i.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:c};null!==l&&(f[i.NEXT_URL]=l),eS(f);try{let e=await eR(a,f);if(!e||!e.ok||204===e.status||"2"!==e.headers.get(i.NEXT_DID_POSTPONE_HEADER)||!e.body)return ec(t,Date.now()+1e4),null;let r=(0,m.createPromiseWithResolvers)(),{stream:l,size:u}=await em(e.body);r.resolve(),(0,p.setSizeInCacheMap)(t,u);let c=await (0,o.createFromNextReadableStream)(l,f,{allowPartialStream:!0});if((e.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??c.buildId)!==(0,T.getNavigationBuildId)())return ec(t,Date.now()+1e4),null;let d=Date.now(),h=d+A(c.staleTime),y=ei(t,c.rsc,h,c.isPartial);c.varyParams;let _=(0,s.getSegmentVaryPathForRequest)(t.fetchStrategy,n);return Q(d,_,y),{value:y,closed:r.promise}}catch(e){return ec(t,Date.now()+1e4),null}}async function ey(e,t,r,n){let a=new URL(e.canonicalUrl,location.origin),l=t.nextUrl,u={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_PREFETCH_HEADER]:"1",[i.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:"/"+v.PAGE_SEGMENT_KEY};null!==l&&(u[i.NEXT_URL]=l),eS(u);try{let t=await eR(a,u);if(!t||!t.ok||204===t.status||"2"!==t.headers.get(i.NEXT_DID_POSTPONE_HEADER)||!t.body)return eg(n,Date.now()+1e4),null;let l=(0,m.createPromiseWithResolvers)(),{stream:c}=await em(t.body);l.resolve();let s=await (0,o.createFromNextReadableStream)(c,u,{allowPartialStream:!0});if((t.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??s.tree.segment.buildId)!==(0,T.getNavigationBuildId)())return eg(n,Date.now()+1e4),null;let f=Date.now();!function e(t,r,n,a,l){let u=a.segment,i=t+A(u.staleTime),o=l.get(n.requestKey);if(void 0!==o)ei(o,u.rsc,i,u.isPartial);else{let e=Y(t,R.FetchStrategy.PPR,n);0===e.status&&ei(Z(e,R.FetchStrategy.PPR),u.rsc,i,u.isPartial)}if(null!==n.slots&&null!==a.slots)for(let u in n.slots){let i=n.slots[u],o=a.slots[u];void 0!==o&&e(t,r,i,o,l)}}(f,e,r,s.tree,n);let d=f+A(s.head.staleTime),h=e.metadata.requestKey,p=n.get(h);if(void 0!==p)ei(p,s.head.rsc,d,s.head.isPartial);else{let t=Y(f,R.FetchStrategy.PPR,e.metadata);0===t.status&&ei(Z(t,R.FetchStrategy.PPR),s.head.rsc,d,s.head.isPartial)}return eg(n,Date.now()+1e4),{value:null,closed:l.promise}}catch(e){return eg(n,Date.now()+1e4),null}}async function e_(e,t,r,n,a){let l=e.key,c=new URL(t.canonicalUrl,location.origin),s=l.nextUrl;1===a.size&&a.has(t.metadata.requestKey)&&(n=N);let f={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_STATE_TREE_HEADER]:(0,_.prepareFlightRouterStateForRequest)(n)};switch(null!==s&&(f[i.NEXT_URL]=s),r){case R.FetchStrategy.Full:break;case R.FetchStrategy.PPRRuntime:f[i.NEXT_ROUTER_PREFETCH_HEADER]="2";break;case R.FetchStrategy.LoadingBoundary:f[i.NEXT_ROUTER_PREFETCH_HEADER]="1"}try{let e,l=await eR(c,f);if(!l||!l.ok||!l.body)return eg(a,Date.now()+1e4),null;let i=(0,h.getRenderedSearch)(l);if(i!==t.renderedSearch)return eg(a,Date.now()+1e4),null;let s=(0,m.createPromiseWithResolvers)(),E=null,v=null;if(r===R.FetchStrategy.Full){var d,y,g;let t,r;d=l.body,y=s.resolve,g=function(e){if(null===E)return;let t=e/E.length;for(let e of E)(0,p.setSizeInCacheMap)(e,t)},t=0,r=d.getReader(),e=new ReadableStream({async pull(e){for(;;){let{done:n,value:a}=await r.read();if(!n){e.enqueue(a),g(t+=a.byteLength);continue}e.close(),y();return}}})}else{let{stream:t,size:r}=await em(l.body);s.resolve(),e=t,v=r}let[S,T]=await Promise.all([(0,o.createFromNextReadableStream)(e,f,{allowPartialStream:!0}),l.cacheData]),A=S.h,w=null!==A?(0,u.readVaryParams)(A):null,N=Date.now(),C=await eT(N,S.s,l),j=r===R.FetchStrategy.PPRRuntime&&(T?.isResponsePartial??!1),M=l.headers.get(O.NEXT_NAV_DEPLOYMENT_ID_HEADER)??S.b,D=(0,_.normalizeFlightData)(S.f);if("string"==typeof D)return eg(a,Date.now()+1e4),null;let I=(0,b.convertServerPatchToFullTree)(N,n,D,i,P.UnknownDynamicStaleTime);if(E=eE(N,r,D,M,j,w,C,I,a),null!==v&&null!==E&&E.length>0){let e=v/E.length;for(let t of E)(0,p.setSizeInCacheMap)(t,e)}return{value:null,closed:s.promise}}catch(e){return eg(a,Date.now()+1e4),null}}function eg(e,t){let r=[];for(let n of e.values())1===n.status?ec(n,t):2===n.status&&r.push(n);return r}function eE(e,t,r,n,a,l,i,o,c){if(n&&n!==(0,T.getNavigationBuildId)())return null!==c&&eg(c,e+1e4),null;let s=o.routeTree,f=null!==o.metadataVaryPath?en(o.metadataVaryPath):null;for(let n of r){let r=n.seedData;if(null!==r){let l=n.segmentPath,o=s;for(let t=0;t1){t=new Uint8Array(a);let e=0;for(let r of n)t.set(r,e),e+=r.byteLength}else t=new Uint8Array(0);return{stream:new ReadableStream({start(e){e.enqueue(t),e.close()}}),size:a}}function eP(e,t){return ee.close()}),isPartial:!1};let a=n[0],l=35===a||126===a,u=l?n.byteLength>1?n.subarray(1):null:n;return{isPartial:!!l&&126===a,stream:new ReadableStream({start(e){u&&e.enqueue(u)},async pull(e){let r=await t.read();r.done?e.close():e.enqueue(r.value)}})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87288,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var a={createFetch:function(){return T},createFromNextReadableStream:function(){return O},decodeStaticStage:function(){return b},fetchServerResponse:function(){return m},processFetch:function(){return P},resolveStaticStageData:function(){return S}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(35326);e.r(12718);let i=e.r(21768),o=e.r(32120),c=e.r(92245),s=e.r(50590),f=e.r(88093),d=e.r(33906),h=e.r(43369),p=e.r(32992),y=e.r(63416);e.r(20896);let _=e.r(79027),g=u.createFromReadableStream,E=u.createFromFetch;function v(e){return(0,d.urlToUrlWithoutFlightMarker)(new URL(e,location.origin)).toString()}let R=!1;async function m(e,t){let{flightRouterState:r,nextUrl:n}=t,a={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_STATE_TREE_HEADER]:(0,s.prepareFlightRouterStateForRequest)(r,t.isHmrRefresh)};n&&(a[i.NEXT_URL]=n);try{let t=await T(e,a,"auto",!0),r=(0,d.urlToUrlWithoutFlightMarker)(new URL(t.url)),n=t.redirected?r:e,l=t.headers.get("content-type")||"",u=!!t.headers.get("vary")?.includes(i.NEXT_URL),o=!!t.headers.get(i.NEXT_DID_POSTPONE_HEADER);if(!l.startsWith(i.RSC_CONTENT_TYPE_HEADER)||!t.ok||!t.body)return e.hash&&(r.hash=e.hash),v(r.toString());let c=t.flightResponsePromise;null===c&&(c=O(t.body,a,{allowPartialStream:o}));let[f,h]=await Promise.all([c,t.cacheData]);if((t.headers.get(y.NEXT_NAV_DEPLOYMENT_ID_HEADER)??f.b)!==(0,p.getNavigationBuildId)())return v(t.url);let g=(0,s.normalizeFlightData)(f.f);if("string"==typeof g)return v(g);let E=null!==h?await S(h,f,a):null;return{flightData:g,canonicalUrl:n,renderedSearch:f.q,couldBeIntercepted:u,supportsPerSegmentPrefetching:f.S,postponed:o,dynamicStaleTime:f.d??_.UnknownDynamicStaleTime,staticStageData:E,runtimePrefetchStream:f.p??null,responseHeaders:t.headers,debugInfo:c._debugInfo??null}}catch(t){return R||console.error(`Failed to fetch RSC payload for ${e}. Falling back to browser navigation.`,t),e.toString()}}async function P(e){return{response:e,cacheData:null}}async function S(e,t,r){let{isResponsePartial:n,responseBodyClone:a}=e;if(a){if(!n)return a.cancel(),{response:t,isResponsePartial:!1};if(void 0!==t.l)return{response:await b(a,t.l,r),isResponsePartial:!0};a.cancel()}return null}async function b(e,t,r){var n,a;let l,u;return O((n=e,a=await t,l=n.getReader(),u=a,new ReadableStream({async pull(e){if(u<=0){l.cancel(),e.close();return}let{done:t,value:r}=await l.read();t?e.close():r.byteLength<=u?(e.enqueue(r),u-=r.byteLength):(e.enqueue(r.subarray(0,u)),u=0,l.cancel(),e.close())},cancel(){l.cancel()}})),r,{allowPartialStream:!0})}async function T(e,t,r,a,l){var u,s;let d=(0,h.getDeploymentId)();d&&(t["x-deployment-id"]=d);let p=new URL(e);await (0,f.setCacheBustingSearchParam)(p,t);let y=fetch(p,{credentials:"same-origin",headers:t,priority:r||void 0,signal:l}).then(P),_=y.then(({response:e})=>e),g=a?(u=_,s=t,E(u,{callServer:o.callServer,findSourceMapURL:c.findSourceMapURL,debugChannel:n&&n(s)})):null,v=await _,R=v.redirected,m=new URL(v.url,p);return m.searchParams.delete(i.NEXT_RSC_UNION_QUERY),{url:m.href,redirected:R,ok:v.ok,headers:v.headers,body:v.body,status:v.status,flightResponsePromise:g,cacheData:y.then(({cacheData:e})=>e)}}function O(e,t,r){return g(e,{callServer:o.callServer,findSourceMapURL:c.findSourceMapURL,debugChannel:n&&n(t),unstable_allowPartialStream:r?.allowPartialStream})}"u">typeof window&&(window.addEventListener("pagehide",()=>{R=!0}),window.addEventListener("pageshow",()=>{R=!1})),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48919,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let a=t[0],l=r.segment;if(Array.isArray(a)&&Array.isArray(l)){if(a[0]!==l[0]||a[2]!==l[2])return!0}else if(a!==l)return!0;let u=((t[4]??0)&n.PrefetchHint.IsRootLayout)!=0,i=(r.prefetchHints&n.PrefetchHint.IsRootLayout)!=0;if(u)return!i;if(i)return!0;let o=r.slots,c=t[1];if(null!==o)for(let t in o){let r=o[t],n=c[t];if(void 0===n||e(n,r))return!0}return!1}}});let n=e.r(22744);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94272,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getLastCommittedTree:function(){return u},setLastCommittedTree:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=null;function u(){return l}function i(e){l=e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95871,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={FreshnessPolicy:function(){return P},createInitialCacheNodeForHydration:function(){return b},isDeferredRsc:function(){return L},spawnDynamicRequests:function(){return D},startPPRNavigation:function(){return T}};for(var l in a)Object.defineProperty(r,l,{enumerable:!0,get:a[l]});let u=e.r(22744),i=e.r(13258),o=e.r(56019),c=e.r(51191),s=e.r(87288),f=e.r(41538),d=e.r(88540),h=e.r(48919),p=e.r(94272),y=e.r(60355),_=e.r(20896),g=e.r(9396),E=e.r(96167),v=e.r(63416),R=e.r(56655),m=e.r(79027);var P=((n={})[n.Default=0]="Default",n[n.Hydration=1]="Hydration",n[n.HistoryTraversal=2]="HistoryTraversal",n[n.RefreshAll=3]="RefreshAll",n[n.HMRRefresh=4]="HMRRefresh",n[n.Gesture=5]="Gesture",n);let S=()=>{};function b(e,t,r,n,a){return O(e,t,null,1,r,n,a,!1,{separateRefreshUrls:null,scrollRef:null})}function T(e,t,r,n,a,l,s,f,d,p,y,g,E){let v={canonicalUrl:(0,c.createHrefFromUrl)(t),renderedSearch:r};return function e(t,r,n,a,l,c,s,f,d,p,y,g,E,v,R,m){var P,S,b;let T,w,M,D,I=a[0],F=A(l);if(!(0,o.matchSegment)(F,I))return!f&&(0,h.isNavigatingToNewRootLayout)(a,l)||F===i.NOT_FOUND_SEGMENT_KEY?null:O(t,l,c,s,d,p,y,E,m);let U=l.slots,x=a[1],L=null!==d?d[1]:null,k=f||(l.prefetchHints&u.PrefetchHint.IsRootLayout)!=0,H=!1;switch(s){case 0:case 2:case 1:case 5:H=!1;break;case 3:case 4:H=!0}let V=null===U;if(void 0===n||H||V&&g){let e=C(t,l,null!==d?d[0]:null,c,p,s,y);M=e.cacheNode,D=e.needsDynamicRequest,void 0!==n&&(M.scrollRef=n.scrollRef)}else{P=!1,M=j((S=n).rsc,P?null:S.prefetchRsc,S.head,P?null:S.prefetchHead,S.scrollRef),D=!1}let B=l.refreshState,X=null!=B?B:R;D&&null!==X&&(b=m,T=X.canonicalUrl,null===(w=b.separateRefreshUrls)?b.separateRefreshUrls=new Set([T]):w.add(T));let $={},K=null,G=!1,q={},Y=null;if(null!==U){let a=void 0!==n?n.slots:null;for(let n in M.slots=Y={},K=new Map,U){let u=U[n],o=x[n];if(void 0===o)return null;let f=null!==L?L[n]:null,d=o[0],h=A(u),R=p;2!==s&&h===i.DEFAULT_SEGMENT_KEY&&d!==i.DEFAULT_SEGMENT_KEY&&(h=A(u=function(e,t,r,n){let a,l,u=n[2];null!=u?(a=u[0],l=u[1]):(a=r.canonicalUrl,l=r.renderedSearch);let i=(0,_.convertReusedFlightRouterStateToRouteTree)(e,t,n,l,{metadataVaryPath:null});return i.refreshState={canonicalUrl:a,renderedSearch:l},i}(l,n,v,o)),f=null,R=null);let P=e(t,r,null!==a?a[n]:void 0,o,u,c,s,k,f??null,R,y,g,E||D,v,X,m);if(null===P)return null;K.set(n,P),Y[n]=P.node;let S=P.route;$[n]=S;let b=P.dynamicRequestTree;null!==b?(G=!0,q[n]=b):q[n]=S}}let W=[A(l),$,null!==X?[X.canonicalUrl,X.renderedSearch]:null,null,l.prefetchHints];return{status:+!D,route:W,node:M,dynamicRequestTree:N(W,q,D,G,E),refreshState:X,children:K}}(e,t,null!==n?n:void 0,a,l,s,f,!1,d,p,y,g,!1,v,null,E)}function O(e,t,r,n,a,l,u,i,o){let c=A(t),s=t.slots,f=null!==a?a[1]:null,d=C(e,t,null!==a?a[0]:null,r,l,n,u),h=d.cacheNode,p=d.needsDynamicRequest;null===s&&function(e,t,r){switch(e){case 0:case 5:case 3:case 4:null===r.scrollRef&&(r.scrollRef={current:!0}),t.scrollRef=r.scrollRef}}(n,h,o);let y={},_=null,g=!1,E={},v=null;if(null!==s)for(let t in h.slots=v={},_=new Map,s){let a=O(e,s[t],r,n,(null!==f?f[t]:null)??null,l,u,i||p,o);_.set(t,a),v[t]=a.node;let c=a.route;y[t]=c;let d=a.dynamicRequestTree;null!==d?(g=!0,E[t]=d):E[t]=c}let R=[c,y,null,null,t.prefetchHints];return{status:+!p,route:R,node:h,dynamicRequestTree:N(R,E,p,g,i),refreshState:null,children:_}}function A(e){if(e.isPage){let t=(0,R.getRenderedSearchFromVaryPath)(e.varyPath);if(null===t)return i.PAGE_SEGMENT_KEY;let r=JSON.stringify(Object.fromEntries(new URLSearchParams(t)));return"{}"!==r?i.PAGE_SEGMENT_KEY+"?"+r:i.PAGE_SEGMENT_KEY}return e.segment}function w(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}function N(e,t,r,n,a){let l=null;return r?(l=w(e,t),a||(l[3]="refetch")):l=n?w(e,t):null,l}function C(e,t,r,n,a,l,u){let i,o,c,s=t.isPage;switch(l){case 0:{let r=(0,m.readFromBFCacheDuringRegularNavigation)(e,t.varyPath);if(null!==r)return{cacheNode:j(r.rsc,r.prefetchRsc,r.head,r.prefetchHead),needsDynamicRequest:!1};break}case 1:{let l=s?a:null;return(0,m.writeToBFCache)(e,t.varyPath,r,null,l,null,u),s&&null!==n&&(0,m.writeHeadToBFCache)(e,n,l,null,u),{cacheNode:j(r,null,l,null),needsDynamicRequest:!1}}case 2:let f=(0,m.readFromBFCache)(t.varyPath);if(null!==f){let e=f.rsc,t=!L(e)||"pending"!==e.status;return{cacheNode:j(f.rsc,t?null:f.prefetchRsc,f.head,t?null:f.prefetchHead),needsDynamicRequest:!1}}}let d=null,h=!0,p=(0,_.readSegmentCacheEntry)(e,t.varyPath);if(null!==p)switch(p.status){case _.EntryStatus.Fulfilled:d=p.rsc,h=p.isPartial;break;case _.EntryStatus.Pending:d=(0,_.waitForSegmentCacheEntry)(p).then(e=>null!==e?e.rsc:null),h=p.isPartial;case _.EntryStatus.Empty:case _.EntryStatus.Rejected:}null!==r?(h?(i=d,o=r):(i=null,o=d),c=!1):(h?(i=d,o=k()):(i=null,o=d),c=h);let y=null,g=null,E=s;if(s){let t=null,r=!0;if(null!==n){let a=(0,_.readSegmentCacheEntry)(e,n);if(null!==a)switch(a.status){case _.EntryStatus.Fulfilled:t=a.rsc,r=a.isPartial;break;case _.EntryStatus.Pending:t=(0,_.waitForSegmentCacheEntry)(a).then(e=>null!==e?e.rsc:null),r=a.isPartial;case _.EntryStatus.Empty:case _.EntryStatus.Rejected:}}null!==a?(r?(y=t,g=a):(y=null,g=t),E=!1):(r?(y=t,g=k()):(y=null,g=t),E=r)}return 5!==l&&((0,m.writeToBFCache)(e,t.varyPath,o,i,g,y,u),s&&null!==n&&(0,m.writeHeadToBFCache)(e,n,g,y,u)),{cacheNode:j(o,i,g,y),needsDynamicRequest:c||E}}function j(e,t,r,n,a=null){return{rsc:e,prefetchRsc:t,head:r,prefetchHead:n,slots:null,scrollRef:a}}let M=!1;function D(e,t,r,n,a,l,u){let i=e.dynamicRequestTree;if(null===i){M=!1;return}let o=U(e,i,t,r,n,l),s=a.separateRefreshUrls,f=null;if(null!==s){f=[];let a=(0,c.createHrefFromUrl)(t);for(let t of s)t!==a&&null!==i&&f.push(U(e,i,new URL(t,location.origin),r,n,l))}I(e,r,o,f,l,u).then(S,S)}async function I(e,t,r,n,a,l){var u,i;let o=await (u=r,i=n,new Promise(e=>{let t=t=>{0===t.exitStatus?0==--n&&e(0):e(t.exitStatus)},r=()=>e(2),n=1;u.then(t,r),null!==i&&(n+=i.length,i.forEach(e=>e.then(t,r)))}));switch(0===o&&(o=function e(t,r,n){var a,l,u;let i,o,c;0===t.status?(t.status=2,a=t.node,l=r,u=n,L(o=a.rsc)&&(null===l?o.resolve(null,u):o.reject(l,u)),L(c=a.head)&&c.resolve(null,u),i=null===t.refreshState?1:2):i=0;let s=t.children;if(null!==s)for(let[,t]of s){let a=e(t,r,n);a>i&&(i=a)}return i}(e,null,null)),o){case 0:M=!1;return;case 1:{let n=await r;F(!1,n.url,t,n.seed,e.route,a,l);return}case 2:{let n=await r;F(!0,n.url,t,n.seed,e.route,a,l);return}default:return o}}function F(e,t,r,n,a,l,u){if(null!==l)(0,_.markRouteEntryAsDynamicRewrite)(l);else if(null!==n){let e=n.metadataVaryPath;if(null!==e){let a=Date.now();(0,E.discoverKnownRoute)(a,t.pathname,r,null,n.routeTree,e,!1,(0,c.createHrefFromUrl)(t),!1,!0)}}(0,_.invalidateRouteCacheEntries)(r,a),e=e||M,M=!0;let i=(0,p.getLastCommittedTree)(),o=null!==i&&a!==i?u:"replace",s={type:d.ACTION_SERVER_PATCH,previousTree:a,url:t,nextUrl:r,seed:n,mpa:e,navigateType:o};(0,f.dispatchAppRouterAction)(s)}async function U(e,t,r,n,a,l){try{let u=await (0,s.fetchServerResponse)(r,{flightRouterState:t,nextUrl:n,isHmrRefresh:4===a});if("string"==typeof u)return{exitStatus:2,url:new URL(u,location.origin),seed:null};let i=Date.now(),c=(0,y.convertServerPatchToFullTree)(i,e.route,u.flightData,u.renderedSearch,u.dynamicStaleTime);if(null!==l&&null!==u.staticStageData){let{response:e,isResponsePartial:r}=u.staticStageData;(0,_.getStaleAt)(i,e.s).then(n=>{let a=u.responseHeaders.get(v.NEXT_NAV_DEPLOYMENT_ID_HEADER)??e.b;(0,_.writeStaticStageResponseIntoCache)(i,e.f,a,e.h,n,t,u.renderedSearch,r)}).catch(()=>{})}null!==l&&null!==u.runtimePrefetchStream&&(0,_.processRuntimePrefetchStream)(i,u.runtimePrefetchStream,t,u.renderedSearch).then(e=>{null!==e&&(0,_.writeDynamicRenderResponseIntoCache)(i,g.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{});let f=(0,m.computeDynamicStaleAt)(i,u.dynamicStaleTime);return{exitStatus:+!!function e(t,r,n,a,l,u){0===t.status&&null!==n&&(t.status=1,function(e,t,r,n){let a=e.rsc,l=t[0];if(null===l)return;null===a?e.rsc=l:L(a)&&a.resolve(l,n);let u=e.head;L(u)&&u.resolve(r,n)}(t.node,n,a,u),(0,m.updateBFCacheEntryStaleAt)(r.varyPath,l));let i=t.children,c=r.slots,s=null!==n?n[1]:null,f=!1;if(null!==i)if(null!==c)for(let t in c){let r=c[t],n=null!==s?s[t]:null,d=i.get(t);if(void 0===d)f=!0;else{let t=d.route[0],i=A(r);(0,o.matchSegment)(i,t)&&null!=n&&e(d,r,n,a,l,u)&&(f=!0)}}else null!==c&&(f=!0);return f}(e,c.routeTree,c.data,c.head,f,u.debugInfo),url:new URL(u.canonicalUrl,location.origin),seed:c}}catch{return{exitStatus:2,url:r,seed:null}}}let x=Symbol();function L(e){return e&&"object"==typeof e&&e.tag===x}function k(){let e,t,r=[],n=new Promise((r,n)=>{e=r,t=n});return n.status="pending",n.resolve=(t,a)=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,null!==a&&r.push.apply(r,a),e(t))},n.reject=(e,a)=>{"pending"===n.status&&(n.status="rejected",n.reason=e,null!==a&&r.push.apply(r,a),t(e))},n.tag=x,n._debugInfo=r,n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3372,(e,t,r)=>{"use strict";function n(e){return e.startsWith("/")?e:`/${e}`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},74180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={compareAppPaths:function(){return o},normalizeAppPath:function(){return i},normalizeRscURL:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(3372),u=e.r(13258);function i(e){return(0,l.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,u.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:`${e}/${t}`,""))}function o(e,t){let r=e.includes("/@"),n=t.includes("/@");return r&&!n?-1:!r&&n?1:e.localeCompare(t)}function c(e){return e.replace(/\.rsc($|\?)/,"$1")}},91463,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={INTERCEPTION_ROUTE_MARKERS:function(){return u},extractInterceptionRouteInformation:function(){return o},isInterceptionRouteAppPath:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(74180),u=["(..)(..)","(.)","(..)","(...)"];function i(e){return void 0!==e.split("/").find(e=>u.find(t=>e.startsWith(t)))}function o(e){let t,r,n;for(let a of e.split("/"))if(r=u.find(e=>a.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,l.normalizeAppPath)(t),r){case"(.)":n="/"===t?`/${n}`:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=a.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}},34727,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={computeChangedPath:function(){return h},extractPathFromFlightRouterState:function(){return f},extractSourcePageFromFlightRouterState:function(){return d},getSelectedParams:function(){return function e(t,r={}){for(let n of Object.values(t[1])){let t=n[0],a=Array.isArray(t),l=a?t[1]:t;!l||l.startsWith(u.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(91463),u=e.r(13258),i=e.r(56019),o=e=>"/"===e[0]?e.slice(1):e,c=e=>"string"==typeof e?"children"===e?"":e:e[1];function s(e){return e.reduce((e,t)=>""===(t=o(t))||(0,u.isGroupSegment)(t)?e:`${e}/${t}`,"")||"/"}function f(e){let t=Array.isArray(e[0])?e[0][1]:e[0];if(t===u.DEFAULT_SEGMENT_KEY||l.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)))return;if(t.startsWith(u.PAGE_SEGMENT_KEY))return"";let r=[c(t)],n=e[1]??{},a=n.children?f(n.children):void 0;if(void 0!==a)r.push(a);else for(let[e,t]of Object.entries(n)){if("children"===e)continue;let n=f(t);void 0!==n&&r.push(n)}return s(r)}function d(e){let t=function e(t){let r=(e=>{if("string"==typeof e)return"children"===e?"":e.startsWith(u.PAGE_SEGMENT_KEY)?"page":e;let[t,,r]=e;switch(r){case"c":return`[...${t}]`;case"ci(..)(..)":return`(..)(..)[...${t}]`;case"ci(.)":return`(.)[...${t}]`;case"ci(..)":return`(..)[...${t}]`;case"ci(...)":return`(...)[...${t}]`;case"oc":return`[[...${t}]]`;case"d":default:return`[${t}]`;case"di(..)(..)":return`(..)(..)[${t}]`;case"di(.)":return`(.)[${t}]`;case"di(..)":return`(..)[${t}]`;case"di(...)":return`(...)[${t}]`}})(t[0]);if(r===u.DEFAULT_SEGMENT_KEY)return;if("page"===r)return[r];let n=t[1]??{},a=n.children?e(n.children):void 0;if(void 0!==a)return""===r?a:[o(r),...a];for(let[t,a]of Object.entries(n)){if("children"===t)continue;let n=e(a);if(void 0!==n)return""===r?n:[o(r),...n]}}(e);return t?`/${t.join("/")}`:void 0}function h(e,t){let r=function e(t,r){let[n,a]=t,[u,o]=r,s=c(n),d=c(u);if(l.INTERCEPTION_ROUTE_MARKERS.some(e=>s.startsWith(e)||d.startsWith(e)))return"";if(!(0,i.matchSegment)(n,u))return f(r)??"";for(let t in a)if(o[t]){let r=e(a[t],o[t]);if(null!==r)return`${c(u)}/${r}`}return null}(e,t);return null==r||"/"===r?r:s(r.split("/"))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48277,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isJavaScriptURLString",{enumerable:!0,get:function(){return a}});let n=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function a(e){return n.test(""+e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81400,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isNavigationLocked:function(){return o},startListeningForInstantNavigationCookie:function(){return l},transitionToCapturedSPA:function(){return u},updateCapturedSPAToTree:function(){return i},waitForNavigationLockIfActive:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(){}function u(e,t){}function i(e,t){}function o(){return!1}async function c(){}e.r(21768),e.r(41538),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60355,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={completeHardNavigation:function(){return P},completeSoftNavigation:function(){return S},completeTraverseNavigation:function(){return b},convertServerPatchToFullTree:function(){return T},navigate:function(){return g},navigateToKnownRoute:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(87288),u=e.r(95871),i=e.r(51191),o=e.r(63416),c=e.r(20896),s=e.r(96167),f=e.r(77048);e.r(77709);let d=e.r(9396);e.r(91949);let h=e.r(88540),p=e.r(34727),y=e.r(48277),_=e.r(79027);function g(e,t,r,n,a,l,u,i,o,s){return function(e,t,r,n,a,l,u,i,o,s){let d=Date.now(),h=t.href,p=(0,f.createCacheKey)(h,u),y=(0,c.readRouteCacheEntry)(d,p);if(null!==y&&y.status===c.EntryStatus.Fulfilled)return v(d,e,t,r,n,u,a,l,i,o,s,y);if(null===y||y.status!==c.EntryStatus.Rejected){let f=(0,c.deprecated_requestOptimisticRouteCacheEntry)(d,t,u);if(null!==f)return v(d,e,t,r,n,u,a,l,i,o,s,f)}return m(d,e,t,r,n,u,a,l,i,o,s).catch(()=>e)}(e,t,r,n,a,l,u,i,o,s)}function E(e,t,r,n,a,l,i,o,c,s,f,d,h,p,y){let _={separateRefreshUrls:null,scrollRef:null},g=r.href===l.href,E=(0,u.startPPRNavigation)(e,l,i,o,c,a.routeTree,a.metadataVaryPath,s,a.data,a.head,a.dynamicStaleAt,g,_);return null!==E?(s!==u.FreshnessPolicy.Gesture&&(0,u.spawnDynamicRequests)(E,r,f,s,_,y,h),S(t,r,f,E.route,E.node,a.renderedSearch,n,h,d,_.scrollRef,p)):P(t,r,h)}function v(e,t,r,n,a,l,u,i,o,c,s,f){let d=f.tree,h=f.canonicalUrl+r.hash,p={renderedSearch:f.renderedSearch,routeTree:d,metadataVaryPath:f.metadata.varyPath,data:null,head:null,dynamicStaleAt:(0,_.computeDynamicStaleAt)(e,_.UnknownDynamicStaleTime)};return E(e,t,r,h,p,n,a,u,i,o,l,c,s,null,f)}let R=["",{},null,"refetch"];async function m(e,t,r,n,a,f,h,p,y,_,g){let v;switch(y){case u.FreshnessPolicy.Default:case u.FreshnessPolicy.HistoryTraversal:case u.FreshnessPolicy.Gesture:v=p;break;case u.FreshnessPolicy.Hydration:case u.FreshnessPolicy.RefreshAll:case u.FreshnessPolicy.HMRRefresh:v=R;break;default:v=p}let m=(0,l.fetchServerResponse)(r,{flightRouterState:v,nextUrl:f}),S=await m;if("string"==typeof S)return P(t,new URL(S,location.origin),g);let{flightData:b,canonicalUrl:O,renderedSearch:A,couldBeIntercepted:w,supportsPerSegmentPrefetching:N,dynamicStaleTime:C,staticStageData:j,runtimePrefetchStream:M,responseHeaders:D,debugInfo:I}=S,F=T(e,p,b,A,C),U=F.metadataVaryPath;if(null!==U){if((0,s.discoverKnownRoute)(e,r.pathname,f,null,F.routeTree,U,w,(0,i.createHrefFromUrl)(O),N,!1),null!==j){let{response:t,isResponsePartial:r}=j;(0,c.getStaleAt)(e,t.s).then(n=>{let a=D.get(o.NEXT_NAV_DEPLOYMENT_ID_HEADER)??t.b;(0,c.writeStaticStageResponseIntoCache)(e,t.f,a,t.h,n,p,A,r)}).catch(()=>{})}null!==M&&(0,c.processRuntimePrefetchStream)(e,M,p,A).then(t=>{null!==t&&(0,c.writeDynamicRenderResponseIntoCache)(e,d.FetchStrategy.PPRRuntime,t.flightDatas,t.buildId,t.isResponsePartial,t.headVaryParams,t.staleAt,t.navigationSeed,null)}).catch(()=>{})}return E(e,t,r,(0,i.createHrefFromUrl)(O),F,n,a,h,p,y,f,_,g,I,null)}function P(e,t,r){return(0,y.isJavaScriptURLString)(t.href)?(console.error("Next.js has blocked a javascript: URL as a security precaution."),e):{canonicalUrl:t.origin===location.origin?(0,i.createHrefFromUrl)(t):t.href,pushRef:{pendingPush:"push"===r,mpaNavigation:!0,preserveCustomHistoryState:!1},renderedSearch:e.renderedSearch,focusAndScrollRef:e.focusAndScrollRef,cache:e.cache,tree:e.tree,nextUrl:e.nextUrl,previousNextUrl:e.previousNextUrl,debugInfo:null}}function S(e,t,r,n,a,l,u,i,o,c,s){let f,d,y=(0,p.computeChangedPath)(e.tree,n)||e.nextUrl,_=new URL(e.canonicalUrl,t),g=t.pathname===_.pathname&&t.search===_.search&&t.hash!==_.hash;if(o===h.ScrollBehavior.NoScroll)null!==c&&(c.current=!1),f=e.focusAndScrollRef.scrollRef,d=!1;else if(g){let t=e.focusAndScrollRef.scrollRef;null!==t&&(t.current=!1),null!==c&&(c.current=!1),f={current:!0},d=!0}else{if(f=c,null!==c){let t=e.focusAndScrollRef.scrollRef;null!==t&&(t.current=!1)}d=!1}return{canonicalUrl:u,renderedSearch:l,pushRef:{pendingPush:"push"===i,mpaNavigation:!1,preserveCustomHistoryState:!1},focusAndScrollRef:{scrollRef:f,forceScroll:d,onlyHashChange:g,hashFragment:o!==h.ScrollBehavior.NoScroll&&""!==t.hash?decodeURIComponent(t.hash.slice(1)):e.focusAndScrollRef.hashFragment},cache:a,tree:n,nextUrl:y,previousNextUrl:r,debugInfo:s}}function b(e,t,r,n,a,l){return{canonicalUrl:(0,i.createHrefFromUrl)(t),renderedSearch:r,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:n,tree:a,nextUrl:l,previousNextUrl:null,debugInfo:null}}function T(e,t,r,n,a){let l=t,u=null,i=null;if(null!==r)for(let{segmentPath:e,tree:t,seedData:a,head:o}of r){let r=function e(t,r,n,a,l,u,i){let o;if(i===l.length)return{tree:n,data:a};let c=l[i],s=t[1],f=null!==r?r[1]:null,d={},h={};for(let t in s){let r=s[t],o=null!==f?f[t]??null:null;if(t===c){let c=e(r,o,n,a,l,u,i+2);d[t]=c.tree,h[t]=c.data}else d[t]=r,h[t]=o}if(o=[t[0],d],2 in t){let e=t[2];null!=e&&(o[2]=[e[0],u])}return 3 in t&&(o[3]=t[3]),4 in t&&(o[4]=t[4]),{tree:o,data:[null,h,null,!0,null]}}(l,u,t,a,e,n,0);l=r.tree,u=r.data,i=o}let o=l,s={metadataVaryPath:null};return{routeTree:(0,c.convertRootFlightRouterStateToRouteTree)(o,n,s),metadataVaryPath:s.metadataVaryPath,data:u,renderedSearch:n,head:i,dynamicStaleAt:(0,_.computeDynamicStaleAt)(e,a)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54069,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DYNAMIC_STALETIME_MS:function(){return o},STATIC_STALETIME_MS:function(){return c},navigateReducer:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(60355),u=e.r(20896),i=e.r(95871),o=1e3*Number("0"),c=(0,u.getStaleTimeMs)(Number("300"));function s(e,t){let{url:r,isExternalUrl:n,navigateType:a,scrollBehavior:u}=t;if(n||document.getElementById("__next-page-redirect"))return(0,l.completeHardNavigation)(e,r,a);let o=new URL(e.canonicalUrl,location.origin),c=e.renderedSearch;return(0,l.navigate)(e,r,o,c,e.cache,e.tree,e.nextUrl,i.FreshnessPolicy.Default,u,a)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84356,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e([t,r]){if(Array.isArray(t)&&("di(..)(..)"===t[2]||"ci(..)(..)"===t[2]||"di(.)"===t[2]||"ci(.)"===t[2]||"di(..)"===t[2]||"ci(..)"===t[2]||"di(...)"===t[2]||"ci(...)"===t[2])||"string"==typeof t&&(0,n.isInterceptionRouteAppPath)(t))return!0;if(r){for(let t in r)if(e(r[t]))return!0}return!1}}});let n=e.r(91463);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69845,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={refreshDynamicData:function(){return d},refreshReducer:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(88540),u=e.r(60355),i=e.r(20896),o=e.r(84356),c=e.r(95871),s=e.r(79027);function f(e,t){{let t=e.nextUrl,r=e.tree;(0,i.invalidateSegmentCacheEntries)(t,r)}return d(e,c.FreshnessPolicy.RefreshAll)}function d(e,t){(0,s.invalidateBfCache)();let r=e.nextUrl,n=(0,o.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||r:null,a=e.canonicalUrl,i=new URL(a,location.origin),c=e.renderedSearch,f=e.tree,d=l.ScrollBehavior.NoScroll,h=Date.now(),p=(0,u.convertServerPatchToFullTree)(h,f,null,c,s.UnknownDynamicStaleTime);return(0,u.navigateToKnownRoute)(h,e,i,a,p,i,c,e.cache,f,t,n,d,"replace",null,null)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverPatchReducer",{enumerable:!0,get:function(){return o}});let n=e.r(51191),a=e.r(88540),l=e.r(60355),u=e.r(69845),i=e.r(95871);function o(e,t){let r=t.mpa,o=new URL(t.url,location.origin),c=t.seed,s=t.navigateType;if(r||null===c)return(0,l.completeHardNavigation)(e,o,s);let f=new URL(e.canonicalUrl,location.origin),d=e.renderedSearch;if(t.previousTree!==e.tree)return(0,u.refreshReducer)(e,{type:a.ACTION_REFRESH});let h=(0,n.createHrefFromUrl)(o),p=t.nextUrl,y=a.ScrollBehavior.Default,_=Date.now();return(0,l.navigateToKnownRoute)(_,e,o,h,c,f,d,e.cache,e.tree,i.FreshnessPolicy.RefreshAll,p,y,s,null,null)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73790,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"restoreReducer",{enumerable:!0,get:function(){return i}});let n=e.r(34727),a=e.r(95871),l=e.r(60355),u=e.r(79027);function i(e,t){let r,i,o=t.historyState;o?(r=o.tree,i=o.renderedSearch):(r=e.tree,i=e.renderedSearch);let c=new URL(e.canonicalUrl,location.origin),s=t.url,f=(0,n.extractPathFromFlightRouterState)(r)??s.pathname,d=Date.now(),h={separateRefreshUrls:null,scrollRef:null},p=(0,l.convertServerPatchToFullTree)(d,r,null,i,u.UnknownDynamicStaleTime),y=(0,a.startPPRNavigation)(d,c,e.renderedSearch,e.cache,e.tree,p.routeTree,p.metadataVaryPath,a.FreshnessPolicy.HistoryTraversal,null,null,p.dynamicStaleAt,!1,h);return null===y?(0,l.completeHardNavigation)(e,s,"replace"):((0,a.spawnDynamicRequests)(y,s,f,a.FreshnessPolicy.HistoryTraversal,h,null,"replace"),(0,l.completeTraverseNavigation)(e,s,i,y.node,y.route,f))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},86720,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hmrRefreshReducer",{enumerable:!0,get:function(){return l}});let n=e.r(69845),a=e.r(95871);function l(e){return(0,n.refreshDynamicData)(e,a.FreshnessPolicy.HMRRefresh)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92838,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={UnrecognizedActionError:function(){return l},unstable_isUnrecognizedActionError:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});class l extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function u(e){return!!(e&&"object"==typeof e&&e instanceof l)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27801,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"assignLocation",{enumerable:!0,get:function(){return a}});let n=e.r(5550);function a(e,t){if(e.startsWith(".")){let r=t.origin+t.pathname;return new URL((r.endsWith("/")?r:r+"/")+e)}return new URL((0,n.addBasePath)(e),t.href)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},34457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},62266,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorageInstance}});let n=e.r(34457)},24063,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getRedirectError:function(){return o},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},permanentRedirect:function(){return s},redirect:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(76963),u=e.r(68391),i="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(72463);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},52817,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=e.r(39584);function a(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87250,(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return n}}),e.r(52817),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39747,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={extractInfoFromServerReferenceId:function(){return l},omitUnusedArgs:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function l(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}function u(e,t){let r=Array(e.length),n=0;for(let a=0;a=6&&t.hasRestArgs)&&(r[a]=e[a],n=a+1);return r.length=n,r}},39146,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ActionDidNotRevalidate:function(){return l},ActionDidRevalidateDynamicOnly:function(){return i},ActionDidRevalidateStaticAndDynamic:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=0,u=1,i=2},45794,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverActionReducer",{enumerable:!0,get:function(){return M}});let a=e.r(32120),l=e.r(92245),u=e.r(21768),i=e.r(92838),o=e.r(35326),c=e.r(88540),s=e.r(27801),f=e.r(51191),d=e.r(84356),h=e.r(50590),p=e.r(24063),y=e.r(87250),_=e.r(52817),g=e.r(39747),E=e.r(20896),v=e.r(77709),R=e.r(43369),m=e.r(32992),P=e.r(63416),S=e.r(60355),b=e.r(96167),T=e.r(39146),O=e.r(57630),A=e.r(95871),w=e.r(87288),N=e.r(79027),C=o.createFromFetch;async function j(e,t,{actionId:r,actionArgs:c}){let f,d,p,y,_=(0,o.createTemporaryReferenceSet)(),E=(0,g.extractInfoFromServerReferenceId)(r),v=(0,g.omitUnusedArgs)(c,E),S=await (0,o.encodeReply)(v,{temporaryReferences:_}),b={Accept:u.RSC_CONTENT_TYPE_HEADER,[u.ACTION_HEADER]:r,[u.NEXT_ROUTER_STATE_TREE_HEADER]:(0,h.prepareFlightRouterStateForRequest)(e.tree)},O=(0,R.getDeploymentId)();O&&(b["x-deployment-id"]=O),t&&(b[u.NEXT_URL]=t);let A=await fetch(e.canonicalUrl,{method:"POST",headers:b,body:S});if("1"===A.headers.get(u.NEXT_ACTION_NOT_FOUND_HEADER))throw Object.defineProperty(new i.UnrecognizedActionError(`Server Action "${r}" was not found on the server. -Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`),"__NEXT_ERROR_CODE",{value:"E715",enumerable:!1,configurable:!0});let N=A.headers.get("x-action-redirect"),[M,D]=N?.split(";")||[];switch(D){case"push":f="push";break;case"replace":f="replace";break;default:f=void 0}let I=!!A.headers.get(u.NEXT_IS_PRERENDER_HEADER),F=T.ActionDidNotRevalidate;try{let e=A.headers.get("x-action-revalidated");if(e){let t=JSON.parse(e);(t===T.ActionDidRevalidateStaticAndDynamic||t===T.ActionDidRevalidateDynamicOnly)&&(F=t)}}catch{}let U=M?(0,s.assignLocation)(M,new URL(e.canonicalUrl,window.location.href)):void 0,x=A.headers.get("content-type"),L=!!(x&&x.startsWith(u.RSC_CONTENT_TYPE_HEADER));if(!L&&!U)throw Object.defineProperty(Error(A.status>=400&&"text/plain"===x?await A.text():"An unexpected response was received from the server."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});let k=!1;if(L){let e=U?(0,w.processFetch)(A).then(({response:e})=>e):Promise.resolve(A),t=await C(e,{callServer:a.callServer,findSourceMapURL:l.findSourceMapURL,temporaryReferences:_,debugChannel:n&&n(b)});d=U?void 0:t.a,k=t.i;let r=A.headers.get(P.NEXT_NAV_DEPLOYMENT_ID_HEADER)??t.b;if(void 0!==r&&r!==(0,m.getNavigationBuildId)());else{let e=(0,h.normalizeFlightData)(t.f);""!==e&&(p=e,y=t.q)}}else d=void 0,p=void 0,y=void 0;return{actionResult:d,actionFlightData:p,actionFlightDataRenderedSearch:y,redirectLocation:U,redirectType:f,revalidationKind:F,isPrerender:I,couldBeIntercepted:k}}function M(e,t){let{resolve:r,reject:n}=t,a=(e.previousNextUrl||e.nextUrl)&&(0,d.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||e.nextUrl:null;return j(e,a,t).then(async({revalidationKind:l,actionResult:u,actionFlightData:i,actionFlightDataRenderedSearch:o,redirectLocation:s,redirectType:d,isPrerender:h,couldBeIntercepted:p})=>{l!==T.ActionDidNotRevalidate&&((0,N.invalidateBfCache)(),t.didRevalidate=!0,l===T.ActionDidRevalidateStaticAndDynamic&&(0,E.invalidateEntirePrefetchCache)(a,e.tree),(0,v.startRevalidationCooldown)());let g=d||"push";if(void 0!==s)if((0,O.isExternalURL)(s))return n(D(s.href,g)),(0,S.completeHardNavigation)(e,s,g);else{let e=(0,f.createHrefFromUrl)(s,!1);n(D((0,_.hasBasePath)(e)?(0,y.removeBasePath)(e):e,g))}else r(u);if(void 0===s&&l===T.ActionDidNotRevalidate&&void 0===i)return e;if(void 0===i&&void 0!==s)return(0,S.completeHardNavigation)(e,s,g);if("string"==typeof i)return(0,S.completeHardNavigation)(e,new URL(i,location.origin),g);let R=new URL(e.canonicalUrl,location.origin),m=e.renderedSearch,P=void 0!==s?s:R,w=e.tree,C=c.ScrollBehavior.Default,j=l===T.ActionDidNotRevalidate?A.FreshnessPolicy.Default:A.FreshnessPolicy.RefreshAll;if(void 0!==i&&void 0!==o){let t=(0,f.createHrefFromUrl)(P),r=Date.now(),n=(0,S.convertServerPatchToFullTree)(r,w,i,o,N.UnknownDynamicStaleTime),l=n.metadataVaryPath;return null!==l&&(0,b.discoverKnownRoute)(r,P.pathname,a,null,n.routeTree,l,p,t,h,!1),(0,S.navigateToKnownRoute)(r,e,P,t,n,R,m,e.cache,w,j,a,C,g,null,null)}return(0,S.navigate)(e,P,R,m,e.cache,w,a,j,C,g)},t=>(n(t),e))}function D(e,t){let r=(0,p.getRedirectError)(e,t);return r.handled=!0,r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},4924,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reducer",{enumerable:!0,get:function(){return s}});let n=e.r(88540),a=e.r(54069),l=e.r(91668),u=e.r(73790),i=e.r(69845),o=e.r(86720),c=e.r(45794),s="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"prefetch",{enumerable:!0,get:function(){return i}});let n=e.r(57630),a=e.r(77048),l=e.r(77709),u=e.r(9396);function i(e,t,r,i,o){let c=(0,n.createPrefetchURL)(e);if(null===c)return;let s=(0,a.createCacheKey)(c.href,t);(0,l.schedulePrefetchTask)(s,r,i,u.PrefetchPriority.Default,o)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99781,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createMutableActionQueue:function(){return v},dispatchNavigateAction:function(){return P},dispatchTraverseAction:function(){return S},getCurrentAppRouterState:function(){return R},publicAppRouterInstance:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(88540),u=e.r(4924),i=e.r(71645),o=e.r(64245),c=e.r(9396),s=e.r(1411);e.r(60355);let f=e.r(41538);e.r(96167),e.r(95871);let d=e.r(5550),h=e.r(57630),p=e.r(91949),y=e.r(48277);function _(e,t){null!==e.pending?(e.pending=e.pending.next,null!==e.pending&&g({actionQueue:e,action:e.pending,setState:t})):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:l.ACTION_REFRESH},t))}async function g({actionQueue:e,action:t,setState:r}){let n=e.state;e.pending=t;let a=t.payload,u=e.action(n,a);function i(n){if(t.discarded){t.payload.type===l.ACTION_SERVER_ACTION&&t.payload.didRevalidate&&(e.needsRefresh=!0),_(e,r);return}e.state=n,_(e,r),t.resolve(n)}(0,o.isThenable)(u)?u.then(i,n=>{_(e,r),t.reject(n)}):i(u)}let E=null;function v(e,t){let r={state:e,dispatch:(e,t)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==l.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,i.startTransition)(()=>{r(e)})}let a={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=a,g({actionQueue:e,action:a,setState:r})):t.type===l.ACTION_NAVIGATE||t.type===l.ACTION_RESTORE?(e.pending.discarded=!0,a.next=e.pending.next,g({actionQueue:e,action:a,setState:r})):(null!==e.last&&(e.last.next=a),e.last=a)})(r,e,t),action:async(e,t)=>(0,u.reducer)(e,t),pending:null,last:null,onRouterTransitionStart:null!==t&&"function"==typeof t.onRouterTransitionStart?t.onRouterTransitionStart:null};if("u">typeof window){if(null!==E)throw Object.defineProperty(Error("Internal Next.js Error: createMutableActionQueue was called more than once"),"__NEXT_ERROR_CODE",{value:"E624",enumerable:!1,configurable:!0});E=r}return r}function R(){return null!==E?E.state:null}function m(){return null!==E?E.onRouterTransitionStart:null}function P(e,t,r,n,a){if(a)for(let e of a)(0,i.addTransitionType)(e);let u=new URL((0,d.addBasePath)(e),location.href);(0,p.setLinkForCurrentNavigation)(n);let o=m();null!==o&&o(e,t),(0,f.dispatchAppRouterAction)({type:l.ACTION_NAVIGATE,url:u,isExternalUrl:(0,h.isExternalURL)(u),locationSearch:location.search,scrollBehavior:r,navigateType:t})}function S(e,t){let r=m();null!==r&&r(e,"traverse"),(0,f.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e),historyState:t})}let b={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r;if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});let n=function(){if(null===E)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});return E}();switch(t?.kind??l.PrefetchKind.AUTO){case l.PrefetchKind.AUTO:r=c.FetchStrategy.PPR;break;case l.PrefetchKind.FULL:r=c.FetchStrategy.Full;break;default:r=c.FetchStrategy.PPR}(0,s.prefetch)(e,n.state.nextUrl,n.state.tree,r,t?.onInvalidate??null)},replace:(e,t)=>{if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});(0,i.startTransition)(()=>{P(e,"replace",t?.scroll===!1?l.ScrollBehavior.NoScroll:l.ScrollBehavior.Default,null,t?.transitionTypes)})},push:(e,t)=>{if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});(0,i.startTransition)(()=>{P(e,"push",t?.scroll===!1?l.ScrollBehavior.NoScroll:l.ScrollBehavior.Default,null,t?.transitionTypes)})},refresh:()=>{(0,i.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:l.ACTION_REFRESH})})},hmrRefresh:()=>{throw Object.defineProperty(Error("hmrRefresh can only be used in development mode. Please use refresh instead."),"__NEXT_ERROR_CODE",{value:"E485",enumerable:!1,configurable:!0})}};"u">typeof window&&window.next&&(window.next.router=b),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/.next/static/chunks/15p8tu-h65hwr.js b/.next/static/chunks/15p8tu-h65hwr.js deleted file mode 100644 index 8117d68..0000000 --- a/.next/static/chunks/15p8tu-h65hwr.js +++ /dev/null @@ -1,38 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31067,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t])},60099,e=>{"use strict";let t,r;var n=e.i(31067),i=e.i(71645),o=e.i(88014),l=e.i(90072),a=e.i(28600),s=e.i(25234);let c=new l.Vector3,u=new l.Vector3,d=new l.Vector3,m=new l.Vector2;function f(e,t,r){let n=c.setFromMatrixPosition(e.matrixWorld);n.project(t);let i=r.width/2,o=r.height/2;return[n.x*i+i,-(n.y*o)+o]}let h=e=>1e-10>Math.abs(e)?0:e;function p(e,t,r=""){let n="matrix3d(";for(let r=0;16!==r;r++)n+=h(t[r]*e.elements[r])+(15!==r?",":")");return r+n}let x=(t=[1,-1,1,1,1,-1,1,1,1,-1,1,1,1,-1,1,1],e=>p(e,t)),v=(r=e=>[1/e,1/e,1/e,1,-1/e,-1/e,-1/e,-1,1/e,1/e,1/e,1,1,1,1,1],(e,t)=>p(e,r(t),"translate(-50%,-50%)")),y=i.forwardRef(({children:e,eps:t=.001,style:r,className:p,prepend:y,center:g,fullscreen:M,portal:P,distanceFactor:b,sprite:w=!1,transform:E=!1,occlude:W,onOcclude:S,castShadow:$,receiveShadow:R,material:T,geometry:z,zIndexRange:F=[0x1000037,0],calculatePosition:C=f,as:j="div",wrapperClass:A,pointerEvents:I="auto",...H},O)=>{let{gl:V,camera:k,scene:N,size:L,raycaster:B,events:D,viewport:K}=(0,a.useThree)(),[U]=i.useState(()=>document.createElement(j)),_=i.useRef(null),G=i.useRef(null),Z=i.useRef(0),q=i.useRef([0,0]),J=i.useRef(null),Q=i.useRef(null),X=(null==P?void 0:P.current)||D.connected||V.domElement.parentNode,Y=i.useRef(null),ee=i.useRef(!1),et=i.useMemo(()=>{var e;return W&&"blending"!==W||Array.isArray(W)&&W.length&&(e=W[0])&&"object"==typeof e&&"current"in e},[W]);i.useLayoutEffect(()=>{let e=V.domElement;W&&"blending"===W?(e.style.zIndex=`${Math.floor(F[0]/2)}`,e.style.position="absolute",e.style.pointerEvents="none"):(e.style.zIndex=null,e.style.position=null,e.style.pointerEvents=null)},[W]),i.useLayoutEffect(()=>{if(G.current){let e=_.current=o.createRoot(U);if(N.updateMatrixWorld(),E)U.style.cssText="position:absolute;top:0;left:0;pointer-events:none;overflow:hidden;";else{let e=C(G.current,k,L);U.style.cssText=`position:absolute;top:0;left:0;transform:translate3d(${e[0]}px,${e[1]}px,0);transform-origin:0 0;`}return X&&(y?X.prepend(U):X.appendChild(U)),()=>{X&&X.removeChild(U),e.unmount()}}},[X,E]),i.useLayoutEffect(()=>{A&&(U.className=A)},[A]);let er=i.useMemo(()=>E?{position:"absolute",top:0,left:0,width:L.width,height:L.height,transformStyle:"preserve-3d",pointerEvents:"none"}:{position:"absolute",transform:g?"translate3d(-50%,-50%,0)":"none",...M&&{top:-L.height/2,left:-L.width/2,width:L.width,height:L.height},...r},[r,g,M,L,E]),en=i.useMemo(()=>({position:"absolute",pointerEvents:I}),[I]);i.useLayoutEffect(()=>{var t,n;ee.current=!1,E?null==(t=_.current)||t.render(i.createElement("div",{ref:J,style:er},i.createElement("div",{ref:Q,style:en},i.createElement("div",{ref:O,className:p,style:r,children:e})))):null==(n=_.current)||n.render(i.createElement("div",{ref:O,style:er,className:p,children:e}))});let ei=i.useRef(!0);(0,s.useFrame)(e=>{if(G.current){k.updateMatrixWorld(),G.current.updateWorldMatrix(!0,!1);let e=E?q.current:C(G.current,k,L);if(E||Math.abs(Z.current-k.zoom)>t||Math.abs(q.current[0]-e[0])>t||Math.abs(q.current[1]-e[1])>t){var r;let t,n,i,o,a=(r=G.current,t=c.setFromMatrixPosition(r.matrixWorld),n=u.setFromMatrixPosition(k.matrixWorld),i=t.sub(n),o=k.getWorldDirection(d),i.angleTo(o)>Math.PI/2),s=!1;et&&(Array.isArray(W)?s=W.map(e=>e.current):"blending"!==W&&(s=[N]));let f=ei.current;s?ei.current=function(e,t,r,n){let i=c.setFromMatrixPosition(e.matrixWorld),o=i.clone();o.project(t),m.set(o.x,o.y),r.setFromCamera(m,t);let l=r.intersectObjects(n,!0);if(l.length){let e=l[0].distance;return i.distanceTo(r.ray.origin)({vertexShader:E?void 0:` - /* - This shader is from the THREE's SpriteMaterial. - We need to turn the backing plane into a Sprite - (make it always face the camera) if "transfrom" - is false. - */ - #include - - void main() { - vec2 center = vec2(0., 1.); - float rotation = 0.0; - - // This is somewhat arbitrary, but it seems to work well - // Need to figure out how to derive this dynamically if it even matters - float size = 0.03; - - vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); - vec2 scale; - scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); - scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); - - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) scale *= - mvPosition.z; - - vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale * size; - vec2 rotatedPosition; - rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; - rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; - mvPosition.xy += rotatedPosition; - - gl_Position = projectionMatrix * mvPosition; - } - `,fragmentShader:` - void main() { - gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0); - } - `}),[E]);return i.createElement("group",(0,n.default)({},H,{ref:G}),W&&!et&&i.createElement("mesh",{castShadow:$,receiveShadow:R,ref:Y},z||i.createElement("planeGeometry",null),T||i.createElement("shaderMaterial",{side:l.DoubleSide,vertexShader:eo.vertexShader,fragmentShader:eo.fragmentShader})))});e.s(["Html",0,y])}]); \ No newline at end of file diff --git a/.next/static/chunks/16tb205t0~jhb.js b/.next/static/chunks/16tb205t0~jhb.js deleted file mode 100644 index 78aa96c..0000000 --- a/.next/static/chunks/16tb205t0~jhb.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23096,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016);let i=[{slug:"how-ai-is-transforming-last-mile-ev-delivery",title:"How Better Planning Improves Last-Mile EV Delivery",excerpt:"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles.",category:"Technology",image:"/images/blog-post-pic-17.webp",date:"2025-10-02",intro:"The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan.",content:[{type:"paragraph",text:"For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs."},{type:"heading",level:2,text:"The shift from fixed rules to daily planning"},{type:"paragraph",text:"A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual."},{type:"list",items:["Order volumes by area, time slot, and customer type","Travel times based on the city's actual traffic patterns","Battery use by vehicle type, rider load, and route length","Feedback from completed deliveries, failed attempts, and late arrivals"]},{type:"heading",level:3,text:"Adjusting during the day"},{type:"paragraph",text:"The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand."},{type:"paragraph",text:"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance."},{type:"image",src:"/images/ev-paradox.webp",alt:"Electric delivery vehicle routing visualisation",caption:"EV route plans need to account for range, load, traffic, and charging time before riders leave the hub."},{type:"quote",text:"With EVs, a route is only useful if the vehicle can finish it and still return safely.",cite:"Doormile Operations"},{type:"heading",level:2,text:"What this means for operators"},{type:"paragraph",text:"For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window."},{type:"list",ordered:!0,items:["Record delivery times, failed attempts, traffic delays, and charging cycles.","Build travel-time estimates from the areas your riders actually serve.","Check every route against battery capacity before dispatch.","Replan when traffic, orders, or vehicle availability changes."]},{type:"paragraph",text:"The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time."}]},{slug:"42-less-distance-insights-from-our-hyderabad-hub",title:"42% Less Distance: Insights from Our Hyderabad Hub",excerpt:"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning.",category:"Case Study",image:"/images/blog-post-pic-15.webp",date:"2025-09-18",intro:"Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled.",content:[{type:"paragraph",text:"Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day."},{type:"heading",level:2,text:"The baseline"},{type:"paragraph",text:"Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed."},{type:"paragraph",text:"That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment."},{type:"list",items:["Zone-based allocation that missed nearby cross-zone drops","Manual stop sequencing during busy dispatch windows","ETAs checked after routing instead of before dispatch","Traffic and delay handling that depended on phone calls from riders"]},{type:"heading",level:3,text:"What changed"},{type:"paragraph",text:"The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together."},{type:"paragraph",text:"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance."},{type:"image",src:"/images/last-mile-approach.webp",alt:"Hyderabad delivery hub routing analysis",caption:"Planning the day's deliveries together removed repeated cross-town travel."},{type:"heading",level:2,text:"The results"},{type:"list",items:["42% reduction in total distance travelled across the hub","37% fewer vehicles required for the same delivery volume","No SLA misses during the measured deployment window","Lower fuel use and fewer unnecessary kilometres per parcel"]},{type:"quote",text:"The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left.",cite:"Hyderabad Hub Operations"},{type:"heading",level:3,text:"Why this applies beyond one hub"},{type:"paragraph",text:"The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes."},{type:"paragraph",text:"A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy."}]},{slug:"miletruth-ai-10-stages-to-smarter-dispatch",title:"MileTruth™: 10 Stages to Smarter Dispatch",excerpt:"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub.",category:"MileTruth",image:"/images/blog-post-pic-31.webp",date:"2025-09-05",intro:"Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider.",content:[{type:"paragraph",text:"A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day."},{type:"heading",level:2,text:"The ten stages"},{type:"list",ordered:!0,items:["Order intake: new orders, rider availability, and vehicle status are collected.","Address check: delivery points, time windows, and service notes are verified.","Stop planning: each stop gets an expected service time and delivery priority.","Travel-time check: routes are compared against time-of-day traffic.","Constraint check: capacity, shift time, customer windows, and range are applied.","Route options: several possible plans are built for the same order set.","Plan selection: the lowest-cost workable route plan is selected.","Battery check: EV routes are checked against real charge capacity.","ETA check: promised delivery times are verified before dispatch.","Dispatch output: the final route is sent to the operations team."]},{type:"heading",level:3,text:"Why staging matters"},{type:"paragraph",text:"When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue."},{type:"image",src:"/images/blog-post-pic-31.webp",alt:"MileTruth routing pipeline diagram",caption:"A staged dispatch process catches address, range, and ETA issues before riders leave."},{type:"quote",text:"Each stage should remove one kind of mistake. By dispatch time, the route should already be practical.",cite:"MileTruth Engineering"},{type:"heading",level:2,text:"Comparing route options"},{type:"paragraph",text:"The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger."},{type:"list",items:["Several route plans checked before dispatch","Distance, time windows, capacity, and range considered together","Range and ETA checked before the route reaches the rider","Fast output that still leaves room for dispatcher review"]},{type:"paragraph",text:"The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub."}]},{slug:"the-ev-paradox-solving-range-anxiety-for-urban-fleets",title:"The EV Paradox: Solving Range Anxiety for Urban Fleets",excerpt:"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch.",category:"EV Fleet",image:"/images/ev-paradox.webp",date:"2025-08-21",intro:"Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan."},{slug:"why-mathematical-precision-beats-heuristics-in-routing",title:"Why Mathematical Precision Beats Heuristics in Routing",excerpt:"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows.",category:"Technology",image:"/images/blog-post-pic-14.webp",date:"2025-08-07",intro:"Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch."},{slug:"fleet-reduction-without-compromising-delivery-volume",title:"Fleet Reduction Without Compromising Delivery Volume",excerpt:"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes.",category:"Fleet Management",image:"/images/blog-post-pic-8.webp",date:"2025-07-24",intro:"Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom."},{slug:"building-a-greener-city-the-future-of-urban-logistics",title:"Building a Greener City: The Future of Urban Logistics",excerpt:"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge.",category:"Sustainability",image:"/images/blog-post-pic-6.webp",date:"2025-07-10",intro:"Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day."},{slug:"how-doormile-maintains-99-9-sla-compliance-at-scale",title:"How Doormile Maintains 99.9% SLA Compliance at Scale",excerpt:"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day.",category:"Operations",image:"/images/last-mile-approach.webp",date:"2025-06-26",intro:"Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk."},{slug:"battery-simulation-the-secret-to-ev-route-pre-validation",title:"Battery Simulation: The Secret to EV Route Pre-Validation",excerpt:"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan.",category:"EV Fleet",image:"/images/blog-post-pic-3.webp",date:"2025-06-12",intro:"A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch."}].map(e=>{var t;return{slug:e.slug,title:e.title,excerpt:e.excerpt,category:e.category,image:e.image,date:e.date,author:"Doormile Team",intro:e.intro,content:e.content??(t={title:e.title,category:e.category,image:e.image},[{type:"paragraph",text:`In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. ${t.title} looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.`},{type:"heading",level:2,text:"Why this matters for fleet teams"},{type:"paragraph",text:"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."},{type:"list",items:["Fewer vehicles needed for the same number of drops","Lower cost per drop through better stop sequencing","ETAs that match traffic, distance, and delivery windows","Less fuel or charge used per completed order"]},{type:"heading",level:3,text:"From orders to dispatch"},{type:"paragraph",text:"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."},{type:"image",src:t.image,alt:t.title,caption:`${t.category}: route planning decisions made before dispatch.`},{type:"quote",text:"A route should be checked before the rider leaves, not explained after the customer calls.",cite:"Doormile Operations"},{type:"heading",level:2,text:"Putting it into practice"},{type:"paragraph",text:"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."},{type:"list",ordered:!0,items:["Benchmark today's distance, fleet size, and on-time rate.","Include vehicle capacity, delivery windows, rider shifts, and battery charge.","Check routes against traffic and customer commitments before dispatch.","Compare the next dispatch cycle against the old plan."]},{type:"paragraph",text:"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}])}});e.s(["default",0,function(){let[e,s]=(0,a.useState)(""),[o,n]=(0,a.useState)(!1),l=(0,a.useRef)(null),d=(0,a.useMemo)(()=>{let t=e.trim().toLowerCase();return t?i.filter(e=>e.title.toLowerCase().includes(t)||e.category.toLowerCase().includes(t)||e.excerpt.toLowerCase().includes(t)).slice(0,6):[]},[e]);(0,a.useEffect)(()=>{function e(e){l.current&&!l.current.contains(e.target)&&n(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let c=o&&e.trim().length>0;return(0,t.jsxs)("div",{className:"dm-blog-search",ref:l,children:[(0,t.jsxs)("form",{role:"search",className:"dm-blog-search-form",onSubmit:e=>e.preventDefault(),children:[(0,t.jsx)("label",{htmlFor:"dm-blog-search-input",className:"dm-sr-only",children:"Search articles"}),(0,t.jsx)("input",{id:"dm-blog-search-input",type:"search",className:"dm-blog-search-input",placeholder:"Search articles…",value:e,autoComplete:"off",onChange:e=>{s(e.target.value),n(!0)},onFocus:()=>n(!0),"aria-controls":"dm-blog-search-results"}),(0,t.jsx)("span",{className:"dm-blog-search-icon","aria-hidden":"true",children:(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})})]}),c&&(0,t.jsx)("div",{id:"dm-blog-search-results",className:"dm-blog-search-results",role:"listbox",children:0===d.length?(0,t.jsxs)("p",{className:"dm-blog-search-empty",children:["No articles match “",e.trim(),"”."]}):(0,t.jsx)("ul",{children:d.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":"false",children:(0,t.jsxs)(r.default,{href:`/blog/${e.slug}`,className:"dm-blog-search-result",onClick:()=>n(!1),children:[(0,t.jsx)("span",{className:"dm-blog-search-result-cat",children:e.category}),(0,t.jsx)("span",{className:"dm-blog-search-result-title",children:e.title})]})},e.slug))})})]})}],23096)}]); \ No newline at end of file diff --git a/.next/static/chunks/17iyy9kp8dsf4.js b/.next/static/chunks/17iyy9kp8dsf4.js deleted file mode 100644 index b7239fb..0000000 --- a/.next/static/chunks/17iyy9kp8dsf4.js +++ /dev/null @@ -1,348 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5074,e=>{"use strict";var t=e.i(43476),i=e.i(71645);let n=[[[.04,.2],[.1,.12],[.18,.1],[.24,.13],[.29,.12],[.3,.18],[.27,.22],[.26,.28],[.22,.3],[.2,.38],[.17,.44],[.15,.4],[.16,.32],[.12,.3],[.09,.26],[.06,.24]],[[.21,.5],[.27,.48],[.31,.52],[.31,.6],[.29,.66],[.27,.74],[.24,.82],[.22,.8],[.22,.7],[.205,.62],[.2,.55]],[[.45,.16],[.5,.13],[.55,.15],[.57,.19],[.55,.24],[.5,.27],[.47,.25],[.455,.2]],[[.46,.34],[.53,.32],[.58,.36],[.585,.44],[.56,.52],[.53,.6],[.5,.66],[.47,.62],[.46,.52],[.45,.44],[.45,.38]],[[.56,.14],[.64,.1],[.74,.1],[.84,.14],[.9,.2],[.92,.26],[.86,.3],[.8,.3],[.74,.34],[.7,.34],[.66,.3],[.6,.3],[.575,.24],[.565,.18]],[[.81,.66],[.87,.64],[.92,.68],[.92,.74],[.86,.77],[.81,.74],[.8,.7]]],a=[[.115,.3],[.265,.255],[.285,.66],[.475,.185],[.605,.345],[.655,.4],[.745,.5],[.815,.275],[.865,.715]],o=[[0,1],[1,3],[3,4],[4,5],[5,6],[6,7],[7,8],[1,2],[3,7],[0,7]];e.s(["default",0,function({accent:e="#ef4444"}){let r=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let[t,i,s]=function(e){let t=/^#?([0-9a-f]{6})$/i.exec(e.trim());if(!t)return[239,68,68];let i=parseInt(t[1],16);return[i>>16&255,i>>8&255,255&i]}(e),l=e=>`rgba(${t},${i},${s},${e})`,d=`rgb(${t},${i},${s})`,c=r.current,m=c?.parentElement;if(!c||!m)return;let p=c.getContext("2d");if(!p)return;let h=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,g=0,x=0,u=[],b=0,f=0,y=()=>{let e=m.getBoundingClientRect();g=Math.max(1,e.width),x=Math.max(1,e.height);let t=Math.min(window.devicePixelRatio||1,2);c.width=Math.round(g*t),c.height=Math.round(x*t),c.style.width=g+"px",c.style.height=x+"px",p.setTransform(t,0,0,t,0,0),(()=>{u=[];let e=Math.max(11,Math.min(17,g/70));for(let t=e/2;tt!=d>t&&e<(l-r)*(t-s)/(d-s)+r&&(n=!n)}return n}(e,a,o)){u.push({x:t,y:i});break}}})()},w=(e,t)=>({x:(e.x+t.x)/2,y:(e.y+t.y)/2-.28*Math.hypot(t.x-e.x,t.y-e.y)}),v=(e,t,i,n)=>{let a=1-n;return{x:a*a*e.x+2*a*n*t.x+n*n*i.x,y:a*a*e.y+2*a*n*t.y+n*n*i.y}},k=e=>{for(let e of(p.clearRect(0,0,g,x),p.fillStyle="rgba(120,122,130,0.55)",u))p.beginPath(),p.arc(e.x,e.y,1.15,0,2*Math.PI),p.fill();let t=a.map(([e,t])=>({x:e*g,y:t*x}));for(let[e,i]of(p.save(),p.setLineDash([4,7]),p.lineWidth=1,p.strokeStyle=l(.13),o)){let n=w(t[e],t[i]);p.beginPath(),p.moveTo(t[e].x,t[e].y),p.quadraticCurveTo(n.x,n.y,t[i].x,t[i].y),p.stroke()}p.restore(),p.save();for(let i=0;i{f||(f=e),k((e-f)/1e3),b=requestAnimationFrame(_)};y(),h?k(0):b=requestAnimationFrame(_);let j=new ResizeObserver(()=>{y(),h&&k(0)});return j.observe(m),()=>{cancelAnimationFrame(b),j.disconnect()}},[e]),(0,t.jsx)("canvas",{ref:r,className:"ind__map","aria-hidden":"true"})}])},89937,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(74080);e.s(["default",0,function(){(0,n.preload)("/images/home1-slide-1.webp",{as:"image"});let[e,a]=(0,i.useState)(0);(0,i.useEffect)(()=>{let e=setInterval(()=>{a(e=>+(0===e))},7e3);return()=>clearInterval(e)},[]);let o=e=>{a(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` - .howits-hero-custom-bg.elementor-repeater-item-3264830, - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-1.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - .howits-hero-custom-bg.elementor-repeater-item-6867061 { - background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('/images/home1-slide-2.webp') !important; - background-position: center !important; - background-repeat: no-repeat !important; - background-size: cover !important; - } - - /* Center alignments for standard content slider elements */ - .elementor-element.elementor-element-6c7cbcb .slide-content { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - height: 100% !important; - padding: 0 !important; - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content-inner { - display: flex !important; - flex-direction: column !important; - justify-content: center !important; - align-items: center !important; - text-align: center !important; - width: 100% !important; - max-width: 1000px !important; - margin: 0 auto !important; - /* Contain the slider theme's inherited 20px padding (content-box) so - width:100% + padding doesn't overflow the viewport and push the - heading off-center on mobile. */ - box-sizing: border-box !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading, - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading .heading-content { - text-align: center !important; - display: block !important; - width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text { - display: flex !important; - justify-content: center !important; - width: 100% !important; - margin-top: 23px !important; - } - - .elementor-element.elementor-element-6c7cbcb .text-content { - text-align: center !important; - max-width: 820px !important; - margin: 0 auto !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - /* Larger, more readable hero subtitle on large/4K screens */ - .elementor-element.elementor-element-6c7cbcb .content-slider-item-text p { - font-size: clamp(16px, 1.35vw, 23px) !important; - line-height: 1.65 !important; - } - - @media (min-width: 1025px) { - /* Match Home's hero frame so the floating navbar sits with the same - breathing space. Home (.elementor-61) frames the hero card at 20px; - this page falls through to the shared kit's 32px base. */ - .elementor-element.elementor-element-741f56c { - padding: 20px !important; - } - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - height: 800px !important; - min-height: 800px !important; - } - } - - @media (max-width: 1024px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - margin-left: auto !important; - margin-right: auto !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - overflow: hidden !important; - border-radius: 25px !important; - } - - /* The stage-outer carries an inline height:800px; collapse it to the - slide height so there is no dead empty space below the hero card. */ - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 620px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - width: 100% !important; - min-height: 620px !important; - height: 620px !important; - border-radius: 25px !important; - overflow: hidden !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content { - width: 100% !important; - min-height: 620px !important; - padding-left: 0 !important; - padding-right: 0 !important; - box-sizing: border-box !important; - } - } - - @media (max-width: 767px) { - .elementor-element.elementor-element-741f56c { - width: 100% !important; - max-width: 100% !important; - --padding-top: 0px !important; - --padding-block-start: 0px !important; - padding: 0 10px 10px 10px !important; - border-radius: 22px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-stage-outer { - height: 560px !important; - } - - .elementor-element.elementor-element-6c7cbcb .owl-carousel.owl-theme .content-item { - min-height: 560px !important; - height: 560px !important; - border-radius: 22px !important; - } - - .elementor-element.elementor-element-6c7cbcb .slide-content { - min-height: 560px !important; - padding-left: 0 !important; - padding-right: 0 !important; - } - - .elementor-element.elementor-element-6c7cbcb .content-slider-item-heading { - max-width: 100% !important; - font-size: clamp(38px, 11vw, 48px) !important; - line-height: 1.05 !important; - overflow-wrap: break-word !important; - padding-left: 15px !important; - padding-right: 15px !important; - } - - /* Pin the slide counter ("01/02") cleanly bottom-RIGHT — matching the - Home and How-It-Works heroes. site.css parks it ~80px in from the - right (looks left/centred), and the wide dot navigation eats the - right side, so hide the dots on mobile and right-align the counter. */ - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer { - text-align: right !important; - margin-bottom: 24px !important; - } - .elementor .elementor-element.elementor-element-6c7cbcb .slider-footer .slider-pagination { - justify-content: flex-end !important; - margin-left: 22px !important; - margin-right: 22px !important; - } - .elementor .elementor-element.elementor-element-6c7cbcb .owl-dots { - display: none !important; - } - /* Hide the prev/next arrows on mobile (they overlap the counter) — - slides still auto-rotate, matching the home hero. */ - .elementor .elementor-element.elementor-element-6c7cbcb .owl-nav { - display: none !important; - } - } - `}}),(0,t.jsx)("div",{className:"elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"741f56c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-6c7cbcb elementor-widget elementor-widget-logico_content_slider","data-id":"6c7cbcb","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_content_slider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-content-slider-widget",children:(0,t.jsx)("div",{className:"content-slider-wrapper",children:(0,t.jsx)("div",{className:"content-slider-container",children:(0,t.jsxs)("div",{className:"content-slider owl-carousel owl-theme nav-view-vertical nav-h-position-right nav-v-position-bottom owl-loaded owl-drag",children:[(0,t.jsx)("div",{className:"owl-stage-outer",style:{position:"relative",overflow:"hidden",height:"800px"},children:(0,t.jsxs)("div",{className:"owl-stage",style:{position:"relative",width:"100%",height:"100%"},children:[(0,t.jsx)("div",{className:`owl-item ${0===e?"active":""}`,style:{position:"relative",width:"100%",opacity:+(0===e),visibility:0===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:0===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-3264830 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsx)("span",{className:"heading-content",children:"Solutions for Every Industry"})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"Discover how Doormile's connected logistics platform serves diverse industries with tailored solutions."})})})]})})})}),(0,t.jsx)("div",{className:`owl-item ${1===e?"active":""}`,style:{position:"absolute",top:0,left:0,width:"100%",opacity:+(1===e),visibility:1===e?"visible":"hidden",transition:"opacity 0.8s ease-in-out, visibility 0.8s ease-in-out",zIndex:1===e?2:1},children:(0,t.jsx)("div",{className:"content-item slider-item elementor-repeater-item-6867061 slide-style-standard howits-hero-custom-bg",children:(0,t.jsx)("div",{className:"slide-content",children:(0,t.jsxs)("div",{className:"slide-content-inner",children:[(0,t.jsx)("h1",{className:"content-slider-item-heading logico-content-wrapper-1",children:(0,t.jsx)("span",{className:"heading-content",children:"One Platform. All Verticals"})}),(0,t.jsx)("div",{className:"content-slider-item-text logico-content-wrapper-2",children:(0,t.jsx)("div",{className:"text-content",children:(0,t.jsx)("p",{children:"Doormile adapts to the unique challenges of your vertical—not the other way around."})})})]})})})})]})}),(0,t.jsxs)("div",{className:"owl-nav",children:[(0,t.jsx)("button",{type:"button",className:"owl-next",onClick:()=>a(e=>+(0===e)),"aria-label":"Next",style:{cursor:"pointer",border:"none",outline:"none"}}),(0,t.jsx)("button",{type:"button",className:"owl-prev",onClick:()=>a(e=>+(0===e)),"aria-label":"Previous",style:{cursor:"pointer",border:"none",outline:"none"}})]}),(0,t.jsx)("div",{className:"slider-footer slider-footer-position-after slider-footer-width-full slider-footer-view-inside",children:(0,t.jsx)("div",{className:"slider-footer-content",children:(0,t.jsxs)("div",{className:"slider-pagination",style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"10px"},children:[(0,t.jsxs)("div",{className:"slider-progress-wrapper",style:{marginRight:"35px",display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{style:{fontSize:"16px",fontWeight:600,color:"#FFFFFF",marginBottom:"4px"},children:[(0,t.jsx)("span",{className:"slider-progress-current",children:0===e?"01":"02"})," / ",(0,t.jsx)("span",{className:"slider-progress-all",style:{opacity:.6},children:"02"})]}),(0,t.jsx)("div",{style:{width:"80px",height:"2px",background:"rgba(255, 255, 255, 0.2)",position:"relative",borderRadius:"1px",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0===e?"0":"50%",width:"50%",height:"100%",background:"#c01227",transition:"left 0.3s ease"}})})]}),(0,t.jsxs)("div",{className:"owl-dots owl-dots-6c7cbcb",style:{display:"none"},children:[(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${0===e?"active":""}`,onClick:()=>o(0),children:(0,t.jsx)("span",{})}),(0,t.jsx)("button",{type:"button",role:"button",className:`owl-dot ${1===e?"active":""}`,onClick:()=>o(1),children:(0,t.jsx)("span",{})})]})]})})})]})})})})})})})]})}])},40086,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(5074);let a=[{id:1,title:"FMCG",image:"/images/tab-pic-1-solution.webp",alt:"FMCG logistics",desc:"FMCG logistics demands speed, precision, and continuous fulfillment across high-volume delivery networks. Businesses must balance tight delivery timelines, inventory movement, and operational efficiency without compromising product availability.",ch:["Unpredictable demand spikes create delivery pressure and reduce operational efficiency during peak periods.","Fresh product expiry constraints require faster, precisely timed deliveries to maintain product quality.","Multi-stop route complexity increases travel time, operational costs, and delivery coordination challenges.","Inventory stockout risks increase when delivery delays disrupt fast-moving product distribution."],so:["AI demand forecasting adapts delivery plans instantly to real-time order demand.","Expiry-aware routing prioritises perishable goods for on-time freshness.","Smart multi-stop optimisation groups orders to cut cost and travel time.","Real-time inventory sync prevents stockouts and improves fulfilment accuracy."]},{id:2,title:"Pharma",image:"/images/tab-pic-2-solution.webp",alt:"Pharma logistics",desc:"Pharma logistics requires precision, compliance, and real-time monitoring so every shipment arrives safely and on time — from temperature-sensitive medicines to urgent emergency deliveries.",ch:["Cold chain integrity demands precise temperature control throughout transit.","Regulatory compliance must be tracked and documented on every delivery.","Critical delivery time windows require highly accurate scheduling.","Emergency shipments need instant dispatch and zero-delay execution."],so:["Cold chain monitoring with automatic re-routing keeps shipments in-spec.","Compliance engine with audit trails ensures full chain-of-custody visibility.","Precision scheduling locks in critical delivery windows reliably.","Priority dispatch queue fast-tracks urgent, life-critical shipments."]},{id:3,title:"Enterprise & B2B",image:"/images/tab-pic-3-solution.webp",alt:"Enterprise and B2B logistics",desc:"Enterprise and B2B logistics require coordination and reliability to manage high-value shipments at scale — with appointment scheduling, white-glove standards, and strict SLA commitments.",ch:["Appointment scheduling requires precise timing across many locations.","White-glove delivery standards demand premium handling and accuracy.","Multi-location routing complexity grows with large-scale operations.","Strict SLA commitments pressure teams to stay timely and error-free."],so:["Intelligent appointment engine streamlines and automates delivery slots.","White-glove workflow module enforces premium handling end to end.","Enterprise route planner coordinates efficient multi-location delivery.","SLA monitoring dashboard tracks commitments and flags risk in real time."]}];function o({sec:e}){let[a,r]=(0,i.useState)("ch"),s="ch"===a?e.ch:e.so;return(0,t.jsx)("section",{className:"istk","aria-label":`${e.title} solutions`,children:(0,t.jsxs)("div",{className:"istk__card",children:[(0,t.jsx)(n.default,{}),(0,t.jsxs)("div",{className:"istk__row",children:[(0,t.jsx)("div",{className:"istk__media",children:(0,t.jsx)("img",{className:"istk__img",src:e.image,alt:e.alt,decoding:"async",loading:"lazy"})}),(0,t.jsxs)("div",{className:"istk__content",children:[(0,t.jsx)("h3",{className:"istk__title",children:e.title}),(0,t.jsx)("p",{className:"istk__desc",children:e.desc}),(0,t.jsxs)("div",{className:"istk__tabs",role:"tablist","aria-label":"Challenges or Solutions",children:[(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":"ch"===a,className:`istk__tab ${"ch"===a?"active":""}`,onClick:()=>r("ch"),children:"Challenges"}),(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":"so"===a,className:`istk__tab ${"so"===a?"active":""}`,onClick:()=>r("so"),children:"Solutions"})]}),(0,t.jsx)("ul",{className:"istk__list",children:s.map((e,i)=>(0,t.jsx)("li",{style:{animationDelay:`${80*i}ms`},children:e},e))},a)]})]})]})})}let r=` -/* No outer frame — the cards float on the page background. */ -#ind-stack { background: transparent; } - -/* The kit-5 theme forces heading size/color on h3 via !important — re-assert. */ -#ind-stack .istk__title { - font-family: var(--font-manrope), 'Manrope', system-ui, sans-serif !important; - font-size: clamp(42px, 4.4vw, 62px) !important; - font-weight: 600 !important; - line-height: 1.04 !important; - letter-spacing: -0.02em !important; - color: #ffffff !important; - text-transform: none !important; - margin: 0 0 22px !important; -} - -#ind-stack .istk { - padding: 14px 20px; -} -#ind-stack .istk:first-child { padding-top: 24px; } -#ind-stack .istk:last-child { padding-bottom: 24px; } - -#ind-stack .istk__card { - position: relative; - overflow: hidden; - background: #0d0d0d; - border: 1px solid rgba(255,255,255,0.06); - border-radius: 40px; - padding: 44px; -} - -/* Procedurally-drawn dotted world map (continent dots + hub pulses + routes). - Vector canvas, so it never distorts on the card's aspect ratio the way a - stretched bitmap did. Faint gray dots read as a subtle backdrop on the dark card. */ -#ind-stack .ind__map { - position: absolute; - inset: 0; - width: 100%; - height: 100%; - z-index: 0; - opacity: 0.7; - pointer-events: none; -} - -#ind-stack .istk__row { - position: relative; - z-index: 2; - display: flex; - flex-direction: row; - align-items: center; - gap: clamp(44px, 6vw, 104px); -} - -/* ---- Image — inset rounded, portrait, drives the card height ---- */ -#ind-stack .istk__media { - flex: 0 0 35%; - align-self: stretch; - min-height: 560px; -} -#ind-stack .istk__img { - display: block; - width: 100%; - height: 100%; - object-fit: cover; - border-radius: 26px; -} - -/* ---- Content ---- */ -#ind-stack .istk__content { - flex: 1; - min-width: 0; - max-width: 680px; -} -#ind-stack .istk__desc { - font-size: clamp(16px, 1.25vw, 20px); - font-weight: 400; - line-height: 1.62; - color: rgba(255,255,255,0.8); - margin: 0 0 30px; -} - -/* Tabs — pills above a full-width underline rule */ -#ind-stack .istk__tabs { - display: flex; - gap: 10px; - padding-bottom: 16px; - margin-bottom: 26px; - border-bottom: 1px solid rgba(255,255,255,0.2); -} -#ind-stack .istk__tab { - appearance: none; - border: none; - cursor: pointer; - font-size: 14px; - font-weight: 700; - letter-spacing: 0.05em; - text-transform: uppercase; - padding: 13px 30px; - border-radius: 9px; - background: #f3dede; - color: #555; - transition: background-color 0.25s ease, color 0.25s ease; -} -#ind-stack .istk__tab:hover { background: #ecd2d2; } -#ind-stack .istk__tab.active { - background: #dc2626; - color: #fff; - box-shadow: 0 8px 22px -10px rgba(220,38,38,0.8); -} - -/* Bullets — round red dots, full-sentence items */ -#ind-stack .istk__list { - list-style: none; - margin: 0; - padding: 0; -} -#ind-stack .istk__list li { - position: relative; - padding-left: 28px; - margin-bottom: 22px; - font-size: clamp(15px, 1.15vw, 18px); - font-weight: 400; - line-height: 1.55; - color: rgba(255,255,255,0.85); - animation: istkSlideIn 0.4s ease both; -} -#ind-stack .istk__list li:last-child { margin-bottom: 0; } -#ind-stack .istk__list li::before { - content: ''; - position: absolute; - left: 2px; - top: 9px; - width: 9px; - height: 9px; - border-radius: 50%; - background: #dc2626; - box-shadow: 0 0 8px rgba(220,38,38,0.55); -} - -@keyframes istkSlideIn { - from { opacity: 0; transform: translateY(8px); } - to { opacity: 1; transform: translateY(0); } -} - -/* ---- Responsive ---- */ -@media (max-width: 1024px) { - #ind-stack .istk__card { padding: 28px; border-radius: 28px; } - #ind-stack .istk__row { flex-direction: column; align-items: stretch; gap: 28px; } - #ind-stack .istk__media { flex: none; min-height: 0; height: 300px; } - #ind-stack .istk__content { max-width: none; } -} -@media (max-width: 600px) { - #ind-stack .istk { padding: 10px; } - #ind-stack .istk__card { padding: 22px 20px; border-radius: 24px; } - #ind-stack .istk__media { height: 240px; } - #ind-stack .istk__title { margin-bottom: 16px !important; } - #ind-stack .istk__desc { margin: 0 0 24px; } - /* Two equal-width pills that always fit the card — no horizontal overflow. */ - #ind-stack .istk__tabs { gap: 8px; margin-bottom: 22px; } - #ind-stack .istk__tab { flex: 1 1 0; min-width: 0; padding: 12px 8px; text-align: center; font-size: 13px; } - #ind-stack .istk__list li { margin-bottom: 18px; } -} -@media (prefers-reduced-motion: reduce) { - #ind-stack .istk__list li { animation: none !important; opacity: 1; transform: none; } -} -`;e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:r}}),(0,t.jsx)("div",{id:"ind-stack",children:a.map(e=>(0,t.jsx)(o,{sec:e},e.id))})]})}])}]); \ No newline at end of file diff --git a/.next/static/chunks/turbopack-11jn_eqn~72wc.js b/.next/static/chunks/turbopack-11jn_eqn~72wc.js deleted file mode 100644 index cc44f6d..0000000 --- a/.next/static/chunks/turbopack-11jn_eqn~72wc.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/098a0lm-b~rn..js","static/chunks/0tldj~reb5~dn.js","static/chunks/110q6k5sdl4es.js","static/chunks/14_678uuyq.tf.js","static/chunks/07uz2g0_38qia.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=function(){if(null!=self.TURBOPACK_ASSET_SUFFIX)return self.TURBOPACK_ASSET_SUFFIX;let e=document?.currentScript?.getAttribute?.("src")??"",t=e.indexOf("?");return t>=0?e.slice(t):""}(),n=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];var o,i=((o=i||{})[o.Runtime=0]="Runtime",o[o.Parent=1]="Parent",o[o.Update=2]="Update",o);let l=new WeakMap;function s(e,t){this.m=e,this.e=t}let u=s.prototype,a=Object.prototype.hasOwnProperty,c="u">typeof Symbol&&Symbol.toStringTag;function f(e,t,r){a.call(e,t)||Object.defineProperty(e,t,r)}function p(e,t){let r=e[t];return r||(r=h(t),e[t]=r),r}function h(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function d(e,t){f(e,"__esModule",{value:!0}),c&&f(e,c,{value:"Module"});let r=0;for(;rObject.getPrototypeOf(e):e=>e.__proto__,y=[null,b({}),b([]),b(b)];function g(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!y.includes(t);t=b(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),d(t,n),t}function O(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=g(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function w(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function j(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}u.i=O,u.A=function(e){return this.r(e)(O.bind(this))},u.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},u.r=function(e){return B(e,this.m).exports},u.f=function(e){function t(t){if(t=w(t),a.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=w(t),a.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let k=Symbol("turbopack queues"),U=Symbol("turbopack exports"),C=Symbol("turbopack error");function P(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}u.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:i,reject:l,promise:s}=j(),u=Object.assign(s,{[U]:r.exports,[k]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),a={get:()=>u,set(e){e!==u&&(u[U]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(k in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[U]:{},[k]:e=>e(t)};return e.then(e=>{r[U]=e,P(t)},e=>{r[C]=e,P(t)}),r}}return{[U]:e,[k]:()=>{}}}),r=()=>t.map(e=>{if(e[C])throw e[C];return e[U]}),{promise:i,resolve:l}=j(),s=Object.assign(()=>l(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[k](u)),s.queueCount?i:r()},function(e){e?l(u[C]=e):i(u[U]),P(n)}),n&&-1===n.status&&(n.status=0)};let v=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}v.prototype=URL.prototype,u.U=v,u.z=function(e){throw Error("dynamic usage of require is not supported")},u.g=globalThis;let S=s.prototype,$=new Map;u.M=$;let _=new Map,E=new Map;async function T(e,t,r){let n;if("string"==typeof r)return M(e,t,q(r));let o=r.included||[],i=o.map(e=>!!$.has(e)||_.get(e));if(i.length>0&&i.every(e=>e))return void await Promise.all(i);let l=r.moduleChunks||[],s=l.map(e=>E.get(e)).filter(e=>e);if(s.length>0){if(s.length===l.length)return void await Promise.all(s);let r=new Set;for(let e of l)E.has(e)||r.add(e);for(let n of r){let r=M(e,t,q(n));E.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=M(e,t,q(r.path)),l))E.has(o)||E.set(o,n)}for(let e of o)_.has(e)||_.set(e,n);await n}S.l=function(e){return T(i.Parent,this.m.id,e)};let A=Promise.resolve(void 0),x=new WeakMap;function M(t,r,n){let o=e.loadChunkCached(t,n),l=x.get(o);if(void 0===l){let e=x.set.bind(x,o,A);l=o.then(e).catch(e=>{let o;switch(t){case i.Runtime:o=`as a runtime dependency of chunk ${r}`;break;case i.Parent:o=`from module ${r}`;break;case i.Update:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),x.set(o,l)}return l}function q(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}S.L=function(e){return M(i.Parent,this.m.id,e)},S.R=function(e){let t=this.r(e);return t?.default??t},S.P=function(e){return`/ROOT/${e??""}`},S.q=function(e,t){m.call(this,`${e}${r}`,t)},S.b=function(e,t,o,i){let l="SharedWorker"===e.name,s=[o.map(e=>q(e)).reverse(),r];for(let e of n)s.push(globalThis[e]);let u=new URL(q(t),location.origin),a=JSON.stringify(s);return l?u.searchParams.set("params",a):u.hash="#params="+encodeURIComponent(a),new e(u,i?{...i,type:void 0}:void 0)};let N=/\.js(?:\?[^#]*)?(?:#.*)?$/,K=/\.css(?:\?[^#]*)?(?:#.*)?$/;function L(e){return K.test(e)}u.w=function(t,r,n){return e.loadWebAssembly(i.Parent,this.m.id,t,r,n)},u.u=function(t,r){return e.loadWebAssemblyModule(i.Parent,this.m.id,t,r)};let I={};u.c=I;let B=(e,t)=>{let r=I[e];if(r){if(r.error)throw r.error;return r}return W(e,i.Parent,t.id)};function W(e,t,r){let n=$.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let o=h(e),i=o.exports;I[e]=o;let l=new s(o,i);try{n(l,o,i)}catch(e){throw o.error=e,e}return o.namespaceObject&&o.exports!==o.namespaceObject&&g(o.exports,o.namespaceObject),o}function F(t){let r,n=function(e){if("string"==typeof e)return e;if(e)return{src:e.getAttribute("src")};if("u">typeof TURBOPACK_NEXT_CHUNK_URLS)return{src:TURBOPACK_NEXT_CHUNK_URLS.pop()};throw Error("chunk path empty but not in a worker")}(t[0]);return 2===t.length?r=t[1]:(r=void 0,!function(e,t){let r=1;for(;r{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},X.set(e,t)}return t}e={async registerChunk(e,r){let n=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(e.src.replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(e);if(D("string"==typeof e?q(e):e.src).resolve(),null!=r){for(let e of r.otherChunks)D(q("string"==typeof e?e:e.path));if(await Promise.all(r.otherChunks.map(e=>T(i.Runtime,n,e))),r.runtimeModuleIds.length>0)for(let e of r.runtimeModuleIds)!function(e,t){let r=I[t];if(r){if(r.error)throw r.error;return}W(t,i.Runtime,e)}(n,e)}},loadChunkCached:(e,t)=>(function(e,t){let r=D(t);if(r.loadingStarted)return r.promise;if(e===i.Runtime)return r.loadingStarted=!0,L(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(L(t));else if(N.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(L(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(N.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let i=fetch(q(r)),{instance:l}=await WebAssembly.instantiateStreaming(i,o);return l.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(q(r));return await WebAssembly.compileStreaming(o)}};let H=globalThis.TURBOPACK;globalThis.TURBOPACK={push:F},H.forEach(F)})(); \ No newline at end of file diff --git a/.next/static/czNRbRzpspOb1FVBoan7W/_buildManifest.js b/.next/static/czNRbRzpspOb1FVBoan7W/_buildManifest.js deleted file mode 100644 index 94ca914..0000000 --- a/.next/static/czNRbRzpspOb1FVBoan7W/_buildManifest.js +++ /dev/null @@ -1,11 +0,0 @@ -self.__BUILD_MANIFEST = { - "__rewrites": { - "afterFiles": [], - "beforeFiles": [], - "fallback": [] - }, - "sortedPages": [ - "/_app", - "/_error" - ] -};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/.next/static/czNRbRzpspOb1FVBoan7W/_clientMiddlewareManifest.js b/.next/static/czNRbRzpspOb1FVBoan7W/_clientMiddlewareManifest.js deleted file mode 100644 index a8acaff..0000000 --- a/.next/static/czNRbRzpspOb1FVBoan7W/_clientMiddlewareManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__MIDDLEWARE_MATCHERS = [];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB() \ No newline at end of file diff --git a/.next/static/czNRbRzpspOb1FVBoan7W/_ssgManifest.js b/.next/static/czNRbRzpspOb1FVBoan7W/_ssgManifest.js deleted file mode 100644 index becaacd..0000000 --- a/.next/static/czNRbRzpspOb1FVBoan7W/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set(["\u002Fblog\u002F[slug]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/.next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2 b/.next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2 deleted file mode 100644 index fb292f3..0000000 Binary files a/.next/static/media/0c795a286deabae8-s.p.14tvuu96~wkr0.woff2 and /dev/null differ diff --git a/.next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2 b/.next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2 deleted file mode 100644 index 7b0e76a..0000000 Binary files a/.next/static/media/0c89a48fa5027cee-s.p.0rd3rjvnnhw7n.woff2 and /dev/null differ diff --git a/.next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 b/.next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 deleted file mode 100644 index 57da6f8..0000000 Binary files a/.next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 and /dev/null differ diff --git a/.next/static/media/28868e710e86be81-s.0rx81dn62y51_.woff2 b/.next/static/media/28868e710e86be81-s.0rx81dn62y51_.woff2 deleted file mode 100644 index e3aa61c..0000000 Binary files a/.next/static/media/28868e710e86be81-s.0rx81dn62y51_.woff2 and /dev/null differ diff --git a/.next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 b/.next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 deleted file mode 100644 index 072229b..0000000 Binary files a/.next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 and /dev/null differ diff --git a/.next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 b/.next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 deleted file mode 100644 index 2cd45ed..0000000 Binary files a/.next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 and /dev/null differ diff --git a/.next/static/media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2 b/.next/static/media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2 deleted file mode 100644 index a0fadcf..0000000 Binary files a/.next/static/media/32687112bd2dd8db-s.0gspg~~t9nou8.woff2 and /dev/null differ diff --git a/.next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 b/.next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 deleted file mode 100644 index 9c71603..0000000 Binary files a/.next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 and /dev/null differ diff --git a/.next/static/media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2 b/.next/static/media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2 deleted file mode 100644 index 29a1a72..0000000 Binary files a/.next/static/media/58c4895d0a0ef7cc-s.0x1a9yg0jkq20.woff2 and /dev/null differ diff --git a/.next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2 b/.next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2 deleted file mode 100644 index 8f8cb55..0000000 Binary files a/.next/static/media/5c285b27cdda1fe8-s.p.0yo6-5yoeeudq.woff2 and /dev/null differ diff --git a/.next/static/media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2 b/.next/static/media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2 deleted file mode 100644 index bdade6d..0000000 Binary files a/.next/static/media/6ab0db14f70d8ed6-s.0ctuso5mgh_i..woff2 and /dev/null differ diff --git a/.next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 b/.next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 deleted file mode 100644 index 91dc3e8..0000000 Binary files a/.next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 and /dev/null differ diff --git a/.next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 b/.next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 deleted file mode 100644 index bc0e0ab..0000000 Binary files a/.next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 and /dev/null differ diff --git a/.next/static/media/a342834df7752944-s.10ev4cu2inrn-.woff2 b/.next/static/media/a342834df7752944-s.10ev4cu2inrn-.woff2 deleted file mode 100644 index fc82004..0000000 Binary files a/.next/static/media/a342834df7752944-s.10ev4cu2inrn-.woff2 and /dev/null differ diff --git a/.next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2 b/.next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2 deleted file mode 100644 index 9d7abb1..0000000 Binary files a/.next/static/media/a343f882a40d2cc9-s.p.0kho-wj7-y-w1.woff2 and /dev/null differ diff --git a/.next/static/media/ab624315db63c58d-s.1487dfs7-.~d~.woff2 b/.next/static/media/ab624315db63c58d-s.1487dfs7-.~d~.woff2 deleted file mode 100644 index 90304c4..0000000 Binary files a/.next/static/media/ab624315db63c58d-s.1487dfs7-.~d~.woff2 and /dev/null differ diff --git a/.next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 b/.next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 deleted file mode 100644 index b6dd1fa..0000000 Binary files a/.next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 and /dev/null differ diff --git a/.next/static/media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2 b/.next/static/media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2 deleted file mode 100644 index 3eca77a..0000000 Binary files a/.next/static/media/bfc7db5c00d21bc5-s.0dyk20wuvya7a.woff2 and /dev/null differ diff --git a/.next/static/media/c3cb240f9c892514-s.163v2i5cux7-c.woff2 b/.next/static/media/c3cb240f9c892514-s.163v2i5cux7-c.woff2 deleted file mode 100644 index cf1d1c9..0000000 Binary files a/.next/static/media/c3cb240f9c892514-s.163v2i5cux7-c.woff2 and /dev/null differ diff --git a/.next/static/media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2 b/.next/static/media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2 deleted file mode 100644 index 1cece61..0000000 Binary files a/.next/static/media/d3fe2f289711ac3f-s.0i6ci0u~g4zml.woff2 and /dev/null differ diff --git a/.next/static/media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2 b/.next/static/media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2 deleted file mode 100644 index 58a32f1..0000000 Binary files a/.next/static/media/e94b8ab81811a983-s.02fsf_1p_avhz.woff2 and /dev/null differ diff --git a/.next/static/media/favicon.14w3bhkxgz946.ico b/.next/static/media/favicon.14w3bhkxgz946.ico deleted file mode 100644 index 91c79c6..0000000 Binary files a/.next/static/media/favicon.14w3bhkxgz946.ico and /dev/null differ diff --git a/.next/static/media/icon.14w3bhkxgz946.png b/.next/static/media/icon.14w3bhkxgz946.png deleted file mode 100644 index 91c79c6..0000000 Binary files a/.next/static/media/icon.14w3bhkxgz946.png and /dev/null differ diff --git a/.next/static/media/layers-2x.0olxl6i2vnf_c.png b/.next/static/media/layers-2x.0olxl6i2vnf_c.png deleted file mode 100644 index 200c333..0000000 Binary files a/.next/static/media/layers-2x.0olxl6i2vnf_c.png and /dev/null differ diff --git a/.next/static/media/layers.1220hx8ja1.sy.png b/.next/static/media/layers.1220hx8ja1.sy.png deleted file mode 100644 index 1a72e57..0000000 Binary files a/.next/static/media/layers.1220hx8ja1.sy.png and /dev/null differ diff --git a/.next/static/media/marker-icon.0i9~u_difxrfa.png b/.next/static/media/marker-icon.0i9~u_difxrfa.png deleted file mode 100644 index 950edf2..0000000 Binary files a/.next/static/media/marker-icon.0i9~u_difxrfa.png and /dev/null differ diff --git a/.next/trace b/.next/trace deleted file mode 100644 index 09192b2..0000000 --- a/.next/trace +++ /dev/null @@ -1 +0,0 @@ -[{"name":"generate-buildid","duration":172,"timestamp":24705305206,"id":4,"parentId":1,"tags":{},"startTime":1783944351809,"traceId":"aada408761ac2682"},{"name":"load-custom-routes","duration":1575,"timestamp":24705305465,"id":5,"parentId":1,"tags":{},"startTime":1783944351810,"traceId":"aada408761ac2682"},{"name":"create-dist-dir","duration":381,"timestamp":24705307069,"id":6,"parentId":1,"tags":{},"startTime":1783944351811,"traceId":"aada408761ac2682"},{"name":"clean","duration":319,"timestamp":24705308153,"id":7,"parentId":1,"tags":{},"startTime":1783944351812,"traceId":"aada408761ac2682"},{"name":"discover-routes","duration":7349,"timestamp":24705320616,"id":8,"parentId":1,"tags":{},"startTime":1783944351825,"traceId":"aada408761ac2682"},{"name":"create-root-mapping","duration":47,"timestamp":24705328003,"id":9,"parentId":1,"tags":{},"startTime":1783944351832,"traceId":"aada408761ac2682"},{"name":"generate-route-types","duration":70733,"timestamp":24705329400,"id":10,"parentId":1,"tags":{},"startTime":1783944351834,"traceId":"aada408761ac2682"},{"name":"public-dir-conflict-check","duration":62,"timestamp":24705400317,"id":11,"parentId":1,"tags":{},"startTime":1783944351905,"traceId":"aada408761ac2682"},{"name":"generate-routes-manifest","duration":1767,"timestamp":24705400450,"id":12,"parentId":1,"tags":{},"startTime":1783944351905,"traceId":"aada408761ac2682"},{"name":"run-turbopack","duration":5787968,"timestamp":24705405682,"id":14,"parentId":1,"tags":{},"startTime":1783944351910,"traceId":"aada408761ac2682"},{"name":"turbopack-build-events","duration":56,"timestamp":24705601605,"id":15,"parentId":1,"tags":{},"startTime":1783944352106,"traceId":"aada408761ac2682"},{"name":"run-typescript","duration":8586105,"timestamp":24711245105,"id":16,"parentId":1,"tags":{},"startTime":1783944357750,"traceId":"aada408761ac2682"},{"name":"generate-required-server-files","duration":2521,"timestamp":24719835203,"id":18,"parentId":1,"tags":{},"startTime":1783944366341,"traceId":"aada408761ac2682"},{"name":"check-static-error-page","duration":9384,"timestamp":24719856343,"id":20,"parentId":19,"tags":{},"startTime":1783944366362,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":392774,"timestamp":24719866167,"id":42,"parentId":22,"tags":{},"startTime":1783944366372,"traceId":"aada408761ac2682"},{"name":"check-page","duration":400590,"timestamp":24719858509,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1783944366364,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":587527,"timestamp":24719866255,"id":44,"parentId":34,"tags":{},"startTime":1783944366372,"traceId":"aada408761ac2682"},{"name":"check-page","duration":590004,"timestamp":24719863859,"id":34,"parentId":19,"tags":{"page":"/icon.png"},"startTime":1783944366369,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":595181,"timestamp":24719866290,"id":45,"parentId":38,"tags":{},"startTime":1783944366372,"traceId":"aada408761ac2682"},{"name":"check-page","duration":596071,"timestamp":24719865458,"id":38,"parentId":19,"tags":{"page":"/sitemap.xml"},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":582311,"timestamp":24719879348,"id":47,"parentId":27,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":600206,"timestamp":24719861471,"id":27,"parentId":19,"tags":{"page":"/contact"},"startTime":1783944366367,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":582367,"timestamp":24719879409,"id":48,"parentId":23,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":602966,"timestamp":24719858828,"id":23,"parentId":19,"tags":{"page":"/about-us"},"startTime":1783944366364,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":600457,"timestamp":24719866219,"id":43,"parentId":32,"tags":{},"startTime":1783944366372,"traceId":"aada408761ac2682"},{"name":"check-page","duration":603837,"timestamp":24719862951,"id":32,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1783944366368,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":604645,"timestamp":24719865963,"id":41,"parentId":21,"tags":{},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"check-page","duration":613079,"timestamp":24719857589,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1783944366363,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":593098,"timestamp":24719879052,"id":46,"parentId":24,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":611166,"timestamp":24719861028,"id":24,"parentId":19,"tags":{"page":"/air-freight"},"startTime":1783944366366,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":597143,"timestamp":24719879627,"id":51,"parentId":28,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":615277,"timestamp":24719861549,"id":28,"parentId":19,"tags":{"page":"/cookie-policy"},"startTime":1783944366367,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":603305,"timestamp":24719879645,"id":52,"parentId":29,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":621332,"timestamp":24719861680,"id":29,"parentId":19,"tags":{"page":"/doormile-wings"},"startTime":1783944366367,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":605197,"timestamp":24719879666,"id":55,"parentId":33,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":621592,"timestamp":24719863314,"id":33,"parentId":19,"tags":{"page":"/how-it-works"},"startTime":1783944366369,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":611302,"timestamp":24719879670,"id":56,"parentId":35,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":626604,"timestamp":24719864419,"id":35,"parentId":19,"tags":{"page":"/miletruth"},"startTime":1783944366370,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":615214,"timestamp":24719879661,"id":54,"parentId":30,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":632846,"timestamp":24719862132,"id":30,"parentId":19,"tags":{"page":"/empowerment"},"startTime":1783944366368,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":619505,"timestamp":24719879673,"id":57,"parentId":36,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":634049,"timestamp":24719865176,"id":36,"parentId":19,"tags":{"page":"/"},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":621423,"timestamp":24719879677,"id":58,"parentId":37,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":635868,"timestamp":24719865322,"id":37,"parentId":19,"tags":{"page":"/privacy-policy"},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":624904,"timestamp":24719879680,"id":59,"parentId":39,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":639152,"timestamp":24719865519,"id":39,"parentId":19,"tags":{"page":"/solutions"},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":627544,"timestamp":24719879683,"id":60,"parentId":40,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":641675,"timestamp":24719865619,"id":40,"parentId":19,"tags":{"page":"/terms-of-service"},"startTime":1783944366371,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":655563,"timestamp":24719879434,"id":49,"parentId":26,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":673672,"timestamp":24719861371,"id":26,"parentId":19,"tags":{"page":"/blog"},"startTime":1783944366367,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":655931,"timestamp":24719879651,"id":53,"parentId":31,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":673110,"timestamp":24719862506,"id":31,"parentId":19,"tags":{"page":"/express"},"startTime":1783944366368,"traceId":"aada408761ac2682"},{"name":"is-page-static","duration":672727,"timestamp":24719879593,"id":50,"parentId":25,"tags":{},"startTime":1783944366385,"traceId":"aada408761ac2682"},{"name":"check-page","duration":691237,"timestamp":24719861174,"id":25,"parentId":19,"tags":{"page":"/blog/[slug]"},"startTime":1783944366367,"traceId":"aada408761ac2682"},{"name":"static-check","duration":696841,"timestamp":24719855602,"id":19,"parentId":1,"tags":{},"startTime":1783944366361,"traceId":"aada408761ac2682"},{"name":"write-routes-manifest","duration":1039,"timestamp":24720553883,"id":62,"parentId":1,"tags":{},"startTime":1783944367059,"traceId":"aada408761ac2682"},{"name":"load-dotenv","duration":32,"timestamp":24720569156,"id":65,"parentId":64,"tags":{},"startTime":1783944367075,"traceId":"aada408761ac2682"},{"name":"run-export-path-map","duration":586,"timestamp":24720572719,"id":66,"parentId":64,"tags":{},"startTime":1783944367078,"traceId":"aada408761ac2682"},{"name":"next-export","duration":582970,"timestamp":24720567901,"id":64,"parentId":1,"tags":{},"startTime":1783944367073,"traceId":"aada408761ac2682"},{"name":"move-exported-app-not-found-","duration":1351,"timestamp":24721154745,"id":67,"parentId":63,"tags":{},"startTime":1783944367660,"traceId":"aada408761ac2682"},{"name":"move-exported-app-global-error-","duration":598,"timestamp":24721156165,"id":68,"parentId":63,"tags":{},"startTime":1783944367662,"traceId":"aada408761ac2682"},{"name":"static-generation","duration":598137,"timestamp":24720560196,"id":63,"parentId":1,"tags":{},"startTime":1783944367066,"traceId":"aada408761ac2682"},{"name":"write-routes-manifest","duration":591,"timestamp":24721158459,"id":69,"parentId":1,"tags":{},"startTime":1783944367664,"traceId":"aada408761ac2682"},{"name":"print-tree-view","duration":2346,"timestamp":24721170925,"id":70,"parentId":1,"tags":{},"startTime":1783944367676,"traceId":"aada408761ac2682"},{"name":"write-route-bundle-stats","duration":17202,"timestamp":24721173292,"id":71,"parentId":1,"tags":{},"startTime":1783944367679,"traceId":"aada408761ac2682"},{"name":"telemetry-flush","duration":268734,"timestamp":24721190528,"id":72,"parentId":1,"tags":{},"startTime":1783944367696,"traceId":"aada408761ac2682"},{"name":"next-build","duration":16251553,"timestamp":24705207730,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1783944351712,"traceId":"aada408761ac2682"}] diff --git a/.next/trace-build b/.next/trace-build deleted file mode 100644 index 0a028e6..0000000 --- a/.next/trace-build +++ /dev/null @@ -1 +0,0 @@ -[{"name":"run-turbopack","duration":5787968,"timestamp":24705405682,"id":14,"parentId":1,"tags":{},"startTime":1783944351910,"traceId":"aada408761ac2682"},{"name":"turbopack-build-events","duration":56,"timestamp":24705601605,"id":15,"parentId":1,"tags":{},"startTime":1783944352106,"traceId":"aada408761ac2682"},{"name":"run-typescript","duration":8586105,"timestamp":24711245105,"id":16,"parentId":1,"tags":{},"startTime":1783944357750,"traceId":"aada408761ac2682"},{"name":"static-check","duration":696841,"timestamp":24719855602,"id":19,"parentId":1,"tags":{},"startTime":1783944366361,"traceId":"aada408761ac2682"},{"name":"static-generation","duration":598137,"timestamp":24720560196,"id":63,"parentId":1,"tags":{},"startTime":1783944367066,"traceId":"aada408761ac2682"},{"name":"telemetry-flush","duration":268734,"timestamp":24721190528,"id":72,"parentId":1,"tags":{},"startTime":1783944367696,"traceId":"aada408761ac2682"},{"name":"next-build","duration":16251553,"timestamp":24705207730,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1783944351712,"traceId":"aada408761ac2682"}] diff --git a/.next/turbopack b/.next/turbopack deleted file mode 100644 index e69de29..0000000 diff --git a/.next/types/cache-life.d.ts b/.next/types/cache-life.d.ts deleted file mode 100644 index a8c6997..0000000 --- a/.next/types/cache-life.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -// Type definitions for Next.js cacheLife configs - -declare module 'next/cache' { - export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache' - export { - updateTag, - revalidateTag, - revalidatePath, - refresh, - } from 'next/dist/server/web/spec-extension/revalidate' - export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store' - - - /** - * Cache this `"use cache"` for a timespan defined by the `"default"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 900 seconds (15 minutes) - * expire: never - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 15 minutes, start revalidating new values in the background. - * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request. - */ - export function cacheLife(profile: "default"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile. - * ``` - * stale: 30 seconds - * revalidate: 1 seconds - * expire: 60 seconds (1 minute) - * ``` - * - * This cache may be stale on clients for 30 seconds before checking with the server. - * If the server receives a new request after 1 seconds, start revalidating new values in the background. - * If this entry has no traffic for 1 minute it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "seconds"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 60 seconds (1 minute) - * expire: 3600 seconds (1 hour) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 minute, start revalidating new values in the background. - * If this entry has no traffic for 1 hour it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "minutes"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"hours"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 3600 seconds (1 hour) - * expire: 86400 seconds (1 day) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 hour, start revalidating new values in the background. - * If this entry has no traffic for 1 day it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "hours"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"days"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 86400 seconds (1 day) - * expire: 604800 seconds (1 week) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 day, start revalidating new values in the background. - * If this entry has no traffic for 1 week it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "days"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 604800 seconds (1 week) - * expire: 2592000 seconds (1 month) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 week, start revalidating new values in the background. - * If this entry has no traffic for 1 month it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "weeks"): void - - /** - * Cache this `"use cache"` for a timespan defined by the `"max"` profile. - * ``` - * stale: 300 seconds (5 minutes) - * revalidate: 2592000 seconds (1 month) - * expire: 31536000 seconds (365 days) - * ``` - * - * This cache may be stale on clients for 5 minutes before checking with the server. - * If the server receives a new request after 1 month, start revalidating new values in the background. - * If this entry has no traffic for 365 days it will expire. The next request will recompute it. - */ - export function cacheLife(profile: "max"): void - - /** - * Cache this `"use cache"` using a custom timespan. - * ``` - * stale: ... // seconds - * revalidate: ... // seconds - * expire: ... // seconds - * ``` - * - * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate` - * - * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead. - */ - export function cacheLife(profile: { - /** - * This cache may be stale on clients for ... seconds before checking with the server. - */ - stale?: number, - /** - * If the server receives a new request after ... seconds, start revalidating new values in the background. - */ - revalidate?: number, - /** - * If this entry has no traffic for ... seconds it will expire. The next request will recompute it. - */ - expire?: number - }): void - - - import { cacheTag } from 'next/dist/server/use-cache/cache-tag' - export { cacheTag } - - export const unstable_cacheTag: typeof cacheTag - export const unstable_cacheLife: typeof cacheLife -} diff --git a/.next/types/routes.d.ts b/.next/types/routes.d.ts deleted file mode 100644 index 2d48847..0000000 --- a/.next/types/routes.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -// This file is generated automatically by Next.js -// Do not edit this file manually - -type AppRoutes = "/" | "/about-us" | "/air-freight" | "/blog" | "/blog/[slug]" | "/contact" | "/cookie-policy" | "/doormile-wings" | "/empowerment" | "/express" | "/how-it-works" | "/miletruth" | "/privacy-policy" | "/solutions" | "/terms-of-service" -type PageRoutes = never -type LayoutRoutes = "/" -type RedirectRoutes = "/air-freight" -type RewriteRoutes = never -type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes - - -interface ParamMap { - "/": {} - "/about-us": {} - "/air-freight": {} - "/blog": {} - "/blog/[slug]": { "slug": string; } - "/contact": {} - "/cookie-policy": {} - "/doormile-wings": {} - "/empowerment": {} - "/express": {} - "/how-it-works": {} - "/miletruth": {} - "/privacy-policy": {} - "/solutions": {} - "/terms-of-service": {} -} - - -export type ParamsOf = ParamMap[Route] - -interface LayoutSlotMap { - "/": never -} - - -export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap } - -declare global { - /** - * Props for Next.js App Router page components - * @example - * ```tsx - * export default function Page(props: PageProps<'/blog/[slug]'>) { - * const { slug } = await props.params - * return
    Blog post: {slug}
    - * } - * ``` - */ - interface PageProps { - params: Promise - searchParams: Promise> - } - - /** - * Props for Next.js App Router layout components - * @example - * ```tsx - * export default function Layout(props: LayoutProps<'/dashboard'>) { - * return
    {props.children}
    - * } - * ``` - */ - type LayoutProps = { - params: Promise - children: React.ReactNode - } & { - [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode - } -} diff --git a/.next/types/validator.ts b/.next/types/validator.ts deleted file mode 100644 index 9d53830..0000000 --- a/.next/types/validator.ts +++ /dev/null @@ -1,187 +0,0 @@ -// This file is generated automatically by Next.js -// Do not edit this file manually -// This file validates that all pages and layouts export the correct types - -import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js" -import type { ResolvingMetadata, ResolvingViewport } from "next/types.js" - -type AppPageConfig = { - default: React.ComponentType<{ params: Promise } & any> | ((props: { params: Promise } & any) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - -type LayoutConfig = { - default: React.ComponentType> | ((props: LayoutProps) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - - -// Validate ../../src/app/about-us/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/about-us/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/air-freight/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/air-freight/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/blog/[slug]/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/blog/[slug]/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/blog/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/blog/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/contact/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/contact/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/cookie-policy/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/cookie-policy/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/doormile-wings/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/doormile-wings/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/empowerment/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/empowerment/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/express/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/express/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/how-it-works/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/how-it-works/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/miletruth/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/miletruth/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/privacy-policy/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/privacy-policy/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/solutions/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/solutions/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../src/app/terms-of-service/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/terms-of-service/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - - - - - - - -// Validate ../../src/app/layout.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../src/app/layout.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} diff --git a/Dockerfile b/Dockerfile index 27a5a12..3b8fb94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,15 @@ -FROM nginx:alpine - -# Move to Nginx's public folder -WORKDIR /usr/share/nginx/html - -# 1. CRUCIAL: Remove Nginx's default "Welcome" page files completely -RUN rm -rf ./* - -# 2. Copy your compiled static assets into the root folder. -# NOTE: If your folder is named "dist" instead of "build", change "build/" to "dist/" -COPY build/ . - -# 3. Copy your custom Nginx configuration (which you already have in your log) -COPY nginx.conf /etc/nginx/nginx.conf - -EXPOSE 80 - -CMD ["nginx", "-g", "daemon off;"] +FROM node:18-alpine + +WORKDIR /app + +# Next.js standalone config and environment +ENV NODE_ENV production +ENV PORT 80 +ENV HOSTNAME "0.0.0.0" + +# Copy the pre-built standalone app from the build context +COPY build /app + +EXPOSE 80 + +CMD ["node", "server.js"] diff --git a/build.sh b/build.sh index bba3879..9ddf254 100755 --- a/build.sh +++ b/build.sh @@ -12,10 +12,17 @@ npm run build echo "🧹 Preparing build context..." cd ../doormile-build rm -rf build +mkdir -p build -# Copy the static export into the build folder -echo "📦 Copying static export..." -cp -R ../doormile-next/out ./build +# Copy Next.js standalone server and dependencies +echo "📦 Copying standalone build files..." +cp -R ../doormile-next/.next/standalone/. ./build/ + +# Copy public folder and static assets +echo "📦 Copying public and static assets..." +cp -R ../doormile-next/public ./build/ +mkdir -p ./build/.next +cp -R ../doormile-next/.next/static ./build/.next/ # Run the docker build echo "🐳 Building Docker image..."